@osrd-project/ui-core 0.0.82 → 0.0.83
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/components/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/Checkbox/CheckboxTree.d.ts +1 -1
- package/dist/components/ComboBox/ComboBox.d.ts +8 -1
- package/dist/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker/useDatePicker.d.ts +1 -1
- package/dist/components/SegmentedControl.d.ts +2 -1
- package/dist/components/Select.d.ts +2 -1
- package/dist/hooks/__tests__/useOutsideClick.spec.d.ts +1 -0
- package/dist/hooks/useOutsideClick.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +132 -88
- package/dist/index.esm.js.map +1 -1
- package/dist/theme.css +177 -211
- package/dist/theme.css.map +1 -1
- package/package.json +9 -8
package/dist/theme.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! tailwindcss v4.
|
|
1
|
+
/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
|
|
2
2
|
@layer properties;
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer theme {
|
|
@@ -80,7 +80,6 @@
|
|
|
80
80
|
border-top-width: 1px;
|
|
81
81
|
}
|
|
82
82
|
abbr:where([title]) {
|
|
83
|
-
-webkit-text-decoration: underline dotted;
|
|
84
83
|
text-decoration: underline dotted;
|
|
85
84
|
}
|
|
86
85
|
h1, h2, h3, h4, h5, h6 {
|
|
@@ -89,7 +88,6 @@
|
|
|
89
88
|
}
|
|
90
89
|
a {
|
|
91
90
|
color: inherit;
|
|
92
|
-
-webkit-text-decoration: inherit;
|
|
93
91
|
text-decoration: inherit;
|
|
94
92
|
}
|
|
95
93
|
b, strong {
|
|
@@ -210,6 +208,12 @@
|
|
|
210
208
|
.relative {
|
|
211
209
|
position: relative;
|
|
212
210
|
}
|
|
211
|
+
.start {
|
|
212
|
+
inset-inline-start: var(--spacing);
|
|
213
|
+
}
|
|
214
|
+
.end {
|
|
215
|
+
inset-inline-end: var(--spacing);
|
|
216
|
+
}
|
|
213
217
|
.mr-2 {
|
|
214
218
|
margin-right: calc(var(--spacing) * 2);
|
|
215
219
|
}
|
|
@@ -259,7 +263,6 @@
|
|
|
259
263
|
border-top-width: 1px;
|
|
260
264
|
}
|
|
261
265
|
abbr:where([title]) {
|
|
262
|
-
-webkit-text-decoration: underline dotted;
|
|
263
266
|
text-decoration: underline dotted;
|
|
264
267
|
}
|
|
265
268
|
h1, h2, h3, h4, h5, h6 {
|
|
@@ -268,7 +271,6 @@
|
|
|
268
271
|
}
|
|
269
272
|
a {
|
|
270
273
|
color: inherit;
|
|
271
|
-
-webkit-text-decoration: inherit;
|
|
272
274
|
text-decoration: inherit;
|
|
273
275
|
}
|
|
274
276
|
b, strong {
|
|
@@ -569,241 +571,187 @@
|
|
|
569
571
|
}
|
|
570
572
|
}
|
|
571
573
|
.ui-checkbox {
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
-webkit-user-select: none;
|
|
578
|
-
user-select: none;
|
|
579
|
-
opacity: 1;
|
|
580
|
-
font-size: 1rem;
|
|
581
|
-
font-weight: 400;
|
|
582
|
-
letter-spacing: 0;
|
|
583
|
-
text-align: left;
|
|
584
|
-
width: fit-content;
|
|
585
|
-
height: 24px;
|
|
586
|
-
.label {
|
|
587
|
-
line-height: 24px;
|
|
588
|
-
padding: 0 0 0 3px;
|
|
589
|
-
color: var(--color-grey-80);
|
|
590
|
-
}
|
|
591
|
-
&:has(> input:disabled), &:has(> input.read-only) {
|
|
592
|
-
cursor: default;
|
|
593
|
-
}
|
|
594
|
-
.checkmark {
|
|
595
|
-
position: absolute;
|
|
596
|
-
top: 2.4px;
|
|
597
|
-
left: 6.4px;
|
|
574
|
+
--ui-checkbox-size: 18px;
|
|
575
|
+
input {
|
|
576
|
+
appearance: none;
|
|
577
|
+
width: var(--ui-checkbox-size);
|
|
578
|
+
height: var(--ui-checkbox-size);
|
|
598
579
|
border-radius: 3px;
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
&:after {
|
|
580
|
+
border: 1px solid #94918e;
|
|
581
|
+
--ui-checkbox-outer-ring-color: #ebebea;
|
|
582
|
+
box-shadow: inset 0 0 0 1px white, inset 0 0 0 1.5px #d3d1cf;
|
|
583
|
+
background-image: linear-gradient(180deg, white 0%, #f5f5f5 100%);
|
|
584
|
+
outline: 0 none;
|
|
585
|
+
cursor: pointer;
|
|
586
|
+
display: grid;
|
|
587
|
+
grid: 1fr / 1fr;
|
|
588
|
+
place-items: center;
|
|
589
|
+
&:before {
|
|
610
590
|
content: '';
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
591
|
+
display: block;
|
|
592
|
+
width: 100%;
|
|
593
|
+
height: 100%;
|
|
594
|
+
grid-area: 1 / 1;
|
|
595
|
+
border-radius: 2px;
|
|
596
|
+
outline: 2px solid var(--ui-checkbox-outer-ring-color);
|
|
597
|
+
outline-offset: 1px;
|
|
598
|
+
pointer-events: none;
|
|
618
599
|
}
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
&:before {
|
|
622
|
-
content: '';
|
|
623
|
-
position: absolute;
|
|
624
|
-
top: -0.188rem;
|
|
625
|
-
left: -0.188rem;
|
|
626
|
-
bottom: -0.188rem;
|
|
627
|
-
right: -0.188rem;
|
|
628
|
-
border: 0.063rem solid rgba(37, 106, 250, 1);
|
|
629
|
-
}
|
|
600
|
+
&:hover:not(:disabled) {
|
|
601
|
+
--ui-checkbox-outer-ring-color: #98c0f5;
|
|
630
602
|
}
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
font-weight: 400;
|
|
637
|
-
letter-spacing: 0;
|
|
638
|
-
color: var(--color-grey-50);
|
|
639
|
-
}
|
|
640
|
-
&:hover {
|
|
641
|
-
&.small {
|
|
642
|
-
.checkmark {
|
|
643
|
-
outline: solid 0.094rem #98c0f5;
|
|
644
|
-
}
|
|
603
|
+
&:focus-visible:before {
|
|
604
|
+
border-radius: 0;
|
|
605
|
+
outline: 1px solid #256afa;
|
|
606
|
+
outline-offset: 2px;
|
|
607
|
+
box-shadow: none;
|
|
645
608
|
}
|
|
646
|
-
|
|
647
|
-
|
|
609
|
+
&:after {
|
|
610
|
+
grid-area: 1 / 1;
|
|
611
|
+
content: '';
|
|
612
|
+
display: block;
|
|
613
|
+
width: calc(var(--ui-checkbox-size) - 2px);
|
|
614
|
+
height: calc(var(--ui-checkbox-size) - 2px);
|
|
615
|
+
pointer-events: none;
|
|
616
|
+
background-position: center center;
|
|
648
617
|
}
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
margin-bottom: 0.125rem;
|
|
654
|
-
.checkmark {
|
|
655
|
-
width: 0.875rem;
|
|
656
|
-
height: 0.875rem;
|
|
657
|
-
top: 0.25rem;
|
|
658
|
-
left: 0.25rem;
|
|
659
|
-
outline: solid 0.094rem #ebebea;
|
|
618
|
+
&:checked, &:indeterminate {
|
|
619
|
+
background-image: linear-gradient(180deg, #94918e 0%, #797671 100%);
|
|
620
|
+
border-color: #1f1b17;
|
|
621
|
+
box-shadow: none;
|
|
660
622
|
}
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
padding-top: 0.125rem;
|
|
623
|
+
&:checked:after {
|
|
624
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.0514013%2C4.62286244%20C12.4888409%2C4.08878579%2013.2764105%2C4.01044601%2013.8104872%2C4.44788566%20C14.3445638%2C4.88532531%2014.4229036%2C5.67289489%2013.9854639%2C6.20697154%20L8.55870613%2C12.8325819%20C8.10976036%2C13.3807065%207.2954557%2C13.4464958%206.76433906%2C12.9775522%20L3.89092598%2C10.4405039%20C3.37342144%2C9.98357894%203.32431195%2C9.1936478%203.78123687%2C8.67614326%20C4.23816178%2C8.15863873%205.02809292%2C8.10952924%205.54559746%2C8.56645415%20L7.44626172%2C10.244917%20L12.0514013%2C4.62286244%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-18.5%25%22%20y%3D%22-11.0%25%22%20width%3D%22137.0%25%22%20height%3D%22143.8%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%221%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%220.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200%20%20%200%200%200%200%200%20%20%200%200%200%200%200%20%200%200%200%200.50467111%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%0A%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Check%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url(%23filter-2)%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22%23FFFFFF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
664
625
|
}
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
&:after {
|
|
678
|
-
content: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.19126392%2C3.4118283%20C9.51610217%2C2.9651757%2010.1415191%2C2.86642566%2010.5881717%2C3.19126392%20C11.0348243%2C3.51610217%2011.1335743%2C4.14151909%2010.8087361%2C4.5881717%20L6.80873608%2C10.0881717%20C6.44731516%2C10.5851255%205.72739761%2C10.6416112%205.29289322%2C10.2071068%20L2.79289322%2C7.70710678%20C2.40236893%2C7.31658249%202.40236893%2C6.68341751%202.79289322%2C6.29289322%20C3.18341751%2C5.90236893%203.81658249%2C5.90236893%204.20710678%2C6.29289322%20L5.879%2C7.964%20L9.19126392%2C3.4118283%20Z%22%20id%3D%22Check%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
&:indeterminate ~ .checkmark {
|
|
682
|
-
&:after {
|
|
683
|
-
content: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%20x%3D%223%22%20y%3D%226%22%20width%3D%228%22%20height%3D%222%22%20rx%3D%221%22%3E%3C%2Frect%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
684
|
-
}
|
|
685
|
-
}
|
|
626
|
+
&:indeterminate:after {
|
|
627
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%224%22%20y%3D%227.75%22%20width%3D%2210%22%20height%3D%222.5%22%20rx%3D%221.25%22%3E%3C%2Frect%3E%0A%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-20.0%25%22%20y%3D%22-40.0%25%22%20width%3D%22140.0%25%22%20height%3D%22260.0%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%221%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%220.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200%20%20%200%200%200%200%200%20%20%200%200%200%200%200%20%200%200%200%200.50467111%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%0A%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Rectangle%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url(%23filter-2)%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22%23FFFFFF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
628
|
+
}
|
|
629
|
+
&:disabled {
|
|
630
|
+
box-shadow: none;
|
|
631
|
+
background-image: none;
|
|
632
|
+
background-color: white;
|
|
633
|
+
border-color: var(--color-grey-20);
|
|
634
|
+
cursor: default;
|
|
635
|
+
&:checked, &:indeterminate {
|
|
636
|
+
background-color: #d3d1cf;
|
|
637
|
+
border-color: #b6b3af;
|
|
686
638
|
}
|
|
687
|
-
&:
|
|
688
|
-
|
|
689
|
-
&:after {
|
|
690
|
-
content: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.19126392%2C3.4118283%20C9.51610217%2C2.9651757%2010.1415191%2C2.86642566%2010.5881717%2C3.19126392%20C11.0348243%2C3.51610217%2011.1335743%2C4.14151909%2010.8087361%2C4.5881717%20L6.80873608%2C10.0881717%20C6.44731516%2C10.5851255%205.72739761%2C10.6416112%205.29289322%2C10.2071068%20L2.79289322%2C7.70710678%20C2.40236893%2C7.31658249%202.40236893%2C6.68341751%202.79289322%2C6.29289322%20C3.18341751%2C5.90236893%203.81658249%2C5.90236893%204.20710678%2C6.29289322%20L5.879%2C7.964%20L9.19126392%2C3.4118283%20Z%22%20id%3D%22Check%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
&:indeterminate ~ .checkmark {
|
|
694
|
-
&:after {
|
|
695
|
-
content: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%20x%3D%223%22%20y%3D%226%22%20width%3D%228%22%20height%3D%222%22%20rx%3D%221%22%3E%3C%2Frect%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
696
|
-
}
|
|
697
|
-
}
|
|
639
|
+
&:before {
|
|
640
|
+
display: none;
|
|
698
641
|
}
|
|
699
|
-
&:
|
|
700
|
-
|
|
701
|
-
|
|
642
|
+
&:checked:after {
|
|
643
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.0514013%2C4.62286244%20C12.4888409%2C4.08878579%2013.2764105%2C4.01044601%2013.8104872%2C4.44788566%20C14.3445638%2C4.88532531%2014.4229036%2C5.67289489%2013.9854639%2C6.20697154%20L8.55870613%2C12.8325819%20C8.10976036%2C13.3807065%207.2954557%2C13.4464958%206.76433906%2C12.9775522%20L3.89092598%2C10.4405039%20C3.37342144%2C9.98357894%203.32431195%2C9.1936478%203.78123687%2C8.67614326%20C4.23816178%2C8.15863873%205.02809292%2C8.10952924%205.54559746%2C8.56645415%20L7.44626172%2C10.244917%20L12.0514013%2C4.62286244%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Check%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22%23FFFFFF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
644
|
+
.small & {
|
|
645
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.19126392%2C3.4118283%20C9.51610217%2C2.9651757%2010.1415191%2C2.86642566%2010.5881717%2C3.19126392%20C11.0348243%2C3.51610217%2011.1335743%2C4.14151909%2010.8087361%2C4.5881717%20L6.80873608%2C10.0881717%20C6.44731516%2C10.5851255%205.72739761%2C10.6416112%205.29289322%2C10.2071068%20L2.79289322%2C7.70710678%20C2.40236893%2C7.31658249%202.40236893%2C6.68341751%202.79289322%2C6.29289322%20C3.18341751%2C5.90236893%203.81658249%2C5.90236893%204.20710678%2C6.29289322%20L5.879%2C7.964%20L9.19126392%2C3.4118283%20Z%22%20id%3D%22Check%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
702
646
|
}
|
|
703
647
|
}
|
|
704
|
-
&:
|
|
705
|
-
|
|
706
|
-
|
|
648
|
+
&:indeterminate:after {
|
|
649
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%224%22%20y%3D%227.75%22%20width%3D%2210%22%20height%3D%222.5%22%20rx%3D%221.25%22%3E%3C%2Frect%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Rectangle%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22%23FFFFFF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
650
|
+
.small & {
|
|
651
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%20x%3D%223%22%20y%3D%226%22%20width%3D%228%22%20height%3D%222%22%20rx%3D%221%22%3E%3C%2Frect%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
707
652
|
}
|
|
708
653
|
}
|
|
709
654
|
}
|
|
710
|
-
}
|
|
711
|
-
input {
|
|
712
|
-
position: absolute;
|
|
713
|
-
opacity: 0;
|
|
714
|
-
cursor: pointer;
|
|
715
|
-
height: 0;
|
|
716
|
-
width: 0;
|
|
717
|
-
&:checked ~ .checkmark {
|
|
718
|
-
border-radius: 0.188rem;
|
|
719
|
-
border: 0.063rem solid #1f1b17;
|
|
720
|
-
opacity: 1;
|
|
721
|
-
background-image: linear-gradient( 180deg, rgba(148, 145, 142, 1) 0%, rgba(121, 118, 113, 1) 100% );
|
|
722
|
-
&:after {
|
|
723
|
-
border: none;
|
|
724
|
-
content: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.0514013%2C4.62286244%20C12.4888409%2C4.08878579%2013.2764105%2C4.01044601%2013.8104872%2C4.44788566%20C14.3445638%2C4.88532531%2014.4229036%2C5.67289489%2013.9854639%2C6.20697154%20L8.55870613%2C12.8325819%20C8.10976036%2C13.3807065%207.2954557%2C13.4464958%206.76433906%2C12.9775522%20L3.89092598%2C10.4405039%20C3.37342144%2C9.98357894%203.32431195%2C9.1936478%203.78123687%2C8.67614326%20C4.23816178%2C8.15863873%205.02809292%2C8.10952924%205.54559746%2C8.56645415%20L7.44626172%2C10.244917%20L12.0514013%2C4.62286244%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-18.5%25%22%20y%3D%22-11.0%25%22%20width%3D%22137.0%25%22%20height%3D%22143.8%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%221%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%220.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200%20%20%200%200%200%200%200%20%20%200%200%200%200%200%20%200%200%200%200.50467111%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%0A%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Check%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url(%23filter-2)%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22%23FFFFFF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
725
|
-
opacity: 1;
|
|
726
|
-
top: 0;
|
|
727
|
-
left: 0;
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
&:indeterminate ~ .checkmark {
|
|
731
|
-
border-radius: 0.188rem;
|
|
732
|
-
border: 0.063rem solid #1f1b17;
|
|
733
|
-
opacity: 1;
|
|
734
|
-
background-image: linear-gradient( 180deg, rgba(148, 145, 142, 1) 0%, rgba(121, 118, 113, 1) 100% );
|
|
735
|
-
&:after {
|
|
736
|
-
border: none;
|
|
737
|
-
content: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%224%22%20y%3D%227.75%22%20width%3D%2210%22%20height%3D%222.5%22%20rx%3D%221.25%22%3E%3C%2Frect%3E%0A%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-20.0%25%22%20y%3D%22-40.0%25%22%20width%3D%22140.0%25%22%20height%3D%22260.0%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%221%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%220.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200%20%20%200%200%200%200%200%20%20%200%200%200%200%200%20%200%200%200%200.50467111%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%0A%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Rectangle%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url(%23filter-2)%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22%23FFFFFF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
738
|
-
opacity: 1;
|
|
739
|
-
top: 0;
|
|
740
|
-
left: 0;
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
655
|
&.read-only {
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
outline: none;
|
|
759
|
-
background-image: linear-gradient( 180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100% );
|
|
760
|
-
&:after {
|
|
761
|
-
border: none;
|
|
762
|
-
content: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.0514013%2C4.62286244%20C12.4888409%2C4.08878579%2013.2764105%2C4.01044601%2013.8104872%2C4.44788566%20C14.3445638%2C4.88532531%2014.4229036%2C5.67289489%2013.9854639%2C6.20697154%20L8.55870613%2C12.8325819%20C8.10976036%2C13.3807065%207.2954557%2C13.4464958%206.76433906%2C12.9775522%20L3.89092598%2C10.4405039%20C3.37342144%2C9.98357894%203.32431195%2C9.1936478%203.78123687%2C8.67614326%20C4.23816178%2C8.15863873%205.02809292%2C8.10952924%205.54559746%2C8.56645415%20L7.44626172%2C10.244917%20L12.0514013%2C4.62286244%20Z%22%20id%3D%22Check%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
656
|
+
box-shadow: none;
|
|
657
|
+
cursor: default;
|
|
658
|
+
&, &:checked, &:indeterminate {
|
|
659
|
+
background-image: none;
|
|
660
|
+
background-color: white;
|
|
661
|
+
border-color: var(--color-grey-60);
|
|
662
|
+
}
|
|
663
|
+
&:not(:focus-visible):before {
|
|
664
|
+
display: none;
|
|
665
|
+
}
|
|
666
|
+
&:checked:after {
|
|
667
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.0514013%2C4.62286244%20C12.4888409%2C4.08878579%2013.2764105%2C4.01044601%2013.8104872%2C4.44788566%20C14.3445638%2C4.88532531%2014.4229036%2C5.67289489%2013.9854639%2C6.20697154%20L8.55870613%2C12.8325819%20C8.10976036%2C13.3807065%207.2954557%2C13.4464958%206.76433906%2C12.9775522%20L3.89092598%2C10.4405039%20C3.37342144%2C9.98357894%203.32431195%2C9.1936478%203.78123687%2C8.67614326%20C4.23816178%2C8.15863873%205.02809292%2C8.10952924%205.54559746%2C8.56645415%20L7.44626172%2C10.244917%20L12.0514013%2C4.62286244%20Z%22%20id%3D%22Check%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
668
|
+
.small & {
|
|
669
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.19126392%2C3.4118283%20C9.51610217%2C2.9651757%2010.1415191%2C2.86642566%2010.5881717%2C3.19126392%20C11.0348243%2C3.51610217%2011.1335743%2C4.14151909%2010.8087361%2C4.5881717%20L6.80873608%2C10.0881717%20C6.44731516%2C10.5851255%205.72739761%2C10.6416112%205.29289322%2C10.2071068%20L2.79289322%2C7.70710678%20C2.40236893%2C7.31658249%202.40236893%2C6.68341751%202.79289322%2C6.29289322%20C3.18341751%2C5.90236893%203.81658249%2C5.90236893%204.20710678%2C6.29289322%20L5.879%2C7.964%20L9.19126392%2C3.4118283%20Z%22%20id%3D%22Check%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
763
670
|
}
|
|
764
671
|
}
|
|
765
|
-
&:indeterminate
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
background-image: linear-gradient( 180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100% );
|
|
770
|
-
&:after {
|
|
771
|
-
border: none;
|
|
772
|
-
content: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%20x%3D%224%22%20y%3D%227.75%22%20width%3D%2210%22%20height%3D%222.5%22%20rx%3D%221.25%22%3E%3C%2Frect%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
672
|
+
&:indeterminate:after {
|
|
673
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%20x%3D%224%22%20y%3D%227.75%22%20width%3D%2210%22%20height%3D%222.5%22%20rx%3D%221.25%22%3E%3C%2Frect%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
674
|
+
.small & {
|
|
675
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%20x%3D%223%22%20y%3D%226%22%20width%3D%228%22%20height%3D%222%22%20rx%3D%221%22%3E%3C%2Frect%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
773
676
|
}
|
|
774
677
|
}
|
|
775
678
|
}
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
679
|
+
}
|
|
680
|
+
&.small {
|
|
681
|
+
--ui-checkbox-size: 16px;
|
|
682
|
+
input {
|
|
683
|
+
&:before {
|
|
684
|
+
outline-width: 1px;
|
|
779
685
|
}
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
border-color: var(--color-grey-20);
|
|
783
|
-
&:after {
|
|
784
|
-
border: none;
|
|
785
|
-
}
|
|
686
|
+
&:checked:after {
|
|
687
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.19126392%2C3.4118283%20C9.51610217%2C2.9651757%2010.1415191%2C2.86642566%2010.5881717%2C3.19126392%20C11.0348243%2C3.51610217%2011.1335743%2C4.14151909%2010.8087361%2C4.5881717%20L6.80873608%2C10.0881717%20C6.44731516%2C10.5851255%205.72739761%2C10.6416112%205.29289322%2C10.2071068%20L2.79289322%2C7.70710678%20C2.40236893%2C7.31658249%202.40236893%2C6.68341751%202.79289322%2C6.29289322%20C3.18341751%2C5.90236893%203.81658249%2C5.90236893%204.20710678%2C6.29289322%20L5.879%2C7.964%20L9.19126392%2C3.4118283%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-23.5%25%22%20y%3D%22-13.3%25%22%20width%3D%22147.1%25%22%20height%3D%22153.3%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%221%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%220.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200%20%20%200%200%200%200%200%20%20%200%200%200%200%200%20%200%200%200%200.50467111%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%0A%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Check%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url(%23filter-2)%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22%23FFFFFF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
786
688
|
}
|
|
787
|
-
&:
|
|
788
|
-
|
|
789
|
-
border-color: var(--color-grey-30);
|
|
790
|
-
background-image: linear-gradient( 180deg, rgba(211, 209, 207, 1) 0%, rgba(211, 209, 207, 1) 100% );
|
|
689
|
+
&:indeterminate:after {
|
|
690
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%223%22%20y%3D%226%22%20width%3D%228%22%20height%3D%222%22%20rx%3D%221%22%3E%3C%2Frect%3E%0A%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-25.0%25%22%20y%3D%22-50.0%25%22%20width%3D%22150.0%25%22%20height%3D%22300.0%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%221%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%220.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200%20%20%200%200%200%200%200%20%20%200%200%200%200%200%20%200%200%200%200.50467111%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%0A%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Rectangle%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url(%23filter-2)%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22%23FFFFFF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
791
691
|
}
|
|
792
|
-
&:
|
|
793
|
-
&:after {
|
|
794
|
-
|
|
795
|
-
|
|
692
|
+
&:disabled {
|
|
693
|
+
&:checked:after {
|
|
694
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.19126392%2C3.4118283%20C9.51610217%2C2.9651757%2010.1415191%2C2.86642566%2010.5881717%2C3.19126392%20C11.0348243%2C3.51610217%2011.1335743%2C4.14151909%2010.8087361%2C4.5881717%20L6.80873608%2C10.0881717%20C6.44731516%2C10.5851255%205.72739761%2C10.6416112%205.29289322%2C10.2071068%20L2.79289322%2C7.70710678%20C2.40236893%2C7.31658249%202.40236893%2C6.68341751%202.79289322%2C6.29289322%20C3.18341751%2C5.90236893%203.81658249%2C5.90236893%204.20710678%2C6.29289322%20L5.879%2C7.964%20L9.19126392%2C3.4118283%20Z%22%20id%3D%22Check%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
695
|
+
}
|
|
696
|
+
&:indeterminate:after {
|
|
697
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%20x%3D%223%22%20y%3D%226%22%20width%3D%228%22%20height%3D%222%22%20rx%3D%221%22%3E%3C%2Frect%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
796
698
|
}
|
|
797
699
|
}
|
|
798
|
-
|
|
799
|
-
&:after {
|
|
800
|
-
|
|
801
|
-
|
|
700
|
+
&.read-only {
|
|
701
|
+
&:checked:after {
|
|
702
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.19126392%2C3.4118283%20C9.51610217%2C2.9651757%2010.1415191%2C2.86642566%2010.5881717%2C3.19126392%20C11.0348243%2C3.51610217%2011.1335743%2C4.14151909%2010.8087361%2C4.5881717%20L6.80873608%2C10.0881717%20C6.44731516%2C10.5851255%205.72739761%2C10.6416112%205.29289322%2C10.2071068%20L2.79289322%2C7.70710678%20C2.40236893%2C7.31658249%202.40236893%2C6.68341751%202.79289322%2C6.29289322%20C3.18341751%2C5.90236893%203.81658249%2C5.90236893%204.20710678%2C6.29289322%20L5.879%2C7.964%20L9.19126392%2C3.4118283%20Z%22%20id%3D%22Check%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
703
|
+
}
|
|
704
|
+
&:indeterminate:after {
|
|
705
|
+
background-image: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2214px%22%20height%3D%2214px%22%20viewBox%3D%220%200%2014%2014%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EArtboard%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22Artboard%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle%22%20fill%3D%22%235C5955%22%20fill-rule%3D%22nonzero%22%20x%3D%223%22%20y%3D%226%22%20width%3D%228%22%20height%3D%222%22%20rx%3D%221%22%3E%3C%2Frect%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E');
|
|
802
706
|
}
|
|
803
707
|
}
|
|
804
708
|
}
|
|
805
709
|
}
|
|
806
710
|
}
|
|
711
|
+
.ui-checkbox {
|
|
712
|
+
display: grid;
|
|
713
|
+
grid: auto / minmax(calc(var(--ui-checkbox-size) + 6px), auto);
|
|
714
|
+
align-items: center;
|
|
715
|
+
width: fit-content;
|
|
716
|
+
margin-bottom: unset;
|
|
717
|
+
&.with-label, &.with-hint {
|
|
718
|
+
grid-template-columns: auto auto;
|
|
719
|
+
margin-bottom: 0.3rem;
|
|
720
|
+
}
|
|
721
|
+
&.with-hint {
|
|
722
|
+
grid-template-rows: minmax(calc(var(--ui-checkbox-size) + 6px), auto) auto;
|
|
723
|
+
}
|
|
724
|
+
.label, .hint {
|
|
725
|
+
grid-column: 2;
|
|
726
|
+
cursor: pointer;
|
|
727
|
+
}
|
|
728
|
+
.label {
|
|
729
|
+
line-height: var(--ui-checkbox-size);
|
|
730
|
+
}
|
|
731
|
+
&.small .label {
|
|
732
|
+
font-size: 0.875rem;
|
|
733
|
+
}
|
|
734
|
+
.hint {
|
|
735
|
+
font-size: 0.875rem;
|
|
736
|
+
color: var(--color-grey-50);
|
|
737
|
+
}
|
|
738
|
+
input:disabled {
|
|
739
|
+
& ~ .label, & ~ .hint {
|
|
740
|
+
cursor: default;
|
|
741
|
+
color: var(--color-grey-30);
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
.read-only {
|
|
745
|
+
& ~ .label, & ~ .hint {
|
|
746
|
+
cursor: default;
|
|
747
|
+
color: var(--color-grey-50);
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
column-gap: 8px;
|
|
751
|
+
&.small {
|
|
752
|
+
column-gap: 6px;
|
|
753
|
+
}
|
|
754
|
+
}
|
|
807
755
|
.checkbox-list ul {
|
|
808
756
|
margin-left: 1.25rem;
|
|
809
757
|
&.small {
|
|
@@ -1282,6 +1230,12 @@
|
|
|
1282
1230
|
font-size: 0.875rem;
|
|
1283
1231
|
padding: 0.188rem 0.5rem 0.188rem 0.438rem;
|
|
1284
1232
|
border-radius: 0.188rem;
|
|
1233
|
+
&.with-icons-1 {
|
|
1234
|
+
padding-right: 35px;
|
|
1235
|
+
}
|
|
1236
|
+
&.with-icons-2 {
|
|
1237
|
+
padding-right: 54px;
|
|
1238
|
+
}
|
|
1285
1239
|
&.with-leading-only {
|
|
1286
1240
|
border-radius: 0 0.25rem 0.25rem 0;
|
|
1287
1241
|
}
|
|
@@ -1670,13 +1624,14 @@
|
|
|
1670
1624
|
display: flex;
|
|
1671
1625
|
flex-direction: row;
|
|
1672
1626
|
gap: var(--spacing);
|
|
1673
|
-
padding:
|
|
1627
|
+
padding: var(--spacing);
|
|
1674
1628
|
width: fit-content;
|
|
1675
1629
|
.segmented-control-option {
|
|
1676
1630
|
border-radius: calc(var(--spacing) * 1.5);
|
|
1677
|
-
border:
|
|
1631
|
+
border: 1px solid transparent;
|
|
1678
1632
|
color: gray;
|
|
1679
1633
|
cursor: pointer;
|
|
1634
|
+
width: 100%;
|
|
1680
1635
|
height: auto;
|
|
1681
1636
|
margin: 0;
|
|
1682
1637
|
padding: var(--spacing);
|
|
@@ -1700,6 +1655,17 @@
|
|
|
1700
1655
|
}
|
|
1701
1656
|
}
|
|
1702
1657
|
}
|
|
1658
|
+
.segmented-control.small {
|
|
1659
|
+
border-radius: 8px;
|
|
1660
|
+
width: 60px;
|
|
1661
|
+
height: 32px;
|
|
1662
|
+
.segmented-control-option {
|
|
1663
|
+
padding: calc(var(--spacing) * 0.25);
|
|
1664
|
+
}
|
|
1665
|
+
.segmented-control-option.checked {
|
|
1666
|
+
border: 1px solid var(--color-grey-40);
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1703
1669
|
.ui-range-wrapper {
|
|
1704
1670
|
width: 112px;
|
|
1705
1671
|
height: 10px;
|