about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/components
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-03-08 20:45:47 +0100
committerClaire <claire.github-309c@sitedethib.com>2021-03-19 14:47:57 +0100
commit2bb573d021d53a31efd299763cd55d342d4da307 (patch)
tree162079c55cfe182fc801fe5969469cf6fda9082c /app/javascript/flavours/glitch/styles/components
parente71f4d468b217504f3cd5b8f8c133f9c0e1869fc (diff)
Messing around with box-shadow
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components')
-rw-r--r--app/javascript/flavours/glitch/styles/components/columns.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/columns.scss b/app/javascript/flavours/glitch/styles/components/columns.scss
index 7d7642a31..42d64c135 100644
--- a/app/javascript/flavours/glitch/styles/components/columns.scss
+++ b/app/javascript/flavours/glitch/styles/components/columns.scss
@@ -502,7 +502,8 @@
   font-size: inherit;
   flex: auto;
   background-color: $ui-base-color;
-  transition: background-color 0.2s ease;
+  transition-property: background-color, box-shadow;
+  transition: all 0.2s ease;
 
   &[disabled] {
     cursor: not-allowed;
@@ -524,17 +525,21 @@
 
     &.active {
       background-color: $ui-highlight-color;
+      box-shadow: inset 0 5px darken($ui-highlight-color, 20%);
 
       &:hover {
         background-color: lighten($ui-highlight-color, 10%);
+        box-shadow: inset 0 5px darken($ui-highlight-color, 10%);
       }
 
       &:focus {
         background-color: lighten($ui-highlight-color, 15%);
+        box-shadow: inset 0 5px darken($ui-highlight-color, 5%);
       }
 
       &:active {
         background-color: lighten($ui-highlight-color, 20%);
+        box-shadow: inset 0 5px $ui-highlight-color;
       }
     }
   }