]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix opacity of relationship tags
authorThibG <thib@sitedethib.com>
Thu, 28 Mar 2019 17:33:26 +0000 (18:33 +0100)
committerThibG <thib@sitedethib.com>
Thu, 28 Mar 2019 18:56:40 +0000 (19:56 +0100)
Port 58667072d9923b17c90543550294aa9f801103d7 to glitch-soc

app/javascript/flavours/glitch/styles/components/accounts.scss

index 395ac36d699871a5a108ca274dc8944568dcf3e5..0daef4d35729edbc506332c24f119ba09775c969 100644 (file)
 .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 {