diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-25 13:54:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-25 13:54:43 +0100 |
commit | 6517b7b9f02f8590a8f9c5aa04e3ef9efeb4e757 (patch) | |
tree | 2de3769bd591428a80b2c4ceadde13bcf6be04c7 /app/javascript/flavours/glitch/styles/mastodon-light | |
parent | 43dbc6256854a9832c7255fc62a8fa8df7244dd6 (diff) |
Fix pillbar buttons in light theme (#1972)
* Simplify pillbar button design and make it more consistent with toggles * Fix pillbar buttons in light theme Fixes #1970
Diffstat (limited to 'app/javascript/flavours/glitch/styles/mastodon-light')
-rw-r--r-- | app/javascript/flavours/glitch/styles/mastodon-light/diff.scss | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/mastodon-light/diff.scss b/app/javascript/flavours/glitch/styles/mastodon-light/diff.scss index 6489c2f80..9fc1aed2a 100644 --- a/app/javascript/flavours/glitch/styles/mastodon-light/diff.scss +++ b/app/javascript/flavours/glitch/styles/mastodon-light/diff.scss @@ -712,6 +712,26 @@ html { // Glitch-soc-specific changes +.pillbar-button { + background: $ui-secondary-color; + + &:not([disabled]) { + &:hover, + &:focus { + background: darken($ui-secondary-color, 10%); + } + + &.active { + background-color: darken($ui-highlight-color, 2%); + + &:hover, + &:focus { + background: lighten($ui-highlight-color, 10%); + } + } + } +} + .glitch.local-settings { background: $ui-base-color; border: 1px solid lighten($ui-base-color, 8%); |