main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 6 months ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
398 bytes
|
Rev | Line | |
---|
[d565449] | 1 | @mixin box-shadow($shadow...) {
|
---|
| 2 | @if $enable-shadows {
|
---|
| 3 | $result: ();
|
---|
| 4 |
|
---|
| 5 | @each $value in $shadow {
|
---|
| 6 | @if $value != null {
|
---|
| 7 | $result: append($result, $value, "comma");
|
---|
| 8 | }
|
---|
| 9 | @if $value == none and length($shadow) > 1 {
|
---|
| 10 | @warn "The keyword 'none' must be used as a single argument.";
|
---|
| 11 | }
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | @if (length($result) > 0) {
|
---|
| 15 | box-shadow: $result;
|
---|
| 16 | }
|
---|
| 17 | }
|
---|
| 18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.