@magicfeedback/popup-sdk 1.8.5 → 1.10.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.
@@ -524,7 +524,7 @@ function ddSetSurveyBusy(el, busy){
524
524
  var style_default = `/**
525
525
  * NO EDITAR A MANO \u2014 generado por scripts/vendor-survey-css.mjs
526
526
  *
527
- * Copia de @magicfeedback/native@2.2.22 \u2192 dist/styles/magicfeedback-default.css
527
+ * Copia de @magicfeedback/native@2.2.31 \u2192 dist/styles/magicfeedback-default.css
528
528
  * (la hoja can\xF3nica del paquete, la que apunta su campo "style"), con estos cambios locales:
529
529
  *
530
530
  * 1. Sin el @import de Google Fonts (Nunito): no queremos una petici\xF3n externa desde la
@@ -535,7 +535,9 @@ var style_default = `/**
535
535
  * repintar\xEDa su web.
536
536
  * 4. El grupo .magicfeedback-radio se cualifica como div.magicfeedback-radio (la clase acaba
537
537
  * tambi\xE9n en el <input> del boolean).
538
- * 5. Al final, un bloque de reglas propias del popup (fuente en los controles y padding del
538
+ * 5. Todo :hover va dentro de @media (hover: hover): en t\xE1ctil WebKit deja el hover pegado
539
+ * en el \xFAltimo punto tocado y la opci\xF3n de la p\xE1gina siguiente parec\xEDa seleccionada.
540
+ * 6. Al final, un bloque de reglas propias del popup (fuente en los controles y padding del
539
541
  * radio nativo).
540
542
  *
541
543
  * Las variables --mf-* se dejan en :root a prop\xF3sito: el modal del priority-list se portea a
@@ -773,9 +775,11 @@ var style_default = `/**
773
775
  text-underline-offset: 2px;
774
776
  }
775
777
 
776
- .magicfeedback-info-message a:hover,
777
- .magicfeedback-start-message a:hover {
778
- color: var(--mf-primary-hover);
778
+ @media (hover: hover) {
779
+ .magicfeedback-info-message a:hover,
780
+ .magicfeedback-start-message a:hover {
781
+ color: var(--mf-primary-hover);
782
+ }
779
783
  }
780
784
 
781
785
  .magicfeedback-info-message ul,
@@ -1001,10 +1005,12 @@ div.magicfeedback-radio {
1001
1005
  transition: var(--mf-transition-fast);
1002
1006
  }
1003
1007
 
1004
- .magicfeedback-checkbox-container:hover,
1005
- .magicfeedback-radio-container:hover {
1006
- background-color: var(--mf-bg-hover);
1007
- border-color: var(--mf-primary);
1008
+ @media (hover: hover) {
1009
+ .magicfeedback-checkbox-container:hover,
1010
+ .magicfeedback-radio-container:hover {
1011
+ background-color: var(--mf-bg-hover);
1012
+ border-color: var(--mf-primary);
1013
+ }
1008
1014
  }
1009
1015
 
1010
1016
  .magicfeedback-checkbox-container:has(input:checked),
@@ -1071,9 +1077,11 @@ div.magicfeedback-radio {
1071
1077
  height: inherit;
1072
1078
  }
1073
1079
 
1074
- .magicfeedback-boolean-option label:hover {
1075
- background-color: var(--mf-bg-hover);
1076
- border-color: var(--mf-primary);
1080
+ @media (hover: hover) {
1081
+ .magicfeedback-boolean-option label:hover {
1082
+ background-color: var(--mf-bg-hover);
1083
+ border-color: var(--mf-primary);
1084
+ }
1077
1085
  }
1078
1086
 
1079
1087
  .magicfeedback-boolean-option input[type="radio"]:checked + label {
@@ -1144,9 +1152,11 @@ div.magicfeedback-radio {
1144
1152
  border: 2px solid transparent;
1145
1153
  }
1146
1154
 
1147
- .magicfeedback-rating-option-label-container img:hover {
1148
- transform: scale(1.1);
1149
- border-color: var(--mf-primary);
1155
+ @media (hover: hover) {
1156
+ .magicfeedback-rating-option-label-container img:hover {
1157
+ transform: scale(1.1);
1158
+ border-color: var(--mf-primary);
1159
+ }
1150
1160
  }
1151
1161
 
1152
1162
  .magicfeedback-rating-option-label-container input[type="radio"]:checked + img {
@@ -1298,9 +1308,11 @@ div.magicfeedback-radio {
1298
1308
  font-size: 0.8rem;
1299
1309
  }
1300
1310
 
1301
- .magicfeedback-rating-number-option-row .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value,
1302
- .magicfeedback-rating-number-option-row-reverse .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1303
- background: var(--mf-primary-light);
1311
+ @media (hover: hover) {
1312
+ .magicfeedback-rating-number-option-row .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value,
1313
+ .magicfeedback-rating-number-option-row-reverse .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1314
+ background: var(--mf-primary-light);
1315
+ }
1304
1316
  }
1305
1317
 
1306
1318
  .magicfeedback-rating-number-option-row .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value,
@@ -1337,8 +1349,10 @@ div.magicfeedback-radio {
1337
1349
  font-size: var(--mf-font-size-sm);
1338
1350
  }
1339
1351
 
1340
- .magicfeedback-rating-number-option--extra .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1341
- background: var(--mf-primary-light);
1352
+ @media (hover: hover) {
1353
+ .magicfeedback-rating-number-option--extra .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1354
+ background: var(--mf-primary-light);
1355
+ }
1342
1356
  }
1343
1357
 
1344
1358
  .magicfeedback-rating-number-option--extra .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value {
@@ -1371,9 +1385,11 @@ div.magicfeedback-radio {
1371
1385
  color: var(--mf-primary);
1372
1386
  }
1373
1387
 
1374
- .magicfeedback-rating-number-option-column .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value,
1375
- .magicfeedback-rating-number-option-column-reverse .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1376
- background: var(--mf-primary-light);
1388
+ @media (hover: hover) {
1389
+ .magicfeedback-rating-number-option-column .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value,
1390
+ .magicfeedback-rating-number-option-column-reverse .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1391
+ background: var(--mf-primary-light);
1392
+ }
1377
1393
  }
1378
1394
 
1379
1395
  .magicfeedback-rating-number-option-column .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value,
@@ -1427,10 +1443,12 @@ div.magicfeedback-radio {
1427
1443
  transition: var(--mf-transition-fast);
1428
1444
  }
1429
1445
 
1430
- .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover,
1431
- .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover ~ span {
1432
- color: #fbbf24;
1433
- transform: scale(1.1);
1446
+ @media (hover: hover) {
1447
+ .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover,
1448
+ .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover ~ span {
1449
+ color: #fbbf24;
1450
+ transform: scale(1.1);
1451
+ }
1434
1452
  }
1435
1453
 
1436
1454
  .magicfeedback-rating-star-selected {
@@ -1471,9 +1489,11 @@ div.magicfeedback-radio {
1471
1489
  transition: var(--mf-transition-fast);
1472
1490
  }
1473
1491
 
1474
- .magicfeedback-image-option-label-container:hover img {
1475
- border-color: var(--mf-primary);
1476
- box-shadow: var(--mf-shadow-md);
1492
+ @media (hover: hover) {
1493
+ .magicfeedback-image-option-label-container:hover img {
1494
+ border-color: var(--mf-primary);
1495
+ box-shadow: var(--mf-shadow-md);
1496
+ }
1477
1497
  }
1478
1498
 
1479
1499
  .magicfeedback-image-option-label-container input:checked + img {
@@ -1488,6 +1508,9 @@ div.magicfeedback-radio {
1488
1508
  width: 100%;
1489
1509
  overflow-x: auto;
1490
1510
  border-radius: var(--mf-radius-md);
1511
+ /* the layout follows the space the survey gets (a pop-in, a sidebar),
1512
+ not the size of the window */
1513
+ container-type: inline-size;
1491
1514
  }
1492
1515
 
1493
1516
  .magicfeedback-multi-question-matrix-table {
@@ -1514,9 +1537,11 @@ div.magicfeedback-radio {
1514
1537
  background-color: var(--mf-bg-secondary);
1515
1538
  }
1516
1539
 
1517
- .magicfeedback-multi-question-matrix-row-tr:hover {
1518
- background-color: var(--mf-bg-hover);
1519
- box-shadow: var(--mf-shadow-sm);
1540
+ @media (hover: hover) {
1541
+ .magicfeedback-multi-question-matrix-row-tr:hover {
1542
+ background-color: var(--mf-bg-hover);
1543
+ box-shadow: var(--mf-shadow-sm);
1544
+ }
1520
1545
  }
1521
1546
 
1522
1547
  .magicfeedback-multi-question-matrix-table td {
@@ -1537,6 +1562,296 @@ div.magicfeedback-radio {
1537
1562
  accent-color: var(--mf-primary);
1538
1563
  }
1539
1564
 
1565
+ .magicfeedback-multi-question-matrix-question {
1566
+ min-width: 200px;
1567
+ padding: 10px;
1568
+ }
1569
+
1570
+ /* the column header names the option in a table; the per-cell label is for
1571
+ screen readers until the rows stack */
1572
+ .magicfeedback-multi-question-matrix-option-label {
1573
+ position: absolute;
1574
+ width: 1px;
1575
+ height: 1px;
1576
+ overflow: hidden;
1577
+ clip: rect(0, 0, 0, 0);
1578
+ white-space: nowrap;
1579
+ }
1580
+
1581
+ /* narrow container: every row becomes its own question with the options
1582
+ stacked underneath, instead of a table cut off at the side */
1583
+ @container (max-width: 599px) {
1584
+ .magicfeedback-multi-question-matrix-table,
1585
+ .magicfeedback-multi-question-matrix-table tbody,
1586
+ .magicfeedback-multi-question-matrix-table tr,
1587
+ .magicfeedback-multi-question-matrix-table td {
1588
+ display: block;
1589
+ width: 100%;
1590
+ }
1591
+
1592
+ .magicfeedback-multi-question-matrix-table thead {
1593
+ display: none;
1594
+ }
1595
+
1596
+ .magicfeedback-multi-question-matrix-row-tr,
1597
+ .magicfeedback-multi-question-matrix-row-tr:nth-child(even) {
1598
+ margin-bottom: var(--mf-space-lg);
1599
+ background: transparent;
1600
+ box-shadow: none;
1601
+ }
1602
+
1603
+ @media (hover: hover) {
1604
+ .magicfeedback-multi-question-matrix-row-tr:hover {
1605
+ margin-bottom: var(--mf-space-lg);
1606
+ background: transparent;
1607
+ box-shadow: none;
1608
+ }
1609
+ }
1610
+
1611
+ .magicfeedback-multi-question-matrix-table td.magicfeedback-multi-question-matrix-question {
1612
+ min-width: 0;
1613
+ padding: 0 0 var(--mf-space-sm);
1614
+ text-align: start;
1615
+ }
1616
+
1617
+ .magicfeedback-multi-question-matrix-question .magicfeedback-multi-question-matrix-label {
1618
+ font-weight: 600;
1619
+ }
1620
+
1621
+ .magicfeedback-multi-question-matrix-table td.magicfeedback-multi-question-matrix-option {
1622
+ display: flex;
1623
+ align-items: center;
1624
+ gap: var(--mf-space-sm);
1625
+ margin-bottom: var(--mf-space-sm);
1626
+ padding: 0 var(--mf-space-md);
1627
+ text-align: start;
1628
+ background: var(--mf-bg-secondary);
1629
+ border: 2px solid var(--mf-border);
1630
+ border-radius: var(--mf-radius-md);
1631
+ cursor: pointer;
1632
+ transition: var(--mf-transition-fast);
1633
+ }
1634
+
1635
+ @media (hover: hover) {
1636
+ .magicfeedback-multi-question-matrix-option:hover {
1637
+ border-color: var(--mf-primary-border);
1638
+ }
1639
+ }
1640
+
1641
+ .magicfeedback-multi-question-matrix-option:has(input:checked) {
1642
+ border-color: var(--mf-primary);
1643
+ background: var(--mf-primary-light);
1644
+ }
1645
+
1646
+ .magicfeedback-multi-question-matrix-table .magicfeedback-multi-question-matrix-option input[type="radio"] {
1647
+ flex-shrink: 0;
1648
+ }
1649
+
1650
+ /* the whole card is the click target */
1651
+ .magicfeedback-multi-question-matrix-option-label {
1652
+ position: static;
1653
+ flex: 1;
1654
+ width: auto;
1655
+ height: auto;
1656
+ padding: var(--mf-space-md) 0;
1657
+ overflow: visible;
1658
+ clip: auto;
1659
+ white-space: normal;
1660
+ font-size: var(--mf-font-size-base);
1661
+ color: var(--mf-text-primary);
1662
+ cursor: pointer;
1663
+ }
1664
+ }
1665
+
1666
+ /* ========================================
1667
+ MAXDIFF (BEST\u2013WORST)
1668
+ ======================================== */
1669
+ .magicfeedback-max-diff {
1670
+ /* "least" gets its own hue, apart from the brand color "most" uses; dark
1671
+ enough to read as header text and to hold the white center dot */
1672
+ --mf-max-diff-worst: #b45309;
1673
+ width: 100%;
1674
+ }
1675
+
1676
+ .magicfeedback-max-diff-container {
1677
+ width: 100%;
1678
+ /* the layout follows the space the survey gets (a pop-in, a sidebar),
1679
+ not the size of the window */
1680
+ container-type: inline-size;
1681
+ }
1682
+
1683
+ .magicfeedback-max-diff-progress {
1684
+ display: flex;
1685
+ align-items: center;
1686
+ gap: var(--mf-space-md);
1687
+ margin-bottom: var(--mf-space-lg);
1688
+ }
1689
+
1690
+ .magicfeedback-max-diff-progress-label {
1691
+ font-size: 0.8125rem;
1692
+ font-weight: var(--mf-font-weight-bold);
1693
+ letter-spacing: 0.04em;
1694
+ text-transform: uppercase;
1695
+ white-space: nowrap;
1696
+ color: var(--mf-text-secondary);
1697
+ }
1698
+
1699
+ .magicfeedback-max-diff-progress-track {
1700
+ flex: 1;
1701
+ height: 6px;
1702
+ overflow: hidden;
1703
+ border-radius: var(--mf-radius-full);
1704
+ background: var(--mf-border);
1705
+ }
1706
+
1707
+ .magicfeedback-max-diff-progress-fill {
1708
+ display: block;
1709
+ height: 100%;
1710
+ border-radius: var(--mf-radius-full);
1711
+ background: var(--mf-primary);
1712
+ }
1713
+
1714
+ .magicfeedback-max-diff-table {
1715
+ width: 100%;
1716
+ border-collapse: collapse;
1717
+ }
1718
+
1719
+ .magicfeedback-max-diff-head,
1720
+ .magicfeedback-max-diff-head-spacer {
1721
+ border-bottom: 1px solid var(--mf-border);
1722
+ }
1723
+
1724
+ .magicfeedback-max-diff-head {
1725
+ width: 11rem;
1726
+ padding: 0 var(--mf-space-sm) var(--mf-space-sm);
1727
+ font-size: 0.8125rem;
1728
+ font-weight: var(--mf-font-weight-extrabold);
1729
+ letter-spacing: 0.04em;
1730
+ text-transform: uppercase;
1731
+ text-align: center;
1732
+ vertical-align: bottom;
1733
+ }
1734
+
1735
+ .magicfeedback-max-diff-head-best {
1736
+ color: var(--mf-primary);
1737
+ }
1738
+
1739
+ .magicfeedback-max-diff-head-worst {
1740
+ color: var(--mf-max-diff-worst);
1741
+ }
1742
+
1743
+ .magicfeedback-max-diff-head-label {
1744
+ display: inline-flex;
1745
+ align-items: center;
1746
+ gap: 6px;
1747
+ }
1748
+
1749
+ .magicfeedback-max-diff-row {
1750
+ transition: background-color 0.15s ease;
1751
+ }
1752
+
1753
+ .magicfeedback-max-diff-row > * {
1754
+ border-bottom: 1px solid var(--mf-border);
1755
+ }
1756
+
1757
+ .magicfeedback-max-diff-row:has(.magicfeedback-max-diff-best:checked) {
1758
+ background-color: color-mix(in srgb, var(--mf-primary) 8%, transparent);
1759
+ }
1760
+
1761
+ .magicfeedback-max-diff-row:has(.magicfeedback-max-diff-worst:checked) {
1762
+ background-color: color-mix(in srgb, var(--mf-max-diff-worst) 8%, transparent);
1763
+ }
1764
+
1765
+ .magicfeedback-max-diff-item {
1766
+ padding: var(--mf-space-md) var(--mf-space-sm);
1767
+ font-size: 1.0625rem;
1768
+ font-weight: var(--mf-font-weight-semibold);
1769
+ line-height: 1.4;
1770
+ text-align: center;
1771
+ color: var(--mf-text-primary);
1772
+ }
1773
+
1774
+ .magicfeedback-max-diff-row:has(input:checked) .magicfeedback-max-diff-item {
1775
+ font-weight: var(--mf-font-weight-extrabold);
1776
+ }
1777
+
1778
+ .magicfeedback-max-diff-cell {
1779
+ padding: 0;
1780
+ }
1781
+
1782
+ /* the whole cell is the click target */
1783
+ .magicfeedback-max-diff-pick {
1784
+ display: flex;
1785
+ align-items: center;
1786
+ justify-content: center;
1787
+ min-height: 64px;
1788
+ cursor: pointer;
1789
+ }
1790
+
1791
+ .magicfeedback-max-diff-input {
1792
+ appearance: none;
1793
+ -webkit-appearance: none;
1794
+ flex-shrink: 0;
1795
+ width: 26px;
1796
+ height: 26px;
1797
+ margin: 0;
1798
+ border: 2px solid color-mix(in srgb, var(--mf-text-secondary) 80%, white);
1799
+ border-radius: var(--mf-radius-full);
1800
+ background: var(--mf-bg-secondary);
1801
+ cursor: pointer;
1802
+ transition: var(--mf-transition-fast);
1803
+ }
1804
+
1805
+ @media (hover: hover) {
1806
+ .magicfeedback-max-diff-pick:hover .magicfeedback-max-diff-input {
1807
+ transform: scale(1.08);
1808
+ }
1809
+ }
1810
+
1811
+ .magicfeedback-max-diff-best:checked {
1812
+ border-color: var(--mf-primary);
1813
+ background: radial-gradient(circle, #FFFFFF 0 4px, var(--mf-primary) 4.5px);
1814
+ }
1815
+
1816
+ .magicfeedback-max-diff-worst:checked {
1817
+ border-color: var(--mf-max-diff-worst);
1818
+ background: radial-gradient(circle, #FFFFFF 0 4px, var(--mf-max-diff-worst) 4.5px);
1819
+ }
1820
+
1821
+ .magicfeedback-max-diff-input:focus-visible {
1822
+ outline: 3px solid var(--mf-primary-border);
1823
+ outline-offset: 3px;
1824
+ }
1825
+
1826
+ /* narrow container: same table, slimmer pick columns and the header icon
1827
+ stacked over its label */
1828
+ @container (max-width: 599px) {
1829
+ .magicfeedback-max-diff-head {
1830
+ width: 4.75rem;
1831
+ padding-inline: 2px;
1832
+ font-size: 0.6875rem;
1833
+ }
1834
+
1835
+ .magicfeedback-max-diff-head-label {
1836
+ flex-direction: column;
1837
+ gap: 2px;
1838
+ }
1839
+
1840
+ .magicfeedback-max-diff-item {
1841
+ padding-inline: 4px;
1842
+ font-size: var(--mf-font-size-base);
1843
+ }
1844
+
1845
+ .magicfeedback-max-diff-pick {
1846
+ min-height: 68px;
1847
+ }
1848
+
1849
+ .magicfeedback-max-diff-input {
1850
+ width: 28px;
1851
+ height: 28px;
1852
+ }
1853
+ }
1854
+
1540
1855
  /* ========================================
1541
1856
  PRIORITY LIST
1542
1857
  ======================================== */
@@ -1552,9 +1867,11 @@ div.magicfeedback-radio {
1552
1867
  transition: var(--mf-transition-fast);
1553
1868
  }
1554
1869
 
1555
- .magicfeedback-priority-list-item:hover {
1556
- box-shadow: var(--mf-shadow-sm);
1557
- border-color: var(--mf-primary);
1870
+ @media (hover: hover) {
1871
+ .magicfeedback-priority-list-item:hover {
1872
+ box-shadow: var(--mf-shadow-sm);
1873
+ border-color: var(--mf-primary);
1874
+ }
1558
1875
  }
1559
1876
 
1560
1877
  .magicfeedback-priority-list-item-label {
@@ -1575,10 +1892,12 @@ div.magicfeedback-radio {
1575
1892
  user-select: none;
1576
1893
  }
1577
1894
 
1578
- .magicfeedback-priority-list-arrow-up:hover,
1579
- .magicfeedback-priority-list-arrow-down:hover {
1580
- color: var(--mf-primary);
1581
- transform: scale(1.2);
1895
+ @media (hover: hover) {
1896
+ .magicfeedback-priority-list-arrow-up:hover,
1897
+ .magicfeedback-priority-list-arrow-down:hover {
1898
+ color: var(--mf-primary);
1899
+ transform: scale(1.2);
1900
+ }
1582
1901
  }
1583
1902
 
1584
1903
  /* ========================================
@@ -1685,10 +2004,12 @@ div.magicfeedback-radio {
1685
2004
  box-shadow: var(--mf-shadow-md);
1686
2005
  }
1687
2006
 
1688
- .magicfeedback-submit:hover {
1689
- background-color: var(--mf-primary-hover);
1690
- box-shadow: var(--mf-shadow-lg);
1691
- transform: translateY(-2px);
2007
+ @media (hover: hover) {
2008
+ .magicfeedback-submit:hover {
2009
+ background-color: var(--mf-primary-hover);
2010
+ box-shadow: var(--mf-shadow-lg);
2011
+ transform: translateY(-2px);
2012
+ }
1692
2013
  }
1693
2014
 
1694
2015
  .magicfeedback-submit:active {
@@ -1714,9 +2035,20 @@ div.magicfeedback-radio {
1714
2035
  transition: var(--mf-transition-fast);
1715
2036
  }
1716
2037
 
1717
- .magicfeedback-back:hover {
1718
- border-color: var(--mf-primary);
1719
- background-color: var(--mf-bg-hover);
2038
+ @media (hover: hover) {
2039
+ .magicfeedback-back:hover {
2040
+ border-color: var(--mf-primary);
2041
+ background-color: var(--mf-bg-hover);
2042
+ }
2043
+ }
2044
+
2045
+ /* hidden on the first page; keep the submit button on the right */
2046
+ .magicfeedback-back[hidden] {
2047
+ display: none;
2048
+ }
2049
+
2050
+ .magicfeedback-action-container .magicfeedback-submit {
2051
+ margin-left: auto;
1720
2052
  }
1721
2053
 
1722
2054
  /* ========================================
@@ -1736,8 +2068,10 @@ div.magicfeedback-radio {
1736
2068
  transition: var(--mf-transition-fast);
1737
2069
  }
1738
2070
 
1739
- .magicfeedback-skip-container:hover {
1740
- color: var(--mf-primary);
2071
+ @media (hover: hover) {
2072
+ .magicfeedback-skip-container:hover {
2073
+ color: var(--mf-primary);
2074
+ }
1741
2075
  }
1742
2076
 
1743
2077
  .magicfeedback-skip-container input[type="checkbox"] {
@@ -1878,9 +2212,11 @@ div.magicfeedback-radio {
1878
2212
  box-shadow: var(--mf-shadow-sm);
1879
2213
  }
1880
2214
 
1881
- .magicfeedback-button:hover {
1882
- background: var(--mf-bg-hover);
1883
- border-color: var(--mf-primary);
2215
+ @media (hover: hover) {
2216
+ .magicfeedback-button:hover {
2217
+ background: var(--mf-bg-hover);
2218
+ border-color: var(--mf-primary);
2219
+ }
1884
2220
  }
1885
2221
 
1886
2222
  .magicfeedback-button:active {
@@ -1894,8 +2230,10 @@ div.magicfeedback-radio {
1894
2230
  box-shadow: var(--mf-shadow-md);
1895
2231
  }
1896
2232
 
1897
- .magicfeedback-button-primary:hover {
1898
- background: var(--mf-primary-hover);
2233
+ @media (hover: hover) {
2234
+ .magicfeedback-button-primary:hover {
2235
+ background: var(--mf-primary-hover);
2236
+ }
1899
2237
  }
1900
2238
 
1901
2239
  .magicfeedback-button-primary:active {
@@ -1921,8 +2259,10 @@ div.magicfeedback-radio {
1921
2259
  box-shadow: var(--mf-shadow-md);
1922
2260
  }
1923
2261
 
1924
- .magicfeedback-start-message-button:hover {
1925
- background: var(--mf-primary-hover);
2262
+ @media (hover: hover) {
2263
+ .magicfeedback-start-message-button:hover {
2264
+ background: var(--mf-primary-hover);
2265
+ }
1926
2266
  }
1927
2267
 
1928
2268
  /* ========================================
@@ -2058,12 +2398,18 @@ div.magicfeedback-radio {
2058
2398
  color: #666;
2059
2399
  }
2060
2400
 
2061
- .magicfeedback-modal-close:hover,
2062
2401
  .magicfeedback-modal-close:focus {
2063
2402
  color: #000;
2064
2403
  outline: none;
2065
2404
  }
2066
2405
 
2406
+ @media (hover: hover) {
2407
+ .magicfeedback-modal-close:hover {
2408
+ color: #000;
2409
+ outline: none;
2410
+ }
2411
+ }
2412
+
2067
2413
  /* ========================================
2068
2414
  FILE / IMAGE UPLOAD
2069
2415
  ======================================== */
@@ -2107,9 +2453,11 @@ div.magicfeedback-radio {
2107
2453
  transition: var(--mf-transition);
2108
2454
  }
2109
2455
 
2110
- .magicfeedback-upload-dropzone:hover {
2111
- border-color: var(--mf-primary);
2112
- background-color: var(--mf-bg-hover);
2456
+ @media (hover: hover) {
2457
+ .magicfeedback-upload-dropzone:hover {
2458
+ border-color: var(--mf-primary);
2459
+ background-color: var(--mf-bg-hover);
2460
+ }
2113
2461
  }
2114
2462
 
2115
2463
  .magicfeedback-upload-dropzone:focus-within {
@@ -2247,13 +2595,20 @@ div.magicfeedback-radio {
2247
2595
  transition: var(--mf-transition-fast);
2248
2596
  }
2249
2597
 
2250
- .magicfeedback-upload-remove:hover,
2251
2598
  .magicfeedback-upload-remove:focus-visible {
2252
2599
  color: var(--mf-error);
2253
2600
  background-color: var(--mf-primary-light);
2254
2601
  outline: none;
2255
2602
  }
2256
2603
 
2604
+ @media (hover: hover) {
2605
+ .magicfeedback-upload-remove:hover {
2606
+ color: var(--mf-error);
2607
+ background-color: var(--mf-primary-light);
2608
+ outline: none;
2609
+ }
2610
+ }
2611
+
2257
2612
  .magicfeedback-upload-remove svg {
2258
2613
  width: 16px;
2259
2614
  height: 16px;
@@ -2386,4 +2741,4 @@ export {
2386
2741
  sdkWarn,
2387
2742
  sdkError
2388
2743
  };
2389
- //# sourceMappingURL=chunk-AV2TTQXB.mjs.map
2744
+ //# sourceMappingURL=chunk-GXEPYT33.mjs.map