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;
17 background-color: #f0f0f0;
24 text-decoration: none;
28 text-decoration: underline;
31 /* Rules for horizontal lines */
35 background-color: #ccc;
40 /* Default rules for headings */
48 /* Rules for the whole left sidebar, including the logo */
57 border-right: 1px solid #ccc;
60 /* Rules for the OpenStreetMap logo in the top left corner */
88 /* Rules for the site name */
98 /* Rules for the introductory text displayed in the left sidebar to new users */
108 .sidebar-copy.intro {
110 border-top: 1px solid #ccc;
114 * Rules for alert boxes shown in the left sidebar when important
115 * information needs to be conveyed such as when the site is
116 * undergoing maintenance.
120 padding: 4px 5px 4px 5px;
121 border-top: 1px solid #ccc;
135 * Rules for notice boxes shown in the left sidebar when important, but
136 * non-critical information needs to be conveyed such as notices about
141 padding: 4px 5px 4px 5px;
142 border-top: 1px solid #ccc;
154 /* Rules for the menu displayed in the left sidebar */
162 list-style-type: none;
163 border-bottom: 1px solid #ccc;
164 border-top: 1px solid #ccc;
173 list-style-type: none;
179 padding: 5px 0 5px 0;
184 .left_menu li:last-child h4 {
188 /* Rules for SOTM advert */
203 * Rules for "optional boxes" which appear in the left sidebar on
204 * certain pages. Current users are the seach box on the main page
205 * and the tag cloud on the traces pages.
220 vertical-align: bottom;
223 /* Rules for the search box */
238 #search_field input[type="text"] {
243 padding: 2px 0px 2px 5px;
244 box-shadow: inset #DDD 0px 1px 3px;
245 box-sizing: border-box;
246 -webkit-box-sizing: border-box;
247 -moz-box-sizing: border-box;
248 -ms-box-sizing: border-box;
251 #search_field input[type="text"]:focus {
253 border: 1px solid #000;
256 #search_field input[type="submit"] {
260 text-indent: -1000px;
262 text-transform: capitalize;
265 background: image-url("sprite.png");
284 /* Rules for donation request box */
290 margin: 10px 10px 0px 10px;
292 border: 1px solid #AED1A0;
298 -moz-border-radius: 2px;
304 text-decoration: none;
312 .donate .donate-icon {
318 background: image-url("sprite.png") 0 -30px no-repeat;
324 /* Rules for Creative Commons logo button */
331 /* Rules for tabbed navigation bar */
340 border-bottom: 1px solid #ccc;
354 list-style-type: none;
357 #tabnav a, #tabnav a:link, #tabnav a:visited {
365 text-decoration: none;
367 -webkit-transition: color 200ms ease-in;
368 -moz-transition: color 200ms ease-in;
369 -o-transition: color 200ms ease-in;
370 transition: color 200ms ease-in;
373 body.site-index #tabnav a#viewanchor,
374 body.site-edit #tabnav a#editanchor,
375 body.changeset-list #tabnav a#historyanchor,
376 body.site-export #tabnav a#exportanchor {
377 border-bottom: 1px solid #aaa;
382 #tabnav a:link:hover, #tabnav a:visited:hover {
383 text-decoration:underline;
386 #tabnav a:link.disabled,
387 #tabnav a:visited.disabled,
388 #tabnav a:link:hover.disabled,
389 #tabnav a:visited:hover.disabled {
394 #tabnav a:link.disabled:hover,
395 #tabnav a:visited.disabled:hover,
396 #tabnav a:link:hover.disabled:hover,
397 #tabnav a:visited:hover.disabled:hover {
398 text-decoration: none;
410 /* Rules for greeting bar in the top right corner */
421 .greeting-bar-unread {
425 /* Rules for the message shown in place of the map when javascript is disabled */
434 /* Rules for Leaflet maps */
457 .site-index .leaflet-top,
458 .site-export .leaflet-top {
459 top: 40px !important;
462 margin-top: 0px !important;
466 .site-index #map .olControlScaleLine,
467 .site-export #map .olControlScaleLine {
468 left: 10px !important;
471 /* Rules for edit menu */
478 text-decoration: none !important;
486 background-color: #ffffff;
487 border: 1px solid #cccccc;
499 list-style-type: none;
500 border-top: 1px solid #eee;
504 /* Rules for attribution text under the main map shown on printouts */
510 .attribution_license {
514 .attribution_notice {
518 .attribution_project {
522 /* Rules for the popout map sidebar */
527 margin: 30px 0px 0px 0px;
529 border-right: 1px solid #ccc;
536 #sidebar #sidebar_content {
547 #sidebar .sidebar_title {
549 padding: 3px 6px 4px 6px;
556 #sidebar #sidebar_title {
560 #sidebar #sidebar_close {
564 /* Rules for the map key which appears in the popout sidebar */
572 #mapkey .mapkey-table {
577 #mapkey .mapkey-table-key img {
583 #mapkey .mapkey-table-value {
587 /* Rules for search results which appear in the popout sidebar */
594 .search_results_heading {
597 border-bottom: 1px solid #ccc;
601 .search_results_entry {
606 .search_results_error {
608 padding: 2px 6px 0px;
612 /* Rules for data browser information which appears in the popout sidebar */
617 border: 1px solid #ccc;
626 /* Rules for export information which appears in the popout sidebar */
631 border-bottom: 1px solid #ccc;
670 /* Rules for the main content area */
674 margin: 30px 0px 0px 185px;
675 border-left: 1px solid #ccc;
680 .site-index #content,
681 .site-export #content {
691 .site-edit #content {
699 #slim_container_content {
701 background-color: #FFFFFF;
705 -moz-border-radius: 25px;
706 border: 1px solid #e6e6e6;
722 vertical-align: middle;
727 /* Rules for text content pages */
733 /* Rules for the home page */
751 /* Rules for the edit page */
762 /* Rules for the changeset list shown by the history tab etc */
764 #changeset_list_container {
771 border-collapse: collapse;
783 #changeset_list .date {
787 #changeset_list .user {
791 #changeset_list .area {
795 #changeset_list .selected {
796 background-color: rgb(255, 255, 160);
797 background-color: rgba(255, 255, 85, 0.5);
800 #changeset_list_map {
808 border: solid 1px black;
811 /* Rules for the data browser */
820 table.browse_details th {
831 #browse_map #small_map {
834 border: solid 1px black;
837 #browse_map .geolink {
841 /* Rules for the trace list shown by the traces tab etc */
845 border-collapse: collapse;
850 #trace_list .trace_summary {
855 #trace_list .trace_pending {
859 #trace_list .trace_public {
863 #trace_list .trace_identifiable {
867 #trace_list .trace_trackable {
871 #trace_list .trace_private {
875 /* Rules for the user list */
883 vertical-align: middle;
896 /* Rules for the diary list */
898 .diary_entry-list img.user_image {
902 .diary_entry-list img.user_thumbnail {
906 /* Rules for the diary entry view */
908 .diary_entry-view img.user_image {
912 .diary_entry-view img.user_thumbnail {
916 /* Rules for the new diary entry page */
918 .diary_entry div#map {
922 border: 1px solid #ccc;
926 /* Rules for the login page */
932 -moz-border-radius: 15px;
936 background-color: #f5f5ff;
937 border: 1px solid #f3f3ff;
939 -moz-border-radius: 15px;
946 table#login_openid_buttons {
947 padding-bottom: 10px;
950 #login_openid_buttons td {
957 #login_openid_buttons img {
961 #login_signup form.button-to div {
966 /* Rules for the account confirmation page */
968 div#contributorTerms {
969 border: 1px solid black;
976 div#slim_content div#contributorTerms {
980 div#contributorTerms p#first {
984 div#contributorTerms p#last {
988 div#contributorTerms ol {
992 div#contributorTerms img {
1004 form#termsForm div#buttons {
1008 form#termsForm input#agree {
1012 div#slim_content form#termsForm {
1016 p#contributorGuidance {
1017 background-color: #f5f5ff;
1018 border: 1px solid #f3f3ff;
1019 border-radius: 15px;
1020 -moz-border-radius: 15px;
1024 /* Rules for the account settings page */
1031 padding-bottom: 10px;
1034 #accountForm .user_map {
1038 border: 1px solid #ccc;
1041 #accountForm td.accountImage {
1043 vertical-align: top;
1048 display: inline-block;
1051 padding-bottom: 0px;
1065 display: inline !important;
1068 #accountForm input[type=submit] {
1072 /* Rules for the user view */
1074 .user-view img.user_image {
1078 .user-view .user_map {
1083 border: 1px solid #ccc;
1086 .user-view .user_map p#no_home_location {
1095 /* Rules for the user map */
1097 .user_map .leaflet-control-pan,
1098 .user_map .leaflet-control-zoomslider {
1102 .user_map .leaflet-control-zoom {
1106 /* Rules for user popups on maps */
1114 padding-bottom: 3px;
1121 .user_popup img.user_thumbnail {
1125 /* Rules for message in/out box page */
1129 border-collapse: collapse;
1130 border-spacing: 0px;
1134 .messages tbody tr {
1135 border-top: 1px solid #ccc;
1138 .messages .inbox-row {
1147 .inbox-row .inbox-mark-read {
1152 border-bottom: 1px solid #ccc;
1153 padding: 5px 0px 4px 0px;
1157 .info-line form div {
1161 .info-line .user_thumbnail_tiny {
1162 vertical-align: middle;
1169 .inbox-row-unread .inbox-mark-unread {
1173 /* Rules for "flash" notice boxes shown at the top of the content area */
1176 border: 1px solid red;
1178 background-color: #fff0f0;
1179 margin-bottom: 20px;
1181 -moz-border-radius: 5px;
1185 border: 1px solid orange;
1187 background-color: #fff6f0;
1188 margin-bottom: 20px;
1190 -moz-border-radius: 5px;
1194 border: 1px solid green;
1196 background-color: #f0fff0;
1197 margin-bottom: 20px;
1199 -moz-border-radius: 5px;
1202 /* Rules for highlighting fields with rails validation errors */
1204 .field_with_errors {
1206 background-color: red;
1210 /* Rules for rails validation error boxes */
1214 border: 2px solid red;
1216 padding-bottom: 12px;
1217 margin-bottom: 20px;
1218 background-color: #f0f0f0;
1221 #errorExplanation h2 {
1224 padding: 5px 5px 5px 15px;
1226 background-color: #c00;
1231 #errorExplanation p {
1237 #errorExplanation ul li {
1242 /* Rules for forms */
1245 vertical-align: top;
1261 input[type="email"],
1263 input[type="password"],
1265 border: 1px solid #ccc;
1269 background: image-url('openid_input.png') repeat-y left white;
1273 /* Rules for user images */
1278 border: 1px solid #ccc;
1281 img.user_thumbnail {
1284 border: 1px solid #ccc;
1287 img.user_thumbnail_tiny {
1290 border: 1px solid #ccc;
1293 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1296 white-space: nowrap;
1299 /* Rules for geo microformats */
1302 border-bottom: none;
1305 /* Rules for RSS buttons */
1312 /* Rules for doing distinct colour of alternate table rows */
1315 background: #f6f6f6;
1322 /* Rules for OpenID logo */
1325 vertical-align: text-bottom;
1329 /* Rules for rich text editors */
1331 .richtext_container {
1332 white-space: nowrap;
1335 display: inline-block;
1336 vertical-align: top;
1339 display: inline-block;
1342 border: 4px solid #eee;
1343 background-color: #eee;
1344 white-space: normal;
1347 background-image: image-url("loading.gif");
1348 background-repeat: no-repeat;
1349 background-position: center;
1359 display: inline-block;
1360 vertical-align: top;
1361 background-color: #ddd;
1363 padding: 5px 10px 10px 10px;
1371 vertical-align: top;
1373 padding: 0px 15px 0px 0px !important;
1380 padding: 0px !important;
1383 input.richtext_doedit {
1384 margin-top: 5px !important;
1385 margin-right: 10px !important;
1388 input.richtext_dopreview {
1389 margin-top: 5px !important;
1390 margin-left: 10px !important;