|
|
@ -1,107 +1,107 @@
|
|
|
|
@import '../abstracts/variables';
|
|
|
|
@import "../abstracts/variables";
|
|
|
|
|
|
|
|
|
|
|
|
.alert {
|
|
|
|
.alert {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
padding: 6px 16px;
|
|
|
|
padding: 6px 16px;
|
|
|
|
border-radius: var(--default-borderradius);
|
|
|
|
border-radius: var(--default-borderradius);
|
|
|
|
background-color: transparent;
|
|
|
|
background-color: transparent;
|
|
|
|
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
|
|
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
|
|
|
|
|
|
|
|
|
|
&.square {
|
|
|
|
&.square {
|
|
|
|
border-radius: 0px;
|
|
|
|
border-radius: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.dense {
|
|
|
|
&.dense {
|
|
|
|
padding: 0px 12px;
|
|
|
|
padding: 0px 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-text {
|
|
|
|
.alert-text {
|
|
|
|
&-normal {
|
|
|
|
&-normal {
|
|
|
|
color: var(--palette-text-primary);
|
|
|
|
color: var(--palette-text-primary);
|
|
|
|
background-color: var(--palette-dark-hover);
|
|
|
|
background-color: var(--palette-dark-hover);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@each $color in $palette-colors {
|
|
|
|
@each $color in $palette-colors {
|
|
|
|
&-#{$color} {
|
|
|
|
&-#{$color} {
|
|
|
|
color: var(--palette-#{$color}-darken);
|
|
|
|
color: var(--palette-#{$color}-darken);
|
|
|
|
background-color: var(--palette-#{$color}-hover);
|
|
|
|
background-color: var(--palette-#{$color}-hover);
|
|
|
|
|
|
|
|
|
|
|
|
& .alert-icon {
|
|
|
|
& .alert-icon {
|
|
|
|
color: var(--palette-#{$color});
|
|
|
|
color: var(--palette-#{$color});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-outlined {
|
|
|
|
.alert-outlined {
|
|
|
|
&-normal {
|
|
|
|
&-normal {
|
|
|
|
color: var(--palette-text-primary);
|
|
|
|
color: var(--palette-text-primary);
|
|
|
|
border: 1px solid var(--palette-text-primary);
|
|
|
|
border: 1px solid var(--palette-text-primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@each $color in $palette-colors {
|
|
|
|
@each $color in $palette-colors {
|
|
|
|
&-#{$color} {
|
|
|
|
&-#{$color} {
|
|
|
|
color: var(--palette-#{$color}-darken);
|
|
|
|
color: var(--palette-#{$color}-darken);
|
|
|
|
border: 1px solid var(--palette-#{$color});
|
|
|
|
border: 1px solid var(--palette-#{$color});
|
|
|
|
|
|
|
|
|
|
|
|
& .alert-icon {
|
|
|
|
& .alert-icon {
|
|
|
|
color: var(--palette-#{$color});
|
|
|
|
color: var(--palette-#{$color});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-filled {
|
|
|
|
.alert-filled {
|
|
|
|
&-normal {
|
|
|
|
&-normal {
|
|
|
|
color: var(--palette-dark-text);
|
|
|
|
color: var(--palette-dark-text);
|
|
|
|
font-weight: 500;
|
|
|
|
font-weight: 500;
|
|
|
|
background-color: var(--palette-dark);
|
|
|
|
background-color: var(--palette-dark);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@each $color in $palette-colors {
|
|
|
|
@each $color in $palette-colors {
|
|
|
|
&-#{$color} {
|
|
|
|
&-#{$color} {
|
|
|
|
color: var(--palette-#{$color}-text);
|
|
|
|
color: var(--palette-#{$color}-text);
|
|
|
|
font-weight: 500;
|
|
|
|
font-weight: 500;
|
|
|
|
background-color: var(--palette-#{$color});
|
|
|
|
background-color: var(--palette-#{$color});
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-icon {
|
|
|
|
.alert-icon {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
opacity: 0.9;
|
|
|
|
opacity: 0.9;
|
|
|
|
padding: 7px 0;
|
|
|
|
padding: 7px 0;
|
|
|
|
font-size: 22px;
|
|
|
|
font-size: 22px;
|
|
|
|
|
|
|
|
margin-right: 12px;
|
|
|
|
|
|
|
|
margin-inline-end: 12px;
|
|
|
|
|
|
|
|
margin-inline-start: unset;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&.alert-icon-left {
|
|
|
|
margin-right: 12px;
|
|
|
|
margin-right: 12px;
|
|
|
|
margin-inline-end: 12px;
|
|
|
|
margin-inline-end: 12px;
|
|
|
|
margin-inline-start: unset;
|
|
|
|
margin-inline-start: unset;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.alert-icon-left {
|
|
|
|
&.alert-icon-right {
|
|
|
|
margin-right: 12px;
|
|
|
|
margin-left: 12px;
|
|
|
|
margin-inline-end: 12px;
|
|
|
|
margin-inline-start: 12px;
|
|
|
|
margin-inline-start: unset;
|
|
|
|
margin-inline-end: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.alert-icon-right {
|
|
|
|
|
|
|
|
margin-left: 12px;
|
|
|
|
|
|
|
|
margin-inline-start: 12px;
|
|
|
|
|
|
|
|
margin-inline-end: unset;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-message {
|
|
|
|
.alert-message {
|
|
|
|
padding: 9px 0;
|
|
|
|
padding: 9px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-position {
|
|
|
|
.alert-position {
|
|
|
|
flex: 1;
|
|
|
|
//flex: 1;
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.alert-close {
|
|
|
|
.alert-close {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex: 0;
|
|
|
|
flex: 0;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: 8px;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|