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 /* Rules for user popups on maps */
1016 padding-bottom: 3px;
1023 .user_popup img.user_thumbnail {
1027 /* Rules for message in/out box page */
1031 border-collapse: collapse;
1032 border-spacing: 0px;
1036 .messages tbody tr {
1037 border-top: 1px solid #ccc;
1040 .messages .inbox-row {
1049 .inbox-row .inbox-mark-read {
1054 border-bottom: 1px solid #ccc;
1055 padding: 5px 0px 4px 0px;
1059 .info-line form div {
1063 .info-line .user_thumbnail_tiny {
1064 vertical-align: middle;
1071 .inbox-row-unread .inbox-mark-unread {
1075 /* Rules for "flash" notice boxes shown at the top of the content area */
1078 border: 1px solid red;
1080 background-color: #fff0f0;
1081 margin-bottom: 20px;
1083 -moz-border-radius: 5px;
1087 border: 1px solid orange;
1089 background-color: #fff6f0;
1090 margin-bottom: 20px;
1092 -moz-border-radius: 5px;
1096 border: 1px solid green;
1098 background-color: #f0fff0;
1099 margin-bottom: 20px;
1101 -moz-border-radius: 5px;
1104 /* Rules for highlighting fields with rails validation errors */
1106 .field_with_errors {
1108 background-color: red;
1112 /* Rules for rails validation error boxes */
1116 border: 2px solid red;
1118 padding-bottom: 12px;
1119 margin-bottom: 20px;
1120 background-color: #f0f0f0;
1123 #errorExplanation h2 {
1127 background-color: #c00;
1131 #errorExplanation p {
1137 #errorExplanation ul li {
1142 /* Rules for forms */
1145 vertical-align: top;
1156 input[type="email"],
1158 input[type="password"],
1160 border: 1px solid #ccc;
1163 /* Rules for user images */
1168 border: 1px solid #ccc;
1171 img.user_thumbnail {
1174 border: 1px solid #ccc;
1177 img.user_thumbnail_tiny {
1180 border: 1px solid #ccc;
1183 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1186 white-space: nowrap;
1189 /* Rules for geo microformats */
1192 border-bottom: none;
1195 /* Rules for RSS buttons */
1202 /* Rules for doing distinct colour of alternate table rows */
1205 background: #f6f6f6;
1212 /* Rules for OpenID logo */
1215 vertical-align: text-bottom;
1219 /* Rules for rich text editors */
1221 .richtext_container {
1222 white-space: nowrap;
1225 display: inline-block;
1226 vertical-align: top;
1229 display: inline-block;
1232 border: 4px solid #eee;
1233 background-color: #eee;
1234 white-space: normal;
1237 background-image: image-url("loading.gif");
1238 background-repeat: no-repeat;
1239 background-position: center;
1249 display: inline-block;
1250 vertical-align: top;
1251 background-color: #ddd;
1252 padding: 5px 10px 10px 10px;
1260 vertical-align: top;
1266 padding: 0px !important;
1269 input.richtext_doedit {
1270 margin-top: 5px !important;
1273 input.richtext_dopreview {
1274 margin-top: 5px !important;