noble/resources/sass/components/_bootstrap-alert.scss

32 lines
573 B
SCSS
Raw Normal View History

2023-05-16 15:54:23 +03:00
// Bootstrap Alert
@each $state, $value in $theme-colors {
// Basic alerts
.alert-#{$state} {
background-color: rgba($value, .1);
color: darken($value, 5%);
border-color: rgba($value, .2);
.alert-link {
color: darken($value, 5%);
}
svg {
width: 19px;
height: 19px;
margin-right: .5rem;
}
i {
font-size: 19px;
margin-right: .5rem;
}
}
// Fill alerts
.alert-fill-#{$state} {
@include alert-variant($value, $value, $white);
&.alert-fill-light {
color: $text-muted;
}
}
}