1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 23:55:24 +00:00
webvirtcloud/dev/scss/bootstrap/mixins/_alert.scss

16 lines
393 B
SCSS
Raw Normal View History

// scss-docs-start alert-variant-mixin
2020-05-19 16:53:54 +00:00
@mixin alert-variant($background, $border, $color) {
--#{$prefix}alert-color: #{$color};
--#{$prefix}alert-bg: #{$background};
--#{$prefix}alert-border-color: #{$border};
@if $enable-gradients {
background-image: var(--#{$prefix}gradient);
}
2020-05-19 16:53:54 +00:00
.alert-link {
color: shade-color($color, 20%);
2020-05-19 16:53:54 +00:00
}
}
// scss-docs-end alert-variant-mixin