@nordcode/ui 2.2.1 → 2.2.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.
Files changed (73) hide show
  1. package/CHANGELOG.md +60 -54
  2. package/package.json +79 -79
  3. package/src/assets/icons/ArrowRightSolid.svelte +0 -0
  4. package/src/assets/icons/arrow-right-solid.svg +0 -0
  5. package/src/styles/utils/theme.css +1 -1
  6. package/.idea/copilot.data.migration.agent.xml +0 -6
  7. package/.idea/copilot.data.migration.ask.xml +0 -6
  8. package/.idea/copilot.data.migration.ask2agent.xml +0 -6
  9. package/.idea/copilot.data.migration.edit.xml +0 -6
  10. package/.idea/modules.xml +0 -8
  11. package/.idea/ui.iml +0 -9
  12. package/.idea/vcs.xml +0 -6
  13. package/out/bundle.css +0 -1469
  14. package/out/bundle_configless.css +0 -1253
  15. package/out/colors.css +0 -82
  16. package/out/complete.css +0 -2871
  17. package/out/complete_configless.css +0 -2655
  18. package/out/src/assets/fonts/DMMono-Regular.woff +0 -0
  19. package/out/src/assets/fonts/DMMono-Regular.woff2 +0 -0
  20. package/out/src/assets/fonts/fonts.css +0 -7
  21. package/out/src/assets/icons/ArrowRightSolid.svelte +0 -1
  22. package/out/src/assets/icons/arrow-right-solid.svg +0 -1
  23. package/out/src/assets/icons/favicon.png +0 -0
  24. package/out/src/assets/icons/favicon.svg +0 -8
  25. package/out/src/assets/logos/nordcode-logo-icon.svg +0 -3
  26. package/out/src/assets/logos/nordcode-logo.svg +0 -17
  27. package/out/src/modules/copyButtons/ts/copyButtons.ts +0 -9
  28. package/out/src/modules/dialogs/svelte/dialog.svelte +0 -27
  29. package/out/src/modules/dialogs/ts/LICENCE +0 -171
  30. package/out/src/modules/dialogs/ts/dialogs.ts +0 -111
  31. package/out/src/modules/notifications/js/notifications.js +0 -294
  32. package/out/src/modules/notifications/svelte/NotificationCenter.svelte +0 -18
  33. package/out/src/modules/notifications/svelte/NotificationTemplate.svelte +0 -16
  34. package/out/src/modules/sectionObserver/ts/sectionOberserver.ts +0 -34
  35. package/out/src/styles/bundle.css +0 -7
  36. package/out/src/styles/bundle_configless.css +0 -5
  37. package/out/src/styles/complete.css +0 -5
  38. package/out/src/styles/complete_configless.css +0 -5
  39. package/out/src/styles/components/alerts.css +0 -20
  40. package/out/src/styles/components/badges.css +0 -14
  41. package/out/src/styles/components/breadcrumbs.css +0 -37
  42. package/out/src/styles/components/bundle.css +0 -13
  43. package/out/src/styles/components/buttons.css +0 -260
  44. package/out/src/styles/components/card.css +0 -55
  45. package/out/src/styles/components/dialogs.css +0 -138
  46. package/out/src/styles/components/forms.css +0 -41
  47. package/out/src/styles/components/gallery.css +0 -66
  48. package/out/src/styles/components/icons.css +0 -60
  49. package/out/src/styles/components/inputs/base.css +0 -249
  50. package/out/src/styles/components/inputs/bundle.css +0 -5
  51. package/out/src/styles/components/inputs/fields.css +0 -76
  52. package/out/src/styles/components/inputs/segmented.css +0 -114
  53. package/out/src/styles/components/inputs/switch.css +0 -42
  54. package/out/src/styles/components/inputs/tag-select.css +0 -41
  55. package/out/src/styles/components/lists.css +0 -40
  56. package/out/src/styles/components/notifications.css +0 -135
  57. package/out/src/styles/components/tables.css +0 -7
  58. package/out/src/styles/config/bundle.css +0 -2
  59. package/out/src/styles/config/config.css +0 -700
  60. package/out/src/styles/config/extras.css +0 -12
  61. package/out/src/styles/exceptions/bundle.css +0 -3
  62. package/out/src/styles/exceptions/misc.css +0 -21
  63. package/out/src/styles/exceptions/spacings.css +0 -15
  64. package/out/src/styles/exceptions/typography.css +0 -57
  65. package/out/src/styles/theme/colors.css +0 -165
  66. package/out/src/styles/theme/colors_processed.css +0 -87
  67. package/out/src/styles/utils/base.css +0 -415
  68. package/out/src/styles/utils/bundle.css +0 -6
  69. package/out/src/styles/utils/easings.css +0 -364
  70. package/out/src/styles/utils/layouts.css +0 -281
  71. package/out/src/styles/utils/media.css +0 -55
  72. package/out/src/styles/utils/reset.css +0 -145
  73. package/out/src/styles/utils/theme.css +0 -125
@@ -1,364 +0,0 @@
1
- @layer config.easings {
2
- :where(html) {
3
- --ease-1: cubic-bezier(0.25, 0, 0.5, 1);
4
- --ease-2: cubic-bezier(0.25, 0, 0.4, 1);
5
- --ease-3: cubic-bezier(0.25, 0, 0.3, 1);
6
- --ease-4: cubic-bezier(0.25, 0, 0.2, 1);
7
- --ease-5: cubic-bezier(0.25, 0, 0.1, 1);
8
- --ease-in-1: cubic-bezier(0.25, 0, 1, 1);
9
- --ease-in-2: cubic-bezier(0.5, 0, 1, 1);
10
- --ease-in-3: cubic-bezier(0.7, 0, 1, 1);
11
- --ease-in-4: cubic-bezier(0.9, 0, 1, 1);
12
- --ease-in-5: cubic-bezier(1, 0, 1, 1);
13
- --ease-out-1: cubic-bezier(0, 0, 0.75, 1);
14
- --ease-out-2: cubic-bezier(0, 0, 0.5, 1);
15
- --ease-out-3: cubic-bezier(0, 0, 0.3, 1);
16
- --ease-out-4: cubic-bezier(0, 0, 0.1, 1);
17
- --ease-out-5: cubic-bezier(0, 0, 0, 1);
18
- --ease-in-out-1: cubic-bezier(0.1, 0, 0.9, 1);
19
- --ease-in-out-2: cubic-bezier(0.3, 0, 0.7, 1);
20
- --ease-in-out-3: cubic-bezier(0.5, 0, 0.5, 1);
21
- --ease-in-out-4: cubic-bezier(0.7, 0, 0.3, 1);
22
- --ease-in-out-5: cubic-bezier(0.9, 0, 0.1, 1);
23
- --ease-elastic-out-1: cubic-bezier(0.5, 0.75, 0.75, 1.25);
24
- --ease-elastic-out-2: cubic-bezier(0.5, 1, 0.75, 1.25);
25
- --ease-elastic-out-3: cubic-bezier(0.5, 1.25, 0.75, 1.25);
26
- --ease-elastic-out-4: cubic-bezier(0.5, 1.5, 0.75, 1.25);
27
- --ease-elastic-out-5: cubic-bezier(0.5, 1.75, 0.75, 1.25);
28
- --ease-elastic-in-1: cubic-bezier(0.5, -0.25, 0.75, 1);
29
- --ease-elastic-in-2: cubic-bezier(0.5, -0.5, 0.75, 1);
30
- --ease-elastic-in-3: cubic-bezier(0.5, -0.75, 0.75, 1);
31
- --ease-elastic-in-4: cubic-bezier(0.5, -1, 0.75, 1);
32
- --ease-elastic-in-5: cubic-bezier(0.5, -1.25, 0.75, 1);
33
- --ease-elastic-in-out-1: cubic-bezier(0.5, -0.1, 0.1, 1.5);
34
- --ease-elastic-in-out-2: cubic-bezier(0.5, -0.3, 0.1, 1.5);
35
- --ease-elastic-in-out-3: cubic-bezier(0.5, -0.5, 0.1, 1.5);
36
- --ease-elastic-in-out-4: cubic-bezier(0.5, -0.7, 0.1, 1.5);
37
- --ease-elastic-in-out-5: cubic-bezier(0.5, -0.9, 0.1, 1.5);
38
- --ease-step-1: steps(2);
39
- --ease-step-2: steps(3);
40
- --ease-step-3: steps(4);
41
- --ease-step-4: steps(7);
42
- --ease-step-5: steps(10);
43
- --ease-elastic-1: var(--ease-elastic-out-1);
44
- --ease-elastic-2: var(--ease-elastic-out-2);
45
- --ease-elastic-3: var(--ease-elastic-out-3);
46
- --ease-elastic-4: var(--ease-elastic-out-4);
47
- --ease-elastic-5: var(--ease-elastic-out-5);
48
- --ease-squish-1: var(--ease-elastic-in-out-1);
49
- --ease-squish-2: var(--ease-elastic-in-out-2);
50
- --ease-squish-3: var(--ease-elastic-in-out-3);
51
- --ease-squish-4: var(--ease-elastic-in-out-4);
52
- --ease-squish-5: var(--ease-elastic-in-out-5);
53
- --ease-spring-1: linear(0,
54
- 0.006,
55
- 0.025 2.8%,
56
- 0.101 6.1%,
57
- 0.539 18.9%,
58
- 0.721 25.3%,
59
- 0.849 31.5%,
60
- 0.937 38.1%,
61
- 0.968 41.8%,
62
- 0.991 45.7%,
63
- 1.006 50.1%,
64
- 1.015 55%,
65
- 1.017 63.9%,
66
- 1.001);
67
- --ease-spring-2: linear(0,
68
- 0.007,
69
- 0.029 2.2%,
70
- 0.118 4.7%,
71
- 0.625 14.4%,
72
- 0.826 19%,
73
- 0.902,
74
- 0.962,
75
- 1.008 26.1%,
76
- 1.041 28.7%,
77
- 1.064 32.1%,
78
- 1.07 36%,
79
- 1.061 40.5%,
80
- 1.015 53.4%,
81
- 0.999 61.6%,
82
- 0.995 71.2%,
83
- 1);
84
- --ease-spring-3: linear(0,
85
- 0.009,
86
- 0.035 2.1%,
87
- 0.141 4.4%,
88
- 0.723 12.9%,
89
- 0.938 16.7%,
90
- 1.017,
91
- 1.077,
92
- 1.121,
93
- 1.149 24.3%,
94
- 1.159,
95
- 1.163,
96
- 1.161,
97
- 1.154 29.9%,
98
- 1.129 32.8%,
99
- 1.051 39.6%,
100
- 1.017 43.1%,
101
- 0.991,
102
- 0.977 51%,
103
- 0.974 53.8%,
104
- 0.975 57.1%,
105
- 0.997 69.8%,
106
- 1.003 76.9%,
107
- 1);
108
- --ease-spring-4: linear(0,
109
- 0.009,
110
- 0.037 1.7%,
111
- 0.153 3.6%,
112
- 0.776 10.3%,
113
- 1.001,
114
- 1.142 16%,
115
- 1.185,
116
- 1.209 19%,
117
- 1.215 19.9% 20.8%,
118
- 1.199,
119
- 1.165 25%,
120
- 1.056 30.3%,
121
- 1.008 33%,
122
- 0.973,
123
- 0.955 39.2%,
124
- 0.953 41.1%,
125
- 0.957 43.3%,
126
- 0.998 53.3%,
127
- 1.009 59.1% 63.7%,
128
- 0.998 78.9%,
129
- 1);
130
- --ease-spring-5: linear(0,
131
- 0.01,
132
- 0.04 1.6%,
133
- 0.161 3.3%,
134
- 0.816 9.4%,
135
- 1.046,
136
- 1.189 14.4%,
137
- 1.231,
138
- 1.254 17%,
139
- 1.259,
140
- 1.257 18.6%,
141
- 1.236,
142
- 1.194 22.3%,
143
- 1.057 27%,
144
- 0.999 29.4%,
145
- 0.955 32.1%,
146
- 0.942,
147
- 0.935 34.9%,
148
- 0.933,
149
- 0.939 38.4%,
150
- 1 47.3%,
151
- 1.011,
152
- 1.017 52.6%,
153
- 1.016 56.4%,
154
- 1 65.2%,
155
- 0.996 70.2%,
156
- 1.001 87.2%,
157
- 1);
158
- --ease-bounce-1: linear(0,
159
- 0.004,
160
- 0.016,
161
- 0.035,
162
- 0.063,
163
- 0.098,
164
- 0.141,
165
- 0.191,
166
- 0.25,
167
- 0.316,
168
- 0.391 36.8%,
169
- 0.563,
170
- 0.766,
171
- 1 58.8%,
172
- 0.946,
173
- 0.908 69.1%,
174
- 0.895,
175
- 0.885,
176
- 0.879,
177
- 0.878,
178
- 0.879,
179
- 0.885,
180
- 0.895,
181
- 0.908 89.7%,
182
- 0.946,
183
- 1);
184
- --ease-bounce-2: linear(0,
185
- 0.004,
186
- 0.016,
187
- 0.035,
188
- 0.063,
189
- 0.098,
190
- 0.141 15.1%,
191
- 0.25,
192
- 0.391,
193
- 0.562,
194
- 0.765,
195
- 1,
196
- 0.892 45.2%,
197
- 0.849,
198
- 0.815,
199
- 0.788,
200
- 0.769,
201
- 0.757,
202
- 0.753,
203
- 0.757,
204
- 0.769,
205
- 0.788,
206
- 0.815,
207
- 0.85,
208
- 0.892 75.2%,
209
- 1 80.2%,
210
- 0.973,
211
- 0.954,
212
- 0.943,
213
- 0.939,
214
- 0.943,
215
- 0.954,
216
- 0.973,
217
- 1);
218
- --ease-bounce-3: linear(0,
219
- 0.004,
220
- 0.016,
221
- 0.035,
222
- 0.062,
223
- 0.098,
224
- 0.141 11.4%,
225
- 0.25,
226
- 0.39,
227
- 0.562,
228
- 0.764,
229
- 1 30.3%,
230
- 0.847 34.8%,
231
- 0.787,
232
- 0.737,
233
- 0.699,
234
- 0.672,
235
- 0.655,
236
- 0.65,
237
- 0.656,
238
- 0.672,
239
- 0.699,
240
- 0.738,
241
- 0.787,
242
- 0.847 61.7%,
243
- 1 66.2%,
244
- 0.946,
245
- 0.908,
246
- 0.885 74.2%,
247
- 0.879,
248
- 0.878,
249
- 0.879,
250
- 0.885 79.5%,
251
- 0.908,
252
- 0.946,
253
- 1 87.4%,
254
- 0.981,
255
- 0.968,
256
- 0.96,
257
- 0.957,
258
- 0.96,
259
- 0.968,
260
- 0.981,
261
- 1);
262
- --ease-bounce-4: linear(0,
263
- 0.004,
264
- 0.016 3%,
265
- 0.062,
266
- 0.141,
267
- 0.25,
268
- 0.391,
269
- 0.562 18.2%,
270
- 1 24.3%,
271
- 0.81,
272
- 0.676 32.3%,
273
- 0.629,
274
- 0.595,
275
- 0.575,
276
- 0.568,
277
- 0.575,
278
- 0.595,
279
- 0.629,
280
- 0.676 48.2%,
281
- 0.811,
282
- 1 56.2%,
283
- 0.918,
284
- 0.86,
285
- 0.825,
286
- 0.814,
287
- 0.825,
288
- 0.86,
289
- 0.918,
290
- 1 77.2%,
291
- 0.94 80.6%,
292
- 0.925,
293
- 0.92,
294
- 0.925,
295
- 0.94 87.5%,
296
- 1 90.9%,
297
- 0.974,
298
- 0.965,
299
- 0.974,
300
- 1);
301
- --ease-bounce-5: linear(0,
302
- 0.004,
303
- 0.016 2.5%,
304
- 0.063,
305
- 0.141,
306
- 0.25 10.1%,
307
- 0.562,
308
- 1 20.2%,
309
- 0.783,
310
- 0.627,
311
- 0.534 30.9%,
312
- 0.511,
313
- 0.503,
314
- 0.511,
315
- 0.534 38%,
316
- 0.627,
317
- 0.782,
318
- 1 48.7%,
319
- 0.892,
320
- 0.815,
321
- 0.769 56.3%,
322
- 0.757,
323
- 0.753,
324
- 0.757,
325
- 0.769 61.3%,
326
- 0.815,
327
- 0.892,
328
- 1 68.8%,
329
- 0.908 72.4%,
330
- 0.885,
331
- 0.878,
332
- 0.885,
333
- 0.908 79.4%,
334
- 1 83%,
335
- 0.954 85.5%,
336
- 0.943,
337
- 0.939,
338
- 0.943,
339
- 0.954 90.5%,
340
- 1 93%,
341
- 0.977,
342
- 0.97,
343
- 0.977,
344
- 1);
345
-
346
- --transition-duration-instant: 0ms;
347
- --transition-duration-short: 100ms;
348
- --transition-duration-base: 200ms;
349
- --transition-duration-long: 300ms;
350
- --transition-duration-entry: 0s;
351
- --transition-duration-exit: 0s;
352
-
353
- --transition-target-scale: 0.9;
354
-
355
- @media (--motionNotOK) {
356
- --transition-duration-instant: 0ms;
357
- --transition-duration-short: 0ms;
358
- --transition-duration-base: 0ms;
359
- --transition-duration-long: 0ms;
360
- --transition-duration-entry: 0s;
361
- --transition-duration-exit: 0s;
362
- }
363
- }
364
- }
@@ -1,281 +0,0 @@
1
- @layer utils {
2
-
3
- /* Layout classes that handle 80% of the layout*/
4
- :where(.nc-box) {
5
- padding: var(--spacing-base);
6
-
7
- &.-bordered {
8
- border: var(--border-width-thin) solid var(--border, var(--color-border-base));
9
- border-radius: var(--border-radius-medium);
10
- }
11
-
12
- &.-tiny {
13
- padding: var(--spacing-tiny);
14
- }
15
-
16
- &.-nearest {
17
- padding: var(--spacing-nearest);
18
- }
19
-
20
- &.-near {
21
- padding: var(--spacing-near);
22
- }
23
-
24
- &.-base {
25
- padding: var(--spacing-base);
26
- }
27
-
28
- &.-far {
29
- padding: var(--spacing-far);
30
- }
31
-
32
- &.-farthest {
33
- padding: var(--spacing-farthest);
34
- }
35
- }
36
-
37
- :where(.nc-stack) {
38
- display: flex;
39
- flex-direction: column;
40
- gap: var(--spacing-base);
41
- align-items: flex-start;
42
-
43
- &.-stretched {
44
- inline-size: 100%;
45
-
46
- &>* {
47
- inline-size: 100%;
48
- }
49
- }
50
-
51
- &.-contained>* {
52
- max-inline-size: 100%;
53
- }
54
- }
55
-
56
- :where(.nc-flow) {
57
- >*+* {
58
- margin-block-start: var(--flow-gap, 1lh);
59
- }
60
-
61
- >* {
62
- max-inline-size: var(--flow-base-meassure, 72ch);
63
- }
64
-
65
- >*:is(h1, h2, h3, h4, h5, h6) {
66
- max-inline-size: var(--flow-headline-meassure, 32ch);
67
- --flow-gap: 1.5lh;
68
- }
69
-
70
- >*:is(h1, h2, h3, h4, h5, h6)+ :not([class]) {
71
- --flow-gap: 0.5lh;
72
- }
73
-
74
- >figure {
75
- margin-inline: 0;
76
- }
77
-
78
- .breakAfter {
79
- margin-block-end: auto;
80
- }
81
- }
82
-
83
- /**
84
- * Center your content.
85
- * Can be used as a layout wrapper.
86
- */
87
- :where(.nc-center) {
88
- box-sizing: content-box;
89
- margin-inline: auto;
90
- max-inline-size: var(--center-measure, max-content);
91
- padding-inline: var(--center-padding, 0);
92
- position: relative;
93
- }
94
-
95
- /**
96
- A consistently spaced section to bring some white space to your blocks.
97
- */
98
- :where(.nc-region) {
99
- padding-block: var(--region-space, var(--spacing-farthest));
100
- }
101
-
102
- :where(.nc-cluster) {
103
- display: flex;
104
- flex-direction: row;
105
- flex-wrap: wrap;
106
- gap: var(--spacing-base);
107
- align-items: flex-start;
108
-
109
- &.-centered {
110
- align-items: center;
111
- }
112
-
113
- &.-nowrap {
114
- flex-wrap: nowrap;
115
- }
116
-
117
- &.-between {
118
- justify-content: space-between;
119
- }
120
- }
121
-
122
- :where(.nc-with-sidebar) {
123
- inline-size: 100%;
124
- display: flex;
125
- flex-wrap: wrap;
126
- align-items: flex-start;
127
- gap: var(--with-sidebar-gap, var(--spacing-far));
128
-
129
- &>[data-aside] {
130
- flex-grow: 1;
131
- min-width: min-content;
132
- flex-basis: var(--with-sidebar-target-width, 20rem);
133
- }
134
-
135
- &>[data-grow] {
136
- flex-basis: 0;
137
- flex-grow: 999;
138
- min-width: var(--with-sidebar-min-size, 50%);
139
- }
140
-
141
- &[data-direction="rtl"] {
142
- flex-direction: row-reverse;
143
- }
144
-
145
- &.-centered {
146
- align-items: center;
147
- }
148
- }
149
-
150
- /* AUTO GRID
151
- Related Every Layout: https://every-layout.dev/layouts/grid/
152
- More info on the flexible nature: https://piccalil.li/tutorial/create-a-responsive-grid-layout-with-no-media-queries-using-css-grid/
153
- A flexible layout that will create an auto-fill grid with
154
- configurable grid item sizes
155
-
156
- CUSTOM PROPERTIES AND CONFIGURATION
157
- --gutter (var(--space-s-m)): This defines the space
158
- between each item.
159
-
160
- --grid-min-item-size (14rem): How large each item should be
161
- ideally, as a minimum.
162
-
163
- --grid-placement (auto-fill): Set either auto-fit or auto-fill
164
- to change how empty grid tracks are handled
165
- */
166
- :where(.nc-grid) {
167
- display: grid;
168
- grid-template-columns: repeat(var(--grid-placement, auto-fill),
169
- minmax(var(--grid-min-item-size, 16rem), 1fr));
170
- gap: var(--grid-gap, var(--spacing-base));
171
-
172
- /* A split 50/50 layout */
173
-
174
- &[data-layout="50-50"] {
175
- --grid-placement: auto-fit;
176
- --grid-min-item-size: clamp(16rem, 50vw, 33rem);
177
- }
178
-
179
- /* Three column grid layout */
180
-
181
- &[data-layout="thirds"] {
182
- --grid-placement: auto-fit;
183
- --grid-min-item-size: clamp(16rem, 33%, 20rem);
184
- }
185
- }
186
-
187
- /*
188
- SWITCHER
189
- More info: https://every-layout.dev/layouts/switcher/
190
- A layout that allows you to lay **3** items next to each other
191
- until there is not enough horizontal space to allow that.
192
-
193
- CUSTOM PROPERTIES AND CONFIGURATION
194
- --gutter (var(--space-size-1)): This defines the space
195
- between each item
196
-
197
- --switcher-target-container-width (40rem): How large the container
198
- needs to be to allow items to sit inline with each other
199
-
200
- --switcher-vertical-alignment How items should align vertically.
201
- Can be any acceptable flexbox alignment value.
202
- */
203
- :where(.nc-switcher) {
204
- display: flex;
205
- flex-wrap: wrap;
206
- gap: var(--switcher-gap, var(--spacing-base));
207
- align-items: var(--switcher-vertical-alignment, flex-start);
208
-
209
- &>* {
210
- flex-grow: 1;
211
- flex-basis: calc((var(--switcher-target-container-width, 40rem) - 100%) * 999);
212
- }
213
-
214
- /* Max 2 items,
215
- so anything greater than 2 is ful width */
216
-
217
- &> :nth-child(n + 4) {
218
- flex-basis: 100%;
219
- }
220
- }
221
-
222
- /* PILE
223
- * Pile items on top of each other Prefer this over position absolute.
224
- */
225
- :where(.nc-pile) {
226
- display: grid;
227
- place-items: center;
228
- grid: [pile] 1fr / [pile] 1fr;
229
-
230
- &>* {
231
- grid-area: pile;
232
- }
233
- }
234
-
235
- :where(.nc-ram-grid) {
236
- --_nc-ram-grid-gap-row: var(--nc-ram-grid-gap-row, var(--_nc-ram-grid-gap));
237
- --_nc-ram-grid-gap-column: var(--nc-ram-grid-gap-column, var(--_nc-ram-grid-gap));
238
- --_nc-ram-grid-gap: var(--nc-ram-grid-gap, var(--spacing-near));
239
- --_nc-ram-grid-min-width: var(--nc-ram-grid-min-width, 150px);
240
- --_nc-ram-grid-repeat-count: var(--nc-ram-grid-repeat-count, auto-fit);
241
-
242
- display: grid;
243
- gap: var(--_nc-ram-grid-gap-column) var(--_nc-ram-grid-gap-row);
244
- grid-template-columns: repeat(var(--_nc-ram-grid-repeat-count),
245
- minmax(min(var(--_nc-ram-grid-min-width), 100%), 1fr));
246
- }
247
-
248
- :where(.nc-stack, .nc-cluster, .nc-with-sidebar, .nc-grid, .nc-gallery, .nc-switcher, .nc-ram-grid) {
249
- &.-inherit {
250
- gap: inherit;
251
- }
252
-
253
- &.-tiny {
254
- gap: var(--spacing-tiny);
255
- }
256
-
257
- &.-nearest {
258
- gap: var(--spacing-nearest);
259
- }
260
-
261
- &.-near {
262
- gap: var(--spacing-near);
263
- }
264
-
265
- &.-base {
266
- gap: var(--spacing-base);
267
- }
268
-
269
- &.-far {
270
- gap: var(--spacing-far);
271
- }
272
-
273
- &.-farthest {
274
- gap: var(--spacing-farthest);
275
- }
276
-
277
- &.-nogap {
278
- gap: 0;
279
- }
280
- }
281
- }
@@ -1,55 +0,0 @@
1
- @custom-media --motionOK (prefers-reduced-motion: no-preference);
2
- @custom-media --motionNotOK (prefers-reduced-motion: reduce);
3
- @custom-media --opacityOK (prefers-reduced-transparency: no-preference);
4
- @custom-media --opacityNotOK (prefers-reduced-transparency: reduce);
5
- @custom-media --useDataOK (prefers-reduced-data: no-preference);
6
- @custom-media --useDataNotOK (prefers-reduced-data: reduce);
7
-
8
- @custom-media --OSdark (prefers-color-scheme: dark);
9
- @custom-media --OSlight (prefers-color-scheme: light);
10
-
11
- @custom-media --highContrast (prefers-contrast: more);
12
- @custom-media --lowContrast (prefers-contrast: less);
13
-
14
- @custom-media --portrait (orientation: portrait);
15
- @custom-media --landscape (orientation: landscape);
16
-
17
- @custom-media --HDcolor (dynamic-range: high);
18
-
19
- @custom-media --touch (hover: none) and (pointer: coarse);
20
- @custom-media --stylus (hover: none) and (pointer: fine);
21
- @custom-media --pointer (hover) and (pointer: coarse);
22
- @custom-media --mouse (hover) and (pointer: fine);
23
-
24
- @custom-media --xxs-only (0px <= width <= 240px);
25
- @custom-media --xxs-n-above (width >= 240px);
26
- @custom-media --xxs-n-below (width <= 240px);
27
- @custom-media --xxs-phone (--xxs-only) and (--portrait);
28
-
29
- @custom-media --xs-only (240px <= width <= 360px);
30
- @custom-media --xs-n-above (width >= 360px);
31
- @custom-media --xs-n-below (width <= 360px);
32
- @custom-media --xs-phone (--xs-only) and (--portrait);
33
-
34
- @custom-media --sm-only (360px <= width <= 480px);
35
- @custom-media --sm-n-above (width >= 480px);
36
- @custom-media --sm-n-below (width <= 480px);
37
- @custom-media --sm-phone (--sm-only) and (--portrait);
38
-
39
- @custom-media --md-only (480px <= width <= 768px);
40
- @custom-media --md-n-above (width >= 768px);
41
- @custom-media --md-n-below (width <= 768px);
42
- @custom-media --md-phone (--md-only) and (--portrait);
43
-
44
- @custom-media --lg-only (768px <= width <= 1024px);
45
- @custom-media --lg-n-above (width >= 1024px);
46
- @custom-media --lg-n-below (width <= 1024px);
47
- @custom-media --lg-phone (--lg-only) and (--portrait);
48
-
49
- @custom-media --xl-only (1024px <= width <= 1440px);
50
- @custom-media --xl-n-above (width >= 1440px);
51
- @custom-media --xl-n-below (width <= 1440px);
52
-
53
- @custom-media --xxl-only (1440px <= width <= 1920px);
54
- @custom-media --xxl-n-above (width >= 1920px);
55
- @custom-media --xxl-n-below (width <= 1920px);