@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.
@@ -488,7 +488,7 @@ function ddSetSurveyBusy(el, busy){
488
488
  var style_default = `/**
489
489
  * NO EDITAR A MANO \u2014 generado por scripts/vendor-survey-css.mjs
490
490
  *
491
- * Copia de @magicfeedback/native@2.2.22 \u2192 dist/styles/magicfeedback-default.css
491
+ * Copia de @magicfeedback/native@2.2.31 \u2192 dist/styles/magicfeedback-default.css
492
492
  * (la hoja can\xF3nica del paquete, la que apunta su campo "style"), con estos cambios locales:
493
493
  *
494
494
  * 1. Sin el @import de Google Fonts (Nunito): no queremos una petici\xF3n externa desde la
@@ -499,7 +499,9 @@ var style_default = `/**
499
499
  * repintar\xEDa su web.
500
500
  * 4. El grupo .magicfeedback-radio se cualifica como div.magicfeedback-radio (la clase acaba
501
501
  * tambi\xE9n en el <input> del boolean).
502
- * 5. Al final, un bloque de reglas propias del popup (fuente en los controles y padding del
502
+ * 5. Todo :hover va dentro de @media (hover: hover): en t\xE1ctil WebKit deja el hover pegado
503
+ * en el \xFAltimo punto tocado y la opci\xF3n de la p\xE1gina siguiente parec\xEDa seleccionada.
504
+ * 6. Al final, un bloque de reglas propias del popup (fuente en los controles y padding del
503
505
  * radio nativo).
504
506
  *
505
507
  * Las variables --mf-* se dejan en :root a prop\xF3sito: el modal del priority-list se portea a
@@ -737,9 +739,11 @@ var style_default = `/**
737
739
  text-underline-offset: 2px;
738
740
  }
739
741
 
740
- .magicfeedback-info-message a:hover,
741
- .magicfeedback-start-message a:hover {
742
- color: var(--mf-primary-hover);
742
+ @media (hover: hover) {
743
+ .magicfeedback-info-message a:hover,
744
+ .magicfeedback-start-message a:hover {
745
+ color: var(--mf-primary-hover);
746
+ }
743
747
  }
744
748
 
745
749
  .magicfeedback-info-message ul,
@@ -965,10 +969,12 @@ div.magicfeedback-radio {
965
969
  transition: var(--mf-transition-fast);
966
970
  }
967
971
 
968
- .magicfeedback-checkbox-container:hover,
969
- .magicfeedback-radio-container:hover {
970
- background-color: var(--mf-bg-hover);
971
- border-color: var(--mf-primary);
972
+ @media (hover: hover) {
973
+ .magicfeedback-checkbox-container:hover,
974
+ .magicfeedback-radio-container:hover {
975
+ background-color: var(--mf-bg-hover);
976
+ border-color: var(--mf-primary);
977
+ }
972
978
  }
973
979
 
974
980
  .magicfeedback-checkbox-container:has(input:checked),
@@ -1035,9 +1041,11 @@ div.magicfeedback-radio {
1035
1041
  height: inherit;
1036
1042
  }
1037
1043
 
1038
- .magicfeedback-boolean-option label:hover {
1039
- background-color: var(--mf-bg-hover);
1040
- border-color: var(--mf-primary);
1044
+ @media (hover: hover) {
1045
+ .magicfeedback-boolean-option label:hover {
1046
+ background-color: var(--mf-bg-hover);
1047
+ border-color: var(--mf-primary);
1048
+ }
1041
1049
  }
1042
1050
 
1043
1051
  .magicfeedback-boolean-option input[type="radio"]:checked + label {
@@ -1108,9 +1116,11 @@ div.magicfeedback-radio {
1108
1116
  border: 2px solid transparent;
1109
1117
  }
1110
1118
 
1111
- .magicfeedback-rating-option-label-container img:hover {
1112
- transform: scale(1.1);
1113
- border-color: var(--mf-primary);
1119
+ @media (hover: hover) {
1120
+ .magicfeedback-rating-option-label-container img:hover {
1121
+ transform: scale(1.1);
1122
+ border-color: var(--mf-primary);
1123
+ }
1114
1124
  }
1115
1125
 
1116
1126
  .magicfeedback-rating-option-label-container input[type="radio"]:checked + img {
@@ -1262,9 +1272,11 @@ div.magicfeedback-radio {
1262
1272
  font-size: 0.8rem;
1263
1273
  }
1264
1274
 
1265
- .magicfeedback-rating-number-option-row .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value,
1266
- .magicfeedback-rating-number-option-row-reverse .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1267
- background: var(--mf-primary-light);
1275
+ @media (hover: hover) {
1276
+ .magicfeedback-rating-number-option-row .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value,
1277
+ .magicfeedback-rating-number-option-row-reverse .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1278
+ background: var(--mf-primary-light);
1279
+ }
1268
1280
  }
1269
1281
 
1270
1282
  .magicfeedback-rating-number-option-row .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value,
@@ -1301,8 +1313,10 @@ div.magicfeedback-radio {
1301
1313
  font-size: var(--mf-font-size-sm);
1302
1314
  }
1303
1315
 
1304
- .magicfeedback-rating-number-option--extra .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1305
- background: var(--mf-primary-light);
1316
+ @media (hover: hover) {
1317
+ .magicfeedback-rating-number-option--extra .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1318
+ background: var(--mf-primary-light);
1319
+ }
1306
1320
  }
1307
1321
 
1308
1322
  .magicfeedback-rating-number-option--extra .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value {
@@ -1335,9 +1349,11 @@ div.magicfeedback-radio {
1335
1349
  color: var(--mf-primary);
1336
1350
  }
1337
1351
 
1338
- .magicfeedback-rating-number-option-column .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value,
1339
- .magicfeedback-rating-number-option-column-reverse .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1340
- background: var(--mf-primary-light);
1352
+ @media (hover: hover) {
1353
+ .magicfeedback-rating-number-option-column .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value,
1354
+ .magicfeedback-rating-number-option-column-reverse .magicfeedback-rating-number-option-label-container:hover .magicfeedback-rating-number-value {
1355
+ background: var(--mf-primary-light);
1356
+ }
1341
1357
  }
1342
1358
 
1343
1359
  .magicfeedback-rating-number-option-column .magicfeedback-rating-number-option-label-container input[type="radio"]:checked + .magicfeedback-rating-number-value,
@@ -1391,10 +1407,12 @@ div.magicfeedback-radio {
1391
1407
  transition: var(--mf-transition-fast);
1392
1408
  }
1393
1409
 
1394
- .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover,
1395
- .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover ~ span {
1396
- color: #fbbf24;
1397
- transform: scale(1.1);
1410
+ @media (hover: hover) {
1411
+ .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover,
1412
+ .magicfeedback-rating-star-option:not(:checked) > .rating__star:hover ~ span {
1413
+ color: #fbbf24;
1414
+ transform: scale(1.1);
1415
+ }
1398
1416
  }
1399
1417
 
1400
1418
  .magicfeedback-rating-star-selected {
@@ -1435,9 +1453,11 @@ div.magicfeedback-radio {
1435
1453
  transition: var(--mf-transition-fast);
1436
1454
  }
1437
1455
 
1438
- .magicfeedback-image-option-label-container:hover img {
1439
- border-color: var(--mf-primary);
1440
- box-shadow: var(--mf-shadow-md);
1456
+ @media (hover: hover) {
1457
+ .magicfeedback-image-option-label-container:hover img {
1458
+ border-color: var(--mf-primary);
1459
+ box-shadow: var(--mf-shadow-md);
1460
+ }
1441
1461
  }
1442
1462
 
1443
1463
  .magicfeedback-image-option-label-container input:checked + img {
@@ -1452,6 +1472,9 @@ div.magicfeedback-radio {
1452
1472
  width: 100%;
1453
1473
  overflow-x: auto;
1454
1474
  border-radius: var(--mf-radius-md);
1475
+ /* the layout follows the space the survey gets (a pop-in, a sidebar),
1476
+ not the size of the window */
1477
+ container-type: inline-size;
1455
1478
  }
1456
1479
 
1457
1480
  .magicfeedback-multi-question-matrix-table {
@@ -1478,9 +1501,11 @@ div.magicfeedback-radio {
1478
1501
  background-color: var(--mf-bg-secondary);
1479
1502
  }
1480
1503
 
1481
- .magicfeedback-multi-question-matrix-row-tr:hover {
1482
- background-color: var(--mf-bg-hover);
1483
- box-shadow: var(--mf-shadow-sm);
1504
+ @media (hover: hover) {
1505
+ .magicfeedback-multi-question-matrix-row-tr:hover {
1506
+ background-color: var(--mf-bg-hover);
1507
+ box-shadow: var(--mf-shadow-sm);
1508
+ }
1484
1509
  }
1485
1510
 
1486
1511
  .magicfeedback-multi-question-matrix-table td {
@@ -1501,6 +1526,296 @@ div.magicfeedback-radio {
1501
1526
  accent-color: var(--mf-primary);
1502
1527
  }
1503
1528
 
1529
+ .magicfeedback-multi-question-matrix-question {
1530
+ min-width: 200px;
1531
+ padding: 10px;
1532
+ }
1533
+
1534
+ /* the column header names the option in a table; the per-cell label is for
1535
+ screen readers until the rows stack */
1536
+ .magicfeedback-multi-question-matrix-option-label {
1537
+ position: absolute;
1538
+ width: 1px;
1539
+ height: 1px;
1540
+ overflow: hidden;
1541
+ clip: rect(0, 0, 0, 0);
1542
+ white-space: nowrap;
1543
+ }
1544
+
1545
+ /* narrow container: every row becomes its own question with the options
1546
+ stacked underneath, instead of a table cut off at the side */
1547
+ @container (max-width: 599px) {
1548
+ .magicfeedback-multi-question-matrix-table,
1549
+ .magicfeedback-multi-question-matrix-table tbody,
1550
+ .magicfeedback-multi-question-matrix-table tr,
1551
+ .magicfeedback-multi-question-matrix-table td {
1552
+ display: block;
1553
+ width: 100%;
1554
+ }
1555
+
1556
+ .magicfeedback-multi-question-matrix-table thead {
1557
+ display: none;
1558
+ }
1559
+
1560
+ .magicfeedback-multi-question-matrix-row-tr,
1561
+ .magicfeedback-multi-question-matrix-row-tr:nth-child(even) {
1562
+ margin-bottom: var(--mf-space-lg);
1563
+ background: transparent;
1564
+ box-shadow: none;
1565
+ }
1566
+
1567
+ @media (hover: hover) {
1568
+ .magicfeedback-multi-question-matrix-row-tr:hover {
1569
+ margin-bottom: var(--mf-space-lg);
1570
+ background: transparent;
1571
+ box-shadow: none;
1572
+ }
1573
+ }
1574
+
1575
+ .magicfeedback-multi-question-matrix-table td.magicfeedback-multi-question-matrix-question {
1576
+ min-width: 0;
1577
+ padding: 0 0 var(--mf-space-sm);
1578
+ text-align: start;
1579
+ }
1580
+
1581
+ .magicfeedback-multi-question-matrix-question .magicfeedback-multi-question-matrix-label {
1582
+ font-weight: 600;
1583
+ }
1584
+
1585
+ .magicfeedback-multi-question-matrix-table td.magicfeedback-multi-question-matrix-option {
1586
+ display: flex;
1587
+ align-items: center;
1588
+ gap: var(--mf-space-sm);
1589
+ margin-bottom: var(--mf-space-sm);
1590
+ padding: 0 var(--mf-space-md);
1591
+ text-align: start;
1592
+ background: var(--mf-bg-secondary);
1593
+ border: 2px solid var(--mf-border);
1594
+ border-radius: var(--mf-radius-md);
1595
+ cursor: pointer;
1596
+ transition: var(--mf-transition-fast);
1597
+ }
1598
+
1599
+ @media (hover: hover) {
1600
+ .magicfeedback-multi-question-matrix-option:hover {
1601
+ border-color: var(--mf-primary-border);
1602
+ }
1603
+ }
1604
+
1605
+ .magicfeedback-multi-question-matrix-option:has(input:checked) {
1606
+ border-color: var(--mf-primary);
1607
+ background: var(--mf-primary-light);
1608
+ }
1609
+
1610
+ .magicfeedback-multi-question-matrix-table .magicfeedback-multi-question-matrix-option input[type="radio"] {
1611
+ flex-shrink: 0;
1612
+ }
1613
+
1614
+ /* the whole card is the click target */
1615
+ .magicfeedback-multi-question-matrix-option-label {
1616
+ position: static;
1617
+ flex: 1;
1618
+ width: auto;
1619
+ height: auto;
1620
+ padding: var(--mf-space-md) 0;
1621
+ overflow: visible;
1622
+ clip: auto;
1623
+ white-space: normal;
1624
+ font-size: var(--mf-font-size-base);
1625
+ color: var(--mf-text-primary);
1626
+ cursor: pointer;
1627
+ }
1628
+ }
1629
+
1630
+ /* ========================================
1631
+ MAXDIFF (BEST\u2013WORST)
1632
+ ======================================== */
1633
+ .magicfeedback-max-diff {
1634
+ /* "least" gets its own hue, apart from the brand color "most" uses; dark
1635
+ enough to read as header text and to hold the white center dot */
1636
+ --mf-max-diff-worst: #b45309;
1637
+ width: 100%;
1638
+ }
1639
+
1640
+ .magicfeedback-max-diff-container {
1641
+ width: 100%;
1642
+ /* the layout follows the space the survey gets (a pop-in, a sidebar),
1643
+ not the size of the window */
1644
+ container-type: inline-size;
1645
+ }
1646
+
1647
+ .magicfeedback-max-diff-progress {
1648
+ display: flex;
1649
+ align-items: center;
1650
+ gap: var(--mf-space-md);
1651
+ margin-bottom: var(--mf-space-lg);
1652
+ }
1653
+
1654
+ .magicfeedback-max-diff-progress-label {
1655
+ font-size: 0.8125rem;
1656
+ font-weight: var(--mf-font-weight-bold);
1657
+ letter-spacing: 0.04em;
1658
+ text-transform: uppercase;
1659
+ white-space: nowrap;
1660
+ color: var(--mf-text-secondary);
1661
+ }
1662
+
1663
+ .magicfeedback-max-diff-progress-track {
1664
+ flex: 1;
1665
+ height: 6px;
1666
+ overflow: hidden;
1667
+ border-radius: var(--mf-radius-full);
1668
+ background: var(--mf-border);
1669
+ }
1670
+
1671
+ .magicfeedback-max-diff-progress-fill {
1672
+ display: block;
1673
+ height: 100%;
1674
+ border-radius: var(--mf-radius-full);
1675
+ background: var(--mf-primary);
1676
+ }
1677
+
1678
+ .magicfeedback-max-diff-table {
1679
+ width: 100%;
1680
+ border-collapse: collapse;
1681
+ }
1682
+
1683
+ .magicfeedback-max-diff-head,
1684
+ .magicfeedback-max-diff-head-spacer {
1685
+ border-bottom: 1px solid var(--mf-border);
1686
+ }
1687
+
1688
+ .magicfeedback-max-diff-head {
1689
+ width: 11rem;
1690
+ padding: 0 var(--mf-space-sm) var(--mf-space-sm);
1691
+ font-size: 0.8125rem;
1692
+ font-weight: var(--mf-font-weight-extrabold);
1693
+ letter-spacing: 0.04em;
1694
+ text-transform: uppercase;
1695
+ text-align: center;
1696
+ vertical-align: bottom;
1697
+ }
1698
+
1699
+ .magicfeedback-max-diff-head-best {
1700
+ color: var(--mf-primary);
1701
+ }
1702
+
1703
+ .magicfeedback-max-diff-head-worst {
1704
+ color: var(--mf-max-diff-worst);
1705
+ }
1706
+
1707
+ .magicfeedback-max-diff-head-label {
1708
+ display: inline-flex;
1709
+ align-items: center;
1710
+ gap: 6px;
1711
+ }
1712
+
1713
+ .magicfeedback-max-diff-row {
1714
+ transition: background-color 0.15s ease;
1715
+ }
1716
+
1717
+ .magicfeedback-max-diff-row > * {
1718
+ border-bottom: 1px solid var(--mf-border);
1719
+ }
1720
+
1721
+ .magicfeedback-max-diff-row:has(.magicfeedback-max-diff-best:checked) {
1722
+ background-color: color-mix(in srgb, var(--mf-primary) 8%, transparent);
1723
+ }
1724
+
1725
+ .magicfeedback-max-diff-row:has(.magicfeedback-max-diff-worst:checked) {
1726
+ background-color: color-mix(in srgb, var(--mf-max-diff-worst) 8%, transparent);
1727
+ }
1728
+
1729
+ .magicfeedback-max-diff-item {
1730
+ padding: var(--mf-space-md) var(--mf-space-sm);
1731
+ font-size: 1.0625rem;
1732
+ font-weight: var(--mf-font-weight-semibold);
1733
+ line-height: 1.4;
1734
+ text-align: center;
1735
+ color: var(--mf-text-primary);
1736
+ }
1737
+
1738
+ .magicfeedback-max-diff-row:has(input:checked) .magicfeedback-max-diff-item {
1739
+ font-weight: var(--mf-font-weight-extrabold);
1740
+ }
1741
+
1742
+ .magicfeedback-max-diff-cell {
1743
+ padding: 0;
1744
+ }
1745
+
1746
+ /* the whole cell is the click target */
1747
+ .magicfeedback-max-diff-pick {
1748
+ display: flex;
1749
+ align-items: center;
1750
+ justify-content: center;
1751
+ min-height: 64px;
1752
+ cursor: pointer;
1753
+ }
1754
+
1755
+ .magicfeedback-max-diff-input {
1756
+ appearance: none;
1757
+ -webkit-appearance: none;
1758
+ flex-shrink: 0;
1759
+ width: 26px;
1760
+ height: 26px;
1761
+ margin: 0;
1762
+ border: 2px solid color-mix(in srgb, var(--mf-text-secondary) 80%, white);
1763
+ border-radius: var(--mf-radius-full);
1764
+ background: var(--mf-bg-secondary);
1765
+ cursor: pointer;
1766
+ transition: var(--mf-transition-fast);
1767
+ }
1768
+
1769
+ @media (hover: hover) {
1770
+ .magicfeedback-max-diff-pick:hover .magicfeedback-max-diff-input {
1771
+ transform: scale(1.08);
1772
+ }
1773
+ }
1774
+
1775
+ .magicfeedback-max-diff-best:checked {
1776
+ border-color: var(--mf-primary);
1777
+ background: radial-gradient(circle, #FFFFFF 0 4px, var(--mf-primary) 4.5px);
1778
+ }
1779
+
1780
+ .magicfeedback-max-diff-worst:checked {
1781
+ border-color: var(--mf-max-diff-worst);
1782
+ background: radial-gradient(circle, #FFFFFF 0 4px, var(--mf-max-diff-worst) 4.5px);
1783
+ }
1784
+
1785
+ .magicfeedback-max-diff-input:focus-visible {
1786
+ outline: 3px solid var(--mf-primary-border);
1787
+ outline-offset: 3px;
1788
+ }
1789
+
1790
+ /* narrow container: same table, slimmer pick columns and the header icon
1791
+ stacked over its label */
1792
+ @container (max-width: 599px) {
1793
+ .magicfeedback-max-diff-head {
1794
+ width: 4.75rem;
1795
+ padding-inline: 2px;
1796
+ font-size: 0.6875rem;
1797
+ }
1798
+
1799
+ .magicfeedback-max-diff-head-label {
1800
+ flex-direction: column;
1801
+ gap: 2px;
1802
+ }
1803
+
1804
+ .magicfeedback-max-diff-item {
1805
+ padding-inline: 4px;
1806
+ font-size: var(--mf-font-size-base);
1807
+ }
1808
+
1809
+ .magicfeedback-max-diff-pick {
1810
+ min-height: 68px;
1811
+ }
1812
+
1813
+ .magicfeedback-max-diff-input {
1814
+ width: 28px;
1815
+ height: 28px;
1816
+ }
1817
+ }
1818
+
1504
1819
  /* ========================================
1505
1820
  PRIORITY LIST
1506
1821
  ======================================== */
@@ -1516,9 +1831,11 @@ div.magicfeedback-radio {
1516
1831
  transition: var(--mf-transition-fast);
1517
1832
  }
1518
1833
 
1519
- .magicfeedback-priority-list-item:hover {
1520
- box-shadow: var(--mf-shadow-sm);
1521
- border-color: var(--mf-primary);
1834
+ @media (hover: hover) {
1835
+ .magicfeedback-priority-list-item:hover {
1836
+ box-shadow: var(--mf-shadow-sm);
1837
+ border-color: var(--mf-primary);
1838
+ }
1522
1839
  }
1523
1840
 
1524
1841
  .magicfeedback-priority-list-item-label {
@@ -1539,10 +1856,12 @@ div.magicfeedback-radio {
1539
1856
  user-select: none;
1540
1857
  }
1541
1858
 
1542
- .magicfeedback-priority-list-arrow-up:hover,
1543
- .magicfeedback-priority-list-arrow-down:hover {
1544
- color: var(--mf-primary);
1545
- transform: scale(1.2);
1859
+ @media (hover: hover) {
1860
+ .magicfeedback-priority-list-arrow-up:hover,
1861
+ .magicfeedback-priority-list-arrow-down:hover {
1862
+ color: var(--mf-primary);
1863
+ transform: scale(1.2);
1864
+ }
1546
1865
  }
1547
1866
 
1548
1867
  /* ========================================
@@ -1649,10 +1968,12 @@ div.magicfeedback-radio {
1649
1968
  box-shadow: var(--mf-shadow-md);
1650
1969
  }
1651
1970
 
1652
- .magicfeedback-submit:hover {
1653
- background-color: var(--mf-primary-hover);
1654
- box-shadow: var(--mf-shadow-lg);
1655
- transform: translateY(-2px);
1971
+ @media (hover: hover) {
1972
+ .magicfeedback-submit:hover {
1973
+ background-color: var(--mf-primary-hover);
1974
+ box-shadow: var(--mf-shadow-lg);
1975
+ transform: translateY(-2px);
1976
+ }
1656
1977
  }
1657
1978
 
1658
1979
  .magicfeedback-submit:active {
@@ -1678,9 +1999,20 @@ div.magicfeedback-radio {
1678
1999
  transition: var(--mf-transition-fast);
1679
2000
  }
1680
2001
 
1681
- .magicfeedback-back:hover {
1682
- border-color: var(--mf-primary);
1683
- background-color: var(--mf-bg-hover);
2002
+ @media (hover: hover) {
2003
+ .magicfeedback-back:hover {
2004
+ border-color: var(--mf-primary);
2005
+ background-color: var(--mf-bg-hover);
2006
+ }
2007
+ }
2008
+
2009
+ /* hidden on the first page; keep the submit button on the right */
2010
+ .magicfeedback-back[hidden] {
2011
+ display: none;
2012
+ }
2013
+
2014
+ .magicfeedback-action-container .magicfeedback-submit {
2015
+ margin-left: auto;
1684
2016
  }
1685
2017
 
1686
2018
  /* ========================================
@@ -1700,8 +2032,10 @@ div.magicfeedback-radio {
1700
2032
  transition: var(--mf-transition-fast);
1701
2033
  }
1702
2034
 
1703
- .magicfeedback-skip-container:hover {
1704
- color: var(--mf-primary);
2035
+ @media (hover: hover) {
2036
+ .magicfeedback-skip-container:hover {
2037
+ color: var(--mf-primary);
2038
+ }
1705
2039
  }
1706
2040
 
1707
2041
  .magicfeedback-skip-container input[type="checkbox"] {
@@ -1842,9 +2176,11 @@ div.magicfeedback-radio {
1842
2176
  box-shadow: var(--mf-shadow-sm);
1843
2177
  }
1844
2178
 
1845
- .magicfeedback-button:hover {
1846
- background: var(--mf-bg-hover);
1847
- border-color: var(--mf-primary);
2179
+ @media (hover: hover) {
2180
+ .magicfeedback-button:hover {
2181
+ background: var(--mf-bg-hover);
2182
+ border-color: var(--mf-primary);
2183
+ }
1848
2184
  }
1849
2185
 
1850
2186
  .magicfeedback-button:active {
@@ -1858,8 +2194,10 @@ div.magicfeedback-radio {
1858
2194
  box-shadow: var(--mf-shadow-md);
1859
2195
  }
1860
2196
 
1861
- .magicfeedback-button-primary:hover {
1862
- background: var(--mf-primary-hover);
2197
+ @media (hover: hover) {
2198
+ .magicfeedback-button-primary:hover {
2199
+ background: var(--mf-primary-hover);
2200
+ }
1863
2201
  }
1864
2202
 
1865
2203
  .magicfeedback-button-primary:active {
@@ -1885,8 +2223,10 @@ div.magicfeedback-radio {
1885
2223
  box-shadow: var(--mf-shadow-md);
1886
2224
  }
1887
2225
 
1888
- .magicfeedback-start-message-button:hover {
1889
- background: var(--mf-primary-hover);
2226
+ @media (hover: hover) {
2227
+ .magicfeedback-start-message-button:hover {
2228
+ background: var(--mf-primary-hover);
2229
+ }
1890
2230
  }
1891
2231
 
1892
2232
  /* ========================================
@@ -2022,12 +2362,18 @@ div.magicfeedback-radio {
2022
2362
  color: #666;
2023
2363
  }
2024
2364
 
2025
- .magicfeedback-modal-close:hover,
2026
2365
  .magicfeedback-modal-close:focus {
2027
2366
  color: #000;
2028
2367
  outline: none;
2029
2368
  }
2030
2369
 
2370
+ @media (hover: hover) {
2371
+ .magicfeedback-modal-close:hover {
2372
+ color: #000;
2373
+ outline: none;
2374
+ }
2375
+ }
2376
+
2031
2377
  /* ========================================
2032
2378
  FILE / IMAGE UPLOAD
2033
2379
  ======================================== */
@@ -2071,9 +2417,11 @@ div.magicfeedback-radio {
2071
2417
  transition: var(--mf-transition);
2072
2418
  }
2073
2419
 
2074
- .magicfeedback-upload-dropzone:hover {
2075
- border-color: var(--mf-primary);
2076
- background-color: var(--mf-bg-hover);
2420
+ @media (hover: hover) {
2421
+ .magicfeedback-upload-dropzone:hover {
2422
+ border-color: var(--mf-primary);
2423
+ background-color: var(--mf-bg-hover);
2424
+ }
2077
2425
  }
2078
2426
 
2079
2427
  .magicfeedback-upload-dropzone:focus-within {
@@ -2211,13 +2559,20 @@ div.magicfeedback-radio {
2211
2559
  transition: var(--mf-transition-fast);
2212
2560
  }
2213
2561
 
2214
- .magicfeedback-upload-remove:hover,
2215
2562
  .magicfeedback-upload-remove:focus-visible {
2216
2563
  color: var(--mf-error);
2217
2564
  background-color: var(--mf-primary-light);
2218
2565
  outline: none;
2219
2566
  }
2220
2567
 
2568
+ @media (hover: hover) {
2569
+ .magicfeedback-upload-remove:hover {
2570
+ color: var(--mf-error);
2571
+ background-color: var(--mf-primary-light);
2572
+ outline: none;
2573
+ }
2574
+ }
2575
+
2221
2576
  .magicfeedback-upload-remove svg {
2222
2577
  width: 16px;
2223
2578
  height: 16px;
@@ -2345,4 +2700,4 @@ export {
2345
2700
  sdkWarn,
2346
2701
  sdkError
2347
2702
  };
2348
- //# sourceMappingURL=chunk-EBJZDVC6.mjs.map
2703
+ //# sourceMappingURL=chunk-TSORXOQG.mjs.map