Chris Eppstein
042972003f
handle some slightly older versions of sass
2011-01-17 06:40:10 -08:00
Chris Eppstein
d3a346e1ac
Merge commit 'psampaio/sprite_skip_overrides'
...
* commit 'psampaio/sprite_skip_overrides':
adding --skip-overrides argument to the compass sprite command
2011-01-16 12:58:36 -08:00
Pedro Sampaio
a095eb6abf
adding --skip-overrides argument to the compass sprite command
2011-01-11 14:14:40 +00:00
Chris Eppstein
cb7ac80330
New Download page for compass docs
2011-01-09 22:26:47 -08:00
Chris Eppstein
48e3825053
Document Sass Functions
2011-01-02 12:34:16 -08:00
Chris Eppstein
e11f1035bf
Refactor the cross browser support and list functions from gradient module.
2010-12-31 12:55:14 -08:00
Chris Eppstein
15f760e002
Infrastructure for cross browser support of simple, experimental functions
2010-12-30 12:19:00 -08:00
Chris Eppstein
a254caecdd
Allow a prefix to be specified (or omitted) for sprite class names
2010-12-19 17:57:33 -08:00
Chris Eppstein
df8eefa3c2
Got my reversed motion backwards.
2010-12-19 17:51:40 -08:00
Chris Eppstein
638fd8f543
fix a bug in sprites when the offset position is absolute.
2010-12-18 18:39:35 -08:00
Chris Eppstein
50963d7dd2
Fix the url helper in rails2 mode.
2010-12-18 17:17:58 -08:00
Chris Eppstein
cc8bccfb15
fix broken tests and code.
2010-12-18 17:13:47 -08:00
Chris Eppstein
f318e93764
Expose CLI config parameters at configuration parse time.
2010-12-18 11:26:48 -08:00
Chris Eppstein
ec699c42c8
Watch arbitrary files within the compass configuration file.
2010-12-18 00:03:07 -08:00
Chris Eppstein
8d3b2d92df
Make compass configuration accessible within a rails app's configuration.
2010-12-18 00:03:07 -08:00
Chris Eppstein
9e3fd546d9
Add donation details to the CLI.
2010-12-10 11:32:26 -08:00
Chris Eppstein
38e13e55e6
Removed deprecated command line options.
2010-12-10 11:32:26 -08:00
Chris Eppstein
25d9cc3468
Fix a bug in the spriting code in ruby 1.9.2
2010-12-10 11:32:25 -08:00
Chris Eppstein
0fb52388cc
Upgrade FSSM to whatever version Sass is running.
2010-12-10 11:32:25 -08:00
Chris Eppstein
ab71230b94
Add a --time option to the compile and watch commands.
2010-12-10 11:32:25 -08:00
Chris Eppstein
e3ad16e5fe
Don't try to watch importer objects.
2010-12-06 13:52:17 -08:00
Chris Eppstein
48b9e0851b
Ruby 1.9 compliant require for the md5 library.
2010-12-05 22:01:46 -08:00
Chris Eppstein
93040322b3
Allow the cache buster in image-url() to be disabled on a per-call basis.
2010-12-05 20:16:40 -08:00
Chris Eppstein
a89d61ce21
Generated sprite filename is now unique based on inputs.
2010-12-05 20:12:50 -08:00
Chris Eppstein
bcf1f4b1f6
Fix a bug in sprite-location resolution
2010-12-05 16:14:55 -08:00
Chris Eppstein
00b41b5506
Only require (chunky|oily)_png if it is needed.
2010-12-05 16:14:55 -08:00
Chris Eppstein
20bb8c0d28
Update gemfiles to depend on sass3.1
2010-12-05 16:14:36 -08:00
Chris Eppstein
43bd9eb8e5
The Sprite container is now called a Sprite Map, and each individual image is called a sprite.
2010-12-05 16:13:13 -08:00
Chris Eppstein
b2a8c8a634
Some code comments, cleanup, and register sprite functions with sass.
2010-12-05 16:13:13 -08:00
Chris Eppstein
472456f344
Less joins. More responding.
2010-12-05 16:13:13 -08:00
Chris Eppstein
027ebdd8c4
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-12-05 16:13:13 -08:00
Chris Eppstein
b2b913d69f
Generator for creating sprite imports for users who don't like magic.
2010-12-05 16:13:13 -08:00
Chris Eppstein
b63bf2669d
Don't rely on reading the environment within the sprite code. Instead accept variable keyword args.
2010-12-05 16:13:13 -08:00
Chris Eppstein
d62cdf0127
Fix a bug in ruby 1.9
2010-12-05 16:13:13 -08:00
Chris Eppstein
5aac677e77
Put the Sprite importer on the default load paths coming from compass.
2010-12-05 16:13:13 -08:00
Chris Eppstein
28a77171e3
Quick cache for burst reads.
2010-12-05 16:13:13 -08:00
Chris Eppstein
e1130066f2
Update links to compass online.
2010-12-05 16:13:13 -08:00
Nico Hagenburger
6e93589e6a
added error messages to help lemonade users
2010-12-05 16:13:12 -08:00
Nico Hagenburger
9dcab9e14b
lemonade compatibility specs and functions
2010-12-05 16:13:12 -08:00
Nico Hagenburger
79d6e28cf5
allow images to be repeated
2010-12-05 16:13:12 -08:00
Nico Hagenburger
2522a3c981
updated gem versions
2010-12-05 16:13:12 -08:00
Nico Hagenburger
8b566765b3
added positioning of images
2010-12-05 16:13:12 -08:00
Nico Hagenburger
573d1a1b03
generation of png file
2010-12-05 16:13:12 -08:00
Nico Hagenburger
c62b8e718d
added default spacing
2010-12-05 16:13:12 -08:00
Nico Hagenburger
bf47c74dc2
added sprite position calculating
2010-12-05 16:13:12 -08:00
Nico Hagenburger
4026c51273
optimized options
2010-12-05 16:13:12 -08:00
Nico Hagenburger
05b2695806
implemented most basic sprite usage without image generation
2010-12-05 16:13:11 -08:00
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
Chris Eppstein
b601fb8d04
Pass --no-line-comments to disable line comments.
2010-10-30 17:55:30 -07:00
Chris Eppstein
a154d2e5cf
A little less noise during installation.
2010-10-30 17:51:00 -07:00
Chris Eppstein
4ba6e57106
Change the default Sass directory in standalone projects from src to sass. Closes GH-203
2010-10-30 17:00:09 -07:00
Chris Eppstein
a40fce8af1
Bug fix: In webkit, when the last gradient color stop was a percent less than 100%, the
...
intermediate values were being scaled to that value. Closes GH-118.
2010-10-30 16:45:25 -07:00
Chris Eppstein
03e01c4eb2
Add the ability to print out compass configuration values
2010-10-30 15:46:26 -07:00
Chris Eppstein
a8cf0beadc
Add a command line option to print out the value of a particular configuration value.
2010-10-25 17:52:13 -07:00
Chris Eppstein
37db7f3b8c
Add help text for the imports subcommand.
...
Closes GH-182
2010-10-11 02:33:35 -07:00
Chris Eppstein
45ca5eb147
Fix error in installation instructions on scss-based projects.
...
Closes GH-186.
2010-10-11 02:24:50 -07:00
Chris Eppstein
8a59e34ec8
Merge branch 'stable'
...
* stable:
Fix broken test.
tests for padding free horizontal list.
Update tests for charset changes.
Fix test failure in ruby 1.9.2
fix some gem issues
Option for horizontal-list to skip padding.
rake examples was getting a non-existent branch. Default to master.
update changelog
Make it easier to disable the asset cache buster.
Turns out that IE6 & 7 don't support this.
Fixed typo.
HTML5 reset includes box-model reset for newer browsers.
Added @charset declaration to force UTF-8 encoding on systems with different default encodings
Some doc modifications.
Conflicts:
Gemfile
doc-src/content/CHANGELOG.markdown
lib/compass/app_integration/rails/installer.rb
2010-10-11 02:18:26 -07:00
Chris Eppstein
822f35148b
Use the new Sass gem now.
2010-10-11 02:15:14 -07:00
Chris Eppstein
416936ca0b
Merge commit 'snoblet/stable' into stable
...
* commit 'snoblet/stable':
Fixed typo.
2010-10-11 01:15:03 -07:00
Chris Eppstein
794703fbc4
Make it easier to disable the asset cache buster.
2010-10-09 13:31:51 -07:00
Steven Noble
04141c62e2
Fixed typo.
2010-10-01 06:02:04 -07:00
Chris Eppstein
3bf2a029b2
Keep the copyright up to date.
2010-09-09 11:45:41 -07:00
Chris Eppstein
dbb88965a6
Fix a bug and some broken tests.
2010-09-03 16:21:53 -07:00
Chris Eppstein
ee276ee7ea
Don't assume that sass users are haml users once the gems are split.
2010-09-01 09:00:14 -07:00
Chris Eppstein
3c295329da
Merge branch 'stable'
...
* stable:
better description of the --using option.
2010-08-31 22:36:22 -07:00
Chris Eppstein
3bd06d3033
better description of the --using option.
2010-08-31 22:35:08 -07:00
Chris Eppstein
3df9f7d3a5
Merge branch 'stable'
...
* stable:
Print out the new style help with -h and --help instead of the old-style help.
clean up the docs on the fancy-type module in blueprint.
update some comments and formatting
make the docs on extensions a bit more clear for rubygems extensions.
official gradients still need image declared
fix typo in docs
Print a better error message if the extension isn't found.
versions change.
prepare for release
Update docs
Update docs
A command to unpack an extension from the system location.
Conflicts:
VERSION.yml
doc-src/content/CHANGELOG.markdown
2010-08-31 22:30:35 -07:00
Chris Eppstein
01cbc9cc6c
Print out the new style help with -h and --help instead of the old-style help.
2010-08-31 21:57:34 -07:00
Chris Eppstein
71bf9d6607
Disable that for now.
2010-08-29 19:32:01 -07:00
Chris Eppstein
32856b5899
Print a better error message if the extension isn't found.
2010-08-29 14:35:32 -07:00
Chris Eppstein
8ad10dc467
A command to unpack an extension from the system location.
2010-08-29 11:30:58 -07:00
Chris Eppstein
ee6d537999
less stuff in the rails config file... more stuff coming from defaults.
2010-08-29 02:58:20 -07:00
Chris Eppstein
8a7fdd6fa3
Reload the compass configuration with each request in case it changes.
2010-08-29 02:58:20 -07:00
Chris Eppstein
ca789f00d8
Scope any css stylesheets that get generated into a project without the user's permission
2010-08-29 02:58:20 -07:00
Chris Eppstein
e4608e3e4c
load the sass plugin for the user in rails3
2010-08-29 02:58:20 -07:00
Chris Eppstein
52c47d7de4
In rails 3, there's no need for an initializer. Instead we use a
...
Railstie. Additionally, we now default to app/stylesheets for sass files
and public/stylesheets for css files -- though they can still be changed
after installation or on the command line during project initialization.
Compass is now a gem plugin in a rails environment.
Lastly, in a rails3 environment the compass configuration can now be
changed without restarting the rails server process.
2010-08-29 02:57:38 -07:00
Chris Eppstein
f44e1ea492
Detect the version of rails and print out instructions accordingly.
2010-08-28 21:54:40 -07:00
Chris Eppstein
04eb17968e
Don't add load paths to sass that already exist.
2010-08-28 21:54:00 -07:00
Chris Eppstein
ac1f0a4be8
Default stylesheet locations for rails apps
2010-08-28 21:52:50 -07:00
Chris Eppstein
034012295a
Merge branch 'stable'
...
* stable: (81 commits)
Gemfiles for testing and a rails test helper that works for both rails 2 and rails 3.
provide correct installation steps when the compass validator is not found.
Fix a broken test case.
That wasn't supposed to be released yet.
Fixed error: there is no opposite-position(both)
Fix a bug in the statistics analyzer for rules with interpolation.
bump version for release
upgrade to bundler 1.0
link the docs to the stable branch.
Update the CHANGELOG for the 0.10.5 release
Read assets in binary mode for the windows users.
bump version.
Get the imports straightend out for the new mixins.
Bug fix: make the path-based configuration really work right.
inline-block-list tests
inline-block-list documentation
inline-block-list mixin
added additional html5 block-level elements per recommended reset stylesheet: http://html5doctor.com/html-5-reset-stylesheet/
Prepare for release.
Prepare for release
...
Conflicts:
VERSION.yml
doc-src/content/CHANGELOG.markdown
frameworks/blueprint/stylesheets/blueprint/_colors.scss
frameworks/compass/stylesheets/compass/css3/_box-shadow.scss
frameworks/compass/stylesheets/compass/css3/_font-face.scss
2010-08-28 14:07:47 -07:00
Chris Eppstein
a2a9835688
provide correct installation steps when the compass validator is not found.
2010-08-28 12:52:54 -07:00
Chris Eppstein
8083760ef2
Fix a bug in the statistics analyzer for rules with interpolation.
2010-08-27 09:30:01 -07:00
Chris Eppstein
b6b0723788
Read assets in binary mode for the windows users.
2010-08-26 22:23:43 -07:00
Chris Eppstein
ec648f17b0
Bug fix: make the path-based configuration really work right.
2010-08-25 08:41:03 -07:00
Chris Eppstein
30c28a76bf
Update the rails version of image_url to match the new signature.
2010-08-06 12:59:54 -07:00
Chris Eppstein
46b4ce1679
[Rails] bug fix: the new rails initializer did not find old configuration files (config/compass.config)
2010-08-06 11:36:00 -07:00
Chris Eppstein
973a568c1d
Tests are more useful if you actually run them.
2010-08-05 22:13:35 -07:00
Chris Eppstein
03221b9e7c
[Extensions] Manifests don't have to be hard. Allow discovery of basic assets and follow conventions for templates.
2010-08-05 21:18:11 -07:00
Chris Eppstein
776b772c08
[Rails] Don't emit configuration files when installing extensions into an existing project.
2010-08-05 21:16:51 -07:00
Chris Eppstein
ad967f5e6d
[Compass Core] All url helpers now accept a second argument that when true will cause only the path to be emited.
2010-08-05 20:55:48 -07:00
Chris Eppstein
dd0f3a816b
[Command Line] Make it easier to load non-gem frameworks from the
...
command line and project configuration files.
2010-08-01 11:18:33 -07:00
Chris Eppstein
165e3b43fb
Add missing file.
2010-07-24 02:01:43 -07:00
Chris Eppstein
06ab3d4b41
[CSS3] if a root relative url is passed to image-url, still find the file and do the normal processing.
2010-07-24 01:34:14 -07:00
Chris Eppstein
c02cab30bb
[CSS3] Support for specifying horizontal and vertical radii for the shorthand border-radius property.
2010-07-24 00:55:09 -07:00
Chris Eppstein
a2a0d58508
[Rails] Make it possible to only install the configuration files into a rails project.
2010-07-23 23:31:11 -07:00
Chris Eppstein
5864f2aeab
[Rails] Move most of the contents of the compass initializer back to the compass codebase. Discover compass extensions automatically during boot.
2010-07-23 22:54:23 -07:00
Chris Eppstein
755b9a3a11
[Extensions] Make it possible for extensions to create empty directories. Closes GH-173.
2010-07-23 20:41:52 -07:00
Chris Eppstein
c78e097841
Don't use the Base64 library. It's not found in ruby 1.9.
2010-07-23 19:36:40 -07:00
Chris Eppstein
6289fa1de1
[Compass Core] Fixed a bug in inlint-font-files().
2010-07-20 01:23:34 -07:00
Chris Eppstein
ea355b8cf0
[Command Line] Fixed a display issue when the filenames were shorter than the total label in the compass stats tool
2010-07-18 00:11:00 -07:00
Max Baumann
acffc9fd73
bugfix for inline-font-files helper
...
path variable isn't an argument to this function - deleted unnecessary line causing error
2010-07-10 00:08:06 -07:00