Commit Graph

107 Commits

Author SHA1 Message Date
Alexis Sellier
a40a9ee4db and/or for mixin guards 2012-01-03 22:27:54 +01:00
Alexis Sellier
b43d442d55 add more is-* functions 2012-01-03 19:01:47 +01:00
Alexis Sellier
5ec708c3f4 type-checking stylesheet functions
is-string, is-keyword, is-color, is-number
2012-01-03 18:45:31 +01:00
Alexis Sellier
77c8df029b support more falsy values 2011-12-30 00:50:26 +01:00
Alexis Sellier
7a71697965 improve condition parser, support true/false values 2011-12-30 00:43:46 +01:00
Alexis Sellier
40011da01b mixin-guards: support >= != =< operators 2011-12-29 23:39:59 +01:00
Alexis Sellier
624c297e7b (test) mixin-guards 2011-12-24 13:32:43 +01:00
Alexis Sellier
eadc0d8704 color() function parses color string 2011-12-18 17:29:40 +01:00
Alexis Sellier
6c6cdcb839 Merge pull request #527 from hokaccha/percentage
Add function `percentage`
2011-12-17 09:03:05 -08:00
Alexis Sellier
eda86e5c74 (test) variable in @media feature 2011-12-17 17:47:35 +01:00
Alexis Sellier
ff3d7c61ff properly support @media and @import features 2011-12-17 17:41:54 +01:00
Alexis Sellier
db72c646bb dynamic selectors
Allows things like:

  a:nth-child(@var) {}
2011-12-15 22:24:52 +01:00
hokaccha
b00aee79d6 Add function percentage 2011-12-15 11:15:38 +09:00
Alexis Sellier
c47e5fa87d Merge pull request #506 from Harrison/master
Issue #393 Add support for "rem" dimensions
2011-12-10 05:00:09 -08:00
Alexis Sellier
d352284ba5 merge named-colors 2011-12-10 13:43:48 +01:00
Alexis Sellier
b44d2dc9fe merge named-colors patch 2011-12-10 13:41:20 +01:00
Philip Harrison
6c3317ff0b Add rem dimension support 2011-12-03 17:58:25 +01:00
Jacob Thornton
602c0c5c5a fix comments in operations (ex: *height: 2px * 4 /* ie hack */) 2011-11-26 15:01:09 -08:00
Jacob Thornton
7c2ac614cb get spec passing 2011-11-13 00:31:40 -08:00
Alexis Sellier
e35dc0efc0 merge 2011-11-12 13:49:41 +01:00
Alexis Sellier
62fdf76ddb fix css keyframes parsing 2011-11-12 13:46:39 +01:00
cloudhead
b32fe0e6a8 improve mixin matching, closes #381 2011-11-04 16:13:29 -04:00
Adam Solove
5ad3a6732d Correctly handle data URIs, add test for quoted data URIs. 2011-10-21 12:49:25 -04:00
Alexis Sellier
a3384fa922 Merge pull request #355 from revolunet/import-querystrings
support imports with querystrings (google fonts) fix #265
2011-08-28 12:55:29 -07:00
Alexis Sellier
ccfe84f3c1 Merge pull request #341 from ttfkam/cloudhead_322
patch for Issue 322
2011-08-22 05:41:27 -07:00
Alexis Sellier
703efe2dc4 Merge pull request #335 from ttfkam/argb
update ARGB support, fix IE9 style injection
2011-08-22 05:40:14 -07:00
cloudhead
3331637913 make mixins work better with complex selectors 2011-08-20 10:14:18 -04:00
Miles Elam
6d78b3f04f Fixed issue #322 by changing the keyword regex to allow numbers in any but the first character. 2011-08-07 20:26:00 -07:00
Miles Elam
71f15ac000 ARGB input removed. ARGB output added with the function argb(Color). 2011-08-03 21:02:10 -07:00
revolunet
f1695f6a9a support imports with querystrings (google fonts) fix #265 2011-07-08 01:29:39 +02:00
revolunet
8d362649c0 update tests 2011-07-08 00:56:26 +02:00
revolunet
63c028b9bf implement named color conversion 2011-07-08 00:55:59 +02:00
James Foster
afd599dcb5 Implement parent selector 2011-07-03 12:07:42 +08:00
Alexis Sellier
b68dbcf55f fix alpha(opacity=n) support 2011-05-27 18:20:27 -04:00
cloudhead
853604a791 fix string interpolation with mixins, closes #272 2011-05-19 12:36:13 -04:00
Alexis Sellier
0726b9bd56 fix string interpolation with color values 2011-05-18 11:55:07 -04:00
Alexis Sellier
9939ba5076 better JavaScript evaluation
- support for returning Array values
- Expressions/Values are passed as arrays to JavaScript
- fixed some edge cases
2011-05-17 20:47:42 -04:00
Alexis Sellier
37a90c6765 (new) interpolation & escaping of JS 2011-05-11 13:57:52 -04:00
Alexis Sellier
4ee78458c9 (test) fix javascript test 2011-05-11 12:46:37 -04:00
Alexis Sellier
52b10c007f (test) new @arguments behaviour 2011-05-11 12:36:00 -04:00
Alexis Sellier
e2ad523746 (new) variable variables 2011-05-11 11:29:27 -04:00
Alexis Sellier
3823404878 (new) string interpolation and built-in escaping 2011-05-10 18:01:48 -04:00
Alexis Sellier
a1bf40641b support unary '-' on variables and () 2011-05-10 10:03:40 -04:00
Daniel Bergey
d7cdc17cde Fix for #198, with regexen, and urlencoding if the token is uppercase. 2011-05-04 06:17:03 +08:00
Alexis Sellier
8b3a423d58 Merged pull request #200 from bartschuller/master.
New round(n) function
2011-04-25 11:49:37 -07:00
cloudhead
453b467c85 (fix) properly chunkify naked urls 2011-04-22 16:59:39 -04:00
Alexis Sellier
f5ffdde710 better comment parsing in selector list 2011-03-24 14:42:30 -04:00
Alexis Sellier
9847f40b0f (test) @arguments 2011-02-19 16:54:38 -05:00
Bart Schuller
202bcab8d2 Added new round(n) function.
Rationale: Using unrounded computed widths leads to pixel errors.
2011-02-14 23:47:41 +01:00
Alexis Sellier
0bd18489bc tweak mixin pattern matching to be more useful 2011-01-20 20:02:15 -05:00