X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b0c17047a12eca962fa02146e2a3a70b9bcc916e..6caf44280ac6a3e44630745b91fc80fa0eef0577:/app/assets/stylesheets/common.scss diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index fc774a3ee..3d9e69b76 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -150,11 +150,6 @@ nav.primary { nav.secondary { .nav-link { padding: 0.2rem; - color: $darkgrey; - } - - > ul li.current a { - color: darken($darkgrey, 25%); } #inboxanchor { @@ -321,7 +316,6 @@ body.small-nav { #sidebar { float: left; width: $sidebarWidth; - background: #fff; #sidebar_loader { display: none; @@ -383,7 +377,6 @@ body.small-nav { float: right; width: 250px; height: 100%; - background: white; overflow: auto; .section { @@ -435,7 +428,7 @@ body.small-nav { li { overflow: hidden; border-radius: 3px; - border: 2px solid #fff; + border: 2px solid transparent; margin-bottom: 8px; position: relative; transition: border-color 0.08s ease-in; @@ -449,8 +442,8 @@ body.small-nav { cursor: pointer; font-weight: 600; font-size: 16px; - text-stroke: 2px #fff; - background: rgba(255,255,255,.9); + background-color: var(--bs-body-bg); + opacity: 0.9; z-index: 1000; input[type="radio"] { display: none; @@ -692,18 +685,15 @@ tr.turn:hover { } .export_boxy { - background: $lightgrey; - - #maxlat { margin-top: -1px; } + > * { + margin: -1px; + } #minlon { - float: left; - /*rtl:ignore*/ margin-left: -1px; + /*rtl:ignore*/ float: left; } #maxlon { - float: right; - /*rtl:ignore*/ margin-right: -1px; + /*rtl:ignore*/ float: right; } - #minlat { margin-bottom: -1px; } } } @@ -720,10 +710,6 @@ tr.turn:hover { /* Rules for non-map content pages */ -.content-heading { - background: $lightgrey; -} - .content-inner { position: relative; max-width: 960px; @@ -852,8 +838,6 @@ tr.turn:hover { } .search_form { - background-color: $lightgrey; - #query { z-index: 0; } @@ -863,10 +847,6 @@ tr.turn:hover { } } -.directions_form { - background-color: $lightgrey; -} - /* Rules for user images */ img.user_image { @@ -1068,4 +1048,12 @@ div.secondary-actions { } } +/* Rules for tabs inside secondary background sections */ + +.bg-body-secondary .nav-tabs { + --bs-border-color: var(--bs-secondary-border-subtle); + --bs-secondary-bg: var(--bs-secondary-border-subtle); + margin-bottom: -1px; +} + @import 'browse';