Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 1 | xos-nav { |
| 2 | display: flex; |
| 3 | flex: 1; |
| 4 | flex-direction: column; |
| 5 | flex-basis: 10%; |
| 6 | background: darken(grey, 10); |
| 7 | |
| 8 | ul { |
| 9 | list-style: none; |
| 10 | padding: 0; |
| 11 | margin: 0; |
| 12 | background: grey; |
| 13 | |
| 14 | > li { |
| 15 | display: flex; |
| 16 | flex-direction: column; |
| 17 | padding: 10px 20px; |
| 18 | border-bottom: 1px solid darken(grey, 20); |
| 19 | |
| 20 | &.active { |
| 21 | background: darken(grey, 10); |
| 22 | |
| 23 | > a { |
| 24 | color: #5aadbb; |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | &:hover { |
| 29 | background: darken(grey, 10); |
| 30 | } |
| 31 | |
| 32 | > a { |
| 33 | cursor: pointer; |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | } |