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 */
57 /* Rules for the OpenStreetMap logo in the top left corner */
65 margin: 25px auto 5px auto;
85 /* Rules for the site name */
95 /* Rules for the introductory text displayed in the left sidebar to new users */
105 .sidebar-copy.intro {
107 border-top: 1px solid #ccc;
111 * Rules for alert boxes shown in the left sidebar when important
112 * information needs to be conveyed such as when the site is
113 * undergoing maintenance.
117 padding: 4px 5px 4px 5px;
118 border-top: 1px solid #ccc;
132 * Rules for notice boxes shown in the left sidebar when important, but
133 * non-critical information needs to be conveyed such as notices about
138 padding: 4px 5px 4px 5px;
139 border-top: 1px solid #ccc;
151 /* Rules for the menu displayed in the left sidebar */
158 list-style-type: none;
159 border-bottom: 1px solid #ccc;
160 border-top: 1px solid #ccc;
169 list-style-type: none;
175 padding: 5px 0 5px 0;
180 .left_menu li:last-child h4 {
184 /* Rules for SOTM advert */
199 * Rules for "optional boxes" which appear in the left sidebar on
200 * certain pages. Current users are the seach box on the main page
201 * and the tag cloud on the traces pages.
214 vertical-align: bottom;
217 /* Rules for the search box */
232 #search_field input[type="text"] {
237 box-shadow: inset #DDD 0px 1px 3px;
238 box-sizing: border-box;
239 -webkit-box-sizing: border-box;
240 -moz-box-sizing: border-box;
241 -ms-box-sizing: border-box;
244 #search_field input[type="text"]:focus {
246 border: 1px solid #000;
249 #search_field input[type="submit"] {
253 text-indent: -1000px;
255 text-transform: capitalize;
258 background: url(sprite.png);
276 /* Rules for donation request box */
282 margin: 10px 10px 0px 10px;
284 border: 1px solid #AED1A0;
290 -moz-border-radius: 2px;
296 text-decoration: none;
304 .donate .donate-icon {
310 background: url(sprite.png) 0 -30px no-repeat;
315 /* Rules for Creative Commons logo button */
322 /* Rules for tabbed navigation bar */
325 border-bottom: 1px solid #ccc;
339 list-style-type: none;
342 #tabnav a, #tabnav a:link, #tabnav a:visited {
348 text-decoration: none;
350 -webkit-transition: color 200ms ease-in;
351 -moz-transition: color 200ms ease-in;
352 -o-transition: color 200ms ease-in;
353 transition: color 200ms ease-in;
356 body.site-index #tabnav a#viewanchor,
357 body.site-edit #tabnav a#editanchor,
358 body.changeset-list #tabnav a#historyanchor,
359 body.site-export #tabnav a#exportanchor {
360 border-bottom: 1px solid #aaa;
365 #tabnav a:link:hover, #tabnav a:visited:hover {
366 text-decoration:underline;
369 #tabnav a:link.disabled,
370 #tabnav a:visited.disabled,
371 #tabnav a:link:hover.disabled,
372 #tabnav a:visited:hover.disabled {
377 #tabnav a:link.disabled:hover,
378 #tabnav a:visited.disabled:hover,
379 #tabnav a:link:hover.disabled:hover,
380 #tabnav a:visited:hover.disabled:hover {
381 text-decoration: none;
393 /* Rules for greeting bar in the top right corner */
402 .greeting-bar-unread {
406 /* Rules for the message shown in place of the map when javascript is disabled */
414 /* Rules for OpenLayers maps */
422 .olControlAttribution {
423 bottom: 15px !important;
424 left: 0px !important;
425 right: 0px !important;
444 /* Rules for edit menu */
451 text-decoration: none !important;
459 background-color: #ffffff;
460 border: 1px solid #cccccc;
472 list-style-type: none;
473 border-top: 1px solid #eee;
477 /* Rules for attribution text under the main map shown on printouts */
483 .attribution_notice {
487 /* Rules for the popout map sidebar */
499 #sidebar #sidebar_content {
510 #sidebar .sidebar_title {
512 padding: 3px 6px 4px 6px;
519 /* Rules for the map key which appears in the popout sidebar */
527 #mapkey .mapkey-table {
532 #mapkey .mapkey-table-key img {
538 #mapkey .mapkey-table-value {
542 /* Rules for search results which appear in the popout sidebar */
549 .search_results_heading {
552 border-bottom: 1px solid #ccc;
556 .search_results_entry {
561 .search_results_error {
563 padding: 2px 6px 0px;
567 /* Rules for data browser information which appears in the popout sidebar */
572 border: 1px solid #ccc;
581 /* Rules for export information which appears in the popout sidebar */
586 border-bottom: 1px solid #ccc;
625 /* Rules for the main content area */
634 .site-index #content,
636 .site-export #content {
645 #slim_container_content {
647 background-color: #FFFFFF;
651 -moz-border-radius: 25px;
652 border: 1px solid #e6e6e6;
668 vertical-align: middle;
672 /* Rules for text content pages */
678 /* Rules for the home page */
696 /* Rules for the edit page */
707 /* Rules for the changeset list shown by the history tab etc */
709 #changeset_list_container {
716 border-collapse: collapse;
727 #changeset_list .date {
731 #changeset_list .user {
735 #changeset_list .area {
739 #changeset_list .selected {
740 background-color: rgb(255, 255, 160);
741 background-color: rgba(255, 255, 85, 0.5);
744 #changeset_list_map {
750 border: solid 1px black;
753 /* Rules for the data browser */
760 table.browse_details th {
768 #browse_map #small_map {
771 border: solid 1px black;
774 #browse_map .geolink {
778 /* Rules for the trace list shown by the traces tab etc */
782 border-collapse: collapse;
786 #trace_list .trace_summary {
791 #trace_list .trace_pending {
795 #trace_list .trace_public {
799 #trace_list .trace_identifiable {
803 #trace_list .trace_trackable {
807 #trace_list .trace_private {
811 /* Rules for the user list */
819 vertical-align: middle;
831 /* Rules for the new diary entry page */
833 .diary_entry div#map {
837 border: 1px solid #ccc;
841 /* Rules for the login page */
847 -moz-border-radius: 15px;
851 background-color: #f5f5ff;
852 border: 1px solid #f3f3ff;
854 -moz-border-radius: 15px;
861 table#login_openid_buttons {
862 padding-bottom: 10px;
865 #login_openid_buttons td {
872 #login_openid_buttons img {
876 #login_signup form.button-to div {
881 /* Rules for the account confirmation page */
883 div#contributorTerms {
884 border: 1px solid black;
891 div#slim_content div#contributorTerms {
895 div#contributorTerms p#first {
899 div#contributorTerms p#last {
903 div#contributorTerms ol {
907 div#contributorTerms img {
919 div#slim_content form#termsForm {
923 p#contributorGuidance {
924 background-color: #f5f5ff;
925 border: 1px solid #f3f3ff;
927 -moz-border-radius: 15px;
931 /* Rules for the account settings page */
938 padding-bottom: 10px;
941 #accountForm .user_map {
945 border: 1px solid #ccc;
948 #accountForm td.accountImage {
955 display: inline-block;
972 display: inline !important;
975 #accountForm input[type=submit] {
979 /* Rules for the user view */
981 .user-view .user_map {
985 border: 1px solid #ccc;
988 .user-view .user_map p#no_home_location {
997 /* Rules for the user map */
999 .user_map .olControlSimplePanZoom {
1003 .user_map .olControlZoom {
1007 /* Rules for user popups on maps */
1011 padding-bottom: 3px;
1018 .user_popup img.user_thumbnail {
1022 /* Rules for message in/out box page */
1026 border-collapse: collapse;
1027 border-spacing: 0px;
1031 .messages tbody tr {
1032 border-top: 1px solid #ccc;
1035 .messages .inbox-row {
1044 .inbox-row .inbox-mark-read {
1049 border-bottom: 1px solid #ccc;
1050 padding: 5px 0px 4px 0px;
1054 .info-line form div {
1058 .info-line .user_thumbnail_tiny {
1059 vertical-align: middle;
1066 .inbox-row-unread .inbox-mark-unread {
1070 /* Rules for "flash" notice boxes shown at the top of the content area */
1073 border: 1px solid red;
1075 background-color: #fff0f0;
1076 margin-bottom: 20px;
1078 -moz-border-radius: 5px;
1082 border: 1px solid orange;
1084 background-color: #fff6f0;
1085 margin-bottom: 20px;
1087 -moz-border-radius: 5px;
1091 border: 1px solid green;
1093 background-color: #f0fff0;
1094 margin-bottom: 20px;
1096 -moz-border-radius: 5px;
1099 /* Rules for highlighting fields with rails validation errors */
1101 .field_with_errors {
1103 background-color: red;
1107 /* Rules for rails validation error boxes */
1111 border: 2px solid red;
1113 padding-bottom: 12px;
1114 margin-bottom: 20px;
1115 background-color: #f0f0f0;
1118 #errorExplanation h2 {
1122 background-color: #c00;
1126 #errorExplanation p {
1132 #errorExplanation ul li {
1137 /* Rules for forms */
1140 vertical-align: top;
1151 input[type="email"],
1153 input[type="password"],
1155 border: 1px solid #ccc;
1158 /* Rules for user images */
1163 border: 1px solid #ccc;
1166 img.user_thumbnail {
1169 border: 1px solid #ccc;
1172 img.user_thumbnail_tiny {
1175 border: 1px solid #ccc;
1178 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1181 white-space: nowrap;
1184 /* Rules for geo microformats */
1187 border-bottom: none;
1190 /* Rules for RSS buttons */
1197 /* Rules for doing distinct colour of alternate table rows */
1200 background: #f6f6f6;
1207 /* Rules for OpenID logo */
1210 vertical-align: text-bottom;
1214 /* Rules for rich text editors */
1216 .richtext_container {
1217 white-space: nowrap;
1220 display: inline-block;
1221 vertical-align: top;
1224 display: inline-block;
1227 border: 4px solid #eee;
1228 background-color: #eee;
1229 white-space: normal;
1232 background-image: image-url("loading.gif");
1233 background-repeat: no-repeat;
1234 background-position: center;
1244 display: inline-block;
1245 vertical-align: top;
1246 background-color: #ddd;
1247 padding: 5px 10px 10px 10px;
1255 vertical-align: top;
1261 padding: 0px !important;
1264 input.richtext_doedit {
1265 margin-top: 5px !important;
1268 input.richtext_dopreview {
1269 margin-top: 5px !important;