]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/styles.scss
Lexical: Updated tests for node changes
[bookstack] / resources / sass / styles.scss
index c0ce7ba6354d9c921106479cc3e9cb11526e10a4..2106f86e62509a7e0cc82e2910130ab805227517 100644 (file)
@@ -15,6 +15,7 @@
 @import "forms";
 @import "animations";
 @import "tinymce";
+@import "editor";
 @import "codemirror";
 @import "components";
 @import "header";
 @import "pages";
 @import "content";
 
+@media print {
+  @import "print";
+}
+
 // Jquery Sortable Styles
 .dragged {
   position: absolute;
@@ -101,6 +106,10 @@ $loadingSize: 10px;
   }
 }
 
+.inline.block .loading-container {
+  margin: $-xs $-s;
+}
+
 .skip-to-content-link {
   position: fixed;
   top: -52px;
@@ -133,6 +142,11 @@ $loadingSize: 10px;
     font-size: 16px;
     padding: $-s $-m;
   }
+  input[type="text"]:focus {
+    outline: 1px solid var(--color-primary);
+    border-radius: 3px 3px 0 0;
+    outline-offset: -1px;
+  }
   .entity-list {
     overflow-y: scroll;
     height: 400px;
@@ -166,6 +180,19 @@ $loadingSize: 10px;
       font-size: 14px;
     }
   }
+  &.small {
+    .entity-list-item {
+      padding: $-xs $-m;
+    }
+    .entity-list, .loading {
+      height: 300px;
+    }
+    input[type="text"] {
+      font-size: 13px;
+      padding: $-xs $-m;
+      height: auto;
+    }
+  }
 }
 
 .fullscreen {
@@ -180,6 +207,14 @@ $loadingSize: 10px;
   z-index: 150;
 }
 
+@include between($s, $m) {
+  #home-default > .grid.third {
+    display: block;
+    columns: 2;
+    column-gap: $-l !important;
+  }
+}
+
 .list-sort-container {
   display: inline-block;
   form {
@@ -217,4 +252,9 @@ $loadingSize: 10px;
       transform: rotate(180deg);
     }
   }
+}
+
+.import-item {
+  border-inline-start: 2px solid currentColor;
+  padding-inline-start: $-xs;
 }
\ No newline at end of file