File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 102102 z-index : -5 ;
103103 display : block ;
104104 text-shadow : none ;
105+
106+ @media all and (max-width : $bp-large ) {
107+ left : 2px ;
108+ top : 2px ;
109+ background-size : 2px 2px ;
110+ }
105111 }
106112}
107113
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ $color-brand-green: #7ec699;
4848$color-brand-green-dark : #376548 ;
4949$color-brand-green-light : #f4fdf6 ;
5050$color-brand-orange : #eeb31b ;
51+ $color-brand-orange-dark : #966d04 ;
5152$color-brand-orange-light : #fef8ea ;
5253
5354/* *
Original file line number Diff line number Diff line change 2222 }
2323
2424 .c-tile--orange & {
25- color : $color-brand-orange ;
25+ color : $color-brand-orange-dark ;
2626 background : $color-brand-orange-light ;
2727 }
2828
2929 .c-tile--purple & {
30- color : $color-brand-purple ;
30+ color : $color-brand-purple-dark ;
3131 background : $color-brand-purple-light ;
3232 }
3333}
5959
6060 & :hover ,
6161 & :focus {
62+ color : inherit ;
6263 text-decoration : underline ;
6364 }
6465}
Original file line number Diff line number Diff line change 1010}
1111
1212.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+ }
2929}
3030
3131.c-tree-nav__link--is-active {
32- color : $color-white ;
33- font-weight : bold ;
32+ color : $color-white ;
33+ font-weight : bold ;
3434}
3535
3636/* *
3737 * Subnav
3838 */
3939.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+ }
4949}
5050
5151.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+ }
5358
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 ;
5763}
5864
5965.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+ }
7379}
7480
7581.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+ }
8490}
8591
8692.c-tree-nav__subnav-link--heading {
87- font-weight : bold ;
88- color : $color-white ;
93+ font-weight : bold ;
94+ color : $color-white ;
8995}
You can’t perform that action at this time.
0 commit comments