about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-03-28 18:33:26 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-03-28 18:33:26 +0100
commit58667072d9923b17c90543550294aa9f801103d7 (patch)
tree6e5d8f0b426e142bdb894e11cb580ec0cf15b5a1
parent1a7d1f4a42e4988713bad82db39f23e5e13a3bb2 (diff)
Fix opacity of relationship tags (#10411)
-rw-r--r--app/javascript/styles/mastodon/components.scss8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index f63c66d46..81d823374 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -3064,15 +3064,19 @@ a.status-card.compact:hover {
 .relationship-tag {
   color: $primary-text-color;
   margin-bottom: 4px;
-  opacity: 0.7;
   display: block;
   vertical-align: top;
-  background-color: rgba($base-overlay-background, 0.4);
+  background-color: $base-overlay-background;
   text-transform: uppercase;
   font-size: 11px;
   font-weight: 500;
   padding: 4px;
   border-radius: 4px;
+  opacity: 0.7;
+
+  &:hover {
+    opacity: 1;
+  }
 }
 
 .setting-toggle {