mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
3c562c1398
- add collapsible search groups - reduce modal padding - reduce command item padding - use breadcrumbs for pagination - move page breadcrumbs to the bottom
45 lines
906 B
CSS
45 lines
906 B
CSS
input[cmdk-input] {
|
|
width: 100%;
|
|
font-size: var(--theme-font-size-md);
|
|
border: none;
|
|
border-radius: var(--theme-radius-sm);
|
|
}
|
|
|
|
[cmdk-group-heading] {
|
|
margin: var(--theme-spacing-md) 0;
|
|
font-size: var(--theme-font-size-sm);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
[cmdk-group-items] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
[cmdk-item] {
|
|
display: flex;
|
|
gap: var(--theme-spacing-sm);
|
|
align-items: center;
|
|
padding: var(--theme-spacing-sm);
|
|
font-size: var(--theme-font-size-md);
|
|
color: var(--theme-colors-foreground);
|
|
cursor: pointer;
|
|
border-radius: var(--theme-radius-sm);
|
|
|
|
svg {
|
|
width: 1.2rem;
|
|
height: 1.2rem;
|
|
}
|
|
|
|
&[data-selected='true'] {
|
|
background: var(--theme-colors-surface);
|
|
}
|
|
}
|
|
|
|
[cmdk-separator] {
|
|
height: 1px;
|
|
margin: 0 0 var(--theme-spacing-sm);
|
|
background: var(--theme-colors-border);
|
|
}
|