|
1 | 1 | Pure Change History |
2 | 2 | =================== |
3 | 3 |
|
| 4 | +NEXT |
| 5 | +---- |
| 6 | + |
| 7 | +* (!) Pure now requires the Base module (which is Normalize.css) to be on the |
| 8 | + page. Pure has essentially always required the styles provided by |
| 9 | + Normalize.css via the Base module, and this now makes it a firm requirement. |
| 10 | + The `pure-min.css` and `pure-nr-min.css` rollup files already include the Base |
| 11 | + module. |
| 12 | + |
| 13 | + **Note:** When using a [custom subset][Customize] of Pure, be sure to include |
| 14 | + the Base module. |
| 15 | + |
| 16 | +* Added non-minified rollup files: `pure.css` and `pure-nr.css`. These files are |
| 17 | + created in addition to the minified rollups: `pure-min.css` and |
| 18 | + `pure-nr-min.css`. The minified rollups _should_ be used in production. |
| 19 | + ([#171][] @omeid) |
| 20 | + |
| 21 | +### Base |
| 22 | + |
| 23 | +* (!) Removed Normalize.css from checked-in `src/`. Bower is now used to |
| 24 | + programmatically import Normalize.css into `bower_components/` if it's not |
| 25 | + already installed. ([#160][]) |
| 26 | + |
| 27 | +### Buttons |
| 28 | + |
| 29 | +* Removed `-webkit-font-smoothing: antialiased` rule from Buttons. Pure should not |
| 30 | + dictate sub-pixel font rendering, that should be left to the person's browser |
| 31 | + settings and/or the developer. ([#170][] @dchest) |
| 32 | + |
| 33 | +### Forms |
| 34 | + |
| 35 | +* (!) Removed `forms-core.css`. This was a copy of Normalize.css' form related |
| 36 | + styles. Now that Pure requires the Base module (which is Normalize.css) to be |
| 37 | + on the page, the Forms Core submodule is no longer needed. ([#160][]) |
| 38 | + |
| 39 | +* Added `:focus` styles to `[readonly]` `<input>` elements. ([#143][]) |
| 40 | + |
| 41 | +### Grids |
| 42 | + |
| 43 | +* Prevented grid units from falling to a new line on IE6 and IE7. Grid units now |
| 44 | + have a separate `*width` value for oldIEs. This value is `0.005%` less than |
| 45 | + the standard `width` value. This fix does not affect modern browsers. ([#154][]) |
| 46 | + |
| 47 | + |
| 48 | +* Added a `height: auto` rule to images within a `.pure-g-r` so that their aspect |
| 49 | + ratios are maintained when the page is resized. ([#172][]: @dchest) |
| 50 | + |
| 51 | +* (!) Added the following font stack to `.pure-g, .pure-g-r` in order to prevent |
| 52 | + grids from breaking in various target environments: |
| 53 | + |
| 54 | + ```css |
| 55 | + font-family: "Bitstream Charter", Tinos, "Droid Sans", "DejaVu Sans", |
| 56 | + Helvetica, Arial, sans-serif; |
| 57 | + ``` |
| 58 | + |
| 59 | + This is a *breaking* change. If you are using any non-default font in your project, |
| 60 | + you will need to modify your CSS and add a `font-family` to the grid unit classes: |
| 61 | + |
| 62 | + ```css |
| 63 | + .pure-g [class *= "pure-u"], |
| 64 | + .pure-g-r [class *= "pure-u"] { |
| 65 | + |
| 66 | + /* Add your font in here, whether it's a custom font or a normal font */ |
| 67 | + font-family: "Times New Roman", serif; |
| 68 | + |
| 69 | + } |
| 70 | + ``` |
| 71 | + |
| 72 | + Refer to the [Grids Documentation][Grids] for more details on using |
| 73 | + non-default fonts with Pure Grids. |
| 74 | + ([#41][] @dannyfritz, @pandeiro, and many others!) |
| 75 | + |
| 76 | + |
| 77 | +[#41]: https://github.com/yui/pure/issues/41 |
| 78 | +[#143]: https://github.com/yui/pure/issues/143 |
| 79 | +[#154]: https://github.com/yui/pure/issues/154 |
| 80 | +[#160]: https://github.com/yui/pure/issues/160 |
| 81 | +[#170]: https://github.com/yui/pure/issues/170 |
| 82 | +[#171]: https://github.com/yui/pure/issues/171 |
| 83 | +[Customize]: http://purecss.io/customize/ |
| 84 | +[Grids]: http://purecss.io/grids/ |
| 85 | + |
| 86 | + |
4 | 87 | 0.2.1 (2013-07-17) |
5 | 88 | ------------------ |
6 | 89 |
|
@@ -55,6 +138,7 @@ Pure Change History |
55 | 138 | [#109]: https://github.com/yui/pure/issues/109 |
56 | 139 | [#115]: https://github.com/yui/pure/issues/115 |
57 | 140 | [#127]: https://github.com/yui/pure/issues/127 |
| 141 | +[#172]: https://github.com/yui/pure/pull/172 |
58 | 142 |
|
59 | 143 |
|
60 | 144 | 0.2.0 (2013-06-11) |
|
0 commit comments