]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/sass/_buttons.scss
Page Attachments - Improved UI, Now initially complete
[bookstack] / resources / assets / sass / _buttons.scss
index 72fa33cfedfc1f3a76244cb929f53d844d8c16c2..5de8896735aa9799ef5a4b12cf04b098c0366b42 100644 (file)
   &:active {
     background-color: darken($backgroundColor, 8%);
   }
+  &:focus {
+    background-color: lighten($backgroundColor, 4%);
+    box-shadow: $bs-light;
+    text-decoration: none;
+    color: $textColor;
+  }
 }
 
 // Button Specific Variables
@@ -59,6 +65,9 @@ $button-border-radius: 2px;
   &:focus, &:active {
     outline: 0;
   }
+  &:hover {
+    text-decoration: none;
+  }
   &.neg {
     color: $negative;
   }
@@ -91,3 +100,13 @@ $button-border-radius: 2px;
   }
 }
 
+.button[disabled] {
+  background-color: #BBB;
+  cursor: default;
+  &:hover {
+    background-color: #BBB;
+    cursor: default;
+    box-shadow: none;
+  }
+}
+