File tree Expand file tree Collapse file tree 4 files changed +70
-56
lines changed Expand file tree Collapse file tree 4 files changed +70
-56
lines changed Original file line number Diff line number Diff line change 102
102
z-index : -5 ;
103
103
display : block ;
104
104
text-shadow : none ;
105
+
106
+ @media all and (max-width : $bp-large ) {
107
+ left : 2px ;
108
+ top : 2px ;
109
+ background-size : 2px 2px ;
110
+ }
105
111
}
106
112
}
107
113
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ $color-brand-green: #7ec699;
48
48
$color-brand-green-dark : #376548 ;
49
49
$color-brand-green-light : #f4fdf6 ;
50
50
$color-brand-orange : #eeb31b ;
51
+ $color-brand-orange-dark : #966d04 ;
51
52
$color-brand-orange-light : #fef8ea ;
52
53
53
54
/* *
Original file line number Diff line number Diff line change 22
22
}
23
23
24
24
.c-tile--orange & {
25
- color : $color-brand-orange ;
25
+ color : $color-brand-orange-dark ;
26
26
background : $color-brand-orange-light ;
27
27
}
28
28
29
29
.c-tile--purple & {
30
- color : $color-brand-purple ;
30
+ color : $color-brand-purple-dark ;
31
31
background : $color-brand-purple-light ;
32
32
}
33
33
}
59
59
60
60
& :hover ,
61
61
& :focus {
62
+ color : inherit ;
62
63
text-decoration : underline ;
63
64
}
64
65
}
Original file line number Diff line number Diff line change 10
10
}
11
11
12
12
.c-tree-nav__link {
13
- display : flex ;
14
- align-items : center ;
15
- margin-bottom : 1.2rem ;
16
- color : inherit ;
17
- font-weight : $font-weight-bold ;
18
- transition : color 0.2s ease ;
19
-
20
- & :hover ,
21
- & .is-active {
22
- color : $color-white ;
23
- }
24
-
25
- & :focus {
26
- color : $color-white ;
27
- @include focusInverted ();
28
- }
13
+ display : flex ;
14
+ align-items : center ;
15
+ margin-bottom : 1.2rem ;
16
+ color : inherit ;
17
+ font-weight : $font-weight-bold ;
18
+ transition : color 0.2s ease ;
19
+
20
+ & :hover ,
21
+ & .is-active {
22
+ color : $color-white ;
23
+ }
24
+
25
+ & :focus {
26
+ color : $color-white ;
27
+ @include focusInverted ();
28
+ }
29
29
}
30
30
31
31
.c-tree-nav__link--is-active {
32
- color : $color-white ;
33
- font-weight : bold ;
32
+ color : $color-white ;
33
+ font-weight : bold ;
34
34
}
35
35
36
36
/* *
37
37
* Subnav
38
38
*/
39
39
.c-tree-nav__subnav {
40
- padding-left : 1rem ;
41
- border-left : 1px solid $color-gray-73 ;
42
- margin-bottom : 1rem ;
43
- font-size : $font-size-med ;
44
- display : none ;
45
-
46
- .c-tree-nav__item.is-active & {
47
- display : block ;
48
- }
40
+ padding-left : 1rem ;
41
+ border-left : 1px solid $color-gray-73 ;
42
+ margin-bottom : 1rem ;
43
+ font-size : $font-size-med ;
44
+ display : none ;
45
+
46
+ .c-tree-nav__item.is-active & {
47
+ display : block ;
48
+ }
49
49
}
50
50
51
51
.c-tree-nav__icon {
52
- transition : transform $anim-fade-quick $anim-ease ;
52
+ transition : transform $anim-fade-quick $anim-ease ;
53
+
54
+ .c-tree-nav__item.is-active & {
55
+ transform : rotate (180deg );
56
+ }
57
+ }
53
58
54
- .c-tree-nav__item.is-active & {
55
- transform : rotate (180deg );
56
- }
59
+ .c-tree-nav__subnav-title {
60
+ font-weight : bold ;
61
+ display : block ;
62
+ margin-bottom : 1rem ;
57
63
}
58
64
59
65
.c-tree-nav__subnav-link {
60
- color : inherit ;
61
- display : block ;
62
- margin-bottom : 1rem ;
63
-
64
- & :hover ,
65
- & :focus ,
66
- & .is-active {
67
- color : $color-white ;
68
- }
69
-
70
- & :focus {
71
- @include focusInverted ();
72
- }
66
+ color : inherit ;
67
+ display : block ;
68
+ margin-bottom : 1rem ;
69
+
70
+ & :hover ,
71
+ & :focus ,
72
+ & .is-active {
73
+ color : $color-white ;
74
+ }
75
+
76
+ & :focus {
77
+ @include focusInverted ();
78
+ }
73
79
}
74
80
75
81
.c-tree-nav__link--btn {
76
- background : transparent ;
77
- border : 0 ;
78
- padding : 0 ;
79
- font-size : inherit ;
80
-
81
- svg {
82
- fill : currentColor ;
83
- }
82
+ background : transparent ;
83
+ border : 0 ;
84
+ padding : 0 ;
85
+ font-size : inherit ;
86
+
87
+ svg {
88
+ fill : currentColor ;
89
+ }
84
90
}
85
91
86
92
.c-tree-nav__subnav-link--heading {
87
- font-weight : bold ;
88
- color : $color-white ;
93
+ font-weight : bold ;
94
+ color : $color-white ;
89
95
}
You can’t perform that action at this time.
0 commit comments