@kelvininc/ui-components
Version:
Kelvin UI Components
96 lines (95 loc) • 2.24 kB
CSS
/** HEADINGS **/
/** LABELS **/
/** SPANS **/
/** PARAGRAPHS **/
/** CODE/CONSOLE **/
@property --rotation {
syntax: "<angle>";
initial-value: 0deg;
inherits: false;
}
@keyframes rotate-border {
to {
--rotation: 360deg;
}
}
.time-range-content {
background-color: var(--kv-neutral-7, #2a2a2a);
border: 1px solid var(--kv-neutral-6, #3f3f3f);
border-radius: 4px;
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(--kv-neutral-6, #3f3f3f);
}
.time-range-content .calendar-range {
position: absolute;
right: -448px;
z-index: 1;
transition: all 0.3s ease-in-out;
background-color: var(--kv-neutral-7, #2a2a2a);
border-top-right-radius: 4px;
border-top-left-radius: 4px;
}
.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(--kv-spacing-4x, 16px);
border-top: 1px solid var(--kv-neutral-6, #3f3f3f);
}
.footer .toggle-wrapper {
display: flex;
}
.footer .show-calendar-toggle {
display: flex;
gap: var(--kv-spacing-2x, 8px);
align-items: center;
}
.footer .show-calendar-toggle .toggle-text {
font-family: var(--kv-primary-font, "proxima-nova", sans-serif, "Arial");
font-size: 14px;
font-weight: 400;
font-stretch: normal;
font-style: normal;
line-height: 21px;
letter-spacing: normal;
text-transform: none;
color: var(--kv-neutral-2, #e5e5e5);
}
.footer .actions {
display: flex;
gap: var(--kv-spacing-2x, 8px);
}