diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-05-27 03:33:39 +0200 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-11-19 15:38:37 -0600 |
commit | a78abedd3df32a513c0e0c47c850e769e019adae (patch) | |
tree | 1d32227c59767e570664abddbb95b986090bd8c9 /app/javascript/flavours/glitch/styles/stream_entries.scss | |
parent | 641bc18f290f10beb3b20984ac41b28dd9d0d361 (diff) |
[Glitch] Use `<use />` to render transparent SVG logo instead of inserting it
Port SCSS changes from 8d5dcc9301c422f131167574da550f8cdaedb73f to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/stream_entries.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/stream_entries.scss | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/app/javascript/flavours/glitch/styles/stream_entries.scss b/app/javascript/flavours/glitch/styles/stream_entries.scss index e18696fb7..de9c2612c 100644 --- a/app/javascript/flavours/glitch/styles/stream_entries.scss +++ b/app/javascript/flavours/glitch/styles/stream_entries.scss @@ -89,40 +89,21 @@ height: auto; vertical-align: middle; margin-right: 5px; - - path:first-child { - fill: $primary-text-color; - } - - path:last-child { - fill: $ui-highlight-color; - } + fill: $primary-text-color; } &:active, &:focus, &:hover { background: lighten($ui-highlight-color, 10%); - - svg path:last-child { - fill: lighten($ui-highlight-color, 10%); - } } &:disabled, &.disabled { - svg path:last-child { - fill: $ui-primary-color; - } - &:active, &:focus, &:hover { background: $ui-primary-color; - - svg path:last-child { - fill: $ui-primary-color; - } } } @@ -131,10 +112,6 @@ &:focus, &:hover { background: $error-red; - - svg path:last-child { - fill: $error-red; - } } } |