mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-30 11:17:12 -05:00
74 lines
1.2 KiB
CSS
74 lines
1.2 KiB
CSS
.popover {
|
|
border-radius: var(--radius-box);
|
|
background-color: var(--color-bg-high);
|
|
border: var(--border-style);
|
|
width: max-content;
|
|
font-size: var(--fonts-sm);
|
|
font-weight: var(--semi-bold);
|
|
padding: var(--s-2);
|
|
}
|
|
|
|
.popoverOpensLeft {
|
|
right: 0;
|
|
}
|
|
|
|
.scrolling {
|
|
max-height: 300px !important;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.itemsContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--s-0-5);
|
|
|
|
&:focus-visible {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
.item {
|
|
display: flex;
|
|
align-items: center;
|
|
font-weight: var(--bold);
|
|
font-size: var(--fonts-xs);
|
|
color: var(--color-text);
|
|
white-space: nowrap;
|
|
gap: var(--s-2);
|
|
border-radius: var(--radius-field);
|
|
padding: var(--s-1-5) var(--s-2-5);
|
|
background-color: var(--color-bg-high);
|
|
width: 100%;
|
|
border: 0;
|
|
outline: none;
|
|
justify-content: flex-start;
|
|
transition: background-color 0.15s;
|
|
}
|
|
|
|
.item[data-focused] {
|
|
background-color: var(--color-bg-higher);
|
|
}
|
|
|
|
.itemDisabled {
|
|
color: var(--color-text-high);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.itemSelected {
|
|
background-color: var(--color-text-accent);
|
|
font-weight: var(--extra-bold);
|
|
}
|
|
|
|
.itemActive {
|
|
color: var(--color-text-accent);
|
|
}
|
|
|
|
.itemIcon {
|
|
width: 18px;
|
|
}
|
|
|
|
.itemImg {
|
|
min-width: 20px;
|
|
min-height: 20px;
|
|
}
|