]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_text.scss
Add prev and next button to navigate through different pages
[bookstack] / resources / sass / _text.scss
index 4ada3472592e4089c30c4c1ddb3e3fec5ad39985..4ece0ea201e8f4031b1c5d908b700f636abc1219 100644 (file)
@@ -112,6 +112,12 @@ a {
   }
 }
 
+a.disabled {
+  pointer-events: none;
+  cursor: default;
+  opacity: 0.6;
+}
+
 .blended-links a {
   color: inherit;
   svg {
@@ -352,12 +358,21 @@ li > ol, li > ul {
   overflow-wrap: break-word;
 }
 
-.limit-text {
+.text-limit-lines-1 {
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
 }
 
+.text-limit-lines-2 {
+  // -webkit use here is actually standardised cross-browser:
+  // https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
+  display: -webkit-box;
+  -webkit-box-orient: vertical;
+  -webkit-line-clamp: 2;
+  overflow: hidden;
+}
+
 /**
  * Grouping
  */