diff options
author | Eugen <eugen@zeonfederated.com> | 2017-04-11 00:38:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-11 00:38:58 +0200 |
commit | 12f72e1740cd91929419c82c6b782393e306994c (patch) | |
tree | 32cca940d79de94adf447bae3c98f2c4b4c76750 /app/assets/stylesheets | |
parent | b57eed4584fbaa3bf83964bda804f27495b6f1fc (diff) |
When avatar/header are GIF, generate static versions (#1428)
* When avatar/header are GIF, generate static versions. Account API returns "avatar"/"avatar_static", "header"/"header_static" Static version is the same as original for other cases Web UI de-animates avatars in toots, lists of users Fix #441, fix #596, prerequisite for #1064 * Fix JS test * Add rake task to generate static avatars/headers from GIF ones, add test
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/components.scss | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss index 95e432cb6..8c76ddf99 100644 --- a/app/assets/stylesheets/components.scss +++ b/app/assets/stylesheets/components.scss @@ -1,7 +1,7 @@ @import 'variables'; .app-body{ - -ms-overflow-style: -ms-autohiding-scrollbar; + -ms-overflow-style: -ms-autohiding-scrollbar; } .button { @@ -165,6 +165,14 @@ } } +.avatar { + border-radius: 4px; + background: transparent no-repeat; + background-position: 50%; + background-clip: padding-box; + position: relative; +} + .lightbox .icon-button { color: $color1; } |