@kelvininc/ui-components
Version:
Kelvin UI Components
62 lines (60 loc) • 1.45 kB
CSS
/** HEADINGS **/
/** LABELS **/
/** SPANS **/
/** PARAGRAPHS **/
/** CODE/CONSOLE **/
@property --rotation {
syntax: "<angle>";
initial-value: 0deg;
inherits: false;
}
@keyframes rotate-border {
to {
--rotation: 360deg;
}
}
/**
* @prop --step-label-color: The color of the label.
* @prop --step-counter-color: The color of the step counter.
*/
:host {
--step-label-color: var(--kv-neutral-0, #fff);
--step-counter-color: var(--kv-neutral-1, #f2f2f6);
}
.label-container .label {
font-family: var(--kv-primary-font, "proxima-nova", sans-serif, "Arial");
font-size: 12px;
font-weight: 600;
font-stretch: normal;
font-style: normal;
line-height: 18px;
letter-spacing: normal;
text-transform: none;
color: var(--step-label-color);
}
.label-container .step-counter {
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(--step-counter-color);
margin-left: var(--kv-spacing, 4px);
}
.progress-bar-container {
margin-top: var(--kv-spacing, 4px);
}
.progress-bar-container kv-step-progress-bar {
--progress-bar-height: 2px;
--progress-height: 14px;
}
.progress-bar-container kv-step-indicator {
--indicator-radius: 14px;
}
.progress-bar-container .step-indicator-container {
display: flex;
align-items: center;
}