X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/9df4dee1b2db6abeb25a4b36226aa1c3ee20eba5..refs/pull/3298/head:/resources/sass/_header.scss diff --git a/resources/sass/_header.scss b/resources/sass/_header.scss index e06dcde6f..f070f5a18 100644 --- a/resources/sass/_header.scss +++ b/resources/sass/_header.scss @@ -221,17 +221,22 @@ header .search-box { z-index: 5; background-color: #FFF; border-bottom: 1px solid #DDD; + @include lightDark(border-bottom-color, #DDD, #333); box-shadow: $bs-card; } .tri-layout-mobile-tab { text-align: center; border-bottom: 3px solid #BBB; cursor: pointer; + margin: 0; + @include lightDark(background-color, #FFF, #222); + @include lightDark(border-bottom-color, #BBB, #333); &:first-child { border-inline-end: 1px solid #DDD; + @include lightDark(border-inline-end-color, #DDD, #000); } &[aria-selected="true"] { - border-bottom-color: currentColor; + border-bottom-color: currentColor !important; } } @@ -257,6 +262,9 @@ header .search-box { &:hover, &:focus-within { opacity: 1; } + @media (prefers-contrast: more) { + opacity: 1; + } } @include smaller-than($l) {