UNPKG

@kelvininc/ui-components

Version:
64 lines (63 loc) 1.75 kB
/** HEADINGS **/ /** LABELS **/ /** SPANS **/ /** PARAGRAPHS **/ /** CODE/CONSOLE **/ @property --rotation { syntax: "<angle>"; initial-value: 0deg; inherits: false; } @keyframes rotate-border { to { --rotation: 360deg; } } :host { /** * @prop --background-color: Background color. */ --background-color: var(--kv-neutral-7, #2a2a2a); --min-height: 233px; } .relative-time-container { display: flex; flex-direction: column; width: 328px; max-height: var(--max-height); background-color: var(--background-color); } .relative-time-container .relative-time-selector { padding: var(--padding-size) 0; display: flex; flex-direction: column; gap: var(--group-gap); overflow: auto; min-height: var(--min-height); } .relative-time-container .relative-time-selector::-webkit-scrollbar { width: 15px; height: 15px; } .relative-time-container .relative-time-selector::-webkit-scrollbar-thumb { border-radius: 10px; background-color: var(--kv-neutral-6, #3f3f3f); border: 4px solid transparent; background-clip: content-box; } .relative-time-container .relative-time-selector::-webkit-scrollbar-corner { background-color: transparent; } .relative-time-container .relative-time-selector kv-time-picker-select-option { --time-picker-select-option-height: var(--option-height); } .relative-time-container .relative-time-selector--has-scroll kv-time-picker-select-option { --time-picker-select-option-padding: 0 var(--kv-spacing, 4px) 0 var(--kv-spacing-4x, 16px); } .relative-time-container .selectable { border-top: 1px solid var(--kv-neutral-6, #3f3f3f); padding: var(--kv-spacing, 4px) 0; } .relative-time-container .selectable kv-single-select-dropdown { --dropdown-max-height: 210px; }