]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_layout.scss
Added examples, updated docs for image gallery api endpoints
[bookstack] / resources / sass / _layout.scss
index a5f895f80de9a4ddcc95037663a68dd6a44eb4f0..19333faf71baf7c4a6d69e7cfda11a3e4e7902cd 100644 (file)
@@ -198,6 +198,9 @@ body.flexbox {
 .items-center {
   align-items: center;
 }
+.items-stretch {
+  align-items: stretch;
+}
 
 /**
  * Min width utilities
@@ -265,6 +268,11 @@ body.flexbox {
   }
 }
 
+.sticky-top-m {
+  position: sticky;
+  top: $-m;
+}
+
 /**
  * Visibility
  */
@@ -425,7 +433,7 @@ body.flexbox {
     display: none;
   }
   .tri-layout-left-contents > *, .tri-layout-right-contents > * {
-    @include lightDark(opacity, 0.6, 0.7);
+    @include lightDark(opacity, 0.6, 0.75);
     transition: opacity ease-in-out 120ms;
     &:hover, &:focus-within {
       opacity: 1 !important;
@@ -434,7 +442,6 @@ body.flexbox {
       opacity: 1 !important;
     }
   }
-
 }
 
 @include smaller-than($m) {