@transferwise/components 0.0.0-experimental-e3978a5 → 0.0.0-experimental-e46526a
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/build/listItem/ListItem.js +1 -5
- package/build/listItem/ListItem.js.map +1 -1
- package/build/listItem/ListItem.mjs +1 -5
- package/build/listItem/ListItem.mjs.map +1 -1
- package/build/main.css +157 -157
- package/build/styles/listItem/ListItem.css +157 -157
- package/build/styles/listItem/Prompt/ListItemPrompt.css +157 -0
- package/build/styles/main.css +157 -157
- package/build/types/listItem/ListItem.d.ts +1 -3
- package/build/types/listItem/ListItem.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/listItem/ListItem.css +157 -157
- package/src/listItem/ListItem.less +1 -135
- package/src/listItem/ListItem.spec.tsx +0 -10
- package/src/listItem/ListItem.tsx +0 -6
- package/src/listItem/Prompt/ListItemPrompt.css +157 -0
- package/src/listItem/Prompt/ListItemPrompt.less +134 -0
- package/src/listItem/_stories/ListItem.story.tsx +0 -2
- package/src/main.css +157 -157
|
@@ -368,6 +368,163 @@
|
|
|
368
368
|
text-align: left;
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
|
+
.wds-list-item-prompt {
|
|
372
|
+
grid-area: prompt;
|
|
373
|
+
display: inline-flex;
|
|
374
|
+
justify-self: start;
|
|
375
|
+
text-align: left;
|
|
376
|
+
padding-top: calc(8px / 2);
|
|
377
|
+
padding-top: calc(var(--padding-x-small) / 2);
|
|
378
|
+
padding-bottom: calc(8px / 2);
|
|
379
|
+
padding-bottom: calc(var(--padding-x-small) / 2);
|
|
380
|
+
padding-left: calc(8px - 1px);
|
|
381
|
+
padding-left: calc(var(--padding-x-small) - 1px);
|
|
382
|
+
padding-right: 8px;
|
|
383
|
+
padding-right: var(--padding-x-small);
|
|
384
|
+
border-radius: 10px;
|
|
385
|
+
border-radius: var(--radius-small);
|
|
386
|
+
word-break: break-word;
|
|
387
|
+
word-wrap: break-word;
|
|
388
|
+
}
|
|
389
|
+
.wds-list-item-prompt:has(a),
|
|
390
|
+
.wds-list-item-prompt:has(button) {
|
|
391
|
+
position: relative;
|
|
392
|
+
z-index: 1;
|
|
393
|
+
}
|
|
394
|
+
.wds-list-item-prompt a,
|
|
395
|
+
.wds-list-item-prompt button {
|
|
396
|
+
text-underline-offset: calc(4px / 2);
|
|
397
|
+
text-underline-offset: calc(var(--size-4) / 2);
|
|
398
|
+
}
|
|
399
|
+
.wds-list-item-prompt a:first-of-type:before,
|
|
400
|
+
.wds-list-item-prompt button:first-of-type:before {
|
|
401
|
+
content: '';
|
|
402
|
+
position: absolute;
|
|
403
|
+
inset: 0;
|
|
404
|
+
}
|
|
405
|
+
.wds-list-item-prompt.np-prompt-icon {
|
|
406
|
+
padding-left: calc(8px - 1px);
|
|
407
|
+
padding-left: calc(var(--padding-x-small) - 1px);
|
|
408
|
+
padding-right: 8px;
|
|
409
|
+
padding-right: var(--padding-x-small);
|
|
410
|
+
display: inline-flex;
|
|
411
|
+
align-items: center;
|
|
412
|
+
gap: 4px;
|
|
413
|
+
gap: var(--size-4);
|
|
414
|
+
}
|
|
415
|
+
.wds-list-item-prompt .np-prompt-icon {
|
|
416
|
+
padding-right: calc(12px / 2);
|
|
417
|
+
padding-right: calc(var(--size-12) / 2);
|
|
418
|
+
padding-top: calc(4px - 1px);
|
|
419
|
+
padding-top: calc(var(--size-4) - 1px);
|
|
420
|
+
padding-bottom: calc(4px - 1px);
|
|
421
|
+
padding-bottom: calc(var(--size-4) - 1px);
|
|
422
|
+
}
|
|
423
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
|
|
424
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
|
|
425
|
+
color: var(--color-sentiment-positive-primary);
|
|
426
|
+
}
|
|
427
|
+
.wds-list-item-prompt.negative {
|
|
428
|
+
background-color: var(--color-sentiment-negative-secondary);
|
|
429
|
+
color: var(--color-sentiment-negative-primary);
|
|
430
|
+
}
|
|
431
|
+
.wds-list-item-prompt.negative a,
|
|
432
|
+
.wds-list-item-prompt.negative button {
|
|
433
|
+
color: var(--color-sentiment-negative-primary);
|
|
434
|
+
}
|
|
435
|
+
.wds-list-item-prompt.negative a:hover,
|
|
436
|
+
.wds-list-item-prompt.negative button:hover {
|
|
437
|
+
color: var(--color-sentiment-negative-primary-hover);
|
|
438
|
+
}
|
|
439
|
+
.wds-list-item-prompt.negative a:active,
|
|
440
|
+
.wds-list-item-prompt.negative button:active {
|
|
441
|
+
color: var(--color-sentiment-negative-primary-active);
|
|
442
|
+
}
|
|
443
|
+
.wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):hover {
|
|
444
|
+
background-color: var(--color-sentiment-negative-secondary-hover);
|
|
445
|
+
}
|
|
446
|
+
.wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):active {
|
|
447
|
+
background-color: var(--color-sentiment-negative-secondary-active);
|
|
448
|
+
}
|
|
449
|
+
.wds-list-item-prompt.positive,
|
|
450
|
+
.wds-list-item-prompt.discount,
|
|
451
|
+
.wds-list-item-prompt.savings {
|
|
452
|
+
background-color: var(--color-sentiment-positive-secondary);
|
|
453
|
+
color: var(--color-sentiment-positive-primary);
|
|
454
|
+
}
|
|
455
|
+
.wds-list-item-prompt.positive a,
|
|
456
|
+
.wds-list-item-prompt.discount a,
|
|
457
|
+
.wds-list-item-prompt.savings a,
|
|
458
|
+
.wds-list-item-prompt.positive button,
|
|
459
|
+
.wds-list-item-prompt.discount button,
|
|
460
|
+
.wds-list-item-prompt.savings button {
|
|
461
|
+
color: var(--color-sentiment-positive-primary);
|
|
462
|
+
}
|
|
463
|
+
.wds-list-item-prompt.positive a:hover,
|
|
464
|
+
.wds-list-item-prompt.discount a:hover,
|
|
465
|
+
.wds-list-item-prompt.savings a:hover,
|
|
466
|
+
.wds-list-item-prompt.positive button:hover,
|
|
467
|
+
.wds-list-item-prompt.discount button:hover,
|
|
468
|
+
.wds-list-item-prompt.savings button:hover {
|
|
469
|
+
color: var(--color-sentiment-positive-primary-hover);
|
|
470
|
+
}
|
|
471
|
+
.wds-list-item-prompt.positive a:active,
|
|
472
|
+
.wds-list-item-prompt.discount a:active,
|
|
473
|
+
.wds-list-item-prompt.savings a:active,
|
|
474
|
+
.wds-list-item-prompt.positive button:active,
|
|
475
|
+
.wds-list-item-prompt.discount button:active,
|
|
476
|
+
.wds-list-item-prompt.savings button:active {
|
|
477
|
+
color: var(--color-sentiment-positive-primary-active);
|
|
478
|
+
}
|
|
479
|
+
.wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):hover,
|
|
480
|
+
.wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):hover,
|
|
481
|
+
.wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):hover {
|
|
482
|
+
background-color: var(--color-sentiment-positive-secondary-hover);
|
|
483
|
+
}
|
|
484
|
+
.wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):active,
|
|
485
|
+
.wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):active,
|
|
486
|
+
.wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):active {
|
|
487
|
+
background-color: var(--color-sentiment-positive-secondary-active);
|
|
488
|
+
}
|
|
489
|
+
.wds-list-item-prompt.neutral {
|
|
490
|
+
background-color: rgba(134,167,189,0.10196);
|
|
491
|
+
background-color: var(--color-background-neutral);
|
|
492
|
+
color: #37517e;
|
|
493
|
+
color: var(--color-content-primary);
|
|
494
|
+
}
|
|
495
|
+
.wds-list-item-prompt.neutral a,
|
|
496
|
+
.wds-list-item-prompt.neutral button {
|
|
497
|
+
color: #37517e;
|
|
498
|
+
color: var(--color-content-primary);
|
|
499
|
+
}
|
|
500
|
+
.wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):hover {
|
|
501
|
+
background-color: var(--color-background-neutral-hover);
|
|
502
|
+
}
|
|
503
|
+
.wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):active {
|
|
504
|
+
background-color: var(--color-background-neutral-active);
|
|
505
|
+
}
|
|
506
|
+
.wds-list-item-prompt.warning {
|
|
507
|
+
background-color: var(--color-sentiment-warning-secondary);
|
|
508
|
+
color: var(--color-sentiment-warning-content);
|
|
509
|
+
}
|
|
510
|
+
.wds-list-item-prompt.warning a,
|
|
511
|
+
.wds-list-item-prompt.warning button {
|
|
512
|
+
color: var(--color-sentiment-warning-content);
|
|
513
|
+
}
|
|
514
|
+
.wds-list-item-prompt.warning a:hover,
|
|
515
|
+
.wds-list-item-prompt.warning button:hover {
|
|
516
|
+
color: var(--color-sentiment-warning-content-hover);
|
|
517
|
+
}
|
|
518
|
+
.wds-list-item-prompt.warning a:active,
|
|
519
|
+
.wds-list-item-prompt.warning button:active {
|
|
520
|
+
color: var(--color-sentiment-warning-content-active);
|
|
521
|
+
}
|
|
522
|
+
.wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):hover {
|
|
523
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 92%, var(--color-sentiment-warning-primary));
|
|
524
|
+
}
|
|
525
|
+
.wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):active {
|
|
526
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 84%, var(--color-sentiment-warning-primary));
|
|
527
|
+
}
|
|
371
528
|
.wds-list-item {
|
|
372
529
|
list-style: none;
|
|
373
530
|
width: 100%;
|
|
@@ -611,160 +768,3 @@
|
|
|
611
768
|
stroke-dasharray: calc(12px * 0.5) calc(12px * 0.5);
|
|
612
769
|
stroke-dasharray: var(--wds-list-item-spotlight-strokeDashSize) var(--wds-list-item-spotlight-strokeDashSize);
|
|
613
770
|
}
|
|
614
|
-
.wds-list-item-prompt {
|
|
615
|
-
grid-area: prompt;
|
|
616
|
-
display: inline-flex;
|
|
617
|
-
justify-self: start;
|
|
618
|
-
text-align: left;
|
|
619
|
-
padding-top: calc(8px / 2);
|
|
620
|
-
padding-top: calc(var(--padding-x-small) / 2);
|
|
621
|
-
padding-bottom: calc(8px / 2);
|
|
622
|
-
padding-bottom: calc(var(--padding-x-small) / 2);
|
|
623
|
-
padding-left: calc(8px - 1px);
|
|
624
|
-
padding-left: calc(var(--padding-x-small) - 1px);
|
|
625
|
-
padding-right: 8px;
|
|
626
|
-
padding-right: var(--padding-x-small);
|
|
627
|
-
border-radius: 10px;
|
|
628
|
-
border-radius: var(--radius-small);
|
|
629
|
-
word-break: break-word;
|
|
630
|
-
word-wrap: break-word;
|
|
631
|
-
}
|
|
632
|
-
.wds-list-item-prompt:has(a),
|
|
633
|
-
.wds-list-item-prompt:has(button) {
|
|
634
|
-
position: relative;
|
|
635
|
-
z-index: 1;
|
|
636
|
-
}
|
|
637
|
-
.wds-list-item-prompt a,
|
|
638
|
-
.wds-list-item-prompt button {
|
|
639
|
-
text-underline-offset: calc(4px / 2);
|
|
640
|
-
text-underline-offset: calc(var(--size-4) / 2);
|
|
641
|
-
}
|
|
642
|
-
.wds-list-item-prompt a:first-of-type:before,
|
|
643
|
-
.wds-list-item-prompt button:first-of-type:before {
|
|
644
|
-
content: '';
|
|
645
|
-
position: absolute;
|
|
646
|
-
inset: 0;
|
|
647
|
-
}
|
|
648
|
-
.wds-list-item-prompt.np-prompt-icon {
|
|
649
|
-
padding-left: calc(8px - 1px);
|
|
650
|
-
padding-left: calc(var(--padding-x-small) - 1px);
|
|
651
|
-
padding-right: 8px;
|
|
652
|
-
padding-right: var(--padding-x-small);
|
|
653
|
-
display: inline-flex;
|
|
654
|
-
align-items: center;
|
|
655
|
-
gap: 4px;
|
|
656
|
-
gap: var(--size-4);
|
|
657
|
-
}
|
|
658
|
-
.wds-list-item-prompt .np-prompt-icon {
|
|
659
|
-
padding-right: calc(12px / 2);
|
|
660
|
-
padding-right: calc(var(--size-12) / 2);
|
|
661
|
-
padding-top: calc(4px - 1px);
|
|
662
|
-
padding-top: calc(var(--size-4) - 1px);
|
|
663
|
-
padding-bottom: calc(4px - 1px);
|
|
664
|
-
padding-bottom: calc(var(--size-4) - 1px);
|
|
665
|
-
}
|
|
666
|
-
.wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
|
|
667
|
-
.wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
|
|
668
|
-
color: var(--color-sentiment-positive-primary);
|
|
669
|
-
}
|
|
670
|
-
.wds-list-item-prompt.negative {
|
|
671
|
-
background-color: var(--color-sentiment-negative-secondary);
|
|
672
|
-
color: var(--color-sentiment-negative-primary);
|
|
673
|
-
}
|
|
674
|
-
.wds-list-item-prompt.negative a,
|
|
675
|
-
.wds-list-item-prompt.negative button {
|
|
676
|
-
color: var(--color-sentiment-negative-primary);
|
|
677
|
-
}
|
|
678
|
-
.wds-list-item-prompt.negative a:hover,
|
|
679
|
-
.wds-list-item-prompt.negative button:hover {
|
|
680
|
-
color: var(--color-sentiment-negative-primary-hover);
|
|
681
|
-
}
|
|
682
|
-
.wds-list-item-prompt.negative a:active,
|
|
683
|
-
.wds-list-item-prompt.negative button:active {
|
|
684
|
-
color: var(--color-sentiment-negative-primary-active);
|
|
685
|
-
}
|
|
686
|
-
.wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):hover {
|
|
687
|
-
background-color: var(--color-sentiment-negative-secondary-hover);
|
|
688
|
-
}
|
|
689
|
-
.wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):active {
|
|
690
|
-
background-color: var(--color-sentiment-negative-secondary-active);
|
|
691
|
-
}
|
|
692
|
-
.wds-list-item-prompt.positive,
|
|
693
|
-
.wds-list-item-prompt.discount,
|
|
694
|
-
.wds-list-item-prompt.savings {
|
|
695
|
-
background-color: var(--color-sentiment-positive-secondary);
|
|
696
|
-
color: var(--color-sentiment-positive-primary);
|
|
697
|
-
}
|
|
698
|
-
.wds-list-item-prompt.positive a,
|
|
699
|
-
.wds-list-item-prompt.discount a,
|
|
700
|
-
.wds-list-item-prompt.savings a,
|
|
701
|
-
.wds-list-item-prompt.positive button,
|
|
702
|
-
.wds-list-item-prompt.discount button,
|
|
703
|
-
.wds-list-item-prompt.savings button {
|
|
704
|
-
color: var(--color-sentiment-positive-primary);
|
|
705
|
-
}
|
|
706
|
-
.wds-list-item-prompt.positive a:hover,
|
|
707
|
-
.wds-list-item-prompt.discount a:hover,
|
|
708
|
-
.wds-list-item-prompt.savings a:hover,
|
|
709
|
-
.wds-list-item-prompt.positive button:hover,
|
|
710
|
-
.wds-list-item-prompt.discount button:hover,
|
|
711
|
-
.wds-list-item-prompt.savings button:hover {
|
|
712
|
-
color: var(--color-sentiment-positive-primary-hover);
|
|
713
|
-
}
|
|
714
|
-
.wds-list-item-prompt.positive a:active,
|
|
715
|
-
.wds-list-item-prompt.discount a:active,
|
|
716
|
-
.wds-list-item-prompt.savings a:active,
|
|
717
|
-
.wds-list-item-prompt.positive button:active,
|
|
718
|
-
.wds-list-item-prompt.discount button:active,
|
|
719
|
-
.wds-list-item-prompt.savings button:active {
|
|
720
|
-
color: var(--color-sentiment-positive-primary-active);
|
|
721
|
-
}
|
|
722
|
-
.wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):hover,
|
|
723
|
-
.wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):hover,
|
|
724
|
-
.wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):hover {
|
|
725
|
-
background-color: var(--color-sentiment-positive-secondary-hover);
|
|
726
|
-
}
|
|
727
|
-
.wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):active,
|
|
728
|
-
.wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):active,
|
|
729
|
-
.wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):active {
|
|
730
|
-
background-color: var(--color-sentiment-positive-secondary-active);
|
|
731
|
-
}
|
|
732
|
-
.wds-list-item-prompt.neutral {
|
|
733
|
-
background-color: rgba(134,167,189,0.10196);
|
|
734
|
-
background-color: var(--color-background-neutral);
|
|
735
|
-
color: #37517e;
|
|
736
|
-
color: var(--color-content-primary);
|
|
737
|
-
}
|
|
738
|
-
.wds-list-item-prompt.neutral a,
|
|
739
|
-
.wds-list-item-prompt.neutral button {
|
|
740
|
-
color: #37517e;
|
|
741
|
-
color: var(--color-content-primary);
|
|
742
|
-
}
|
|
743
|
-
.wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):hover {
|
|
744
|
-
background-color: var(--color-background-neutral-hover);
|
|
745
|
-
}
|
|
746
|
-
.wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):active {
|
|
747
|
-
background-color: var(--color-background-neutral-active);
|
|
748
|
-
}
|
|
749
|
-
.wds-list-item-prompt.warning {
|
|
750
|
-
background-color: var(--color-sentiment-warning-secondary);
|
|
751
|
-
color: var(--color-sentiment-warning-content);
|
|
752
|
-
}
|
|
753
|
-
.wds-list-item-prompt.warning a,
|
|
754
|
-
.wds-list-item-prompt.warning button {
|
|
755
|
-
color: var(--color-sentiment-warning-content);
|
|
756
|
-
}
|
|
757
|
-
.wds-list-item-prompt.warning a:hover,
|
|
758
|
-
.wds-list-item-prompt.warning button:hover {
|
|
759
|
-
color: var(--color-sentiment-warning-content-hover);
|
|
760
|
-
}
|
|
761
|
-
.wds-list-item-prompt.warning a:active,
|
|
762
|
-
.wds-list-item-prompt.warning button:active {
|
|
763
|
-
color: var(--color-sentiment-warning-content-active);
|
|
764
|
-
}
|
|
765
|
-
.wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):hover {
|
|
766
|
-
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 92%, var(--color-sentiment-warning-primary));
|
|
767
|
-
}
|
|
768
|
-
.wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):active {
|
|
769
|
-
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 84%, var(--color-sentiment-warning-primary));
|
|
770
|
-
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
.wds-list-item-prompt {
|
|
2
|
+
grid-area: prompt;
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
justify-self: start;
|
|
5
|
+
text-align: left;
|
|
6
|
+
padding-top: calc(8px / 2);
|
|
7
|
+
padding-top: calc(var(--padding-x-small) / 2);
|
|
8
|
+
padding-bottom: calc(8px / 2);
|
|
9
|
+
padding-bottom: calc(var(--padding-x-small) / 2);
|
|
10
|
+
padding-left: calc(8px - 1px);
|
|
11
|
+
padding-left: calc(var(--padding-x-small) - 1px);
|
|
12
|
+
padding-right: 8px;
|
|
13
|
+
padding-right: var(--padding-x-small);
|
|
14
|
+
border-radius: 10px;
|
|
15
|
+
border-radius: var(--radius-small);
|
|
16
|
+
word-break: break-word;
|
|
17
|
+
word-wrap: break-word;
|
|
18
|
+
}
|
|
19
|
+
.wds-list-item-prompt:has(a),
|
|
20
|
+
.wds-list-item-prompt:has(button) {
|
|
21
|
+
position: relative;
|
|
22
|
+
z-index: 1;
|
|
23
|
+
}
|
|
24
|
+
.wds-list-item-prompt a,
|
|
25
|
+
.wds-list-item-prompt button {
|
|
26
|
+
text-underline-offset: calc(4px / 2);
|
|
27
|
+
text-underline-offset: calc(var(--size-4) / 2);
|
|
28
|
+
}
|
|
29
|
+
.wds-list-item-prompt a:first-of-type:before,
|
|
30
|
+
.wds-list-item-prompt button:first-of-type:before {
|
|
31
|
+
content: '';
|
|
32
|
+
position: absolute;
|
|
33
|
+
inset: 0;
|
|
34
|
+
}
|
|
35
|
+
.wds-list-item-prompt.np-prompt-icon {
|
|
36
|
+
padding-left: calc(8px - 1px);
|
|
37
|
+
padding-left: calc(var(--padding-x-small) - 1px);
|
|
38
|
+
padding-right: 8px;
|
|
39
|
+
padding-right: var(--padding-x-small);
|
|
40
|
+
display: inline-flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
gap: 4px;
|
|
43
|
+
gap: var(--size-4);
|
|
44
|
+
}
|
|
45
|
+
.wds-list-item-prompt .np-prompt-icon {
|
|
46
|
+
padding-right: calc(12px / 2);
|
|
47
|
+
padding-right: calc(var(--size-12) / 2);
|
|
48
|
+
padding-top: calc(4px - 1px);
|
|
49
|
+
padding-top: calc(var(--size-4) - 1px);
|
|
50
|
+
padding-bottom: calc(4px - 1px);
|
|
51
|
+
padding-bottom: calc(var(--size-4) - 1px);
|
|
52
|
+
}
|
|
53
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-tags,
|
|
54
|
+
.wds-list-item-prompt .np-prompt-icon .tw-icon-confetti {
|
|
55
|
+
color: var(--color-sentiment-positive-primary);
|
|
56
|
+
}
|
|
57
|
+
.wds-list-item-prompt.negative {
|
|
58
|
+
background-color: var(--color-sentiment-negative-secondary);
|
|
59
|
+
color: var(--color-sentiment-negative-primary);
|
|
60
|
+
}
|
|
61
|
+
.wds-list-item-prompt.negative a,
|
|
62
|
+
.wds-list-item-prompt.negative button {
|
|
63
|
+
color: var(--color-sentiment-negative-primary);
|
|
64
|
+
}
|
|
65
|
+
.wds-list-item-prompt.negative a:hover,
|
|
66
|
+
.wds-list-item-prompt.negative button:hover {
|
|
67
|
+
color: var(--color-sentiment-negative-primary-hover);
|
|
68
|
+
}
|
|
69
|
+
.wds-list-item-prompt.negative a:active,
|
|
70
|
+
.wds-list-item-prompt.negative button:active {
|
|
71
|
+
color: var(--color-sentiment-negative-primary-active);
|
|
72
|
+
}
|
|
73
|
+
.wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):hover {
|
|
74
|
+
background-color: var(--color-sentiment-negative-secondary-hover);
|
|
75
|
+
}
|
|
76
|
+
.wds-list-item-prompt.wds-list-item-prompt.negative:has(a, button):active {
|
|
77
|
+
background-color: var(--color-sentiment-negative-secondary-active);
|
|
78
|
+
}
|
|
79
|
+
.wds-list-item-prompt.positive,
|
|
80
|
+
.wds-list-item-prompt.discount,
|
|
81
|
+
.wds-list-item-prompt.savings {
|
|
82
|
+
background-color: var(--color-sentiment-positive-secondary);
|
|
83
|
+
color: var(--color-sentiment-positive-primary);
|
|
84
|
+
}
|
|
85
|
+
.wds-list-item-prompt.positive a,
|
|
86
|
+
.wds-list-item-prompt.discount a,
|
|
87
|
+
.wds-list-item-prompt.savings a,
|
|
88
|
+
.wds-list-item-prompt.positive button,
|
|
89
|
+
.wds-list-item-prompt.discount button,
|
|
90
|
+
.wds-list-item-prompt.savings button {
|
|
91
|
+
color: var(--color-sentiment-positive-primary);
|
|
92
|
+
}
|
|
93
|
+
.wds-list-item-prompt.positive a:hover,
|
|
94
|
+
.wds-list-item-prompt.discount a:hover,
|
|
95
|
+
.wds-list-item-prompt.savings a:hover,
|
|
96
|
+
.wds-list-item-prompt.positive button:hover,
|
|
97
|
+
.wds-list-item-prompt.discount button:hover,
|
|
98
|
+
.wds-list-item-prompt.savings button:hover {
|
|
99
|
+
color: var(--color-sentiment-positive-primary-hover);
|
|
100
|
+
}
|
|
101
|
+
.wds-list-item-prompt.positive a:active,
|
|
102
|
+
.wds-list-item-prompt.discount a:active,
|
|
103
|
+
.wds-list-item-prompt.savings a:active,
|
|
104
|
+
.wds-list-item-prompt.positive button:active,
|
|
105
|
+
.wds-list-item-prompt.discount button:active,
|
|
106
|
+
.wds-list-item-prompt.savings button:active {
|
|
107
|
+
color: var(--color-sentiment-positive-primary-active);
|
|
108
|
+
}
|
|
109
|
+
.wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):hover,
|
|
110
|
+
.wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):hover,
|
|
111
|
+
.wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):hover {
|
|
112
|
+
background-color: var(--color-sentiment-positive-secondary-hover);
|
|
113
|
+
}
|
|
114
|
+
.wds-list-item-prompt.wds-list-item-prompt.positive:has(a, button):active,
|
|
115
|
+
.wds-list-item-prompt.wds-list-item-prompt.discount:has(a, button):active,
|
|
116
|
+
.wds-list-item-prompt.wds-list-item-prompt.savings:has(a, button):active {
|
|
117
|
+
background-color: var(--color-sentiment-positive-secondary-active);
|
|
118
|
+
}
|
|
119
|
+
.wds-list-item-prompt.neutral {
|
|
120
|
+
background-color: rgba(134,167,189,0.10196);
|
|
121
|
+
background-color: var(--color-background-neutral);
|
|
122
|
+
color: #37517e;
|
|
123
|
+
color: var(--color-content-primary);
|
|
124
|
+
}
|
|
125
|
+
.wds-list-item-prompt.neutral a,
|
|
126
|
+
.wds-list-item-prompt.neutral button {
|
|
127
|
+
color: #37517e;
|
|
128
|
+
color: var(--color-content-primary);
|
|
129
|
+
}
|
|
130
|
+
.wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):hover {
|
|
131
|
+
background-color: var(--color-background-neutral-hover);
|
|
132
|
+
}
|
|
133
|
+
.wds-list-item-prompt.wds-list-item-prompt.neutral:has(a, button):active {
|
|
134
|
+
background-color: var(--color-background-neutral-active);
|
|
135
|
+
}
|
|
136
|
+
.wds-list-item-prompt.warning {
|
|
137
|
+
background-color: var(--color-sentiment-warning-secondary);
|
|
138
|
+
color: var(--color-sentiment-warning-content);
|
|
139
|
+
}
|
|
140
|
+
.wds-list-item-prompt.warning a,
|
|
141
|
+
.wds-list-item-prompt.warning button {
|
|
142
|
+
color: var(--color-sentiment-warning-content);
|
|
143
|
+
}
|
|
144
|
+
.wds-list-item-prompt.warning a:hover,
|
|
145
|
+
.wds-list-item-prompt.warning button:hover {
|
|
146
|
+
color: var(--color-sentiment-warning-content-hover);
|
|
147
|
+
}
|
|
148
|
+
.wds-list-item-prompt.warning a:active,
|
|
149
|
+
.wds-list-item-prompt.warning button:active {
|
|
150
|
+
color: var(--color-sentiment-warning-content-active);
|
|
151
|
+
}
|
|
152
|
+
.wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):hover {
|
|
153
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 92%, var(--color-sentiment-warning-primary));
|
|
154
|
+
}
|
|
155
|
+
.wds-list-item-prompt.wds-list-item-prompt.warning:has(a, button):active {
|
|
156
|
+
background-color: color-mix(in srgb, var(--color-sentiment-warning-secondary) 84%, var(--color-sentiment-warning-primary));
|
|
157
|
+
}
|