]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix transparent avatars showing underlying elements in avatar stack and...
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 30 Mar 2019 00:13:19 +0000 (01:13 +0100)
committerThibaut Girka <thib@sitedethib.com>
Sat, 30 Mar 2019 17:19:40 +0000 (18:19 +0100)
Port 79227d153b86144e9a8cc73f1d4045973eabc9ef to glitch-soc

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

index 586802185c24f0b038783cb49651b84b0e4566f3..d542b1083cbabf3dee296203c372a789298191da 100644 (file)
@@ -1,6 +1,5 @@
 @mixin avatar-radius() {
   border-radius: $ui-avatar-border-size;
-  background: transparent no-repeat;
   background-position: 50%;
   background-clip: padding-box;
 }
index 0daef4d35729edbc506332c24f119ba09775c969..00380c575ce4788ad15174dddb6f52d3bd453f06 100644 (file)
       margin-left: -2px;
 
       .account__avatar {
+        background: darken($ui-base-color, 8%);
         border: 2px solid lighten($ui-base-color, 4%);
       }
     }
index 645192ea4ea337e09bb64b66533285e7b2d9c91d..307e509d596c985e83b0aea84df895fedaaf886e 100644 (file)
     border-radius: 50%;
     position: relative;
     margin-left: -10px;
+    background: darken($ui-base-color, 8%);
     border: 2px solid $ui-base-color;
 
     &:nth-child(1) {