Skip to content

Commit

Permalink
Revert poll colors to green outside of compose form (mastodon#26164)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Jul 25, 2023
1 parent edc104c commit ce1f35d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions app/javascript/styles/mastodon/polls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ce1f35d

Please sign in to comment.