nk_jtb 0.13.1 → 0.13.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.
- package/package.json +1 -1
- package/src/base/_base.scss +1 -1
- package/src/components/_menu.scss +6 -5
- package/src/extras/_nk-docs.scss +19 -18
- package/src/utilities/_state.scss +12 -9
package/package.json
CHANGED
package/src/base/_base.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@use
|
|
2
|
-
@use
|
|
1
|
+
@use '../variables' as *;
|
|
2
|
+
@use '../functions/colorFunctions' as *;
|
|
3
3
|
|
|
4
4
|
.menu {
|
|
5
5
|
display: flex;
|
|
@@ -9,12 +9,13 @@
|
|
|
9
9
|
list-style: none;
|
|
10
10
|
margin-left: 0; // remove margin for ul
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
li {
|
|
13
|
+
margin: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
13
16
|
:where(a, li a, .menu-item) {
|
|
14
17
|
color: inherit;
|
|
15
18
|
padding: $menu-padding-y $menu-padding-x;
|
|
16
|
-
// this was initially set to display block but it is too difficult to
|
|
17
|
-
// work with icons and chevrons on the anchor element.
|
|
18
19
|
display: flex;
|
|
19
20
|
align-items: center;
|
|
20
21
|
|
package/src/extras/_nk-docs.scss
CHANGED
|
@@ -130,15 +130,14 @@ question {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
// make the margin between the question and the following content smaller.
|
|
133
|
-
//
|
|
133
|
+
//
|
|
134
134
|
// <p><question></question></p>
|
|
135
135
|
// <p></p>
|
|
136
|
-
//
|
|
137
|
-
p:has(question)
|
|
136
|
+
//
|
|
137
|
+
p:has(question) > p {
|
|
138
138
|
margin-block-start: 0.5rem;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
|
|
142
141
|
// removed 14-02-25 i do not think this is needed
|
|
143
142
|
// h3:has(question) + p {
|
|
144
143
|
// + ul {
|
|
@@ -206,15 +205,6 @@ p:has(question) + p {
|
|
|
206
205
|
background: red;
|
|
207
206
|
margin-top: 0.5rem !important;
|
|
208
207
|
}
|
|
209
|
-
|
|
210
|
-
// all lists on a page
|
|
211
|
-
.list-space-all {
|
|
212
|
-
~ ul li {
|
|
213
|
-
margin-top: 0.5rem;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
|
|
218
208
|
}
|
|
219
209
|
|
|
220
210
|
.mermaid > svg {
|
|
@@ -232,11 +222,6 @@ p:has(question) + p {
|
|
|
232
222
|
}
|
|
233
223
|
}
|
|
234
224
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
225
|
////
|
|
241
226
|
/// @group spacing-hacks
|
|
242
227
|
////
|
|
@@ -254,3 +239,19 @@ p:has(question) + p {
|
|
|
254
239
|
.adjacent-list-space-1 + ul li:not(:first-child) {
|
|
255
240
|
margin-block-start: 1rem;
|
|
256
241
|
}
|
|
242
|
+
|
|
243
|
+
.adjacent-list-space-05 + ul li:not(:first-child) {
|
|
244
|
+
margin-block-start: 0.5rem;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.indent-all-lists-2 ~ ul {
|
|
248
|
+
margin-inline-start: 2rem;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
// all lists on a page
|
|
253
|
+
.list-space-all-1 {
|
|
254
|
+
~ ul li {
|
|
255
|
+
margin-top: 1rem;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use '../functions/helpers' as *;
|
|
2
|
+
@use '../variables' as *;
|
|
3
|
+
@use '../mixins/media' as *;
|
|
1
4
|
|
|
2
5
|
// ==========================================================================
|
|
3
6
|
// -- DISABLED --
|
|
@@ -12,17 +15,17 @@
|
|
|
12
15
|
// -- REVIEW --
|
|
13
16
|
// ==========================================================================
|
|
14
17
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
.hover\:txt-primary:hover {
|
|
19
|
+
color: $primary;
|
|
20
|
+
}
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
.hover\:txt-secondary:hover {
|
|
23
|
+
color: $secondary;
|
|
24
|
+
}
|
|
22
25
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
.hover\:txt-white:hover {
|
|
27
|
+
color: #fff;
|
|
28
|
+
}
|
|
26
29
|
|
|
27
30
|
// .hover\:text-white:hover {
|
|
28
31
|
// --tw-text-opacity: 1;
|