Commit Graph

521 Commits

Author SHA1 Message Date
Chris Eppstein
247d6dc8e6 Update gemfiles to depend on sass3.1 2010-12-01 01:33:53 -08:00
Chris Eppstein
1d9e2cbc8a The Sprite container is now called a Sprite Map, and each individual image is called a sprite. 2010-11-30 23:09:31 -08:00
Chris Eppstein
7d763f76d7 Some code comments, cleanup, and register sprite functions with sass. 2010-11-30 22:09:30 -08:00
Chris Eppstein
4603ac9900 Less joins. More responding. 2010-11-30 20:23:01 -08:00
Chris Eppstein
5567e7b13f Change the sprite utilities to create a sprite literal object that can retain information about the sprite for use in other function calls. This avoids the need for global storage and allows multiple sprites constructed from the same sprite folder with different values. 2010-11-30 16:59:30 -08:00
Chris Eppstein
94fbfd9aa8 Generator for creating sprite imports for users who don't like magic. 2010-11-29 20:53:26 -08:00
Chris Eppstein
40d32606bb Don't rely on reading the environment within the sprite code. Instead accept variable keyword args. 2010-11-29 20:50:50 -08:00
Chris Eppstein
d5fa05bc7d Fix a bug in ruby 1.9 2010-11-29 14:36:12 -08:00
Chris Eppstein
8c7223575a Put the Sprite importer on the default load paths coming from compass. 2010-11-29 14:35:37 -08:00
Chris Eppstein
c55896b493 Quick cache for burst reads. 2010-11-29 14:33:57 -08:00
Chris Eppstein
e25508f336 Update links to compass online. 2010-11-27 21:27:46 -08:00
Nico Hagenburger
109687c7d0 added error messages to help lemonade users 2010-11-27 17:00:36 -08:00
Nico Hagenburger
47cec8151c lemonade compatibility specs and functions 2010-11-27 17:00:36 -08:00
Nico Hagenburger
330b39002a allow images to be repeated 2010-11-27 17:00:36 -08:00
Nico Hagenburger
014c609118 updated gem versions 2010-11-27 17:00:36 -08:00
Nico Hagenburger
df05620508 added positioning of images 2010-11-27 17:00:36 -08:00
Nico Hagenburger
c0c39c53d7 generation of png file 2010-11-27 17:00:36 -08:00
Nico Hagenburger
7077b76225 added default spacing 2010-11-27 17:00:36 -08:00
Nico Hagenburger
3e7cd28635 added sprite position calculating 2010-11-27 17:00:36 -08:00
Nico Hagenburger
53d975ffae optimized options 2010-11-27 17:00:36 -08:00
Nico Hagenburger
c17fe444b6 implemented most basic sprite usage without image generation 2010-11-27 17:00:35 -08:00
Chris Eppstein
fdef9d4e44 factor out the saving from the generating, we'll need to monkey patch this in a rails environment. 2010-11-27 17:00:35 -08:00
Chris Eppstein
9380326186 The image_url function has to be accessed from within the engine for it to work right in all cases. 2010-11-27 17:00:35 -08:00
Chris Eppstein
29d39e808d Use the Sass cache to store information about sprites across compiles -- this removes one aspect of lemonade's filesystem dependency. 2010-11-27 17:00:35 -08:00
Chris Eppstein
4b75ef471e This is a little more readable. 2010-11-27 17:00:35 -08:00
Chris Eppstein
62157f6a7e Move the lemonade files around to adhere to compass conventions. 2010-11-27 17:00:35 -08:00
Chris Eppstein
6a44d58b7c Rename Lemonade to Compass::Sprites 2010-11-27 17:00:35 -08:00
Chris Eppstein
ac85ca1e7a This is a whole lot faster 2010-11-27 17:00:34 -08:00
Chris Eppstein
d79dea68db Only do this once, otherwise the output changes every time. 2010-11-27 17:00:34 -08:00
Chris Eppstein
d0f33a74b9 update the gemspec with lemonade dependencies. add nico as an author. 2010-11-27 17:00:34 -08:00
Chris Eppstein
a14a4f33ad Bolt on lemonade to get started. 2010-11-27 17:00:34 -08:00
Chris Eppstein
d1708dd2c3 Use the new Sass gem now. 2010-11-27 17:00:34 -08:00
Chris Eppstein
35b206a897 Support simple background fallback in the background mixin. 2010-11-27 15:34:52 -08:00
Chris Eppstein
dd921ea363 Handle list arguments to prefixes 2010-11-27 15:34:52 -08:00
Chris Eppstein
6e30099473 Sass has an if function now. removing compass's version. 2010-11-27 15:34:52 -08:00
Chris Eppstein
c8daf8a440 Versioned modules was a bad idea. 2010-11-22 00:28:55 -08:00
Chris Eppstein
f06d928c4b Support for sass 3.1 alphas 2010-11-21 15:59:37 -08:00
Chris Eppstein
9e033f7df5 Handle the change from Haml::Util => Sass::Util and haml_warn => sass_warn. 2010-11-21 15:59:37 -08:00
Chris Eppstein
ad7f2eb980 fix regression in the transform api 2010-11-21 15:59:37 -08:00
Chris Eppstein
b9c68bcc8c No side-effects when normalizing color stops for webkit 2010-11-21 15:59:37 -08:00
Chris Eppstein
a4774bdf32 A special require for rails. 2010-11-20 10:54:53 -08:00
Chris Eppstein
99f3e959ac Don't need this to get rails to boot compass after all 2010-11-20 10:15:17 -08:00
Chris Eppstein
928bf675c2 CSS3 PIE module. 2010-11-20 08:31:38 -08:00
Chris Eppstein
6553e06db6 Allow erb processing of non all non-binary filetypes. 2010-11-20 08:24:29 -08:00
Chris Eppstein
889580d9d8 Fix a bug in the stylesheet_url helper 2010-11-20 08:24:28 -08:00
Chris Eppstein
dabd4f6f9d Rails gives us a pathname, pathnames don't like =~ 2010-11-15 18:01:04 -08:00
Chris Eppstein
46eb667837 Allow inspection of list size 2010-11-15 17:28:20 -08:00
Chris Eppstein
d4a0484922 Return false if no false value is provided. 2010-11-15 03:55:09 -08:00
Chris Eppstein
d7da056fb1 Add a new configuration property to disable sass warnings: disable_warnings 2010-11-15 03:55:09 -08:00
Chris Eppstein
ca7563e3ba Better argument names for the columns module, tests for the columns module, accept space separated args for the column-rule mixin. 2010-11-15 03:52:33 -08:00