about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-07-31 12:06:56 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-31 05:06:56 +0200
commitbb85043f4641adbb4c9589ccd2bd93c9cdd06ce8 (patch)
tree1bd776ed4c038f7e98ba12af73aff1df9e143f76 /app/javascript/styles
parente1fcad34a9e3c3fd22b3bee66b82d85bd03629fb (diff)
Disable sensitive button when with content warnings (#4460)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/components.scss10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index 150269250..c65e51c25 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -148,12 +148,16 @@
       color: $ui-base-lighter-color;
     }
 
+    &.disabled {
+      color: $ui-primary-color;
+    }
+
     &.active {
       color: $ui-highlight-color;
-    }
 
-    &.disabled {
-      color: $ui-primary-color;
+      &.disabled {
+        color: lighten($ui-highlight-color, 13%);
+      }
     }
   }