feishin/src/renderer/features/sidebar/components/collapsed-sidebar-item.module.css
Jeff c1330d92b2
Migrate to Mantine v8 and Design Changes (#961)
* mantine v8 migration

* various design changes and improvements
2025-06-24 00:04:36 -07:00

68 lines
1.2 KiB
CSS

.container {
position: relative;
width: 100%;
padding: 0.9rem 0.3rem;
color: var(--theme-colors-foreground-muted);
cursor: pointer;
&:focus-visible {
outline: none;
}
svg {
fill: var(--theme-colors-foreground-muted);
}
&:hover {
color: var(--theme-colors-foreground);
svg {
fill: var(--theme-colors-foreground);
}
}
}
.container.active {
svg {
fill: var(--theme-colors-primary-filled);
}
}
.container.disabled {
pointer-events: none;
cursor: default;
user-select: none;
opacity: 0.6;
&:hover {
div {
color: var(--theme-colors-foreground) !important;
}
svg {
fill: var(--theme-colors-primary-filled);
}
}
}
.text-wrapper {
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
text-align: center;
white-space: pre-line;
}
.text-wrapper.active {
color: var(--theme-colors-foreground);
}
.active-tab-indicator {
position: absolute;
inset: 0 0 0 3px;
width: 2px;
height: 80%;
margin-top: auto;
margin-bottom: auto;
background: var(--theme-colors-primary-filled);
}