[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
1 changed files with 12 additions and 4 deletions

View File

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