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 #permalink a.disabled {
460 text-decoration: none;
463 .site-index .leaflet-top,
464 .site-export .leaflet-top {
465 top: 40px !important;
468 margin-top: 0px !important;
472 .site-index #map .olControlScaleLine,
473 .site-export #map .olControlScaleLine {
474 left: 10px !important;
477 /* Rules for edit menu */
484 text-decoration: none !important;
492 background-color: #ffffff;
493 border: 1px solid #cccccc;
505 list-style-type: none;
506 border-top: 1px solid #eee;
510 /* Rules for attribution text under the main map shown on printouts */
516 .attribution_license {
520 .attribution_notice {
524 .attribution_project {
528 /* Rules for the popout map sidebar */
533 margin: 30px 0px 0px 0px;
535 border-right: 1px solid #ccc;
542 #sidebar #sidebar_content {
553 #sidebar .sidebar_title {
555 padding: 3px 6px 4px 6px;
562 #sidebar #sidebar_title {
566 #sidebar #sidebar_close {
570 /* Rules for the map key which appears in the popout sidebar */
578 #mapkey .mapkey-table {
583 #mapkey .mapkey-table-key img {
589 #mapkey .mapkey-table-value {
593 /* Rules for search results which appear in the popout sidebar */
600 .search_results_heading {
603 border-bottom: 1px solid #ccc;
607 .search_results_entry {
612 .search_results_error {
614 padding: 2px 6px 0px;
618 /* Rules for data browser information which appears in the popout sidebar */
623 border: 1px solid #ccc;
632 /* Rules for export information which appears in the popout sidebar */
637 border-bottom: 1px solid #ccc;
676 /* Rules for the main content area */
680 margin: 30px 0px 0px 185px;
681 border-left: 1px solid #ccc;
686 .site-index #content,
687 .site-export #content {
697 .site-edit #content {
705 #slim_container_content {
707 background-color: #FFFFFF;
711 -moz-border-radius: 25px;
712 border: 1px solid #e6e6e6;
728 vertical-align: middle;
733 /* Rules for text content pages */
739 /* Rules for the home page */
757 /* Rules for the edit page */
768 /* Rules for the changeset list shown by the history tab etc */
770 #changeset_list_container {
777 border-collapse: collapse;
789 #changeset_list .date {
793 #changeset_list .user {
797 #changeset_list .area {
801 #changeset_list .selected {
802 background-color: rgb(255, 255, 160);
803 background-color: rgba(255, 255, 85, 0.5);
806 #changeset_list_map {
814 border: solid 1px black;
817 /* Rules for the data browser */
826 table.browse_details th {
834 td.browse_comments table {
835 border-collapse: collapse;
838 td.browse_comments table td {
839 padding-bottom: 10px;
842 td.browse_comments table td span.by {
854 #browse_map #small_map {
857 border: solid 1px black;
860 #browse_map .geolink {
864 /* Rules for the trace list shown by the traces tab etc */
868 border-collapse: collapse;
873 #trace_list .trace_summary {
878 #trace_list .trace_pending {
882 #trace_list .trace_public {
886 #trace_list .trace_identifiable {
890 #trace_list .trace_trackable {
894 #trace_list .trace_private {
898 /* Rules for the user list */
906 vertical-align: middle;
919 /* Rules for the diary list */
921 .diary_entry-list img.user_image {
925 .diary_entry-list img.user_thumbnail {
929 /* Rules for the diary entry view */
931 .diary_entry-view img.user_image {
935 .diary_entry-view img.user_thumbnail {
939 /* Rules for the new diary entry page */
941 .diary_entry div#map {
945 border: 1px solid #ccc;
949 /* Rules for the login page */
955 -moz-border-radius: 15px;
959 background-color: #f5f5ff;
960 border: 1px solid #f3f3ff;
962 -moz-border-radius: 15px;
969 table#login_openid_buttons {
970 padding-bottom: 10px;
973 #login_openid_buttons td {
980 #login_openid_buttons img {
984 #login_signup form.button-to div {
989 /* Rules for the account confirmation page */
991 div#contributorTerms {
992 border: 1px solid black;
999 div#slim_content div#contributorTerms {
1003 div#contributorTerms p#first {
1007 div#contributorTerms p#last {
1011 div#contributorTerms ol {
1015 div#contributorTerms img {
1027 form#termsForm div#buttons {
1031 form#termsForm input#agree {
1035 div#slim_content form#termsForm {
1039 p#contributorGuidance {
1040 background-color: #f5f5ff;
1041 border: 1px solid #f3f3ff;
1042 border-radius: 15px;
1043 -moz-border-radius: 15px;
1047 /* Rules for the account settings page */
1054 padding-bottom: 10px;
1057 #accountForm .user_map {
1061 border: 1px solid #ccc;
1064 #accountForm td.accountImage {
1066 vertical-align: top;
1071 display: inline-block;
1074 padding-bottom: 0px;
1088 display: inline !important;
1091 #accountForm input[type=submit] {
1095 /* Rules for the user view */
1097 .user-view img.user_image {
1101 .user-view .user_map {
1106 border: 1px solid #ccc;
1109 .user-view .user_map p#no_home_location {
1118 /* Rules for the user map */
1120 .user_map .leaflet-control-pan,
1121 .user_map .leaflet-control-zoomslider {
1125 .user_map .leaflet-control-zoom {
1129 /* Rules for user popups on maps */
1137 padding-bottom: 3px;
1144 .user_popup img.user_thumbnail {
1148 /* Rules for message in/out box page */
1152 border-collapse: collapse;
1153 border-spacing: 0px;
1157 .messages tbody tr {
1158 border-top: 1px solid #ccc;
1161 .messages .inbox-row {
1170 .inbox-row .inbox-mark-read {
1175 border-bottom: 1px solid #ccc;
1176 padding: 5px 0px 4px 0px;
1180 .info-line form div {
1184 .info-line .user_thumbnail_tiny {
1185 vertical-align: middle;
1192 .inbox-row-unread .inbox-mark-unread {
1196 /* Rules for "flash" notice boxes shown at the top of the content area */
1199 border: 1px solid red;
1201 background-color: #fff0f0;
1202 margin-bottom: 20px;
1204 -moz-border-radius: 5px;
1208 border: 1px solid orange;
1210 background-color: #fff6f0;
1211 margin-bottom: 20px;
1213 -moz-border-radius: 5px;
1217 border: 1px solid green;
1219 background-color: #f0fff0;
1220 margin-bottom: 20px;
1222 -moz-border-radius: 5px;
1225 /* Rules for highlighting fields with rails validation errors */
1227 .field_with_errors {
1229 background-color: red;
1233 /* Rules for rails validation error boxes */
1237 border: 2px solid red;
1239 padding-bottom: 12px;
1240 margin-bottom: 20px;
1241 background-color: #f0f0f0;
1244 #errorExplanation h2 {
1247 padding: 5px 5px 5px 15px;
1249 background-color: #c00;
1254 #errorExplanation p {
1260 #errorExplanation ul li {
1265 /* Rules for forms */
1268 vertical-align: top;
1284 input[type="email"],
1286 input[type="password"],
1288 border: 1px solid #ccc;
1292 background: image-url('openid_input.png') repeat-y left white;
1296 /* Rules for user images */
1301 border: 1px solid #ccc;
1304 img.user_thumbnail {
1307 border: 1px solid #ccc;
1310 img.user_thumbnail_tiny {
1313 border: 1px solid #ccc;
1316 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1319 white-space: nowrap;
1322 /* Rules for geo microformats */
1325 border-bottom: none;
1328 /* Rules for RSS buttons */
1335 /* Rules for doing distinct colour of alternate table rows */
1338 background: #f6f6f6;
1345 /* Rules for OpenID logo */
1348 vertical-align: text-bottom;
1352 /* Rules for rich text editors */
1354 .richtext_container {
1355 white-space: nowrap;
1358 display: inline-block;
1359 vertical-align: top;
1362 display: inline-block;
1365 border: 4px solid #eee;
1366 background-color: #eee;
1367 white-space: normal;
1370 background-image: image-url("loading.gif");
1371 background-repeat: no-repeat;
1372 background-position: center;
1382 display: inline-block;
1383 vertical-align: top;
1384 background-color: #ddd;
1386 padding: 5px 10px 10px 10px;
1394 vertical-align: top;
1396 padding: 0px 15px 0px 0px !important;
1403 padding: 0px !important;
1406 input.richtext_doedit {
1407 margin-top: 5px !important;
1408 margin-right: 10px !important;
1411 input.richtext_dopreview {
1412 margin-top: 5px !important;
1413 margin-left: 10px !important;
1418 /* Rules for the notes interface */