]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_layout.scss
Fixed failing test after drawio default url change
[bookstack] / resources / sass / _layout.scss
index 783ccc8f9476cb455e71c6186c346e2695ba1b9e..b1c80cb53eb7e95b3e3d3ceb023392ffad54a644 100644 (file)
@@ -8,6 +8,9 @@
   margin-inline-end: auto;
   padding-inline-start: $-m;
   padding-inline-end: $-m;
+  &.medium {
+    max-width: 1100px;
+  }
   &.small {
     max-width: 840px;
   }
@@ -361,16 +364,13 @@ body.flexbox {
     display: none;
   }
   .tri-layout-left-contents > *, .tri-layout-right-contents > * {
-    opacity: 0.6;
+    @include lightDark(opacity, 0.6, 0.7);
     transition: opacity ease-in-out 120ms;
-    &:hover {
-      opacity: 1;
-    }
-    &:focus-within {
-      opacity: 1;
+    &:hover, &:focus-within {
+      opacity: 1 !important;
     }
     @media (prefers-contrast: more) {
-      opacity: 1;
+      opacity: 1 !important;
     }
   }