fni-docs-theme 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +19 -0
- data/Rakefile +1 -0
- data/_includes/css/custom.scss.liquid +1 -0
- data/_includes/css/just-the-docs.scss.liquid +7 -0
- data/_includes/fix_linenos.html +65 -0
- data/_includes/footer_custom.html +3 -0
- data/_includes/head.html +39 -0
- data/_includes/head_custom.html +0 -0
- data/_includes/header_custom.html +0 -0
- data/_includes/js/custom.js +0 -0
- data/_includes/nav.html +31 -0
- data/_includes/title.html +5 -0
- data/_includes/vendor/anchor_headings.html +144 -0
- data/_layouts/about.html +5 -0
- data/_layouts/default.html +199 -0
- data/_layouts/home.html +5 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_layouts/table_wrappers.html +7 -0
- data/_layouts/vendor/compress.html +10 -0
- data/_sass/base.scss +108 -0
- data/_sass/buttons.scss +118 -0
- data/_sass/code.scss +340 -0
- data/_sass/color_schemes/dark.scss +17 -0
- data/_sass/color_schemes/light.scss +0 -0
- data/_sass/content.scss +231 -0
- data/_sass/custom/custom.scss +0 -0
- data/_sass/labels.scss +37 -0
- data/_sass/layout.scss +205 -0
- data/_sass/modules.scss +20 -0
- data/_sass/navigation.scss +219 -0
- data/_sass/print.scss +40 -0
- data/_sass/search.scss +324 -0
- data/_sass/support/_functions.scss +9 -0
- data/_sass/support/_variables.scss +153 -0
- data/_sass/support/mixins/_buttons.scss +27 -0
- data/_sass/support/mixins/_layout.scss +34 -0
- data/_sass/support/mixins/_typography.scss +84 -0
- data/_sass/support/mixins/mixins.scss +3 -0
- data/_sass/support/support.scss +3 -0
- data/_sass/tables.scss +58 -0
- data/_sass/typography.scss +64 -0
- data/_sass/utilities/_colors.scss +239 -0
- data/_sass/utilities/_layout.scss +95 -0
- data/_sass/utilities/_lists.scss +17 -0
- data/_sass/utilities/_spacing.scss +165 -0
- data/_sass/utilities/_typography.scss +91 -0
- data/_sass/utilities/utilities.scss +5 -0
- data/_sass/vendor/normalize.scss/README.md +7 -0
- data/_sass/vendor/normalize.scss/normalize.scss +349 -0
- data/assets/css/just-the-docs-dark.scss +3 -0
- data/assets/css/just-the-docs-default.scss +8 -0
- data/assets/css/just-the-docs-light.scss +3 -0
- data/assets/images/just-the-docs.png +0 -0
- data/assets/images/search.svg +1 -0
- data/assets/js/jtd-nav.js +35 -0
- data/assets/js/just-the-docs.js +471 -0
- data/assets/js/vendor/lunr.min.js +6 -0
- data/assets/js/zzzz-search-data.json +72 -0
- data/bin/just-the-docs +16 -0
- data/lib/fni-docs-theme.rb +1 -0
- data/lib/generators/nav-generator.rb +31 -0
- data/lib/tasks/search.rake +86 -0
- metadata +200 -0
data/_sass/content.scss
ADDED
@@ -0,0 +1,231 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
//
|
4
|
+
// Styles for rendered markdown in the .main-content container
|
5
|
+
//
|
6
|
+
// stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type
|
7
|
+
|
8
|
+
.main-content {
|
9
|
+
line-height: $content-line-height;
|
10
|
+
|
11
|
+
ol,
|
12
|
+
ul,
|
13
|
+
dl,
|
14
|
+
pre,
|
15
|
+
address,
|
16
|
+
blockquote,
|
17
|
+
.table-wrapper {
|
18
|
+
margin-top: 0.5em;
|
19
|
+
}
|
20
|
+
|
21
|
+
a {
|
22
|
+
overflow: hidden;
|
23
|
+
text-overflow: ellipsis;
|
24
|
+
white-space: nowrap;
|
25
|
+
}
|
26
|
+
|
27
|
+
ul,
|
28
|
+
ol {
|
29
|
+
padding-left: 1.5em;
|
30
|
+
}
|
31
|
+
|
32
|
+
li {
|
33
|
+
.highlight {
|
34
|
+
margin-top: $sp-1;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
ol {
|
39
|
+
list-style-type: none;
|
40
|
+
counter-reset: step-counter;
|
41
|
+
|
42
|
+
> li {
|
43
|
+
position: relative;
|
44
|
+
|
45
|
+
&::before {
|
46
|
+
position: absolute;
|
47
|
+
top: 0.2em;
|
48
|
+
left: -1.6em;
|
49
|
+
color: $grey-dk-000;
|
50
|
+
content: counter(step-counter);
|
51
|
+
counter-increment: step-counter;
|
52
|
+
@include fs-3;
|
53
|
+
|
54
|
+
@include mq(sm) {
|
55
|
+
top: 0.11em;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
ol {
|
60
|
+
counter-reset: sub-counter;
|
61
|
+
|
62
|
+
li {
|
63
|
+
&::before {
|
64
|
+
content: counter(sub-counter, lower-alpha);
|
65
|
+
counter-increment: sub-counter;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
ul {
|
73
|
+
list-style: none;
|
74
|
+
|
75
|
+
> li {
|
76
|
+
&::before {
|
77
|
+
position: absolute;
|
78
|
+
margin-left: -1.4em;
|
79
|
+
color: $grey-dk-000;
|
80
|
+
content: "•";
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.task-list {
|
86
|
+
padding-left: 0;
|
87
|
+
}
|
88
|
+
|
89
|
+
.task-list-item {
|
90
|
+
display: flex;
|
91
|
+
align-items: center;
|
92
|
+
|
93
|
+
&::before {
|
94
|
+
content: "";
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
.task-list-item-checkbox {
|
99
|
+
margin-right: 0.6em;
|
100
|
+
}
|
101
|
+
|
102
|
+
hr + * {
|
103
|
+
margin-top: 0;
|
104
|
+
}
|
105
|
+
|
106
|
+
h1:first-of-type {
|
107
|
+
margin-top: 0.5em;
|
108
|
+
}
|
109
|
+
|
110
|
+
dl {
|
111
|
+
display: grid;
|
112
|
+
grid-template: auto / 10em 1fr;
|
113
|
+
}
|
114
|
+
|
115
|
+
dt,
|
116
|
+
dd {
|
117
|
+
margin: 0.25em 0;
|
118
|
+
}
|
119
|
+
|
120
|
+
dt {
|
121
|
+
grid-column: 1;
|
122
|
+
font-weight: 500;
|
123
|
+
text-align: right;
|
124
|
+
&::after {
|
125
|
+
content: ":";
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
dd {
|
130
|
+
grid-column: 2;
|
131
|
+
margin-bottom: 0;
|
132
|
+
margin-left: 1em;
|
133
|
+
blockquote,
|
134
|
+
div,
|
135
|
+
dl,
|
136
|
+
dt,
|
137
|
+
h1,
|
138
|
+
h2,
|
139
|
+
h3,
|
140
|
+
h4,
|
141
|
+
h5,
|
142
|
+
h6,
|
143
|
+
li,
|
144
|
+
ol,
|
145
|
+
p,
|
146
|
+
pre,
|
147
|
+
table,
|
148
|
+
ul,
|
149
|
+
.table-wrapper {
|
150
|
+
&:first-child {
|
151
|
+
margin-top: 0;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
dd,
|
157
|
+
ol,
|
158
|
+
ul {
|
159
|
+
dl:first-child {
|
160
|
+
dt:first-child,
|
161
|
+
dd:nth-child(2) {
|
162
|
+
margin-top: 0;
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
.anchor-heading {
|
168
|
+
position: absolute;
|
169
|
+
right: -$sp-4;
|
170
|
+
width: $sp-5;
|
171
|
+
height: 100%;
|
172
|
+
padding-right: $sp-1;
|
173
|
+
padding-left: $sp-1;
|
174
|
+
overflow: visible;
|
175
|
+
|
176
|
+
@include mq(md) {
|
177
|
+
right: auto;
|
178
|
+
left: -$sp-5;
|
179
|
+
}
|
180
|
+
|
181
|
+
svg {
|
182
|
+
display: inline-block;
|
183
|
+
width: 100%;
|
184
|
+
height: 100%;
|
185
|
+
color: $link-color;
|
186
|
+
visibility: hidden;
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
.anchor-heading:hover,
|
191
|
+
h1:hover > .anchor-heading,
|
192
|
+
h2:hover > .anchor-heading,
|
193
|
+
h3:hover > .anchor-heading,
|
194
|
+
h4:hover > .anchor-heading,
|
195
|
+
h5:hover > .anchor-heading,
|
196
|
+
h6:hover > .anchor-heading {
|
197
|
+
svg {
|
198
|
+
visibility: visible;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
summary {
|
203
|
+
cursor: pointer;
|
204
|
+
}
|
205
|
+
|
206
|
+
h1,
|
207
|
+
h2,
|
208
|
+
h3,
|
209
|
+
h4,
|
210
|
+
h5,
|
211
|
+
h6 {
|
212
|
+
position: relative;
|
213
|
+
margin-top: 1.5em;
|
214
|
+
margin-bottom: 0.25em;
|
215
|
+
|
216
|
+
&:first-child {
|
217
|
+
margin-top: $sp-2;
|
218
|
+
}
|
219
|
+
|
220
|
+
+ table,
|
221
|
+
+ .table-wrapper,
|
222
|
+
+ .code-example,
|
223
|
+
+ .highlighter-rouge {
|
224
|
+
margin-top: 1em;
|
225
|
+
}
|
226
|
+
|
227
|
+
+ p {
|
228
|
+
margin-top: 0;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
}
|
File without changes
|
data/_sass/labels.scss
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
//
|
2
|
+
// Labels (not the form kind)
|
3
|
+
//
|
4
|
+
|
5
|
+
.label,
|
6
|
+
.label-blue {
|
7
|
+
display: inline-block;
|
8
|
+
padding-top: 0.16em;
|
9
|
+
padding-right: 0.56em;
|
10
|
+
padding-bottom: 0.16em;
|
11
|
+
padding-left: 0.56em;
|
12
|
+
margin-right: $sp-2;
|
13
|
+
margin-left: $sp-2;
|
14
|
+
color: $white;
|
15
|
+
text-transform: uppercase;
|
16
|
+
vertical-align: middle;
|
17
|
+
background-color: $blue-100;
|
18
|
+
@include fs-2;
|
19
|
+
border-radius: 12px;
|
20
|
+
}
|
21
|
+
|
22
|
+
.label-green {
|
23
|
+
background-color: $green-200;
|
24
|
+
}
|
25
|
+
|
26
|
+
.label-purple {
|
27
|
+
background-color: $purple-100;
|
28
|
+
}
|
29
|
+
|
30
|
+
.label-red {
|
31
|
+
background-color: $red-200;
|
32
|
+
}
|
33
|
+
|
34
|
+
.label-yellow {
|
35
|
+
color: $grey-dk-200;
|
36
|
+
background-color: $yellow-200;
|
37
|
+
}
|
data/_sass/layout.scss
ADDED
@@ -0,0 +1,205 @@
|
|
1
|
+
//
|
2
|
+
// The basic two column layout
|
3
|
+
//
|
4
|
+
|
5
|
+
.side-bar {
|
6
|
+
z-index: 0;
|
7
|
+
display: flex;
|
8
|
+
flex-wrap: wrap;
|
9
|
+
background-color: $sidebar-color;
|
10
|
+
|
11
|
+
@include mq(md) {
|
12
|
+
flex-wrap: nowrap;
|
13
|
+
position: fixed;
|
14
|
+
width: $nav-width-md;
|
15
|
+
height: 100%;
|
16
|
+
flex-direction: column;
|
17
|
+
border-right: $border $border-color;
|
18
|
+
align-items: flex-end;
|
19
|
+
}
|
20
|
+
|
21
|
+
@include mq(lg) {
|
22
|
+
width: calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width});
|
23
|
+
min-width: $nav-width;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.main {
|
28
|
+
@include mq(md) {
|
29
|
+
position: relative;
|
30
|
+
max-width: $content-width;
|
31
|
+
margin-left: $nav-width-md;
|
32
|
+
}
|
33
|
+
|
34
|
+
@include mq(lg) {
|
35
|
+
margin-left: calc(
|
36
|
+
(100% - #{$nav-width + $content-width}) / 2 + #{$nav-width}
|
37
|
+
);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.main-content-wrap {
|
42
|
+
@include container;
|
43
|
+
padding-top: $gutter-spacing-sm;
|
44
|
+
padding-bottom: $gutter-spacing-sm;
|
45
|
+
|
46
|
+
@include mq(md) {
|
47
|
+
padding-top: $gutter-spacing;
|
48
|
+
padding-bottom: $gutter-spacing;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.main-header {
|
53
|
+
z-index: 0;
|
54
|
+
display: none;
|
55
|
+
background-color: $sidebar-color;
|
56
|
+
|
57
|
+
@include mq(md) {
|
58
|
+
display: flex;
|
59
|
+
justify-content: space-between;
|
60
|
+
height: $header-height;
|
61
|
+
background-color: $body-background-color;
|
62
|
+
border-bottom: $border $border-color;
|
63
|
+
}
|
64
|
+
|
65
|
+
&.nav-open {
|
66
|
+
display: block;
|
67
|
+
|
68
|
+
@include mq(md) {
|
69
|
+
display: flex;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.site-nav,
|
75
|
+
.site-header,
|
76
|
+
.site-footer {
|
77
|
+
width: 100%;
|
78
|
+
|
79
|
+
@include mq(lg) {
|
80
|
+
width: $nav-width;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.site-nav {
|
85
|
+
display: none;
|
86
|
+
|
87
|
+
&.nav-open {
|
88
|
+
display: block;
|
89
|
+
}
|
90
|
+
|
91
|
+
@include mq(md) {
|
92
|
+
display: block;
|
93
|
+
padding-top: $sp-8;
|
94
|
+
padding-bottom: $gutter-spacing-sm;
|
95
|
+
overflow-y: auto;
|
96
|
+
flex: 1 1 auto;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.site-header {
|
101
|
+
display: flex;
|
102
|
+
min-height: $header-height;
|
103
|
+
align-items: center;
|
104
|
+
|
105
|
+
@include mq(md) {
|
106
|
+
height: $header-height;
|
107
|
+
max-height: $header-height;
|
108
|
+
border-bottom: $border $border-color;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
.site-title {
|
113
|
+
@include container;
|
114
|
+
flex-grow: 1;
|
115
|
+
display: flex;
|
116
|
+
height: 100%;
|
117
|
+
align-items: center;
|
118
|
+
padding-top: $sp-3;
|
119
|
+
padding-bottom: $sp-3;
|
120
|
+
color: $body-heading-color;
|
121
|
+
@include fs-6;
|
122
|
+
|
123
|
+
@include mq(md) {
|
124
|
+
padding-top: $sp-2;
|
125
|
+
padding-bottom: $sp-2;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
@if variable-exists(logo) {
|
130
|
+
.site-logo {
|
131
|
+
width: 100%;
|
132
|
+
height: 100%;
|
133
|
+
background-image: url($logo);
|
134
|
+
background-repeat: no-repeat;
|
135
|
+
background-position: left center;
|
136
|
+
background-size: contain;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
.site-button {
|
141
|
+
display: flex;
|
142
|
+
height: 100%;
|
143
|
+
padding: $gutter-spacing-sm;
|
144
|
+
align-items: center;
|
145
|
+
}
|
146
|
+
|
147
|
+
@include mq(md) {
|
148
|
+
.site-header .site-button {
|
149
|
+
display: none;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
.site-title:hover {
|
154
|
+
background-image: linear-gradient(
|
155
|
+
-90deg,
|
156
|
+
rgba($feedback-color, 1) 0%,
|
157
|
+
rgba($feedback-color, 0.8) 80%,
|
158
|
+
rgba($feedback-color, 0) 100%
|
159
|
+
);
|
160
|
+
}
|
161
|
+
|
162
|
+
.site-button:hover {
|
163
|
+
background-image: linear-gradient(
|
164
|
+
-90deg,
|
165
|
+
rgba($feedback-color, 1) 0%,
|
166
|
+
rgba($feedback-color, 0.8) 100%
|
167
|
+
);
|
168
|
+
}
|
169
|
+
|
170
|
+
// stylelint-disable selector-max-type
|
171
|
+
|
172
|
+
body {
|
173
|
+
position: relative;
|
174
|
+
padding-bottom: $sp-10;
|
175
|
+
overflow-y: scroll;
|
176
|
+
|
177
|
+
@include mq(md) {
|
178
|
+
position: static;
|
179
|
+
padding-bottom: 0;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
// stylelint-enable selector-max-type
|
184
|
+
|
185
|
+
.site-footer {
|
186
|
+
@include container;
|
187
|
+
position: absolute;
|
188
|
+
bottom: 0;
|
189
|
+
left: 0;
|
190
|
+
padding-top: $sp-4;
|
191
|
+
padding-bottom: $sp-4;
|
192
|
+
color: $grey-dk-000;
|
193
|
+
@include fs-2;
|
194
|
+
|
195
|
+
@include mq(md) {
|
196
|
+
position: static;
|
197
|
+
justify-self: end;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
.icon {
|
202
|
+
width: $sp-5;
|
203
|
+
height: $sp-5;
|
204
|
+
color: $link-color;
|
205
|
+
}
|
data/_sass/modules.scss
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
//
|
2
|
+
// Import external dependencies
|
3
|
+
//
|
4
|
+
@import "./vendor/normalize.scss/normalize.scss";
|
5
|
+
|
6
|
+
//
|
7
|
+
// Modules
|
8
|
+
//
|
9
|
+
@import "./base";
|
10
|
+
@import "./layout";
|
11
|
+
@import "./content";
|
12
|
+
@import "./navigation";
|
13
|
+
@import "./typography";
|
14
|
+
@import "./labels";
|
15
|
+
@import "./buttons";
|
16
|
+
@import "./search";
|
17
|
+
@import "./tables";
|
18
|
+
@import "./code";
|
19
|
+
@import "./utilities/utilities";
|
20
|
+
@import "./print";
|
@@ -0,0 +1,219 @@
|
|
1
|
+
//
|
2
|
+
// Main nav, breadcrumb, etc...
|
3
|
+
//
|
4
|
+
// stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type, selector-max-specificity
|
5
|
+
|
6
|
+
.nav-list {
|
7
|
+
padding: 0;
|
8
|
+
margin-top: 0;
|
9
|
+
margin-bottom: 0;
|
10
|
+
list-style: none;
|
11
|
+
|
12
|
+
.nav-list-item {
|
13
|
+
@include fs-4;
|
14
|
+
position: relative;
|
15
|
+
margin: 0;
|
16
|
+
|
17
|
+
@include mq(md) {
|
18
|
+
@include fs-3;
|
19
|
+
}
|
20
|
+
|
21
|
+
.nav-list-link {
|
22
|
+
display: block;
|
23
|
+
min-height: $nav-list-item-height-sm;
|
24
|
+
padding-top: $sp-1;
|
25
|
+
padding-bottom: $sp-1;
|
26
|
+
line-height: #{$nav-list-item-height-sm - 2 * $sp-1};
|
27
|
+
@if $nav-list-expander-right {
|
28
|
+
padding-right: $nav-list-item-height-sm;
|
29
|
+
padding-left: $gutter-spacing-sm;
|
30
|
+
} @else {
|
31
|
+
padding-right: $gutter-spacing-sm;
|
32
|
+
padding-left: $nav-list-item-height-sm;
|
33
|
+
}
|
34
|
+
|
35
|
+
@include mq(md) {
|
36
|
+
min-height: $nav-list-item-height;
|
37
|
+
line-height: #{$nav-list-item-height - 2 * $sp-1};
|
38
|
+
@if $nav-list-expander-right {
|
39
|
+
padding-right: $nav-list-item-height;
|
40
|
+
padding-left: $gutter-spacing;
|
41
|
+
} @else {
|
42
|
+
padding-right: $gutter-spacing;
|
43
|
+
padding-left: $nav-list-item-height;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
&.active {
|
48
|
+
font-weight: 600;
|
49
|
+
text-decoration: none;
|
50
|
+
}
|
51
|
+
|
52
|
+
&:hover,
|
53
|
+
&.active {
|
54
|
+
background-image: linear-gradient(
|
55
|
+
-90deg,
|
56
|
+
rgba($feedback-color, 1) 0%,
|
57
|
+
rgba($feedback-color, 0.8) 80%,
|
58
|
+
rgba($feedback-color, 0) 100%
|
59
|
+
);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.nav-list-expander {
|
64
|
+
position: absolute;
|
65
|
+
@if $nav-list-expander-right {
|
66
|
+
right: 0;
|
67
|
+
}
|
68
|
+
width: $nav-list-item-height-sm;
|
69
|
+
height: $nav-list-item-height-sm;
|
70
|
+
padding-top: #{$nav-list-item-height-sm / 4};
|
71
|
+
padding-right: #{$nav-list-item-height-sm / 4};
|
72
|
+
padding-bottom: #{$nav-list-item-height-sm / 4};
|
73
|
+
padding-left: #{$nav-list-item-height-sm / 4};
|
74
|
+
color: $link-color;
|
75
|
+
|
76
|
+
@include mq(md) {
|
77
|
+
width: $nav-list-item-height;
|
78
|
+
height: $nav-list-item-height;
|
79
|
+
padding-top: #{$nav-list-item-height / 4};
|
80
|
+
padding-right: #{$nav-list-item-height / 4};
|
81
|
+
padding-bottom: #{$nav-list-item-height / 4};
|
82
|
+
padding-left: #{$nav-list-item-height / 4};
|
83
|
+
}
|
84
|
+
|
85
|
+
&:hover {
|
86
|
+
background-image: linear-gradient(
|
87
|
+
-90deg,
|
88
|
+
rgba($feedback-color, 1) 0%,
|
89
|
+
rgba($feedback-color, 0.8) 100%
|
90
|
+
);
|
91
|
+
}
|
92
|
+
|
93
|
+
@if $nav-list-expander-right {
|
94
|
+
svg {
|
95
|
+
transform: rotate(90deg);
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
> .nav-list {
|
101
|
+
display: none;
|
102
|
+
padding-left: $sp-3;
|
103
|
+
list-style: none;
|
104
|
+
|
105
|
+
.nav-list-item {
|
106
|
+
position: relative;
|
107
|
+
|
108
|
+
.nav-list-link {
|
109
|
+
color: $nav-child-link-color;
|
110
|
+
}
|
111
|
+
|
112
|
+
.nav-list-expander {
|
113
|
+
color: $nav-child-link-color;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
&.active {
|
119
|
+
> .nav-list-expander svg {
|
120
|
+
@if $nav-list-expander-right {
|
121
|
+
transform: rotate(-90deg);
|
122
|
+
} @else {
|
123
|
+
transform: rotate(90deg);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
> .nav-list {
|
128
|
+
display: block;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
.nav-category {
|
135
|
+
padding-top: $sp-2;
|
136
|
+
padding-right: $gutter-spacing-sm;
|
137
|
+
padding-bottom: $sp-2;
|
138
|
+
padding-left: $gutter-spacing-sm;
|
139
|
+
font-weight: 600;
|
140
|
+
text-align: end;
|
141
|
+
text-transform: uppercase;
|
142
|
+
border-bottom: $border $border-color;
|
143
|
+
@include fs-2;
|
144
|
+
|
145
|
+
@include mq(md) {
|
146
|
+
padding-right: $gutter-spacing;
|
147
|
+
padding-left: $gutter-spacing;
|
148
|
+
margin-top: $gutter-spacing-sm;
|
149
|
+
text-align: start;
|
150
|
+
|
151
|
+
&:first-child {
|
152
|
+
margin-top: 0;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
// Aux nav
|
158
|
+
|
159
|
+
.aux-nav {
|
160
|
+
height: 100%;
|
161
|
+
overflow-x: auto;
|
162
|
+
@include fs-2;
|
163
|
+
|
164
|
+
.aux-nav-list {
|
165
|
+
display: flex;
|
166
|
+
height: 100%;
|
167
|
+
padding: 0;
|
168
|
+
margin: 0;
|
169
|
+
list-style: none;
|
170
|
+
}
|
171
|
+
|
172
|
+
.aux-nav-list-item {
|
173
|
+
display: inline-block;
|
174
|
+
height: 100%;
|
175
|
+
padding: 0;
|
176
|
+
margin: 0;
|
177
|
+
}
|
178
|
+
|
179
|
+
@include mq(md) {
|
180
|
+
padding-right: $gutter-spacing-sm;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
// Breadcrumb nav
|
185
|
+
|
186
|
+
.breadcrumb-nav {
|
187
|
+
@include mq(md) {
|
188
|
+
margin-top: -$sp-4;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
.breadcrumb-nav-list {
|
193
|
+
padding-left: 0;
|
194
|
+
margin-bottom: $sp-3;
|
195
|
+
list-style: none;
|
196
|
+
}
|
197
|
+
|
198
|
+
.breadcrumb-nav-list-item {
|
199
|
+
display: table-cell;
|
200
|
+
@include fs-2;
|
201
|
+
|
202
|
+
&::before {
|
203
|
+
display: none;
|
204
|
+
}
|
205
|
+
|
206
|
+
&::after {
|
207
|
+
display: inline-block;
|
208
|
+
margin-right: $sp-2;
|
209
|
+
margin-left: $sp-2;
|
210
|
+
color: $grey-dk-000;
|
211
|
+
content: "/";
|
212
|
+
}
|
213
|
+
|
214
|
+
&:last-child {
|
215
|
+
&::after {
|
216
|
+
content: "";
|
217
|
+
}
|
218
|
+
}
|
219
|
+
}
|