@kelvininc/ui-components
Version:
Kelvin UI Components
94 lines (92 loc) • 2.47 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 --time-picker-select-option-padding: Select padding.
* @prop --time-picker-select-option-background-color: Background color.
* @prop --time-picker-select-option-height: Select option height.
*/
--time-picker-select-option-padding: 0 var(--spacing-2xl);
--time-picker-select-option-background-color: transparent;
--time-picker-select-option-height: 32px;
}
.select-option {
height: var(--time-picker-select-option-height);
padding: var(--time-picker-select-option-padding);
display: flex;
align-items: center;
user-select: none;
cursor: pointer;
background-color: var(--time-picker-select-option-background-color);
transition: background-color 100ms linear;
}
.select-option .text-container {
display: flex;
justify-content: space-between;
align-items: center;
min-width: 0;
width: 100%;
}
.select-option .text-container .item-label {
font-family: Proxima Nova;
font-weight: 400;
font-size: 14px;
line-height: 20px;
letter-spacing: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transition: font-weight 100ms linear;
color: var(--text-interactive-slider-list-default);
}
.select-option .text-container .item-description {
font-family: Proxima Nova;
font-weight: 400;
font-size: 12px;
line-height: 16px;
letter-spacing: 0;
color: var(--text-on-color-neutral-tertiary);
}
.select-option:hover {
background-color: var(--background-interactive-slider-list-hover);
}
.select-option.selected {
background-color: var(--background-interactive-slider-list-selected);
}
.select-option.selected .item-label {
font-family: Proxima Nova;
font-weight: 600;
font-size: 14px;
line-height: 20px;
letter-spacing: 0;
color: var(--text-interactive-slider-list-selected);
}
.select-option.selected .item-description {
font-family: Proxima Nova;
font-weight: 600;
font-size: 12px;
line-height: 16px;
letter-spacing: 0;
transition: font-weight 100ms linear;
color: var(--text-interactive-slider-list-default);
}