Add a barebones list view implementation

This commit is contained in:
Oliver 2026-02-01 15:28:41 -07:00
parent 2fdcdf062c
commit 0fb2bd796d
7 changed files with 105 additions and 4 deletions

38
styles/elements/radio.css Normal file
View 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);
}
}
}
}

View file

@ -8,6 +8,7 @@
@import url("./elements/utils.css") layer(elements);
@import url("./elements/checkbox.css") layer(elements);
@import url("./elements/lists.css") layer(elements);
@import url("./elements/radio.css") layer(elements);
/* Apps */
@import url("./apps/common.css") layer(apps);