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