@kelvininc/ui-components
Version:
Kelvin UI Components
117 lines (107 loc) • 2.87 kB
CSS
/** 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-list-max-height: Select list maximum height.
* @prop --select-list-min-height: Select list minimum height.
* @prop --select-list-max-width: Select list maximum width.
* @prop --select-list-min-width: Select list minimum width.
*/
--select-list-max-height: 400px;
--select-list-min-height: auto;
--select-list-max-width: auto;
--select-list-min-width: max-content;
}
kv-select {
--select-max-height: var(--select-list-max-height);
--select-min-height: var(--select-list-min-height);
--select-max-width: var(--select-list-max-width);
--select-min-width: var(--select-list-min-width);
}
.select-header-label {
overflow: hidden;
max-width: 110px;
}
.selected-items-label {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-family: Proxima Nova;
font-weight: 400;
font-size: 12px;
line-height: 16px;
letter-spacing: 0;
color: var(--text-container-neutral-subtle);
text-wrap: nowrap;
}
.counter {
display: flex;
align-items: center;
color: var(--text-container-neutral-subtle);
font-family: Proxima Nova;
font-weight: 400;
font-size: 10px;
line-height: 14px;
letter-spacing: 0;
}
.create-new-option-container {
position: absolute;
top: 0;
left: 0;
border-radius: var(--slider-radius-default);
border: var(--slider-border-thickness-default) solid var(--slider-border-color-default);
width: 100%;
height: calc(100% - 2px);
background: var(--overlay-interactive-opacity-16);
z-index: 1;
}
.create-new-option-container.has-shortcuts .create-new-option-form {
bottom: 36px;
border-bottom: var(--slider-border-thickness-default) solid var(--slider-border-color-default);
}
.form-container {
background: var(--slider-background-default);
padding: var(--spacing-xl) var(--spacing-2xl);
}
.create-new-option-form {
width: 100%;
position: absolute;
bottom: 0;
left: 0;
border-top: var(--slider-border-thickness-default) solid var(--slider-border-color-default);
}
.create-new-option-button {
border-top: var(--slider-border-thickness-default) solid var(--slider-border-color-default);
padding: var(--spacing-xl) 0;
}
.no-results-found,
.no-data-available {
display: flex;
flex-direction: column;
}
.no-results-found .illustration-message,
.no-data-available .illustration-message {
max-width: 292px;
padding: var(--spacing-5xl) var(--spacing-xl);
align-self: center;
}