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: image-url('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: image-url('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 bottom: 15px !important;
348 left: 0px !important;
349 right: 0px !important;
362 /* Rules for edit menu */
368 background-color: #ffffff;
369 border: 1px solid black;
380 list-style-type: none;
384 /* Rules for attribution text under the main map shown on printouts */
390 .attribution_notice {
394 /* Rules for the popout map sidebar */
399 border: 1px solid black;
407 #sidebar #sidebar_content {
418 #sidebar .sidebar_title {
424 border-bottom: 1px solid black;
428 /* Rules for the map key which appears in the popout sidebar */
436 #mapkey .mapkey-table {
441 #mapkey .mapkey-table-key {
444 #mapkey .mapkey-table-value {
448 /* Rules for search results which appear in the popout sidebar */
455 .search_results_heading {
458 border: 1px solid #ccc;
462 .search_results_entry {
467 .search_results_error {
469 padding: 2px 6px 0px;
473 /* Rules for data browser information which appears in the popout sidebar */
478 border: 1px solid #ccc;
487 /* Rules for export information which appears in the popout sidebar */
492 border: 1px solid #ccc;
531 /* Rules for the main content area */
545 #slim_container_content {
547 background-color: #FFFFFF;
551 -moz-border-radius: 25px;
552 border: 1px solid #e6e6e6;
568 vertical-align: middle;
572 /* Rules for the home page */
590 /* Rules for the edit page */
600 /* Rules for the changeset list shown by the history tab etc */
602 #changeset_list_container {
609 border-collapse: collapse;
620 #changeset_list .date {
624 #changeset_list .user {
628 #changeset_list .area {
632 #changeset_list .selected {
633 background-color: rgb(255, 255, 160);
634 background-color: rgba(255, 255, 85, 0.5);
637 #changeset_list_map {
643 border: solid 1px black;
646 /* Rules for the data browser */
653 table.browse_details th {
661 td.browse_comments table {
662 border-collapse: collapse;
665 td.browse_comments table td {
666 padding-bottom: 10px;
669 td.browse_comments table td span.by {
678 #browse_map #small_map {
681 border: solid 1px black;
684 #browse_map .geolink {
688 /* Rules for the trace list shown by the traces tab etc */
692 border-collapse: collapse;
696 #trace_list .trace_summary {
701 #trace_list .trace_pending {
705 #trace_list .trace_public {
709 #trace_list .trace_identifiable {
713 #trace_list .trace_trackable {
717 #trace_list .trace_private {
721 /* Rules for the user list */
729 vertical-align: middle;
741 /* Rules for the new diary entry page */
743 .diary_entry div#map {
750 /* Rules for the login page */
756 -moz-border-radius: 15px;
760 background-color: #f5f5ff;
761 border: 1px solid #f3f3ff;
763 -moz-border-radius: 15px;
770 table#login_openid_buttons {
771 padding-bottom: 10px;
774 #login_openid_buttons td {
781 #login_openid_buttons img {
785 #login_signup form.button-to div {
790 /* Rules for the account confirmation page */
792 div#contributorTerms {
793 border: 1px solid black;
800 div#slim_content div#contributorTerms {
804 div#contributorTerms p#first {
808 div#contributorTerms p#last {
812 div#contributorTerms ol {
816 div#contributorTerms img {
828 div#slim_content form#termsForm {
832 p#contributorGuidance {
833 background-color: #f5f5ff;
834 border: 1px solid #f3f3ff;
836 -moz-border-radius: 15px;
840 /* Rules for the account settings page */
843 padding-bottom: 10px;
846 #accountForm .user_map {
865 display: inline !important;
868 #accountForm input[type=submit] {
872 /* Rules for the user view */
874 .user_view .user_map {
880 .user_view .user_map p#no_home_location {
889 /* Rules for the user map */
891 .user_map .olControlPanZoomBar {
895 .user_map .olControlPanZoom {
899 /* Rules for user popups on maps */
910 .user_popup img.user_thumbnail {
914 /* Rules for message in/out box page */
917 border: 1px solid #ccc;
920 .inbox-row-unread .inbox-subject {
924 /* Rules for "flash" notice boxes shown at the top of the content area */
927 border: 1px solid red;
929 background-color: #fff0f0;
932 -moz-border-radius: 5px;
936 border: 1px solid orange;
938 background-color: #fff6f0;
941 -moz-border-radius: 5px;
945 border: 1px solid green;
947 background-color: #f0fff0;
950 -moz-border-radius: 5px;
953 /* Rules for highlighting fields with rails validation errors */
957 background-color: red;
961 /* Rules for rails validation error boxes */
965 border: 2px solid red;
967 padding-bottom: 12px;
969 background-color: #f0f0f0;
972 #errorExplanation h2 {
976 background-color: #c00;
980 #errorExplanation p {
986 #errorExplanation ul li {
991 /* Rules for forms */
1002 input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea {
1003 border: 1px solid black;
1006 input[type="submit"] {
1007 border: 1px solid black;
1010 /* Rules for user images */
1015 border: 1px solid black;
1018 img.user_thumbnail {
1021 border: 1px solid black;
1024 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
1027 white-space: nowrap;
1030 /* Rules for geo microformats */
1033 border-bottom: none;
1036 /* Rules for RSS buttons */
1043 /* Rules for doing distinct colour of alternate table rows */
1046 background: #f6f6f6;
1053 /* Rules for OpenID logo */
1056 vertical-align: text-bottom;