Commit Graph

68 Commits

Author SHA1 Message Date
Chris Eppstein
ec681c87a3 [Blueprint] Allow liquid grid constants to be overridden. Closes #110. 2010-04-12 02:55:47 -07:00
Chris Eppstein
f7abcb4b98 [Blueprint] Convert to SCSS 2010-04-11 03:47:46 -07:00
Chris Eppstein
2cb63e7f8e Convert uses of @debug to @warn 2010-04-10 23:32:42 -07:00
Chris Eppstein
c94074dac5 Convert the compass core framework to scss. 2010-04-10 23:32:37 -07:00
Chris Eppstein
de5ec40a3f The Sass Parser will drop starting whitespace on single line comments so the | char can be used to work around that in the docs. 2010-03-16 18:43:13 -05:00
Chris Eppstein
fd8162cedd Merge branch 'master' into docs
* master: (48 commits)
  Record current revision for release.
  Regenerated gemspec for version 0.10.0.rc1
  Release Candidate 1
  Fix a bug in 1.8.6 where readbyte is not defined.
  Record current revision for release.
  Regenerated gemspec for version 0.10.0.pre9
  Update changelog for release.
  Version bump for v0.10.pre9
  [Compass Core] Fix a ruby 1.9 bug in the image_size helper functions for jpeg images.
  Try to fix a test failure that only happens on RunCodeRun.
  [Compass Core] Silence a deprecation warning.
  Fixed a typo in the inline list utility.
  Regenerated gemspec for version 0.10.0.pre8
  Version bump to .pre8
  [Rails] Fix rails boot sequence in Rails 2.3.x environments.
  Record current revision for release.
  Regenerated gemspec for version 0.10.0.pre7
  Version Bump
  A better error message if a color stop list is not passed in.
  Fix for rgba colors with the new gradient mixins.
  ...

Conflicts:
	frameworks/compass/stylesheets/compass/css3/_gradient.sass
2010-03-06 22:41:21 -08:00
Chris Eppstein
a6f8967b39 Merge commit 'cakebaker/master'
* commit 'cakebaker/master':
  Fixing typo (replacing "WARINING" with "WARNING")
2010-02-13 08:34:41 -08:00
Daniel Hofstetter
fc19d5e036 Fixing typo (replacing "WARINING" with "WARNING") 2010-02-11 15:29:42 +01:00
Christoffer Eliesen
c4c9be0256 Take margins into account in liquid grid.
The previous version of liquid grid would not take margins into proper
account. With this patch the margins are a correct percentage of the
container, and adding multiple margins / columns together should add up
to just about 100% (not entirely accurate, but very close).

The math is as follows:

With the previous version, you get these numbers:
4.173% grid width * 24 columns = 100.152%, which due to rounding 'fixes'
in the template becomes exactly 100%. However, this is without any margins.
Once you add margins, you exceed 100%, rendering margins unusable. To add
to the confusion, the margins are not a percentage of the width, but instead
in 'em' units, making it very difficult to keep the entire grid from getting
beyond 100% in width once you add margins.

With this patch, you get these numbers:
(3.167% grid width + 1.042% margin) * 24 columns = 101.1016%. Since you
don't use any margin for the last column, you subtract one margin and end up
with 99.974%. Optimally this number would be 100.000%, but the 0.026% error
is difficult to remove, and an acceptable compromise in my opinion.

In summary, this patch enables margins to be used with the liquid grid,
which is the expected behaviour.
2010-02-06 14:14:30 +01:00
Chris Eppstein
c5b2335340 documentation for the blueprint grid. 2010-01-24 16:10:29 -08:00
Chris Eppstein
92327eece7 Turn off the source documentation for some deprecation warnings. 2010-01-23 01:11:25 -08:00
Chris Eppstein
b8b9f153f7 Markdown formatting support for source documentation. 2010-01-22 18:16:25 -08:00
Chris Eppstein
cac3065516 Move the frameworks directory back to the top level. There's not actually a good reason for it to be buried in the ruby source. 2010-01-18 14:58:40 -08:00
Chris Eppstein
6e7f658f3b Move the frameworks directory into lib/compass per gem packaging best practices. 2009-09-02 21:45:15 -07:00
Chris Eppstein
3456f993d4 Merge branch 'master' into edge
* master:
  [Blueprint] Add mixins for +prepend-top and +append-bottom and corresponding grid classes when generating the css grid classes.
  Use FSSM by Travis Tilley to monitor for filesystem changes. On mac this will use filesystem events instead of polling. Fixes an infinite looping issue when compilation errors occur.
2009-08-30 11:53:47 -07:00
Chris Eppstein
65f4cb0d50 [Blueprint] Add mixins for +prepend-top and +append-bottom and corresponding grid classes when generating the css grid classes. 2009-08-30 11:49:19 -07:00
Chris Eppstein
2eba93858b [Compass Core] Extract css3 compatibility mixins from the general module
to the new compass/utilities/css3 module. If you were explicitly importing
compass/utilities/general, compass/utilities/general/inline_block or
compass/utilities/general/opacity to access the opacity or
inline-block mixins, you'll need to update your imports.
2009-08-29 13:20:29 -07:00
Chris Eppstein
dafbd88588 Fixed some incorrect logic around the deprecation warning for the +blueprint mixin and eliminated the deprecation warnings for the examples. 2009-08-29 12:26:36 -07:00
Chris Eppstein
24d4ff4146 [Blueprint] Make the primary blueprint mixins easier to use by allowing them to be nested when passing true as the first argument.
The old approach of passing a selector as the first argument is now deprecated in favor of a simple flag to indicate nesting or not.
2009-08-29 12:26:36 -07:00
Chris Eppstein
d2b1370c80 [Blueprint] Fixed a bug in the calculations for the +colborder mixin. Closes GH-25. 2009-07-09 12:49:36 -07:00
tdreyno
a5393bbb7c Make colruler color customizable 2009-07-04 16:01:44 -07:00
tdreyno
b84dd3031b [Blueprint] Make sizing and borders configurable in forms. 2009-06-21 00:00:01 -07:00
tdreyno
0a0a14aab5 [Blueprint] Allow variable blueprint border widths and colors. 2009-06-21 00:00:01 -07:00
tdreyno
8b5379e864 [Blueprint] Comments in the fancy type module should be silent. 2009-06-20 23:59:56 -07:00
Noel Gomez
2126240a1a [Compass Core] [Blueprint] The compass reset is now based on Eric Meyer's reset. The old compass/reset.sass was moved to blueprint/reset.sass -- the original source for it. 2009-06-20 17:16:13 -07:00
Enrico Bianco
63075f82db [Blueprint] Upgrade to 0.9: Explicitly define image interpolation for IE so that images aren't jagged when resizing 2009-06-20 17:08:30 -07:00
Enrico Bianco
56c745b939 [Blueprint] Upgrade to 0.9: Styles and mixins for inline forms, including fixes for IE6. 2009-06-20 15:52:36 -07:00
Enrico Bianco
4b33fae5e5 [Blueprint] Upgrade to 0.9: Fixed math for blueprint colborder 2009-06-20 15:52:36 -07:00
Enrico Bianco
45af89d4c7 [Blueprint] Upgrade to 0.9: Removed body margins from blueprint scaffolding by default.
The old body styles can be reinstated by mixing +blueprint-scaffolding-body into your body selector(s).
2009-06-20 15:52:36 -07:00
Chris Eppstein
5acb8a0520 [Blueprint] Updated a broken link in the comments. 2009-05-07 11:59:46 -07:00
Chris Eppstein
3f16225556 [Blueprint] Split the push and pull mixins into sub-mixins that separate the common styles from the ones that vary.
Added the following mixins:
  +push-base
  +push-margins
  +pull-base
  +pull-margins

The generated css when using presentational class names will be smaller as a result.
2009-04-19 09:44:10 -07:00
ltackett
baa734df25 Fixed typo in credits. 2009-04-19 09:43:58 -07:00
Chris Eppstein
7a83d0d71e [Blueprint] Update liquid plugin to have a span mixin that matches elsewhere. 2009-04-19 09:43:58 -07:00
Chris Eppstein
9686852244 Convert the debug module to use the new image_url sass function. 2009-04-06 00:36:33 -07:00
Chris Eppstein
c36f63fd92 Incorporate Blueprint 0.8 grid changes, make the generated grid more closely match Blueprint's by adding an enumerate(prefix, startindex, endindex) sass function that generates a list of enumerated selectors. 2009-04-06 00:00:44 -07:00
Chris Eppstein
759c422c34 Incorporate more bugfixes from Blueprint 0.8 2009-04-05 23:58:15 -07:00
Chris Eppstein
dc5f5672a4 Port of the blueprint rtl plugin to compass with example. Also a small re-org of some of the files in the blueprint_plugin example. 2009-04-05 22:07:48 -07:00
Chris Eppstein
a5712edc3e Added the link icons plugin from blueprint 0.8. To install this plugin:
compass -f blueprint -p link_icons
2009-04-05 03:14:47 -07:00
Chris Eppstein
53960d9c25 Port of the Blueprint Buttons plugin to Compass.
This port adds semantic win and color customization to your blueprint button
styles. It also let's you choose whether you want to float them right,
left, or leave them inline-block.

To install this plugin into your project run the following command.
compass -f blueprint -p buttons

Or if you have a rails project:
compass --rails -f blueprint -p buttons
2009-04-03 12:18:47 -07:00
Chris Eppstein
fbd6f55c56 IE changes for Blueprint 0.8 2009-04-02 23:23:22 -07:00
Chris Eppstein
c040c1d2d9 Fix some test failures. 2009-04-02 22:53:42 -07:00
Andrew Vit
150e7bf6a7 Updated frameworks to use new float implementation
Avoided changing YUI due to its complex inheritance and float:none overrides.
2009-04-02 22:40:25 -07:00
Andrew Vit
b36e2d2622 Added +float-left and +float-right as mixins
In order to include fixes for IE's double-margin bug universally, floats
were implemented as a utility mixins.
2009-04-02 22:40:16 -07:00
Chris Eppstein
de2d06d9b8 [Blueprint] Fixed a bug where the .last class was not overridden by the .append-N classes. 2009-03-11 23:03:14 -07:00
sbfaulkner
5c3d5bdbc0 trailing comment closure in sass messes with css
Signed-off-by: Chris Eppstein <chris@eppsteins.net>
2009-03-02 02:41:06 +08:00
Chris Eppstein
af6f16d4b8 Eric Meyer's reset uses a line-height value of 1. Blueprint uses 1.5 and
YUI doesn't even consider it part of the reset. With so much
disagreement, I decided to make the compass reset agnostic and let
individual frameworks decide what the body line-height ought to be.
2009-02-21 00:15:24 -08:00
Chris Eppstein
91aa83cbfd Silence implicit string deprecation warnings. 2008-12-17 09:02:48 -08:00
Chris Eppstein
2c3e57bec6 Created top level imports for all frameworks. This change broke backwards compatibility for YUI, where users should now @import yui.sass instead of yui/screen.sass 2008-12-08 10:44:36 -08:00
Chris Eppstein
32133bc478 On second thought: Don't scope blueprint grid classes within the container. This will make them difficult to override and BP-css doesn't do it. 2008-12-06 14:13:03 -08:00
Chris Eppstein
3100476ff5 Coding spree to clean up the blueprint stylesheets and make them more similar to blueprint-css, more configurable, and more consistent.
Breakdown of changes:

===

Remove the body scope that is unnecessarily added to many blueprint classes due to the way the mixins were constructed and used. Blueprint mixins that operate on the body tag now follow a pattern where they take the body selector as an argument and must always be mixed into the top level of a stylesheet. The classes will be scoped whenever the selector is not a simple "body" selector which is the default. Mixins affected: +blueprint-ie, +blueprint-print, +blueprint-typography, and +blueprint-scaffolding. All of these mixins use corresponding +[mixin]-body and +[mixin]-defaults mixins in their implementations that you can use directly if you feel constrained by the requirement to mix into the top-level.

===

Made all configurable constants possible to override in a base stylesheet using conditional assignment. Moved many colors that were still hard coded to the colors.sass module so they can be overridden.

===

Restored some blueprint defaults even though I didn't like them. With the exception of the blueprint link urls which are now available as a mixin called +blueprint-show-link-urls (they used to just be commented out.)

===

Grid constants have been renamed in both the grid and liquid grid modules. These constants are now conditionally assigned to make the grid easily configured.

===

The liquid grid now uses the compass clearfix.

===

moved the primary mixin for a module (where one exists) to the top of the file for clarity of readers.

===

blueprint grid classes are now appropriately scoped under the .container class.
2008-12-06 13:46:03 -08:00