diff options
author | ThibG <thib@sitedethib.com> | 2020-07-22 22:48:51 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-07-22 22:57:57 +0200 |
commit | 59e0eb1ba0d44f7914542f203ccab48a6b62a403 (patch) | |
tree | bd51b77d752da39ceb2e778f314fda7f8d9d7d7d /app/javascript/flavours/glitch/styles/components/index.scss | |
parent | c03d1a9ac86793ac4bd0f9ed06e3e91dfe63ebb3 (diff) |
[Glitch] Change disabled retweet icon
Port e93efc03092c4292658543695810036bc52bbc7f to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components/index.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/index.scss | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/index.scss b/app/javascript/flavours/glitch/styles/components/index.scss index a37cef795..843f40ec0 100644 --- a/app/javascript/flavours/glitch/styles/components/index.scss +++ b/app/javascript/flavours/glitch/styles/components/index.scss @@ -1038,7 +1038,7 @@ } } -.no-reduce-motion button.icon-button i.fa-retweet { +button.icon-button i.fa-retweet { background-position: 0 0; height: 19px; transition: background-position 0.9s steps(10); @@ -1051,18 +1051,14 @@ } } -.no-reduce-motion button.icon-button.active i.fa-retweet { +button.icon-button.active i.fa-retweet { transition-duration: 0.9s; background-position: 0 100%; } -.reduce-motion button.icon-button i.fa-retweet { - color: $action-button-color; - transition: color 100ms ease-in; -} - +.reduce-motion button.icon-button i.fa-retweet, .reduce-motion button.icon-button.active i.fa-retweet { - color: $highlight-text-color; + transition: none; } .reduce-motion button.icon-button.disabled i.fa-retweet { |