diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-07-25 15:32:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-25 15:32:59 +0200 |
commit | ce1f35d7e213327549b960bb64f63c67a141ea40 (patch) | |
tree | 56c550088cd385dcc901000ae5ae29ada6046487 /app | |
parent | edc104c9ef7db2aa6edae83c9e5cc3d9c708e423 (diff) |
Revert poll colors to green outside of compose form (#26164)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/styles/mastodon/polls.scss | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/app/javascript/styles/mastodon/polls.scss b/app/javascript/styles/mastodon/polls.scss index 5bc017524d8..8a26e611ca8 100644 --- a/app/javascript/styles/mastodon/polls.scss +++ b/app/javascript/styles/mastodon/polls.scss @@ -105,7 +105,7 @@ &__input { display: inline-block; position: relative; - border: 1px solid $ui-button-background-color; + border: 1px solid $ui-primary-color; box-sizing: border-box; width: 18px; height: 18px; @@ -124,13 +124,13 @@ &:active, &:focus, &:hover { - border-color: $ui-button-focus-background-color; + border-color: lighten($valid-value-color, 15%); border-width: 4px; } &.active { - background-color: $ui-button-focus-background-color; - border-color: $ui-button-focus-background-color; + background-color: $valid-value-color; + border-color: $valid-value-color; } &::-moz-focus-inner { @@ -216,6 +216,14 @@ padding: 10px; } + .poll__input { + &:active, + &:focus, + &:hover { + border-color: $ui-button-focus-background-color; + } + } + .poll__footer { border-top: 1px solid darken($simple-background-color, 8%); padding: 10px; |