1 /* Styles common to large and small screens */
3 /* Default rules for the body of every page */
6 font-family: Arial,sans-serif;
8 background-color: #fff;
14 background-color: #f0f0f0;
21 text-decoration: none;
25 text-decoration: underline;
28 /* Rules for horizontal lines */
32 background-color: #ccc;
37 /* Rules for the whole left sidebar, including the logo */
45 /* Rules for the OpenStreetMap logo in the top left corner */
54 border: 1px solid #ccd;
56 -moz-border-radius: 5px;
70 /* Rules for the site name */
76 /* Rules for the introductory text displayed in the left sidebar to new users */
82 border: 1px solid #ccc;
85 -moz-border-radius: 5px;
88 #intro p { margin: 5px; }
91 * Rules for alert boxes shown in the left sidebar when important
92 * information needs to be conveyed such as when the site is
93 * undergoing maintenance.
100 border: 1px solid #ccc;
106 -moz-border-radius: 5px;
110 * Rules for notice boxes shown in the left sidebar when important, but
111 * non-critical information needs to be conveyed such as notices about
119 border: 1px solid #ccc;
125 -moz-border-radius: 5px;
128 /* Rules for the menu displayed in the left sidebar */
135 border: 1px solid #ccc;
143 -moz-border-radius: 5px;
154 padding: 0em 0em 0em 1em;
161 list-style-type: none;
170 margin: 2px 8px 0px 0px;
177 /* Rules for SOTM advert */
189 * Rules for "optional boxes" which appear in the left sidebar on
190 * certain pages. Current users are the seach box on the main page
191 * and the tag cloud on the traces pages.
199 border: 1px solid #ccc;
206 -moz-border-radius: 5px;
214 vertical-align: bottom;
217 /* Rules for the search box */
221 vertical-align: bottom;
236 #search_field input[type="text"] {
240 #search_field input[type="submit"] {
253 /* Rules for donation request box */
259 border: 1px solid #ccc;
265 -moz-border-radius: 5px;
268 /* Rules for Creative Commons logo button */
275 /* Rules for tabbed navigation bar */
283 background: url('../images/tab_bottom.gif') repeat-x bottom;
291 list-style-type: none;
294 #tabnav a, #tabnav a:link, #tabnav a:visited
303 border: 1px solid #ccc;
304 text-decoration: none;
306 border-top-right-radius: 5px;
307 -moz-border-radius-topright: 5px;
308 border-top-left-radius: 5px;
309 -moz-border-radius-topleft: 5px;
312 #tabnav a:link.active, #tabnav a:visited.active
314 border-bottom: 1px solid #fff;
319 #tabnav a:link:hover, #tabnav a:visited:hover
324 #tabnav a:link.disabled, #tabnav a:visited.disabled,
325 #tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled
331 /* Rules for greeting bar in the top right corner */
341 background: url('../images/tab_bottom.gif') repeat-x bottom;
344 .greeting-bar-unread {
348 /* Rules for the message shown in place of the map when javascript is disabled */
357 /* Rules for OpenLayers maps */
361 border: 1px solid black;
370 .olControlAttribution {
371 display: none !important;
383 /* Rules for edit menu */
389 background-color: #ffffff;
390 border: 1px solid black;
401 list-style-type: none;
404 /* Rules for attribution text under the main map shown on printouts */
410 /* Rules for the popout map sidebar */
415 border: 1px solid black;
441 border-bottom: 1px solid black;
445 /* Rules for the map key which appears in the popout sidebar */
453 #mapkey .mapkey-table {
458 #mapkey .mapkey-table-key {
461 #mapkey .mapkey-table-value {
465 /* Rules for search results which appear in the popout sidebar */
472 .search_results_heading {
475 border: 1px solid #ccc;
479 .search_results_entry {
484 .search_results_error {
486 padding: 2px 6px 0px;
490 /* Rules for data browser information which appears in the popout sidebar */
495 border: 1px solid #ccc;
504 /* Rules for export information which appears in the popout sidebar */
509 border: 1px solid #ccc;
548 /* Rules for the main content area */
564 #slim_container_content {
566 background-color: #FFFFFF;
570 -moz-border-radius: 25px;
571 border: 1px solid #e6e6e6;
587 vertical-align: middle;
592 /* Rules for the changeset list shown by the history tab etc */
594 #changeset_list_container {
602 border-collapse: collapse;
613 #changeset_list .date {
617 #changeset_list .user {
621 #changeset_list .area {
625 #changeset_list .selected {
626 background-color: rgb(255, 255, 160);
627 background-color: rgba(255, 255, 85, 0.5);
630 #changeset_list_map {
638 border: solid 1px black;
641 /* Rules for the data browser */
650 table.browse_details th {
661 #browse_map #small_map {
664 border: solid 1px black;
667 /* Rules for the trace list shown by the traces tab etc */
672 border-collapse: collapse;
676 #trace_list .trace_summary {
681 /* Rules for the user list */
689 vertical-align: middle;
702 /* Rules for the login page */
708 -moz-border-radius: 15px;
711 #login_wrapper input[type=submit] {
716 background-color: #f5f5ff;
717 border: 1px solid #f3f3ff;
719 -moz-border-radius: 15px;
726 table#login_openid_buttons {
727 padding-bottom: 10px;
730 #login_openid_buttons td {
737 #login_openid_buttons img {
741 #login_signup form.button-to div {
746 /* Rules for the account confirmation page */
748 div#contributorTerms {
749 border: 1px solid black;
756 div#slim_content div#contributorTerms {
760 div#contributorTerms p#first {
764 div#contributorTerms p#last {
768 div#contributorTerms ol {
772 div#contributorTerms img {
784 div#slim_content form#termsForm {
788 form#termsForm div#buttons {
792 form#termsForm input#agree {
796 p#contributorGuidance {
797 background-color: #f5f5ff;
798 border: 1px solid #f3f3ff;
800 -moz-border-radius: 15px;
804 /* Rules for the account settings page */
807 padding-bottom: 10px;
823 display: inline !important;
826 /* Rules for the user map */
828 .user_map .olControlPanZoomBar {
832 .user_map .olControlPanZoom {
836 /* Rules for user popups on maps */
847 /* Rules for message in/out box page */
850 border: 1px solid #ccc;
853 .inbox-row-unread .inbox-subject {
857 /* Rules for "flash" notice boxes shown at the top of the content area */
860 border: 1px solid red;
862 background-color: #fff0f0;
865 -moz-border-radius: 5px;
869 border: 1px solid orange;
871 background-color: #fff6f0;
874 -moz-border-radius: 5px;
878 border: 1px solid green;
880 background-color: #f0fff0;
883 -moz-border-radius: 5px;
886 /* Rules for highlighting fields with rails validation errors */
890 background-color: red;
894 /* Rules for rails validation error boxes */
898 border: 2px solid red;
900 padding-bottom: 12px;
902 background-color: #f0f0f0;
905 #errorExplanation h2 {
908 padding: 5px 5px 5px 15px;
911 background-color: #c00;
915 #errorExplanation p {
921 #errorExplanation ul li {
926 /* Rules for forms */
937 input[type="text"], input[type="password"], textarea {
938 border: 1px solid black;
941 input[type="submit"] {
942 border: 1px solid black;
946 background: url('../images/openid_input.png') repeat-y left white;
950 /* Rules for user images */
955 border: 1px solid black;
961 border: 1px solid black;
964 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
970 /* Rules for geo microformats */
976 /* Rules for RSS buttons */
983 /* Rules for doing distinct colour of alternate table rows */
993 /* Rules for OpenID logo */
996 vertical-align: text-bottom;