1 | @import '../../styles/common/colors';
|
2 | @import '../../styles/common/mixins';
|
3 |
|
4 | .nav {
|
5 | overflow: auto;
|
6 | height: calc(100% - 65px);
|
7 |
|
8 | ul {
|
9 | font-weight: 200;
|
10 | list-style: none;
|
11 | margin: 0;
|
12 | padding: 0;
|
13 | }
|
14 |
|
15 | ul ul {
|
16 | font-weight: normal;
|
17 | height: 0;
|
18 | max-height: 0;
|
19 | opacity: 0;
|
20 | overflow: hidden;
|
21 | padding: 0;
|
22 | }
|
23 |
|
24 | li a {
|
25 | @include vertical-align('inline');
|
26 | color: $sky-text;
|
27 | cursor: pointer;
|
28 | display: flex;
|
29 | font-size: 16px;
|
30 | padding: 20px 15px;
|
31 | text-decoration: none;
|
32 |
|
33 | &.active {
|
34 | color: $white;
|
35 | }
|
36 |
|
37 | svg {
|
38 | margin-right: 10px;
|
39 | }
|
40 | }
|
41 |
|
42 | li.active {
|
43 | background-color: $primary-5;
|
44 |
|
45 | ul {
|
46 | display: block;
|
47 | }
|
48 | }
|
49 |
|
50 | ul.indent li a {
|
51 | padding-left: 48px;
|
52 | }
|
53 |
|
54 | li li a {
|
55 | color: $sky-text;
|
56 | padding: 10px 15px;
|
57 | font-size: 14px;
|
58 |
|
59 | &.active {
|
60 | background-color: lighten($primary-5, 5%);
|
61 | color: $sky-text;
|
62 | }
|
63 | }
|
64 |
|
65 | a.active + ul {
|
66 | background-color: $primary-5;
|
67 | height: auto;
|
68 | max-height: 1500px;
|
69 | opacity: 1;
|
70 | transition: all 700ms ease-in-out;
|
71 | }
|
72 |
|
73 | }
|