susy 2.0.0.alpha.6 → 2.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/VERSION +1 -1
- data/docs/changelog.rst +568 -0
- data/lib/susy.rb +3 -3
- data/sass/susy/_helpers.scss +0 -1
- data/sass/susy/_math.scss +2 -1
- data/sass/susy/api/_float.scss +1 -0
- data/sass/susy/api/_shared.scss +2 -0
- data/sass/susy/{helpers → api/float}/_clearfix.scss +0 -0
- data/sass/susy/api/float/_container.scss +5 -5
- data/sass/susy/api/float/_end.scss +10 -3
- data/sass/susy/api/float/_isolate.scss +1 -1
- data/sass/susy/api/float/_span.scss +1 -1
- data/sass/susy/api/shared/_background.scss +2 -2
- data/sass/susy/{helpers → api/shared}/_box-sizing.scss +0 -0
- data/sass/susy/api/shared/_container.scss +4 -7
- data/sass/susy/{helpers → api/shared}/_direction.scss +10 -3
- data/sass/susy/api/shared/_margins.scss +1 -1
- data/sass/susy/api/shared/_padding.scss +1 -1
- data/sass/susy/language/_susy.scss +3 -1
- data/sass/susy/language/susy/_background.scss +1 -1
- data/sass/susy/language/susy/_bleed.scss +4 -2
- data/sass/susy/language/susy/_box-sizing.scss +31 -0
- data/sass/susy/language/susy/_breakpoint-plugin.scss +26 -0
- data/sass/susy/language/susy/_container.scss +22 -4
- data/sass/susy/language/susy/_context.scss +1 -1
- data/sass/susy/language/susy/_gallery.scss +20 -18
- data/sass/susy/language/susy/_grids.scss +18 -5
- data/sass/susy/language/susy/_gutters.scss +3 -3
- data/sass/susy/language/susy/_isolate.scss +4 -4
- data/sass/susy/language/susy/_rows.scss +66 -73
- data/sass/susy/language/susy/_settings.scss +54 -16
- data/sass/susy/language/susy/_span.scss +45 -22
- data/sass/susy/math/_columns.scss +21 -15
- data/sass/susy/math/_container.scss +6 -21
- data/sass/susy/math/_settings.scss +24 -0
- data/sass/susy/math/_validation.scss +62 -0
- data/templates/project/_base.scss +2 -2
- data/templates/project/manifest.rb +5 -8
- data/templates/project/screen.scss +2 -2
- metadata +10 -11
- data/CHANGELOG.mkdn +0 -269
- data/sass/susy/_core.scss +0 -6
- data/sass/susy/_settings.scss +0 -10
- data/sass/susy/helpers/_nth.scss +0 -15
- data/sass/susy/math/_location.scss +0 -48
- data/templates/project/README.md +0 -84
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d45ed731ca80458ec4677b2342c82c1a37198052
|
4
|
+
data.tar.gz: 0a6a3b6f31a87c8f49cebe66576e89524e85982f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f0e5475bf46aa863ff545b072b261a76dfd4a4eb4bdd83d56a81c6ad0fbfc1849f99f1be1fd13865009381a2b71d5dce27896a07855b2b30606c1d090c81557
|
7
|
+
data.tar.gz: 227b2172872f3ec60db0c1c82b3d585fd5d299d5efc1e57905aa1f4ea5313e53b9c08fbfaee7759b77e6bb80bdc5e6c4cea174dddcd5f99421744c44e2ebea8b
|
data/LICENSE.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.0.
|
1
|
+
2.0.0.beta.0
|
data/docs/changelog.rst
ADDED
@@ -0,0 +1,568 @@
|
|
1
|
+
Changelog
|
2
|
+
=========
|
3
|
+
|
4
|
+
|
5
|
+
2.0.0.beta.1 — Dec 25 2013
|
6
|
+
--------------------------
|
7
|
+
|
8
|
+
- Add ``susy-breakpoint`` mixin for basic integration with `Breakpoint`_.
|
9
|
+
|
10
|
+
+ Syntax: ``breakpoint($query, $layout, $no-query)``
|
11
|
+
where ``$query`` and ``no-query`` follow the Breakpoint syntax,
|
12
|
+
and ``$layout`` uses the Susy syntax for defining grids.
|
13
|
+
|
14
|
+
- Add ``layout`` function to convert layouts from shorthand syntax to map.
|
15
|
+
- Add ``full`` keyword shortcut for full-width spans.
|
16
|
+
- BREAKING: Remove unclear ``row`` and ``unrow`` mixins.
|
17
|
+
- Add ``break`` and ``nobreak`` mixins/keywords
|
18
|
+
to create a new line before any element in the layout.
|
19
|
+
- BREAKING: Rename ``is-container: container`` setting/value to ``role: nest``.
|
20
|
+
- BREAKING: Rename ``layout-method`` setting to ``output``.
|
21
|
+
- BREAKING: Rename ``layout-math`` setting to ``math``.
|
22
|
+
- Clean up division between math/output/syntax layers.
|
23
|
+
- ``gutters`` and ``container-position`` can be set to ``null``.
|
24
|
+
- If ``gutters`` are set to ``0`` or ``null``, they will have no output.
|
25
|
+
- BREAKING: ``full`` output matches span patterns.
|
26
|
+
- BREAKING: Debug grids are hidden by default.
|
27
|
+
- BREAKING: Remove ``nth-last``/``-omega``/``-first``/``-alpha``
|
28
|
+
as confusing & out-of-scope.
|
29
|
+
Format your nth-selectors manually to apply ``first``/``last`` mixins.
|
30
|
+
- Gutter mixins/functions can accept context-only (without the "of" syntax):
|
31
|
+
|
32
|
+
+ ``gutters(of 10 .25)`` == ``gutters(10 .25)``
|
33
|
+
+ Unitless numbers are used for context.
|
34
|
+
+ Lengths (with units) are used as explicit gutter-overrides.
|
35
|
+
|
36
|
+
- BREAKING: Re-purposed ``susy-set`` as reverse of ``susy-get`` —
|
37
|
+
to adjust a single setting.
|
38
|
+
Example: ``@include susy-set(gutter-position, inside);``
|
39
|
+
|
40
|
+
- Replace global ``box-sizing`` setting with ``global-box-sizing``.
|
41
|
+
|
42
|
+
+ Let Susy know what box model you are using globally.
|
43
|
+
+ ``box-sizing`` can still be passed as a keyword argument.
|
44
|
+
|
45
|
+
- Add ``global-box-sizing()`` mixin to set your global box model.
|
46
|
+
|
47
|
+
+ Example: ``@include global-box-sizing(border-box);``
|
48
|
+
+ You can still use the legacy ``@include border-box-sizing;`` as a shortcut.
|
49
|
+
+ Uses your global setting as a default.
|
50
|
+
+ Updates your global setting to match, if you pass a different value.
|
51
|
+
|
52
|
+
- ``gallery`` and ``span`` mixins take global-box-sizing into account.
|
53
|
+
|
54
|
+
.. _Breakpoint: http://breakpoint-sass.com/
|
55
|
+
|
56
|
+
|
57
|
+
2.0.0.alpha.6 — Dec 5 2013
|
58
|
+
--------------------------
|
59
|
+
|
60
|
+
- Rewrite syntax parsing so parser and resulting maps are shared across Susy.
|
61
|
+
- Fix explicit-span bug causing large gutters.
|
62
|
+
- Padding mixins now respect inside gutters.
|
63
|
+
|
64
|
+
Backwards Incompatible:
|
65
|
+
|
66
|
+
- Removed ``gutters $n`` keyword in shorthand syntax
|
67
|
+
for setting explicit gutters.
|
68
|
+
Use ``(gutter-override: $n)`` map instead.
|
69
|
+
|
70
|
+
|
71
|
+
2.0.0.alpha.5 — Nov 25 2013
|
72
|
+
---------------------------
|
73
|
+
|
74
|
+
- Compass is no longer a dependency.
|
75
|
+
|
76
|
+
+ Only registers as a compass extension if compass is present.
|
77
|
+
|
78
|
+
- Any mixin/function that accepts natural language syntax also accepts maps.
|
79
|
+
- Maps and natural language can be mixed:
|
80
|
+
|
81
|
+
+ ``$large: (columns: 12, gutters: .5);``
|
82
|
+
+ ``span(3 $large no-gutters)``
|
83
|
+
|
84
|
+
- Add ``full`` mixin for full-width spans.
|
85
|
+
|
86
|
+
Backwards Incompatible:
|
87
|
+
|
88
|
+
- Requires Sass 3.3
|
89
|
+
- Default settings are handled with a Sass map on the ``$susy`` variable.
|
90
|
+
Example: ``$susy: (columns: 12, gutters: .25)`` etc.
|
91
|
+
|
92
|
+
- ``bleed`` now takes standard span syntax, with multiple (TRBL) spans.
|
93
|
+
|
94
|
+
+ e.g. ``bleed(1em 2 of 8)`` for 1em top/bottom and 2-columns left/right.
|
95
|
+
+ Add ``bleed-x``/``bleed-y`` mixins for horizontal and vertical shortcuts.
|
96
|
+
|
97
|
+
- Span arguments now accept ``narrow``, ``wide``, or ``wider`` keywords.
|
98
|
+
|
99
|
+
+ The ``wide`` keyword replaces the old ``outer`` keyword.
|
100
|
+
+ This setting has been re-named from ``outer`` to ``spread``.
|
101
|
+
|
102
|
+
- Re-wrote grid debugging
|
103
|
+
|
104
|
+
+ More concise & accurate output for symmetrical grids.
|
105
|
+
+ Changed ``grid-background()`` to ``show-grid()``/``show-grids()``
|
106
|
+
+ Changed ``overlay-grid()`` to ``grid-overlay()``
|
107
|
+
+ Moved settings into ``$debug: (color: rgba(#66f, .25), toggle: top right);``
|
108
|
+
+ Removed overlay-position setting.
|
109
|
+
+ Only display vertical-rhythms when ``$base-line-height`` is available.
|
110
|
+
|
111
|
+
- ``split`` gutters are no longer removed at the grid edges.
|
112
|
+
|
113
|
+
+ ``first`` and ``last`` are not special cases for split gutter-handling.
|
114
|
+
+ pass the ``container`` argument to wrappers you plan to nest inside.
|
115
|
+
|
116
|
+
- ``first``/``alpha``/``last``/``omega``/``nth-`` mixins require grid context.
|
117
|
+
|
118
|
+
|
119
|
+
2.0.0.alpha.4 — Sept 4 2013
|
120
|
+
---------------------------
|
121
|
+
|
122
|
+
- Add ``bleed`` mixin.
|
123
|
+
- Fix bug with fluid inside-gutter calculations.
|
124
|
+
- ``$last-flow`` setting controls the flow direction of row-ending elements.
|
125
|
+
- ``background-grid-output`` now accepts ``$line-height`` argument.
|
126
|
+
- Compass modules are imported as needed.
|
127
|
+
- ``grid-background``, ``grid-overlay``, ``grid-background-output``,
|
128
|
+
& ``$grid-background-color``
|
129
|
+
have been renamed to remiain consistent and avoid conflicts with Compass:
|
130
|
+
|
131
|
+
+ ``grid-background`` => ``background-grid``
|
132
|
+
+ ``grid-overlay`` => ``overlay-grid``
|
133
|
+
+ ``grid-background-output`` => ``background-grid-output``
|
134
|
+
+ ``$grid-background-color`` => ``$grid-color``
|
135
|
+
|
136
|
+
- ``span`` mixing accepts nested ``@content``, and uses nested context.
|
137
|
+
- Add ``inside-static`` option for static gutters in otherwise fluid grids.
|
138
|
+
- ``gutters`` mixin uses span syntax, accepts explicit gutter span.
|
139
|
+
- Explicit gutter-overrides are divided when gutters are ``split``/``inside``.
|
140
|
+
|
141
|
+
|
142
|
+
2.0.0.alpha.3 — July 9 2013
|
143
|
+
---------------------------
|
144
|
+
|
145
|
+
- ``row`` now includes clearfix, and ``unrow`` removes clearfix.
|
146
|
+
- ``gallery`` output should override previous gallery settings.
|
147
|
+
- Removed ``nth-gallery`` and ``isolate-gallery`` in favor of single,
|
148
|
+
isolated ``gallery`` mixin.
|
149
|
+
- Add padding-span syntax: ``prefix``, ``suffix``, and ``pad``.
|
150
|
+
- Add margin-span syntax: ``pre``, ``post``, ``push``, ``pull``, and ``squish``.
|
151
|
+
- New ``gutters`` mixin adds gutters to an element.
|
152
|
+
- ``gutter`` function now returns half-widths when using split/inside gutters.
|
153
|
+
- Add ``outer`` keyword to ``span`` syntax,
|
154
|
+
to return span-width including gutters.
|
155
|
+
|
156
|
+
+ Works with both span mixin and span function.
|
157
|
+
+ Replaces Susy 1.0 ``space`` function.
|
158
|
+
|
159
|
+
- Add comrehensive unit tests, using `True`_.
|
160
|
+
- Improve fall-abck handling of ommitted arguments.
|
161
|
+
- Add ``container`` function to return a given container's width.
|
162
|
+
- Add ``auto`` keyword to override ``$container-width``,
|
163
|
+
otherwise respect existing width.
|
164
|
+
- Renamed ``$isolate`` to ``$layout-method``
|
165
|
+
|
166
|
+
+ No longer accepts boolean.
|
167
|
+
+ Accepts keywords ``isolate`` and (default) ``float``.
|
168
|
+
|
169
|
+
- Renamed ``$static`` to ``$layout-math``
|
170
|
+
|
171
|
+
+ No longer accepts boolean.
|
172
|
+
+ Accepts keywords ``static`` (use given units)
|
173
|
+
and (default) ``fluid`` (use % units).
|
174
|
+
|
175
|
+
- Add ``show-columns`` and ``show-baseline`` keywords
|
176
|
+
to ``$show-grids`` setting.
|
177
|
+
``show`` will show both columns/baseline, default is ``show-columns``.
|
178
|
+
|
179
|
+
.. _True: http://eric.andmeyer.com/true/
|
180
|
+
|
181
|
+
|
182
|
+
2.0.0.alpha.2 — May 7 2013
|
183
|
+
--------------------------
|
184
|
+
|
185
|
+
- Added ``gutter <length>``/``gutters <length>``
|
186
|
+
to override the attached gutter width on a single span.
|
187
|
+
NOTE: ``gutters 0`` is not the same as ``no-gutters``.
|
188
|
+
``0`` is an output value, ``no-gutters`` removes output.
|
189
|
+
|
190
|
+
- Added ``container`` span option
|
191
|
+
to remove inside gutters from nesting containers.
|
192
|
+
- Added ``before``/``after``/``split``/``inside``/``no-gutters`` gutter options.
|
193
|
+
- Added ``gallery`` mixin for auto-generating gallery layouts.
|
194
|
+
- Moved grid-backgrounds into language layer, and made them syntax-aware.
|
195
|
+
- Added ``row``/``unrow``, ``first``/``last``, ``alpha``/``omega``,
|
196
|
+
``nth-first``/``nth-last``, and ``nth-alpha``/``nth-omega``.
|
197
|
+
- Added ``container`` and ``span`` mixins with new syntax.
|
198
|
+
- Added syntax-aware math functions (``span``/``gutter``/``outer-span``).
|
199
|
+
- Added rough ``translate-susy1-settings`` mixin.
|
200
|
+
- Moved syntax-specific math into language layer.
|
201
|
+
- Fleshed-out new language syntax.
|
202
|
+
- Added ``get-grid``, ``set-grid``, and ``use-grid``
|
203
|
+
and declaring and managing settings.
|
204
|
+
- Remove breakpoint core requirement (will come back as option)
|
205
|
+
|
206
|
+
|
207
|
+
2.0.0.alpha.1 — Jan 26 2013
|
208
|
+
---------------------------
|
209
|
+
|
210
|
+
**Susy 2.0 was re-written from the ground up.**
|
211
|
+
|
212
|
+
- Functioning math engine
|
213
|
+
- Initial string parsing for natural syntax
|
214
|
+
- Float/Isolation output methods
|
215
|
+
- Removed all ECHOE/RAKE stuff in favor of vanilla .gemspec
|
216
|
+
- Added Ruby based String Split function
|
217
|
+
- Added Sass based ``grid-add`` function, to add grids à la Singularity
|
218
|
+
- Added default variables
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
1.0.5 — Nov 27 2012
|
223
|
+
-------------------
|
224
|
+
|
225
|
+
- Add support for rem-units.
|
226
|
+
- Clean-up quoted arguments.
|
227
|
+
- Fix a few bugs related to the override settings.
|
228
|
+
|
229
|
+
|
230
|
+
1.0.4 — Nov 3 2012
|
231
|
+
-------------------
|
232
|
+
|
233
|
+
- Fix bug in nested mixins that adjust support
|
234
|
+
(e.g. ``nth-omeg`` inside ``at-breakpoint``).
|
235
|
+
- Remove non-ie experimental support in ``at-breakpoint`` ie-fallback output.
|
236
|
+
|
237
|
+
|
238
|
+
1.0.3 — Oct 20 2012
|
239
|
+
-------------------
|
240
|
+
|
241
|
+
- Fix Compass dependencies.
|
242
|
+
|
243
|
+
|
244
|
+
1.0.2 — Oct 20 2012
|
245
|
+
-------------------
|
246
|
+
|
247
|
+
- Fix a bug with ``container-outer-width`` ignoring ``$columns`` argument.
|
248
|
+
- Turn off legacy-ie support inside CSS3 selectors (``nth-omega`` etc).
|
249
|
+
|
250
|
+
|
251
|
+
1.0.1 — Sept 12 2012
|
252
|
+
--------------------
|
253
|
+
|
254
|
+
- Fix a bug in the relationship
|
255
|
+
between ``$container-width`` and ``$border-box-sizing``,
|
256
|
+
so that grid-padding is subtracted from the width in certain cases.
|
257
|
+
- Reset right margin to ``auto`` rather than ``0`` with ``remove-omega``.
|
258
|
+
|
259
|
+
|
260
|
+
1.0 — Aug 14 2012
|
261
|
+
-----------------
|
262
|
+
|
263
|
+
This release is loaded with new features, but don't let that fool you. Susy
|
264
|
+
just became shockingly simple to use.
|
265
|
+
|
266
|
+
The gem name has changed from ``compass-susy-plugin`` to ``susy``.
|
267
|
+
First uninstall the old gem, then install the new one.
|
268
|
+
If you have both gems installed, you will get errors.
|
269
|
+
|
270
|
+
Semantics:
|
271
|
+
|
272
|
+
We re-arranged the code
|
273
|
+
in order to make the syntax simpler and more consistent:
|
274
|
+
|
275
|
+
- ``$total-cols`` is now ``$total-columns``.
|
276
|
+
- ``$col-width`` is now ``$column-width``.
|
277
|
+
- ``$side-gutter-width`` is now ``$grid-padding``
|
278
|
+
and gets applied directly to the grid container.
|
279
|
+
- ``un-column`` & ``reset-column`` mixins have merged into ``reset-columns``.
|
280
|
+
- ``columns`` has been renamed ``span-columns``
|
281
|
+
to resolve the conflict with CSS3 columns.
|
282
|
+
See other improvements to span-columns below.
|
283
|
+
|
284
|
+
We also removed several bothersome requirements:
|
285
|
+
|
286
|
+
- The ``alpha`` mixin is no longer needed. Ever.
|
287
|
+
- The ``omega`` no longer takes a ``$context`` argument.
|
288
|
+
- ``full`` has been removed entirely.
|
289
|
+
Elements will be full-width by default.
|
290
|
+
You can add ``clear: both;`` back in as needed.
|
291
|
+
- ``side-gutter()`` is no longer needed.
|
292
|
+
You can use the ``$grid-padding`` setting directly.
|
293
|
+
|
294
|
+
Upgrade:
|
295
|
+
|
296
|
+
That's all you need in order to upgrade from Susy 0.9.
|
297
|
+
|
298
|
+
1. Uninstall and re-install the gem.
|
299
|
+
2. Find and replace the semantic changes listed above.
|
300
|
+
|
301
|
+
You're done! Stop worrying about all that "nested vs. root" bullshit,
|
302
|
+
and start playing with the new toys!
|
303
|
+
|
304
|
+
If you use the ``$from`` directional arguments
|
305
|
+
directly in the ``span-columns`` mixin,
|
306
|
+
there may be one more change to make.
|
307
|
+
See below:
|
308
|
+
|
309
|
+
New Features:
|
310
|
+
|
311
|
+
- ``span-columns`` supports new features:
|
312
|
+
|
313
|
+
+ "omega" can be applied directly through the ``$columns`` argument.
|
314
|
+
+ Internal padding can be added through the ``$padding`` argument.
|
315
|
+
+ This pushes the ``$from`` argument from third position into fourth.
|
316
|
+
|
317
|
+
- ``at-breakpoint`` allows you to change layouts at media breakpoints.
|
318
|
+
- ``container`` accepts multiple media-layout combinations as a shortcut.
|
319
|
+
- ``layout`` allows you to use a different layout at any time.
|
320
|
+
- ``with-grid-settings`` allows you to change any or all grid settings.
|
321
|
+
- ``set-container-width`` does what it says, without the other container code.
|
322
|
+
- ``$breakpoint-media-output``, ``$breakpoint-ie-output``,
|
323
|
+
and ``$breakpoint-raw-output``
|
324
|
+
settings help manage the different outputs from ``at-breakpoint``
|
325
|
+
when you have IE-overrides living in a file of their own.
|
326
|
+
- ``border-box-sizing`` will apply the popular ``* { box-sizing: border-box }``
|
327
|
+
universal box-model fix, as well as changing the Susy ``$border-box-model``
|
328
|
+
setting for you, so Susy knows to adjust some math.
|
329
|
+
- The ``space()`` function can be used anywhere you need column+gutter math.
|
330
|
+
- ``push``/``pull``/``pre``/``post``/``squish`` mixins help manage margins.
|
331
|
+
- use the ``nth-omega`` mixin to set omega on any nth-child, nth-of-type,
|
332
|
+
first, last, or only element.
|
333
|
+
- ``remove-omega`` and ``remove-nth-omega`` will remove
|
334
|
+
the omega-specific styles from an element.
|
335
|
+
- ``$container-width`` will override the width of your container
|
336
|
+
with any arbitrary length.
|
337
|
+
- ``$container-style`` will override the type of grid container
|
338
|
+
(magic, fluid, fixed, static, etc) to use.
|
339
|
+
|
340
|
+
|
341
|
+
0.9 — Apr 25 2011
|
342
|
+
-----------------
|
343
|
+
|
344
|
+
Everything here is about simplicity. Susy has scaled back to it's most basic
|
345
|
+
function: providing flexible grids. That is all.
|
346
|
+
|
347
|
+
Deprecated:
|
348
|
+
|
349
|
+
- The ``susy/susy`` import is deprecated in favor of simply importing ``susy``.
|
350
|
+
- The ``show-grid`` import is deprecated in favor of CSS3 gradient-based
|
351
|
+
grid-images. You can now use the ``susy-grid-background`` mixin. See below.
|
352
|
+
|
353
|
+
Removed:
|
354
|
+
|
355
|
+
- Susy no longer imports all of compass.
|
356
|
+
- Susy no longer establishes your baseline and no longer provides a reset.
|
357
|
+
All of that is in the Compass core. You can (and should!) keep using them,
|
358
|
+
but you will need to import them from compass.
|
359
|
+
|
360
|
+
New:
|
361
|
+
|
362
|
+
- Use ``susy-grid-background`` mixin on any ``container`` to display the grid.
|
363
|
+
This toggles on and off with the same controls that are used by the compass
|
364
|
+
grid-background module.
|
365
|
+
|
366
|
+
|
367
|
+
0.9.beta.3 — Mar 16 2011
|
368
|
+
------------------------
|
369
|
+
|
370
|
+
Deprecated:
|
371
|
+
|
372
|
+
- The ``susy/reset`` import has been deprecated
|
373
|
+
in favor of the Compass core ``compass/reset`` import.
|
374
|
+
- The ``susy`` mixin has been deprecated.
|
375
|
+
If you plan to continue using vertical-rhythms,
|
376
|
+
you should replace it with the ``establish-baseline`` mixin
|
377
|
+
from the Compass Core.
|
378
|
+
|
379
|
+
Removed:
|
380
|
+
|
381
|
+
- The ``vertical-rhythm`` module has moved into compass core.
|
382
|
+
The API remains the same, but if you were importing it directly,
|
383
|
+
you will have to update that import.
|
384
|
+
(``$px2em`` was removed as part of this, but didn't make it into core).
|
385
|
+
- The ``defaults`` template has been removed as 'out-of-scope'.
|
386
|
+
This will not effect upgrading in any way,
|
387
|
+
but new projects will not get a template with default styles.
|
388
|
+
|
389
|
+
New Features:
|
390
|
+
|
391
|
+
- Susy now supports RTL grids and bi-directional sites
|
392
|
+
using the ``$from-direction`` variable (default: left)
|
393
|
+
and an optional additional from-direction argument on all affected mixins.
|
394
|
+
Thanks to @bangpound for the initial implementation.
|
395
|
+
- Susy is now written in pure Sass! No extra Ruby functions included!
|
396
|
+
Thanks to the Sass team for making it possible.
|
397
|
+
|
398
|
+
|
399
|
+
0.8.1 — Sep 24 2010
|
400
|
+
-------------------
|
401
|
+
|
402
|
+
- Fixed typos in tutorial and ``_defaults.scss``
|
403
|
+
|
404
|
+
|
405
|
+
0.8.0 — Aug 13 2010
|
406
|
+
-------------------
|
407
|
+
|
408
|
+
Deprecated:
|
409
|
+
|
410
|
+
- The ``skip-link`` was deprecated as it doesn't belong in Susy.
|
411
|
+
- All the IE-specific mixins have been deprecated,
|
412
|
+
along with the ``$hacks`` variable.
|
413
|
+
Hacks are now used in the default mixins as per Compass.
|
414
|
+
- The ``hide`` mixin was deprecated in favor of the Compass ``hide-text`` mixin.
|
415
|
+
|
416
|
+
Other Changes:
|
417
|
+
|
418
|
+
- ``inline-block-list`` will be moved to the compass core soon.
|
419
|
+
In preparation, I've cleaned it up some.
|
420
|
+
You can now apply a padding of "0" to override previous padding arguments.
|
421
|
+
You can also use ``inline-block-list-container``
|
422
|
+
and ``inline-block-list-item`` as you would
|
423
|
+
with the Compass ``horizontal-list`` mixins.
|
424
|
+
- The ``$align`` arguments have been removed
|
425
|
+
from both the ``susy`` and ``container`` mixins.
|
426
|
+
Text-alignment is no longer used or needed in achieving page centering.
|
427
|
+
That was a cary-over from the IE5 Mac days.
|
428
|
+
- The ``container`` mixin now uses the ``pie-clearfix``
|
429
|
+
compass mixin to avoid setting the overflow to hidden.
|
430
|
+
- Default styles have been cleaned up to account
|
431
|
+
for better font stacks and typography, html5 elements,
|
432
|
+
vertically-rhythmed forms, expanded print styles,
|
433
|
+
use of ``@extend``, and overall simplification.
|
434
|
+
|
435
|
+
|
436
|
+
0.7.0 — Jun 01 2010
|
437
|
+
-------------------
|
438
|
+
|
439
|
+
- updated documentation
|
440
|
+
|
441
|
+
|
442
|
+
0.7.0.rc2 — May 13 2010
|
443
|
+
-----------------------
|
444
|
+
|
445
|
+
- Fixes a bug with grid.png and a typo in the readme. Nothing major here.
|
446
|
+
|
447
|
+
|
448
|
+
0.7.0.rc1 — May 12 2010
|
449
|
+
-----------------------
|
450
|
+
|
451
|
+
- template cleanup & simplification - no more pushing CSSEdit comments, etc.
|
452
|
+
- expanded base and defaults with better fonts & styles out-of-the-box
|
453
|
+
- expanded readme documentation.
|
454
|
+
This will expand out into a larger docs/tutorial site in the next week.
|
455
|
+
|
456
|
+
|
457
|
+
0.7.0.pre8 — Apr 20 2010
|
458
|
+
------------------------
|
459
|
+
|
460
|
+
- mostly syntax and gem cleanup
|
461
|
+
- added ``un-column`` mixin to reset elements previously declared as columns.
|
462
|
+
- added ``rhythm`` mixin as shortcut for leaders/trailers. accepts 4 args:
|
463
|
+
leader, padding-leader, padding-trailer, trailer.
|
464
|
+
- added a warning on ``alpha``
|
465
|
+
to remind you that ``alpha`` is not needed at nested levels.
|
466
|
+
|
467
|
+
|
468
|
+
0.7.0.pre7 — Apr 13 2010
|
469
|
+
------------------------
|
470
|
+
|
471
|
+
- *Requires HAML 3 and Compass 0.10.0.rc2*
|
472
|
+
- Internal syntax switched to scss. This will have little or no effect on users.
|
473
|
+
You can still use Susy with either (Sass/Scss) syntax.
|
474
|
+
- ``$default-rhythm-border-style`` overrides default rhythm border styles
|
475
|
+
- Better handling of sub-pixel rounding for IE6
|
476
|
+
|
477
|
+
|
478
|
+
0.7.0.pre6 — Mar 29 2010
|
479
|
+
------------------------
|
480
|
+
|
481
|
+
- Added ``+h-borders()`` shortcut for vertical_rhythm ``+horizontal-borders()``
|
482
|
+
- Fixed vertical rhythm font-size typo (thanks @oscarduignan)
|
483
|
+
- Added to template styles, so susy is already in place from the start
|
484
|
+
|
485
|
+
|
486
|
+
0.7.0.pre5 — Mar 19 2010
|
487
|
+
------------------------
|
488
|
+
|
489
|
+
- Expanded and adjusted ``_vertical_rhythm.sass``
|
490
|
+
in ways that are not entirely backwards compatible.
|
491
|
+
Check the file for details.
|
492
|
+
- ``_defaults.sass`` is re-ordered from inline to block.
|
493
|
+
- ``:focus`` defaults cleaned up.
|
494
|
+
- README and docs updated.
|
495
|
+
|
496
|
+
|
497
|
+
0.7.0.pre4 — Jan 20 2010
|
498
|
+
------------------------
|
499
|
+
|
500
|
+
Update: pre2 was missing a file in the manifest. Use pre4.
|
501
|
+
|
502
|
+
*Update:* Forgot to note one change:
|
503
|
+
``+susy`` is no longer assigned to the ``body`` tag,
|
504
|
+
but instead at the top level of the document
|
505
|
+
(not nested under anything).
|
506
|
+
|
507
|
+
Warning: This update is not backwards compatible.
|
508
|
+
We've changed some things. You'll have to change some things.
|
509
|
+
Our changes were fairly major in cleaning up the code -
|
510
|
+
yours will be minor and also clean up some code.
|
511
|
+
|
512
|
+
Added:
|
513
|
+
|
514
|
+
- new ``_vertical_rhythm.sass`` (thanks to Chris Eppstein)
|
515
|
+
provides better establishing of the baseline grid,
|
516
|
+
as well as mixins to help you manage it.
|
517
|
+
- ``!px2em`` has replaced ``px2em()`` - see below.
|
518
|
+
|
519
|
+
Removed:
|
520
|
+
|
521
|
+
- ``px2em()`` has been removed and replaced with a simple variable
|
522
|
+
``!px2em`` which returns the size of one pixel
|
523
|
+
relative to your basic em-height.
|
524
|
+
Multiply against your desired px dimensions
|
525
|
+
(i.e. ``border-width = !px2em*5px`` will output the em-equivalent of 5px).
|
526
|
+
- ``!base_font_size_px`` and ``!base_line_height_px``
|
527
|
+
have been replaced with ``!base_font_size`` and ``!base_line_height``
|
528
|
+
which take advantage of sass's built-in unit handling.
|
529
|
+
- ``!grid_units`` is not needed,
|
530
|
+
as you can now declare your units directly
|
531
|
+
in the other grid ``_width`` variables.
|
532
|
+
Use any one type of units in declaring your grid.
|
533
|
+
The units you use will be used in setting the container size.
|
534
|
+
|
535
|
+
Once you've upgraded, before you compile your files, make these changes:
|
536
|
+
|
537
|
+
- remove the "_px" from the font-size and line-height variables,
|
538
|
+
and add "px" to their values.
|
539
|
+
- remove the ``!grid_units`` variable
|
540
|
+
and add units to your grid variable values.
|
541
|
+
- find any uses of ``px2em()`` and replace them with something.
|
542
|
+
- enjoy!
|
543
|
+
|
544
|
+
|
545
|
+
0.7.0.pre1 — Nov 30 2009
|
546
|
+
------------------------
|
547
|
+
|
548
|
+
Not a lot of new functionality here –
|
549
|
+
it all moved over to Compass 0.10.0 –
|
550
|
+
mostly just cleaning it up to match.
|
551
|
+
|
552
|
+
- simplified the default styles
|
553
|
+
and gave them their own project template (``_defaults.sass``).
|
554
|
+
- defaults not imported by ``ie.sass``,
|
555
|
+
as ``ie.sass`` should be cascading on top of ``screen.sass`` anyway
|
556
|
+
- changed the syntax to match CSS and Compass
|
557
|
+
(``property:`` replaces ``:property``)
|
558
|
+
- added more inline documentation and brought tutorial up to date
|
559
|
+
- moved CSS3 module over to Compass
|
560
|
+
- import the compass HTML5 reset along with the normal reset by default
|
561
|
+
(because Susy loves the future)
|
562
|
+
- little internal management fixes and so on and so on…
|
563
|
+
|
564
|
+
|
565
|
+
Older
|
566
|
+
-----
|
567
|
+
|
568
|
+
Not documented here. Check the commit log...
|