Commit Graph

500 Commits

Author SHA1 Message Date
Chris Eppstein
aaffea49af factor out the saving from the generating, we'll need to monkey patch this in a rails environment. 2010-12-05 16:13:11 -08:00
Chris Eppstein
0a447625e0 The image_url function has to be accessed from within the engine for it to work right in all cases. 2010-12-05 16:13:11 -08:00
Chris Eppstein
57a63c455a Use the Sass cache to store information about sprites across compiles -- this removes one aspect of lemonade's filesystem dependency. 2010-12-05 16:13:11 -08:00
Chris Eppstein
53033e473b This is a little more readable. 2010-12-05 16:13:11 -08:00
Chris Eppstein
8bf992defa Move the lemonade files around to adhere to compass conventions. 2010-12-05 16:13:11 -08:00
Chris Eppstein
757fed8888 Rename Lemonade to Compass::Sprites 2010-12-05 16:13:11 -08:00
Chris Eppstein
a2f1026659 This is a whole lot faster 2010-12-05 16:13:11 -08:00
Chris Eppstein
a1f1943367 Only do this once, otherwise the output changes every time. 2010-12-05 16:13:11 -08:00
Chris Eppstein
b313ac794e update the gemspec with lemonade dependencies. add nico as an author. 2010-12-05 16:13:11 -08:00
Chris Eppstein
ffe967e8c8 Bolt on lemonade to get started. 2010-12-05 16:13:10 -08:00
Chris Eppstein
9f1b8f515b Use the new Sass gem now. 2010-12-05 16:13:10 -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
Chris Eppstein
1ac8e9e24d Handle gradients with those crazy extra arguments in them. 2010-11-15 03:52:32 -08:00
Chris Eppstein
ce60780a4e I misread the spec, those are ands, not ors 2010-11-15 03:52:32 -08:00
Chris Eppstein
2de6f7c8d3 Change the legacy gradient mixins to use the new background-image mixin. 2010-11-15 03:52:32 -08:00
Chris Eppstein
efe3e148b1 Gradient support for list-style-image. 2010-11-15 03:52:32 -08:00
Chris Eppstein
d035acf1b7 Trim some whitespace from the svg xml -- saves about 12 bytes from the output per gradient. 2010-11-15 03:52:32 -08:00
Chris Eppstein
e4a5300b06 [CSS3] Support for the border-image property. 2010-11-15 03:52:32 -08:00
Chris Eppstein
e2137814df handle missing gradient arguments. 2010-11-15 03:52:31 -08:00
Chris Eppstein
9aea35738d New background image mixin with gradient support and up to 10 images. 2010-11-15 03:52:31 -08:00
Chris Eppstein
6204491f3d Gradient mixin for IE6-8 using filters, only does simple linear gradients and must be applied seperately from the linear-gradient mixin. Closes GH-183. 2010-11-15 03:52:31 -08:00
Chris Eppstein
dabdaecee3 A new function: if() 2010-11-15 03:52:30 -08:00
Irina Dumitrascu
257c57cb53 Fixed the position evaluation for radial gradients
top    should mean top center (not top left)
left   should mean center left (not top left)
center should mean center center (it was wrongly evaluated to "50%"
       Safari would not show the gradient at all, SVG would place it
       in center left)

This does not affect linear gradients.
2010-11-15 03:52:30 -08:00
Irina Dumitrascu
55f490cc5e Opt-in SVG support for gradients (linear & radial) 2010-11-15 03:52:30 -08:00
Chris Eppstein
463301e983 Added trigonometry functions for fun and profit.
Closes GH-201.
2010-11-12 15:38:39 -08:00
Chris Eppstein
f76b8bde17 Add html5 elements to the elements-of-type() helper 2010-11-12 08:50:21 -08:00
Chris Eppstein
2aa4f66e01 The sass utilities can live in two places for a while. 2010-11-12 08:47:00 -08:00
Chris Eppstein
b07f303d9b Merge branch 'stable'
* stable: (36 commits)
  Tweak the changelog.
  [CSS3] The box-shadow $spread value now defaults to using the browser default instead of 0.
  update the lockfile
  some todos
  Move the contributing guide to the tutorials section.
  add on-page anchors to the command line reference page.
  Better docs on the grid image command.
  Move the tutorials to the main nav... I don't think most people see it.
  Don't set the display in the box-flex mixin. This makes nested flex boxes annoying. Closes GH-207
  Add a note about the colorization change.
  Add a note about the compass validator
  Only colorize the action when logging results.
  Update to use the new compass validator during development.
  Fix broken test cases.
  Support true in addition to the inset keyword for the box-shadow mixin. Closes GH-206
  IE8 compat for :last-child selector
  Make the compass configuration file more self documenting by adding comments for preferred_syntax, output_style, and line_comments.
  Pass --no-line-comments to disable line comments.
  A little less noise during installation.
  Change the default Sass directory in standalone projects from src to sass. Closes GH-203
  ...

Conflicts:
	TODO.md
	VERSION.yml
	doc-src/content/CHANGELOG.markdown
	features/command_line.feature
	features/step_definitions/command_line_steps.rb
	lib/compass/commands/write_configuration.rb
2010-11-11 21:45:07 -08:00
Chris Eppstein
cd6ce54515 adjust & scale lightness and saturation 2010-11-11 21:30:59 -08:00
Chris Eppstein
183a67b0c0 Revert "Use the new Sass gem now."
This reverts commit 822f35148b.

Conflicts:

	Gemfile
2010-11-11 21:01:42 -08:00
Chris Eppstein
6486693b80 Only colorize the action when logging results. 2010-10-31 00:32:45 -07:00
Chris Eppstein
f3fb895a32 Fix broken test cases. 2010-10-30 21:59:38 -07:00
Chris Eppstein
a03ee6cb8f Make the compass configuration file more self documenting by adding comments for preferred_syntax, output_style, and line_comments. 2010-10-30 17:59:18 -07:00