Commit Graph

236 Commits

Author SHA1 Message Date
Eric Ferraiuolo
e3127820b8 Merge branch 'master' of https://github.com/achalv/pure into achalv-master
Conflicts:
	HISTORY.md
2013-11-24 19:58:43 -05:00
Eric Ferraiuolo
a4c0ade4b1 Generate 5ths and 24ths grid units including non-reduced fractions
Closes #144
Relates #149
2013-11-24 18:40:32 -05:00
Eric Ferraiuolo
dfff4fe238 Generate Grids Units via Grunt task 2013-11-18 14:46:19 -05:00
Eric Ferraiuolo
bdc76d6fd0 Merge branch 'textarea-vtop' of github.com:rictorres/pure into rictorres-textarea-vtop
Conflicts:
	HISTORY.md
2013-11-06 15:02:59 -08:00
Eric Ferraiuolo
74c952aa68 Merge branch 'master' of github.com:narcis-radu/pure into narcis-radu-master 2013-11-06 14:37:16 -08:00
Narcis Radu
ba5d3a7a4e pure buttons with custom fonts 2013-10-26 09:33:57 +03:00
Narcis Radu
0f8f2966fa Revert "Same height for pure-button when using custom fonts"
This reverts commit 2ed11acb47.
2013-10-26 09:30:57 +03:00
Narcis Radu
2ed11acb47 Same height for pure-button when using custom fonts
When using custom fonts, buttons (a and input) don't have the same
height (issue #221).
2013-10-18 11:14:25 +03:00
Aurelio De Rosa
f666eb74fa Removed all the occurrences of -ms-linear-gradient() (issue #200) 2013-10-09 00:12:47 +02:00
Achal Varma
ff443fb124 Updated src/buttons/css/buttons.css to fix Issue #191 in yui/pure
http://git.io/PbMz2g
2013-09-13 13:53:30 -05:00
Eric Ferraiuolo
77c92da532 Update Grids manual test to add monospace nested grid test 2013-09-09 11:56:50 -04:00
Eric Ferraiuolo
7e0cdafddc Update HISTORY and code comments for Grids Flexbox 2013-09-05 18:14:01 -04:00
Eric Ferraiuolo
c5061a046f Add Grids manual test for wrapping grids 2013-09-05 17:51:13 -04:00
Eric Ferraiuolo
50883fc2e2 Add CSSLint flags to ignore linting flexbox rules 2013-09-05 17:50:51 -04:00
Matt Sweeney
7cc69304f9 Add flexbox support for webkit and IE. 2013-09-05 14:14:17 -07:00
Matt Sweeney
8623c984a2 Add flexbox support for webkit and IE. 2013-09-05 13:52:42 -07:00
Eric Ferraiuolo
6a36aecd6b More re-formatting of manual test files 2013-09-03 13:20:52 -04:00
Eric Ferraiuolo
44b5be0a46 Clean manual tests by formatting the HTML and making it valid 2013-09-03 13:18:46 -04:00
Dmitry Chestnykh
dd51c31fad Remove -webkit-font-smoothing from forms. 2013-08-31 15:35:29 +02:00
Eric Ferraiuolo
cf52515bed Update code comments about Grids font stack.
Closes #41
2013-08-29 16:46:01 -04:00
Tilo Mitra
c143808fb8 Revert "Remove "Droid Sans" from the font stack."
This reverts commit 1a24fa0baa.
Looks like Android < 4 only has 3 fonts installed -
* Droid Sans
* Droid Serif
* Droid Sans Mono

So we do need to keep Droid Sans in.
http://www.granneman.com/webdev/coding/css/fonts-and-formatting/default-fonts/#android
2013-08-29 15:45:10 -04:00
Tilo Mitra
1a24fa0baa Remove "Droid Sans" from the font stack.
Arch Linux supports Arimo so Droid Sans shouldn't be needed.
https://wiki.archlinux.org/index.php/Fonts
2013-08-29 15:39:38 -04:00
Tilo Mitra
45e8b4ffaf Update font stack.
- Remove DejaVu Sans since it doesn't work with the letter spacing.
- Replace Bitstream Charter with Freesans, a sans-serif alternative.
- Replace Tinos with Arimo, a sans-serif alternative.
2013-08-29 15:27:34 -04:00
Eric Ferraiuolo
9ab35b7d82 Merge branch 'grunt-bower' of github.com:ericf/pure into ericf-grunt-bower 2013-08-27 12:42:01 -04:00
Eric Ferraiuolo
68b66b5811 Add custom font section to Responsive Grids manual test page 2013-08-27 12:18:10 -04:00
Eric Ferraiuolo
2c58a4594d De-cruft and improve Responsive Grids manual test page 2013-08-27 11:55:21 -04:00
Eric Ferraiuolo
039b8f12f2 Merge branch 'grids-fonts'
Conflicts:
	HISTORY.md
2013-08-27 11:29:44 -04:00
Tilo Mitra
f7ded9ecb9 Update font-stack with recent findings
Based on conversations in https://github.com/yui/pure/issues/41/,
this font stack was updated with more fonts to fully cover all
target environments where grids were breaking.
2013-08-26 15:29:07 -04:00
Ricardo Torres
26ff82efc7 Fix the issue when you have a big sized textarea and its label appears aligned to the middle 2013-08-25 21:12:56 -03:00
Ricardo Torres
44d577192e Fix the issue when you have a big sized textarea and its label appears aligned to the middle 2013-08-25 21:08:40 -03:00
Tilo Mitra
6794a82db8 Merge branch 'grids-tests-image' 2013-08-23 12:35:16 -04:00
Tilo
dcc75bd588 Merge pull request #172 from dchest/patch-2
Fix image resizing to be proportional
2013-08-23 09:34:54 -07:00
Tilo Mitra
7e1d381b9c add responsive images to grids manual test 2013-08-23 12:34:13 -04:00
Dmitry Chestnykh
77d3601375 Fix image resizing to be proportional
Images inside .pure-g-r when resized didn't change their height. Fix this by adding setting their height to 'auto'.
2013-08-23 17:38:01 +02:00
Dmitry Chestnykh
8fd26ebc40 Remove -webkit-font-smoothing: antialised 2013-08-23 12:43:04 +02:00
Tilo Mitra
a0d940231a revamp grids manual test 2013-08-22 16:59:37 -04:00
Eric Ferraiuolo
2bc0f29de3 Specify font stacks for grids and grid units
By setting _specific_ font stacks grids, it can be assured that the
letter and word spacing will be applied correctly. The font stack for
grid units is then set back to `sans-serif`, which is also the default
font stack that Normalize.css applied to the `body`.

Closes #41
2013-08-22 16:48:38 -04:00
Tilo Mitra
6f7e767a2c Merge branch 'grids-ie7-fix'
Conflicts:
	HISTORY.md
2013-08-21 15:35:09 -04:00
Tilo Mitra
f7dde71025 bump up decimal places to 4 units, remove *width for pure-u-1 2013-08-20 15:16:22 -04:00
Eric Ferraiuolo
44ae07177f Remove Normalize.css from src/, it's a dependency not Pure source code
This also removes `forms-core.css` which was effectively Normalize.css'
form related styles prefixed with `.pure-form`.
2013-08-07 18:55:56 -04:00
Tilo Mitra
363df66074 add back common rules for all grid units 2013-08-05 12:35:06 -04:00
Tilo Mitra
d2db8427dc Change default classnames back to .pure-u-*
After thinking about it, it makes sense to just keep
these as .pure-u-* to preserve back-compat and so that
people don't get confused with the fact that these units
are the "default" units.
2013-08-05 12:34:58 -04:00
Tilo Mitra
82dba5c165 Remove CSSLint ignore + s/default-*/pure-d-*
The .default-* classnames should be prefixed with .pure-
However, .pure-default-x-y seems too verbose, so I changed
it to .pure-d-x-y.
2013-08-05 12:34:51 -04:00
Tilo Mitra
f56cb81fed prettify spaces and braces 2013-08-05 12:34:44 -04:00
Tilo Mitra
25497a2161 update grid-units to have IE-specific widths, and use new grid classnames 2013-08-05 12:34:38 -04:00
Tilo Mitra
f56887539e fix #143 by removing specific :focus styles for readonly inputs 2013-08-01 17:36:33 -04:00
Tilo Mitra
d20590c6e5 Revamp menus
This commit makes .pure-menu smaller, more responsive, and easier to customize.

- Remove `.pure-menu-open`
- Remove dropdown menu CSS
- Add `.pure-menu-responsive` and `.pure-menu-toggle` to
  make responsive horizontal menus.
- Make pure menus *really* easy to customize
2013-07-19 13:28:46 -04:00
Eric Ferraiuolo
34e10e6389 Revert "Buttons no longer inherit page a:visited style"
This reverts commit 14a89fbe9f.
2013-07-17 14:10:25 -07:00
Eric Ferraiuolo
5dcd8520d2 Merge branch 'paginator-bug' of github.com:tilomitra/pure 2013-07-17 12:31:14 -07:00
Tilo Mitra
e4bf1ad814 group .pure-paginator rules into 1 selector 2013-07-17 12:08:27 -04:00
Eric Ferraiuolo
23bfcf11fe Merge pull request #131 from tilomitra/paginator-bug
increase margin between paginator items to fix issue #127
2013-07-17 09:07:05 -07:00
Eric Ferraiuolo
d0fefa1b36 Add _all_ Pure Grids styles to Paginator
Fixes #127
Closes #131
2013-07-17 08:54:44 -07:00
Eric Ferraiuolo
293b850d16 Merge branch 'AurelioDeRosa-patch-1'
Conflicts:
	HISTORY.md
2013-07-17 08:35:58 -07:00
Tilo Mitra
22ccfc86bc reset letter-spacing and word-spacing for paginator list elements 2013-07-17 11:28:02 -04:00
Tilo Mitra
896524449e Replace negative margin fix with grid whitespace-removal fix.
Tested on Latest Chrome, FF, Safari, IE7/8/9.
I had to make the left padding different from the right padding
since the text was appearing skewed to the left with the new
grid fix.
2013-07-16 14:42:37 -04:00
Eric Ferraiuolo
7eae88794c Merge pull request #132 from tilomitra/readonly-input
Differentiate [readonly] inputs from [disabled] inputs
2013-07-16 10:39:59 -07:00
Tilo Mitra
a25231e90b modify colors to be consistent with other colors in Pure 2013-07-16 12:10:19 -04:00
Eric Ferraiuolo
f7a230b1b6 Merge branch 'button-visited' of git://github.com/tilomitra/pure
Conflicts:
	HISTORY.md
2013-07-11 16:55:06 -04:00
Aurelio De Rosa
50742e0a93 Added margin for elements children of .pure-form-stacked 2013-07-10 22:45:26 +02:00
Tilo Mitra
14a89fbe9f Buttons no longer inherit page a:visited style
This fixes issue #87.
2013-07-10 14:15:41 -04:00
Tilo Mitra
7b8cab1eb7 Grid unit pure-u-1 is now display: block; width: 100%;
This commit fixes issue #94.
2013-07-10 11:59:39 -04:00
Tilo Mitra
561a3d3e04 remove cursor property for readonly inputs 2013-07-10 11:54:22 -04:00
Aurelio De Rosa
3a2e622559 Updated Rounded Form section in manual test of forms.html 2013-07-10 00:59:49 +02:00
Aurelio De Rosa
445d7ac332 Updated style for .pure-input-rounded 2013-07-10 00:52:34 +02:00
Aurelio De Rosa
b2c4452b8b Update forms.css
Proposed fix for issue #109
2013-07-10 00:06:20 +02:00
Tilo Mitra
e1545d54e9 Differentiate [readonly] form inputs from [disabled]
This commit builds on top of jaseg's commit (4c5caee).
Readonly form inputs have a different style from both
[disabled] and normal inputs.

[readonly] inputs do not have the default :focus style.
2013-07-09 17:26:11 -04:00
jaseg
3b76f889c2 Forms: Make [readonly] inputs easily readable 2013-07-09 16:42:58 -04:00
Tilo Mitra
3d7dea4926 increase margin between paginator items to fix issue #127 2013-07-09 16:37:04 -04:00
Eric Ferraiuolo
742a0beb49 Merge branch 'label-color' of git://github.com/AurelioDeRosa/pure into AurelioDeRosa-label-color
Conflicts:
	HISTORY.md
2013-07-09 10:26:58 -04:00
Aurelio De Rosa
7109a8b51c Update forms.css
Removed the gray color of forms' labels. Fix for issue [#89](https://github.com/yui/pure/issues/89)
2013-07-01 23:02:32 +02:00
Aurelio De Rosa
ecd9b2c8c9 Update tables.css
Fix for issue #95
2013-07-01 22:28:35 +02:00
Andrew Chilton
371ce08b0f Update with typo for .pure-u-1-6 from 16.656 to 16.666 2013-06-22 23:06:11 +12:00
Aurelio De Rosa
297c5ba32e Update forms.css
Update based on the solution proposed in issue #90.
2013-06-18 21:28:08 +02:00
Matt Sweeney
a0c01e30f6 Merge branch 'master' into consistent-buttons 2013-06-12 11:14:33 -07:00
Eric Ferraiuolo
45e0b584b8 Update styles for focused disabled Menu items to look disabled 2013-06-11 16:14:17 -04:00
Eric Ferraiuolo
c76879b411 Add back cursor: not-allowed for disabled buttons 2013-06-11 16:04:20 -04:00
Eric Ferraiuolo
83823f17f0 Improve :focus styles by making the same as :hover styles 2013-06-11 15:36:15 -04:00
Eric Ferraiuolo
f19b4a8dc6 Add Base to Menus test page 2013-06-11 15:36:03 -04:00
Eric Ferraiuolo
e7f5a23722 Clean up Buttons test page to be a very plain HTML page 2013-06-11 15:20:32 -04:00
Eric Ferraiuolo
a12b12bef1 Clean up misc. formatting, cursor and outline styles 2013-06-11 15:18:40 -04:00
Eric Ferraiuolo
554266361f Improve consistency of code formatting
This re-formats the code which was formatted differently than primary
way CSS code in Pure.
2013-06-10 10:02:55 -04:00
Eric Ferraiuolo
9d6410646f Merge branch 'consistent-buttons' of github.com:tilomitra/kimono into consistent-buttons
Conflicts:
	src/forms/css/forms.css
2013-06-07 23:01:19 -04:00
Eric Ferraiuolo
956898df0b Merge pull request #70 from tilomitra/menu-outline
Fix for issue #22: Remove dotted focus border from menus
2013-06-07 08:29:29 -07:00
Matt Sweeney
1b9e251586 Fix form-group rules for text inputs. 2013-06-07 02:28:05 -07:00
Tilo Mitra
0d10f77653 Merge branch 'consistent-buttons' of github.com:msweeney/pure into msweeney-buttons
Conflicts:
	src/forms/css/forms.css
2013-06-06 19:04:53 -04:00
Matt Sweeney
31116be637 Convert tabs to spaces. 2013-06-06 14:49:31 -07:00
Tilo Mitra
de6a56d826 add focus-state background for menu-items that reveal children 2013-06-06 10:34:39 -04:00
Tilo Mitra
128b7d7101 add outline:none on menu focus state 2013-06-06 10:34:11 -04:00
Tilo Mitra
45518caff5 Fixes issue #23
Removes browser prefixes for CSS properties that don't need prefixes
in supported environments.
2013-06-06 10:14:19 -04:00
Tilo Mitra
aa9fa1eace update stacked form manual test 2013-06-06 10:06:53 -04:00
Tilo Mitra
13e1134a0f <input>s and <textarea>s should not be display: block for stacked forms.
Only labels should be display:block. This allows the .pure-form-message*
classes to work as expected.
2013-06-06 10:05:41 -04:00
Matt Sweeney
82271a4558 Include all text-like INPUT elements for collapse to block in narrow view. 2013-06-05 23:08:00 -07:00
Matt Sweeney
2aa7f41022 Narrow text attributes for form-stacked to avoid targeting buttons. 2013-06-05 22:50:18 -07:00
Matt Sweeney
46fb38fab5 Replace single quote with double quotes for attribute selectors. 2013-06-05 22:47:27 -07:00
Matt Sweeney
01551ea44a Remove block button from narrow view for consistency with other button types. 2013-06-05 22:41:04 -07:00
Matt Sweeney
e3e65d33af Add line breaks between rules. 2013-06-05 22:39:28 -07:00
Eric Ferraiuolo
da406368dd Add TODO comments to the CSSLint overrides which we should remove 2013-06-05 16:36:36 -04:00
Tilo Mitra
846ddc4f2e add /*csslint */ ignores 2013-06-05 16:08:08 -04:00
Eric Ferraiuolo
9ec47cd9f6 Make minor tweaks to CSS files to clear basic linting issues 2013-06-05 14:04:38 -04:00
Tilo Mitra
6c44708a81 update manual tests to compare .pure-button vs. "buttony" <input>s 2013-06-05 11:16:43 -04:00
Tilo Mitra
e5efcedfb1 Target input styles to only texty inputs.
This adds a lot more rules but I'm hoping that gzipping
will not affect the k-weight much. This commit fixes
issue #54 (https://github.com/yui/pure/issues/54)
2013-06-05 11:14:30 -04:00
Eric Ferraiuolo
5925e3327a Remove ridiculous a:focus { outline: none; } rule
This rule should have never been here, it's one of the worst things we
could have done for accessibility :(
2013-06-05 09:38:46 -04:00
Eric Ferraiuolo
a85dbedf22 Merge branch 'master' of github.com:yui/pure 2013-06-04 13:00:57 -04:00
Eric Ferraiuolo
6f6ea96cf1 Merge branch 'codepb-master' 2013-06-04 12:53:34 -04:00
Paul Burgess
ed6367816c Removed top/bottom margin horiz menu separator
Removed the top and bottom margin from the separator in the horizontal
menu.
2013-06-04 17:26:42 +01:00
Eric Ferraiuolo
93834786b8 Replace "list" with "menu" for the Menu CSS module 2013-06-04 12:07:27 -04:00
Paul Burgess
8cb7efca2a Updated horizontal menu separator
Changed to allow for relative measurements for the separator.
2013-06-04 09:58:26 +01:00
Tilo Mitra
bee0e2dbde Merge branch 'master' into help 2013-06-03 19:51:30 -04:00
Tilo Mitra
5046fd8de9 update form manual test to work with e8645ae 2013-06-03 19:50:42 -04:00
Tilo Mitra
e8645ae508 add pure-form-message and pure-form-message-inline classes.
Refer to https://github.com/yui/pure/pull/32 for the
discussion behind this.
2013-06-03 19:49:42 -04:00
Paul Burgess
6750c80784 Corrected vertical separator for sub menus
made sure sub menus, the separator is displayed horizontally again
2013-06-02 10:32:10 +01:00
Paul Burgess
82281b5b69 pure-menu-separator vertical style for #53
Added a style so .pure-menu-separator will also work in vertical menu
and not just horizontal.
2013-06-02 08:47:30 +01:00
Paul Burgess
09673bf169 #42 fix for checkbox, file, and radio input focus
Added styles for checkbox, file, and radio input focus as they were not
affected by borders.
2013-06-01 19:00:50 +01:00
rcbdev
b923cefa2c #49 Updated form styles - textarea matches input
Updated form.css so that the textarea styles match those of inputs. This includes border, rounded corners, shadows, etc.
2013-06-01 12:52:07 +02:00
Matt Sweeney
f2cff205e2 Add dummy class to responsive units. 2013-05-30 10:50:47 -07:00
Matt Sweeney
fae5f7f169 Use *= ('one of') rather than (^=) starts with for collapsed units. 2013-05-30 10:39:14 -07:00
Danny Tatom
8e380861c3 Added pure-help-block 2013-05-28 15:59:46 -05:00
Eric Ferraiuolo
10d354d347 Merge branch '0.1.0' of github.com:tilomitra/kimono into 0.1.0
Conflicts:
	HISTORY.md
2013-05-24 17:19:27 +01:00
Tilo Mitra
558928465c Selected menu items no longer have a font-weight: bold.
This causes an issue where the <li> elements shift by 1px
because of the font-weight adjustment. We could probably fix
this by introducing box-sizing: border-box, but we'll add
that in globally later, hopefully. For now, no more bolded text.

The blue hover for menu-items has been replaced by #eee (very light
grey). The blue seemed arbitrary, and didn't match with the rest of
Pure.
2013-05-24 10:54:47 -04:00
Tilo Mitra
e6c8641283 Remove border-radius from menus. This only affects vertical menus. 2013-05-24 10:37:53 -04:00
Tilo Mitra
2bda62756b Add border-radius: 2px to buttons.
This fixes issue #4 (https://github.com/yui/pure/issues/4)
2013-05-24 10:37:09 -04:00
Eric Ferraiuolo
db11feeff7 Checkin Normalize.css' bower.json so its version can be determined
This allows the Normalize.css version number to be determined
programmatically to be used in the license banner.
2013-05-23 14:44:48 +01:00
Eric Ferraiuolo
7ddd0dc7ce Import Normalize.css @ 1.1.2 2013-05-23 14:00:02 +01:00
Eric Ferraiuolo
0503c9f7da Merge pull request #12 from tilomitra/cleanup
Add README and clean up module-level READMEs and HISTORYs
2013-05-23 03:08:37 -07:00
Tilo Mitra
f315f12dbd pull YUI from CDN 2013-05-20 13:29:43 -04:00
Tilo Mitra
6c1290e80c remove module-level HISTORY and README 2013-05-20 12:47:02 -04:00
Eric Ferraiuolo
ce76337d98 Remove redundant LICENSE.md file from the forms module 2013-05-17 00:48:50 -04:00
Tilo Mitra
c0e641f7bf clean up test files 2013-05-16 14:18:18 -04:00
Eric Ferraiuolo
cb7ced1e6b Update Gruntfile.js with new pure prefix and re-import Normalize.css 2013-05-16 13:34:29 -04:00
Eric Ferraiuolo
681ca1a93e Rename CSS classname prefix to pure 2013-05-16 13:33:57 -04:00
Eric Ferraiuolo
a19f09a17f Rename project to "Pure" 2013-05-16 13:21:35 -04:00
Eric Ferraiuolo
52ee854e3a Remove extra license info from forms-core.css src file 2013-05-14 17:00:54 -04:00
Eric Ferraiuolo
b0890e2fbc Reimport Normalize.css' test.html file 2013-05-14 13:14:48 -04:00
Eric Ferraiuolo
8ed6826eb6 Rename files to fit the new naming conventions
* `-core.css`: The module's most basic functionality.
* `[module].css`: The module's main rules, assumes `-core.css` rules.
* `-context.css`: A contextualized version of `[module].css`.
* `-r.css`: Respnsive, `@media` query rules.
* `-[feature].css`: Optional feature that provides extra rules.
2013-05-14 13:10:29 -04:00
Eric Ferraiuolo
fa22085a10 Re-import Normalize @ v1.1.1 2013-05-13 14:56:44 -04:00
Tilo Mitra
dbb805f448 Initial drop 2013-05-09 18:05:18 -04:00