vendor/assets/stylesheets/purecss/menus.css in purecss-0.0.10 vs vendor/assets/stylesheets/purecss/menus.css in purecss-0.0.11
- old
+ new
@@ -2,10 +2,13 @@
Pure v0.1.1-pre
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
https://github.com/yui/pure/blob/master/LICENSE.md
*/
+/*csslint adjoining-classes:false*/
+/*TODO: Remove this lint rule override after a refactor of this code.*/
+
.pure-menu ul {
position: absolute;
visibility: hidden;
}
@@ -43,19 +46,19 @@
white-space: nowrap;
}
.pure-menu.pure-menu-horizontal > .pure-menu-heading {
display: inline-block;
- margin: 0;
- zoom: 1;
*display: inline;
+ zoom: 1;
+ margin: 0;
vertical-align: middle;
}
.pure-menu.pure-menu-horizontal > ul {
display: inline-block;
- zoom: 1;
*display: inline;
+ zoom: 1;
vertical-align: middle;
height: 2.4em;
}
.pure-menu li a { padding: 5px 20px; }
@@ -67,11 +70,11 @@
margin-right: -20px;
margin-top: -1px;
}
.pure-menu-can-have-children > .pure-menu-label {
- padding-right:30px;
+ padding-right: 30px;
}
.pure-menu-separator {
background-color: #dfdfdf;
display: block;
@@ -79,11 +82,13 @@
font-size: 0;
margin: 7px 2px;
overflow: hidden;
}
-.pure-menu-hidden { display: none; }
+.pure-menu-hidden {
+ display: none;
+}
/* FIXED MENU */
.pure-menu-fixed {
position: fixed;
top:0;
@@ -95,12 +100,12 @@
/* HORIZONTAL MENU CODE */
/* Initial menus should be inline-block so that they are horizontal */
.pure-menu-horizontal li {
display: inline-block;
- zoom: 1;
*display: inline;
+ zoom: 1;
vertical-align: middle;
}
/* Submenus should still be display:block; */
.pure-menu-horizontal li li {
@@ -129,20 +134,24 @@
width: auto;
margin: 7px 2px;
}
+/*csslint adjoining-classes:false*/
+/*TODO: Remove this lint rule override after a refactor of this code.*/
+
/* MAIN MENU STYLING */
.pure-menu.pure-menu-open,
.pure-menu.pure-menu-horizontal li .pure-menu-children {
background: #ffffff; /* Old browsers */
border: 1px solid #b7b7b7;
}
/* remove borders for horizontal menus */
-.pure-menu.pure-menu-horizontal, .pure-menu.pure-menu-horizontal .pure-menu-heading {
+.pure-menu.pure-menu-horizontal,
+.pure-menu.pure-menu-horizontal .pure-menu-heading {
border: none;
}
@@ -190,12 +199,12 @@
/* HEADINGS */
.pure-menu .pure-menu-heading {
color: #565d64;
text-transform: uppercase;
- font-size:90%;
- margin-top:0.5em;
+ font-size: 90%;
+ margin-top: 0.5em;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #dfdfdf;
}
@@ -208,20 +217,22 @@
.pure-menu.pure-menu-open.pure-menu-fixed {
border: none;
border-bottom: 1px solid #b7b7b7;
}
+/*csslint box-model:false*/
+/*TODO: Remove this lint rule override after a refactor of this code.*/
+
.pure-paginator {
list-style: none;
margin: 0;
padding: 0;
}
.pure-paginator li {
display: inline-block;
*display: inline;
- /* IE 7 inline-block hack */
- *zoom: 1;
+ zoom: 1;
margin: 0 -0.35em 0 0;
}
.pure-paginator .pure-button {
border-radius: 0;
padding: 0.8em 1.4em;
@@ -231,11 +242,11 @@
.pure-paginator .pure-button:focus {
outline-style: none;
}
.pure-paginator .prev, .pure-paginator .next {
color: #C0C1C3;
- text-shadow: 0px -1px 0px rgba(0,0,0, 0.45);
+ text-shadow: 0 -1px 0 rgba(0,0,0, 0.45);
}
.pure-paginator .prev {
border-radius: 2px 0 0 2px;
}
.pure-paginator .next {
@@ -250,9 +261,9 @@
width:100%;
}
.pure-menu-children li {
display: block;
- border-bottom:1px solid block;
+ border-bottom: 1px solid black;
}
}