@appartmint/mint 2.10.12 → 2.10.16
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 +180 -156
- 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/components/section/_flex.scss +69 -0
- package/src/scss/imports/components/section/_full.scss +3 -3
- package/src/scss/imports/{global → components/section}/_grid.scss +1 -1
- package/src/scss/imports/components/section/_index.scss +2 -0
- package/src/scss/imports/global/_index.scss +0 -2
- package/src/scss/imports/global/_themes.scss +4 -0
- package/src/scss/imports/util/_util.scss +0 -30
- package/src/scss/imports/global/_flex.scss +0 -7
package/package.json
CHANGED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/// _flex.scss - Flex section styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Section
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../../util' as *;
|
|
9
|
+
|
|
10
|
+
/// Flex Section Styles
|
|
11
|
+
#{class(flex)} {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
align-items: flex-start;
|
|
15
|
+
justify-content: flex-start;
|
|
16
|
+
gap: css-var(flex-gap);
|
|
17
|
+
|
|
18
|
+
&#{class(row)} {
|
|
19
|
+
&-reverse {
|
|
20
|
+
flex-direction: row-reverse;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&#{class(column)} {
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
|
|
27
|
+
&-reverse {
|
|
28
|
+
flex-direction: column-reverse;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&#{class(wrap)} {
|
|
33
|
+
flex-wrap: wrap;
|
|
34
|
+
|
|
35
|
+
&-reverse {
|
|
36
|
+
flex-wrap: wrap-reverse;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&#{class(center)} {
|
|
41
|
+
justify-content: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&#{class(end)} {
|
|
45
|
+
justify-content: flex-end;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&#{class(between)} {
|
|
49
|
+
justify-content: space-between;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&#{class(around)} {
|
|
53
|
+
justify-content: space-around;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&#{class(even)} {
|
|
57
|
+
justify-content: space-evenly;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&#{class(align)} {
|
|
61
|
+
&-start {
|
|
62
|
+
align-items: flex-start;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-end {
|
|
66
|
+
align-items: flex-end;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
///
|
|
1
|
+
/// _full.scss - Full section styles
|
|
2
2
|
/// @author App Art Mint LLC
|
|
3
3
|
///
|
|
4
|
-
/// @group
|
|
4
|
+
/// @group Section
|
|
5
5
|
@charset 'utf-8';
|
|
6
6
|
|
|
7
7
|
/// Imports
|
|
8
8
|
@use 'sass:map';
|
|
9
9
|
@use '../../util' as *;
|
|
10
10
|
|
|
11
|
-
///
|
|
11
|
+
/// Full Section Styles
|
|
12
12
|
#{class(section-full)} {
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
@@ -48,6 +48,10 @@
|
|
|
48
48
|
@include shades(warning, $warning);
|
|
49
49
|
@include shades(info, $info);
|
|
50
50
|
|
|
51
|
+
/// Structure
|
|
52
|
+
@include css-var(spacing, 0.25rem);
|
|
53
|
+
@include css-var(flex-gap, calc(css-var(spacing) * 2));
|
|
54
|
+
|
|
51
55
|
/// Tooltips
|
|
52
56
|
@include css-var-ref(tooltip-fore, fore);
|
|
53
57
|
@include css-var-ref(tooltip-back, black-2);
|
|
@@ -873,36 +873,6 @@ $bootstrap5: false !default;
|
|
|
873
873
|
}
|
|
874
874
|
}
|
|
875
875
|
|
|
876
|
-
/// Generates flex utility classes
|
|
877
|
-
/// @group Mixins
|
|
878
|
-
@mixin flex-util () {
|
|
879
|
-
& {
|
|
880
|
-
display: flex;
|
|
881
|
-
align-items: center;
|
|
882
|
-
justify-content: flex-start;
|
|
883
|
-
flex-wrap: wrap;
|
|
884
|
-
|
|
885
|
-
&#{class(center)} {
|
|
886
|
-
justify-content: center;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
&#{class(end)} {
|
|
890
|
-
justify-content: flex-end;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
&#{class(between)} {
|
|
894
|
-
justify-content: space-between;
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
&#{class(around)} {
|
|
898
|
-
justify-content: space-around;
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
&#{class(even)} {
|
|
902
|
-
justify-content: space-evenly;
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
876
|
|
|
907
877
|
/// Selector for all headers
|
|
908
878
|
/// @group Mixins
|