@kelvininc/ui-components
Version:
Kelvin UI Components
97 lines (93 loc) • 2.63 kB
CSS
@charset "UTF-8";
/** HEADINGS **/
/** LABELS **/
/** SPANS **/
/** PARAGRAPHS **/
/** CODE/CONSOLE **/
@property --rotation {
syntax: "<angle>";
initial-value: 0deg;
inherits: false;
}
@keyframes rotate-border {
to {
--rotation: 360deg;
}
}
:host {
/**
* @prop --select-max-height: Select maximum height.
* @prop --select-min-height: Select minimum height.
* @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(--kv-neutral-7, #2a2a2a);
--select-border: 1px solid var(--kv-neutral-6, #3f3f3f);
--select-inner-border: 1px solid var(--kv-neutral-6, #3f3f3f);
--select-border-radius: var(--kv-spacing, 4px);
}
.select-container {
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);
}
.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: calc(var(--select-max-height) - var(--kv-spacing-3x, 12px) * 2);
--virtualized-list-min-height: var(--select-min-height);
}
.select-header-container {
display: flex;
flex-direction: column;
gap: var(--kv-spacing-3x, 12px);
padding: var(--kv-spacing-3x, 12px) var(--kv-spacing-4x, 16px);
border-bottom: var(--select-inner-border);
}
.search-footer {
display: flex;
flex-direction: row;
justify-content: space-between;
gap: var(--kv-spacing-3x, 12px);
}
.search-footer .footer-actions {
font-family: var(--kv-primary-font, "proxima-nova", sans-serif, "Arial");
font-size: 12px;
font-weight: 400;
font-stretch: normal;
font-style: normal;
line-height: 18px;
letter-spacing: normal;
text-transform: none;
display: flex;
flex-direction: row;
align-items: center;
gap: calc(var(--kv-spacing-2x, 8px));
color: var(--kv-neutral-4, #bebebe);
}
.search-footer .action {
user-select: none;
cursor: pointer;
position: relative;
text-wrap: nowrap;
}
.search-footer .action--disabled {
pointer-events: none;
color: var(--kv-neutral-5, #707070);
}
.search-footer .divider {
height: 12px;
width: 1px;
background-color: var(--kv-neutral-6, #3f3f3f);
}