about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-03-28 18:33:26 +0100
committerThibG <thib@sitedethib.com>2019-03-28 19:56:40 +0100
commitf4b038f7797fab21b39c4cae35121d2fb02abda7 (patch)
treee896514bb4c2eea506d4592ea8e0b319d51efcce
parent0318b2339525c4ea6032f19c06fdc89d2b4e5797 (diff)
[Glitch] Fix opacity of relationship tags
Port 58667072d9923b17c90543550294aa9f801103d7 to glitch-soc
-rw-r--r--app/javascript/flavours/glitch/styles/components/accounts.scss8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/accounts.scss b/app/javascript/flavours/glitch/styles/components/accounts.scss
index 395ac36d6..0daef4d35 100644
--- a/app/javascript/flavours/glitch/styles/components/accounts.scss
+++ b/app/javascript/flavours/glitch/styles/components/accounts.scss
@@ -314,15 +314,19 @@
 .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;
+  }
 }
 
 .account-gallery__container {