checkboxy looking checkbox elements, fix settings dialog in mobile view
All checks were successful
/ build (push) Successful in 4m25s
All checks were successful
/ build (push) Successful in 4m25s
This commit is contained in:
parent
9b38e4bf15
commit
4c6a484acf
4 changed files with 32 additions and 18 deletions
|
|
@ -594,10 +594,12 @@ radio-button-group {
|
|||
gap: .4rem;
|
||||
|
||||
label {
|
||||
border: .13rem solid var(--border);
|
||||
border-radius: .4rem;
|
||||
padding: .2rem;
|
||||
border: .13rem solid var(--border);
|
||||
cursor: pointer;
|
||||
padding: .2rem;
|
||||
width: fit-content;
|
||||
word-break: break-word;
|
||||
|
||||
&:has(input:checked) {
|
||||
border-color: var(--accent);
|
||||
|
|
@ -628,22 +630,29 @@ checkbox-button-group {
|
|||
cursor: pointer;
|
||||
margin-right: .3rem;
|
||||
padding: .2rem;
|
||||
width: max-content;
|
||||
width: fit-content;
|
||||
word-break: break-word;
|
||||
|
||||
&::before {
|
||||
background: var(--border);
|
||||
border-radius: 10rem;
|
||||
content: '';
|
||||
display: inline-flex;
|
||||
height: 1rem;
|
||||
margin-bottom: -.1rem;
|
||||
margin-left: .2rem;
|
||||
margin-right: .3rem;
|
||||
position: relative;
|
||||
transition: .2s;
|
||||
width: 1rem;
|
||||
}
|
||||
|
||||
&:has(input:checked) {
|
||||
border-color: var(--accent);
|
||||
background-color: color-mix(in srgb, var(--accent) 30%, var(--background));
|
||||
|
||||
&::after {
|
||||
background: var(--green);
|
||||
border-radius: 10rem;
|
||||
content: '';
|
||||
display: inline-flex;
|
||||
height: 1.5rem;
|
||||
margin-left: -.2rem;
|
||||
margin-top: -.9rem;
|
||||
position: absolute;
|
||||
width: 1.5rem;
|
||||
&::before {
|
||||
background: var(--accent);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue