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;
93 * Rules for alert boxes shown in the left sidebar when important
94 * information needs to be conveyed such as when the site is
95 * undergoing maintenance.
102 border: 1px solid #ccc;
107 -moz-border-radius: 5px;
111 * Rules for notice boxes shown in the left sidebar when important, but
112 * non-critical information needs to be conveyed such as notices about
120 border: 1px solid #ccc;
125 -moz-border-radius: 5px;
128 /* Rules for the menu displayed in the left sidebar */
135 border: 1px solid #ccc;
141 -moz-border-radius: 5px;
155 list-style-type: none;
167 /* Rules for SOTM advert */
179 * Rules for "optional boxes" which appear in the left sidebar on
180 * certain pages. Current users are the seach box on the main page
181 * and the tag cloud on the traces pages.
189 border: 1px solid #ccc;
194 -moz-border-radius: 5px;
202 vertical-align: bottom;
205 /* Rules for the search box */
209 vertical-align: bottom;
223 #search_field input[type="text"] {
227 #search_field input[type="submit"] {
240 /* Rules for donation request box */
246 border: 1px solid #ccc;
252 -moz-border-radius: 5px;
255 /* Rules for Creative Commons logo button */
262 /* Rules for tabbed navigation bar */
269 background: url('../images/tab_bottom.gif') repeat-x bottom;
277 list-style-type: none;
280 #tabnav a, #tabnav a:link, #tabnav a:visited
287 border: 1px solid #ccc;
288 text-decoration: none;
290 border-top-right-radius: 5px;
291 -moz-border-radius-topright: 5px;
292 border-top-left-radius: 5px;
293 -moz-border-radius-topleft: 5px;
296 #tabnav a:link.active, #tabnav a:visited.active
298 border-bottom: 1px solid #fff;
303 #tabnav a:link:hover, #tabnav a:visited:hover
308 #tabnav a:link.disabled, #tabnav a:visited.disabled,
309 #tabnav a:link:hover.disabled, #tabnav a:visited:hover.disabled
315 /* Rules for greeting bar in the top right corner */
323 background: url('../images/tab_bottom.gif') repeat-x bottom;
326 .greeting-bar-unread {
330 /* Rules for the message shown in place of the map when javascript is disabled */
338 /* Rules for OpenLayers maps */
341 border: 1px solid black;
346 .olControlAttribution {
347 display: none !important;
359 /* Rules for edit menu */
365 background-color: #ffffff;
366 border: 1px solid black;
377 list-style-type: none;
380 /* Rules for attribution text under the main map shown on printouts */
386 .attribution_notice {
390 /* Rules for the popout map sidebar */
395 border: 1px solid black;
403 #sidebar #sidebar_content {
414 #sidebar .sidebar_title {
420 border-bottom: 1px solid black;
424 /* Rules for the map key which appears in the popout sidebar */
432 #mapkey .mapkey-table {
437 #mapkey .mapkey-table-key {
440 #mapkey .mapkey-table-value {
444 /* Rules for search results which appear in the popout sidebar */
451 .search_results_heading {
454 border: 1px solid #ccc;
458 .search_results_entry {
463 .search_results_error {
465 padding: 2px 6px 0px;
469 /* Rules for data browser information which appears in the popout sidebar */
474 border: 1px solid #ccc;
483 /* Rules for export information which appears in the popout sidebar */
488 border: 1px solid #ccc;
527 /* Rules for the main content area */
541 #slim_container_content {
543 background-color: #FFFFFF;
547 -moz-border-radius: 25px;
548 border: 1px solid #e6e6e6;
564 vertical-align: middle;
568 /* Rules for the home page */
578 /* Rules for the edit page */
588 /* Rules for the changeset list shown by the history tab etc */
590 #changeset_list_container {
597 border-collapse: collapse;
608 #changeset_list .date {
612 #changeset_list .user {
616 #changeset_list .area {
620 #changeset_list .selected {
621 background-color: rgb(255, 255, 160);
622 background-color: rgba(255, 255, 85, 0.5);
625 #changeset_list_map {
631 border: solid 1px black;
634 /* Rules for the data browser */
641 table.browse_details th {
649 #browse_map #small_map {
652 border: solid 1px black;
655 /* Rules for the trace list shown by the traces tab etc */
659 border-collapse: collapse;
663 #trace_list .trace_summary {
668 #trace_list .trace_pending {
672 #trace_list .trace_public {
676 #trace_list .trace_identifiable {
680 #trace_list .trace_trackable {
684 #trace_list .trace_private {
688 /* Rules for the user list */
696 vertical-align: middle;
708 /* Rules for the new diary entry page */
710 .diary_entry_new div#map {
717 /* Rules for the login page */
723 -moz-border-radius: 15px;
727 background-color: #f5f5ff;
728 border: 1px solid #f3f3ff;
730 -moz-border-radius: 15px;
737 table#login_openid_buttons {
738 padding-bottom: 10px;
741 #login_openid_buttons td {
748 #login_openid_buttons img {
752 #login_signup form.button-to div {
757 /* Rules for the account confirmation page */
759 div#contributorTerms {
760 border: 1px solid black;
767 div#slim_content div#contributorTerms {
771 div#contributorTerms p#first {
775 div#contributorTerms p#last {
779 div#contributorTerms ol {
783 div#contributorTerms img {
795 div#slim_content form#termsForm {
799 p#contributorGuidance {
800 background-color: #f5f5ff;
801 border: 1px solid #f3f3ff;
803 -moz-border-radius: 15px;
807 /* Rules for the account settings page */
810 padding-bottom: 10px;
813 #accountForm .user_map {
832 display: inline !important;
835 #accountForm input[type=submit] {
839 /* Rules for the user view */
841 .user_view .user_map {
847 .user_view .user_map p {
856 /* Rules for the user map */
858 .user_map .olControlPanZoomBar {
862 .user_map .olControlPanZoom {
866 /* Rules for user popups on maps */
877 .user_popup img.user_thumbnail {
881 /* Rules for message in/out box page */
884 border: 1px solid #ccc;
887 .inbox-row-unread .inbox-subject {
891 /* Rules for "flash" notice boxes shown at the top of the content area */
894 border: 1px solid red;
896 background-color: #fff0f0;
899 -moz-border-radius: 5px;
903 border: 1px solid orange;
905 background-color: #fff6f0;
908 -moz-border-radius: 5px;
912 border: 1px solid green;
914 background-color: #f0fff0;
917 -moz-border-radius: 5px;
920 /* Rules for highlighting fields with rails validation errors */
924 background-color: red;
928 /* Rules for rails validation error boxes */
932 border: 2px solid red;
934 padding-bottom: 12px;
936 background-color: #f0f0f0;
939 #errorExplanation h2 {
943 background-color: #c00;
947 #errorExplanation p {
953 #errorExplanation ul li {
958 /* Rules for forms */
969 input[type="text"], input[type="password"], textarea {
970 border: 1px solid black;
973 input[type="submit"] {
974 border: 1px solid black;
977 /* Rules for user images */
982 border: 1px solid black;
988 border: 1px solid black;
991 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
997 /* Rules for geo microformats */
1000 border-bottom: none;
1003 /* Rules for RSS buttons */
1010 /* Rules for doing distinct colour of alternate table rows */
1013 background: #f6f6f6;
1020 /* Rules for OpenID logo */
1023 vertical-align: text-bottom;