]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_forms.scss
Search: Prevented negated terms filling in UI inputs
[bookstack] / resources / sass / _forms.scss
index fc0eb49bd45dc1ed8e015c7b3f042d1fa268e2e0..67df4171499f841407d927e05e443346a0df762d 100644 (file)
@@ -321,6 +321,7 @@ input[type=color] {
   }
 }
 .setting-list-label {
+  @include lightDark(color, #222, #DDD);
   color: #222;
   font-size: 1rem;
 }
@@ -390,14 +391,17 @@ input[type=color] {
 }
 
 .form-group.ambrosia-container, .form-group.ambrosia-container * {
-    position:absolute;
-    height:0px !important;
-    width:0px !important;
-    margin:0 !important;
+    position:absolute !important;
+    height:1px !important;
+    width:1px !important;
+    margin:-1px !important;
     padding:0 !important;
     background:transparent !important;
     color:transparent !important;
     border:none !important;
+    overflow: hidden !important;
+    clip: rect(0,0,0,0) !important;
+    white-space: nowrap !important;
 }
 
 .title-input input[type="text"] {
@@ -437,12 +441,8 @@ input[type=color] {
     padding: 0;
     cursor: pointer;
     position: absolute;
-    left: 8px;
-    top: 9px;
-    @include rtl {
-      right: 8px;
-      left: auto;
-    }
+    inset-inline-start: 8px;
+    top: 10px;
   }
   input {
     display: block;
@@ -549,4 +549,4 @@ input.shortcut-input {
   width: auto;
   max-width: 120px;
   height: auto;
-}
\ No newline at end of file
+}