You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

439 lines
15 KiB

9 years ago
  1. Pure Change History
  2. ===================
  3. 0.6.0 (2015-02-07)
  4. ------------------
  5. * Upgraded Normalize.css to 3.0.2.
  6. * Dropped IE7 support.
  7. * Refactored Menus.
  8. * Numerous minor bug fixes.
  9. ### Menus
  10. * Implemented flatter, low-specificity selectors, not attached to HTML elements,
  11. for easier customization.
  12. * Removed pure-menu-open class.
  13. * Added pure-menu-scrollable capability, to allow for scrollable menus when
  14. restricted by width or height.
  15. * Added pure-menu-allow-hover to reveal dropdowns on hover.
  16. * Removed various default styling properties, making menus a bit more bare-bones,
  17. a bit less opinionated, a bit easier to customize on top.
  18. * Broke Menu up into files for core, horizontal, dropdowns, scrollable, and skin,
  19. again for improved optimization and ease of customization: take only what you
  20. need.
  21. * Removed Paginator.
  22. * While not part of the Pure repo itself, the accompanying Pure website now
  23. features additional menu examples and an example script for enabling dropdowns
  24. and improved accessiblity.
  25. 0.5.0 (2014-05-27)
  26. ------------------
  27. ### Base
  28. * Added the `.pure-img` class name for make images scale with the viewport in
  29. fluid layouts.
  30. ### Grids
  31. * __[!]__ Removed `.pure-g-r` from core, in favor of a mobile-first responsive
  32. grid system. ([#24][], [#267][])
  33. To use the mobile-first grid system, you need to pull in `pure.css`, along
  34. with `grids-responsive.css`. We also have `grids-responsive-old-ie.css` that
  35. you can serve to IE < 9 users so that they can view a desktop-version of your
  36. website:
  37. ```html
  38. <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0-rc-1/pure-min.css">
  39. <!--[if lt IE 9]>
  40. <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0-rc-1/grids-responsive-old-ie-min.css">
  41. <![endif]-->
  42. <!--[if gt IE 8]><!-->
  43. <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.5.0-rc-1/grids-responsive-min.css">
  44. <!--<![endif]-->
  45. ```
  46. Find out more about the new grid system at <http://purecss.io/grids/>.
  47. ### Tables
  48. * Switched cell padding in Tables from `px` to `em` units, and also increased
  49. the amount of padding to `padding: 0.5em 1em`.
  50. [#24]: https://github.com/yahoo/pure/issues/24
  51. [#267]: https://github.com/yahoo/pure/pull/267
  52. 0.4.2 (2014-02-13)
  53. ------------------
  54. * Added `main` to Pure's `bower.json` file to allow easier integration with
  55. build processes and tooling. ([#286][] @stevenvachon)
  56. ### Forms
  57. * Improved how `<input type="color">` elements look in Chrome by fixing
  58. paddings. ([#283][] @jpetto)
  59. * Removed `font-size` rules from `<input>`, `<legend>`, and `<fieldset>`
  60. elements within `.pure-form`. Font sizes are now inherited from the
  61. application's CSS file. ([#265][])
  62. * Invalid `<input>` elements within a Pure Form no longer explicitly set a
  63. `border-width`. ([#295][] @kwando)
  64. [#265]: https://github.com/yahoo/pure/issues/265
  65. [#283]: https://github.com/yahoo/pure/issues/283
  66. [#286]: https://github.com/yahoo/pure/issues/286
  67. [#295]: https://github.com/yahoo/pure/issues/295
  68. 0.4.1 (2014-02-06)
  69. ------------------
  70. ### Base
  71. * Elements that have Pure classnames which set a `display` declaration _and_ use
  72. the `hidden` HTML attribute will now properly be hidden. With these changes,
  73. the following button will be hidden from view:
  74. ```html
  75. <button class="pure-button" hidden>No showy</button>
  76. ```
  77. A new rule for the `[hidden]` selector has been added with the declaration:
  78. `display: none !important;`. This is a time where it's appropriate for a
  79. project like Pure to use `!important`. ([#177][])
  80. ### Buttons
  81. * Removed all the occurrences of `-ms-linear-gradient()` from Buttons since it
  82. has never been in the final version of IE 10. ([#200][]: @AurelioDeRosa)
  83. * `<input>` Buttons now have the same height as non-input buttons.
  84. `font-family: inherit;` has been added to the `.pure-button` selector to
  85. normalize the difference in height. ([#221][] @narcis-radu)
  86. * Buttons now have visually uniform default `padding` on all four sides. The
  87. left/right padding is 2x the top/bottom padding. ([#191][] @achalv)
  88. ### Forms
  89. * Added `vertical-align: top;` to `<textarea>`s within `.pure-form-aligned`
  90. Forms to fix an alignment issue where its label was aligned to the middle.
  91. ([#174][] @rictorres, @ItsAsbreuk)
  92. * Added styling for `<input>` elements that don't have a `type` attribute.
  93. ([#261][] @dougdavies)
  94. ### Grids
  95. * Added all non-reduced fractions to Grids default 5ths- and 24ths-based units.
  96. There are now styles specified for `.pure-u-1-24``.pure-u-24-24`. All 5ths-
  97. based units and reduced factions still remain; e.g., both `.pure-u-12-24` and
  98. `.pure-u-1-2` exist. ([#144][] @mike-engel)
  99. * Removed `grids-units.css` from `src/`, this file is now generated via a Grunt
  100. task. The units generation is done via the new
  101. [`rework-pure-grids`][rework-pure-grids] [Rework][] plugin, and it can be used
  102. to create any custom nth-based units for Pure's Grids system.
  103. ### Menus
  104. * Removed hard-coded height for horizontal menus. ([#164][])
  105. [#144]: https://github.com/yahoo/pure/issues/144
  106. [#164]: https://github.com/yahoo/pure/issues/164
  107. [#174]: https://github.com/yahoo/pure/issues/174
  108. [#177]: https://github.com/yahoo/pure/issues/177
  109. [#191]: https://github.com/yahoo/pure/issues/191
  110. [#200]: https://github.com/yahoo/pure/issues/200
  111. [#221]: https://github.com/yahoo/pure/issues/221
  112. [#261]: https://github.com/yahoo/pure/issues/261
  113. [rework-pure-grids]: https://github.com/ericf/rework-pure-grids
  114. [Rework]: https://github.com/visionmedia/rework
  115. 0.4.0 (2014-02-06)
  116. ------------------
  117. * __[!]__ Corrupted release build, use `0.4.1`.
  118. 0.3.0 (2013-09-09)
  119. ------------------
  120. * __[!]__ Pure now requires the Base module (which is Normalize.css) to be on
  121. the page. Pure has essentially always required the styles provided by
  122. Normalize.css via the Base module, and this now makes it a firm requirement.
  123. The `pure-min.css` and `pure-nr-min.css` rollup files already include the Base
  124. module.
  125. **Note:** When using a [custom subset][Customize] of Pure, be sure to include
  126. the Base module.
  127. * Added non-minified rollup files: `pure.css` and `pure-nr.css`. These files are
  128. created in addition to the minified rollups: `pure-min.css` and
  129. `pure-nr-min.css`. The minified rollups _should_ be used in production.
  130. ([#171][] @omeid)
  131. ### Base
  132. * __[!]__ Removed Normalize.css from checked-in `src/`. Bower is now used to
  133. programmatically import Normalize.css into `bower_components/` if it's not
  134. already installed. Normalize.css is still bundled with Pure, this change is a
  135. development-time change only. ([#160][])
  136. ### Buttons
  137. * Removed `-webkit-font-smoothing: antialiased` rule from Buttons. Pure should
  138. not dictate sub-pixel font rendering, that should be left to the person's
  139. browser settings and/or the developer. ([#170][] @dchest)
  140. ### Forms
  141. * __[!]__ Removed `forms-core.css`. This was a copy of Normalize.css' form
  142. related styles. Now that Pure requires the Base module (Normalize.css) to be
  143. on the page, the Forms Core submodule is no longer needed. ([#160][])
  144. * Added `:focus` styles to `[readonly]` `<input>` elements. ([#143][])
  145. * Removed `-webkit-font-smoothing: antialiased` rule from Forms input styles.
  146. Pure should not dictate sub-pixel font rendering, that should be left to the
  147. person's browser settings and/or the developer. ([#185][] @dchest)
  148. ### Grids
  149. * __[!]__ Improved support for Grids across OS/browser combinations, and its
  150. ability to withstand the use of non-default fonts when set by either the
  151. person in their browser settings or by the developer using custom fonts.
  152. Grids now uses CSS3 Flexbox when possible to avoid the side-effects of setting
  153. a negative `letter-spacing` — the fallback for older browsers. Grids also now
  154. uses a specific font stack on `.pure-g` and `.pure-g-r` classes to ensure the
  155. greatest OS/browser compatibility when non-default fonts are being used. By
  156. default grid units will now have `font-family: sans-serif;` applied — this is
  157. the default font stack Pure's Base module (Normalize.css) applies to the
  158. `<body>`.
  159. This is a **breaking change** if you are using any non-default fonts in your
  160. web project. Fortunately, it's quite easy to make sure your custom font stacks
  161. apply to content within Pure Girds. Instead of applying your custom font to
  162. only the `<body>` element, apply it to the grid units as well:
  163. ```css
  164. body,
  165. .pure-g [class *= "pure-u"],
  166. .pure-g-r [class *= "pure-u"] {
  167. /* Set you're content font stack here: */
  168. font-family: Georgia, Times, "Times New Roman", serif;
  169. }
  170. ```
  171. Refer to the [Grids Documentation][Grids-fonts] for more details on using
  172. non-default fonts with Pure Grids.
  173. ([#41][], [#162][], [#166][], [#189][]: @adapterik @dannyfritz, @pandeiro)
  174. * Fixed grid units from falling to a new line on IE 6 and IE 7. Grid units now
  175. have a separate `*width` value for these older versions of IE. This value is
  176. `0.005%` less than the standard `width` value. This fix does not affect modern
  177. browsers because it uses the star hack. ([#154][])
  178. * Added a `height: auto` rule to images within a `.pure-g-r` so that their
  179. aspect ratios are maintained when the page is resized. ([#172][]: @dchest)
  180. [#41]: https://github.com/yahoo/pure/issues/41
  181. [#143]: https://github.com/yahoo/pure/issues/143
  182. [#154]: https://github.com/yahoo/pure/issues/154
  183. [#160]: https://github.com/yahoo/pure/issues/160
  184. [#162]: https://github.com/yahoo/pure/issues/162
  185. [#166]: https://github.com/yahoo/pure/issues/166
  186. [#170]: https://github.com/yahoo/pure/issues/170
  187. [#171]: https://github.com/yahoo/pure/issues/171
  188. [#172]: https://github.com/yahoo/pure/issues/172
  189. [#185]: https://github.com/yahoo/pure/issues/185
  190. [#189]: https://github.com/yahoo/pure/issues/189
  191. [Customize]: http://purecss.io/customize/
  192. [Grids-fonts]: http://purecss.io/grids/#using-grids-with-custom-fonts
  193. 0.2.1 (2013-07-17)
  194. ------------------
  195. ### Forms
  196. * __[!]__ Made `[readonly]` `<input>`s look visually different to `[disabled]`
  197. and regular `<input>`s. ([#102][]: @jaseg)
  198. * Fixed copy/paste bug that mapped text inputs to `.pure-form` instead of
  199. `.pure-group`. The `.pure-form-group input` styles are now applied to all
  200. text-ish `<input>` elements. ([#96][])
  201. * Fixed `.pure-input-rounded` styles to now apply correctly. The change to use
  202. more specific selectors for text-ish inputs in v0.2.0 caused the
  203. `.pure-input-rounded` selector to not apply because it was less specific. This
  204. selector now has right specificity. ([#109][]: @AurelioDeRosa)
  205. * Added `display: block` to `<textarea>`s in `.pure-form-stacked` `<form>`s to
  206. fix an alignment issue for subsequent elements. ([#90][]: @AurelioDeRosa)
  207. * Removed the gray `color` from `.pure-form label`. This allows `<label>`s to
  208. inherit their foreground color. ([#89][]: @AurelioDeRosa)
  209. ### Grids
  210. * __[!]__ Changed `.pure-u-1` grid unit to now use `width: 100%` instead of
  211. `display: block` to achieve taking up the full width of its container. This
  212. makes it easier to override and align since it's using `display: inline-block`
  213. like the other grid units. ([#94][])
  214. * Fixed `width` value typo in `.pure-u-1-6`, changed it from `16.656%` to
  215. `16.666%`. ([#115][]: @chilts)
  216. ### Menus
  217. * __[!]__ Fixed broken styling of active paginator items by using Grids CSS
  218. rules to layout items horizontally; this makes sure the active item isn't
  219. overlapped. ([#127][])
  220. ### Tables
  221. * Removed `white-space: nowrap` from `.pure-table thead`. This fixes issues
  222. where tables inside of grids would break the grid. ([#95][]: @AurelioDeRosa)
  223. [#89]: https://github.com/yahoo/pure/issues/89
  224. [#90]: https://github.com/yahoo/pure/issues/90
  225. [#94]: https://github.com/yahoo/pure/issues/94
  226. [#95]: https://github.com/yahoo/pure/issues/95
  227. [#96]: https://github.com/yahoo/pure/issues/96
  228. [#102]: https://github.com/yahoo/pure/issues/102
  229. [#109]: https://github.com/yahoo/pure/issues/109
  230. [#115]: https://github.com/yahoo/pure/issues/115
  231. [#127]: https://github.com/yahoo/pure/issues/127
  232. [#172]: https://github.com/yahoo/pure/pull/172
  233. 0.2.0 (2013-06-11)
  234. ------------------
  235. * __[!]__ Fixed accessibility mistake by removing `a:focus {outline: none;}`
  236. rule from `buttons-core.css`.
  237. * __[!]__ Improved `:focus` styles by applying the same rules that are used by
  238. `:hover` styles. When overriding Pure's `:hover` styles, be sure to include
  239. `:focus` selectors as well.
  240. * Added improvements to developer workflow:
  241. * Added basic Tests using CSSLint via `grunt test` ([#25][])
  242. * Integrated Travis CI which runs `grunt test` on pushes to `master` and for
  243. pull requests.
  244. * Added `grunt watch` task which runs tests and build.
  245. * Added support to `pure-site` for serving `pure` locally during
  246. development. ([#46][], [yahoo/pure-site#111][])
  247. * Removed vendor prefixes for `box-shadow`, `text-shadow`, `border-radius`. All
  248. modern browsers support the non-prefixed versions of these properties.
  249. ([#23][])
  250. ### Forms
  251. * __[!]__ Replaced `.pure-help-inline` with `.pure-form-message-inline`. We
  252. still support the older classname but it is deprecated and will be going away
  253. in a future release. ([#32][]: @dannytatom)
  254. * Added a new class called `.pure-form-message`. It works the same way as
  255. `.pure-form-message-inline` but is meant for block elements.
  256. ([#32][]: @dannytatom)
  257. * Added focus styles for file, radio, and checkbox `<input>`s to improve
  258. accessibility. ([#42][]: @codepb)
  259. * `<textarea>`s now have the same styling as `<input>`s. ([#49][]: @rcbdev)
  260. * `.pure-form input` rules are now more specific by targetting only "texty"
  261. `<inputs>`. This prevents these styles from affecting "buttony" `<input>`s.
  262. ([#54][])
  263. ### Grids
  264. * Elements with classnames before the responsive grid's unit classnames now
  265. works correctly. Before units were targeted using the `^=` ("starts with")
  266. selector, which meant that if another classname preceded the unit classname,
  267. then the rule would not apply. ([#44][])
  268. ### Menus
  269. * Added `.pure-menu-separator` classname that can be used to visually
  270. separate horizontal menu items. ([#53][]: @codepb, @mseri)
  271. * Focused menus have an `outline: none` by default. Instead, menu-items that
  272. have been opened to display children (in a drop-down menu) get a slight
  273. background (`#dedede`) for accessibility. ([#22][])
  274. [#22]: https://github.com/yahoo/pure/issues/22
  275. [#23]: https://github.com/yahoo/pure/issues/23
  276. [#25]: https://github.com/yahoo/pure/issues/25
  277. [#32]: https://github.com/yahoo/pure/issues/32
  278. [#42]: https://github.com/yahoo/pure/issues/42
  279. [#44]: https://github.com/yahoo/pure/issues/44
  280. [#46]: https://github.com/yahoo/pure/issues/46
  281. [#49]: https://github.com/yahoo/pure/issues/49
  282. [#53]: https://github.com/yahoo/pure/issues/53
  283. [#54]: https://github.com/yahoo/pure/issues/54
  284. [yahoo/pure-site#111]: https://github.com/yahoo/pure-site/issues/111
  285. 0.1.0 (2013-05-24)
  286. ------------------
  287. * __[!]__ Initial public release.
  288. * Upgraded Normalize.css to 1.1.2.
  289. * Integrated Bower into `grunt import` process.
  290. * Cleaned up manual test files, removing unnecessary CSS files and cruft.
  291. ### Buttons
  292. * Added `border-radius: 2px` to enhance the appearance the they are click-able.
  293. ### Menus
  294. * Removed `border-radius` from vertical menus.
  295. * Replaced blue hover for menus with light grey (`#eee`)
  296. * Removed `font-weight: bold` from selected menu items.
  297. 0.0.2 (2013-05-16)
  298. ------------------
  299. * __[!]__ Renamed to Pure.
  300. * __[!]__ Renamed CSS classname prefix to `pure`.
  301. * Preview release (2).
  302. 0.0.1 (2013-05-14)
  303. ------------------
  304. * Preview release.