migrate to new git
This commit is contained in:
22
web/App_Script/sweetalert2-9.10.9/src/scss/_mixins.scss
Normal file
22
web/App_Script/sweetalert2-9.10.9/src/scss/_mixins.scss
Normal file
@@ -0,0 +1,22 @@
|
||||
@mixin ie {
|
||||
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
// https://stackoverflow.com/a/30250161
|
||||
@mixin not($ignor-list...) {
|
||||
@if (length($ignor-list) == 1) {
|
||||
$ignor-list: nth($ignor-list, 1);
|
||||
}
|
||||
|
||||
$not-output: '';
|
||||
|
||||
@each $not in $ignor-list {
|
||||
$not-output: $not-output + ':not(#{$not})'; // stylelint-disable-line scss/no-duplicate-dollar-variables
|
||||
}
|
||||
|
||||
&#{$not-output} {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user