laravelEcomm/public/Dashboard/scss/common/light/components/_bootstrap-alerts.scss

24 lines
522 B
SCSS
Raw Normal View History

2024-07-12 07:06:02 +00:00
/* Bootstrap Alerts */
.alert {
font-size: $default-font-size;
i {
font-size: 1.25rem;
margin-right: 1.25rem;
vertical-align: middle;
line-height: .5;
}
}
@each $color, $value in $theme-colors {
.alert-#{$color} {
@include alert-variant(rgba(theme-color($color), .2), theme-color-level($color, 1), theme-color-level($color, 3));
}
}
@each $color, $value in $theme-colors {
.alert-fill-#{$color} {
@include alert-variant(theme-color($color), theme-color($color), color(white));
}
}