[Glitch] Revert poll colors to green outside of compose form

Port ce1f35d7e2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire 2023-07-25 15:32:59 +02:00
parent e92dde0b16
commit 887a17bb83

View file

@ -111,7 +111,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;
@ -130,13 +130,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 {
@ -223,6 +223,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;