@kelvininc/ui-components
Version:
Kelvin UI Components
88 lines (86 loc) • 2.04 kB
CSS
/** HEADINGS **/
/** LABELS **/
/** SPANS **/
/** PARAGRAPHS **/
/** CODE/CONSOLE **/
@property --rotation {
syntax: "<angle>";
initial-value: 0deg;
inherits: false;
}
@keyframes rotate-border {
to {
--rotation: 360deg;
}
}
.alert-container {
background-color: #fff;
}
.alert {
display: flex;
padding: var(--kv-spacing-4x, 16px);
justify-content: space-between;
align-items: center;
}
.alert--type-info {
background-color: rgba(var(--kv-info-light-rgb, 198, 218, 255), 0.4);
}
.alert--type-info kv-icon {
--icon-color: var(--kv-info, #276ef1);
}
.alert--type-error {
background-color: rgba(var(--kv-error-light-rgb, 249, 209, 204), 0.4);
}
.alert--type-error kv-icon {
--icon-color: var(--kv-error, #e11900);
}
.alert--type-success {
background-color: rgba(var(--kv-success-light-rgb, 223, 247, 230), 0.4);
}
.alert--type-success kv-icon {
--icon-color: var(--kv-success, #05a357);
}
.alert--type-warning {
background-color: rgba(var(--kv-warning-light-rgb, 255, 227, 172), 0.4);
}
.alert--type-warning kv-icon {
--icon-color: var(--kv-warning, #ffc043);
}
.alert .information {
display: flex;
align-items: center;
}
.alert .information kv-icon {
--icon-height: 24px;
--icon-width: 24px;
}
.alert .information .icon {
margin-right: var(--kv-spacing-3x, 12px);
}
.alert .information .title {
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;
color: var(--kv-neutral-9, #121212);
}
.alert .information .description {
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-6, #3f3f3f);
margin-top: var(--kv-spacing, 4px);
}
.alert--size-small {
flex-direction: column;
align-items: flex-start;
}