|
38 | 38 | &.active { background-color: rgba(0,0,0,.05); }
|
39 | 39 | }
|
40 | 40 |
|
41 |
| - // Style non btn anchors |
42 |
| - li > a:not(.btn):not(.btn-large):not(.btn-flat):not(.btn-floating) { |
43 |
| - &:hover { background-color: rgba(0,0,0,.05);} |
44 |
| - |
| 41 | + li > a { |
45 | 42 | color: $sidenav-font-color;
|
46 | 43 | display: block;
|
47 | 44 | font-size: $sidenav-font-size;
|
|
50 | 47 | line-height: $sidenav-line-height;
|
51 | 48 | padding: 0 ($sidenav-padding * 2);
|
52 | 49 |
|
| 50 | + &:hover { background-color: rgba(0,0,0,.05);} |
| 51 | + |
| 52 | + &.btn, &.btn-large, &.btn-flat, &.btn-floating { |
| 53 | + margin: 10px 15px; |
| 54 | + } |
| 55 | + |
| 56 | + &.btn, |
| 57 | + &.btn-large, |
| 58 | + &.btn-floating { color: $button-raised-color; } |
| 59 | + &.btn-flat { color: $button-flat-color; } |
| 60 | + |
| 61 | + &.btn:hover, |
| 62 | + &.btn-large:hover { background-color: lighten($button-raised-background, 5%); } |
| 63 | + &.btn-floating:hover { background-color: $button-raised-background; } |
| 64 | + |
53 | 65 | & > i,
|
54 | 66 | & > [class^="mdi-"], li > a > [class*="mdi-"],
|
55 | 67 | & > i.material-icons {
|
|
62 | 74 | }
|
63 | 75 | }
|
64 | 76 |
|
65 |
| - // Style btn anchors |
66 |
| - li > .btn, li > .btn-large, li > .btn-flat, li > .btn-floating { |
67 |
| - margin: 10px ($sidenav-padding * 2); |
68 |
| - } |
69 | 77 |
|
70 | 78 | .divider {
|
71 | 79 | margin: ($sidenav-padding / 2) 0 0 0;
|
|
0 commit comments