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;
16 background-color: #f0f0f0;
23 text-decoration: none;
27 text-decoration: underline;
30 /* Rules for horizontal lines */
34 background-color: #ccc;
39 /* Default rules for headings */
47 /* Rules for the whole left sidebar, including the logo */
58 /* Rules for the OpenStreetMap logo in the top left corner */
86 /* Rules for the site name */
96 /* Rules for the introductory text displayed in the left sidebar to new users */
106 .sidebar-copy.intro {
108 border-top: 1px solid #ccc;
112 * Rules for alert boxes shown in the left sidebar when important
113 * information needs to be conveyed such as when the site is
114 * undergoing maintenance.
118 padding: 4px 5px 4px 5px;
119 border-top: 1px solid #ccc;
133 * Rules for notice boxes shown in the left sidebar when important, but
134 * non-critical information needs to be conveyed such as notices about
139 padding: 4px 5px 4px 5px;
140 border-top: 1px solid #ccc;
152 /* Rules for the menu displayed in the left sidebar */
159 list-style-type: none;
160 border-bottom: 1px solid #ccc;
161 border-top: 1px solid #ccc;
170 list-style-type: none;
176 padding: 5px 0 5px 0;
181 .left_menu li:last-child h4 {
185 /* Rules for SOTM advert */
200 * Rules for "optional boxes" which appear in the left sidebar on
201 * certain pages. Current users are the seach box on the main page
202 * and the tag cloud on the traces pages.
215 vertical-align: bottom;
218 /* Rules for the search box */
233 #search_field input[type="text"] {
238 box-shadow: inset #DDD 0px 1px 3px;
239 box-sizing: border-box;
240 -webkit-box-sizing: border-box;
241 -moz-box-sizing: border-box;
242 -ms-box-sizing: border-box;
245 #search_field input[type="text"]:focus {
247 border: 1px solid #000;
250 #search_field input[type="submit"] {
254 text-indent: -1000px;
256 text-transform: capitalize;
259 background: image-url("sprite.png");
277 /* Rules for donation request box */
283 margin: 10px 10px 0px 10px;
285 border: 1px solid #AED1A0;
291 -moz-border-radius: 2px;
297 text-decoration: none;
305 .donate .donate-icon {
311 background: image-url("sprite.png") 0 -30px no-repeat;
316 /* Rules for Creative Commons logo button */
323 /* Rules for tabbed navigation bar */
329 border-bottom: 1px solid #ccc;
343 list-style-type: none;
346 #tabnav a, #tabnav a:link, #tabnav a:visited {
352 text-decoration: none;
354 -webkit-transition: color 200ms ease-in;
355 -moz-transition: color 200ms ease-in;
356 -o-transition: color 200ms ease-in;
357 transition: color 200ms ease-in;
360 body.site-index #tabnav a#viewanchor,
361 body.site-edit #tabnav a#editanchor,
362 body.changeset-list #tabnav a#historyanchor,
363 body.site-export #tabnav a#exportanchor {
364 border-bottom: 1px solid #aaa;
369 #tabnav a:link:hover, #tabnav a:visited:hover {
370 text-decoration:underline;
373 #tabnav a:link.disabled,
374 #tabnav a:visited.disabled,
375 #tabnav a:link:hover.disabled,
376 #tabnav a:visited:hover.disabled {
381 #tabnav a:link.disabled:hover,
382 #tabnav a:visited.disabled:hover,
383 #tabnav a:link:hover.disabled:hover,
384 #tabnav a:visited:hover.disabled:hover {
385 text-decoration: none;
397 /* Rules for greeting bar in the top right corner */
406 .greeting-bar-unread {
410 /* Rules for the message shown in place of the map when javascript is disabled */
418 /* Rules for Leaflet maps */
441 .site-index .leaflet-top,
442 .site-export .leaflet-top {
443 margin-top: 40px !important;
446 /* Rules for edit menu */
453 text-decoration: none !important;
461 background-color: #ffffff;
462 border: 1px solid #cccccc;
474 list-style-type: none;
475 border-top: 1px solid #eee;
479 /* Rules for attribution text under the main map shown on printouts */
485 .attribution_notice {
489 /* Rules for the popout map sidebar */
494 margin: 30px 0px 0px 0px;
501 #sidebar #sidebar_content {
512 #sidebar .sidebar_title {
514 padding: 3px 6px 4px 6px;
521 /* Rules for the map key which appears in the popout sidebar */
529 #mapkey .mapkey-table {
534 #mapkey .mapkey-table-key img {
540 #mapkey .mapkey-table-value {
544 /* Rules for search results which appear in the popout sidebar */
551 .search_results_heading {
554 border-bottom: 1px solid #ccc;
558 .search_results_entry {
563 .search_results_error {
565 padding: 2px 6px 0px;
569 /* Rules for data browser information which appears in the popout sidebar */
574 border: 1px solid #ccc;
583 /* Rules for export information which appears in the popout sidebar */
588 border-bottom: 1px solid #ccc;
627 /* Rules for the main content area */
631 margin: 30px 0px 0px 0px;
635 .site-index #content,
636 .site-export #content {
646 .site-edit #content {
654 #slim_container_content {
656 background-color: #FFFFFF;
660 -moz-border-radius: 25px;
661 border: 1px solid #e6e6e6;
677 vertical-align: middle;
681 /* Rules for text content pages */
687 /* Rules for the home page */
705 /* Rules for the edit page */
716 /* Rules for the changeset list shown by the history tab etc */
718 #changeset_list_container {
725 border-collapse: collapse;
736 #changeset_list .date {
740 #changeset_list .user {
744 #changeset_list .area {
748 #changeset_list .selected {
749 background-color: rgb(255, 255, 160);
750 background-color: rgba(255, 255, 85, 0.5);
753 #changeset_list_map {
759 border: solid 1px black;
762 /* Rules for the data browser */
769 table.browse_details th {
777 #browse_map #small_map {
780 border: solid 1px black;
783 #browse_map .geolink {
787 /* Rules for the trace list shown by the traces tab etc */
791 border-collapse: collapse;
795 #trace_list .trace_summary {
800 #trace_list .trace_pending {
804 #trace_list .trace_public {
808 #trace_list .trace_identifiable {
812 #trace_list .trace_trackable {
816 #trace_list .trace_private {
820 /* Rules for the user list */
828 vertical-align: middle;
840 /* Rules for the new diary entry page */
842 .diary_entry div#map {
846 border: 1px solid #ccc;
850 /* Rules for the login page */
856 -moz-border-radius: 15px;
860 background-color: #f5f5ff;
861 border: 1px solid #f3f3ff;
863 -moz-border-radius: 15px;
870 table#login_openid_buttons {
871 padding-bottom: 10px;
874 #login_openid_buttons td {
881 #login_openid_buttons img {
885 #login_signup form.button-to div {
890 /* Rules for the account confirmation page */
892 div#contributorTerms {
893 border: 1px solid black;
900 div#slim_content div#contributorTerms {
904 div#contributorTerms p#first {
908 div#contributorTerms p#last {
912 div#contributorTerms ol {
916 div#contributorTerms img {
928 div#slim_content form#termsForm {
932 p#contributorGuidance {
933 background-color: #f5f5ff;
934 border: 1px solid #f3f3ff;
936 -moz-border-radius: 15px;
940 /* Rules for the account settings page */
947 padding-bottom: 10px;
950 #accountForm .user_map {
954 border: 1px solid #ccc;
957 #accountForm td.accountImage {
964 display: inline-block;
981 display: inline !important;
984 #accountForm input[type=submit] {
988 /* Rules for the user view */
990 .user-view .user_map {
994 border: 1px solid #ccc;
997 .user-view .user_map p#no_home_location {
1006 /* Rules for the user map */
1008 .user_map .leaflet-control-pan,
1009 .user_map .leaflet-control-zoomslider {
1013 .user_map .leaflet-control-zoom {
1017 /* Rules for user popups on maps */
1025 padding-bottom: 3px;
1032 .user_popup img.user_thumbnail {
1036 /* Rules for message in/out box page */
1040 border-collapse: collapse;
1041 border-spacing: 0px;
1045 .messages tbody tr {
1046 border-top: 1px solid #ccc;
1049 .messages .inbox-row {
1058 .inbox-row .inbox-mark-read {
1063 border-bottom: 1px solid #ccc;
1064 padding: 5px 0px 4px 0px;
1068 .info-line form div {
1072 .info-line .user_thumbnail_tiny {
1073 vertical-align: middle;
1080 .inbox-row-unread .inbox-mark-unread {
1084 /* Rules for "flash" notice boxes shown at the top of the content area */
1087 border: 1px solid red;
1089 background-color: #fff0f0;
1090 margin-bottom: 20px;
1092 -moz-border-radius: 5px;
1096 border: 1px solid orange;
1098 background-color: #fff6f0;
1099 margin-bottom: 20px;
1101 -moz-border-radius: 5px;
1105 border: 1px solid green;
1107 background-color: #f0fff0;
1108 margin-bottom: 20px;
1110 -moz-border-radius: 5px;
1113 /* Rules for highlighting fields with rails validation errors */
1115 .field_with_errors {
1117 background-color: red;
1121 /* Rules for rails validation error boxes */
1125 border: 2px solid red;
1127 padding-bottom: 12px;
1128 margin-bottom: 20px;
1129 background-color: #f0f0f0;
1132 #errorExplanation h2 {
1136 background-color: #c00;
1140 #errorExplanation p {
1146 #errorExplanation ul li {
1151 /* Rules for forms */
1154 vertical-align: top;
1165 input[type="email"],
1167 input[type="password"],
1169 border: 1px solid #ccc;
1172 /* Rules for user images */
1177 border: 1px solid #ccc;
1180 img.user_thumbnail {
1183 border: 1px solid #ccc;
1186 img.user_thumbnail_tiny {
1189 border: 1px solid #ccc;
1192 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1195 white-space: nowrap;
1198 /* Rules for geo microformats */
1201 border-bottom: none;
1204 /* Rules for RSS buttons */
1211 /* Rules for doing distinct colour of alternate table rows */
1214 background: #f6f6f6;
1221 /* Rules for OpenID logo */
1224 vertical-align: text-bottom;
1228 /* Rules for rich text editors */
1230 .richtext_container {
1231 white-space: nowrap;
1234 display: inline-block;
1235 vertical-align: top;
1238 display: inline-block;
1241 border: 4px solid #eee;
1242 background-color: #eee;
1243 white-space: normal;
1246 background-image: image-url("loading.gif");
1247 background-repeat: no-repeat;
1248 background-position: center;
1258 display: inline-block;
1259 vertical-align: top;
1260 background-color: #ddd;
1261 padding: 5px 10px 10px 10px;
1269 vertical-align: top;
1275 padding: 0px !important;
1278 input.richtext_doedit {
1279 margin-top: 5px !important;
1282 input.richtext_dopreview {
1283 margin-top: 5px !important;