Files
feishin/src/renderer/features/sidebar/components/sidebar-item.module.css
T
2025-12-14 05:12:24 -08:00

54 lines
1017 B
CSS

.item {
width: 100%;
font-family: var(--theme-content-font-family);
font-size: var(--theme-font-size-md);
font-weight: 600;
&:focus-visible {
border: 1px solid var(--theme-colors-primary-filled);
}
}
.root {
padding-right: var(--theme-spacing-md);
padding-left: var(--theme-spacing-md);
cursor: default;
}
.inner {
display: flex;
justify-content: flex-start;
width: 100%;
}
.label {
display: block;
align-content: center;
overflow: hidden;
text-overflow: ellipsis;
font-weight: 500;
white-space: nowrap;
}
.link {
display: flex;
width: 100%;
font-size: var(--theme-font-size-md);
color: var(--theme-colors-foreground);
border: 1px transparent solid;
transition: color 0.2s ease-in-out;
&:focus-visible {
border: 1px solid var(--theme-colors-primary-filled);
}
}
.link.active {
color: var(--theme-colors-primary-filled);
}
.link.disabled {
pointer-events: none;
opacity: 0.6;
}