update nox poll option css

This commit is contained in:
Azareal 2020-01-20 15:03:46 +10:00
parent a21454ba5d
commit 5b6607b92c
1 changed files with 10 additions and 7 deletions

View File

@ -973,21 +973,24 @@ input[type=checkbox] + label {
height: 18px; height: 18px;
margin-bottom: -2px; margin-bottom: -2px;
margin-right: 8px; margin-right: 8px;
border: 1px solid rgb(120,120,120); /*border: 1px solid rgb(120,120,120);*/
background-color: rgb(90,90,90); background-color: rgb(90,90,90);
padding-top: 1px; padding-top: 1px;
border-radius: 2px; border-radius: 2px;
} }
input[type=checkbox]:checked + label .sel { input[type=checkbox]:checked + label .sel,
input[type=checkbox]:not(:checked):hover + label .sel {
width: 8px; width: 8px;
height: 8px; height: 8px;
background: rgb(160,160,160); margin: auto;
margin-left: auto;
margin-right: auto;
margin-top: auto;
margin-bottom: auto;
border-radius: 2px; border-radius: 2px;
} }
input[type=checkbox]:checked + label .sel {
background: rgb(140,140,140);
}
input[type=checkbox]:not(:checked):hover + label .sel {
background: rgb(120,120,120);
}
.poll_option { .poll_option {
display: flex; display: flex;
margin-bottom: 10px; margin-bottom: 10px;