@kelvininc/ui-components
Version:
Kelvin UI Components
115 lines (106 loc) • 2.77 kB
CSS
/** HEADINGS **/
/** LABELS **/
/** SPANS **/
/** PARAGRAPHS **/
/** CODE/CONSOLE **/
@property --rotation {
syntax: "<angle>";
initial-value: 0deg;
inherits: false;
}
@keyframes rotate-border {
to {
--rotation: 360deg;
}
}
: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: var(--kv-primary-font, "proxima-nova", sans-serif, "Arial");
font-size: 12px;
font-weight: 400;
font-stretch: normal;
font-style: normal;
line-height: 18px;
letter-spacing: normal;
text-transform: none;
color: var(--kv-neutral-4, #bebebe);
text-wrap: nowrap;
}
.counter {
display: flex;
align-items: center;
color: var(--kv-neutral-4, #bebebe);
font-family: var(--kv-primary-font, "proxima-nova", sans-serif, "Arial");
font-size: 10px;
font-weight: 400;
font-stretch: normal;
font-style: normal;
line-height: 15px;
letter-spacing: normal;
text-transform: none;
}
.create-new-option-container {
position: absolute;
top: 0;
left: 0;
border-radius: 4px;
border: 1px solid var(--kv-neutral-6, #3f3f3f);
width: calc(100% - 2px);
height: calc(100% - 2px);
background: rgba(var(--kv-neutral-7-rgb, 42, 42, 42), 0.8);
z-index: 1;
}
.create-new-option-container.has-shortcuts .create-new-option-form {
bottom: 36px;
border-bottom: 1px solid var(--kv-neutral-6, #3f3f3f);
}
.form-container {
background: var(--kv-neutral-7, #2a2a2a);
padding: var(--kv-spacing-3x, 12px) var(--kv-spacing-4x, 16px);
}
.create-new-option-form {
width: 100%;
position: absolute;
bottom: 0;
left: 0;
border-top: 1px solid var(--kv-neutral-6, #3f3f3f);
}
.create-new-option-button {
border-top: 1px solid var(--kv-neutral-6, #3f3f3f);
padding: var(--kv-spacing-3x, 12px) 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(--kv-spacing-8x, 32px) var(--kv-spacing-3x, 12px);
align-self: center;
}