]> git.openstreetmap.org Git - rails.git/blobdiff - public/stylesheets/site.css
Potlatch-on-Rails, ready to go (fingers crossed)
[rails.git] / public / stylesheets / site.css
index 2cd8ca412d01e8cd09e38a86f6e70ba7a14acc5f..4dbc06f54b2a5dca59946a80e3951860e76f5c0c 100644 (file)
@@ -1,4 +1,3 @@
-\r
 a {\r
   color: #0000ff;\r
   text-decoration: none;\r
@@ -70,7 +69,7 @@ body {
   padding-top: 5px;\r
   padding-bottom: 7px;\r
   font-size: 13px;\r
-  background: url(tab_bottom.gif) repeat-x bottom;\r
+  background: url('/images/tab_bottom.gif') repeat-x bottom;\r
 }\r
 \r
 #intro {\r
@@ -125,6 +124,11 @@ body {
   text-decoration: none;\r
 }\r
 \r
+#messages {\r
+  border: 1px solid #ccc;\r
+}\r
+\r
+\r
 #left_menu a:visited {\r
   color: #000000;\r
   text-decoration: none;\r
@@ -146,12 +150,12 @@ body {
 }\r
 \r
 \r
-#main_area {\r
-  width: 700px;\r
+#content {\r
+  /* width: 700px; */\r
   padding: 0;\r
   /*padding-left: 1em;*/\r
   margin: 0;\r
-  position: absolute;\r
+  position: absolute; \r
   left: 192px;\r
   top: 35px;\r
   background: none;\r
@@ -167,7 +171,6 @@ body {
   text-align: center;\r
 }\r
 \r
-\r
 #mapImage {\r
   position: absolute;\r
   left: 0px;\r
@@ -176,9 +179,9 @@ body {
   top: 0px;\r
   left: 14px;\r
 }\r
+\r
 #mapEpilog {\r
   font-size: x-small;\r
-\r
 }\r
 \r
 #keyvalue {\r
@@ -246,7 +249,7 @@ hides rule from IE5-Mac \*/
   margin: 0;\r
   padding-left: 215px;\r
   padding-top: 5px;\r
-  background: url(tab_bottom.gif) repeat-x bottom;\r
+  background: url('/images/tab_bottom.gif') repeat-x bottom;\r
 }\r
 #tabnav li\r
 {\r
@@ -291,8 +294,31 @@ hides rule from IE5-Mac \*/
   font-size: 12px;\r
   padding-top: 5px;\r
   padding-left: 14px;\r
+  padding-bottom: 15px;\r
+  width: 700px;\r
+}\r
+\r
+#placename-helper{\r
+  font-size: 9px;\r
+  position:absolute; top:20px; left: 250px;\r
+  color: gray;\r
 }\r
 \r
+#postcode-helper{\r
+  font-size: 9px;\r
+  position:absolute; top:20px; left: 20px;\r
+  color: gray;\r
+}\r
+\r
+#geocoder-attribution{\r
+  font-size: 9px;\r
+  position:absolute; top:26px; left: 450px;\r
+  line-height: 8px;\r
+  color: gray;\r
+}\r
+\r
+\r
+\r
 .gpxsummary {\r
   font-size: 12px;\r
   color: gray;\r
@@ -362,3 +388,93 @@ hides rule from IE5-Mac \*/
   cursor: pointer;\r
 }\r
 \r
+\r
+/* rails error field stuff */\r
+\r
+.fieldWithErrors {\r
+  padding: 2px;\r
+  background-color: red;\r
+  display: table;\r
+}\r
+\r
+#notice {\r
+  border: 1px solid green;\r
+  padding: 7px;\r
+  background-color: #f0fff0;\r
+  margin-bottom: 20px;\r
+}\r
+\r
+#errorExplanation {\r
+  width: 400px;\r
+  border: 2px solid red;\r
+  padding: 7px;\r
+  padding-bottom: 12px;\r
+  margin-bottom: 20px;\r
+  background-color: #f0f0f0;\r
+}\r
+\r
+#errorExplanation h2 {\r
+  text-align: left;\r
+  font-weight: bold;\r
+  padding: 5px 5px 5px 15px;\r
+  font-size: 12px;\r
+  margin: -7px;\r
+  background-color: #c00;\r
+  color: #fff;\r
+}\r
+\r
+#errorExplanation p {\r
+  color: #333;\r
+  margin-bottom: 0;\r
+  padding: 5px;\r
+}\r
+\r
+#errorExplanation ul li {\r
+  font-size: 12px;\r
+  list-style: square;\r
+}\r
+\r
+input {\r
+  border: 1px solid black;\r
+}\r
+\r
+.nohome .location {\r
+  display: none;\r
+}\r
+\r
+#homerow .message {\r
+  display: none;\r
+}\r
+\r
+.nohome .message {\r
+  display: inline !important;\r
+}\r
+\r
+.editDescription {\r
+  height : 10ex;\r
+  width : 30em;\r
+}\r
+\r
+/**\r
+ * This now just used to detect the width/height required for the popup.\r
+ */\r
+#map p#highlightinfo {\r
+    visibility : hidden;\r
+    position : absolute;\r
+    z-index : 10000;\r
+    background : white;\r
+    border : 1px solid black;\r
+    left : 50px;\r
+    top : 5px;\r
+    margin : 0px;\r
+    padding : 2px;\r
+}\r
+\r
+#popup p, #popup span {\r
+    background-color : #E3FFC5 !important;\r
+}\r
+\r
+#map p#highlightinfo p, #popup p {\r
+    margin : 0;\r
+    padding : 2px;\r
+}\r