1 /* Styles common to large and small screens */
 
   3 /* Minimal CSS reset */
 
   5 html, body, ul, ol, li, form, fieldset, legend, h1, h2, h3, h4, h5, h6, p {
 
  12 fieldset,img { border: 0; }
 
  14 legend { color: #000; }
 
  16 sup { vertical-align: text-top; }
 
  18 sub { vertical-align: text-bottom; }
 
  21   border-collapse: collapse;
 
  25 li { list-style: none; }
 
  30 body { font: 14px/20px "Helvetica Neue",Arial,sans-serif; }
 
  33   border-bottom: .1em dotted;
 
  37 /* Micro Clearfix | Details: http://nicolasgallagher.com/micro-clearfix-hack/ */
 
  49 /* Default rules for the body of every page */
 
  52   font-family: 'Helvetica Neue',Arial,sans-serif;
 
  56   background-color: #fff;
 
  63   background-color: #f0f0f0;
 
 123   vertical-align: middle;
 
 127 /* Rules for links */
 
 131   text-decoration: none;
 
 133     text-decoration: underline;
 
 137 /* Rules for horizontal lines */
 
 141   background-color: #ccc;
 
 146 /* General styles for tables */
 
 161     vertical-align: middle;
 
 165 /* Rules for the whole left sidebar, including the logo */
 
 174   border-right: 1px solid #ccc;
 
 177 /* Rules for the OpenStreetMap logo in the top left corner */
 
 201 /* Rules for the site name */
 
 207 /* Rules for the introductory text displayed in the left sidebar to new users */
 
 217 .sidebar-copy.intro {
 
 219   border-top: 1px solid #ccc;
 
 223  * Rules for alert boxes shown in the left sidebar when important
 
 224  * information needs to be conveyed such as when the site is
 
 225  * undergoing maintenance.
 
 230   border-top: 1px solid #ccc;
 
 242  * Rules for notice boxes shown in the left sidebar when important, but
 
 243  * non-critical information needs to be conveyed such as notices about
 
 249   border-top: 1px solid #ccc;
 
 259 /* Rules for the menu displayed in the left sidebar */
 
 267   list-style-type: none;
 
 268   border-bottom: 1px solid #ccc;
 
 269   border-top: 1px solid #ccc;
 
 282   list-style-type: none;
 
 288   padding: 5px 0 5px 0;
 
 293 .left_menu li:last-child h4 {
 
 297 /* Rules for SOTM advert */
 
 312  * Rules for "optional boxes" which appear in the left sidebar on
 
 313  * certain pages. Current users are the seach box on the main page
 
 314  * and the tag cloud on the traces pages.
 
 324 /* Rules for the search box */
 
 334 #search_field input[type="text"] {
 
 340   padding: 2px 0px 2px 5px;
 
 341   box-shadow: inset #DDD 0px 1px 3px;
 
 342   box-sizing: border-box;
 
 343   -webkit-box-sizing: border-box;
 
 344   -moz-box-sizing: border-box;
 
 345   -ms-box-sizing: border-box;
 
 348 #search_field input[type="text"]:focus {
 
 350   border: 1px solid #000;
 
 353 #search_field input[type="submit"] {
 
 359   text-indent: -1000px;
 
 361   background: image-url("sprite.png") 0 0 no-repeat;
 
 372 /* Utility for de-emphasizing content */
 
 381 /* Rules for donation request box */
 
 388   border: 1px solid #AED1A0;
 
 394   -moz-border-radius: 2px;
 
 396   margin: 10px 10px 0px 10px;
 
 401   text-decoration: none;
 
 409 .donate .donate-icon {
 
 413   background: image-url("sprite.png") 0 -30px no-repeat;
 
 419 /* Rules for Creative Commons logo button */
 
 426 /* Rules for tabbed navigation bar */
 
 432   border-bottom: 1px solid #ccc;
 
 438 .site-index #top-bar,
 
 439 .site-export #top-bar {
 
 455 #tabnav a, #tabnav a:link, #tabnav a:visited {
 
 460   text-decoration: none;
 
 464   -webkit-transition: color 200ms ease-in;
 
 465      -moz-transition: color 200ms ease-in;
 
 466        -o-transition: color 200ms ease-in;
 
 467           transition: color 200ms ease-in;
 
 470 .site-index #tabnav a#viewanchor,
 
 471 .site-edit #tabnav a#editanchor,
 
 472 .changeset_list #tabnav a#historyanchor,
 
 473 .site-export #tabnav a#exportanchor {
 
 474   border-bottom: 1px solid #aaa;
 
 479 #tabnav a:link:hover, #tabnav a:visited:hover {
 
 480   text-decoration: underline;
 
 483 #tabnav a:link.disabled,
 
 484 #tabnav a:visited.disabled,
 
 485 #tabnav a:link:hover.disabled,
 
 486 #tabnav a:visited:hover.disabled {
 
 491 #tabnav a:link.disabled:hover,
 
 492 #tabnav a:visited.disabled:hover,
 
 493 #tabnav a:link:hover.disabled:hover,
 
 494 #tabnav a:visited:hover.disabled:hover {
 
 495   text-decoration: none;
 
 498 /* Utility for styling notification numbers */
 
 509 /* Rules for greeting bar in the top right corner */
 
 516 .greeting-bar-unread {
 
 520 /* Rules for the message shown in place of the map when javascript is disabled */
 
 529 /* Rules for Leaflet maps */
 
 540 .site-index .leaflet-top,
 
 541 .site-export .leaflet-top {
 
 542   top: 10px !important;
 
 544     margin-top: 0px !important;
 
 548 .site-index #map .olControlScaleLine,
 
 549 .site-export #map .olControlScaleLine {
 
 550   left: 10px !important;
 
 553 /* Rules for edit menu */
 
 558   display: inline-block;
 
 560     text-decoration: none !important;
 
 568   background-color: #ffffff;
 
 569   border: 1px solid #cccccc;
 
 579   border-top: 1px solid #eee;
 
 583 /* Rules for attribution text under the main map shown on printouts */
 
 589 .attribution_license,
 
 590 .attribution_project {
 
 594 .attribution_notice {
 
 598 /* Rules for the popout map sidebar */
 
 607   border-right: 1px solid #ccc;
 
 614     border-bottom: 1px solid #ccc;
 
 644     padding: 0 20px 10px 20px;
 
 647     border-bottom: 1px solid #ddd;
 
 651 /* Rules for the map key which appears in the popout sidebar */
 
 657 #mapkey .mapkey-table-key img {
 
 664   padding: 0 5px 5px 5px;
 
 667 /* Rules for search results which appear in the popout sidebar */
 
 674 .search_results_entry {
 
 678 .search_results_entry .search_searching {
 
 685 ul.results-list li { border-bottom: 1px solid #ccc; }
 
 687 .search_results_error {
 
 691 /* Rules for data browser information which appears in the popout sidebar */
 
 695   .browse_show_list.button {
 
 720 /* Rules for export information which appears in the popout sidebar */
 
 726 .export_area_inputs {
 
 734 .export_details input[type="text"]#export_html_text {
 
 738 #sidebar #marker_inputs li:last-child {
 
 753 /* Rules for the main content area */
 
 761 .site-index #content,
 
 762 .site-export #content {
 
 765   top: 30px; bottom: 0;
 
 766   left: 185px; right: 0;
 
 767   border-left: 1px solid #ccc;
 
 772   border-left: 1px solid #ccc;
 
 776 .site-edit #content {
 
 784 #slim_container_content {
 
 786   background-color: #FFFFFF;
 
 790   -moz-border-radius: 25px;
 
 791   border: 1px solid #e6e6e6;
 
 808   vertical-align: middle;
 
 830 /* Rules for small maps in content areas */
 
 836   border: 1px solid #ccc;
 
 841 .content_map #small_map {
 
 847 /* Rules for the home page */
 
 858 /* Rules for the edit page */
 
 869 /* Rules for the changeset list shown by the history tab etc */
 
 876     border-top: 1px solid #ccc;
 
 878       border-bottom: 1px solid #ccc;
 
 882     background-color: rgb(255, 255, 160);
 
 886     border-left: 1px solid #ccc;
 
 892 #changeset_list_map {
 
 900   border: 1px solid #ccc;
 
 903 /* Rules for the data browser */
 
 906   border-top: 1px solid #ccc;
 
 916     margin-left: 33.3333%;
 
 930     text-overflow: ellipsis;
 
 941 #browse_map .geolink {
 
 945 #browse_map .secondary-actions {
 
 949 /* Rules for the trace list shown by the traces tab etc */
 
 957 #trace_list .trace_summary {
 
 962 #trace_list .trace_pending {
 
 966 #trace_list .trace_public {
 
 970 #trace_list .trace_identifiable {
 
 974 #trace_list .trace_trackable {
 
 978 #trace_list .trace_private {
 
 982 /* Rules for the user profile page */
 
 986   .userinformation-inner {
 
1001 .admin-user-info small {
 
1002   margin-bottom: 10px;
 
1008   border-bottom: 1px solid #ccc;
 
1009   padding-bottom: 20px;
 
1012     margin-bottom: 10px;
 
1021 .activity-details p {
 
1026 #friends-container .contact-activity ul {
 
1030 .user-view p#no_home_location {
 
1034 .user-view .user_thumbnail {
 
1039 /* Rules for the user map */
 
1041 .content_map .leaflet-popup-content {
 
1046 .content_map .leaflet-popup-content-wrapper {
 
1047 -webkit-border-radius: 4px;
 
1051 /* Rules for user popups on maps */
 
1059   padding-bottom: 3px;
 
1066 .user_popup img.user_thumbnail {
 
1071 /* Rules for user popups on maps */
 
1079 /* Rules for the user list */
 
1087   vertical-align: middle;
 
1095 #user_list_actions {
 
1100 /* Rules for the diary list page */
 
1102 .diary_entry-list img.user_thumbnail {
 
1110   border-top: 1px solid #ccc;
 
1126     margin-bottom: 20px;
 
1134     list-style: decimal;
 
1136   ul.secondary-actions { display: inline-block;}
 
1139 .content-heading .hide_unless_logged_in { // hacky selector, better to just add a new class to this div
 
1144   margin-bottom: 20px;
 
1154 /* Rules for the diary entry page */
 
1161     border: 1px solid #ccc;
 
1163     margin-bottom: 20px;
 
1166     border-top: 1px solid #ccc;
 
1175       border-top: 1px solid #ccc;
 
1178       margin-bottom: 10px;
 
1188 .diary_entry-view img.user_thumbnail {
 
1192 /* Rules for the login page */
 
1194 #login_openid_buttons li {
 
1199 /* Rules for the account confirmation page */
 
1201 div#contributorTerms {
 
1202   border: 1px solid #ccc;
 
1204   margin-bottom: 20px;
 
1209 div#contributorTerms p#last {
 
1213 div#contributorTerms ol {
 
1217 div#contributorTerms img {
 
1219   margin: 20px auto inherit auto;
 
1222 form#termsForm div#buttons {
 
1226 form#termsForm input#agree {
 
1230 div#slim_content form#termsForm {
 
1234 p#contributorGuidance {
 
1235   background-color: #f4f4ff;
 
1237   -moz-border-radius: 3px;
 
1242 /* Rules for the account settings page */
 
1249   padding-bottom: 10px;
 
1252 #accountForm .user_map {
 
1256   border: 1px solid #ccc;
 
1259 .accountImage-options {
 
1261   display: inline-block;
 
1273   display: inline !important;
 
1276 #accountForm input[type=submit] {
 
1280 .content_map.settings_map {
 
1285 /* Rules for message in/out box page */
 
1289   border: 1px solid #ddd;
 
1292 .messages tbody tr {
 
1293   border-top: 1px solid #ccc;
 
1296 .messages .inbox-row {
 
1297   background: #f8f8ff;
 
1300 .messages .inbox-row-unread {
 
1313 .inbox-row .inbox-mark-read {
 
1318   margin-bottom: 20px;
 
1319   padding: 5px 0px 4px 0px;
 
1320   border-bottom: 1px solid #ccc;
 
1324 .info-line form div {
 
1328 .info-line .user_thumbnail_tiny {
 
1329   vertical-align: middle;
 
1332 .inbox-row-unread .inbox-mark-unread {
 
1336 /* Rules for "flash" notice boxes shown at the top of the content area */
 
1341     background-color: #ff7070;
 
1344     background-color: #fff6f0;
 
1347     background-color: #CBEEA7;
 
1351 /* Rules for highlighting fields with rails validation errors */
 
1353 .field_with_errors {
 
1355   background-color: #ff7070;
 
1359 /* Rules for rails validation error boxes */
 
1363   border: 2px solid #ff7070;
 
1365   margin-bottom: 20px;
 
1366   background-color: #f0f0f0;
 
1369 #errorExplanation h2 {
 
1371   padding: 5px 5px 5px 15px;
 
1374   background-color: #c00;
 
1379 #errorExplanation p {
 
1385 #errorExplanation ul li {
 
1390 /* Rules for forms */
 
1397   vertical-align: top;
 
1413 input[type="email"],
 
1415 input[type="password"],
 
1417   border: 1px solid #ccc;
 
1420 /* Rules for user images */
 
1425   border: 1px solid #ccc;
 
1426   margin-bottom: 20px;
 
1431 img.user_thumbnail {
 
1434   border: 1px solid #ccc;
 
1438 img.user_thumbnail_tiny {
 
1441   border: 1px solid #ccc;
 
1444 /* Rule for "nowrap" class that can be applied to anything to stop wrapping */
 
1447   white-space: nowrap;
 
1450 /* Rules for geo microformats */
 
1453   border-bottom: none;
 
1456 /* Rules for RSS buttons */
 
1463 /* General styles for action lists / subnavs / pager navs */
 
1465 ul.secondary-actions {
 
1470     display: inline-block;
 
1471     margin-bottom: 20px;
 
1478     border-left: 1px solid #ccc;
 
1487   .hide_unless_logged_in li,
 
1488   .hide_unless_administrator li {
 
1489     border-left: 1px solid #ccc;
 
1492   .hidden:first-child li,
 
1493   .hide_unless_logged_in:first-child li,
 
1494   .hide_unless_administrator:first-child li {
 
1500 /* Utility for managing inner content areas */
 
1502 .inner22 { padding: 20px;}
 
1504 .inner12 { padding: 10px 20px;}
 
1506 .inner02 { padding: 0 20px;}
 
1508 /* Utility for general button styles */
 
1514   margin-bottom: 10px;
 
1516   background: #7092FF;
 
1519   -moz-border-radius: 2px;
 
1522     text-decoration: none;
 
1530   background-color: #cbeea7;
 
1532     background-color: #9ed485;
 
1535 /* Rules for doing distinct colour of alternate table rows */
 
1539   background: #F4F4FF;
 
1547 /* Rules for OpenID logo */
 
1550   vertical-align: text-bottom;
 
1554 /* Rules for rich text editors */
 
1556 .richtext_container {
 
1557   white-space: nowrap;
 
1559     display: inline-block;
 
1560     vertical-align: top;
 
1562       display: inline-block;
 
1564       background-color: #f4f4ff;
 
1565       white-space: normal;
 
1567         background-image: image-url("loading.gif");
 
1568         background-repeat: no-repeat;
 
1569         background-position: center;
 
1577     display: inline-block;
 
1578     vertical-align: top;
 
1580     background-color: #f8f8ff;
 
1586       vertical-align: top;
 
1588       padding: 0px 15px 0px 0px !important;
 
1597       padding: 0px !important;
 
1599     input.richtext_doedit {
 
1600       margin-top: 5px !important;
 
1601       margin-right: 10px !important;
 
1603     input.richtext_dopreview {
 
1604       margin-top: 5px !important;
 
1605       margin-left: 10px !important;