app/assets/stylesheets/materialize/components/_sideNav.scss in materialize-sass-0.98.0 vs app/assets/stylesheets/materialize/components/_sideNav.scss in materialize-sass-0.98.1
- old
+ new
@@ -36,11 +36,11 @@
line-height: $sidenav-line-height;
&.active { background-color: rgba(0,0,0,.05); }
}
- a {
+ li > a {
color: $sidenav-font-color;
display: block;
font-size: $sidenav-font-size;
font-weight: 500;
height: $sidenav-item-height;
@@ -59,21 +59,22 @@
&.btn-flat { color: $button-flat-color; }
&.btn:hover,
&.btn-large:hover { background-color: lighten($button-raised-background, 5%); }
&.btn-floating:hover { background-color: $button-raised-background; }
- }
- li > a > i,
- li > a > [class^="mdi-"], li > a > [class*="mdi-"],
- li > a > i.material-icons {
- float: left;
- height: $sidenav-item-height;
- line-height: $sidenav-line-height;
- margin: 0 ($sidenav-padding * 2) 0 0;
- width: $sidenav-item-height / 2;
- color: rgba(0,0,0,.54);
+ & > i,
+ & > [class^="mdi-"], li > a > [class*="mdi-"],
+ & > i.material-icons {
+ float: left;
+ height: $sidenav-item-height;
+ line-height: $sidenav-line-height;
+ margin: 0 ($sidenav-padding * 2) 0 0;
+ width: $sidenav-item-height / 2;
+ color: rgba(0,0,0,.54);
+ }
}
+
.divider {
margin: ($sidenav-padding / 2) 0 0 0;
}