@kelvininc/ui-components
Version:
Kelvin UI Components
68 lines (64 loc) • 1.59 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 --image-width: The illustration image width.
* @prop --image-height: The illustration image height.
* @prop --header-color: The illustration header text color.
* @prop --description-color: The illustration description text color.
*/
--image-width: 60px;
--image-height: auto;
--header-color: var(--kv-neutral-2, #e5e5e5);
--description-color: var(--kv-neutral-4, #bebebe);
}
.illustration-message {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.image {
margin-bottom: var(--kv-spacing-3x, 12px);
--illustration-width: var(--image-width);
--illustration-height: var(--image-height);
}
.header {
color: var(--header-color);
text-align: center;
font-family: var(--kv-primary-font, "proxima-nova", sans-serif, "Arial");
font-size: 14px;
font-weight: 600;
font-stretch: normal;
font-style: normal;
line-height: 21px;
letter-spacing: normal;
text-transform: none;
}
.description {
color: var(--description-color);
text-align: center;
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;
white-space: break-spaces;
margin-top: var(--kv-spacing, 4px);
}