X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fdash%2Fapp%2Fpal%2Fstatic%2Fsass%2Fbootstrap%2Fmixins%2F_alert.scss;fp=resources%2Ftools%2Fdash%2Fapp%2Fpal%2Fstatic%2Fsass%2Fbootstrap%2Fmixins%2F_alert.scss;h=231f068ec436a748252a717856730c0253c7c3ef;hp=0000000000000000000000000000000000000000;hb=f8bdd103ff86c171f6db6cef657c7ecbe97763a1;hpb=69fd124979890cac21bd0dbc7ef442563f175372 diff --git a/resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_alert.scss b/resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_alert.scss new file mode 100644 index 0000000000..231f068ec4 --- /dev/null +++ b/resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_alert.scss @@ -0,0 +1,15 @@ +// scss-docs-start alert-variant-mixin +@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); + } + + .alert-link { + color: shade-color($color, 20%); + } +} +// scss-docs-end alert-variant-mixin