@appartmint/mint 0.12.6 → 0.12.8

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
@@ -161,6 +161,21 @@
161
161
  background: var(--mint-trans);
162
162
  border-color: var(--mint-trans);
163
163
  }
164
+ .mint-btn a,
165
+ .mint-btn-group a,
166
+ .mint-pill a {
167
+ color: inherit;
168
+ }
169
+ .mint-btn a:hover,
170
+ .mint-btn-group a:hover,
171
+ .mint-pill a:hover {
172
+ color: inherit;
173
+ }
174
+ .mint-btn a i,
175
+ .mint-btn-group a i,
176
+ .mint-pill a i {
177
+ display: none;
178
+ }
164
179
 
165
180
  .mint-btn {
166
181
  padding: 0.5rem 1.75rem;
@@ -547,11 +562,6 @@ app-footer::before {
547
562
  z-index: 10000;
548
563
  height: var(--mint-header-height);
549
564
  }
550
- #mint-header.mint-fixed {
551
- position: fixed;
552
- top: 0;
553
- left: 0;
554
- }
555
565
  #mint-header.mint-right #mint-wrapper {
556
566
  top: var(--mint-header-height);
557
567
  right: -100%;
@@ -594,15 +604,22 @@ app-footer::before {
594
604
  margin-bottom: 1rem;
595
605
  padding-left: 0;
596
606
  }
597
- #mint-header a, #mint-header button {
598
- display: flex;
599
- align-items: center;
607
+ #mint-header a,
608
+ #mint-header button {
600
609
  width: 100%;
601
610
  margin: 0;
602
611
  border: 0;
603
- color: var(--mint-header-fg);
612
+ color: var(--mint-fore);
604
613
  background: var(--mint-trans);
605
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
+ }
606
623
  #mint-header h1 {
607
624
  display: flex;
608
625
  white-space: nowrap;
@@ -680,9 +697,40 @@ app-footer::before {
680
697
  overflow: auto;
681
698
  background-repeat: repeat;
682
699
  }
683
- #mint-header #mint-wrapper a, #mint-header #mint-wrapper button {
700
+ #mint-header #mint-wrapper nav > :last-child {
701
+ margin-bottom: 0;
702
+ }
703
+ #mint-header #mint-wrapper a,
704
+ #mint-header #mint-wrapper button {
684
705
  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;
685
- font-size: 4em;
706
+ font-size: 3em;
707
+ padding: 0.5rem;
708
+ text-align: center;
709
+ }
710
+ @media (min-width: 480px) {
711
+ #mint-header #mint-wrapper a,
712
+ #mint-header #mint-wrapper button {
713
+ font-size: 4em;
714
+ }
715
+ }
716
+ #mint-header #mint-wrapper a:hover,
717
+ #mint-header #mint-wrapper button:hover {
718
+ background-color: var(--mint-shadow-5);
719
+ }
720
+ #mint-header #mint-wrapper a:focus,
721
+ #mint-header #mint-wrapper button:focus {
722
+ background-color: var(--mint-shadow-5);
723
+ }
724
+ #mint-header #mint-wrapper a:active, #mint-header #mint-wrapper a.mint-active,
725
+ #mint-header #mint-wrapper button:active,
726
+ #mint-header #mint-wrapper button.mint-active {
727
+ text-decoration: underline;
728
+ }
729
+ #mint-header #mint-wrapper ul li:last-child {
730
+ margin-bottom: 0;
731
+ }
732
+ #mint-header #mint-wrapper ul li:last-child ul {
733
+ margin-bottom: 0;
686
734
  }
687
735
  #mint-header #mint-widgets {
688
736
  position: absolute;
@@ -722,6 +770,7 @@ app-footer::before {
722
770
  flex-direction: column;
723
771
  align-items: center;
724
772
  flex-direction: row;
773
+ height: 100%;
725
774
  }
726
775
 
727
776
  .mint-image.mint-error::after {
@@ -844,7 +893,8 @@ app-footer::before {
844
893
  box-sizing: border-box;
845
894
  }
846
895
 
847
- html, body {
896
+ html,
897
+ body {
848
898
  color: var(--mint-fore);
849
899
  background-color: var(--mint-back);
850
900
  overflow-x: hidden;
@@ -854,11 +904,22 @@ html, body {
854
904
  word-break: break-word;
855
905
  }
856
906
  @media (min-width: 480px) {
857
- html, body {
907
+ html,
908
+ body {
858
909
  word-break: initial;
859
910
  }
860
911
  }
861
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
+
862
923
  main {
863
924
  display: flex;
864
925
  flex-direction: column;
@@ -905,15 +966,18 @@ a i:last-child {
905
966
  margin-left: 0.25rem;
906
967
  }
907
968
 
908
- button, a[routerLink] {
969
+ button,
970
+ a[routerLink] {
909
971
  cursor: pointer;
910
972
  }
911
973
 
912
- a, button {
974
+ a,
975
+ button {
913
976
  font-size: inherit;
914
977
  }
915
978
 
916
- img, video {
979
+ img,
980
+ video {
917
981
  width: 100%;
918
982
  height: auto;
919
983
  }
@@ -2298,7 +2362,8 @@ p, .mint-p {
2298
2362
 
2299
2363
  a {
2300
2364
  color: var(--mint-brand-4);
2301
- transition: color var(--mint-delay-default);
2365
+ transition-duration: var(--mint-delay-default);
2366
+ transition-property: color, background-color;
2302
2367
  }
2303
2368
  a .fa-instagram {
2304
2369
  position: relative;
@@ -2325,7 +2390,8 @@ a .fa-instagram::after {
2325
2390
  a:hover {
2326
2391
  color: var(--mint-accent-2);
2327
2392
  }
2328
- a:hover .fa-facebook, a:hover .fa-square-facebook {
2393
+ a:hover .fa-facebook,
2394
+ a:hover .fa-square-facebook {
2329
2395
  color: var(--mint-facebook);
2330
2396
  }
2331
2397
  a:hover .fa-instagram::after {
@@ -2364,7 +2430,8 @@ a:hover .fa-vimeo {
2364
2430
  a:focus {
2365
2431
  color: var(--mint-accent-2);
2366
2432
  }
2367
- a:focus .fa-facebook, a:focus .fa-square-facebook {
2433
+ a:focus .fa-facebook,
2434
+ a:focus .fa-square-facebook {
2368
2435
  color: var(--mint-facebook);
2369
2436
  }
2370
2437
  a:focus .fa-instagram::after {
@@ -2403,7 +2470,9 @@ a:focus .fa-vimeo {
2403
2470
  a:active, a.mint-active {
2404
2471
  color: var(--mint-accent-2);
2405
2472
  }
2406
- 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 {
2407
2476
  color: var(--mint-facebook);
2408
2477
  }
2409
2478
  a:active .fa-instagram::after, a.mint-active .fa-instagram::after {