2013-05-16 17:01:32 +00:00
|
|
|
Pure Change History
|
|
|
|
===================
|
|
|
|
|
2013-07-18 02:23:54 +00:00
|
|
|
NEXT
|
|
|
|
----
|
|
|
|
|
2013-08-27 16:59:46 +00:00
|
|
|
* (!) Pure now requires the Base module (which is Normalize.css) to be on the
|
|
|
|
page. Pure has essentially always required the styles provided by
|
|
|
|
Normalize.css via the Base module, and this now makes it a firm requirement.
|
|
|
|
The `pure-min.css` and `pure-nr-min.css` rollup files already include the Base
|
|
|
|
module.
|
|
|
|
|
|
|
|
**Note:** When using a [custom subset][Customize] of Pure, be sure to include
|
|
|
|
the Base module.
|
|
|
|
|
2013-08-27 16:41:05 +00:00
|
|
|
* Added non-minified rollup files: `pure.css` and `pure-nr.css`. These files are
|
|
|
|
created in addition to the minified rollups: `pure-min.css` and
|
|
|
|
`pure-nr-min.css`. The minified rollups _should_ be used in production.
|
|
|
|
([#171][] @omeid)
|
|
|
|
|
2013-08-27 16:59:46 +00:00
|
|
|
### Base
|
|
|
|
|
|
|
|
* (!) Removed Normalize.css from checked-in `src/`. Bower is now used to
|
|
|
|
programmatically import Normalize.css into `bower_components/` if it's not
|
|
|
|
already installed. ([#160][])
|
|
|
|
|
2013-08-23 16:08:56 +00:00
|
|
|
### Buttons
|
|
|
|
|
2013-08-31 13:35:29 +00:00
|
|
|
* Removed `-webkit-font-smoothing: antialiased` rule from Buttons and Forms.
|
|
|
|
Pure should not dictate sub-pixel font rendering, that should be left to
|
|
|
|
the person's browser settings and/or the developer. ([#170][] @dchest)
|
2013-08-23 16:08:56 +00:00
|
|
|
|
2013-08-05 19:13:41 +00:00
|
|
|
### Forms
|
2013-07-18 02:23:54 +00:00
|
|
|
|
2013-08-27 16:59:46 +00:00
|
|
|
* (!) Removed `forms-core.css`. This was a copy of Normalize.css' form related
|
|
|
|
styles. Now that Pure requires the Base module (which is Normalize.css) to be
|
|
|
|
on the page, the Forms Core submodule is no longer needed. ([#160][])
|
|
|
|
|
2013-08-05 19:13:41 +00:00
|
|
|
* Added `:focus` styles to `[readonly]` `<input>` elements. ([#143][])
|
2013-07-18 02:23:54 +00:00
|
|
|
|
2013-08-20 20:13:41 +00:00
|
|
|
### Grids
|
2013-07-18 02:23:54 +00:00
|
|
|
|
2013-08-20 20:13:41 +00:00
|
|
|
* Prevented grid units from falling to a new line on IE6 and IE7. Grid units now
|
|
|
|
have a separate `*width` value for oldIEs. This value is `0.005%` less than
|
|
|
|
the standard `width` value. This fix does not affect modern browsers. ([#154][])
|
|
|
|
|
2013-08-27 15:29:44 +00:00
|
|
|
|
2013-08-23 16:34:43 +00:00
|
|
|
* Added a `height: auto` rule to images within a `.pure-g-r` so that their aspect
|
|
|
|
ratios are maintained when the page is resized. ([#172][]: @dchest)
|
2013-08-20 20:13:41 +00:00
|
|
|
|
2013-08-26 19:54:35 +00:00
|
|
|
* (!) Added the following font stack to `.pure-g, .pure-g-r` in order to prevent
|
|
|
|
grids from breaking in various target environments:
|
2013-08-20 20:13:41 +00:00
|
|
|
|
2013-08-26 19:54:35 +00:00
|
|
|
```css
|
2013-08-29 19:44:39 +00:00
|
|
|
font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
|
2013-08-26 19:54:35 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
This is a *breaking* change. If you are using any non-default font in your project,
|
|
|
|
you will need to modify your CSS and add a `font-family` to the grid unit classes:
|
|
|
|
|
|
|
|
```css
|
|
|
|
.pure-g [class *= "pure-u"],
|
|
|
|
.pure-g-r [class *= "pure-u"] {
|
|
|
|
|
|
|
|
/* Add your font in here, whether it's a custom font or a normal font */
|
|
|
|
font-family: "Times New Roman", serif;
|
|
|
|
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2013-08-27 16:59:46 +00:00
|
|
|
Refer to the [Grids Documentation][Grids] for more details on using
|
|
|
|
non-default fonts with Pure Grids.
|
|
|
|
([#41][] @dannyfritz, @pandeiro, and many others!)
|
2013-08-26 19:54:35 +00:00
|
|
|
|
2013-08-27 16:41:05 +00:00
|
|
|
|
2013-08-26 19:54:35 +00:00
|
|
|
[#41]: https://github.com/yui/pure/issues/41
|
2013-08-05 19:13:41 +00:00
|
|
|
[#143]: https://github.com/yui/pure/issues/143
|
2013-08-20 20:13:41 +00:00
|
|
|
[#154]: https://github.com/yui/pure/issues/154
|
2013-08-27 16:59:46 +00:00
|
|
|
[#160]: https://github.com/yui/pure/issues/160
|
2013-08-23 16:08:56 +00:00
|
|
|
[#170]: https://github.com/yui/pure/issues/170
|
2013-08-27 16:41:05 +00:00
|
|
|
[#171]: https://github.com/yui/pure/issues/171
|
2013-08-27 16:59:46 +00:00
|
|
|
[Customize]: http://purecss.io/customize/
|
|
|
|
[Grids]: http://purecss.io/grids/
|
2013-08-23 16:08:56 +00:00
|
|
|
|
2013-07-18 02:23:54 +00:00
|
|
|
|
2013-07-18 02:16:03 +00:00
|
|
|
0.2.1 (2013-07-17)
|
|
|
|
------------------
|
2013-06-11 22:38:05 +00:00
|
|
|
|
2013-07-17 16:40:41 +00:00
|
|
|
### Forms
|
2013-07-01 20:31:57 +00:00
|
|
|
|
2013-07-17 19:08:02 +00:00
|
|
|
* (!) Made `[readonly]` `<input>`s look visually different to `[disabled]` and
|
|
|
|
regular `<input>`s. ([#102][]: @jaseg)
|
2013-07-11 21:34:08 +00:00
|
|
|
|
2013-07-17 18:18:54 +00:00
|
|
|
* Fixed copy/paste bug that mapped text inputs to `.pure-form` instead of
|
|
|
|
`.pure-group`. The `.pure-form-group input` styles are now applied to all
|
2013-07-17 19:08:02 +00:00
|
|
|
text-ish `<input>` elements. ([#96][])
|
|
|
|
|
|
|
|
* Fixed `.pure-input-rounded` styles to now apply correctly. The change to use
|
|
|
|
more specific selectors for text-ish inputs in v0.2.0 caused the
|
|
|
|
`.pure-input-rounded` selector to not apply because it was less specific. This
|
|
|
|
selector now has right specificity. ([#109][]: @AurelioDeRosa)
|
2013-06-11 22:38:05 +00:00
|
|
|
|
2013-07-17 19:08:02 +00:00
|
|
|
* Added `display: block` to `<textarea>`s in `.pure-form-stacked` `<form>`s to
|
|
|
|
fix an alignment issue for subsequent elements. ([#90][]: @AurelioDeRosa)
|
2013-06-19 08:14:26 +00:00
|
|
|
|
2013-07-17 19:08:02 +00:00
|
|
|
* Removed the gray `color` from `.pure-form label`. This allows `<label>`s to
|
|
|
|
inherit their foreground color. ([#89][]: @AurelioDeRosa)
|
2013-07-17 16:40:41 +00:00
|
|
|
|
|
|
|
### Grids
|
|
|
|
|
2013-07-17 19:08:02 +00:00
|
|
|
* (!) Changed `.pure-u-1` grid unit to now use `width: 100%` instead of
|
2013-07-17 19:13:30 +00:00
|
|
|
`display: block` to achieve taking up the full width of its container. This
|
2013-07-17 19:08:02 +00:00
|
|
|
makes it easier to override and align since it's using `display: inline-block`
|
|
|
|
like the other grid units. ([#94][])
|
|
|
|
|
2013-07-17 18:18:54 +00:00
|
|
|
* Fixed `width` value typo in `.pure-u-1-6`, changed it from `16.656%` to
|
|
|
|
`16.666%`. ([#115][]: @chilts)
|
2013-07-17 16:40:41 +00:00
|
|
|
|
|
|
|
### Menus
|
|
|
|
|
2013-07-17 19:08:02 +00:00
|
|
|
* (!) Fixed broken styling of active paginator items by using Grids CSS rules to
|
|
|
|
layout items horizontally; this makes sure the active item isn't overlapped.
|
|
|
|
([#127][])
|
2013-07-17 18:18:54 +00:00
|
|
|
|
|
|
|
### Tables
|
|
|
|
|
2013-07-17 19:08:02 +00:00
|
|
|
* Removed `white-space: nowrap` from `.pure-table thead`. This fixes issues
|
|
|
|
where tables inside of grids would break the grid. ([#95][]: @AurelioDeRosa)
|
2013-07-17 15:35:58 +00:00
|
|
|
|
2013-07-11 21:34:08 +00:00
|
|
|
|
|
|
|
[#89]: https://github.com/yui/pure/issues/89
|
|
|
|
[#90]: https://github.com/yui/pure/issues/90
|
|
|
|
[#94]: https://github.com/yui/pure/issues/94
|
|
|
|
[#95]: https://github.com/yui/pure/issues/95
|
2013-07-17 18:18:54 +00:00
|
|
|
[#96]: https://github.com/yui/pure/issues/96
|
|
|
|
[#102]: https://github.com/yui/pure/issues/102
|
|
|
|
[#109]: https://github.com/yui/pure/issues/109
|
|
|
|
[#115]: https://github.com/yui/pure/issues/115
|
|
|
|
[#127]: https://github.com/yui/pure/issues/127
|
2013-08-23 16:34:43 +00:00
|
|
|
[#172]: https://github.com/yui/pure/pull/172
|
2013-06-11 22:38:05 +00:00
|
|
|
|
2013-07-11 20:55:06 +00:00
|
|
|
|
2013-06-11 22:33:44 +00:00
|
|
|
0.2.0 (2013-06-11)
|
|
|
|
------------------
|
2013-05-24 19:02:09 +00:00
|
|
|
|
2013-06-11 20:44:54 +00:00
|
|
|
* (!) Fixed accessibility mistake by removing `a:focus {outline: none;}` rule
|
|
|
|
from `buttons-core.css`.
|
|
|
|
|
2013-06-11 22:30:36 +00:00
|
|
|
* (!) Improved `:focus` styles by applying the same rules that are used by
|
|
|
|
`:hover` styles. When overriding Pure's `:hover` styles, be sure to include
|
|
|
|
`:focus` selectors as well.
|
2013-06-05 13:31:48 +00:00
|
|
|
|
2013-06-05 23:27:41 +00:00
|
|
|
* Added improvements to developer workflow:
|
|
|
|
|
2013-07-11 21:34:08 +00:00
|
|
|
* Added basic Tests using CSSLint via `grunt test` ([#25][])
|
2013-06-05 23:27:41 +00:00
|
|
|
|
|
|
|
* Integrated Travis CI which runs `grunt test` on pushes to `master` and for
|
|
|
|
pull requests.
|
|
|
|
|
|
|
|
* Added `grunt watch` task which runs tests and build.
|
|
|
|
|
|
|
|
* Added support to `pure-site` for serving `pure` locally during
|
2013-07-11 21:34:08 +00:00
|
|
|
development. ([#46][], [yui/pure-site#111][])
|
2013-06-05 23:27:41 +00:00
|
|
|
|
2013-06-08 03:21:57 +00:00
|
|
|
* Removed vendor prefixes for `box-shadow`, `text-shadow`, `border-radius`. All
|
|
|
|
modern browsers support the non-prefixed versions of these properties.
|
2013-07-11 21:34:08 +00:00
|
|
|
([#23][])
|
2013-06-06 14:16:53 +00:00
|
|
|
|
2013-06-04 04:43:17 +00:00
|
|
|
### Forms
|
2013-06-03 21:15:00 +00:00
|
|
|
|
2013-06-03 23:54:50 +00:00
|
|
|
* (!) `.pure-help-inline` has been replaced with `.pure-form-message-inline`. We
|
2013-06-04 04:43:17 +00:00
|
|
|
still support the older classname but it is deprecated and will be going away
|
2013-07-11 21:34:08 +00:00
|
|
|
in a future release. ([#32][]: @dannytatom)
|
2013-06-03 23:54:50 +00:00
|
|
|
|
|
|
|
* Added a new class called `.pure-form-message`. It works the same way as
|
2013-07-11 21:34:08 +00:00
|
|
|
`.pure-form-message-inline` but is meant for block elements.
|
|
|
|
([#32][]: @dannytatom)
|
2013-06-04 04:43:17 +00:00
|
|
|
|
2013-06-04 16:59:50 +00:00
|
|
|
* Added focus styles for file, radio, and checkbox `<input>`s to improve
|
2013-07-11 21:34:08 +00:00
|
|
|
accessibility. ([#42][]: @codepb)
|
2013-06-04 16:59:50 +00:00
|
|
|
|
2013-07-11 21:34:08 +00:00
|
|
|
* `<textarea>`s now have the same styling as `<input>`s. ([#49][]: @rcbdev)
|
2013-06-04 04:43:17 +00:00
|
|
|
|
2013-06-08 03:21:57 +00:00
|
|
|
* `.pure-form input` rules are now more specific by targetting only "texty"
|
|
|
|
`<inputs>`. This prevents these styles from affecting "buttony" `<input>`s.
|
2013-07-11 21:34:08 +00:00
|
|
|
([#54][])
|
2013-06-06 14:08:36 +00:00
|
|
|
|
2013-06-04 04:43:17 +00:00
|
|
|
### Grids
|
|
|
|
|
2013-06-11 22:30:36 +00:00
|
|
|
* Elements with classnames before the responsive grid's unit classnames now
|
|
|
|
works correctly. Before units were targeted using the `^=` ("starts with")
|
|
|
|
selector, which meant that if another classname preceded the unit classname,
|
2013-07-11 21:34:08 +00:00
|
|
|
then the rule would not apply. ([#44][])
|
2013-06-03 23:54:50 +00:00
|
|
|
|
2013-06-04 16:59:50 +00:00
|
|
|
### Menus
|
|
|
|
|
2013-07-17 18:18:54 +00:00
|
|
|
* Added `.pure-menu-separator` classname that can be used to visually
|
2013-07-11 21:34:08 +00:00
|
|
|
separate horizontal menu items. ([#53][]: @codepb, @mseri)
|
2013-06-04 16:59:50 +00:00
|
|
|
|
2013-06-06 14:37:07 +00:00
|
|
|
* Focused menus have an `outline: none` by default. Instead, menu-items that
|
|
|
|
have been opened to display children (in a drop-down menu) get a slight
|
2013-07-11 21:34:08 +00:00
|
|
|
background (`#dedede`) for accessibility. ([#22][])
|
|
|
|
|
|
|
|
|
|
|
|
[#22]: https://github.com/yui/pure/issues/22
|
|
|
|
[#23]: https://github.com/yui/pure/issues/23
|
|
|
|
[#25]: https://github.com/yui/pure/issues/25
|
|
|
|
[#32]: https://github.com/yui/pure/issues/32
|
|
|
|
[#42]: https://github.com/yui/pure/issues/42
|
|
|
|
[#44]: https://github.com/yui/pure/issues/44
|
|
|
|
[#46]: https://github.com/yui/pure/issues/46
|
|
|
|
[#49]: https://github.com/yui/pure/issues/49
|
|
|
|
[#53]: https://github.com/yui/pure/issues/53
|
|
|
|
[#54]: https://github.com/yui/pure/issues/54
|
|
|
|
|
|
|
|
[yui/pure-site#111]: https://github.com/yui/pure-site/issues/111
|
2013-05-24 19:02:09 +00:00
|
|
|
|
2013-06-08 03:21:57 +00:00
|
|
|
|
2013-05-24 18:54:42 +00:00
|
|
|
0.1.0 (2013-05-24)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* (!) Initial public release.
|
2013-05-16 18:18:43 +00:00
|
|
|
|
2013-05-23 12:59:13 +00:00
|
|
|
* Upgraded Normalize.css to 1.1.2.
|
|
|
|
|
2013-05-23 12:54:51 +00:00
|
|
|
* Integrated Bower into `grunt import` process.
|
|
|
|
|
|
|
|
* Cleaned up manual test files, removing unnecessary CSS files and cruft.
|
|
|
|
|
2013-05-24 16:19:27 +00:00
|
|
|
### Buttons
|
2013-05-24 14:38:55 +00:00
|
|
|
|
2013-05-24 16:19:27 +00:00
|
|
|
* Added `border-radius: 2px` to enhance the appearance the they are click-able.
|
|
|
|
|
|
|
|
### Menus
|
|
|
|
|
|
|
|
* Removed `border-radius` from vertical menus.
|
|
|
|
|
|
|
|
* Replaced blue hover for menus with light grey (`#eee`)
|
|
|
|
|
|
|
|
* Removed `font-weight: bold` from selected menu items.
|
2013-05-24 14:38:55 +00:00
|
|
|
|
2013-05-16 18:18:43 +00:00
|
|
|
|
2013-05-16 18:13:22 +00:00
|
|
|
0.0.2 (2013-05-16)
|
|
|
|
------------------
|
2013-05-16 17:01:32 +00:00
|
|
|
|
2013-05-24 16:19:27 +00:00
|
|
|
* (!) Renamed to Pure.
|
2013-05-16 17:01:32 +00:00
|
|
|
|
2013-05-24 16:19:27 +00:00
|
|
|
* (!) Renamed CSS classname prefix to `pure`.
|
2013-05-16 17:33:57 +00:00
|
|
|
|
2013-05-16 17:53:08 +00:00
|
|
|
* Preview release (2).
|
|
|
|
|
2013-05-14 22:18:54 +00:00
|
|
|
|
|
|
|
0.0.1 (2013-05-14)
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* Preview release.
|