diff options
author | ThibG <thib@sitedethib.com> | 2019-05-11 22:05:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-11 22:05:39 +0200 |
commit | f6838a28f64a2e1a955d7062d8b4270312df802f (patch) | |
tree | cd4aab24ff5a6bca9a48bfd0331157232084b823 /app/javascript/styles | |
parent | 3ea5c045d712713535f130e4c462a00845946dda (diff) | |
parent | 93085c273ced0b57cde40406d2044abd2a1ce48c (diff) |
Merge pull request #1044 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index e8fd8a240..f8f64bdd6 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -268,9 +268,34 @@ padding: 10px; padding-top: 0; - .icon-button { - font-size: 14px; - font-weight: 500; + font-size: 14px; + font-weight: 500; + + &.active { + color: $highlight-text-color; + } + + input[type=checkbox] { + display: none; + } + + .checkbox { + display: inline-block; + position: relative; + border: 1px solid $ui-primary-color; + box-sizing: border-box; + width: 18px; + height: 18px; + flex: 0 0 auto; + margin-right: 10px; + top: -1px; + border-radius: 4px; + vertical-align: middle; + + &.active { + border-color: $highlight-text-color; + background: $highlight-text-color; + } } } |