@appartmint/mint 2.7.3 → 2.7.5

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
@@ -163,6 +163,12 @@
163
163
  --mint-header-fore: var(--mint-fore);
164
164
  }
165
165
 
166
+ body.mint-fixed #mint-header {
167
+ position: fixed;
168
+ top: 0;
169
+ left: 0;
170
+ }
171
+
166
172
  #mint-header {
167
173
  position: relative;
168
174
  width: 100%;
@@ -314,6 +320,10 @@
314
320
  justify-content: flex-end;
315
321
  height: 100%;
316
322
  }
323
+ #mint-header #mint-navbar > :not(.mint-buttons) a {
324
+ color: var(--mint-header-link-fore);
325
+ text-decoration: none;
326
+ }
317
327
  #mint-header .mint-logo {
318
328
  display: flex;
319
329
  align-items: center;
@@ -1507,6 +1517,54 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1507
1517
  gap: 1rem;
1508
1518
  }
1509
1519
 
1520
+ body.mint-ready app-root {
1521
+ opacity: 1;
1522
+ }
1523
+
1524
+ router-outlet {
1525
+ display: none;
1526
+ }
1527
+
1528
+ app-root {
1529
+ display: block;
1530
+ position: relative;
1531
+ opacity: 0;
1532
+ transition: opacity 750ms ease-in;
1533
+ }
1534
+
1535
+ :root main > router-outlet {
1536
+ flex-grow: 0;
1537
+ }
1538
+ :root main > router-outlet + * {
1539
+ display: flex;
1540
+ flex-direction: column;
1541
+ align-items: center;
1542
+ justify-content: center;
1543
+ flex-grow: 1;
1544
+ width: 100%;
1545
+ padding: 0.25rem;
1546
+ }
1547
+ :root main > router-outlet + * {
1548
+ padding: 4px;
1549
+ }
1550
+ @media (min-width: 480px) {
1551
+ :root main > router-outlet + * {
1552
+ padding: calc(4px + 12 * (100vw - 480px) / 288);
1553
+ }
1554
+ }
1555
+ @media (min-width: 768px) {
1556
+ :root main > router-outlet + * {
1557
+ padding: 16px;
1558
+ }
1559
+ }
1560
+ :root main > router-outlet + * + :not(mint-partial-footer) {
1561
+ height: 0;
1562
+ overflow: hidden;
1563
+ }
1564
+ :root main > router-outlet + mint-partial-footer {
1565
+ transform: translateY(100vh);
1566
+ }
1567
+
1510
1568
  @keyframes mint-stretch-in {
1511
1569
  0% {
1512
1570
  transform: scale(1);
@@ -1706,28 +1764,8 @@ body {
1706
1764
  scroll-behavior: smooth;
1707
1765
  }
1708
1766
 
1709
- body.mint-fixed #mint-header {
1710
- position: fixed;
1711
- top: 0;
1712
- left: 0;
1713
- }
1714
1767
  body.mint-fixed main {
1715
- min-height: 100vh;
1716
- padding-top: var(--mint-header-height);
1717
- }
1718
- body.mint-ready app-root {
1719
- opacity: 1;
1720
- }
1721
-
1722
- router-outlet {
1723
- display: none;
1724
- }
1725
-
1726
- app-root {
1727
- display: block;
1728
- position: relative;
1729
- opacity: 0;
1730
- transition: opacity 750ms ease-in;
1768
+ margin-top: var(--mint-header-height);
1731
1769
  }
1732
1770
 
1733
1771
  main {
@@ -1736,42 +1774,23 @@ main {
1736
1774
  position: relative;
1737
1775
  width: 100%;
1738
1776
  min-height: calc(100vh - var(--mint-header-height));
1777
+ min-height: calc(100dvh - var(--mint-header-height));
1739
1778
  overflow: hidden;
1740
1779
  z-index: 999;
1741
1780
  }
1742
- main > router-outlet {
1743
- flex-grow: 0;
1744
- }
1745
-
1746
- :root main > router-outlet + * {
1747
- display: flex;
1748
- flex-direction: column;
1749
- align-items: center;
1750
- justify-content: center;
1751
- flex-grow: 1;
1752
- width: 100%;
1753
- padding: 0.25rem;
1754
- }
1755
- :root main > router-outlet + * {
1781
+ main {
1756
1782
  padding: 4px;
1757
1783
  }
1758
1784
  @media (min-width: 480px) {
1759
- :root main > router-outlet + * {
1785
+ main {
1760
1786
  padding: calc(4px + 12 * (100vw - 480px) / 288);
1761
1787
  }
1762
1788
  }
1763
1789
  @media (min-width: 768px) {
1764
- :root main > router-outlet + * {
1790
+ main {
1765
1791
  padding: 16px;
1766
1792
  }
1767
1793
  }
1768
- :root main > router-outlet + * + :not(mint-partial-footer) {
1769
- height: 0;
1770
- overflow: hidden;
1771
- }
1772
- :root main > router-outlet + mint-partial-footer {
1773
- transform: translateY(100vh);
1774
- }
1775
1794
 
1776
1795
  nav a {
1777
1796
  display: block;