about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-05-24 04:22:46 +0200
committerGitHub <noreply@github.com>2017-05-24 04:22:46 +0200
commitbe83d450eb2d109967f8e92bb3e01225517719d5 (patch)
tree47003eded914a7d95efad21433a8bf313e4f6c20 /app/javascript
parent1fd18a61bdbdc7b767f42b2f186f9c2c62ea37c4 (diff)
Fix DM being highlighted when it's inside a favourite notification (#3267)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/styles/components.scss14
1 files changed, 10 insertions, 4 deletions
diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss
index 992db014e..880459761 100644
--- a/app/javascript/styles/components.scss
+++ b/app/javascript/styles/components.scss
@@ -557,10 +557,6 @@
   &.status-direct {
     background: lighten($ui-base-color, 8%);
 
-    .status__display-name strong {
-      color: $primary-text-color;
-    }
-
     .icon-button.disabled {
       color: lighten($ui-base-color, 16%);
     }
@@ -604,6 +600,16 @@
   }
 }
 
+.notification-favourite {
+  .status.status-direct {
+    background: transparent;
+
+    .icon-button.disabled {
+      color: lighten($ui-base-color, 13%);
+    }
+  }
+}
+
 .status__relative-time {
   color: lighten($ui-base-color, 26%);
   float: right;