File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 29
29
{% assign currentSectionPage = page.path | downcase | split: "/" %}
30
30
{% assign currentSectionPath = item.slug | downcase %}
31
31
{% capture currentSectionSlug %}{{ currentSectionPage[0] | downcase }}/{{ currentSectionPage[1] | downcase }}{% endcapture %}
32
-
33
- < li class ="menu-item menu-item--gray {% if currentPage == currentPath or currentSectionSlug == currentSectionPath %}menu-item--active{% endif %} " data-accordion data-class-active ="menu-item--active ">
32
+
33
+ < li class ="menu-item {% if item.section_title %} menu-item--gray{% else %}menu-item--green{% endif %} {% if currentPage == currentPath or currentSectionSlug == currentSectionPath %}menu-item--active{% endif %} " data-accordion data-class-active ="menu-item--active ">
34
34
{% if item.path %}
35
35
{% assign menuLink = site.baseurl | append: item.path | append: "/" %}
36
36
{% if item.path contains "http://" or item.path contains "https://"%}
Original file line number Diff line number Diff line change 101
101
content : " " ;
102
102
display : block ;
103
103
position : absolute ;
104
- top : 0 ;
105
- left : -18 px ;
106
- height : 100% ;
104
+ top : -8 px ;
105
+ left : -19 px ;
106
+ height : calc ( 100% + 16 px ) ;
107
107
width : 2px ;
108
108
background-color : color (primary );
109
109
}
116
116
content : " " ;
117
117
display : block ;
118
118
position : absolute ;
119
- top : 0 ;
120
- left : -26 px ;
121
- height : 100% ;
119
+ top : -8 px ;
120
+ left : -25 px ;
121
+ height : calc ( 100% + 16 px ) ;
122
122
width : 2px ;
123
123
background-color : color (primary );
124
124
}
149
149
150
150
& #{$this } --gray {
151
151
& > #{$this } __link {
152
- color : rgba (color (gray-dark ), 0.8 );
152
+ color : #435A6F ;
153
+ font-weight : 500 ;
154
+ }
155
+ }
156
+
157
+ & #{$this } --green {
158
+ & > #{$this } __link {
159
+ color : color (primary );
153
160
font-weight : 500 ;
154
161
}
155
162
}
You can’t perform that action at this time.
0 commit comments