@salla.sa/twilight-components 1.4.21 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/salla-button_24.cjs.entry.js +287 -242
- package/dist/cjs/salla-scopes.cjs.entry.js +156 -0
- package/dist/cjs/search-b487cc49.js +13 -0
- package/dist/cjs/twilight-components.cjs.js +1 -1
- package/dist/collection/assets/{flat.svg → svg/flat.svg} +0 -0
- package/dist/collection/assets/svg/tag.svg +0 -1
- package/dist/collection/components/salla-login-modal/salla-login-modal.js +12 -6
- package/dist/collection/components/salla-loyalty/salla-loyalty.js +1 -1
- package/dist/collection/components/salla-modal/salla-modal.js +21 -51
- package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +39 -32
- package/dist/collection/components/salla-product-availability/salla-product-availability.js +4 -2
- package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +12 -9
- package/dist/collection/components/salla-rating-modal/salla-rating-modal.js +4 -2
- package/dist/collection/components/salla-rating-stars/salla-rating-stars.js +4 -3
- package/dist/collection/components/salla-search/salla-search.js +7 -4
- package/dist/collection/components/salla-social-share/salla-social-share.js +3 -1
- package/dist/collection/components/salla-swiper/salla-swiper.css +0 -23
- package/dist/collection/components/salla-swiper/salla-swiper.js +4 -2
- package/dist/collection/components/salla-tel-input/salla-tel-input.css +1 -2
- package/dist/collection/components/salla-verify/salla-verify.js +4 -1
- package/dist/components/arrow-right.js +11 -0
- package/dist/components/cancel.js +11 -0
- package/dist/components/keyboard_arrow_right.js +11 -0
- package/dist/components/mail.js +11 -0
- package/dist/components/salla-login-modal.js +20 -3
- package/dist/components/salla-loyalty.js +3 -15
- package/dist/components/salla-modal2.js +25 -25
- package/dist/components/salla-offer-modal.js +25 -3
- package/dist/components/salla-product-availability2.js +9 -2
- package/dist/components/salla-quantity-input.js +16 -2
- package/dist/components/salla-rating-modal.js +10 -3
- package/dist/components/salla-rating-stars2.js +4 -3
- package/dist/components/salla-scopes.js +1 -7
- package/dist/components/salla-search.js +7 -4
- package/dist/components/salla-social-share.js +10 -8
- package/dist/components/salla-swiper2.js +10 -2
- package/dist/components/salla-tel-input2.js +1 -1
- package/dist/components/salla-verify2.js +8 -1
- package/dist/components/search.js +11 -0
- package/dist/components/star2.js +11 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/salla-button_24.entry.js +287 -242
- package/dist/esm/salla-scopes.entry.js +152 -0
- package/dist/esm/search-19ea3313.js +11 -0
- package/dist/esm/twilight-components.js +1 -1
- package/dist/twilight-components/p-282f9df8.entry.js +4 -0
- package/dist/twilight-components/p-40a01521.entry.js +4 -0
- package/dist/twilight-components/p-475ef754.js +4 -0
- package/dist/twilight-components/twilight-components.esm.js +1 -1
- package/dist/types/components/salla-modal/salla-modal.d.ts +2 -10
- package/dist/types/components/salla-search/salla-search.d.ts +1 -1
- package/dist/types/components.d.ts +4 -18
- package/example/assets/tailwind.css +269 -75
- package/package.json +4 -4
- package/dist/cjs/Helper-8ae6a805.js +0 -28
- package/dist/cjs/salla-quantity-input.cjs.entry.js +0 -87
- package/dist/esm/Helper-e1d414a5.js +0 -26
- package/dist/esm/salla-quantity-input.entry.js +0 -83
- package/dist/twilight-components/p-4c5055cf.entry.js +0 -4
- package/dist/twilight-components/p-9d2ca9c8.js +0 -4
- package/dist/twilight-components/p-b31f472a.entry.js +0 -4
|
@@ -747,6 +747,10 @@ video {
|
|
|
747
747
|
height: 2rem !important;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
+
.h-4 {
|
|
751
|
+
height: 1rem !important;
|
|
752
|
+
}
|
|
753
|
+
|
|
750
754
|
.h-40 {
|
|
751
755
|
height: 10rem !important;
|
|
752
756
|
}
|
|
@@ -763,6 +767,10 @@ video {
|
|
|
763
767
|
width: 15rem !important;
|
|
764
768
|
}
|
|
765
769
|
|
|
770
|
+
.w-4 {
|
|
771
|
+
width: 1rem !important;
|
|
772
|
+
}
|
|
773
|
+
|
|
766
774
|
.w-full {
|
|
767
775
|
width: 100% !important;
|
|
768
776
|
}
|
|
@@ -932,6 +940,14 @@ video {
|
|
|
932
940
|
background-color: rgb(243 232 255 / var(--tw-bg-opacity)) !important;
|
|
933
941
|
}
|
|
934
942
|
|
|
943
|
+
.fill-gray-400 {
|
|
944
|
+
fill: #9ca3af !important;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.fill-white {
|
|
948
|
+
fill: #fff !important;
|
|
949
|
+
}
|
|
950
|
+
|
|
935
951
|
.p-4 {
|
|
936
952
|
padding: 1rem !important;
|
|
937
953
|
}
|
|
@@ -1268,6 +1284,12 @@ video {
|
|
|
1268
1284
|
opacity: 0.8;
|
|
1269
1285
|
}
|
|
1270
1286
|
|
|
1287
|
+
.s-button-wrap svg {
|
|
1288
|
+
height: 1.25rem;
|
|
1289
|
+
width: 1.25rem;
|
|
1290
|
+
fill: currentColor;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1271
1293
|
.s-button-icon {
|
|
1272
1294
|
position: relative;
|
|
1273
1295
|
margin-left: 0.25rem;
|
|
@@ -1298,17 +1320,28 @@ video {
|
|
|
1298
1320
|
width: 3.5rem;
|
|
1299
1321
|
}
|
|
1300
1322
|
|
|
1323
|
+
.s-button-icon.s-button-large svg {
|
|
1324
|
+
height: 2rem;
|
|
1325
|
+
width: 2rem;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1301
1328
|
.s-button-icon.s-button-small {
|
|
1302
1329
|
height: 1.5rem;
|
|
1303
1330
|
width: 1.5rem;
|
|
1304
1331
|
}
|
|
1305
1332
|
|
|
1333
|
+
.s-button-icon.s-button-small svg {
|
|
1334
|
+
height: 0.875rem;
|
|
1335
|
+
width: 0.875rem;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1306
1338
|
.s-button-icon.s-button-small .s-button-loader:before {
|
|
1307
1339
|
height: 0.875rem;
|
|
1308
1340
|
width: 0.875rem;
|
|
1309
1341
|
}
|
|
1310
1342
|
|
|
1311
1343
|
.s-button-link {
|
|
1344
|
+
fill: var(--color-primary);
|
|
1312
1345
|
padding-left: 0.25rem;
|
|
1313
1346
|
padding-right: 0.25rem;
|
|
1314
1347
|
padding-top: 0.125rem;
|
|
@@ -1368,6 +1401,7 @@ video {
|
|
|
1368
1401
|
.s-button-success {
|
|
1369
1402
|
--tw-bg-opacity: 1;
|
|
1370
1403
|
background-color: rgb(34 197 94 / var(--tw-bg-opacity));
|
|
1404
|
+
fill: #fff;
|
|
1371
1405
|
--tw-text-opacity: 1;
|
|
1372
1406
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1373
1407
|
}
|
|
@@ -1380,6 +1414,7 @@ video {
|
|
|
1380
1414
|
.s-button-danger {
|
|
1381
1415
|
--tw-bg-opacity: 1;
|
|
1382
1416
|
background-color: rgb(248 113 113 / var(--tw-bg-opacity));
|
|
1417
|
+
fill: #fff;
|
|
1383
1418
|
--tw-text-opacity: 1;
|
|
1384
1419
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1385
1420
|
}
|
|
@@ -1392,6 +1427,7 @@ video {
|
|
|
1392
1427
|
.s-button-warning {
|
|
1393
1428
|
--tw-bg-opacity: 1;
|
|
1394
1429
|
background-color: rgb(251 191 36 / var(--tw-bg-opacity));
|
|
1430
|
+
fill: #fff;
|
|
1395
1431
|
--tw-text-opacity: 1;
|
|
1396
1432
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1397
1433
|
}
|
|
@@ -1404,6 +1440,7 @@ video {
|
|
|
1404
1440
|
.s-button-gray {
|
|
1405
1441
|
--tw-bg-opacity: 1;
|
|
1406
1442
|
background-color: rgb(156 163 175 / var(--tw-bg-opacity));
|
|
1443
|
+
fill: #fff;
|
|
1407
1444
|
--tw-text-opacity: 1;
|
|
1408
1445
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1409
1446
|
}
|
|
@@ -1416,6 +1453,7 @@ video {
|
|
|
1416
1453
|
.s-button-dark {
|
|
1417
1454
|
--tw-bg-opacity: 1;
|
|
1418
1455
|
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
|
|
1456
|
+
fill: #fff;
|
|
1419
1457
|
--tw-text-opacity: 1;
|
|
1420
1458
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1421
1459
|
}
|
|
@@ -1438,15 +1476,18 @@ video {
|
|
|
1438
1476
|
}
|
|
1439
1477
|
|
|
1440
1478
|
.s-button-primary-outline {
|
|
1479
|
+
fill: var(--color-primary);
|
|
1441
1480
|
color: var(--color-primary);
|
|
1442
1481
|
}
|
|
1443
1482
|
|
|
1444
1483
|
.s-button-primary-outline:hover {
|
|
1445
1484
|
background-color: var(--color-primary);
|
|
1485
|
+
fill: var(--color-primary-reverse);
|
|
1446
1486
|
color: var(--color-primary-reverse);
|
|
1447
1487
|
}
|
|
1448
1488
|
|
|
1449
1489
|
.s-button-success-outline {
|
|
1490
|
+
fill: #22c55e;
|
|
1450
1491
|
--tw-text-opacity: 1;
|
|
1451
1492
|
color: rgb(34 197 94 / var(--tw-text-opacity));
|
|
1452
1493
|
}
|
|
@@ -1454,11 +1495,13 @@ video {
|
|
|
1454
1495
|
.s-button-success-outline:hover {
|
|
1455
1496
|
--tw-bg-opacity: 1;
|
|
1456
1497
|
background-color: rgb(34 197 94 / var(--tw-bg-opacity));
|
|
1498
|
+
fill: #fff;
|
|
1457
1499
|
--tw-text-opacity: 1;
|
|
1458
1500
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1459
1501
|
}
|
|
1460
1502
|
|
|
1461
1503
|
.s-button-danger-outline {
|
|
1504
|
+
fill: #f87171;
|
|
1462
1505
|
--tw-text-opacity: 1;
|
|
1463
1506
|
color: rgb(248 113 113 / var(--tw-text-opacity));
|
|
1464
1507
|
}
|
|
@@ -1466,11 +1509,13 @@ video {
|
|
|
1466
1509
|
.s-button-danger-outline:hover {
|
|
1467
1510
|
--tw-bg-opacity: 1;
|
|
1468
1511
|
background-color: rgb(248 113 113 / var(--tw-bg-opacity));
|
|
1512
|
+
fill: #fff;
|
|
1469
1513
|
--tw-text-opacity: 1;
|
|
1470
1514
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1471
1515
|
}
|
|
1472
1516
|
|
|
1473
1517
|
.s-button-warning-outline {
|
|
1518
|
+
fill: #fbbf24;
|
|
1474
1519
|
--tw-text-opacity: 1;
|
|
1475
1520
|
color: rgb(251 191 36 / var(--tw-text-opacity));
|
|
1476
1521
|
}
|
|
@@ -1478,11 +1523,13 @@ video {
|
|
|
1478
1523
|
.s-button-warning-outline:hover {
|
|
1479
1524
|
--tw-bg-opacity: 1;
|
|
1480
1525
|
background-color: rgb(251 191 36 / var(--tw-bg-opacity));
|
|
1526
|
+
fill: #fff;
|
|
1481
1527
|
--tw-text-opacity: 1;
|
|
1482
1528
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1483
1529
|
}
|
|
1484
1530
|
|
|
1485
1531
|
.s-button-gray-outline {
|
|
1532
|
+
fill: #9ca3af;
|
|
1486
1533
|
--tw-text-opacity: 1;
|
|
1487
1534
|
color: rgb(156 163 175 / var(--tw-text-opacity));
|
|
1488
1535
|
}
|
|
@@ -1490,11 +1537,13 @@ video {
|
|
|
1490
1537
|
.s-button-gray-outline:hover {
|
|
1491
1538
|
--tw-bg-opacity: 1;
|
|
1492
1539
|
background-color: rgb(156 163 175 / var(--tw-bg-opacity));
|
|
1540
|
+
fill: #fff;
|
|
1493
1541
|
--tw-text-opacity: 1;
|
|
1494
1542
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1495
1543
|
}
|
|
1496
1544
|
|
|
1497
1545
|
.s-button-dark-outline {
|
|
1546
|
+
fill: #374151;
|
|
1498
1547
|
--tw-text-opacity: 1;
|
|
1499
1548
|
color: rgb(55 65 81 / var(--tw-text-opacity));
|
|
1500
1549
|
}
|
|
@@ -1502,6 +1551,7 @@ video {
|
|
|
1502
1551
|
.s-button-dark-outline:hover {
|
|
1503
1552
|
--tw-bg-opacity: 1;
|
|
1504
1553
|
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
|
|
1554
|
+
fill: #fff;
|
|
1505
1555
|
--tw-text-opacity: 1;
|
|
1506
1556
|
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1507
1557
|
}
|
|
@@ -1511,6 +1561,7 @@ video {
|
|
|
1511
1561
|
border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;
|
|
1512
1562
|
--tw-bg-opacity: 1;
|
|
1513
1563
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
1564
|
+
fill: #6b7280;
|
|
1514
1565
|
--tw-text-opacity: 1;
|
|
1515
1566
|
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
1516
1567
|
}
|
|
@@ -1521,35 +1572,42 @@ video {
|
|
|
1521
1572
|
}
|
|
1522
1573
|
|
|
1523
1574
|
.s-button-primary-link {
|
|
1575
|
+
fill: var(--color-primary);
|
|
1524
1576
|
color: var(--color-primary);
|
|
1525
1577
|
}
|
|
1526
1578
|
|
|
1527
1579
|
.s-button-success-link {
|
|
1580
|
+
fill: #22c55e;
|
|
1528
1581
|
--tw-text-opacity: 1;
|
|
1529
1582
|
color: rgb(34 197 94 / var(--tw-text-opacity));
|
|
1530
1583
|
}
|
|
1531
1584
|
|
|
1532
1585
|
.s-button-danger-link {
|
|
1586
|
+
fill: #f87171;
|
|
1533
1587
|
--tw-text-opacity: 1;
|
|
1534
1588
|
color: rgb(248 113 113 / var(--tw-text-opacity));
|
|
1535
1589
|
}
|
|
1536
1590
|
|
|
1537
1591
|
.s-button-warning-link {
|
|
1592
|
+
fill: #fbbf24;
|
|
1538
1593
|
--tw-text-opacity: 1;
|
|
1539
1594
|
color: rgb(251 191 36 / var(--tw-text-opacity));
|
|
1540
1595
|
}
|
|
1541
1596
|
|
|
1542
1597
|
.s-button-gray-link {
|
|
1598
|
+
fill: #9ca3af;
|
|
1543
1599
|
--tw-text-opacity: 1;
|
|
1544
1600
|
color: rgb(156 163 175 / var(--tw-text-opacity));
|
|
1545
1601
|
}
|
|
1546
1602
|
|
|
1547
1603
|
.s-button-dark-link {
|
|
1604
|
+
fill: #374151;
|
|
1548
1605
|
--tw-text-opacity: 1;
|
|
1549
1606
|
color: rgb(55 65 81 / var(--tw-text-opacity));
|
|
1550
1607
|
}
|
|
1551
1608
|
|
|
1552
1609
|
.s-button-light-link {
|
|
1610
|
+
fill: #6b7280;
|
|
1553
1611
|
--tw-text-opacity: 1;
|
|
1554
1612
|
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
1555
1613
|
}
|
|
@@ -1988,8 +2046,6 @@ video {
|
|
|
1988
2046
|
.s-login-modal-main-btn-icon {
|
|
1989
2047
|
flex-shrink: 0;
|
|
1990
2048
|
background-color: var(--color-primary);
|
|
1991
|
-
--tw-text-opacity: 1;
|
|
1992
|
-
color: rgb(255 255 255 / var(--tw-text-opacity));
|
|
1993
2049
|
display: flex;
|
|
1994
2050
|
height: 4rem;
|
|
1995
2051
|
width: 4rem;
|
|
@@ -2000,16 +2056,66 @@ video {
|
|
|
2000
2056
|
line-height: 2.25rem;
|
|
2001
2057
|
}
|
|
2002
2058
|
|
|
2059
|
+
.s-login-modal-main-btn-icon svg {
|
|
2060
|
+
fill: #fff;
|
|
2061
|
+
}
|
|
2062
|
+
|
|
2003
2063
|
.s-login-modal-main-btn-text {
|
|
2004
2064
|
flex: 1 1 0%;
|
|
2005
2065
|
padding: 0.75rem;
|
|
2006
2066
|
font-weight: 700;
|
|
2007
2067
|
}
|
|
2008
2068
|
|
|
2009
|
-
.s-login-modal-main-btn-arrow {
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2069
|
+
.s-login-modal-main-btn-arrow svg {
|
|
2070
|
+
height: 1rem;
|
|
2071
|
+
width: 1rem;
|
|
2072
|
+
fill: #1f2937;
|
|
2073
|
+
}
|
|
2074
|
+
|
|
2075
|
+
.s-login-modal-header-icon {
|
|
2076
|
+
display: inline-flex;
|
|
2077
|
+
height: 4rem;
|
|
2078
|
+
width: 4rem;
|
|
2079
|
+
align-items: center;
|
|
2080
|
+
justify-content: center;
|
|
2081
|
+
border-radius: 9999px;
|
|
2082
|
+
border-width: 1px;
|
|
2083
|
+
border-style: solid;
|
|
2084
|
+
--tw-border-opacity: 1;
|
|
2085
|
+
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
[dir="ltr"] .s-login-modal-header-icon {
|
|
2089
|
+
margin-right: 0.5rem;
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
[dir="rtl"] .s-login-modal-header-icon {
|
|
2093
|
+
margin-left: 0.5rem;
|
|
2094
|
+
}
|
|
2095
|
+
|
|
2096
|
+
@media (min-width: 640px) {
|
|
2097
|
+
.s-login-modal-header-icon {
|
|
2098
|
+
margin-left: auto;
|
|
2099
|
+
margin-right: auto;
|
|
2100
|
+
margin-bottom: 1rem;
|
|
2101
|
+
height: 5rem;
|
|
2102
|
+
width: 5rem;
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
[dir="ltr"] .s-login-modal-header-icon {
|
|
2106
|
+
margin-right: 0px;
|
|
2107
|
+
}
|
|
2108
|
+
|
|
2109
|
+
[dir="rtl"] .s-login-modal-header-icon {
|
|
2110
|
+
margin-left: 0px;
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
.s-login-modal-header-icon svg {
|
|
2115
|
+
height: 1.75rem;
|
|
2116
|
+
width: 1.75rem;
|
|
2117
|
+
flex-shrink: 0;
|
|
2118
|
+
fill: #9ca3af;
|
|
2013
2119
|
}
|
|
2014
2120
|
|
|
2015
2121
|
.s-login-modal-label {
|
|
@@ -2107,7 +2213,7 @@ video {
|
|
|
2107
2213
|
opacity: 0;
|
|
2108
2214
|
}
|
|
2109
2215
|
|
|
2110
|
-
[dir='
|
|
2216
|
+
[dir='rtl'] .s-login-modal-main-btn-arrow {
|
|
2111
2217
|
transform: scale(-1) !important;
|
|
2112
2218
|
}
|
|
2113
2219
|
|
|
@@ -2565,17 +2671,19 @@ video {
|
|
|
2565
2671
|
content: var(--tw-content);
|
|
2566
2672
|
}
|
|
2567
2673
|
|
|
2568
|
-
.s-modal-close {
|
|
2674
|
+
.s-modal-close svg {
|
|
2569
2675
|
position: absolute;
|
|
2676
|
+
right: 1rem;
|
|
2570
2677
|
top: 1rem;
|
|
2571
2678
|
z-index: 1;
|
|
2679
|
+
height: 1rem;
|
|
2680
|
+
width: 1rem;
|
|
2572
2681
|
cursor: pointer;
|
|
2573
2682
|
border-style: none;
|
|
2574
2683
|
background-color: transparent;
|
|
2684
|
+
fill: #f87171;
|
|
2575
2685
|
font-size: 1.125rem;
|
|
2576
2686
|
line-height: 1.75rem;
|
|
2577
|
-
--tw-text-opacity: 1;
|
|
2578
|
-
color: rgb(248 113 113 / var(--tw-text-opacity));
|
|
2579
2687
|
transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
|
|
2580
2688
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
|
2581
2689
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
|
|
@@ -2583,16 +2691,12 @@ video {
|
|
|
2583
2691
|
transition-duration: 150ms;
|
|
2584
2692
|
}
|
|
2585
2693
|
|
|
2586
|
-
.s-modal-close:hover {
|
|
2587
|
-
|
|
2588
|
-
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
2589
|
-
}
|
|
2590
|
-
|
|
2591
|
-
[dir="ltr"] .s-modal-close {
|
|
2592
|
-
right: 1rem;
|
|
2694
|
+
.s-modal-close svg:hover {
|
|
2695
|
+
fill: #ef4444;
|
|
2593
2696
|
}
|
|
2594
2697
|
|
|
2595
|
-
[dir="rtl"] .s-modal-close {
|
|
2698
|
+
[dir="rtl"] .s-modal-close svg {
|
|
2699
|
+
right: unset;
|
|
2596
2700
|
left: 1rem;
|
|
2597
2701
|
}
|
|
2598
2702
|
|
|
@@ -2610,6 +2714,7 @@ video {
|
|
|
2610
2714
|
margin-bottom: 1.25rem;
|
|
2611
2715
|
display: flex;
|
|
2612
2716
|
align-items: center;
|
|
2717
|
+
text-align: center;
|
|
2613
2718
|
}
|
|
2614
2719
|
|
|
2615
2720
|
@media (min-width: 640px) {
|
|
@@ -2623,24 +2728,6 @@ video {
|
|
|
2623
2728
|
flex-direction: column;
|
|
2624
2729
|
}
|
|
2625
2730
|
|
|
2626
|
-
[dir="ltr"] .s-modal-header-content {
|
|
2627
|
-
padding-right: 2.5rem;
|
|
2628
|
-
}
|
|
2629
|
-
|
|
2630
|
-
[dir="rtl"] .s-modal-header-content {
|
|
2631
|
-
padding-left: 2.5rem;
|
|
2632
|
-
}
|
|
2633
|
-
|
|
2634
|
-
@media (min-width: 640px) {
|
|
2635
|
-
[dir="ltr"] .s-modal-header-content {
|
|
2636
|
-
padding-right: 0px;
|
|
2637
|
-
}
|
|
2638
|
-
|
|
2639
|
-
[dir="rtl"] .s-modal-header-content {
|
|
2640
|
-
padding-left: 0px;
|
|
2641
|
-
}
|
|
2642
|
-
}
|
|
2643
|
-
|
|
2644
2731
|
.s-modal-header-img {
|
|
2645
2732
|
margin-left: auto;
|
|
2646
2733
|
margin-right: auto;
|
|
@@ -2667,8 +2754,6 @@ video {
|
|
|
2667
2754
|
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
|
2668
2755
|
font-size: 1.875rem;
|
|
2669
2756
|
line-height: 2.25rem;
|
|
2670
|
-
--tw-text-opacity: 1;
|
|
2671
|
-
color: rgb(156 163 175 / var(--tw-text-opacity));
|
|
2672
2757
|
}
|
|
2673
2758
|
|
|
2674
2759
|
[dir="ltr"] .s-modal-icon {
|
|
@@ -2697,6 +2782,10 @@ video {
|
|
|
2697
2782
|
}
|
|
2698
2783
|
}
|
|
2699
2784
|
|
|
2785
|
+
.s-modal-icon svg {
|
|
2786
|
+
fill: #9ca3af;
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2700
2789
|
.s-modal-bg-normal {
|
|
2701
2790
|
--tw-bg-opacity: 1;
|
|
2702
2791
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
@@ -2707,8 +2796,10 @@ video {
|
|
|
2707
2796
|
border-color: rgb(134 239 172 / var(--tw-border-opacity));
|
|
2708
2797
|
--tw-bg-opacity: 1;
|
|
2709
2798
|
background-color: rgb(220 252 231 / var(--tw-bg-opacity));
|
|
2710
|
-
|
|
2711
|
-
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
.s-modal-bg-success svg {
|
|
2802
|
+
fill: #16a34a;
|
|
2712
2803
|
}
|
|
2713
2804
|
|
|
2714
2805
|
.s-modal-bg-error {
|
|
@@ -2716,14 +2807,19 @@ video {
|
|
|
2716
2807
|
border-color: rgb(252 165 165 / var(--tw-border-opacity));
|
|
2717
2808
|
--tw-bg-opacity: 1;
|
|
2718
2809
|
background-color: rgb(254 226 226 / var(--tw-bg-opacity));
|
|
2719
|
-
|
|
2720
|
-
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
.s-modal-bg-error svg {
|
|
2813
|
+
fill: #dc2626;
|
|
2721
2814
|
}
|
|
2722
2815
|
|
|
2723
2816
|
.s-modal-bg-primary {
|
|
2724
2817
|
border-color: var(--color-primary);
|
|
2725
2818
|
background-color: var(--color-primary);
|
|
2726
|
-
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2821
|
+
.s-modal-bg-primary svg {
|
|
2822
|
+
fill: var(--color-primary-reverse);
|
|
2727
2823
|
}
|
|
2728
2824
|
|
|
2729
2825
|
.s-modal-title {
|
|
@@ -2967,10 +3063,6 @@ video {
|
|
|
2967
3063
|
margin-left: 0.625rem;
|
|
2968
3064
|
}
|
|
2969
3065
|
|
|
2970
|
-
.s-offer-modal-badge-icon {
|
|
2971
|
-
font-weight: 500;
|
|
2972
|
-
}
|
|
2973
|
-
|
|
2974
3066
|
[dir="ltr"] .s-offer-modal-badge-icon {
|
|
2975
3067
|
margin-left: 0.375rem;
|
|
2976
3068
|
}
|
|
@@ -2979,6 +3071,11 @@ video {
|
|
|
2979
3071
|
margin-left: 0.375rem;
|
|
2980
3072
|
}
|
|
2981
3073
|
|
|
3074
|
+
.s-offer-modal-badge-icon svg {
|
|
3075
|
+
height: 1.5rem;
|
|
3076
|
+
width: 1.5rem;
|
|
3077
|
+
}
|
|
3078
|
+
|
|
2982
3079
|
.s-offer-modal-badge-text {
|
|
2983
3080
|
--tw-translate-y: -0.125rem;
|
|
2984
3081
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -3093,6 +3190,52 @@ video {
|
|
|
3093
3190
|
margin-top: auto;
|
|
3094
3191
|
}
|
|
3095
3192
|
|
|
3193
|
+
.s-offer-modal-header-icon {
|
|
3194
|
+
display: inline-flex;
|
|
3195
|
+
height: 4rem;
|
|
3196
|
+
width: 4rem;
|
|
3197
|
+
align-items: center;
|
|
3198
|
+
justify-content: center;
|
|
3199
|
+
border-radius: 9999px;
|
|
3200
|
+
border-width: 1px;
|
|
3201
|
+
border-style: solid;
|
|
3202
|
+
--tw-border-opacity: 1;
|
|
3203
|
+
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
[dir="ltr"] .s-offer-modal-header-icon {
|
|
3207
|
+
margin-right: 0.5rem;
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
[dir="rtl"] .s-offer-modal-header-icon {
|
|
3211
|
+
margin-left: 0.5rem;
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
@media (min-width: 640px) {
|
|
3215
|
+
.s-offer-modal-header-icon {
|
|
3216
|
+
margin-left: auto;
|
|
3217
|
+
margin-right: auto;
|
|
3218
|
+
margin-bottom: 1rem;
|
|
3219
|
+
height: 5rem;
|
|
3220
|
+
width: 5rem;
|
|
3221
|
+
}
|
|
3222
|
+
|
|
3223
|
+
[dir="ltr"] .s-offer-modal-header-icon {
|
|
3224
|
+
margin-right: 0px;
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
[dir="rtl"] .s-offer-modal-header-icon {
|
|
3228
|
+
margin-left: 0px;
|
|
3229
|
+
}
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
.s-offer-modal-header-icon svg {
|
|
3233
|
+
height: 1.75rem;
|
|
3234
|
+
width: 1.75rem;
|
|
3235
|
+
flex-shrink: 0;
|
|
3236
|
+
fill: #9ca3af;
|
|
3237
|
+
}
|
|
3238
|
+
|
|
3096
3239
|
.s-offer-modal-footer {
|
|
3097
3240
|
display: flex;
|
|
3098
3241
|
flex-direction: column;
|
|
@@ -3225,6 +3368,12 @@ video {
|
|
|
3225
3368
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
3226
3369
|
}
|
|
3227
3370
|
|
|
3371
|
+
.s-offer-modal-nav-btn-icon svg {
|
|
3372
|
+
height: 1.25rem;
|
|
3373
|
+
width: 1.25rem;
|
|
3374
|
+
fill: var(--color-primary);
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3228
3377
|
.s-offer-modal-next-btn {
|
|
3229
3378
|
--tw-translate-x: 100%;
|
|
3230
3379
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -3563,6 +3712,7 @@ video {
|
|
|
3563
3712
|
display: flex;
|
|
3564
3713
|
height: 2.5rem;
|
|
3565
3714
|
align-items: stretch;
|
|
3715
|
+
justify-content: space-around;
|
|
3566
3716
|
border-radius: 0.375rem;
|
|
3567
3717
|
border-width: 1px;
|
|
3568
3718
|
font-size: 0.875rem;
|
|
@@ -3592,8 +3742,7 @@ video {
|
|
|
3592
3742
|
|
|
3593
3743
|
.s-quantity-input-button {
|
|
3594
3744
|
width: 2.75rem;
|
|
3595
|
-
|
|
3596
|
-
color: rgb(156 163 175 / var(--tw-text-opacity));
|
|
3745
|
+
fill: #9ca3af;
|
|
3597
3746
|
transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
|
|
3598
3747
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
3599
3748
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
|
|
@@ -3602,7 +3751,14 @@ video {
|
|
|
3602
3751
|
}
|
|
3603
3752
|
|
|
3604
3753
|
.s-quantity-input-button:hover {
|
|
3605
|
-
|
|
3754
|
+
fill: var(--color-primary);
|
|
3755
|
+
}
|
|
3756
|
+
|
|
3757
|
+
.s-quantity-input-button svg {
|
|
3758
|
+
margin-left: auto;
|
|
3759
|
+
margin-right: auto;
|
|
3760
|
+
height: 1.25rem;
|
|
3761
|
+
width: 1.25rem;
|
|
3606
3762
|
}
|
|
3607
3763
|
|
|
3608
3764
|
.s-rating-modal-wrapper {
|
|
@@ -3873,11 +4029,15 @@ video {
|
|
|
3873
4029
|
border-radius: 9999px;
|
|
3874
4030
|
--tw-bg-opacity: 1;
|
|
3875
4031
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
3876
|
-
font-size: 2.25rem;
|
|
3877
|
-
line-height: 2.5rem;
|
|
3878
4032
|
color: var(--color-primary);
|
|
3879
4033
|
}
|
|
3880
4034
|
|
|
4035
|
+
.s-rating-modal-icon svg {
|
|
4036
|
+
height: 1.75rem;
|
|
4037
|
+
width: 1.75rem;
|
|
4038
|
+
fill: var(--color-primary);
|
|
4039
|
+
}
|
|
4040
|
+
|
|
3881
4041
|
.s-rating-modal-thanks-title {
|
|
3882
4042
|
margin-top: 1rem;
|
|
3883
4043
|
font-weight: 700;
|
|
@@ -3963,10 +4123,9 @@ unicode {
|
|
|
3963
4123
|
|
|
3964
4124
|
.s-rating-stars-btn-star {
|
|
3965
4125
|
border-width: 0px;
|
|
4126
|
+
fill: #d1d5db;
|
|
3966
4127
|
padding-left: 0.125rem;
|
|
3967
4128
|
padding-right: 0.125rem;
|
|
3968
|
-
--tw-text-opacity: 1;
|
|
3969
|
-
color: rgb(209 213 219 / var(--tw-text-opacity));
|
|
3970
4129
|
transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
|
|
3971
4130
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
3972
4131
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
|
|
@@ -3974,34 +4133,32 @@ unicode {
|
|
|
3974
4133
|
transition-duration: 150ms;
|
|
3975
4134
|
}
|
|
3976
4135
|
|
|
3977
|
-
.s-rating-stars-large {
|
|
3978
|
-
|
|
3979
|
-
|
|
4136
|
+
.s-rating-stars-large svg {
|
|
4137
|
+
height: 1.75rem;
|
|
4138
|
+
width: 1.75rem;
|
|
3980
4139
|
}
|
|
3981
4140
|
|
|
3982
|
-
.s-rating-stars-medium {
|
|
3983
|
-
|
|
3984
|
-
|
|
4141
|
+
.s-rating-stars-medium svg {
|
|
4142
|
+
height: 1.25rem;
|
|
4143
|
+
width: 1.25rem;
|
|
3985
4144
|
}
|
|
3986
4145
|
|
|
3987
|
-
.s-rating-stars-small {
|
|
3988
|
-
|
|
3989
|
-
|
|
4146
|
+
.s-rating-stars-small svg {
|
|
4147
|
+
height: 1rem;
|
|
4148
|
+
width: 1rem;
|
|
3990
4149
|
}
|
|
3991
4150
|
|
|
3992
|
-
.s-rating-stars-mini {
|
|
3993
|
-
|
|
3994
|
-
|
|
4151
|
+
.s-rating-stars-mini svg {
|
|
4152
|
+
height: 0.75rem;
|
|
4153
|
+
width: 0.75rem;
|
|
3995
4154
|
}
|
|
3996
4155
|
|
|
3997
4156
|
.s-rating-stars-hovered {
|
|
3998
|
-
|
|
3999
|
-
color: rgb(251 191 36 / var(--tw-text-opacity));
|
|
4157
|
+
fill: #fbbf24;
|
|
4000
4158
|
}
|
|
4001
4159
|
|
|
4002
4160
|
.s-rating-stars-selected {
|
|
4003
|
-
|
|
4004
|
-
color: rgb(251 191 36 / var(--tw-text-opacity));
|
|
4161
|
+
fill: #fbbf24;
|
|
4005
4162
|
}
|
|
4006
4163
|
|
|
4007
4164
|
.s-scopes-title {
|
|
@@ -4411,6 +4568,12 @@ unicode {
|
|
|
4411
4568
|
right: 1rem;
|
|
4412
4569
|
}
|
|
4413
4570
|
|
|
4571
|
+
.s-search-icon svg {
|
|
4572
|
+
height: 1rem;
|
|
4573
|
+
width: 1rem;
|
|
4574
|
+
fill: #9ca3af;
|
|
4575
|
+
}
|
|
4576
|
+
|
|
4414
4577
|
.s-search-spinner-loader {
|
|
4415
4578
|
display: block;
|
|
4416
4579
|
height: 1rem;
|
|
@@ -4660,10 +4823,15 @@ unicode {
|
|
|
4660
4823
|
position: relative;
|
|
4661
4824
|
}
|
|
4662
4825
|
|
|
4663
|
-
.s-social-share-btn
|
|
4826
|
+
.s-social-share-btn span {
|
|
4664
4827
|
pointer-events: none;
|
|
4665
4828
|
}
|
|
4666
4829
|
|
|
4830
|
+
.s-social-share-btn span svg {
|
|
4831
|
+
height: 1rem;
|
|
4832
|
+
width: 1rem;
|
|
4833
|
+
}
|
|
4834
|
+
|
|
4667
4835
|
.s-social-share-list {
|
|
4668
4836
|
position: absolute;
|
|
4669
4837
|
top: 3rem;
|
|
@@ -4701,6 +4869,34 @@ unicode {
|
|
|
4701
4869
|
width: 1.25rem;
|
|
4702
4870
|
}
|
|
4703
4871
|
|
|
4872
|
+
.s-swiper-container {
|
|
4873
|
+
padding-top: 0.25rem;
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
.s-swiper-button-next {
|
|
4877
|
+
position: absolute;
|
|
4878
|
+
right: -25px !important;
|
|
4879
|
+
top: 50%;
|
|
4880
|
+
z-index: 10;
|
|
4881
|
+
}
|
|
4882
|
+
|
|
4883
|
+
.s-swiper-button-next svg {
|
|
4884
|
+
height: 1rem;
|
|
4885
|
+
width: 1rem;
|
|
4886
|
+
}
|
|
4887
|
+
|
|
4888
|
+
.s-swiper-button-prev {
|
|
4889
|
+
position: absolute;
|
|
4890
|
+
left: -25px !important;
|
|
4891
|
+
top: 50%;
|
|
4892
|
+
z-index: 10;
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
.s-swiper-button-prev svg {
|
|
4896
|
+
height: 1rem;
|
|
4897
|
+
width: 1rem;
|
|
4898
|
+
}
|
|
4899
|
+
|
|
4704
4900
|
.s-tabs-bg-normal {
|
|
4705
4901
|
--tw-bg-opacity: 1;
|
|
4706
4902
|
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
@@ -4916,6 +5112,7 @@ unicode {
|
|
|
4916
5112
|
|
|
4917
5113
|
.s-verify-back {
|
|
4918
5114
|
position: absolute;
|
|
5115
|
+
left: -0.625rem;
|
|
4919
5116
|
top: -11rem;
|
|
4920
5117
|
display: flex;
|
|
4921
5118
|
height: 2.5rem;
|
|
@@ -4941,11 +5138,8 @@ unicode {
|
|
|
4941
5138
|
background-color: rgb(243 244 246 / var(--tw-bg-opacity));
|
|
4942
5139
|
}
|
|
4943
5140
|
|
|
4944
|
-
[dir="ltr"] .s-verify-back {
|
|
4945
|
-
left: 0.625rem;
|
|
4946
|
-
}
|
|
4947
|
-
|
|
4948
5141
|
[dir="rtl"] .s-verify-back {
|
|
5142
|
+
left: unset;
|
|
4949
5143
|
right: -0.625rem;
|
|
4950
5144
|
}
|
|
4951
5145
|
|