diff options
Diffstat (limited to 'site/static/docs/4.3/assets/scss/_nav.scss')
-rw-r--r-- | site/static/docs/4.3/assets/scss/_nav.scss | 49 |
1 files changed, 39 insertions, 10 deletions
diff --git a/site/static/docs/4.3/assets/scss/_nav.scss b/site/static/docs/4.3/assets/scss/_nav.scss index c3fdc8e5f6..4f1f61f1b1 100644 --- a/site/static/docs/4.3/assets/scss/_nav.scss +++ b/site/static/docs/4.3/assets/scss/_nav.scss @@ -2,10 +2,47 @@ // Main navbar // +.bd-subnavbar { + background-color: rgba(#fff, .75); + backdrop-filter: blur(1rem); + box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05), inset 0 -1px 0 rgba(0, 0, 0, .15); + + .booticon { + opacity: .25; + } + + .dropdown-toggle { + @include font-size(100%); + text-decoration: none; + } + + .dropdown-menu { + @include font-size(90%); + box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05); + } + + @include media-breakpoint-up(md) { + @supports (position: sticky) { + position: sticky; + top: 0; + z-index: 1071; // over everything in bootstrap + } + } +} + +.link-dark { + font-weight: 500; + color: $dark; + + &:hover { + color: $blue; + text-decoration: none; + } +} + .bd-navbar { min-height: 4rem; - background-color: $bd-purple; - box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05), inset 0 -1px 0 rgba(0, 0, 0, .1); + background-color: $bd-purple-bright; @include media-breakpoint-down(md) { padding-right: .5rem; @@ -26,14 +63,6 @@ } } - @include media-breakpoint-up(md) { - @supports (position: sticky) { - position: sticky; - top: 0; - z-index: 1071; // over everything in bootstrap - } - } - .navbar-nav { .nav-link { padding-right: .5rem; |