feat(uti): Compiled CSS
[csit.git] / resources / tools / dash / app / pal / static / sass / bootstrap / mixins / _box-shadow.scss
diff --git a/resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_box-shadow.scss b/resources/tools/dash/app/pal/static/sass/bootstrap/mixins/_box-shadow.scss
new file mode 100644 (file)
index 0000000..4172541
--- /dev/null
@@ -0,0 +1,18 @@
+@mixin box-shadow($shadow...) {
+  @if $enable-shadows {
+    $result: ();
+
+    @each $value in $shadow {
+      @if $value != null {
+        $result: append($result, $value, "comma");
+      }
+      @if $value == none and length($shadow) > 1 {
+        @warn "The keyword 'none' must be used as a single argument.";
+      }
+    }
+
+    @if (length($result) > 0) {
+      box-shadow: $result;
+    }
+  }
+}