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 .leaflet-control-attribution 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 .leaflet-popup-scrolled {
479 border-bottom: 0px !important;
480 border-top: 0px !important;
483 /* Rules for edit menu */
490 text-decoration: none !important;
498 background-color: #ffffff;
499 border: 1px solid #cccccc;
511 list-style-type: none;
512 border-top: 1px solid #eee;
516 /* Rules for attribution text under the main map shown on printouts */
522 .attribution_license {
526 .attribution_notice {
530 .attribution_project {
534 /* Rules for the popout map sidebar */
539 margin: 30px 0px 0px 0px;
541 border-right: 1px solid #ccc;
548 #sidebar #sidebar_content {
559 #sidebar .sidebar_title {
561 padding: 3px 6px 4px 6px;
568 #sidebar #sidebar_title {
572 #sidebar #sidebar_close {
576 /* Rules for the map key which appears in the popout sidebar */
584 #mapkey .mapkey-table {
589 #mapkey .mapkey-table-key img {
595 #mapkey .mapkey-table-value {
599 /* Rules for search results which appear in the popout sidebar */
606 .search_results_heading {
609 border-bottom: 1px solid #ccc;
613 .search_results_entry {
618 .search_results_error {
620 padding: 2px 6px 0px;
624 /* Rules for data browser information which appears in the popout sidebar */
629 border: 1px solid #ccc;
638 /* Rules for export information which appears in the popout sidebar */
643 border-bottom: 1px solid #ccc;
682 /* Rules for the main content area */
686 margin: 30px 0px 0px 185px;
687 border-left: 1px solid #ccc;
692 .site-index #content,
693 .site-export #content {
703 .site-edit #content {
711 #slim_container_content {
713 background-color: #FFFFFF;
717 -moz-border-radius: 25px;
718 border: 1px solid #e6e6e6;
734 vertical-align: middle;
739 /* Rules for text content pages */
745 /* Rules for the home page */
763 /* Rules for the edit page */
774 /* Rules for the changeset list shown by the history tab etc */
776 #changeset_list_container {
783 border-collapse: collapse;
795 #changeset_list .date {
799 #changeset_list .user {
803 #changeset_list .area {
807 #changeset_list .selected {
808 background-color: rgb(255, 255, 160);
809 background-color: rgba(255, 255, 85, 0.5);
812 #changeset_list_map {
820 border: solid 1px black;
823 /* Rules for the data browser */
832 table.browse_details th {
840 border-collapse: collapse;
843 padding-bottom: 10px;
865 #browse_map #small_map {
868 border: solid 1px black;
871 #browse_map .geolink {
875 /* Rules for the trace list shown by the traces tab etc */
879 border-collapse: collapse;
884 #trace_list .trace_summary {
889 #trace_list .trace_pending {
893 #trace_list .trace_public {
897 #trace_list .trace_identifiable {
901 #trace_list .trace_trackable {
905 #trace_list .trace_private {
909 /* Rules for the user list */
917 vertical-align: middle;
930 /* Rules for the diary list */
932 .diary_entry-list img.user_image {
936 .diary_entry-list img.user_thumbnail {
940 /* Rules for the diary entry view */
942 .diary_entry-view img.user_image {
946 .diary_entry-view img.user_thumbnail {
950 /* Rules for the new diary entry page */
952 .diary_entry div#map {
956 border: 1px solid #ccc;
960 /* Rules for the login page */
966 -moz-border-radius: 15px;
970 background-color: #f5f5ff;
971 border: 1px solid #f3f3ff;
973 -moz-border-radius: 15px;
980 table#login_openid_buttons {
981 padding-bottom: 10px;
984 #login_openid_buttons td {
991 #login_openid_buttons img {
995 #login_signup form.button-to div {
1000 /* Rules for the account confirmation page */
1002 div#contributorTerms {
1003 border: 1px solid black;
1010 div#slim_content div#contributorTerms {
1014 div#contributorTerms p#first {
1018 div#contributorTerms p#last {
1022 div#contributorTerms ol {
1026 div#contributorTerms img {
1038 form#termsForm div#buttons {
1042 form#termsForm input#agree {
1046 div#slim_content form#termsForm {
1050 p#contributorGuidance {
1051 background-color: #f5f5ff;
1052 border: 1px solid #f3f3ff;
1053 border-radius: 15px;
1054 -moz-border-radius: 15px;
1058 /* Rules for the account settings page */
1065 padding-bottom: 10px;
1068 #accountForm .user_map {
1072 border: 1px solid #ccc;
1075 #accountForm td.accountImage {
1077 vertical-align: top;
1082 display: inline-block;
1085 padding-bottom: 0px;
1099 display: inline !important;
1102 #accountForm input[type=submit] {
1106 /* Rules for the user view */
1108 .user-view img.user_image {
1112 .user-view .user_map {
1117 border: 1px solid #ccc;
1120 .user-view .user_map p#no_home_location {
1129 /* Rules for the user map */
1131 .user_map .leaflet-control-pan,
1132 .user_map .leaflet-control-zoomslider {
1136 .user_map .leaflet-control-zoom {
1140 /* Rules for user popups on maps */
1148 padding-bottom: 3px;
1155 .user_popup img.user_thumbnail {
1159 /* Rules for message in/out box page */
1163 border-collapse: collapse;
1164 border-spacing: 0px;
1168 .messages tbody tr {
1169 border-top: 1px solid #ccc;
1172 .messages .inbox-row {
1181 .inbox-row .inbox-mark-read {
1186 border-bottom: 1px solid #ccc;
1187 padding: 5px 0px 4px 0px;
1191 .info-line form div {
1195 .info-line .user_thumbnail_tiny {
1196 vertical-align: middle;
1203 .inbox-row-unread .inbox-mark-unread {
1207 /* Rules for "flash" notice boxes shown at the top of the content area */
1210 border: 1px solid red;
1212 background-color: #fff0f0;
1213 margin-bottom: 20px;
1215 -moz-border-radius: 5px;
1219 border: 1px solid orange;
1221 background-color: #fff6f0;
1222 margin-bottom: 20px;
1224 -moz-border-radius: 5px;
1228 border: 1px solid green;
1230 background-color: #f0fff0;
1231 margin-bottom: 20px;
1233 -moz-border-radius: 5px;
1236 /* Rules for highlighting fields with rails validation errors */
1238 .field_with_errors {
1240 background-color: red;
1244 /* Rules for rails validation error boxes */
1248 border: 2px solid red;
1250 padding-bottom: 12px;
1251 margin-bottom: 20px;
1252 background-color: #f0f0f0;
1255 #errorExplanation h2 {
1258 padding: 5px 5px 5px 15px;
1260 background-color: #c00;
1265 #errorExplanation p {
1271 #errorExplanation ul li {
1276 /* Rules for forms */
1279 vertical-align: top;
1295 input[type="email"],
1297 input[type="password"],
1299 border: 1px solid #ccc;
1303 background: image-url('openid_input.png') repeat-y left white;
1307 /* Rules for user images */
1312 border: 1px solid #ccc;
1315 img.user_thumbnail {
1318 border: 1px solid #ccc;
1321 img.user_thumbnail_tiny {
1324 border: 1px solid #ccc;
1327 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1330 white-space: nowrap;
1333 /* Rules for geo microformats */
1336 border-bottom: none;
1339 /* Rules for RSS buttons */
1346 /* Rules for doing distinct colour of alternate table rows */
1349 background: #f6f6f6;
1356 /* Rules for OpenID logo */
1359 vertical-align: text-bottom;
1363 /* Rules for rich text editors */
1365 .richtext_container {
1366 white-space: nowrap;
1369 display: inline-block;
1370 vertical-align: top;
1373 display: inline-block;
1376 border: 4px solid #eee;
1377 background-color: #eee;
1378 white-space: normal;
1381 background-image: image-url("loading.gif");
1382 background-repeat: no-repeat;
1383 background-position: center;
1393 display: inline-block;
1394 vertical-align: top;
1395 background-color: #ddd;
1397 padding: 5px 10px 10px 10px;
1405 vertical-align: top;
1407 padding: 0px 15px 0px 0px !important;
1414 padding: 0px !important;
1417 input.richtext_doedit {
1418 margin-top: 5px !important;
1419 margin-right: 10px !important;
1422 input.richtext_dopreview {
1423 margin-top: 5px !important;
1424 margin-left: 10px !important;
1429 /* Rules for the notes interface */