@kelvininc/ui-components
Version:
Kelvin UI Components
105 lines (100 loc) • 2.83 kB
CSS
@charset "UTF-8";
/** HEADINGS **/
/** LABELS **/
/** SPANS **/
/** PARAGRAPHS **/
/** TODO: CODE/CONSOLE **/
@property --rotation {
syntax: "<angle>";
initial-value: 0deg;
inherits: false;
}
@keyframes rotate-border {
to {
--rotation: 360deg;
}
}
/**
* Design Tokens - Auto-generated by Style Dictionary
* Do not edit manually - run `pnpm tokens:build` to regenerate
*/
kv-dropdown-base:not(.hydrated) > [slot=list] {
display: none;
}
:host {
/**
* @prop --select-max-height: Select maximum height.
* @prop --select-min-height: Select minimum height.
* @prop --select-max-width: Select maximum width.
* @prop --select-min-width: Select minimum width.
* @prop --select-background-color: Select background color.
* @prop --select-border: Select border style.
* @prop --select-inner-border: Select inner border style.
* @prop --select-border-radius: Select border radius.
*/
--select-max-height: 400px;
--select-min-height: auto;
--select-max-width: auto;
--select-min-width: max-content;
--select-background-color: var(--slider-background-default);
--select-border: var(--slider-border-thickness-default) solid var(--slider-border-color-default);
--select-inner-border: 1px solid var(--border-on-color-neutral-default);
--select-border-radius: var(--slider-radius-default);
}
.select-container {
display: flex;
flex-direction: column;
max-width: var(--select-max-width);
min-width: var(--select-min-width);
border: var(--select-border);
border-radius: var(--select-border-radius);
overflow: hidden;
background-color: var(--select-background-color);
gap: var(--slider-gap-default);
padding-top: var(--slider-padding-default);
}
.select-options-container {
max-height: var(--select-max-height);
min-height: var(--select-min-height);
}
.select-options-container ::slotted(kv-virtualized-list) {
--virtualized-list-max-height: var(--select-max-height);
--virtualized-list-min-height: var(--select-min-height);
--virtualized-list-padding: 0;
}
.select-header-container {
display: flex;
flex-direction: column;
gap: var(--spacing-md);
padding: 0 var(--spacing-xl) var(--spacing-md);
border-bottom: var(--select-inner-border);
}
.search-footer {
display: flex;
flex-direction: row;
justify-content: space-between;
gap: var(--spacing-xl);
}
.search-footer .footer-actions {
font-family: Proxima Nova;
font-weight: 400;
font-size: 12px;
line-height: 16px;
letter-spacing: 0;
display: flex;
flex-direction: row;
align-items: center;
gap: var(--spacing-xs);
color: var(--text-container-neutral-subtle);
}
.search-footer .divider {
display: flex;
height: 100%;
}
.search-footer .divider::after {
content: "";
display: flex;
flex: 1;
width: 1px;
background: var(--text-on-color-neutral-muted);
}