summaryrefslogtreecommitdiff
path: root/vendor/leafo/lessphp/tests/inputs/guards.less
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/leafo/lessphp/tests/inputs/guards.less')
-rw-r--r--vendor/leafo/lessphp/tests/inputs/guards.less74
1 files changed, 0 insertions, 74 deletions
diff --git a/vendor/leafo/lessphp/tests/inputs/guards.less b/vendor/leafo/lessphp/tests/inputs/guards.less
deleted file mode 100644
index fc4e344e..00000000
--- a/vendor/leafo/lessphp/tests/inputs/guards.less
+++ /dev/null
@@ -1,74 +0,0 @@
-
-.simple(@hi) when (@hi) {
- simple: yellow;
-}
-
-
-.something(@hi) when (@hi = cool) {
- something: red;
-}
-
-.another(@x) when (@x > 10) {
- another: green;
-}
-
-
-.flipped(@x) when (@x =< 10) {
- flipped: teal;
-}
-
-.yeah(@arg) when (isnumber(@arg)) {
- yeah-number: purple @arg;
-}
-
-
-.yeah(@arg) when (ispixel(@arg)) {
- yeah-pixel: silver;
-}
-
-
-.hello(@arg) when not (@arg) {
- hello: orange;
-}
-
-dd {
- .simple(true);
-}
-
-b {
- .something(cool);
- .something(birthday);
-}
-
-img {
- .another(12);
- .flipped(2);
-}
-
-body {
- .yeah(232px);
- .yeah(232);
-}
-
-.something(@x) when (@x) and (@y), not (@x = what) {
- something-complex: blue @x;
-}
-
-div {
- @y: true;
- .something(true);
-
-}
-
-.coloras(@g) when (iscolor(@g)) {
- color: true @g;
-}
-
-link {
- .coloras(red);
- .coloras(#fff);
- .coloras(#fffddd);
- .coloras(rgb(0,0,0));
- .coloras(rgba(0,0,0, .34));
-}
-