]> git.openstreetmap.org Git - rails.git/blobdiff - public/stylesheets/common.css
Merge branch 'master' into openstreetbugs
[rails.git] / public / stylesheets / common.css
index f348b21eb8c5abdd85e8c3c9a2db8defe219e37a..9b68bd03e28e03068c194de04187acfacf06fd8f 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,12 +351,14 @@ hr {
   z-index: 10000;
   position: absolute;
   bottom: 15px;
+  right: 15px;
+  text-align: right;
   font-size: smaller;
 }
 
 /* Rules for edit menu */
 
-#editmenu {
+.menu {
   display: none;
   z-index: 10000;
   position: absolute;
@@ -367,15 +366,16 @@ hr {
   border: 1px solid black;
 }
 
-#editmenu ul {
+.menu ul {
   margin-top: 10px;
   margin-bottom: 10px;
   padding-left: 10px;
   padding-right: 10px;
 }
 
-#editmenu li {
+.menu li {
   list-style-type: none;
+  white-space: nowrap;
 }
 
 /* Rules for attribution text under the main map shown on printouts */
@@ -384,6 +384,10 @@ hr {
   display: none;
 }
 
+.attribution_notice {
+  text-align: center;
+}
+
 /* Rules for the popout map sidebar */
 
 #sidebar {
@@ -562,6 +566,34 @@ hr {
   margin-bottom: 5px;
 }
 
+/* Rules for the home page */
+
+.site_index #map {
+  position: absolute;
+  top: 0px;
+  bottom: 0px;
+  left: 0px;
+  right: 0px;
+}
+
+.site_export #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 {
@@ -619,6 +651,23 @@ table.browse_details th {
   white-space: nowrap;
 }
 
+td.browse_comments {
+  padding: 0px;
+}
+
+td.browse_comments table {
+  border-collapse: collapse;
+}
+
+td.browse_comments table td {
+  padding-bottom: 10px;
+}
+
+td.browse_comments table td span.by {
+  font-size: small;
+  color: #999999;
+}
+
 #browse_map {
   width: 250px;
 }
@@ -629,6 +678,10 @@ table.browse_details th {
   border: solid 1px black;
 }
 
+#browse_map .geolink {
+  display: none;
+}
+
 /* Rules for the trace list shown by the traces tab etc */
 
 #trace_list {
@@ -642,6 +695,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 {
@@ -662,6 +735,15 @@ table.browse_details th {
   margin-top: 10px;
 }
 
+/* Rules for the new diary entry page */
+
+.diary_entry div#map {
+  position: relative;
+  width: 90%;
+  height: 400px;
+  display: none;
+}
+
 /* Rules for the login page */
 
 #login_wrapper div {
@@ -780,14 +862,27 @@ p#contributorGuidance {
   display: inline !important;
 }
 
+#accountForm input[type=submit] {
+  margin-top: 15px;
+}
+
 /* Rules for the user view */
 
-#user_details .user_map {
+.user_view .user_map {
   position: relative;
   width: 400px;
   height: 400px; 
 }
 
+.user_view .user_map p#no_home_location {
+  position: absolute;
+  top: 0px;
+  bottom: 0px;
+  width: 90%;
+  height: 30%;
+  margin: auto 5%
+}
+
 /* Rules for the user map */
 
 .user_map .olControlPanZoomBar {
@@ -893,6 +988,7 @@ p#contributorGuidance {
 /* Rules for forms */
 
 .fieldName {
+  vertical-align: top;
   font-weight: bold;
 }