From 96126a5b01cae79b4e76e68b02681e00f4622d81 Mon Sep 17 00:00:00 2001 From: kibigo! Date: Thu, 7 Dec 2017 13:35:37 -0800 Subject: Packaged local_settings styles in common --- .../flavours/glitch/styles/components/boost.scss | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 app/javascript/flavours/glitch/styles/components/boost.scss (limited to 'app/javascript/flavours/glitch/styles/components/boost.scss') diff --git a/app/javascript/flavours/glitch/styles/components/boost.scss b/app/javascript/flavours/glitch/styles/components/boost.scss new file mode 100644 index 000000000..b07b72f8e --- /dev/null +++ b/app/javascript/flavours/glitch/styles/components/boost.scss @@ -0,0 +1,28 @@ +@function hex-color($color) { + @if type-of($color) == 'color' { + $color: str-slice(ie-hex-str($color), 4); + } + @return '%23' + unquote($color) +} + +button.icon-button i.fa-retweet { + background-image: url("data:image/svg+xml;utf8,"); + + &:hover { + background-image: url("data:image/svg+xml;utf8,"); + } +} + +// Disabled variant +button.icon-button.disabled i.fa-retweet { + &, &:hover { + background-image: url("data:image/svg+xml;utf8,"); + } +} + +// Disabled variant for use with DMs +.status-direct button.icon-button.disabled i.fa-retweet { + &, &:hover { + background-image: url("data:image/svg+xml;utf8,"); + } +} -- cgit