X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a8b68a751e91342c360962ae137bc6c958104bb5..daf55682f8d2a2f7f5c424beb67aeca60f57f4f5:/app/assets/stylesheets/common.css.scss diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 6bdec2988..709d5fd98 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -392,11 +392,17 @@ nav.secondary { position: absolute; right: 0; - > ul a { + > ul { + margin-right: 10px; + } + + > ul a, + .dropdown-toggle { + display: inline-block; font-weight: bold; text-decoration: none; color: $darkgrey; - padding-right: 10px; + padding: 5px 5px; } .dropdown { @@ -404,27 +410,26 @@ nav.secondary { border-radius: 4px; } - img { + .caret { + border-top-color: $grey; + margin-top: 10px; + margin-right: 5px; + } + + img.user_thumbnail_tiny { + border: 0; vertical-align: top; + margin: 2px 0 0 3px; border-radius: 2px 0 0 2px; - margin-right: 5px; } #inboxanchor { display: inline-block; - position: relative; + vertical-align: top; height: 20px; - top: -2px; - margin: 0 2px 0 0; - padding: 0 5px 0 0; - border-radius: 2px; - } - - .dropdown-toggle { - display: block; - padding: 3px 7px; - color: #000; - text-decoration: none; + margin: 2px 7px 0 0; + background-color: $grey; + border-radius: 0 2px 2px 0; } .dropdown-menu { @@ -713,7 +718,7 @@ nav.secondary { } .leaflet-top.leaflet-right { - top: 10px !important; + top: $lineheight !important; .leaflet-control { margin-right: 0px !important; margin-top: 0px !important; @@ -1400,19 +1405,6 @@ body.browse #sidebar_content { margin-bottom: $lineheight; overflow: auto; height: 10em; - - &:p#last { - margin-bottom: 0px; - } - - &:ol { - margin-bottom: 0px; - } - - &:img { - display: block; - margin: $lineheight auto inherit auto; - } } #decline { @@ -1722,12 +1714,6 @@ img.user_thumbnail_tiny { border: 1px solid #ccc; } -/* Rule for "nowrap" class that can be applied to anything to stop wrapping */ - -.nowrap { - white-space: nowrap; -} - /* Rules for geo microformats */ abbr.geo { @@ -1766,10 +1752,6 @@ ul.secondary-actions { margin-right: 0px; } } - .dropdown-menu { - left: auto; - right: 0; - } } /* Utility for managing inner content areas */