mixins-args.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. #hidden {
  2. color: transparent;
  3. }
  4. #hidden1 {
  5. color: transparent;
  6. }
  7. .two-args {
  8. color: blue;
  9. width: 10px;
  10. height: 99%;
  11. depth: 99%;
  12. border: 2px dotted black;
  13. }
  14. .one-arg {
  15. width: 15px;
  16. height: 49%;
  17. depth: 49%;
  18. }
  19. .no-parens {
  20. width: 5px;
  21. height: 49%;
  22. depth: 49%;
  23. }
  24. .no-args {
  25. width: 5px;
  26. height: 49%;
  27. depth: 49%;
  28. }
  29. .var-args {
  30. width: 45;
  31. height: 8%;
  32. depth: 18 / 2 - 1%;
  33. }
  34. .multi-mix {
  35. width: 10px;
  36. height: 29%;
  37. depth: 29%;
  38. margin: 4;
  39. padding: 5;
  40. }
  41. body {
  42. padding: 30px;
  43. color: #f00;
  44. }
  45. .scope-mix {
  46. width: 8;
  47. }
  48. .content {
  49. width: 600px;
  50. }
  51. .content .column {
  52. margin: 600px;
  53. }
  54. #same-var-name {
  55. radius: 5px;
  56. }
  57. #var-inside {
  58. width: 10px;
  59. }
  60. .arguments {
  61. border: 1px solid black;
  62. width: 1px;
  63. }
  64. .arguments2 {
  65. border: 0px;
  66. width: 0px;
  67. }
  68. .arguments3 {
  69. border: 0px;
  70. width: 0px;
  71. }
  72. .arguments4 {
  73. border: 0 1 2 3 4;
  74. rest: 1 2 3 4;
  75. width: 0;
  76. }
  77. .edge-case {
  78. border: "{";
  79. width: "{";
  80. }
  81. .slash-vs-math {
  82. border-radius: 2px/5px;
  83. border-radius: 5px/10px;
  84. border-radius: 6px;
  85. }
  86. .comma-vs-semi-colon {
  87. one: a;
  88. two: b, c;
  89. one: d, e;
  90. two: f;
  91. one: g;
  92. one: h;
  93. one: i;
  94. one: j;
  95. one: k;
  96. two: l;
  97. one: m, n;
  98. one: o, p;
  99. two: q;
  100. one: r, s;
  101. two: t;
  102. }
  103. #named-conflict {
  104. four: a, 11, 12, 13;
  105. four: a, 21, 22, 23;
  106. }
  107. .test-mixin-default-arg {
  108. defaults: 1px 1px 1px;
  109. defaults: 2px 2px 2px;
  110. }
  111. .selector {
  112. margin: 2, 2, 2, 2;
  113. }
  114. .selector2 {
  115. margin: 2, 2, 2, 2;
  116. }
  117. .selector3 {
  118. margin: 4;
  119. }
  120. mixins-args-expand-op-1 {
  121. m3: 1, 2, 3;
  122. }
  123. mixins-args-expand-op-2 {
  124. m3: 4, 5, 6;
  125. }
  126. mixins-args-expand-op-3a {
  127. m3: a, b, c;
  128. }
  129. mixins-args-expand-op-3b {
  130. m4: 0, a, b, c;
  131. }
  132. mixins-args-expand-op-3c {
  133. m4: a, b, c, 4;
  134. }
  135. mixins-args-expand-op-4a {
  136. m3: a, b, c, d;
  137. }
  138. mixins-args-expand-op-4b {
  139. m4: 0, a, b, c, d;
  140. }
  141. mixins-args-expand-op-4c {
  142. m4: a, b, c, d, 4;
  143. }
  144. mixins-args-expand-op-5a {
  145. m3: 1, 2, 3;
  146. }
  147. mixins-args-expand-op-5b {
  148. m4: 0, 1, 2, 3;
  149. }
  150. mixins-args-expand-op-5c {
  151. m4: 1, 2, 3, 4;
  152. }
  153. mixins-args-expand-op-6 {
  154. m4: 0, 1, 2, 3;
  155. }
  156. mixins-args-expand-op-7 {
  157. m4: 0, 1, 2, 3;
  158. }
  159. mixins-args-expand-op-8 {
  160. m4: 1, 1.5, 2, 3;
  161. }
  162. mixins-args-expand-op-9 {
  163. aa: 4 5 6 1 2 3 and again 4 5 6;
  164. a4: and;
  165. a8: 5;
  166. }
  167. #test-mixin-matching-when-default-2645 {
  168. height: 20px;
  169. }