@rypen-dev/shared-components 2.1.86 → 3.0.1
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/dist/index.js +1 -1
- package/package.json +4 -4
- package/scss/partials/_layout.scss +8 -8
- package/scss/vendor/_foundation-settings.scss +214 -79
- package/src/components/icons/IconApprove.vue +0 -6
- package/src/components/icons/IconCaret.vue +0 -6
- package/src/components/icons/IconClose.vue +0 -6
- package/src/components/icons/IconQrCode.vue +0 -6
- package/src/components/icons/IconSave.vue +0 -6
- package/src/components/icons/IconShare.vue +0 -6
- package/src/index.js +21 -21
|
@@ -70,9 +70,15 @@
|
|
|
70
70
|
$contrast-warnings: false;
|
|
71
71
|
|
|
72
72
|
$global-font-size: 100%;
|
|
73
|
-
$global-width: rem-calc(
|
|
73
|
+
$global-width: rem-calc(1370);
|
|
74
74
|
$global-lineheight: 1.5;
|
|
75
|
-
$foundation-palette: (
|
|
75
|
+
$foundation-palette: (
|
|
76
|
+
"primary": $primary,
|
|
77
|
+
"secondary": $secondary,
|
|
78
|
+
"success": $success,
|
|
79
|
+
"warning": $warning,
|
|
80
|
+
"alert": $alert,
|
|
81
|
+
);
|
|
76
82
|
$light-gray: $light-gray;
|
|
77
83
|
$medium-gray: $medium-gray;
|
|
78
84
|
$dark-gray: $dark-gray;
|
|
@@ -81,27 +87,43 @@ $white: $white;
|
|
|
81
87
|
$body-background: $body-bg-color;
|
|
82
88
|
$body-font-color: $body-font-color;
|
|
83
89
|
$body-font-family: $body-font-family;
|
|
90
|
+
$body-safe-padding: false;
|
|
84
91
|
$body-antialiased: true;
|
|
85
92
|
$global-margin: 1rem;
|
|
86
93
|
$global-padding: 1rem;
|
|
87
94
|
$global-position: 1rem;
|
|
88
95
|
$global-weight-normal: normal;
|
|
89
96
|
$global-weight-bold: bold;
|
|
90
|
-
$global-radius:
|
|
97
|
+
$global-radius: $global-border-radius;
|
|
91
98
|
$global-menu-padding: 0.7rem 1rem;
|
|
92
99
|
$global-menu-nested-margin: 1rem;
|
|
93
100
|
$global-text-direction: ltr;
|
|
94
101
|
$global-flexbox: true;
|
|
95
102
|
$global-prototype-breakpoints: false;
|
|
103
|
+
$global-button-cursor: auto;
|
|
96
104
|
$global-color-pick-contrast-tolerance: 0;
|
|
97
|
-
$print-transparent-backgrounds:
|
|
105
|
+
$print-transparent-backgrounds: true;
|
|
106
|
+
$print-hrefs: false;
|
|
98
107
|
|
|
99
108
|
@include add-foundation-colors;
|
|
100
109
|
|
|
101
110
|
// 2. Breakpoints
|
|
102
111
|
// --------------
|
|
103
112
|
|
|
104
|
-
$breakpoints: (
|
|
113
|
+
$breakpoints: (
|
|
114
|
+
"small": 0,
|
|
115
|
+
"medium": 640px,
|
|
116
|
+
"large": 1024px,
|
|
117
|
+
"xlarge": 1200px,
|
|
118
|
+
"xxlarge": 1440px,
|
|
119
|
+
);
|
|
120
|
+
$breakpoints-hidpi: (
|
|
121
|
+
"hidpi-1": 1,
|
|
122
|
+
"hidpi-1-5": 1.5,
|
|
123
|
+
"hidpi-2": 2,
|
|
124
|
+
"retina": 2,
|
|
125
|
+
"hidpi-3": 3
|
|
126
|
+
);
|
|
105
127
|
$print-breakpoint: large;
|
|
106
128
|
$breakpoint-classes: (small medium large);
|
|
107
129
|
|
|
@@ -110,7 +132,10 @@ $breakpoint-classes: (small medium large);
|
|
|
110
132
|
|
|
111
133
|
$grid-row-width: $global-width;
|
|
112
134
|
$grid-column-count: 12;
|
|
113
|
-
$grid-column-gutter: (
|
|
135
|
+
$grid-column-gutter: (
|
|
136
|
+
"small": 20px,
|
|
137
|
+
"medium": 30px,
|
|
138
|
+
);
|
|
114
139
|
$grid-column-align-edge: true;
|
|
115
140
|
$grid-column-alias: 'columns';
|
|
116
141
|
$block-grid-max: 8;
|
|
@@ -125,23 +150,35 @@ $font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
|
|
|
125
150
|
$header-color: inherit;
|
|
126
151
|
$header-lineheight: 1.4;
|
|
127
152
|
$header-margin-bottom: 0.5rem;
|
|
128
|
-
$header-styles: (
|
|
153
|
+
$header-styles: (
|
|
154
|
+
"small": (
|
|
155
|
+
'h1': ('font-size': 24),
|
|
156
|
+
'h2': ('font-size': 20),
|
|
157
|
+
'h3': ('font-size': 19),
|
|
158
|
+
'h4': ('font-size': 18),
|
|
159
|
+
'h5': ('font-size': 17),
|
|
160
|
+
'h6': ('font-size': 16),
|
|
161
|
+
),
|
|
162
|
+
"medium": (
|
|
163
|
+
'h1': ('font-size': 48),
|
|
164
|
+
'h2': ('font-size': 40),
|
|
165
|
+
'h3': ('font-size': 31),
|
|
166
|
+
'h4': ('font-size': 25),
|
|
167
|
+
'h5': ('font-size': 20),
|
|
168
|
+
'h6': ('font-size': 16),
|
|
169
|
+
),
|
|
170
|
+
);
|
|
129
171
|
$header-text-rendering: optimizeLegibility;
|
|
130
172
|
$small-font-size: 80%;
|
|
131
173
|
$header-small-font-color: $medium-gray;
|
|
132
174
|
$paragraph-lineheight: 1.6;
|
|
133
175
|
$paragraph-margin-bottom: 1rem;
|
|
134
176
|
$paragraph-text-rendering: optimizeLegibility;
|
|
135
|
-
$code-
|
|
136
|
-
$
|
|
137
|
-
$
|
|
138
|
-
$
|
|
139
|
-
$
|
|
140
|
-
$code-padding: rem-calc(2 5 1);
|
|
141
|
-
$anchor-color: $primary-color;
|
|
142
|
-
$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
|
|
143
|
-
$anchor-text-decoration: none;
|
|
144
|
-
$anchor-text-decoration-hover: none;
|
|
177
|
+
$enable-code-inline: true;
|
|
178
|
+
$anchor-color: $link-color;
|
|
179
|
+
$anchor-color-hover: $link-hover-color;
|
|
180
|
+
$anchor-text-decoration: $link-decoration;
|
|
181
|
+
$anchor-text-decoration-hover: $link-hover-decoration;
|
|
145
182
|
$hr-width: $global-width;
|
|
146
183
|
$hr-border: 1px solid $medium-gray;
|
|
147
184
|
$hr-margin: rem-calc(20) auto;
|
|
@@ -157,9 +194,7 @@ $defnlist-term-margin-bottom: 0.3rem;
|
|
|
157
194
|
$blockquote-color: $dark-gray;
|
|
158
195
|
$blockquote-padding: rem-calc(9 20 0 19);
|
|
159
196
|
$blockquote-border: 1px solid $medium-gray;
|
|
160
|
-
$cite-
|
|
161
|
-
$cite-color: $dark-gray;
|
|
162
|
-
$cite-pseudo-content: '\2014 \0020';
|
|
197
|
+
$enable-cite-block: true;
|
|
163
198
|
$keystroke-font: $font-family-monospace;
|
|
164
199
|
$keystroke-color: $black;
|
|
165
200
|
$keystroke-background: $light-gray;
|
|
@@ -178,6 +213,17 @@ $subheader-font-weight: $global-weight-normal;
|
|
|
178
213
|
$subheader-margin-top: 0.2rem;
|
|
179
214
|
$subheader-margin-bottom: 0.5rem;
|
|
180
215
|
$stat-font-size: 2.5rem;
|
|
216
|
+
$cite-color: $dark-gray;
|
|
217
|
+
$cite-font-size: rem-calc(13);
|
|
218
|
+
$cite-pseudo-content: '\2014 \0020';
|
|
219
|
+
$code-color: $black;
|
|
220
|
+
$code-font-family: $font-family-monospace;
|
|
221
|
+
$code-font-weight: $global-weight-normal;
|
|
222
|
+
$code-background: $light-gray;
|
|
223
|
+
$code-border: 1px solid $medium-gray;
|
|
224
|
+
$code-padding: rem-calc(2 5 1);
|
|
225
|
+
$code-block-padding: 1rem;
|
|
226
|
+
$code-block-margin-bottom: 1.5rem;
|
|
181
227
|
|
|
182
228
|
// 6. Abide
|
|
183
229
|
// --------
|
|
@@ -195,6 +241,8 @@ $input-error-font-weight: $global-weight-bold;
|
|
|
195
241
|
|
|
196
242
|
$accordion-background: $white;
|
|
197
243
|
$accordion-plusminus: true;
|
|
244
|
+
$accordion-plus-content: '\002B';
|
|
245
|
+
$accordion-minus-content: '\2013';
|
|
198
246
|
$accordion-title-font-size: rem-calc(12);
|
|
199
247
|
$accordion-item-color: $primary-color;
|
|
200
248
|
$accordion-item-background-hover: $light-gray;
|
|
@@ -249,22 +297,30 @@ $breadcrumbs-item-separator-color: $medium-gray;
|
|
|
249
297
|
// 11. Button
|
|
250
298
|
// ----------
|
|
251
299
|
|
|
252
|
-
$button-font-family:
|
|
300
|
+
$button-font-family: inherit;
|
|
301
|
+
$button-font-weight: null;
|
|
253
302
|
$button-padding: 0.85em 1em;
|
|
254
303
|
$button-margin: 0 0 $global-margin 0;
|
|
255
304
|
$button-fill: solid;
|
|
256
|
-
$button-background: $
|
|
257
|
-
$button-background-hover:
|
|
305
|
+
$button-background: $button-bg-color;
|
|
306
|
+
$button-background-hover: $button-hover-bg-color;
|
|
258
307
|
$button-color: $white;
|
|
259
308
|
$button-color-alt: $white;
|
|
260
|
-
$button-radius: $
|
|
309
|
+
$button-radius: $global-radius;
|
|
310
|
+
$button-border: 1px solid transparent;
|
|
261
311
|
$button-hollow-border-width: 1px;
|
|
262
|
-
$button-sizes: (
|
|
312
|
+
$button-sizes: (
|
|
313
|
+
"tiny": 0.6rem,
|
|
314
|
+
"small": 0.75rem,
|
|
315
|
+
"default": 0.9rem,
|
|
316
|
+
"large": 1.25rem,
|
|
317
|
+
);
|
|
263
318
|
$button-palette: $foundation-palette;
|
|
264
319
|
$button-opacity-disabled: 0.5;
|
|
265
320
|
$button-background-hover-lightness: -20%;
|
|
266
321
|
$button-hollow-hover-lightness: -50%;
|
|
267
322
|
$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;
|
|
323
|
+
$button-responsive-expanded: false;
|
|
268
324
|
|
|
269
325
|
// 12. Button Group
|
|
270
326
|
// ----------------
|
|
@@ -282,7 +338,11 @@ $callout-background: $white;
|
|
|
282
338
|
$callout-background-fade: 85%;
|
|
283
339
|
$callout-border: 1px solid rgba($black, 0.25);
|
|
284
340
|
$callout-margin: 0 0 1rem 0;
|
|
285
|
-
$callout-
|
|
341
|
+
$callout-sizes: (
|
|
342
|
+
"small": 0.5rem,
|
|
343
|
+
"default": 1rem,
|
|
344
|
+
"large": 3rem,
|
|
345
|
+
);
|
|
286
346
|
$callout-font-color: $body-font-color;
|
|
287
347
|
$callout-font-color-alt: $body-background;
|
|
288
348
|
$callout-radius: $global-radius;
|
|
@@ -304,9 +364,20 @@ $card-margin-bottom: $global-margin;
|
|
|
304
364
|
// ----------------
|
|
305
365
|
|
|
306
366
|
$closebutton-position: right top;
|
|
307
|
-
$closebutton-
|
|
308
|
-
$closebutton-
|
|
309
|
-
$closebutton-
|
|
367
|
+
$closebutton-z-index: 10;
|
|
368
|
+
$closebutton-default-size: medium;
|
|
369
|
+
$closebutton-offset-horizontal: (
|
|
370
|
+
"small": 0.66rem,
|
|
371
|
+
"medium": 1rem,
|
|
372
|
+
);
|
|
373
|
+
$closebutton-offset-vertical: (
|
|
374
|
+
"small": 0.33em,
|
|
375
|
+
"medium": 0.5rem,
|
|
376
|
+
);
|
|
377
|
+
$closebutton-size: (
|
|
378
|
+
"small": 1.5em,
|
|
379
|
+
"medium": 2em,
|
|
380
|
+
);
|
|
310
381
|
$closebutton-lineheight: 1;
|
|
311
382
|
$closebutton-color: $dark-gray;
|
|
312
383
|
$closebutton-color-hover: $black;
|
|
@@ -333,7 +404,11 @@ $dropdown-border: 1px solid $medium-gray;
|
|
|
333
404
|
$dropdown-font-size: 1rem;
|
|
334
405
|
$dropdown-width: 300px;
|
|
335
406
|
$dropdown-radius: $global-radius;
|
|
336
|
-
$dropdown-sizes: (
|
|
407
|
+
$dropdown-sizes: (
|
|
408
|
+
"tiny": 100px,
|
|
409
|
+
"small": 200px,
|
|
410
|
+
"large": 400px,
|
|
411
|
+
);
|
|
337
412
|
|
|
338
413
|
// 18. Dropdown Menu
|
|
339
414
|
// -----------------
|
|
@@ -365,40 +440,40 @@ $fieldset-border: 1px solid $medium-gray;
|
|
|
365
440
|
$fieldset-padding: rem-calc(20);
|
|
366
441
|
$fieldset-margin: rem-calc(18 0);
|
|
367
442
|
$legend-padding: rem-calc(0 3);
|
|
368
|
-
$form-spacing:
|
|
443
|
+
$form-spacing: $global-form-spacing;
|
|
369
444
|
$helptext-color: $black;
|
|
370
445
|
$helptext-font-size: rem-calc(13);
|
|
371
446
|
$helptext-font-style: italic;
|
|
372
|
-
$input-prefix-color: $
|
|
373
|
-
$input-prefix-background: $
|
|
374
|
-
$input-prefix-border: 1px solid $
|
|
375
|
-
$input-prefix-padding:
|
|
376
|
-
$form-label-color: $
|
|
377
|
-
$form-label-font-size:
|
|
447
|
+
$input-prefix-color: $form-input-prefix-color;
|
|
448
|
+
$input-prefix-background: $form-input-prefix-bg-color;
|
|
449
|
+
$input-prefix-border: 1px solid $form-input-border-color;
|
|
450
|
+
$input-prefix-padding: $form-input-padding;
|
|
451
|
+
$form-label-color: $form-label-color;
|
|
452
|
+
$form-label-font-size: $label-font-size;
|
|
378
453
|
$form-label-font-weight: $global-weight-normal;
|
|
379
454
|
$form-label-line-height: 1.8;
|
|
380
|
-
$select-background: $
|
|
381
|
-
$select-triangle-color: $
|
|
382
|
-
$select-radius: $
|
|
383
|
-
$input-color: $
|
|
384
|
-
$input-placeholder-color: $
|
|
455
|
+
$select-background: $form-input-bg-color;
|
|
456
|
+
$select-triangle-color: $form-input-select-triangle-color;
|
|
457
|
+
$select-radius: $form-input-radius;
|
|
458
|
+
$input-color: $form-input-color;
|
|
459
|
+
$input-placeholder-color: $medium-gray;
|
|
385
460
|
$input-font-family: inherit;
|
|
386
|
-
$input-font-size:
|
|
461
|
+
$input-font-size: $form-input-font-size;
|
|
387
462
|
$input-font-weight: $global-weight-normal;
|
|
388
463
|
$input-line-height: $global-lineheight;
|
|
389
|
-
$input-background: $
|
|
390
|
-
$input-background-focus: $
|
|
391
|
-
$input-background-disabled: $
|
|
392
|
-
$input-border: 1px solid $
|
|
393
|
-
$input-border-focus: 1px solid $
|
|
394
|
-
$input-padding: $form-
|
|
395
|
-
$input-shadow:
|
|
396
|
-
$input-shadow-focus:
|
|
464
|
+
$input-background: $form-input-bg-color;
|
|
465
|
+
$input-background-focus: $form-input-bg-color;
|
|
466
|
+
$input-background-disabled: $form-input-disabled-bg-color;
|
|
467
|
+
$input-border: 1px solid $form-input-border-color;
|
|
468
|
+
$input-border-focus: 1px solid $form-input-focus-border-color;
|
|
469
|
+
$input-padding: $form-input-padding;
|
|
470
|
+
$input-shadow: $form-input-shadow;
|
|
471
|
+
$input-shadow-focus: $form-input-focus-shadow;
|
|
397
472
|
$input-cursor-disabled: not-allowed;
|
|
398
473
|
$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
|
|
399
474
|
$input-number-spinners: true;
|
|
400
|
-
$input-radius: $
|
|
401
|
-
$form-button-radius: $
|
|
475
|
+
$input-radius: $form-input-radius;
|
|
476
|
+
$form-button-radius: $form-input-radius;
|
|
402
477
|
|
|
403
478
|
// 21. Label
|
|
404
479
|
// ---------
|
|
@@ -409,7 +484,7 @@ $label-color-alt: $white;
|
|
|
409
484
|
$label-palette: $foundation-palette;
|
|
410
485
|
$label-font-size: 0.8rem;
|
|
411
486
|
$label-padding: 0.33333rem 0.5rem;
|
|
412
|
-
$label-radius: $
|
|
487
|
+
$label-radius: $global-radius;
|
|
413
488
|
|
|
414
489
|
// 22. Media Object
|
|
415
490
|
// ----------------
|
|
@@ -426,9 +501,9 @@ $menu-nested-margin: $global-menu-nested-margin;
|
|
|
426
501
|
$menu-items-padding: $global-menu-padding;
|
|
427
502
|
$menu-simple-margin: 1rem;
|
|
428
503
|
$menu-item-color-active: $white;
|
|
504
|
+
$menu-item-color-alt-active: $black;
|
|
429
505
|
$menu-item-background-active: get-color(primary);
|
|
430
506
|
$menu-icon-spacing: 0.25rem;
|
|
431
|
-
$menu-item-background-hover: $light-gray;
|
|
432
507
|
$menu-state-back-compat: true;
|
|
433
508
|
$menu-centered-back-compat: true;
|
|
434
509
|
$menu-icons-back-compat: true;
|
|
@@ -446,8 +521,12 @@ $meter-fill-bad: $alert-color;
|
|
|
446
521
|
// 25. Off-canvas
|
|
447
522
|
// --------------
|
|
448
523
|
|
|
449
|
-
$offcanvas-sizes: (
|
|
450
|
-
|
|
524
|
+
$offcanvas-sizes: (
|
|
525
|
+
"small": 250px,
|
|
526
|
+
);
|
|
527
|
+
$offcanvas-vertical-sizes: (
|
|
528
|
+
"small": 250px,
|
|
529
|
+
);
|
|
451
530
|
$offcanvas-background: $light-gray;
|
|
452
531
|
$offcanvas-shadow: 0 0 10px rgba($black, 0.7);
|
|
453
532
|
$offcanvas-inner-shadow-size: 20px;
|
|
@@ -494,6 +573,8 @@ $pagination-ellipsis-color: $black;
|
|
|
494
573
|
$pagination-mobile-items: false;
|
|
495
574
|
$pagination-mobile-current-item: false;
|
|
496
575
|
$pagination-arrows: true;
|
|
576
|
+
$pagination-arrow-previous: '\00AB';
|
|
577
|
+
$pagination-arrow-next: '\00BB';
|
|
497
578
|
|
|
498
579
|
// 28. Progress Bar
|
|
499
580
|
// ----------------
|
|
@@ -507,7 +588,12 @@ $progress-radius: $global-radius;
|
|
|
507
588
|
// 29. Prototype Arrow
|
|
508
589
|
// -------------------
|
|
509
590
|
|
|
510
|
-
$prototype-arrow-directions: (
|
|
591
|
+
$prototype-arrow-directions: (
|
|
592
|
+
down,
|
|
593
|
+
up,
|
|
594
|
+
right,
|
|
595
|
+
left
|
|
596
|
+
);
|
|
511
597
|
$prototype-arrow-size: 0.4375rem;
|
|
512
598
|
$prototype-arrow-color: $black;
|
|
513
599
|
|
|
@@ -533,7 +619,13 @@ $prototype-border-color: $medium-gray;
|
|
|
533
619
|
// ---------------------
|
|
534
620
|
|
|
535
621
|
$prototype-display-breakpoints: $global-prototype-breakpoints;
|
|
536
|
-
$prototype-display: (
|
|
622
|
+
$prototype-display: (
|
|
623
|
+
inline,
|
|
624
|
+
inline-block,
|
|
625
|
+
block,
|
|
626
|
+
table,
|
|
627
|
+
table-cell
|
|
628
|
+
);
|
|
537
629
|
|
|
538
630
|
// 34. Prototype Font-Styling
|
|
539
631
|
// --------------------------
|
|
@@ -547,20 +639,41 @@ $prototype-font-bold: $global-weight-bold;
|
|
|
547
639
|
// -----------------------------
|
|
548
640
|
|
|
549
641
|
$prototype-list-breakpoints: $global-prototype-breakpoints;
|
|
550
|
-
$prototype-style-type-unordered: (
|
|
551
|
-
|
|
642
|
+
$prototype-style-type-unordered: (
|
|
643
|
+
disc,
|
|
644
|
+
circle,
|
|
645
|
+
square
|
|
646
|
+
);
|
|
647
|
+
$prototype-style-type-ordered: (
|
|
648
|
+
decimal,
|
|
649
|
+
lower-alpha,
|
|
650
|
+
lower-latin,
|
|
651
|
+
lower-roman,
|
|
652
|
+
upper-alpha,
|
|
653
|
+
upper-latin,
|
|
654
|
+
upper-roman
|
|
655
|
+
);
|
|
552
656
|
|
|
553
657
|
// 36. Prototype Overflow
|
|
554
658
|
// ----------------------
|
|
555
659
|
|
|
556
660
|
$prototype-overflow-breakpoints: $global-prototype-breakpoints;
|
|
557
|
-
$prototype-overflow: (
|
|
661
|
+
$prototype-overflow: (
|
|
662
|
+
visible,
|
|
663
|
+
hidden,
|
|
664
|
+
scroll
|
|
665
|
+
);
|
|
558
666
|
|
|
559
667
|
// 37. Prototype Position
|
|
560
668
|
// ----------------------
|
|
561
669
|
|
|
562
670
|
$prototype-position-breakpoints: $global-prototype-breakpoints;
|
|
563
|
-
$prototype-position: (
|
|
671
|
+
$prototype-position: (
|
|
672
|
+
static,
|
|
673
|
+
relative,
|
|
674
|
+
absolute,
|
|
675
|
+
fixed
|
|
676
|
+
);
|
|
564
677
|
$prototype-position-z-index: 975;
|
|
565
678
|
|
|
566
679
|
// 38. Prototype Rounded
|
|
@@ -583,14 +696,22 @@ $prototype-separator-margin-top: $global-margin;
|
|
|
583
696
|
// --------------------
|
|
584
697
|
|
|
585
698
|
$prototype-shadow-breakpoints: $global-prototype-breakpoints;
|
|
586
|
-
$prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0
|
|
699
|
+
$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
|
|
587
700
|
|
|
588
701
|
// 41. Prototype Sizing
|
|
589
702
|
// --------------------
|
|
590
703
|
|
|
591
704
|
$prototype-sizing-breakpoints: $global-prototype-breakpoints;
|
|
592
|
-
$prototype-sizing: (
|
|
593
|
-
|
|
705
|
+
$prototype-sizing: (
|
|
706
|
+
width,
|
|
707
|
+
height
|
|
708
|
+
);
|
|
709
|
+
$prototype-sizes: (
|
|
710
|
+
25: 25%,
|
|
711
|
+
50: 50%,
|
|
712
|
+
75: 75%,
|
|
713
|
+
100: 100%
|
|
714
|
+
);
|
|
594
715
|
|
|
595
716
|
// 42. Prototype Spacing
|
|
596
717
|
// ---------------------
|
|
@@ -602,13 +723,21 @@ $prototype-spacers-count: 3;
|
|
|
602
723
|
// -----------------------------
|
|
603
724
|
|
|
604
725
|
$prototype-decoration-breakpoints: $global-prototype-breakpoints;
|
|
605
|
-
$prototype-text-decoration: (
|
|
726
|
+
$prototype-text-decoration: (
|
|
727
|
+
overline,
|
|
728
|
+
underline,
|
|
729
|
+
line-through,
|
|
730
|
+
);
|
|
606
731
|
|
|
607
732
|
// 44. Prototype Text-Transformation
|
|
608
733
|
// ---------------------------------
|
|
609
734
|
|
|
610
735
|
$prototype-transformation-breakpoints: $global-prototype-breakpoints;
|
|
611
|
-
$prototype-text-transformation: (
|
|
736
|
+
$prototype-text-transformation: (
|
|
737
|
+
lowercase,
|
|
738
|
+
uppercase,
|
|
739
|
+
capitalize
|
|
740
|
+
);
|
|
612
741
|
|
|
613
742
|
// 45. Prototype Text-Utilities
|
|
614
743
|
// ----------------------------
|
|
@@ -620,19 +749,22 @@ $prototype-text-overflow: ellipsis;
|
|
|
620
749
|
// --------------------
|
|
621
750
|
|
|
622
751
|
$responsive-embed-margin-bottom: rem-calc(16);
|
|
623
|
-
$responsive-embed-ratios: (
|
|
752
|
+
$responsive-embed-ratios: (
|
|
753
|
+
default: 4 by 3,
|
|
754
|
+
widescreen: 16 by 9,
|
|
755
|
+
);
|
|
624
756
|
|
|
625
757
|
// 47. Reveal
|
|
626
758
|
// ----------
|
|
627
759
|
|
|
628
|
-
$reveal-background: $
|
|
760
|
+
$reveal-background: $modal-bg-color;
|
|
629
761
|
$reveal-width: 600px;
|
|
630
762
|
$reveal-max-width: $global-width;
|
|
631
763
|
$reveal-padding: $global-padding;
|
|
632
|
-
$reveal-border: 1px solid $
|
|
633
|
-
$reveal-radius: $
|
|
764
|
+
$reveal-border: 1px solid $modal-border-color;
|
|
765
|
+
$reveal-radius: $modal-radius;
|
|
634
766
|
$reveal-zindex: 1005;
|
|
635
|
-
$reveal-overlay-background:
|
|
767
|
+
$reveal-overlay-background: $modal-overlay-color;
|
|
636
768
|
|
|
637
769
|
// 48. Slider
|
|
638
770
|
// ----------
|
|
@@ -663,6 +795,8 @@ $switch-paddle-background: $white;
|
|
|
663
795
|
$switch-paddle-offset: 0.25rem;
|
|
664
796
|
$switch-paddle-radius: $global-radius;
|
|
665
797
|
$switch-paddle-transition: all 0.25s ease-out;
|
|
798
|
+
$switch-opacity-disabled: 0.5;
|
|
799
|
+
$switch-cursor-disabled: not-allowed;
|
|
666
800
|
|
|
667
801
|
// 50. Table
|
|
668
802
|
// ---------
|
|
@@ -677,7 +811,7 @@ $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-h
|
|
|
677
811
|
$table-is-striped: true;
|
|
678
812
|
$table-striped-background: smart-scale($table-background, $table-color-scale);
|
|
679
813
|
$table-stripe: even;
|
|
680
|
-
$table-head-background: smart-scale($table-background, $table-color-scale
|
|
814
|
+
$table-head-background: smart-scale($table-background, $table-color-scale * 0.5);
|
|
681
815
|
$table-head-row-hover: darken($table-head-background, $table-hover-scale);
|
|
682
816
|
$table-foot-background: smart-scale($table-background, $table-color-scale);
|
|
683
817
|
$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
|
|
@@ -697,7 +831,6 @@ $tab-active-color: $primary-color;
|
|
|
697
831
|
$tab-item-font-size: rem-calc(12);
|
|
698
832
|
$tab-item-background-hover: $white;
|
|
699
833
|
$tab-item-padding: 1.25rem 1.5rem;
|
|
700
|
-
$tab-expand-max: 6;
|
|
701
834
|
$tab-content-background: $white;
|
|
702
835
|
$tab-content-border: $light-gray;
|
|
703
836
|
$tab-content-color: $body-font-color;
|
|
@@ -706,7 +839,7 @@ $tab-content-padding: 1rem;
|
|
|
706
839
|
// 52. Thumbnail
|
|
707
840
|
// -------------
|
|
708
841
|
|
|
709
|
-
$thumbnail-border: solid
|
|
842
|
+
$thumbnail-border: 4px solid $white;
|
|
710
843
|
$thumbnail-margin-bottom: $global-margin;
|
|
711
844
|
$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
|
|
712
845
|
$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
|
|
@@ -755,10 +888,12 @@ $topbar-unstack-breakpoint: medium;
|
|
|
755
888
|
$xy-grid: true;
|
|
756
889
|
$grid-container: $global-width;
|
|
757
890
|
$grid-columns: 12;
|
|
758
|
-
$grid-margin-gutters: (
|
|
891
|
+
$grid-margin-gutters: (
|
|
892
|
+
"small": 20px,
|
|
893
|
+
"medium": 30px
|
|
894
|
+
);
|
|
759
895
|
$grid-padding-gutters: $grid-margin-gutters;
|
|
760
896
|
$grid-container-padding: $grid-padding-gutters;
|
|
761
897
|
$grid-container-max: $global-width;
|
|
762
|
-
$block-grid-max: 8;
|
|
763
|
-
|
|
898
|
+
$xy-block-grid-max: 8;
|
|
764
899
|
|
package/src/index.js
CHANGED
|
@@ -12,13 +12,13 @@ import timespanInput from "./components/TimespanInput.vue";
|
|
|
12
12
|
import successCheckmark from "./components/SuccessCheckmark.vue";
|
|
13
13
|
import alertTriangle from "./components/AlertTriangle.vue";
|
|
14
14
|
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
15
|
+
import IconBaseFile from "./components/icons/IconBase.vue";
|
|
16
|
+
import IconCloseFile from "./components/icons/IconClose.vue";
|
|
17
|
+
import IconCaretFile from "./components/icons/IconCaret.vue";
|
|
18
|
+
import IconApproveFile from "./components/icons/IconApprove.vue";
|
|
19
|
+
import IconSaveFile from "./components/icons/IconSave.vue";
|
|
20
|
+
import IconShareFile from "./components/icons/IconShare.vue";
|
|
21
|
+
import IconQrCodeFile from "./components/icons/IconQrCode.vue";
|
|
22
22
|
|
|
23
23
|
import money from "./components/v-money";
|
|
24
24
|
|
|
@@ -36,13 +36,13 @@ const Components = {
|
|
|
36
36
|
TimespanInput: timespanInput,
|
|
37
37
|
SuccessCheckmark: successCheckmark,
|
|
38
38
|
AlertTriangle: alertTriangle,
|
|
39
|
-
IconBase:
|
|
40
|
-
IconClose:
|
|
41
|
-
IconCaret:
|
|
42
|
-
IconApprove:
|
|
43
|
-
IconSave:
|
|
44
|
-
IconShare:
|
|
45
|
-
IconQrCode:
|
|
39
|
+
IconBase: IconBaseFile,
|
|
40
|
+
IconClose: IconCloseFile,
|
|
41
|
+
IconCaret: IconCaretFile,
|
|
42
|
+
IconApprove: IconApproveFile,
|
|
43
|
+
IconSave: IconSaveFile,
|
|
44
|
+
IconShare: IconShareFile,
|
|
45
|
+
IconQrCode: IconQrCodeFile,
|
|
46
46
|
Money: money,
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -59,13 +59,13 @@ export var SwitchInput = switchInput;
|
|
|
59
59
|
export var TimespanInput = timespanInput;
|
|
60
60
|
export var SuccessCheckmark = successCheckmark;
|
|
61
61
|
export var AlertTriangle = alertTriangle;
|
|
62
|
-
export var IconBase =
|
|
63
|
-
export var IconClose =
|
|
64
|
-
export var IconCaret =
|
|
65
|
-
export var IconApprove =
|
|
66
|
-
export var IconSave =
|
|
67
|
-
export var IconShare =
|
|
68
|
-
export var IconQrCode =
|
|
62
|
+
export var IconBase = IconBaseFile;
|
|
63
|
+
export var IconClose = IconCloseFile;
|
|
64
|
+
export var IconCaret = IconCaretFile;
|
|
65
|
+
export var IconApprove = IconApproveFile;
|
|
66
|
+
export var IconSave = IconSaveFile;
|
|
67
|
+
export var IconShare = IconShareFile;
|
|
68
|
+
export var IconQrCode = IconQrCodeFile;
|
|
69
69
|
export var Money = money;
|
|
70
70
|
|
|
71
71
|
export default Components;
|