]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_pages.scss
Added examples, updated docs for image gallery api endpoints
[bookstack] / resources / sass / _pages.scss
index eeb51ebb511def1001cdd55f3cfa76ae539e02a9..57718e647167417cf89689fbcabde43af9b42c5d 100755 (executable)
@@ -278,16 +278,16 @@ body.tox-fullscreen, body.markdown-fullscreen {
   &.open {
     width: 480px;
   }
-  [toolbox-toggle] svg {
+  .toolbox-toggle svg {
     transition: transform ease-in-out 180ms;
   }
-  [toolbox-toggle] {
+  .toolbox-toggle {
     transition: background-color ease-in-out 180ms;
   }
-  &.open [toolbox-toggle] {
+  &.open .toolbox-toggle {
     background-color: rgba(255, 0, 0, 0.29);
   }
-  &.open [toolbox-toggle] svg {
+  &.open .toolbox-toggle svg {
     transform: rotate(180deg);
   }
   > div {
@@ -318,14 +318,6 @@ body.tox-fullscreen, body.markdown-fullscreen {
     @include lightDark(color, #444, #EEE);
     background-color: rgba(0, 0, 0, 0.1);
   }
-  div[toolbox-tab-content] {
-    padding-bottom: 45px;
-    display: flex;
-    flex: 1;
-    flex-direction: column;
-    min-height: 0;
-    overflow-y: scroll;
-  }
   h4 {
     font-size: 24px;
     margin: $-m 0 0 0;
@@ -357,8 +349,10 @@ body.tox-fullscreen, body.markdown-fullscreen {
   }
 }
 
-[toolbox-tab-content] {
+.toolbox-tab-content {
   display: none;
+  overflow-y: auto;
+  padding-bottom: 45px;
 }
 
 .suggestion-box {