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