]> git.openstreetmap.org Git - rails.git/blobdiff - public/stylesheets/common.css
Update Potlatch 2 to 2.2-18-g514f0d2 build
[rails.git] / public / stylesheets / common.css
index da805616e0399c696bf1ba473e899794dd1c5575..56cefd0a46ba05d1c3ac54b1134820aafc8966f9 100644 (file)
@@ -338,12 +338,9 @@ hr {
 /* Rules for OpenLayers maps */
 
 #map {
-  position: absolute;
   border: 1px solid black;
   margin: 0px; 
   padding: 0px;
-  top: 0px;
-  bottom: 0px;
 }
 
 .olControlAttribution {
@@ -354,6 +351,8 @@ hr {
   z-index: 10000;
   position: absolute;
   bottom: 15px;
+  right: 15px;
+  text-align: right;
   font-size: smaller;
 }
 
@@ -566,6 +565,26 @@ hr {
   margin-bottom: 5px;
 }
 
+/* Rules for the home page */
+
+.site_index #map {
+  position: absolute;
+  top: 0px;
+  bottom: 0px;
+  left: 0px;
+  right: 0px;
+}
+
+/* Rules for the edit page */
+
+.site_edit #map {
+  position: absolute;
+  top: 0px;
+  bottom: 0px;
+  left: 0px;
+  right: 0px;
+}
+
 /* Rules for the changeset list shown by the history tab etc */
 
 #changeset_list_container {
@@ -646,6 +665,26 @@ table.browse_details th {
   color: gray;
 }
 
+#trace_list .trace_pending {
+  color: red;
+}
+
+#trace_list .trace_public {
+  color: green;
+}
+
+#trace_list .trace_identifiable {
+  color: green;
+}
+
+#trace_list .trace_trackable {
+  color: red;
+}
+
+#trace_list .trace_private {
+  color: red;
+}
+
 /* Rules for the user list */
 
 #user_list {
@@ -666,6 +705,15 @@ table.browse_details th {
   margin-top: 10px;
 }
 
+/* Rules for the new diary entry page */
+
+.diary_entry_new div#map {
+  position: relative;
+  width: 90%;
+  height: 400px;
+  display: none;
+}
+
 /* Rules for the login page */
 
 #login_wrapper div {
@@ -790,12 +838,21 @@ p#contributorGuidance {
 
 /* Rules for the user view */
 
-#user_details .user_map {
+.user_view .user_map {
   position: relative;
   width: 400px;
   height: 400px; 
 }
 
+.user_view .user_map p {
+  position: absolute;
+  top: 0px;
+  bottom: 0px;
+  width: 90%;
+  height: 30%;
+  margin: auto 5%
+}
+
 /* Rules for the user map */
 
 .user_map .olControlPanZoomBar {