@appartmint/mint 2.7.7 → 2.7.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 +31 -13
- package/dist/css/mint.css.map +1 -1
- package/dist/css/mint.min.css +1 -1
- package/dist/css/mint.min.css.map +1 -1
- package/package.json +1 -1
- package/src/scss/imports/global/_angular.scss +0 -1
- package/src/scss/imports/global/_global.scss +1 -1
- package/src/scss/imports/overrides/_amplify.scss +1 -1
- package/src/scss/imports/util/_util.scss +81 -64
package/package.json
CHANGED
|
@@ -36,7 +36,6 @@ body {
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
main {
|
|
39
|
-
@include fluid-padding;
|
|
40
39
|
display: flex;
|
|
41
40
|
flex-direction: column;
|
|
42
41
|
position: relative;
|
|
@@ -45,6 +44,7 @@ main {
|
|
|
45
44
|
min-height: calc(100dvh - css-var(header-height));
|
|
46
45
|
overflow: hidden;
|
|
47
46
|
z-index: 999;
|
|
47
|
+
@include fluid-padding;
|
|
48
48
|
|
|
49
49
|
@if (meta.type-of($root-bg-image) == 'string') {
|
|
50
50
|
&::before {
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
@include css-var-ref(--amplify-colors-font-hover, $amp-font-hover);
|
|
18
18
|
@include css-var-ref(--amplify-colors-font-interactive, $amp-font-interactive);
|
|
19
19
|
@include css-var-ref(--amplify-colors-font-primary, $amp-font-primary);
|
|
20
|
-
@include css-var-ref(--amplify-components-fieldcontrol-color, --amplify-colors-font-primary);
|
|
21
20
|
@include css-var-ref(--amplify-colors-font-secondary, $amp-font-secondary);
|
|
22
21
|
@include css-var-ref(--amplify-colors-font-error, $amp-font-error);
|
|
23
22
|
@include css-var-ref(--amplify-colors-font-warning, $amp-font-warning);
|
|
24
23
|
@include css-var-ref(--amplify-colors-font-success, $amp-font-success);
|
|
25
24
|
@include css-var-ref(--amplify-colors-font-info, $amp-font-info);
|
|
25
|
+
@include css-var-ref(--amplify-components-fieldcontrol-color, --amplify-colors-font-primary);
|
|
26
26
|
|
|
27
27
|
@include css-var(--amplify-border-widths-small, $amp-border-width);
|
|
28
28
|
|
|
@@ -542,7 +542,9 @@ $bootstrap5: false !default;
|
|
|
542
542
|
/// @group Mixins
|
|
543
543
|
///
|
|
544
544
|
/// @example scss- break-util mixin
|
|
545
|
-
/// @include break-util(display, flex); // ->
|
|
545
|
+
/// @include break-util(display, flex); // -> & {
|
|
546
|
+
/// // display: flex;
|
|
547
|
+
/// //
|
|
546
548
|
/// // &-xs {
|
|
547
549
|
/// // display: none;
|
|
548
550
|
/// // @include break(xs) {
|
|
@@ -568,6 +570,7 @@ $bootstrap5: false !default;
|
|
|
568
570
|
/// // display: none;
|
|
569
571
|
/// // }
|
|
570
572
|
/// // }
|
|
573
|
+
/// // }
|
|
571
574
|
///
|
|
572
575
|
/// @param {String} $prop - the property to toggle
|
|
573
576
|
/// @param {Any} $val - the active value of the property
|
|
@@ -578,23 +581,25 @@ $bootstrap5: false !default;
|
|
|
578
581
|
@error 'The break-util mixin requires a string for the $prop argument.';
|
|
579
582
|
}
|
|
580
583
|
|
|
581
|
-
|
|
584
|
+
& {
|
|
585
|
+
#{$prop}: #{$val};
|
|
582
586
|
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
+
@each $key,
|
|
588
|
+
$width in $break {
|
|
589
|
+
&-#{$key} {
|
|
590
|
+
#{$prop}: #{$none};
|
|
587
591
|
|
|
588
|
-
|
|
589
|
-
|
|
592
|
+
@include break($key) {
|
|
593
|
+
#{$prop}: #{$val};
|
|
594
|
+
}
|
|
590
595
|
}
|
|
591
|
-
}
|
|
592
596
|
|
|
593
|
-
|
|
594
|
-
|
|
597
|
+
&-to-#{$key} {
|
|
598
|
+
#{$prop}: #{$val};
|
|
595
599
|
|
|
596
|
-
|
|
597
|
-
|
|
600
|
+
@include break($key) {
|
|
601
|
+
#{$prop}: #{$none};
|
|
602
|
+
}
|
|
598
603
|
}
|
|
599
604
|
}
|
|
600
605
|
}
|
|
@@ -602,6 +607,10 @@ $bootstrap5: false !default;
|
|
|
602
607
|
|
|
603
608
|
/// Creates utility selectors for a box model property
|
|
604
609
|
/// @group Mixins
|
|
610
|
+
///
|
|
611
|
+
/// @example scss - box-util mixin
|
|
612
|
+
/// @include box-util(margin, 1rem, 0); // -> & {
|
|
613
|
+
///
|
|
605
614
|
@mixin box-util ($prop, $val) {
|
|
606
615
|
@if (meta.type-of($prop) != 'string') {
|
|
607
616
|
@error 'The box-util mixin requires a string for the $prop argument.';
|
|
@@ -724,13 +733,15 @@ $bootstrap5: false !default;
|
|
|
724
733
|
/// @group Mixins
|
|
725
734
|
///
|
|
726
735
|
/// @example scss - fluid mixin
|
|
727
|
-
/// @include fluid(font-size, 480px, 1024px, 18px, 16px); // ->
|
|
736
|
+
/// @include fluid(font-size, 480px, 1024px, 18px, 16px); // -> & {
|
|
737
|
+
/// // font-size: 16px;
|
|
728
738
|
/// // @media (min-width: 480px) {
|
|
729
739
|
/// // font-size: calc(16px + 2 * ((100vw - 480px) / 544));
|
|
730
740
|
/// // }
|
|
731
741
|
/// // @media (min-width: 1024px) {
|
|
732
742
|
/// // font-size: 18px;
|
|
733
743
|
/// // }
|
|
744
|
+
/// // }
|
|
734
745
|
///
|
|
735
746
|
/// @param {String} $prop - the property whose value will be fluid
|
|
736
747
|
/// @param {String} $min-vw - the minimum screen width of the fluid property
|
|
@@ -757,25 +768,27 @@ $bootstrap5: false !default;
|
|
|
757
768
|
@error 'The fluid mixin requires width and size arguments with the same units.';
|
|
758
769
|
}
|
|
759
770
|
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
771
|
+
& {
|
|
772
|
+
@if ($base) {
|
|
773
|
+
#{$prop}: calc($base + $min-size);
|
|
774
|
+
|
|
775
|
+
@media (min-width: $min-vw) {
|
|
776
|
+
#{$prop}: calc($base + #{$min-size} + #{strip-unit($max-size - $min-size)} * ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)}));
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
@media (min-width: $max-vw) {
|
|
780
|
+
#{$prop}: calc($base + $max-size);
|
|
781
|
+
}
|
|
782
|
+
} @else {
|
|
783
|
+
#{$prop}: $min-size;
|
|
784
|
+
|
|
785
|
+
@media (min-width: $min-vw) {
|
|
786
|
+
#{$prop}: calc(#{$min-size} + #{strip-unit($max-size - $min-size)} * ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)}));
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
@media (min-width: $max-vw) {
|
|
790
|
+
#{$prop}: $max-size;
|
|
791
|
+
}
|
|
779
792
|
}
|
|
780
793
|
}
|
|
781
794
|
}
|
|
@@ -957,29 +970,31 @@ $bootstrap5: false !default;
|
|
|
957
970
|
///
|
|
958
971
|
///
|
|
959
972
|
@mixin flex-util () {
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
973
|
+
& {
|
|
974
|
+
display: flex;
|
|
975
|
+
align-items: center;
|
|
976
|
+
justify-content: flex-start;
|
|
977
|
+
flex-wrap: wrap;
|
|
978
|
+
|
|
979
|
+
&#{class(center)} {
|
|
980
|
+
justify-content: center;
|
|
981
|
+
}
|
|
968
982
|
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
983
|
+
&#{class(end)} {
|
|
984
|
+
justify-content: flex-end;
|
|
985
|
+
}
|
|
972
986
|
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
987
|
+
&#{class(between)} {
|
|
988
|
+
justify-content: space-between;
|
|
989
|
+
}
|
|
976
990
|
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
991
|
+
&#{class(around)} {
|
|
992
|
+
justify-content: space-around;
|
|
993
|
+
}
|
|
980
994
|
|
|
981
|
-
|
|
982
|
-
|
|
995
|
+
&#{class(even)} {
|
|
996
|
+
justify-content: space-evenly;
|
|
997
|
+
}
|
|
983
998
|
}
|
|
984
999
|
}
|
|
985
1000
|
|
|
@@ -1033,21 +1048,23 @@ $transitions: (
|
|
|
1033
1048
|
$this: map.get($animations, &);
|
|
1034
1049
|
$animation: '';
|
|
1035
1050
|
|
|
1036
|
-
|
|
1037
|
-
@
|
|
1038
|
-
$
|
|
1039
|
-
|
|
1040
|
-
|
|
1051
|
+
& {
|
|
1052
|
+
@each $item in $this {
|
|
1053
|
+
@if (list.index($this, $item) != 1) {
|
|
1054
|
+
$animation: #{$animation},
|
|
1055
|
+
;
|
|
1056
|
+
}
|
|
1041
1057
|
|
|
1042
|
-
|
|
1043
|
-
|
|
1058
|
+
$animation: #{$animation}#{$item};
|
|
1059
|
+
}
|
|
1044
1060
|
|
|
1045
|
-
|
|
1061
|
+
animation: $animation;
|
|
1046
1062
|
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1063
|
+
@each $name,
|
|
1064
|
+
$items in $animations {
|
|
1065
|
+
&#{class($name)} {
|
|
1066
|
+
animation: $animation;
|
|
1067
|
+
}
|
|
1051
1068
|
}
|
|
1052
1069
|
}
|
|
1053
1070
|
}
|