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 */
339 border-bottom: 1px solid #ccc;
353 list-style-type: none;
356 #tabnav a, #tabnav a:link, #tabnav a:visited {
364 text-decoration: none;
366 -webkit-transition: color 200ms ease-in;
367 -moz-transition: color 200ms ease-in;
368 -o-transition: color 200ms ease-in;
369 transition: color 200ms ease-in;
372 body.site-index #tabnav a#viewanchor,
373 body.site-edit #tabnav a#editanchor,
374 body.changeset-list #tabnav a#historyanchor,
375 body.site-export #tabnav a#exportanchor {
376 border-bottom: 1px solid #aaa;
381 #tabnav a:link:hover, #tabnav a:visited:hover {
382 text-decoration:underline;
385 #tabnav a:link.disabled,
386 #tabnav a:visited.disabled,
387 #tabnav a:link:hover.disabled,
388 #tabnav a:visited:hover.disabled {
393 #tabnav a:link.disabled:hover,
394 #tabnav a:visited.disabled:hover,
395 #tabnav a:link:hover.disabled:hover,
396 #tabnav a:visited:hover.disabled:hover {
397 text-decoration: none;
409 /* Rules for greeting bar in the top right corner */
420 .greeting-bar-unread {
424 /* Rules for the message shown in place of the map when javascript is disabled */
433 /* Rules for OpenLayers maps */
441 .olControlAttribution {
442 bottom: 15px !important;
443 left: 0px !important;
444 right: 0px !important;
463 #permalink a.disabled {
466 text-decoration: none;
469 .site-index #map .SimpleLayerSwitcher,
470 .site-index #map .olControlSimplePanZoom,
471 .site-export #map .SimpleLayerSwitcher,
472 .site-export #map .olControlSimplePanZoom {
473 top: 40px !important;
476 .site-index #map .olControlScaleLine,
477 .site-export #map .olControlScaleLine {
478 left: 10px !important;
481 /* Rules for edit menu */
488 text-decoration: none !important;
496 background-color: #ffffff;
497 border: 1px solid #cccccc;
509 list-style-type: none;
510 border-top: 1px solid #eee;
514 /* Rules for attribution text under the main map shown on printouts */
520 .attribution_license {
524 .attribution_notice {
528 .attribution_project {
532 /* Rules for the popout map sidebar */
537 margin: 30px 0px 0px 0px;
539 border-right: 1px solid #ccc;
546 #sidebar #sidebar_content {
557 #sidebar .sidebar_title {
559 padding: 3px 6px 4px 6px;
566 #sidebar #sidebar_title {
570 #sidebar #sidebar_close {
574 /* Rules for the map key which appears in the popout sidebar */
582 #mapkey .mapkey-table {
587 #mapkey .mapkey-table-key img {
593 #mapkey .mapkey-table-value {
597 /* Rules for search results which appear in the popout sidebar */
604 .search_results_heading {
607 border-bottom: 1px solid #ccc;
611 .search_results_entry {
616 .search_results_error {
618 padding: 2px 6px 0px;
622 /* Rules for data browser information which appears in the popout sidebar */
627 border: 1px solid #ccc;
636 /* Rules for export information which appears in the popout sidebar */
641 border-bottom: 1px solid #ccc;
680 /* Rules for the main content area */
684 margin: 30px 0px 0px 185px;
685 border-left: 1px solid #ccc;
690 .site-index #content,
691 .site-export #content {
701 .site-edit #content {
709 #slim_container_content {
711 background-color: #FFFFFF;
715 -moz-border-radius: 25px;
716 border: 1px solid #e6e6e6;
732 vertical-align: middle;
737 /* Rules for text content pages */
743 /* Rules for the home page */
761 /* Rules for the edit page */
772 /* Rules for the changeset list shown by the history tab etc */
774 #changeset_list_container {
781 border-collapse: collapse;
793 #changeset_list .date {
797 #changeset_list .user {
801 #changeset_list .area {
805 #changeset_list .selected {
806 background-color: rgb(255, 255, 160);
807 background-color: rgba(255, 255, 85, 0.5);
810 #changeset_list_map {
818 border: solid 1px black;
821 /* Rules for the data browser */
830 table.browse_details th {
838 td.browse_comments table {
839 border-collapse: collapse;
842 td.browse_comments table td {
843 padding-bottom: 10px;
846 td.browse_comments table td span.by {
858 #browse_map #small_map {
861 border: solid 1px black;
864 #browse_map .geolink {
868 /* Rules for the trace list shown by the traces tab etc */
872 border-collapse: collapse;
877 #trace_list .trace_summary {
882 #trace_list .trace_pending {
886 #trace_list .trace_public {
890 #trace_list .trace_identifiable {
894 #trace_list .trace_trackable {
898 #trace_list .trace_private {
902 /* Rules for the user list */
910 vertical-align: middle;
923 /* Rules for the diary list */
925 .diary_entry-list img.user_image {
929 .diary_entry-list img.user_thumbnail {
933 /* Rules for the diary entry view */
935 .diary_entry-view img.user_image {
939 .diary_entry-view img.user_thumbnail {
943 /* Rules for the new diary entry page */
945 .diary_entry div#map {
949 border: 1px solid #ccc;
953 /* Rules for the login page */
959 -moz-border-radius: 15px;
963 background-color: #f5f5ff;
964 border: 1px solid #f3f3ff;
966 -moz-border-radius: 15px;
973 table#login_openid_buttons {
974 padding-bottom: 10px;
977 #login_openid_buttons td {
984 #login_openid_buttons img {
988 #login_signup form.button-to div {
993 /* Rules for the account confirmation page */
995 div#contributorTerms {
996 border: 1px solid black;
1003 div#slim_content div#contributorTerms {
1007 div#contributorTerms p#first {
1011 div#contributorTerms p#last {
1015 div#contributorTerms ol {
1019 div#contributorTerms img {
1031 form#termsForm div#buttons {
1035 form#termsForm input#agree {
1039 div#slim_content form#termsForm {
1043 p#contributorGuidance {
1044 background-color: #f5f5ff;
1045 border: 1px solid #f3f3ff;
1046 border-radius: 15px;
1047 -moz-border-radius: 15px;
1051 /* Rules for the account settings page */
1058 padding-bottom: 10px;
1061 #accountForm .user_map {
1065 border: 1px solid #ccc;
1068 #accountForm td.accountImage {
1070 vertical-align: top;
1075 display: inline-block;
1078 padding-bottom: 0px;
1092 display: inline !important;
1095 #accountForm input[type=submit] {
1099 /* Rules for the user view */
1101 .user-view img.user_image {
1105 .user-view .user_map {
1110 border: 1px solid #ccc;
1113 .user-view .user_map p#no_home_location {
1122 /* Rules for the user map */
1124 .user_map .olControlSimplePanZoom {
1128 .user_map .olControlZoom {
1132 /* Rules for user popups on maps */
1136 padding-bottom: 3px;
1143 .user_popup img.user_thumbnail {
1147 /* Rules for message in/out box page */
1151 border-collapse: collapse;
1152 border-spacing: 0px;
1156 .messages tbody tr {
1157 border-top: 1px solid #ccc;
1160 .messages .inbox-row {
1169 .inbox-row .inbox-mark-read {
1174 border-bottom: 1px solid #ccc;
1175 padding: 5px 0px 4px 0px;
1179 .info-line form div {
1183 .info-line .user_thumbnail_tiny {
1184 vertical-align: middle;
1191 .inbox-row-unread .inbox-mark-unread {
1195 /* Rules for "flash" notice boxes shown at the top of the content area */
1198 border: 1px solid red;
1200 background-color: #fff0f0;
1201 margin-bottom: 20px;
1203 -moz-border-radius: 5px;
1207 border: 1px solid orange;
1209 background-color: #fff6f0;
1210 margin-bottom: 20px;
1212 -moz-border-radius: 5px;
1216 border: 1px solid green;
1218 background-color: #f0fff0;
1219 margin-bottom: 20px;
1221 -moz-border-radius: 5px;
1224 /* Rules for highlighting fields with rails validation errors */
1226 .field_with_errors {
1228 background-color: red;
1232 /* Rules for rails validation error boxes */
1236 border: 2px solid red;
1238 padding-bottom: 12px;
1239 margin-bottom: 20px;
1240 background-color: #f0f0f0;
1243 #errorExplanation h2 {
1246 padding: 5px 5px 5px 15px;
1248 background-color: #c00;
1253 #errorExplanation p {
1259 #errorExplanation ul li {
1264 /* Rules for forms */
1267 vertical-align: top;
1283 input[type="email"],
1285 input[type="password"],
1287 border: 1px solid #ccc;
1291 background: image-url('openid_input.png') repeat-y left white;
1295 /* Rules for user images */
1300 border: 1px solid #ccc;
1303 img.user_thumbnail {
1306 border: 1px solid #ccc;
1309 img.user_thumbnail_tiny {
1312 border: 1px solid #ccc;
1315 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1318 white-space: nowrap;
1321 /* Rules for geo microformats */
1324 border-bottom: none;
1327 /* Rules for RSS buttons */
1334 /* Rules for doing distinct colour of alternate table rows */
1337 background: #f6f6f6;
1344 /* Rules for OpenID logo */
1347 vertical-align: text-bottom;
1351 /* Rules for rich text editors */
1353 .richtext_container {
1354 white-space: nowrap;
1357 display: inline-block;
1358 vertical-align: top;
1361 display: inline-block;
1364 border: 4px solid #eee;
1365 background-color: #eee;
1366 white-space: normal;
1369 background-image: image-url("loading.gif");
1370 background-repeat: no-repeat;
1371 background-position: center;
1381 display: inline-block;
1382 vertical-align: top;
1383 background-color: #ddd;
1385 padding: 5px 10px 10px 10px;
1393 vertical-align: top;
1395 padding: 0px 15px 0px 0px !important;
1402 padding: 0px !important;
1405 input.richtext_doedit {
1406 margin-top: 5px !important;
1407 margin-right: 10px !important;
1410 input.richtext_dopreview {
1411 margin-top: 5px !important;
1412 margin-left: 10px !important;
1417 /* Rules for the notes interface */