@appartmint/mint 4.2.12 → 4.2.14

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/css/mint.css CHANGED
@@ -1667,6 +1667,55 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1667
1667
  width: 100%;
1668
1668
  }
1669
1669
 
1670
+ :root {
1671
+ --mint-modal-w: var(--mint-sm);
1672
+ }
1673
+
1674
+ .mint-modal {
1675
+ position: fixed;
1676
+ top: 50%;
1677
+ left: 50%;
1678
+ transform: translate(-50%, -50%);
1679
+ width: 100%;
1680
+ max-width: var(--mint-modal-w);
1681
+ height: auto;
1682
+ max-height: calc(100% - clamp(0.25rem, 1vw, 2rem) * 4);
1683
+ z-index: 99999999;
1684
+ opacity: 0;
1685
+ pointer-events: none;
1686
+ user-select: none;
1687
+ transition: opacity 0.3s ease-in-out;
1688
+ }
1689
+ .mint-modal.mint-open {
1690
+ opacity: 1;
1691
+ pointer-events: auto;
1692
+ user-select: text;
1693
+ }
1694
+ .mint-modal.mint-open + .mint-modal-bg {
1695
+ pointer-events: auto;
1696
+ user-select: text;
1697
+ background-color: rgba(0, 0, 0, 0.4);
1698
+ backdrop-filter: blur(3rem);
1699
+ }
1700
+ .mint-modal .mint-content {
1701
+ overflow: auto;
1702
+ }
1703
+ .mint-modal-bg {
1704
+ position: fixed;
1705
+ top: 0;
1706
+ left: 0;
1707
+ width: 100%;
1708
+ height: 100%;
1709
+ background-color: rgba(0, 0, 0, 0);
1710
+ backdrop-filter: blur(0rem);
1711
+ z-index: 99999998;
1712
+ pointer-events: none;
1713
+ user-select: none;
1714
+ transition-duration: 0.3s;
1715
+ transition-property: background-color, backdrop-filter;
1716
+ transition-timing-function: ease-in-out;
1717
+ }
1718
+
1670
1719
  .mint-panel.mint-right .mint-panel-wrapper {
1671
1720
  top: var(--mint-header-height);
1672
1721
  right: -100%;
@@ -2337,6 +2386,14 @@ textarea {
2337
2386
  flex-shrink: 0;
2338
2387
  }
2339
2388
 
2389
+ :root {
2390
+ --mint-xs: 480px;
2391
+ --mint-sm: 768px;
2392
+ --mint-md: 1024px;
2393
+ --mint-lg: 1200px;
2394
+ --mint-xl: 1440px;
2395
+ }
2396
+
2340
2397
  .mint-pad-auto {
2341
2398
  padding-left: auto;
2342
2399
  padding-right: auto;