Revert poll colors to green outside of compose form (#26164)

This commit is contained in:
Claire 2023-07-25 15:32:59 +02:00 committed by GitHub
parent edc104c9ef
commit ce1f35d7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 4 deletions

View File

@ -105,7 +105,7 @@
&__input { &__input {
display: inline-block; display: inline-block;
position: relative; position: relative;
border: 1px solid $ui-button-background-color; border: 1px solid $ui-primary-color;
box-sizing: border-box; box-sizing: border-box;
width: 18px; width: 18px;
height: 18px; height: 18px;
@ -124,13 +124,13 @@
&:active, &:active,
&:focus, &:focus,
&:hover { &:hover {
border-color: $ui-button-focus-background-color; border-color: lighten($valid-value-color, 15%);
border-width: 4px; border-width: 4px;
} }
&.active { &.active {
background-color: $ui-button-focus-background-color; background-color: $valid-value-color;
border-color: $ui-button-focus-background-color; border-color: $valid-value-color;
} }
&::-moz-focus-inner { &::-moz-focus-inner {
@ -216,6 +216,14 @@
padding: 10px; padding: 10px;
} }
.poll__input {
&:active,
&:focus,
&:hover {
border-color: $ui-button-focus-background-color;
}
}
.poll__footer { .poll__footer {
border-top: 1px solid darken($simple-background-color, 8%); border-top: 1px solid darken($simple-background-color, 8%);
padding: 10px; padding: 10px;