Add a barebones list view implementation
This commit is contained in:
parent
2fdcdf062c
commit
0fb2bd796d
7 changed files with 105 additions and 4 deletions
38
styles/elements/radio.css
Normal file
38
styles/elements/radio.css
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
.token-browser > .window-content {
|
||||
.radio-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
input[type="radio"] {
|
||||
width: 0;
|
||||
height: 0;
|
||||
margin: 0;
|
||||
|
||||
&::before, &::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
label {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border: 1px solid var(--color-light-5);
|
||||
cursor: pointer;
|
||||
height: 28px;
|
||||
min-width: 28px;
|
||||
|
||||
&:first-child {
|
||||
border-radius: 4px 0 0 4px;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-radius: 0 4px 4px 0;
|
||||
}
|
||||
|
||||
&:has(:checked) {
|
||||
background: var(--color-cool-4);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue