X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bbfc65d1e1090fe62030d83c580f1d1628ac3e0f..582ab35ecd0b0cfacaedf8cbe1d6eadff302973b:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index c97870954..46f679955 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -181,6 +181,7 @@ small, aside { .icon.clipboard { background-position: -160px 0; } .icon.link { background-position: -180px 0; } .icon.close { background-position: -200px 0; } +.icon.close:hover { background-position: -200px -20px; } .icon.check { background-position: -220px 0; } .icon.note { background-position: -240px 0; } .icon.gear { background-position: -260px 0; } @@ -236,6 +237,11 @@ table { /* Rules for the header */ +#menu-icon { + display: none; + float: right; +} + header { height: $headerHeight; position: relative; @@ -432,7 +438,7 @@ nav.secondary { .count-number { padding: 2px $lineheight/4; border-radius: 2px; - background: #d7d7ff; + background: lighten($green, 30%); margin: 0 2px; font-size: 11px; color: #333; @@ -613,6 +619,7 @@ nav.secondary { .icon.close { position: absolute; right: $lineheight; + cursor: pointer; } .footer { @@ -707,23 +714,22 @@ nav.secondary { label { position: absolute; - top: 10px; - left: 8px; + top: 0; + left: 0; padding: 2px 6px; - border-radius: 3px; + border-bottom-right-radius: 3px; cursor: pointer; font-weight: 500; font-size: 16px; text-stroke: 2px #fff; - background: rgba(255,255,255,.8); + background: rgba(255,255,255,.9); text-shadow: -2px -2px 1px #fff, 2px -2px 1px #fff, -2px 2px 1px #fff, 2px 2px 1px #fff; input[type="radio"] { - vertical-align: middle; - margin-bottom: 4px; + display: none; } } @@ -1025,6 +1031,11 @@ a.donate { &.selected { background: lighten($green, 35%); } } + + .comment a { + font-weight: bold; + color: #000; + } } /* Rules for the data browser */ @@ -1097,20 +1108,6 @@ a.donate { } } -/* Rules for the changeset details */ - -#sidebar_content { - .browse-section.header { - padding: 20px; - border-bottom: 1px solid #ccc; - - h2 { - padding: 0 0 5px 0; - border-bottom: none; - } - } -} - /* Rules for export information which appears in the popout sidebar */ .export_bounds { @@ -1238,12 +1235,6 @@ a.donate { } } -@media only screen and (max-width:900px) { - .header-illustration.new-user-arm { - display: none; - } -} - #content.maximised { top: 0; left: 0; @@ -2444,7 +2435,8 @@ a.button { } .site-about #content { - background-color: #000; + //background-color: #000; + background-color: #eee; background-position: 50% 50%; background-repeat: no-repeat; background-size: cover; @@ -2583,3 +2575,10 @@ a.button { } @import 'browse'; + +@media only screen and (max-width:960px) { + .header-illustration.new-user-arm { + display: none; + } +} +