James Alley
2ee322f945
This commit jettisons the responsive horizontal menu concept and adds in a scrollable concept. Everything has been designed to work well with the new JS I've written which adds in better accessibility. More to come though.
2015-01-23 18:52:34 -08:00
James Alley
704e5fd5ec
fixes some problems with the custom implentation; the font-size: small rule ensures the caret :after for a dropdown menu does not affect the sizing of its parent box, which was causing bad vertical alignment of links in the horizontal menu.
2015-01-20 15:49:13 -08:00
James Alley
524b2fc90f
removing width here because it causes submenu widths to be limited to their parent
2015-01-20 15:29:03 -08:00
James Alley
01d18ff41d
misc whitespace cleanup
2015-01-20 15:08:08 -08:00
James Alley
40952f5a50
Initial commit of edits in support of the new menu.
2015-01-20 14:33:54 -08:00
Tilo Mitra
9c55ca2d52
update menus manual test
2014-08-25 10:55:27 -07:00
Tilo Mitra
4a52463933
add white background over dropdown children
2014-08-25 10:50:50 -07:00
Tilo Mitra
eab6a0ca65
add z-index in case another menu is behind this menu
2014-08-25 10:50:28 -07:00
Tilo Mitra
e8c024525c
Merge branch 'master' of github.com:yui/pure into new-menu
...
Conflicts:
src/menus/css/menus-core.css
src/menus/tests/manual/menus.html
2014-08-25 10:30:31 -07:00
Tilo Mitra
b247b2de34
add customized menu example
2014-08-25 10:25:44 -07:00
Tilo Mitra
5aaebe0e71
add border-box rule
2014-08-25 10:25:33 -07:00
Tilo Mitra
fa7ffd3527
Revamp Menus to make them mobile-first with dropdown support
...
- Removed menus-paginator, I don't think it's very useful
- Added CSS-only dropdowns
- Mobile-first
- Easier to style, with new classnames
- Responsive Menus supported
2014-08-24 16:13:19 -07:00
Tilo Mitra
50f502399a
Menus: add example to help testing menu overflow
2013-11-25 14:18:23 -05:00
Tilo Mitra
2d3401fe18
Menus: Remove hard-coded height ( fixes #164 )
2013-11-25 14:17:42 -05:00
Eric Ferraiuolo
44b5be0a46
Clean manual tests by formatting the HTML and making it valid
2013-09-03 13:18:46 -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
Tilo Mitra
e4bf1ad814
group .pure-paginator
rules into 1 selector
2013-07-17 12:08:27 -04:00
Eric Ferraiuolo
d0fefa1b36
Add _all_ Pure Grids styles to Paginator
...
Fixes #127
Closes #131
2013-07-17 08:54:44 -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
Tilo Mitra
3d7dea4926
increase margin between paginator items to fix issue #127
2013-07-09 16:37:04 -04:00
Eric Ferraiuolo
45e0b584b8
Update styles for focused disabled Menu items to look disabled
2013-06-11 16:14:17 -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
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
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
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
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
Eric Ferraiuolo
a85dbedf22
Merge branch 'master' of github.com:yui/pure
2013-06-04 13:00:57 -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
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
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
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
Tilo Mitra
c0e641f7bf
clean up test files
2013-05-16 14:18:18 -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
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
Tilo Mitra
dbb805f448
Initial drop
2013-05-09 18:05:18 -04:00