@appartmint/mint 0.12.7 → 0.12.9

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
@@ -562,11 +562,6 @@ app-footer::before {
562
562
  z-index: 10000;
563
563
  height: var(--mint-header-height);
564
564
  }
565
- #mint-header.mint-fixed {
566
- position: fixed;
567
- top: 0;
568
- left: 0;
569
- }
570
565
  #mint-header.mint-right #mint-wrapper {
571
566
  top: var(--mint-header-height);
572
567
  right: -100%;
@@ -609,20 +604,34 @@ app-footer::before {
609
604
  margin-bottom: 1rem;
610
605
  padding-left: 0;
611
606
  }
612
- #mint-header a, #mint-header button {
613
- display: flex;
614
- align-items: center;
607
+ #mint-header a,
608
+ #mint-header button {
615
609
  width: 100%;
616
610
  margin: 0;
617
611
  border: 0;
618
- color: var(--mint-header-fg);
612
+ color: var(--mint-fore);
619
613
  background: var(--mint-trans);
620
614
  }
615
+ #mint-header a:hover,
616
+ #mint-header button:hover {
617
+ color: var(--mint-back);
618
+ }
619
+ #mint-header a:focus,
620
+ #mint-header button:focus {
621
+ color: var(--mint-back);
622
+ }
621
623
  #mint-header h1 {
622
624
  display: flex;
623
625
  white-space: nowrap;
624
626
  margin: 0;
625
627
  }
628
+ #mint-header #mint-navbar {
629
+ display: flex;
630
+ flex-direction: column;
631
+ align-items: center;
632
+ flex-direction: row;
633
+ height: 100%;
634
+ }
626
635
  #mint-header .mint-logo {
627
636
  text-decoration: none;
628
637
  width: auto;
@@ -680,6 +689,7 @@ app-footer::before {
680
689
  left: 0;
681
690
  width: 100%;
682
691
  height: calc(100vh - var(--mint-header-height));
692
+ height: calc(100dvh - var(--mint-header-height));
683
693
  z-index: -2;
684
694
  background: var(--mint-header-bg);
685
695
  transition-duration: var(--mint-delay-default);
@@ -695,9 +705,40 @@ app-footer::before {
695
705
  overflow: auto;
696
706
  background-repeat: repeat;
697
707
  }
698
- #mint-header #mint-wrapper a, #mint-header #mint-wrapper button {
708
+ #mint-header #mint-wrapper nav > :last-child {
709
+ margin-bottom: 0;
710
+ }
711
+ #mint-header #mint-wrapper a,
712
+ #mint-header #mint-wrapper button {
699
713
  font-family: serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
700
- font-size: 4em;
714
+ font-size: 3em;
715
+ padding: 0.5rem;
716
+ text-align: center;
717
+ }
718
+ @media (min-width: 480px) {
719
+ #mint-header #mint-wrapper a,
720
+ #mint-header #mint-wrapper button {
721
+ font-size: 4em;
722
+ }
723
+ }
724
+ #mint-header #mint-wrapper a:hover,
725
+ #mint-header #mint-wrapper button:hover {
726
+ background-color: var(--mint-shadow-5);
727
+ }
728
+ #mint-header #mint-wrapper a:focus,
729
+ #mint-header #mint-wrapper button:focus {
730
+ background-color: var(--mint-shadow-5);
731
+ }
732
+ #mint-header #mint-wrapper a:active, #mint-header #mint-wrapper a.mint-active,
733
+ #mint-header #mint-wrapper button:active,
734
+ #mint-header #mint-wrapper button.mint-active {
735
+ text-decoration: underline;
736
+ }
737
+ #mint-header #mint-wrapper ul li:last-child {
738
+ margin-bottom: 0;
739
+ }
740
+ #mint-header #mint-wrapper ul li:last-child ul {
741
+ margin-bottom: 0;
701
742
  }
702
743
  #mint-header #mint-widgets {
703
744
  position: absolute;
@@ -732,13 +773,6 @@ app-footer::before {
732
773
  margin: 0;
733
774
  }
734
775
 
735
- #mint-navbar {
736
- display: flex;
737
- flex-direction: column;
738
- align-items: center;
739
- flex-direction: row;
740
- }
741
-
742
776
  .mint-image.mint-error::after {
743
777
  content: "❌ Image failed to load. This is a placeholder.";
744
778
  position: absolute;
@@ -859,7 +893,8 @@ app-footer::before {
859
893
  box-sizing: border-box;
860
894
  }
861
895
 
862
- html, body {
896
+ html,
897
+ body {
863
898
  color: var(--mint-fore);
864
899
  background-color: var(--mint-back);
865
900
  overflow-x: hidden;
@@ -869,11 +904,22 @@ html, body {
869
904
  word-break: break-word;
870
905
  }
871
906
  @media (min-width: 480px) {
872
- html, body {
907
+ html,
908
+ body {
873
909
  word-break: initial;
874
910
  }
875
911
  }
876
912
 
913
+ body.mint-fixed #mint-header {
914
+ position: fixed;
915
+ top: 0;
916
+ left: 0;
917
+ }
918
+ body.mint-fixed main {
919
+ min-height: 100vh;
920
+ padding-top: var(--mint-header-height);
921
+ }
922
+
877
923
  main {
878
924
  display: flex;
879
925
  flex-direction: column;
@@ -920,15 +966,18 @@ a i:last-child {
920
966
  margin-left: 0.25rem;
921
967
  }
922
968
 
923
- button, a[routerLink] {
969
+ button,
970
+ a[routerLink] {
924
971
  cursor: pointer;
925
972
  }
926
973
 
927
- a, button {
974
+ a,
975
+ button {
928
976
  font-size: inherit;
929
977
  }
930
978
 
931
- img, video {
979
+ img,
980
+ video {
932
981
  width: 100%;
933
982
  height: auto;
934
983
  }
@@ -2313,7 +2362,8 @@ p, .mint-p {
2313
2362
 
2314
2363
  a {
2315
2364
  color: var(--mint-brand-4);
2316
- transition: color var(--mint-delay-default);
2365
+ transition-duration: var(--mint-delay-default);
2366
+ transition-property: color, background-color;
2317
2367
  }
2318
2368
  a .fa-instagram {
2319
2369
  position: relative;
@@ -2340,7 +2390,8 @@ a .fa-instagram::after {
2340
2390
  a:hover {
2341
2391
  color: var(--mint-accent-2);
2342
2392
  }
2343
- a:hover .fa-facebook, a:hover .fa-square-facebook {
2393
+ a:hover .fa-facebook,
2394
+ a:hover .fa-square-facebook {
2344
2395
  color: var(--mint-facebook);
2345
2396
  }
2346
2397
  a:hover .fa-instagram::after {
@@ -2379,7 +2430,8 @@ a:hover .fa-vimeo {
2379
2430
  a:focus {
2380
2431
  color: var(--mint-accent-2);
2381
2432
  }
2382
- a:focus .fa-facebook, a:focus .fa-square-facebook {
2433
+ a:focus .fa-facebook,
2434
+ a:focus .fa-square-facebook {
2383
2435
  color: var(--mint-facebook);
2384
2436
  }
2385
2437
  a:focus .fa-instagram::after {
@@ -2418,7 +2470,9 @@ a:focus .fa-vimeo {
2418
2470
  a:active, a.mint-active {
2419
2471
  color: var(--mint-accent-2);
2420
2472
  }
2421
- a:active .fa-facebook, a:active .fa-square-facebook, a.mint-active .fa-facebook, a.mint-active .fa-square-facebook {
2473
+ a:active .fa-facebook,
2474
+ a:active .fa-square-facebook, a.mint-active .fa-facebook,
2475
+ a.mint-active .fa-square-facebook {
2422
2476
  color: var(--mint-facebook);
2423
2477
  }
2424
2478
  a:active .fa-instagram::after, a.mint-active .fa-instagram::after {