1 /* Styles common to large and small screens */
3 /* Default rules for the body of every page */
6 font-family: 'Helvetica Neue',Arial,sans-serif;
10 background-color: #fff;
16 background-color: #f0f0f0;
23 text-decoration: none;
27 text-decoration: underline;
30 /* Rules for horizontal lines */
34 background-color: #ccc;
39 /* Default rules for headings */
47 /* Rules for the whole left sidebar, including the logo */
57 /* Rules for the OpenStreetMap logo in the top left corner */
80 /* Rules for the site name */
86 /* Rules for the introductory text displayed in the left sidebar to new users */
98 border-top: 1px solid #ccc;
102 * Rules for alert boxes shown in the left sidebar when important
103 * information needs to be conveyed such as when the site is
104 * undergoing maintenance.
108 padding: 4px 5px 4px 5px;
109 border-top: 1px solid #ccc;
123 * Rules for notice boxes shown in the left sidebar when important, but
124 * non-critical information needs to be conveyed such as notices about
129 padding: 4px 5px 4px 5px;
130 border-top: 1px solid #ccc;
142 /* Rules for the menu displayed in the left sidebar */
147 border-top: 1px solid #ccc;
160 list-style-type: none;
169 .left_menu ul li ul {
179 /* Rules for SOTM advert */
194 * Rules for "optional boxes" which appear in the left sidebar on
195 * certain pages. Current users are the seach box on the main page
196 * and the tag cloud on the traces pages.
209 vertical-align: bottom;
212 /* Rules for the search box */
227 #search_field input[type="text"] {
233 box-shadow: inset #DDD 0px 1px 3px;
234 box-sizing: border-box;
235 -webkit-box-sizing: border-box;
236 -moz-box-sizing: border-box;
237 -ms-box-sizing: border-box;
240 #search_field input[type="text"]:focus {
242 border: 1px solid #000;
245 #search_field input[type="submit"] {
252 background: url(sprite.png);
271 /* Rules for donation request box */
277 border: 1px solid #AED1A0;
283 -moz-border-radius: 2px;
290 /* Rules for Creative Commons logo button */
297 /* Rules for tabbed navigation bar */
300 border-bottom: 1px solid #ccc;
314 list-style-type: none;
317 #tabnav a, #tabnav a:link, #tabnav a:visited {
323 text-decoration: none;
325 -webkit-transition: color 200ms ease-in;
326 -moz-transition: color 200ms ease-in;
327 -o-transition: color 200ms ease-in;
328 transition: color 200ms ease-in;
331 body.site-index #tabnav a#viewanchor,
332 body.site-edit #tabnav a#editanchor,
333 body.changeset-list #tabnav a#historyanchor,
334 body.site-export #tabnav a#exportanchor,
335 #tabnav a:link.active,
336 #tabnav a:visited.active {
337 border-bottom: 1px solid #aaa;
342 #tabnav a:link:hover, #tabnav a:visited:hover {
343 text-decoration:underline;
346 #tabnav a:link.disabled,
347 #tabnav a:visited.disabled,
348 #tabnav a:link:hover.disabled,
349 #tabnav a:visited:hover.disabled {
354 #tabnav a:link.disabled:hover,
355 #tabnav a:visited.disabled:hover,
356 #tabnav a:link:hover.disabled:hover,
357 #tabnav a:visited:hover.disabled:hover {
358 text-decoration: none;
370 /* Rules for greeting bar in the top right corner */
379 .greeting-bar-unread {
383 /* Rules for the message shown in place of the map when javascript is disabled */
391 /* Rules for OpenLayers maps */
399 .olControlAttribution {
400 bottom: 15px !important;
401 left: 0px !important;
402 right: 0px !important;
421 /* Rules for edit menu */
428 text-decoration: none !important;
436 background-color: #ffffff;
437 border: 1px solid #cccccc;
449 list-style-type: none;
450 border-top: 1px solid #eee;
454 /* Rules for attribution text under the main map shown on printouts */
460 .attribution_notice {
464 /* Rules for the popout map sidebar */
476 #sidebar #sidebar_content {
487 #sidebar .sidebar_title {
489 padding: 3px 6px 4px 6px;
496 /* Rules for the map key which appears in the popout sidebar */
504 #mapkey .mapkey-table {
509 #mapkey .mapkey-table-key img {
515 #mapkey .mapkey-table-value {
519 /* Rules for search results which appear in the popout sidebar */
526 .search_results_heading {
529 border-bottom: 1px solid #ccc;
533 .search_results_entry {
538 .search_results_error {
540 padding: 2px 6px 0px;
544 /* Rules for data browser information which appears in the popout sidebar */
549 border: 1px solid #ccc;
558 /* Rules for export information which appears in the popout sidebar */
563 border-bottom: 1px solid #ccc;
602 /* Rules for the main content area */
613 #content.site_export {
622 #slim_container_content {
624 background-color: #FFFFFF;
628 -moz-border-radius: 25px;
629 border: 1px solid #e6e6e6;
645 vertical-align: middle;
649 /* Rules for the home page */
667 /* Rules for the edit page */
678 /* Rules for the changeset list shown by the history tab etc */
680 #changeset_list_container {
687 border-collapse: collapse;
698 #changeset_list .date {
702 #changeset_list .user {
706 #changeset_list .area {
710 #changeset_list .selected {
711 background-color: rgb(255, 255, 160);
712 background-color: rgba(255, 255, 85, 0.5);
715 #changeset_list_map {
721 border: solid 1px black;
724 /* Rules for the data browser */
731 table.browse_details th {
739 #browse_map #small_map {
742 border: solid 1px black;
745 #browse_map .geolink {
749 /* Rules for the trace list shown by the traces tab etc */
753 border-collapse: collapse;
757 #trace_list .trace_summary {
762 #trace_list .trace_pending {
766 #trace_list .trace_public {
770 #trace_list .trace_identifiable {
774 #trace_list .trace_trackable {
778 #trace_list .trace_private {
782 /* Rules for the user list */
790 vertical-align: middle;
802 /* Rules for the new diary entry page */
804 .diary_entry div#map {
808 border: 1px solid #ccc;
812 /* Rules for the login page */
818 -moz-border-radius: 15px;
822 background-color: #f5f5ff;
823 border: 1px solid #f3f3ff;
825 -moz-border-radius: 15px;
832 table#login_openid_buttons {
833 padding-bottom: 10px;
836 #login_openid_buttons td {
843 #login_openid_buttons img {
847 #login_signup form.button-to div {
852 /* Rules for the account confirmation page */
854 div#contributorTerms {
855 border: 1px solid black;
862 div#slim_content div#contributorTerms {
866 div#contributorTerms p#first {
870 div#contributorTerms p#last {
874 div#contributorTerms ol {
878 div#contributorTerms img {
890 div#slim_content form#termsForm {
894 p#contributorGuidance {
895 background-color: #f5f5ff;
896 border: 1px solid #f3f3ff;
898 -moz-border-radius: 15px;
902 /* Rules for the account settings page */
909 padding-bottom: 10px;
912 #accountForm .user_map {
916 border: 1px solid #ccc;
932 display: inline !important;
935 #accountForm input[type=submit] {
939 /* Rules for the user view */
941 .user_view .user_map {
945 border: 1px solid #ccc;
948 .user_view .user_map p#no_home_location {
957 /* Rules for the user map */
959 .user_map .olControlSimplePanZoom {
963 .user_map .olControlZoom {
967 /* Rules for user popups on maps */
978 .user_popup img.user_thumbnail {
982 /* Rules for message in/out box page */
985 border: 1px solid #ccc;
988 .inbox-row-unread .inbox-subject {
992 .inbox-row .inbox-mark-read {
996 .inbox-row-unread .inbox-mark-unread {
1000 /* Rules for "flash" notice boxes shown at the top of the content area */
1003 border: 1px solid red;
1005 background-color: #fff0f0;
1006 margin-bottom: 20px;
1008 -moz-border-radius: 5px;
1012 border: 1px solid orange;
1014 background-color: #fff6f0;
1015 margin-bottom: 20px;
1017 -moz-border-radius: 5px;
1021 border: 1px solid green;
1023 background-color: #f0fff0;
1024 margin-bottom: 20px;
1026 -moz-border-radius: 5px;
1029 /* Rules for highlighting fields with rails validation errors */
1031 .field_with_errors {
1033 background-color: red;
1037 /* Rules for rails validation error boxes */
1041 border: 2px solid red;
1043 padding-bottom: 12px;
1044 margin-bottom: 20px;
1045 background-color: #f0f0f0;
1048 #errorExplanation h2 {
1052 background-color: #c00;
1056 #errorExplanation p {
1062 #errorExplanation ul li {
1067 /* Rules for forms */
1070 vertical-align: top;
1081 input[type="email"],
1083 input[type="password"],
1085 border: 1px solid #ccc;
1088 /* Rules for user images */
1093 border: 1px solid black;
1096 img.user_thumbnail {
1099 border: 1px solid black;
1102 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1105 white-space: nowrap;
1108 /* Rules for geo microformats */
1111 border-bottom: none;
1114 /* Rules for RSS buttons */
1121 /* Rules for doing distinct colour of alternate table rows */
1124 background: #f6f6f6;
1131 /* Rules for OpenID logo */
1134 vertical-align: text-bottom;
1138 /* Rules for rich text editors */
1140 .richtext_container {
1141 white-space: nowrap;
1144 display: inline-block;
1145 vertical-align: top;
1148 display: inline-block;
1151 border: 4px solid #eee;
1152 background-color: #eee;
1153 white-space: normal;
1156 background-image: image-url("loading.gif");
1157 background-repeat: no-repeat;
1158 background-position: center;
1168 display: inline-block;
1169 vertical-align: top;
1170 background-color: #ddd;
1171 padding: 5px 10px 10px 10px;
1179 vertical-align: top;
1185 padding: 0px !important;
1188 input.richtext_doedit {
1189 margin-top: 5px !important;
1192 input.richtext_dopreview {
1193 margin-top: 5px !important;