-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2776086
commit d8e61d5
Showing
8 changed files
with
187 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/*! | ||
Pure v0.6.0-rc-1 | ||
Copyright 2014 Yahoo! Inc. All rights reserved. | ||
Licensed under the BSD License. | ||
https://github.com/yahoo/pure/blob/master/LICENSE.md | ||
*/ | ||
.pure-menu-item .pure-menu-item{display:block}.pure-menu-children{display:none;position:absolute;left:100%;top:0;margin:0;padding:0;z-index:3}.pure-menu-horizontal .pure-menu-children{left:0;top:auto;width:inherit}.pure-menu-allow-hover:hover>.pure-menu-children,.pure-menu-active>.pure-menu-children{display:block;position:absolute}.pure-menu-has-children>.pure-menu-link:after{padding-left:.5em;content:"\25B8";font-size:small}.pure-menu-horizontal .pure-menu-has-children>.pure-menu-link:after{content:"\25BE"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/*! | ||
Pure v0.6.0-rc-1 | ||
Copyright 2014 Yahoo! Inc. All rights reserved. | ||
Licensed under the BSD License. | ||
https://github.com/yahoo/pure/blob/master/LICENSE.md | ||
*/ | ||
/* Submenus should still be display: block; */ | ||
.pure-menu-item .pure-menu-item { | ||
display: block; | ||
} | ||
|
||
.pure-menu-children { | ||
display: none; | ||
position: absolute; | ||
left: 100%; | ||
top: 0; | ||
margin: 0; | ||
padding: 0; | ||
z-index: 3; | ||
} | ||
|
||
.pure-menu-horizontal .pure-menu-children { | ||
left: 0; | ||
top: auto; | ||
width: inherit; | ||
} | ||
|
||
.pure-menu-allow-hover:hover > .pure-menu-children, | ||
.pure-menu-active > .pure-menu-children { | ||
display: block; | ||
position: absolute; | ||
} | ||
|
||
/* Vertical Menus - show the dropdown arrow */ | ||
.pure-menu-has-children > .pure-menu-link:after { | ||
padding-left: 0.5em; | ||
content: "\25B8"; | ||
font-size: small; | ||
} | ||
|
||
/* Horizontal Menus - show the dropdown arrow */ | ||
.pure-menu-horizontal .pure-menu-has-children > .pure-menu-link:after { | ||
content: "\25BE"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/*! | ||
Pure v0.6.0-rc-1 | ||
Copyright 2014 Yahoo! Inc. All rights reserved. | ||
Licensed under the BSD License. | ||
https://github.com/yahoo/pure/blob/master/LICENSE.md | ||
*/ | ||
.pure-menu-horizontal{width:100%;white-space:nowrap}.pure-menu-horizontal .pure-menu-list{display:inline-block}.pure-menu-horizontal .pure-menu-item,.pure-menu-horizontal .pure-menu-heading,.pure-menu-horizontal .pure-menu-separator{display:inline-block;*display:inline;zoom:1;vertical-align:middle} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/*! | ||
Pure v0.6.0-rc-1 | ||
Copyright 2014 Yahoo! Inc. All rights reserved. | ||
Licensed under the BSD License. | ||
https://github.com/yahoo/pure/blob/master/LICENSE.md | ||
*/ | ||
/* HORIZONTAL MENU */ | ||
.pure-menu-horizontal { | ||
width: 100%; | ||
white-space: nowrap; | ||
} | ||
|
||
.pure-menu-horizontal .pure-menu-list { | ||
display: inline-block; | ||
} | ||
|
||
/* Initial menus should be inline-block so that they are horizontal */ | ||
.pure-menu-horizontal .pure-menu-item, | ||
.pure-menu-horizontal .pure-menu-heading, | ||
.pure-menu-horizontal .pure-menu-separator { | ||
display: inline-block; | ||
*display: inline; | ||
zoom: 1; | ||
vertical-align: middle; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/*! | ||
Pure v0.6.0-rc-1 | ||
Copyright 2014 Yahoo! Inc. All rights reserved. | ||
Licensed under the BSD License. | ||
https://github.com/yahoo/pure/blob/master/LICENSE.md | ||
*/ | ||
.pure-menu-scrollable{overflow-y:scroll;overflow-x:hidden}.pure-menu-scrollable .pure-menu-list{display:block}.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list{display:inline-block}.pure-menu-horizontal.pure-menu-scrollable{white-space:nowrap;overflow-y:hidden;overflow-x:auto;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;padding:.5em 0}.pure-menu-horizontal.pure-menu-scrollable::-webkit-scrollbar{display:none} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/*! | ||
Pure v0.6.0-rc-1 | ||
Copyright 2014 Yahoo! Inc. All rights reserved. | ||
Licensed under the BSD License. | ||
https://github.com/yahoo/pure/blob/master/LICENSE.md | ||
*/ | ||
/* scrollable menus */ | ||
.pure-menu-scrollable { | ||
overflow-y: scroll; | ||
overflow-x: hidden; | ||
} | ||
|
||
.pure-menu-scrollable .pure-menu-list { | ||
display: block; | ||
} | ||
|
||
.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list { | ||
display: inline-block; | ||
} | ||
|
||
.pure-menu-horizontal.pure-menu-scrollable { | ||
white-space: nowrap; | ||
overflow-y: hidden; | ||
overflow-x: auto; | ||
-ms-overflow-style: none; | ||
-webkit-overflow-scrolling: touch; | ||
/* a little extra padding for this style to allow for scrollbars */ | ||
padding: .5em 0; | ||
} | ||
|
||
.pure-menu-horizontal.pure-menu-scrollable::-webkit-scrollbar { | ||
display: none; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/*! | ||
Pure v0.6.0-rc-1 | ||
Copyright 2014 Yahoo! Inc. All rights reserved. | ||
Licensed under the BSD License. | ||
https://github.com/yahoo/pure/blob/master/LICENSE.md | ||
*/ | ||
/* misc default styling */ | ||
|
||
.pure-menu-separator { | ||
background-color: #ccc; | ||
height: 1px; | ||
margin: .3em 0; | ||
} | ||
|
||
.pure-menu-horizontal .pure-menu-separator { | ||
width: 1px; | ||
height: 1.3em; | ||
margin: 0 .3em ; | ||
} | ||
|
||
.pure-menu-heading { | ||
text-transform: uppercase; | ||
color: #565d64; | ||
} | ||
|
||
.pure-menu-link { | ||
color: #777; | ||
} | ||
|
||
.pure-menu-children { | ||
background-color: #fff; | ||
} | ||
|
||
.pure-menu-link, | ||
.pure-menu-disabled, | ||
.pure-menu-heading { | ||
padding: .5em 1em; | ||
} | ||
|
||
.pure-menu-disabled { | ||
opacity: .5; | ||
} | ||
|
||
.pure-menu-disabled .pure-menu-link:hover { | ||
background-color: transparent; | ||
} | ||
|
||
.pure-menu-active > .pure-menu-link, | ||
.pure-menu-link:hover, | ||
.pure-menu-link:focus { | ||
background-color: #eee; | ||
} | ||
|
||
.pure-menu-selected .pure-menu-link, | ||
.pure-menu-selected .pure-menu-link:visited { | ||
color: #000; | ||
} |