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;
45 /* Rules for the whole left sidebar, including the logo */
53 /* Rules for the OpenStreetMap logo in the top left corner */
76 /* Rules for the site name */
82 /* Rules for the introductory text displayed in the left sidebar to new users */
87 border-top: 1px solid #ccc;
95 * Rules for alert boxes shown in the left sidebar when important
96 * information needs to be conveyed such as when the site is
97 * undergoing maintenance.
104 border: 1px solid #ccc;
109 -moz-border-radius: 5px;
113 * Rules for notice boxes shown in the left sidebar when important, but
114 * non-critical information needs to be conveyed such as notices about
122 border: 1px solid #ccc;
127 -moz-border-radius: 5px;
130 /* Rules for the menu displayed in the left sidebar */
135 border-top: 1px solid #ccc;
136 border-bottom: 1px solid #ccc;
153 list-style-type: none;
165 /* Rules for SOTM advert */
177 * Rules for "optional boxes" which appear in the left sidebar on
178 * certain pages. Current users are the seach box on the main page
179 * and the tag cloud on the traces pages.
185 border-top: 1px solid #ccc;
195 vertical-align: bottom;
198 /* Rules for the search box */
202 vertical-align: bottom;
216 #search_field input[type="text"] {
220 #search_field input[type="submit"] {
233 /* Rules for donation request box */
239 border: 1px solid #ccc;
245 -moz-border-radius: 5px;
248 /* Rules for Creative Commons logo button */
255 /* Rules for tabbed navigation bar */
261 background: image-url('tab_bottom.gif') repeat-x bottom;
268 list-style-type: none;
271 #tabnav a, #tabnav a:link, #tabnav a:visited {
277 border: 1px solid #ccc;
278 text-decoration: none;
280 border-top-right-radius: 5px;
281 -moz-border-radius-topright: 5px;
282 border-top-left-radius: 5px;
283 -moz-border-radius-topleft: 5px;
286 #tabnav a:link.active, #tabnav a:visited.active {
287 border-bottom: 1px solid #fff;
292 #tabnav a:link:hover, #tabnav a:visited:hover {
296 #tabnav a:link.disabled,
297 #tabnav a:visited.disabled,
298 #tabnav a:link:hover.disabled,
299 #tabnav a:visited:hover.disabled {
304 /* Rules for greeting bar in the top right corner */
312 background: image-url('tab_bottom.gif') repeat-x bottom;
315 .greeting-bar-unread {
319 /* Rules for the message shown in place of the map when javascript is disabled */
327 /* Rules for OpenLayers maps */
333 .olControlAttribution {
334 bottom: 15px !important;
335 left: 0px !important;
336 right: 0px !important;
355 /* Rules for edit menu */
361 background-color: #ffffff;
362 border: 1px solid black;
373 list-style-type: none;
377 /* Rules for attribution text under the main map shown on printouts */
383 .attribution_notice {
387 /* Rules for the popout map sidebar */
392 border: 1px solid #888;
400 #sidebar #sidebar_content {
411 #sidebar .sidebar_title {
417 border-bottom: 1px solid #888;
421 /* Rules for the map key which appears in the popout sidebar */
429 #mapkey .mapkey-table {
434 #mapkey .mapkey-table-key {
437 #mapkey .mapkey-table-value {
441 /* Rules for search results which appear in the popout sidebar */
448 .search_results_heading {
451 border: 1px solid #ccc;
455 .search_results_entry {
460 .search_results_error {
462 padding: 2px 6px 0px;
466 /* Rules for data browser information which appears in the popout sidebar */
471 border: 1px solid #ccc;
480 /* Rules for export information which appears in the popout sidebar */
485 border-bottom: 1px solid #ccc;
524 /* Rules for the main content area */
544 #slim_container_content {
546 background-color: #FFFFFF;
550 -moz-border-radius: 25px;
551 border: 1px solid #e6e6e6;
567 vertical-align: middle;
571 /* Rules for the home page */
589 /* Rules for the edit page */
599 /* Rules for the changeset list shown by the history tab etc */
601 #changeset_list_container {
608 border-collapse: collapse;
619 #changeset_list .date {
623 #changeset_list .user {
627 #changeset_list .area {
631 #changeset_list .selected {
632 background-color: rgb(255, 255, 160);
633 background-color: rgba(255, 255, 85, 0.5);
636 #changeset_list_map {
642 border: solid 1px black;
645 /* Rules for the data browser */
652 table.browse_details th {
660 #browse_map #small_map {
663 border: solid 1px black;
666 #browse_map .geolink {
670 /* Rules for the trace list shown by the traces tab etc */
674 border-collapse: collapse;
678 #trace_list .trace_summary {
683 #trace_list .trace_pending {
687 #trace_list .trace_public {
691 #trace_list .trace_identifiable {
695 #trace_list .trace_trackable {
699 #trace_list .trace_private {
703 /* Rules for the user list */
711 vertical-align: middle;
723 /* Rules for the new diary entry page */
725 .diary_entry div#map {
732 /* Rules for the login page */
738 -moz-border-radius: 15px;
742 background-color: #f5f5ff;
743 border: 1px solid #f3f3ff;
745 -moz-border-radius: 15px;
752 table#login_openid_buttons {
753 padding-bottom: 10px;
756 #login_openid_buttons td {
763 #login_openid_buttons img {
767 #login_signup form.button-to div {
772 /* Rules for the account confirmation page */
774 div#contributorTerms {
775 border: 1px solid black;
782 div#slim_content div#contributorTerms {
786 div#contributorTerms p#first {
790 div#contributorTerms p#last {
794 div#contributorTerms ol {
798 div#contributorTerms img {
810 div#slim_content form#termsForm {
814 p#contributorGuidance {
815 background-color: #f5f5ff;
816 border: 1px solid #f3f3ff;
818 -moz-border-radius: 15px;
822 /* Rules for the account settings page */
825 padding-bottom: 10px;
828 #accountForm .user_map {
847 display: inline !important;
850 #accountForm input[type=submit] {
854 /* Rules for the user view */
856 .user_view .user_map {
862 .user_view .user_map p#no_home_location {
871 /* Rules for the user map */
873 .user_map .olControlPanZoomBar {
877 .user_map .olControlPanZoom {
881 /* Rules for user popups on maps */
892 .user_popup img.user_thumbnail {
896 /* Rules for message in/out box page */
899 border: 1px solid #ccc;
902 .inbox-row-unread .inbox-subject {
906 /* Rules for "flash" notice boxes shown at the top of the content area */
909 border: 1px solid red;
911 background-color: #fff0f0;
914 -moz-border-radius: 5px;
918 border: 1px solid orange;
920 background-color: #fff6f0;
923 -moz-border-radius: 5px;
927 border: 1px solid green;
929 background-color: #f0fff0;
932 -moz-border-radius: 5px;
935 /* Rules for highlighting fields with rails validation errors */
939 background-color: red;
943 /* Rules for rails validation error boxes */
947 border: 2px solid red;
949 padding-bottom: 12px;
951 background-color: #f0f0f0;
954 #errorExplanation h2 {
958 background-color: #c00;
962 #errorExplanation p {
968 #errorExplanation ul li {
973 /* Rules for forms */
989 input[type="password"],
991 border: 1px solid #888;
994 /* Rules for user images */
999 border: 1px solid black;
1002 img.user_thumbnail {
1005 border: 1px solid black;
1008 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1011 white-space: nowrap;
1014 /* Rules for geo microformats */
1017 border-bottom: none;
1020 /* Rules for RSS buttons */
1027 /* Rules for doing distinct colour of alternate table rows */
1030 background: #f6f6f6;
1037 /* Rules for OpenID logo */
1040 vertical-align: text-bottom;