opus-react 0.2.10 → 0.2.15

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/index.css CHANGED
@@ -1509,6 +1509,126 @@
1509
1509
  cursor: default;
1510
1510
  }
1511
1511
 
1512
+ .opus_6HFqZH_modalOverlay {
1513
+ z-index: 60;
1514
+ backdrop-filter: blur(2px);
1515
+ background: #0406148c;
1516
+ justify-content: center;
1517
+ align-items: center;
1518
+ padding: 24px;
1519
+ display: flex;
1520
+ position: fixed;
1521
+ inset: 0;
1522
+ }
1523
+
1524
+ .opus_6HFqZH_modal {
1525
+ border: 1px solid var(--opus-border-strong);
1526
+ background: var(--opus-panel);
1527
+ width: 100%;
1528
+ max-width: 340px;
1529
+ color: var(--opus-text);
1530
+ box-shadow: var(--opus-shadow, 0 24px 60px #0006);
1531
+ border-radius: 14px;
1532
+ gap: 14px;
1533
+ padding: 18px;
1534
+ display: grid;
1535
+ }
1536
+
1537
+ .opus_6HFqZH_modalTitle {
1538
+ color: var(--opus-text);
1539
+ margin: 0;
1540
+ font-size: .95rem;
1541
+ font-weight: 700;
1542
+ }
1543
+
1544
+ .opus_6HFqZH_modalField {
1545
+ gap: 5px;
1546
+ display: grid;
1547
+ }
1548
+
1549
+ .opus_6HFqZH_modalLabel {
1550
+ color: var(--opus-muted);
1551
+ font-size: .72rem;
1552
+ font-weight: 600;
1553
+ display: block;
1554
+ }
1555
+
1556
+ .opus_6HFqZH_modalInput, .opus_6HFqZH_modalNumber {
1557
+ border: 1px solid var(--opus-border-strong);
1558
+ background: var(--opus-input-fill);
1559
+ width: 100%;
1560
+ min-height: 34px;
1561
+ color: var(--opus-text);
1562
+ border-radius: 8px;
1563
+ padding: 0 10px;
1564
+ font-size: .85rem;
1565
+ }
1566
+
1567
+ .opus_6HFqZH_modalInput:focus-visible, .opus_6HFqZH_modalNumber:focus-visible {
1568
+ border-color: var(--opus-accent);
1569
+ box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent) 22%, transparent);
1570
+ outline: none;
1571
+ }
1572
+
1573
+ .opus_6HFqZH_modalDimensions {
1574
+ align-items: flex-end;
1575
+ gap: 10px;
1576
+ display: flex;
1577
+ }
1578
+
1579
+ .opus_6HFqZH_modalDimensionField {
1580
+ flex: 1;
1581
+ gap: 5px;
1582
+ display: grid;
1583
+ }
1584
+
1585
+ .opus_6HFqZH_modalTimes {
1586
+ color: var(--opus-muted);
1587
+ padding-bottom: 7px;
1588
+ font-size: 1rem;
1589
+ font-weight: 700;
1590
+ }
1591
+
1592
+ .opus_6HFqZH_modalActions {
1593
+ justify-content: flex-end;
1594
+ gap: 8px;
1595
+ display: flex;
1596
+ }
1597
+
1598
+ .opus_6HFqZH_modalCancel, .opus_6HFqZH_modalConfirm {
1599
+ cursor: pointer;
1600
+ border-radius: 8px;
1601
+ min-height: 34px;
1602
+ padding: 0 14px;
1603
+ font-size: .8rem;
1604
+ font-weight: 600;
1605
+ }
1606
+
1607
+ .opus_6HFqZH_modalCancel {
1608
+ border: 1px solid var(--opus-border-strong);
1609
+ background: var(--opus-input-fill);
1610
+ color: var(--opus-text);
1611
+ }
1612
+
1613
+ .opus_6HFqZH_modalCancel:hover {
1614
+ background: color-mix(in srgb, var(--opus-accent-soft) 70%, var(--opus-input-fill));
1615
+ }
1616
+
1617
+ .opus_6HFqZH_modalConfirm {
1618
+ border: 1px solid var(--opus-accent);
1619
+ background: var(--opus-accent);
1620
+ color: var(--opus-accent-contrast, #fff);
1621
+ }
1622
+
1623
+ .opus_6HFqZH_modalConfirm:hover:not(:disabled) {
1624
+ filter: brightness(1.05);
1625
+ }
1626
+
1627
+ .opus_6HFqZH_modalConfirm:disabled {
1628
+ opacity: .5;
1629
+ cursor: not-allowed;
1630
+ }
1631
+
1512
1632
  /* components/fields/TextField/TextField.module.css */
1513
1633
  .opus_SOck2f_input {
1514
1634
  width: 100%;