@kelvininc/ui-components
Version:
Kelvin UI Components
101 lines (99 loc) • 2.39 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;
}
.time-range-content {
background-color: var(--background-container-elevated-slider);
border: 1px solid var(--slider-border-color-default);
border-radius: var(--radius-md);
width: max-content;
}
.time-range-content .content-wrapper {
position: relative;
display: flex;
overflow: hidden;
transition: all 0.3s ease-in-out;
}
.time-range-content .content-wrapper--relative {
height: 347px;
width: 328px;
}
.time-range-content .content-wrapper--absolute {
height: 377px;
width: 448px;
}
.time-range-content .content-wrapper--full-view {
height: 347px;
width: 779px;
}
.time-range-content .relative-range {
position: absolute;
}
.time-range-content .relative-range kv-relative-time-picker {
--background-color: transparent;
}
.time-range-content .relative-range--full-view {
border-right: 1px solid var(--slider-border-color-default);
}
.time-range-content .calendar-range {
position: absolute;
right: -448px;
z-index: 1;
transition: all 0.3s ease-in-out;
background-color: var(--background-container-elevated-slider);
border-top-right-radius: var(--radius-md);
border-top-left-radius: var(--radius-md);
}
.time-range-content .calendar-range--visible {
right: 0;
}
.time-range-content .calendar-range--full-view {
right: 0;
}
.time-range-content kv-absolute-time-picker .absolute-time-picker-container {
background-color: transparent;
}
.footer {
display: flex;
justify-content: space-between;
padding: var(--spacing-2xl);
border-top: 1px solid var(--slider-border-color-default);
}
.footer .toggle-wrapper {
display: flex;
}
.footer .show-calendar-toggle {
display: flex;
gap: var(--spacing-md);
align-items: center;
}
.footer .show-calendar-toggle .toggle-text {
font-family: Proxima Nova;
font-weight: 400;
font-size: 12px;
line-height: 16px;
letter-spacing: 0;
color: var(--text-surface-neutral-tertiary);
}
.footer .actions {
display: flex;
gap: var(--spacing-md);
}