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 Leaflet maps */
456 .site-index .leaflet-top,
457 .site-export .leaflet-top {
458 top: 10px !important;
461 margin-top: 0px !important;
465 .site-index #map .olControlScaleLine,
466 .site-export #map .olControlScaleLine {
467 left: 10px !important;
470 /* Rules for edit menu */
477 text-decoration: none !important;
485 background-color: #ffffff;
486 border: 1px solid #cccccc;
498 list-style-type: none;
499 border-top: 1px solid #eee;
503 /* Rules for attribution text under the main map shown on printouts */
509 .attribution_license {
513 .attribution_notice {
517 .attribution_project {
521 /* Rules for the popout map sidebar */
526 margin: 30px 0px 0px 0px;
528 border-right: 1px solid #ccc;
535 #sidebar #sidebar_content {
546 #sidebar .sidebar_title {
548 padding: 3px 6px 4px 6px;
555 #sidebar #sidebar_title {
559 #sidebar #sidebar_close {
563 /* Rules for the map key which appears in the popout sidebar */
571 #mapkey .mapkey-table {
576 #mapkey .mapkey-table-key img {
582 #mapkey .mapkey-table-value {
586 /* Rules for search results which appear in the popout sidebar */
593 .search_results_heading {
596 border-bottom: 1px solid #ccc;
600 .search_results_entry {
605 .search_results_error {
607 padding: 2px 6px 0px;
611 /* Rules for data browser information which appears in the popout sidebar */
616 border: 1px solid #ccc;
625 /* Rules for export information which appears in the popout sidebar */
630 border-bottom: 1px solid #ccc;
669 /* Rules for the main content area */
673 margin: 30px 0px 0px 185px;
674 border-left: 1px solid #ccc;
679 .site-index #content,
680 .site-export #content {
693 #slim_container_content {
695 background-color: #FFFFFF;
699 -moz-border-radius: 25px;
700 border: 1px solid #e6e6e6;
716 vertical-align: middle;
721 /* Rules for text content pages */
727 /* Rules for the home page */
745 /* Rules for the edit page */
756 /* Rules for the changeset list shown by the history tab etc */
758 #changeset_list_container {
765 border-collapse: collapse;
777 #changeset_list .date {
781 #changeset_list .user {
785 #changeset_list .area {
789 #changeset_list .selected {
790 background-color: rgb(255, 255, 160);
791 background-color: rgba(255, 255, 85, 0.5);
794 #changeset_list_map {
802 border: solid 1px black;
805 /* Rules for the data browser */
814 table.browse_details th {
825 #browse_map #small_map {
828 border: solid 1px black;
831 #browse_map .geolink {
835 /* Rules for the trace list shown by the traces tab etc */
839 border-collapse: collapse;
844 #trace_list .trace_summary {
849 #trace_list .trace_pending {
853 #trace_list .trace_public {
857 #trace_list .trace_identifiable {
861 #trace_list .trace_trackable {
865 #trace_list .trace_private {
869 /* Rules for the user list */
877 vertical-align: middle;
890 /* Rules for the diary list */
892 .diary_entry-list img.user_image {
896 .diary_entry-list img.user_thumbnail {
900 /* Rules for the diary entry view */
902 .diary_entry-view img.user_image {
906 .diary_entry-view img.user_thumbnail {
910 /* Rules for the new diary entry page */
912 .diary_entry div#map {
916 border: 1px solid #ccc;
920 /* Rules for the login page */
926 -moz-border-radius: 15px;
930 background-color: #f5f5ff;
931 border: 1px solid #f3f3ff;
933 -moz-border-radius: 15px;
940 table#login_openid_buttons {
941 padding-bottom: 10px;
944 #login_openid_buttons td {
951 #login_openid_buttons img {
955 #login_signup form.button-to div {
960 /* Rules for the account confirmation page */
962 div#contributorTerms {
963 border: 1px solid black;
970 div#slim_content div#contributorTerms {
974 div#contributorTerms p#first {
978 div#contributorTerms p#last {
982 div#contributorTerms ol {
986 div#contributorTerms img {
998 form#termsForm div#buttons {
1002 form#termsForm input#agree {
1006 div#slim_content form#termsForm {
1010 p#contributorGuidance {
1011 background-color: #f5f5ff;
1012 border: 1px solid #f3f3ff;
1013 border-radius: 15px;
1014 -moz-border-radius: 15px;
1018 /* Rules for the account settings page */
1025 padding-bottom: 10px;
1028 #accountForm .user_map {
1032 border: 1px solid #ccc;
1035 #accountForm td.accountImage {
1037 vertical-align: top;
1042 display: inline-block;
1045 padding-bottom: 0px;
1059 display: inline !important;
1062 #accountForm input[type=submit] {
1066 /* Rules for the user view */
1068 .user-view img.user_image {
1072 .user-view .user_map {
1077 border: 1px solid #ccc;
1080 .user-view .user_map p#no_home_location {
1089 /* Rules for the user map */
1091 .user_map .leaflet-control-pan,
1092 .user_map .leaflet-control-zoomslider {
1096 .user_map .leaflet-control-zoom {
1100 /* Rules for user popups on maps */
1108 padding-bottom: 3px;
1115 .user_popup img.user_thumbnail {
1119 /* Rules for message in/out box page */
1123 border-collapse: collapse;
1124 border-spacing: 0px;
1128 .messages tbody tr {
1129 border-top: 1px solid #ccc;
1132 .messages .inbox-row {
1141 .inbox-row .inbox-mark-read {
1146 border-bottom: 1px solid #ccc;
1147 padding: 5px 0px 4px 0px;
1151 .info-line form div {
1155 .info-line .user_thumbnail_tiny {
1156 vertical-align: middle;
1163 .inbox-row-unread .inbox-mark-unread {
1167 /* Rules for "flash" notice boxes shown at the top of the content area */
1170 border: 1px solid red;
1172 background-color: #fff0f0;
1173 margin-bottom: 20px;
1175 -moz-border-radius: 5px;
1179 border: 1px solid orange;
1181 background-color: #fff6f0;
1182 margin-bottom: 20px;
1184 -moz-border-radius: 5px;
1188 border: 1px solid green;
1190 background-color: #f0fff0;
1191 margin-bottom: 20px;
1193 -moz-border-radius: 5px;
1196 /* Rules for highlighting fields with rails validation errors */
1198 .field_with_errors {
1200 background-color: red;
1204 /* Rules for rails validation error boxes */
1208 border: 2px solid red;
1210 padding-bottom: 12px;
1211 margin-bottom: 20px;
1212 background-color: #f0f0f0;
1215 #errorExplanation h2 {
1218 padding: 5px 5px 5px 15px;
1220 background-color: #c00;
1225 #errorExplanation p {
1231 #errorExplanation ul li {
1236 /* Rules for forms */
1239 vertical-align: top;
1255 input[type="email"],
1257 input[type="password"],
1259 border: 1px solid #ccc;
1263 background: image-url('openid_input.png') repeat-y left white;
1267 /* Rules for user images */
1272 border: 1px solid #ccc;
1275 img.user_thumbnail {
1278 border: 1px solid #ccc;
1281 img.user_thumbnail_tiny {
1284 border: 1px solid #ccc;
1287 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1290 white-space: nowrap;
1293 /* Rules for geo microformats */
1296 border-bottom: none;
1299 /* Rules for RSS buttons */
1306 /* Rules for doing distinct colour of alternate table rows */
1309 background: #f6f6f6;
1316 /* Rules for OpenID logo */
1319 vertical-align: text-bottom;
1323 /* Rules for rich text editors */
1325 .richtext_container {
1326 white-space: nowrap;
1329 display: inline-block;
1330 vertical-align: top;
1333 display: inline-block;
1336 border: 4px solid #eee;
1337 background-color: #eee;
1338 white-space: normal;
1341 background-image: image-url("loading.gif");
1342 background-repeat: no-repeat;
1343 background-position: center;
1353 display: inline-block;
1354 vertical-align: top;
1355 background-color: #ddd;
1357 padding: 5px 10px 10px 10px;
1365 vertical-align: top;
1367 padding: 0px 15px 0px 0px !important;
1374 padding: 0px !important;
1377 input.richtext_doedit {
1378 margin-top: 5px !important;
1379 margin-right: 10px !important;
1382 input.richtext_dopreview {
1383 margin-top: 5px !important;
1384 margin-left: 10px !important;