Commit Graph

31 Commits

Author SHA1 Message Date
Alexander Artemenko a7a4452f6a Modify box-shadow definition to allow a single argument version.
This way we can do `:box-shadow` none to reset shadow, defined in
previos stylesheets.
2021-09-02 10:36:10 +02:00
Shinmera 0fcd24963f
Revert "Add :include and unit math functions (#9)"
This reverts commit f51b9e941e.
2021-03-29 08:24:24 +02:00
nibbler cbbe76370d Only do compile time calc w/t the same relative units.
Add additional css units: ex, ch, rem, lh, vw, vh, vmin and vmax.
Always emit parens from property function CALC.
2021-01-31 11:07:52 +01:00
Nikolai Matiushev f51b9e941e
Add :include and unit math functions (#9)
* Add :include and unit math functions

Adding ability to include other LASS files.
Adding support for quantities with units (cm, mm, pt, px, %) and corresponding math functions along with `clamp` and `hypot`
2020-04-30 12:51:59 +02:00
Shinmera 312e250e32
Allow using multiple content values 2019-05-01 09:05:29 +02:00
Shinmera a8d64a778d Add var and attr property functions. 2019-05-01 08:54:27 +02:00
Shinmera 85e7539995
Fix selectors for new compiler structure. 2018-07-29 14:09:45 +02:00
Shinmera 4baf969f7c
Fix other @ superblocks 2018-07-29 11:07:21 +02:00
Shinmera 0e0ef5de4a
Compile constraints to list form rather than turning them into literals right away, add better support for superblocks and media queries. 2018-07-29 10:40:16 +02:00
Shinmera 580f474ebf Fix content and add counter property function. 2018-03-09 16:40:14 +01:00
Shinmera a8c727adda
Add text-stroke browser property 2017-11-18 15:10:26 +01:00
Shinmera bda8fe2209 Fix url property function 2017-02-10 11:09:06 +01:00
Shinmera e028d076ff
Fix content attribute with regard to backslashes. 2017-01-31 10:30:42 +01:00
Shinmera ce9a20e60e
Potentially backwards-compatibility breaking change to the content attribute. 2016-11-25 14:35:20 +01:00
Shinmera 078e440f38
Add support for CALC 2016-11-25 14:20:21 +01:00
Shinmera 5ecf6eb422
Cheaply fix box-shadow property to accept inset arg. 2016-10-12 12:12:16 +02:00
Shinmera 1639fd83a1 Added browser property 'appearance' 2015-06-06 14:11:19 +02:00
Shinmera 7756f1bdc0 Fixed hex property function 2015-04-07 20:51:56 +02:00
Shinmera 25f4081bfa Fixed /= attribute comparator. 2015-03-15 16:01:50 +01:00
Shinmera 545c454c7d Fixed HSV->HSL name 2014-10-29 19:03:06 +01:00
Shinmera 363220e995 Added handling for FILTER and BOX-SHADOW. Fixes #2 2014-10-29 17:50:11 +01:00
Shinmera d6908c8732 Basic support for special reading behaviour on a property-basis. Added property functions and some basic default cases. 2014-10-29 11:05:08 +01:00
Shinmera 0a26d30452 Copyright header update to Shirakumo 2014-10-09 21:44:52 +02:00
Shinmera c9a1ea38ca Added browser property user-select 2014-09-08 16:48:42 +02:00
Shinmera 7d0c15952b Fix to COMPILE-ATTR-COMPARATOR and TRANSFORM 2014-09-05 12:15:19 +02:00
Shinmera 95154c4062 Added documentation 2014-09-05 11:30:19 +02:00
Shinmera 39c7769291 Fixed naming of things by changing ATTRIBUTE refs to PROPERTY 2014-09-05 10:48:27 +02:00
Shinmera 0c4d36d077 Fixed transition attr 2014-09-05 10:35:32 +02:00
Shinmera 280a2fd135 Fixed :LET by adding RESOLVE to BIND-VARS 2014-09-05 10:19:34 +02:00
Shinmera 612501b14e Added handling for some browser attributes. 2014-09-05 10:16:44 +02:00
Shinmera b3569529b3 Added MAKE-ATTRIBUTE, MAKE-BLOCK, moved things around. 2014-09-05 09:21:15 +02:00