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 border-bottom: 1px solid #aaa;
340 #tabnav a:link:hover, #tabnav a:visited:hover {
341 text-decoration:underline;
344 #tabnav a:link.disabled,
345 #tabnav a:visited.disabled,
346 #tabnav a:link:hover.disabled,
347 #tabnav a:visited:hover.disabled {
352 #tabnav a:link.disabled:hover,
353 #tabnav a:visited.disabled:hover,
354 #tabnav a:link:hover.disabled:hover,
355 #tabnav a:visited:hover.disabled:hover {
356 text-decoration: none;
368 /* Rules for greeting bar in the top right corner */
377 .greeting-bar-unread {
381 /* Rules for the message shown in place of the map when javascript is disabled */
389 /* Rules for OpenLayers maps */
397 .olControlAttribution {
398 bottom: 15px !important;
399 left: 0px !important;
400 right: 0px !important;
419 /* Rules for edit menu */
426 text-decoration: none !important;
434 background-color: #ffffff;
435 border: 1px solid #cccccc;
447 list-style-type: none;
448 border-top: 1px solid #eee;
452 /* Rules for attribution text under the main map shown on printouts */
458 .attribution_notice {
462 /* Rules for the popout map sidebar */
474 #sidebar #sidebar_content {
485 #sidebar .sidebar_title {
487 padding: 3px 6px 4px 6px;
494 /* Rules for the map key which appears in the popout sidebar */
502 #mapkey .mapkey-table {
507 #mapkey .mapkey-table-key img {
513 #mapkey .mapkey-table-value {
517 /* Rules for search results which appear in the popout sidebar */
524 .search_results_heading {
527 border-bottom: 1px solid #ccc;
531 .search_results_entry {
536 .search_results_error {
538 padding: 2px 6px 0px;
542 /* Rules for data browser information which appears in the popout sidebar */
547 border: 1px solid #ccc;
556 /* Rules for export information which appears in the popout sidebar */
561 border-bottom: 1px solid #ccc;
600 /* Rules for the main content area */
609 .site-index #content,
611 .site-export #content {
620 #slim_container_content {
622 background-color: #FFFFFF;
626 -moz-border-radius: 25px;
627 border: 1px solid #e6e6e6;
643 vertical-align: middle;
647 /* Rules for the home page */
665 /* Rules for the edit page */
676 /* Rules for the changeset list shown by the history tab etc */
678 #changeset_list_container {
685 border-collapse: collapse;
696 #changeset_list .date {
700 #changeset_list .user {
704 #changeset_list .area {
708 #changeset_list .selected {
709 background-color: rgb(255, 255, 160);
710 background-color: rgba(255, 255, 85, 0.5);
713 #changeset_list_map {
719 border: solid 1px black;
722 /* Rules for the data browser */
729 table.browse_details th {
737 #browse_map #small_map {
740 border: solid 1px black;
743 #browse_map .geolink {
747 /* Rules for the trace list shown by the traces tab etc */
751 border-collapse: collapse;
755 #trace_list .trace_summary {
760 #trace_list .trace_pending {
764 #trace_list .trace_public {
768 #trace_list .trace_identifiable {
772 #trace_list .trace_trackable {
776 #trace_list .trace_private {
780 /* Rules for the user list */
788 vertical-align: middle;
800 /* Rules for the new diary entry page */
802 .diary_entry div#map {
806 border: 1px solid #ccc;
810 /* Rules for the login page */
816 -moz-border-radius: 15px;
820 background-color: #f5f5ff;
821 border: 1px solid #f3f3ff;
823 -moz-border-radius: 15px;
830 table#login_openid_buttons {
831 padding-bottom: 10px;
834 #login_openid_buttons td {
841 #login_openid_buttons img {
845 #login_signup form.button-to div {
850 /* Rules for the account confirmation page */
852 div#contributorTerms {
853 border: 1px solid black;
860 div#slim_content div#contributorTerms {
864 div#contributorTerms p#first {
868 div#contributorTerms p#last {
872 div#contributorTerms ol {
876 div#contributorTerms img {
888 div#slim_content form#termsForm {
892 p#contributorGuidance {
893 background-color: #f5f5ff;
894 border: 1px solid #f3f3ff;
896 -moz-border-radius: 15px;
900 /* Rules for the account settings page */
907 padding-bottom: 10px;
910 #accountForm .user_map {
914 border: 1px solid #ccc;
930 display: inline !important;
933 #accountForm input[type=submit] {
937 /* Rules for the user view */
939 .user-view .user_map {
943 border: 1px solid #ccc;
946 .user-view .user_map p#no_home_location {
955 /* Rules for the user map */
957 .user_map .olControlSimplePanZoom {
961 .user_map .olControlZoom {
965 /* Rules for user popups on maps */
976 .user_popup img.user_thumbnail {
980 /* Rules for message in/out box page */
983 border: 1px solid #ccc;
986 .inbox-row-unread .inbox-subject {
990 .inbox-row .inbox-mark-read {
994 .inbox-row-unread .inbox-mark-unread {
998 /* Rules for "flash" notice boxes shown at the top of the content area */
1001 border: 1px solid red;
1003 background-color: #fff0f0;
1004 margin-bottom: 20px;
1006 -moz-border-radius: 5px;
1010 border: 1px solid orange;
1012 background-color: #fff6f0;
1013 margin-bottom: 20px;
1015 -moz-border-radius: 5px;
1019 border: 1px solid green;
1021 background-color: #f0fff0;
1022 margin-bottom: 20px;
1024 -moz-border-radius: 5px;
1027 /* Rules for highlighting fields with rails validation errors */
1029 .field_with_errors {
1031 background-color: red;
1035 /* Rules for rails validation error boxes */
1039 border: 2px solid red;
1041 padding-bottom: 12px;
1042 margin-bottom: 20px;
1043 background-color: #f0f0f0;
1046 #errorExplanation h2 {
1050 background-color: #c00;
1054 #errorExplanation p {
1060 #errorExplanation ul li {
1065 /* Rules for forms */
1068 vertical-align: top;
1079 input[type="email"],
1081 input[type="password"],
1083 border: 1px solid #ccc;
1086 /* Rules for user images */
1091 border: 1px solid black;
1094 img.user_thumbnail {
1097 border: 1px solid black;
1100 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1103 white-space: nowrap;
1106 /* Rules for geo microformats */
1109 border-bottom: none;
1112 /* Rules for RSS buttons */
1119 /* Rules for doing distinct colour of alternate table rows */
1122 background: #f6f6f6;
1129 /* Rules for OpenID logo */
1132 vertical-align: text-bottom;
1136 /* Rules for rich text editors */
1138 .richtext_container {
1139 white-space: nowrap;
1142 display: inline-block;
1143 vertical-align: top;
1146 display: inline-block;
1149 border: 4px solid #eee;
1150 background-color: #eee;
1151 white-space: normal;
1154 background-image: image-url("loading.gif");
1155 background-repeat: no-repeat;
1156 background-position: center;
1166 display: inline-block;
1167 vertical-align: top;
1168 background-color: #ddd;
1169 padding: 5px 10px 10px 10px;
1177 vertical-align: top;
1183 padding: 0px !important;
1186 input.richtext_doedit {
1187 margin-top: 5px !important;
1190 input.richtext_dopreview {
1191 margin-top: 5px !important;