2019-11-25 17:43:25 +00:00
|
|
|
%inline-alert {
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
%inline-alert-success,
|
|
|
|
%inline-alert-info,
|
|
|
|
%inline-alert-error,
|
|
|
|
%inline-alert-warning {
|
|
|
|
@extend %inline-alert;
|
|
|
|
}
|
|
|
|
%inline-alert {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
%inline-alert-error {
|
|
|
|
color: $color-failure;
|
|
|
|
}
|
|
|
|
%inline-alert::before {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2021-06-22 17:56:17 +00:00
|
|
|
%inline-alert::before {
|
2019-11-25 17:43:25 +00:00
|
|
|
@extend %as-pseudo;
|
|
|
|
}
|
2021-06-22 17:56:17 +00:00
|
|
|
%inline-alert-success::before {
|
|
|
|
@extend %with-check-circle-fill-mask;
|
|
|
|
color: $green-500;
|
|
|
|
}
|
2019-11-25 17:43:25 +00:00
|
|
|
%inline-alert-error::before {
|
2021-06-22 17:56:17 +00:00
|
|
|
@extend %with-cancel-square-fill-mask;
|
|
|
|
color: $red-500;
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|
|
|
|
%inline-alert-warning::before {
|
2021-06-22 17:56:17 +00:00
|
|
|
@extend %with-alert-triangle-mask;
|
|
|
|
color: $orange-500;
|
2019-11-25 17:43:25 +00:00
|
|
|
/* the warning triangle always looks */
|
|
|
|
/* too low just because its a triangle */
|
|
|
|
/* this tweak make it look better */
|
|
|
|
margin-top: -9px;
|
|
|
|
}
|
|
|
|
%inline-alert-info::before {
|
2021-06-22 17:56:17 +00:00
|
|
|
@extend %with-info-circle-fill-mask;
|
|
|
|
color: $blue-500;
|
2019-11-25 17:43:25 +00:00
|
|
|
}
|