]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_layout.scss
Fixed tests from streaming changes
[bookstack] / resources / sass / _layout.scss
index 60205eaaacc3f42088800874b6760f963bc9ae26..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;
   }
@@ -145,6 +148,7 @@ body.flexbox {
 .flex {
   min-height: 0;
   flex: 1;
+  max-width: 100%;
   &.fit-content {
     flex-basis: auto;
     flex-grow: 0;
@@ -157,6 +161,9 @@ body.flexbox {
 .justify-center {
   justify-content: center;
 }
+.justify-space-between {
+  justify-content: space-between;
+}
 .items-center {
   align-items: center;
 }
@@ -178,6 +185,10 @@ body.flexbox {
   display: inline-block !important;
 }
 
+.relative {
+  position: relative;
+}
+
 .hidden {
   display: none !important;
 }
@@ -209,6 +220,13 @@ body.flexbox {
   }
 }
 
+/**
+ * Border radiuses
+ */
+.rounded {
+  border-radius: 4px;
+}
+
 /**
  * Inline content columns
  */
@@ -346,13 +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;
+    &:hover, &:focus-within {
+      opacity: 1 !important;
     }
-    &:focus-within {
-      opacity: 1;
+    @media (prefers-contrast: more) {
+      opacity: 1 !important;
     }
   }
 
@@ -363,4 +381,4 @@ body.flexbox {
     margin-inline-start: 0;
     margin-inline-end: 0;
   }
-}
+}
\ No newline at end of file