@sproutsocial/racine 10.0.1-dependencies.0 → 10.0.2-menuCSS.0

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.
@@ -1,1316 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Listbox AsListbox multiselect should match snapshot 1`] = `
4
- .c5 {
5
- display: inline-block;
6
- color: inherit;
7
- vertical-align: middle;
8
- line-height: 16px;
9
- }
10
-
11
- .c5,
12
- .c5 .Icon-svg {
13
- height: 16px;
14
- fill: currentColor;
15
- }
16
-
17
- .c5,
18
- .c5 .Icon-svg {
19
- width: 16px;
20
- }
21
-
22
- _:-ms-fullscreen .c4,
23
- html .c5 {
24
- width: 16px;
25
- }
26
-
27
- .pdf-page .c4 {
28
- width: 16px;
29
- }
30
-
31
- .c1 {
32
- display: inline-block;
33
- box-sizing: border-box;
34
- text-align: center;
35
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
36
- border: 1px solid transparent;
37
- border-radius: 6px;
38
- border-style: solid;
39
- background: transparent;
40
- color: #515e5f;
41
- cursor: pointer;
42
- -webkit-text-decoration: none;
43
- text-decoration: none;
44
- line-height: 16px;
45
- white-space: nowrap;
46
- font-weight: 700;
47
- -webkit-transition: all .15s linear;
48
- transition: all .15s linear;
49
- margin: 0;
50
- padding: 8px;
51
- font-size: 13px;
52
- min-width: 150px;
53
- }
54
-
55
- .c1:visited {
56
- color: #515e5f;
57
- }
58
-
59
- .c1:hover {
60
- color: #273333;
61
- -webkit-text-decoration: none;
62
- text-decoration: none;
63
- box-shadow: none;
64
- }
65
-
66
- .c1:active {
67
- color: #273333;
68
- -webkit-transform: translateY(1px);
69
- -ms-transform: translateY(1px);
70
- transform: translateY(1px);
71
- }
72
-
73
- .c1:focus {
74
- box-shadow: 0 0 0 1px #2079c3,0 0px 0px 4px rgba(32,121,195,0.3);
75
- outline: none;
76
- }
77
-
78
- .c1:focus::-moz-focus-inner {
79
- border: 0;
80
- }
81
-
82
- .c1:focus:active {
83
- box-shadow: none;
84
- }
85
-
86
- .c1 .c4 {
87
- vertical-align: text-bottom;
88
- }
89
-
90
- .c0 {
91
- display: inline-block;
92
- }
93
-
94
- .c3 {
95
- position: absolute;
96
- top: 48%;
97
- right: 12px;
98
- -webkit-transform: translateY(-50%);
99
- -ms-transform: translateY(-50%);
100
- transform: translateY(-50%);
101
- color: #364141;
102
- pointer-events: none;
103
- }
104
-
105
- .c2 {
106
- position: relative;
107
- width: 100%;
108
- border: 1px solid #b0b6b7;
109
- border-radius: 6px;
110
- background-color: #FFFFFF;
111
- color: #364141;
112
- cursor: pointer;
113
- outline: none;
114
- -webkit-appearance: none;
115
- -moz-appearance: none;
116
- appearance: none;
117
- -webkit-transition: border-color .15s cubic-bezier(.4,0,.7,.2),box-shadow .15s cubic-bezier(.4,0,.7,.2);
118
- transition: border-color .15s cubic-bezier(.4,0,.7,.2),box-shadow .15s cubic-bezier(.4,0,.7,.2);
119
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
120
- font-weight: 400;
121
- text-align: left;
122
- margin: 0;
123
- padding: 8px 32px 8px 8px;
124
- font-size: 13px;
125
- }
126
-
127
- .c2:active {
128
- -webkit-transform: none;
129
- -ms-transform: none;
130
- transform: none;
131
- }
132
-
133
- <body>
134
- <div>
135
- <div
136
- class="c0"
137
- >
138
- <button
139
- aria-expanded="false"
140
- aria-haspopup="true"
141
- aria-label="Favorite Fruit Select a fruit"
142
- class="c1 c2"
143
- data-qa-button=""
144
- data-qa-button-isdisabled="false"
145
- id="MenuButton-20"
146
- type="button"
147
- >
148
- Select a fruit
149
- <span
150
- class="c3"
151
- >
152
- <span
153
- class="c4 c5 Icon"
154
- data-qa-icon="chevron-down"
155
- >
156
- <svg
157
- class="Icon-svg"
158
- focusable="false"
159
- viewBox="0 0 16 18"
160
- >
161
- <use
162
- xlink:href="#ssiconsvg-chevron-down"
163
- xmlns:xlink="http://www.w3.org/1999/xlink"
164
- />
165
- </svg>
166
- </span>
167
- </span>
168
- </button>
169
- </div>
170
- </div>
171
- </body>
172
- `;
173
-
174
- exports[`Listbox AsListbox should match snapshot 1`] = `
175
- .c6 {
176
- display: inline-block;
177
- color: inherit;
178
- vertical-align: middle;
179
- line-height: 16px;
180
- }
181
-
182
- .c6,
183
- .c6 .Icon-svg {
184
- height: 16px;
185
- fill: currentColor;
186
- }
187
-
188
- _:-ms-fullscreen .c5,
189
- html .c6 {
190
- width: 16px;
191
- }
192
-
193
- .pdf-page .c5 {
194
- width: 16px;
195
- }
196
-
197
- .c0 {
198
- display: inline-block;
199
- box-sizing: border-box;
200
- text-align: center;
201
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
202
- border: 1px solid transparent;
203
- border-radius: 6px;
204
- border-style: solid;
205
- background: #2079c3;
206
- color: #FFFFFF;
207
- cursor: pointer;
208
- -webkit-text-decoration: none;
209
- text-decoration: none;
210
- line-height: 16px;
211
- white-space: nowrap;
212
- font-weight: 700;
213
- -webkit-transition: all .15s linear;
214
- transition: all .15s linear;
215
- margin: 0;
216
- padding: 8px;
217
- font-size: 13px;
218
- min-width: 100px;
219
- }
220
-
221
- .c0:visited {
222
- color: #FFFFFF;
223
- }
224
-
225
- .c0:hover {
226
- color: #FFFFFF;
227
- background: #116daa;
228
- -webkit-text-decoration: none;
229
- text-decoration: none;
230
- box-shadow: none;
231
- }
232
-
233
- .c0:active {
234
- color: #FFFFFF;
235
- background: #0c5689;
236
- -webkit-transform: translateY(1px);
237
- -ms-transform: translateY(1px);
238
- transform: translateY(1px);
239
- }
240
-
241
- .c0:focus {
242
- box-shadow: 0 0 0 1px #2079c3,0 0px 0px 4px rgba(32,121,195,0.3);
243
- outline: none;
244
- }
245
-
246
- .c0:focus::-moz-focus-inner {
247
- border: 0;
248
- }
249
-
250
- .c0:focus:active {
251
- box-shadow: none;
252
- }
253
-
254
- .c0 .c5 {
255
- vertical-align: text-bottom;
256
- }
257
-
258
- .c3 {
259
- display: inline-block;
260
- box-sizing: border-box;
261
- text-align: center;
262
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
263
- border: 1px solid transparent;
264
- border-radius: 6px;
265
- border-style: solid;
266
- background: #2079c3;
267
- color: #FFFFFF;
268
- cursor: pointer;
269
- -webkit-text-decoration: none;
270
- text-decoration: none;
271
- line-height: 16px;
272
- white-space: nowrap;
273
- font-weight: 700;
274
- -webkit-transition: all .15s linear;
275
- transition: all .15s linear;
276
- margin: 0;
277
- padding: 8px;
278
- font-size: 13px;
279
- }
280
-
281
- .c3:visited {
282
- color: #FFFFFF;
283
- }
284
-
285
- .c3:hover {
286
- color: #FFFFFF;
287
- background: #116daa;
288
- -webkit-text-decoration: none;
289
- text-decoration: none;
290
- box-shadow: none;
291
- }
292
-
293
- .c3:active {
294
- color: #FFFFFF;
295
- background: #0c5689;
296
- -webkit-transform: translateY(1px);
297
- -ms-transform: translateY(1px);
298
- transform: translateY(1px);
299
- }
300
-
301
- .c3:focus {
302
- box-shadow: 0 0 0 1px #2079c3,0 0px 0px 4px rgba(32,121,195,0.3);
303
- outline: none;
304
- }
305
-
306
- .c3:focus::-moz-focus-inner {
307
- border: 0;
308
- }
309
-
310
- .c3:focus:active {
311
- box-shadow: none;
312
- }
313
-
314
- .c3 .c5 {
315
- vertical-align: text-bottom;
316
- }
317
-
318
- .c2 {
319
- display: inline-block;
320
- }
321
-
322
- .c1 {
323
- border-top-right-radius: 0;
324
- border-bottom-right-radius: 0;
325
- border-right: 1px solid white;
326
- }
327
-
328
- .c4 {
329
- border-top-left-radius: 0;
330
- border-bottom-left-radius: 0;
331
- }
332
-
333
- <body>
334
- <div>
335
- <button
336
- class="c0 c1"
337
- data-qa-button=""
338
- data-qa-button-isdisabled="false"
339
- type="button"
340
- >
341
- Select a fruit
342
- </button>
343
- <div
344
- class="c2"
345
- >
346
- <button
347
- aria-expanded="false"
348
- aria-haspopup="true"
349
- aria-label="Select a fruit"
350
- class="c3 c4"
351
- data-qa-button=""
352
- data-qa-button-isdisabled="false"
353
- id="MenuButton-1"
354
- type="button"
355
- >
356
- <span
357
- class="c5 c6 Icon"
358
- data-qa-icon="chevron-down"
359
- >
360
- <svg
361
- class="Icon-svg"
362
- focusable="false"
363
- viewBox="0 0 16 18"
364
- >
365
- <use
366
- xlink:href="#ssiconsvg-chevron-down"
367
- xmlns:xlink="http://www.w3.org/1999/xlink"
368
- />
369
- </svg>
370
- </span>
371
- </button>
372
- </div>
373
- </div>
374
- </body>
375
- `;
376
-
377
- exports[`Listbox AsListbox with checkboxes should match snapshot 1`] = `
378
- .c0 {
379
- box-sizing: border-box;
380
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
381
- margin: 0px;
382
- padding: 0px;
383
- width: 200px;
384
- overflow: hidden;
385
- }
386
-
387
- .c2 {
388
- box-sizing: border-box;
389
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
390
- margin: 8px;
391
- padding: 8px;
392
- }
393
-
394
- .c3 {
395
- box-sizing: border-box;
396
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
397
- }
398
-
399
- .c6 {
400
- display: block;
401
- width: 100%;
402
- border-radius: 6px;
403
- background-color: transparent;
404
- border: none;
405
- text-align: left;
406
- color: #364141;
407
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
408
- font-weight: 400;
409
- padding: 6px 8px;
410
- list-style-type: none;
411
- outline: 0;
412
- font-size: 13px;
413
- line-height: 21.333333333333332px;
414
- }
415
-
416
- .c6:focus,
417
- .c6:hover {
418
- color: #364141;
419
- background-color: #f3f4f4;
420
- }
421
-
422
- .c6:focus .Icon-svg,
423
- .c6:hover .Icon-svg {
424
- color: unset;
425
- }
426
-
427
- .c6:hover {
428
- cursor: pointer;
429
- }
430
-
431
- .c4 {
432
- display: block;
433
- width: 100%;
434
- border-radius: 6px;
435
- background-color: transparent;
436
- border: none;
437
- text-align: left;
438
- color: #364141;
439
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
440
- font-weight: 400;
441
- padding: 6px 8px;
442
- list-style-type: none;
443
- outline: 0;
444
- font-size: 13px;
445
- line-height: 21.333333333333332px;
446
- color: #FFFFFF;
447
- background-color: #364141;
448
- }
449
-
450
- .c4 .Icon-svg {
451
- color: #FFFFFF;
452
- }
453
-
454
- .c4:focus,
455
- .c4:hover {
456
- color: #364141;
457
- background-color: #f3f4f4;
458
- }
459
-
460
- .c4:focus .Icon-svg,
461
- .c4:hover .Icon-svg {
462
- color: unset;
463
- }
464
-
465
- .c4:hover {
466
- cursor: pointer;
467
- }
468
-
469
- .c1 {
470
- list-style-type: none;
471
- outline: 0;
472
- }
473
-
474
- .c5 {
475
- display: -webkit-inline-box;
476
- display: -webkit-inline-flex;
477
- display: -ms-inline-flexbox;
478
- display: inline-flex;
479
- -webkit-align-items: center;
480
- -webkit-box-align: center;
481
- -ms-flex-align: center;
482
- align-items: center;
483
- box-sizing: border-box;
484
- position: relative;
485
- -webkit-transition: all .15s cubic-bezier(.4,0,.7,.2);
486
- transition: all .15s cubic-bezier(.4,0,.7,.2);
487
- margin-right: 8px;
488
- }
489
-
490
- @supports (-webkit-appearance:none) {
491
- .c5:before {
492
- content: url("data:image/svg+xml;utf8,<svg width='14' height='14' xmlns='http://www.w3.org/2000/svg'><path d='M5.378 11.37L2 7.59l1.438-1.286L5.374 8.47l5.185-5.84L12 3.91l-6.622 7.46' fill='%23b0b6b7'/></svg>");
493
- opacity: 0;
494
- position: absolute;
495
- width: 16px;
496
- height: 16px;
497
- text-align: center;
498
- -webkit-transform: translateY(1px);
499
- -ms-transform: translateY(1px);
500
- transform: translateY(1px);
501
- line-height: 1;
502
- margin: auto;
503
- pointer-events: none;
504
- -webkit-transition: .15s cubic-bezier(.4,0,.2,1);
505
- transition: .15s cubic-bezier(.4,0,.2,1);
506
- }
507
-
508
- .c5:hover:before {
509
- opacity: 1;
510
- }
511
-
512
- .c5 input[type='checkbox'] {
513
- box-sizing: border-box;
514
- -webkit-appearance: none;
515
- -moz-appearance: none;
516
- appearance: none;
517
- margin: 0;
518
- padding: 0;
519
- width: 16px;
520
- height: 16px;
521
- border: 1px solid #b0b6b7;
522
- border-radius: 4px;
523
- background-color: #FFFFFF;
524
- -webkit-transition: all .15s cubic-bezier(.4,0,.7,.2);
525
- transition: all .15s cubic-bezier(.4,0,.7,.2);
526
- cursor: pointer;
527
- -webkit-flex-shrink: 0;
528
- -ms-flex-negative: 0;
529
- flex-shrink: 0;
530
- }
531
-
532
- .c5 input[type='checkbox']:not(:checked) {
533
- border-color: #c8cccc !important;
534
- background-color: #FFFFFF;
535
- }
536
-
537
- .c5 input[type='checkbox']:checked {
538
- border-color: #364141;
539
- background-color: #364141;
540
- }
541
-
542
- .c5 input[type='checkbox']:focus {
543
- box-shadow: 0 0 0 1px #2079c3,0 0px 0px 4px rgba(32,121,195,0.3);
544
- outline: none;
545
- }
546
-
547
- .c5 input[type='checkbox']:focus::-moz-focus-inner {
548
- border: 0;
549
- }
550
- }
551
-
552
- <body>
553
- <div>
554
- <ul
555
- aria-activedescendant="MenuItem-28"
556
- aria-multiselectable="true"
557
- class="c0 c1"
558
- overflow="hidden"
559
- role="listbox"
560
- tabindex="0"
561
- width="200px"
562
- >
563
- <div
564
- class="c2"
565
- role="group"
566
- >
567
- <li
568
- aria-checked="false"
569
- class="c3 c4"
570
- data-qa-menu-item="Apple"
571
- data-value="Apple"
572
- id="MenuItem-28"
573
- role="menuitemcheckbox"
574
- tabindex="-1"
575
- value="Apple"
576
- >
577
- <div
578
- style="display: flex; align-items: center; justify-content: space-between;"
579
- >
580
- <span
581
- aria-hidden="true"
582
- class="c5"
583
- >
584
- <input
585
- data-qa-checkbox="Checkbox-MenuItem-28"
586
- data-qa-checkbox-ischecked="false"
587
- data-qa-checkbox-isdisabled="false"
588
- id="Checkbox-MenuItem-28"
589
- tabindex="-1"
590
- type="checkbox"
591
- value=""
592
- />
593
- </span>
594
- <div
595
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
596
- >
597
- Apple
598
- </div>
599
- </div>
600
- </li>
601
- <li
602
- aria-checked="false"
603
- class="c3 c6"
604
- data-qa-menu-item="Banana"
605
- data-value="Banana"
606
- id="MenuItem-29"
607
- role="menuitemcheckbox"
608
- tabindex="-1"
609
- value="Banana"
610
- >
611
- <div
612
- style="display: flex; align-items: center; justify-content: space-between;"
613
- >
614
- <span
615
- aria-hidden="true"
616
- class="c5"
617
- >
618
- <input
619
- data-qa-checkbox="Checkbox-MenuItem-29"
620
- data-qa-checkbox-ischecked="false"
621
- data-qa-checkbox-isdisabled="false"
622
- id="Checkbox-MenuItem-29"
623
- tabindex="-1"
624
- type="checkbox"
625
- value=""
626
- />
627
- </span>
628
- <div
629
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
630
- >
631
- Banana
632
- </div>
633
- </div>
634
- </li>
635
- <li
636
- aria-checked="false"
637
- class="c3 c6"
638
- data-qa-menu-item="Orange"
639
- data-value="Orange"
640
- id="MenuItem-30"
641
- role="menuitemcheckbox"
642
- tabindex="-1"
643
- value="Orange"
644
- >
645
- <div
646
- style="display: flex; align-items: center; justify-content: space-between;"
647
- >
648
- <span
649
- aria-hidden="true"
650
- class="c5"
651
- >
652
- <input
653
- data-qa-checkbox="Checkbox-MenuItem-30"
654
- data-qa-checkbox-ischecked="false"
655
- data-qa-checkbox-isdisabled="false"
656
- id="Checkbox-MenuItem-30"
657
- tabindex="-1"
658
- type="checkbox"
659
- value=""
660
- />
661
- </span>
662
- <div
663
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
664
- >
665
- Orange
666
- </div>
667
- </div>
668
- </li>
669
- </div>
670
- </ul>
671
- </div>
672
- </body>
673
- `;
674
-
675
- exports[`Listbox AsListbox with filter input should match snapshot 1`] = `
676
- .c0 {
677
- box-sizing: border-box;
678
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
679
- margin: 0px;
680
- padding: 0px;
681
- width: 200px;
682
- overflow: hidden;
683
- }
684
-
685
- .c2 {
686
- box-sizing: border-box;
687
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
688
- margin: 8px;
689
- padding: 8px;
690
- }
691
-
692
- .c4 {
693
- box-sizing: border-box;
694
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
695
- }
696
-
697
- .c7 {
698
- display: block;
699
- width: 100%;
700
- border-radius: 6px;
701
- background-color: transparent;
702
- border: none;
703
- text-align: left;
704
- color: #364141;
705
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
706
- font-weight: 400;
707
- padding: 6px 8px;
708
- list-style-type: none;
709
- outline: 0;
710
- font-size: 13px;
711
- line-height: 21.333333333333332px;
712
- }
713
-
714
- .c7:focus,
715
- .c7:hover {
716
- color: #364141;
717
- background-color: #f3f4f4;
718
- }
719
-
720
- .c7:focus .Icon-svg,
721
- .c7:hover .Icon-svg {
722
- color: unset;
723
- }
724
-
725
- .c7:hover {
726
- cursor: pointer;
727
- }
728
-
729
- .c5 {
730
- display: block;
731
- width: 100%;
732
- border-radius: 6px;
733
- background-color: transparent;
734
- border: none;
735
- text-align: left;
736
- color: #364141;
737
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
738
- font-weight: 400;
739
- padding: 6px 8px;
740
- list-style-type: none;
741
- outline: 0;
742
- font-size: 13px;
743
- line-height: 21.333333333333332px;
744
- color: #FFFFFF;
745
- background-color: #364141;
746
- }
747
-
748
- .c5 .Icon-svg {
749
- color: #FFFFFF;
750
- }
751
-
752
- .c5:focus,
753
- .c5:hover {
754
- color: #364141;
755
- background-color: #f3f4f4;
756
- }
757
-
758
- .c5:focus .Icon-svg,
759
- .c5:hover .Icon-svg {
760
- color: unset;
761
- }
762
-
763
- .c5:hover {
764
- cursor: pointer;
765
- }
766
-
767
- .c1 {
768
- list-style-type: none;
769
- outline: 0;
770
- }
771
-
772
- .c6 {
773
- display: -webkit-inline-box;
774
- display: -webkit-inline-flex;
775
- display: -ms-inline-flexbox;
776
- display: inline-flex;
777
- -webkit-align-items: center;
778
- -webkit-box-align: center;
779
- -ms-flex-align: center;
780
- align-items: center;
781
- box-sizing: border-box;
782
- position: relative;
783
- -webkit-transition: all .15s cubic-bezier(.4,0,.7,.2);
784
- transition: all .15s cubic-bezier(.4,0,.7,.2);
785
- margin-right: 8px;
786
- }
787
-
788
- .c3 {
789
- box-sizing: border-box;
790
- position: relative;
791
- }
792
-
793
- .c3 input {
794
- box-sizing: border-box;
795
- width: 100%;
796
- border: 1px solid transparent;
797
- border-radius: 6px;
798
- background-color: #FFFFFF;
799
- color: #364141;
800
- outline: none;
801
- -webkit-transition: border-color .15s cubic-bezier(.4,0,.7,.2),box-shadow .15s cubic-bezier(.4,0,.7,.2);
802
- transition: border-color .15s cubic-bezier(.4,0,.7,.2),box-shadow .15s cubic-bezier(.4,0,.7,.2);
803
- font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
804
- font-weight: 400;
805
- -webkit-appearance: none;
806
- -moz-appearance: none;
807
- appearance: none;
808
- line-height: 16px;
809
- margin: 0;
810
- padding: 8px;
811
- font-size: 13px;
812
- }
813
-
814
- .c3 input::-ms-clear {
815
- display: none;
816
- }
817
-
818
- .c3 input::-webkit-search-cancel-button {
819
- -webkit-appearance: none;
820
- -moz-appearance: none;
821
- appearance: none;
822
- }
823
-
824
- .c3 input:focus {
825
- box-shadow: 0 0 0 1px #2079c3,0 0px 0px 4px rgba(32,121,195,0.3);
826
- outline: none;
827
- }
828
-
829
- .c3 input:focus::-moz-focus-inner {
830
- border: 0;
831
- }
832
-
833
- .c3 input:not(output):not(:focus):-moz-ui-invalid {
834
- box-shadow: none;
835
- }
836
-
837
- .c3 input:placeholder {
838
- color: #6e797a;
839
- }
840
-
841
- .c3 input {
842
- border: 1px solid #b0b6b7;
843
- }
844
-
845
- @supports (-webkit-appearance:none) {
846
- .c6:before {
847
- content: url("data:image/svg+xml;utf8,<svg width='14' height='14' xmlns='http://www.w3.org/2000/svg'><path d='M5.378 11.37L2 7.59l1.438-1.286L5.374 8.47l5.185-5.84L12 3.91l-6.622 7.46' fill='%23b0b6b7'/></svg>");
848
- opacity: 0;
849
- position: absolute;
850
- width: 16px;
851
- height: 16px;
852
- text-align: center;
853
- -webkit-transform: translateY(1px);
854
- -ms-transform: translateY(1px);
855
- transform: translateY(1px);
856
- line-height: 1;
857
- margin: auto;
858
- pointer-events: none;
859
- -webkit-transition: .15s cubic-bezier(.4,0,.2,1);
860
- transition: .15s cubic-bezier(.4,0,.2,1);
861
- }
862
-
863
- .c6:hover:before {
864
- opacity: 1;
865
- }
866
-
867
- .c6 input[type='checkbox'] {
868
- box-sizing: border-box;
869
- -webkit-appearance: none;
870
- -moz-appearance: none;
871
- appearance: none;
872
- margin: 0;
873
- padding: 0;
874
- width: 16px;
875
- height: 16px;
876
- border: 1px solid #b0b6b7;
877
- border-radius: 4px;
878
- background-color: #FFFFFF;
879
- -webkit-transition: all .15s cubic-bezier(.4,0,.7,.2);
880
- transition: all .15s cubic-bezier(.4,0,.7,.2);
881
- cursor: pointer;
882
- -webkit-flex-shrink: 0;
883
- -ms-flex-negative: 0;
884
- flex-shrink: 0;
885
- }
886
-
887
- .c6 input[type='checkbox']:not(:checked) {
888
- border-color: #c8cccc !important;
889
- background-color: #FFFFFF;
890
- }
891
-
892
- .c6 input[type='checkbox']:checked {
893
- border-color: #364141;
894
- background-color: #364141;
895
- }
896
-
897
- .c6 input[type='checkbox']:focus {
898
- box-shadow: 0 0 0 1px #2079c3,0 0px 0px 4px rgba(32,121,195,0.3);
899
- outline: none;
900
- }
901
-
902
- .c6 input[type='checkbox']:focus::-moz-focus-inner {
903
- border: 0;
904
- }
905
- }
906
-
907
- <body>
908
- <div>
909
- <ul
910
- aria-activedescendant="MenuItem-34"
911
- aria-multiselectable="true"
912
- class="c0 c1"
913
- overflow="hidden"
914
- role="listbox"
915
- tabindex="0"
916
- width="200px"
917
- >
918
- <div
919
- class="c2"
920
- role="group"
921
- >
922
- <div
923
- class="c3"
924
- >
925
- <input
926
- aria-invalid="false"
927
- aria-label="Search fruit..."
928
- data-qa-input="refineFruit"
929
- data-qa-input-isdisabled="false"
930
- data-qa-input-isrequired="false"
931
- id="refineFruit"
932
- name="refineFruit"
933
- placeholder="Search fruit..."
934
- type="text"
935
- value=""
936
- />
937
- </div>
938
- <li
939
- aria-checked="false"
940
- class="c4 c5"
941
- data-qa-menu-item="Apple"
942
- data-value="Apple"
943
- id="MenuItem-34"
944
- role="menuitemcheckbox"
945
- tabindex="-1"
946
- value="Apple"
947
- >
948
- <div
949
- style="display: flex; align-items: center; justify-content: space-between;"
950
- >
951
- <span
952
- aria-hidden="true"
953
- class="c6"
954
- >
955
- <input
956
- data-qa-checkbox="Checkbox-MenuItem-34"
957
- data-qa-checkbox-ischecked="false"
958
- data-qa-checkbox-isdisabled="false"
959
- id="Checkbox-MenuItem-34"
960
- tabindex="-1"
961
- type="checkbox"
962
- value=""
963
- />
964
- </span>
965
- <div
966
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
967
- >
968
- Apple
969
- </div>
970
- </div>
971
- </li>
972
- <li
973
- aria-checked="false"
974
- class="c4 c7"
975
- data-qa-menu-item="Banana"
976
- data-value="Banana"
977
- id="MenuItem-35"
978
- role="menuitemcheckbox"
979
- tabindex="-1"
980
- value="Banana"
981
- >
982
- <div
983
- style="display: flex; align-items: center; justify-content: space-between;"
984
- >
985
- <span
986
- aria-hidden="true"
987
- class="c6"
988
- >
989
- <input
990
- data-qa-checkbox="Checkbox-MenuItem-35"
991
- data-qa-checkbox-ischecked="false"
992
- data-qa-checkbox-isdisabled="false"
993
- id="Checkbox-MenuItem-35"
994
- tabindex="-1"
995
- type="checkbox"
996
- value=""
997
- />
998
- </span>
999
- <div
1000
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
1001
- >
1002
- Banana
1003
- </div>
1004
- </div>
1005
- </li>
1006
- <li
1007
- aria-checked="false"
1008
- class="c4 c7"
1009
- data-qa-menu-item="Orange"
1010
- data-value="Orange"
1011
- id="MenuItem-36"
1012
- role="menuitemcheckbox"
1013
- tabindex="-1"
1014
- value="Orange"
1015
- >
1016
- <div
1017
- style="display: flex; align-items: center; justify-content: space-between;"
1018
- >
1019
- <span
1020
- aria-hidden="true"
1021
- class="c6"
1022
- >
1023
- <input
1024
- data-qa-checkbox="Checkbox-MenuItem-36"
1025
- data-qa-checkbox-ischecked="false"
1026
- data-qa-checkbox-isdisabled="false"
1027
- id="Checkbox-MenuItem-36"
1028
- tabindex="-1"
1029
- type="checkbox"
1030
- value=""
1031
- />
1032
- </span>
1033
- <div
1034
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
1035
- >
1036
- Orange
1037
- </div>
1038
- </div>
1039
- </li>
1040
- <li
1041
- aria-checked="false"
1042
- class="c4 c7"
1043
- data-qa-menu-item="Tomato"
1044
- data-value="Tomato"
1045
- id="MenuItem-37"
1046
- role="menuitemcheckbox"
1047
- tabindex="-1"
1048
- value="Tomato"
1049
- >
1050
- <div
1051
- style="display: flex; align-items: center; justify-content: space-between;"
1052
- >
1053
- <span
1054
- aria-hidden="true"
1055
- class="c6"
1056
- >
1057
- <input
1058
- data-qa-checkbox="Checkbox-MenuItem-37"
1059
- data-qa-checkbox-ischecked="false"
1060
- data-qa-checkbox-isdisabled="false"
1061
- id="Checkbox-MenuItem-37"
1062
- tabindex="-1"
1063
- type="checkbox"
1064
- value=""
1065
- />
1066
- </span>
1067
- <div
1068
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
1069
- >
1070
- Tomato
1071
- </div>
1072
- </div>
1073
- </li>
1074
- <li
1075
- aria-checked="false"
1076
- class="c4 c7"
1077
- data-qa-menu-item="Cucumber"
1078
- data-value="Cucumber"
1079
- id="MenuItem-38"
1080
- role="menuitemcheckbox"
1081
- tabindex="-1"
1082
- value="Cucumber"
1083
- >
1084
- <div
1085
- style="display: flex; align-items: center; justify-content: space-between;"
1086
- >
1087
- <span
1088
- aria-hidden="true"
1089
- class="c6"
1090
- >
1091
- <input
1092
- data-qa-checkbox="Checkbox-MenuItem-38"
1093
- data-qa-checkbox-ischecked="false"
1094
- data-qa-checkbox-isdisabled="false"
1095
- id="Checkbox-MenuItem-38"
1096
- tabindex="-1"
1097
- type="checkbox"
1098
- value=""
1099
- />
1100
- </span>
1101
- <div
1102
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
1103
- >
1104
- Cucumber
1105
- </div>
1106
- </div>
1107
- </li>
1108
- <li
1109
- aria-checked="false"
1110
- class="c4 c7"
1111
- data-qa-menu-item="Squash"
1112
- data-value="Squash"
1113
- id="MenuItem-39"
1114
- role="menuitemcheckbox"
1115
- tabindex="-1"
1116
- value="Squash"
1117
- >
1118
- <div
1119
- style="display: flex; align-items: center; justify-content: space-between;"
1120
- >
1121
- <span
1122
- aria-hidden="true"
1123
- class="c6"
1124
- >
1125
- <input
1126
- data-qa-checkbox="Checkbox-MenuItem-39"
1127
- data-qa-checkbox-ischecked="false"
1128
- data-qa-checkbox-isdisabled="false"
1129
- id="Checkbox-MenuItem-39"
1130
- tabindex="-1"
1131
- type="checkbox"
1132
- value=""
1133
- />
1134
- </span>
1135
- <div
1136
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
1137
- >
1138
- Squash
1139
- </div>
1140
- </div>
1141
- </li>
1142
- <li
1143
- aria-checked="false"
1144
- class="c4 c7"
1145
- data-qa-menu-item="Cantaloupe"
1146
- data-value="Cantaloupe"
1147
- id="MenuItem-40"
1148
- role="menuitemcheckbox"
1149
- tabindex="-1"
1150
- value="Cantaloupe"
1151
- >
1152
- <div
1153
- style="display: flex; align-items: center; justify-content: space-between;"
1154
- >
1155
- <span
1156
- aria-hidden="true"
1157
- class="c6"
1158
- >
1159
- <input
1160
- data-qa-checkbox="Checkbox-MenuItem-40"
1161
- data-qa-checkbox-ischecked="false"
1162
- data-qa-checkbox-isdisabled="false"
1163
- id="Checkbox-MenuItem-40"
1164
- tabindex="-1"
1165
- type="checkbox"
1166
- value=""
1167
- />
1168
- </span>
1169
- <div
1170
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
1171
- >
1172
- Cantaloupe
1173
- </div>
1174
- </div>
1175
- </li>
1176
- <li
1177
- aria-checked="false"
1178
- class="c4 c7"
1179
- data-qa-menu-item="Jackalope"
1180
- data-value="Jackalope"
1181
- id="MenuItem-41"
1182
- role="menuitemcheckbox"
1183
- tabindex="-1"
1184
- value="Jackalope"
1185
- >
1186
- <div
1187
- style="display: flex; align-items: center; justify-content: space-between;"
1188
- >
1189
- <span
1190
- aria-hidden="true"
1191
- class="c6"
1192
- >
1193
- <input
1194
- data-qa-checkbox="Checkbox-MenuItem-41"
1195
- data-qa-checkbox-ischecked="false"
1196
- data-qa-checkbox-isdisabled="false"
1197
- id="Checkbox-MenuItem-41"
1198
- tabindex="-1"
1199
- type="checkbox"
1200
- value=""
1201
- />
1202
- </span>
1203
- <div
1204
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
1205
- >
1206
- Jackalope
1207
- </div>
1208
- </div>
1209
- </li>
1210
- <li
1211
- aria-checked="false"
1212
- class="c4 c7"
1213
- data-qa-menu-item="Lingonberry"
1214
- data-value="Lingonberry"
1215
- id="MenuItem-42"
1216
- role="menuitemcheckbox"
1217
- tabindex="-1"
1218
- value="Lingonberry"
1219
- >
1220
- <div
1221
- style="display: flex; align-items: center; justify-content: space-between;"
1222
- >
1223
- <span
1224
- aria-hidden="true"
1225
- class="c6"
1226
- >
1227
- <input
1228
- data-qa-checkbox="Checkbox-MenuItem-42"
1229
- data-qa-checkbox-ischecked="false"
1230
- data-qa-checkbox-isdisabled="false"
1231
- id="Checkbox-MenuItem-42"
1232
- tabindex="-1"
1233
- type="checkbox"
1234
- value=""
1235
- />
1236
- </span>
1237
- <div
1238
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
1239
- >
1240
- Lingonberry
1241
- </div>
1242
- </div>
1243
- </li>
1244
- <li
1245
- aria-checked="false"
1246
- class="c4 c7"
1247
- data-qa-menu-item="Dingleberry"
1248
- data-value="Dingleberry"
1249
- id="MenuItem-43"
1250
- role="menuitemcheckbox"
1251
- tabindex="-1"
1252
- value="Dingleberry"
1253
- >
1254
- <div
1255
- style="display: flex; align-items: center; justify-content: space-between;"
1256
- >
1257
- <span
1258
- aria-hidden="true"
1259
- class="c6"
1260
- >
1261
- <input
1262
- data-qa-checkbox="Checkbox-MenuItem-43"
1263
- data-qa-checkbox-ischecked="false"
1264
- data-qa-checkbox-isdisabled="false"
1265
- id="Checkbox-MenuItem-43"
1266
- tabindex="-1"
1267
- type="checkbox"
1268
- value=""
1269
- />
1270
- </span>
1271
- <div
1272
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
1273
- >
1274
- Dingleberry
1275
- </div>
1276
- </div>
1277
- </li>
1278
- <li
1279
- aria-checked="false"
1280
- class="c4 c7"
1281
- data-qa-menu-item="Kaffir Lime"
1282
- data-value="Kaffir Lime"
1283
- id="MenuItem-44"
1284
- role="menuitemcheckbox"
1285
- tabindex="-1"
1286
- value="Kaffir Lime"
1287
- >
1288
- <div
1289
- style="display: flex; align-items: center; justify-content: space-between;"
1290
- >
1291
- <span
1292
- aria-hidden="true"
1293
- class="c6"
1294
- >
1295
- <input
1296
- data-qa-checkbox="Checkbox-MenuItem-44"
1297
- data-qa-checkbox-ischecked="false"
1298
- data-qa-checkbox-isdisabled="false"
1299
- id="Checkbox-MenuItem-44"
1300
- tabindex="-1"
1301
- type="checkbox"
1302
- value=""
1303
- />
1304
- </span>
1305
- <div
1306
- style="flex-grow: 1; word-break: break-word; min-width: 0;"
1307
- >
1308
- Kaffir Lime
1309
- </div>
1310
- </div>
1311
- </li>
1312
- </div>
1313
- </ul>
1314
- </div>
1315
- </body>
1316
- `;