mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-20 04:14:12 +01:00
antagonist settings
This commit is contained in:
15 files changed
+654
-475
No files matched your search
@@ -0,0 +1,62 @@
|
||||
.Trigger {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-3);
|
||||
|
||||
padding: var(--space-3) var(--space-4);
|
||||
border: none;
|
||||
border-radius: var(--max-size);
|
||||
|
||||
background-color: var(--gray-1);
|
||||
outline: var(--outline-interactive);
|
||||
color: var(--gray-12);
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
|
||||
&:focus-visible {
|
||||
outline: var(--outline-focus);
|
||||
box-shadow: var(--shadow-focus);
|
||||
}
|
||||
}
|
||||
|
||||
.Content {
|
||||
/* above popovers */
|
||||
z-index: 2;
|
||||
|
||||
overflow: hidden;
|
||||
background-color: var(--gray-2);
|
||||
box-shadow: var(--shadow-subtle);
|
||||
border-radius: var(--space-4);
|
||||
outline: var(--outline-interactive) !important;
|
||||
}
|
||||
|
||||
.Item {
|
||||
position: relative;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
padding: var(--space-3) var(--space-4) var(--space-3) var(--space-5);
|
||||
background-color: var(--gray-3);
|
||||
|
||||
font-size: var(--font-size-minor);
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
|
||||
&[data-highlighted] {
|
||||
outline: none;
|
||||
background-color: var(--gray-5);
|
||||
}
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom: var(--space-1) solid var(--gray-2);
|
||||
}
|
||||
}
|
||||
|
||||
.ItemIndicator {
|
||||
position: absolute;
|
||||
left: var(--space-3);
|
||||
|
||||
display: flex;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { Select as _ } from "radix-ui";
|
||||
import { composeRadixComponents } from "../../ui/compose";
|
||||
import styles from "./index.module.css";
|
||||
|
||||
export const Select = composeRadixComponents(_, styles);
|
||||
Reference in new issue
Block a user