]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_header.scss
Added examples, updated docs for image gallery api endpoints
[bookstack] / resources / sass / _header.scss
index ca2ab83a4774411588a17de3ec990e8d29cf9fc9..c1b6af4c655652b609f0ffaa45505300e5a6f183 100644 (file)
@@ -22,9 +22,6 @@ header {
   border-bottom: 1px solid #DDD;
   box-shadow: $bs-card;
   @include lightDark(border-bottom-color, #DDD, #000);
-  @include whenDark {
-    filter: saturate(0.8) brightness(0.8);
-  }
   .header-links {
     display: flex;
     align-items: center;
@@ -121,15 +118,11 @@ header .search-box {
 }
 #header-search-box-button {
   z-index: 1;
-  left: 16px;
+  inset-inline-start: 16px;
   top: 10px;
   color: #FFF;
   opacity: 0.6;
   @include lightDark(color, rgba(255, 255, 255, 0.8), #AAA);
-  @include rtl {
-    left: auto;
-    right: 16px;
-  }
   svg {
     margin-inline-end: 0;
   }
@@ -173,12 +166,11 @@ header .search-box.search-active:focus-within {
     display: block;
   }
   input {
-    background-color: #EEE;
-    color: #444;
-    border-color: #DDD;
+    @include lightDark(background-color, #EEE, #333);
+    @include lightDark(border-color, #DDD, #111);
   }
-  #header-search-box-button {
-    color: #444;
+  #header-search-box-button, input {
+    @include lightDark(color, #444, #AAA);
   }
 }