coer-elements 2.0.18 → 2.0.19
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/extensions/lib/string.extension.d.ts +4 -2
- package/fesm2022/coer-elements-components.mjs +4 -4
- package/fesm2022/coer-elements-components.mjs.map +1 -1
- package/fesm2022/coer-elements-extensions.mjs +5 -2
- package/fesm2022/coer-elements-extensions.mjs.map +1 -1
- package/fesm2022/coer-elements-pages.mjs +4 -4
- package/fesm2022/coer-elements-pages.mjs.map +1 -1
- package/fesm2022/coer-elements-tools.mjs +48 -22
- package/fesm2022/coer-elements-tools.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/coer-elements.css +3855 -3497
- package/styles/icons.scss +20 -0
- package/styles/index.scss +25 -7
- package/styles/layout-flex-wrap.scss +108 -0
- package/styles/layout-flex.scss +30 -125
- package/styles/layout-grid.scss +2 -5
- package/styles/margin.scss +21 -0
- package/styles/overflow.scss +9 -0
- package/styles/padding.scss +21 -0
- package/styles/position.scss +19 -1
- package/styles/scroll-bar.scss +7 -7
- package/svg/house.svg +3 -0
- package/tools/lib/elements-html.tools.d.ts +9 -9
- package/tools/lib/string.tools.d.ts +4 -2
- package/styles/bootstrap.scss +0 -9
- package/styles/space.scss +0 -70
@@ -0,0 +1,20 @@
|
|
1
|
+
@mixin Icon() {
|
2
|
+
min-width: 5px !important;
|
3
|
+
min-height: 5px !important;
|
4
|
+
width: 1em !important;
|
5
|
+
height: 1em !important;
|
6
|
+
mask-size: contain !important;
|
7
|
+
mask-repeat: no-repeat !important;
|
8
|
+
mask-position: center !important;
|
9
|
+
display: inline-block !important;
|
10
|
+
background-color: currentColor !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
.coer-icon {
|
14
|
+
@include Icon();
|
15
|
+
}
|
16
|
+
|
17
|
+
.coer-icon-house-fill {
|
18
|
+
@include Icon();
|
19
|
+
mask-image: url('../svg/house.svg');
|
20
|
+
}
|
package/styles/index.scss
CHANGED
@@ -1,15 +1,19 @@
|
|
1
|
-
@use "./
|
2
|
-
@use "./bootstrap.scss";
|
1
|
+
@use "./animations.scss";
|
3
2
|
@use "./colors.scss";
|
3
|
+
@use "./components.scss";
|
4
4
|
@use "./containers.scss";
|
5
5
|
@use "./cursores.scss";
|
6
|
-
@use "./
|
6
|
+
@use "./font.scss";
|
7
|
+
@use "./icons.scss";
|
8
|
+
@use "./layout-flex-wrap.scss";
|
7
9
|
@use "./layout-flex.scss";
|
8
10
|
@use "./layout-grid.scss";
|
9
|
-
@use "./
|
11
|
+
@use "./margin.scss";
|
12
|
+
@use "./overflow.scss";
|
13
|
+
@use "./padding.scss";
|
10
14
|
@use "./position.scss";
|
11
|
-
@use "./
|
12
|
-
|
15
|
+
@use "./scroll-bar.scss";
|
16
|
+
|
13
17
|
|
14
18
|
* {
|
15
19
|
font-family: sans-serif;
|
@@ -32,4 +36,18 @@ input[type="file"] {
|
|
32
36
|
|
33
37
|
.no-selection::selection {
|
34
38
|
background-color: transparent !important;
|
35
|
-
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.fill-space {
|
42
|
+
flex: 1 1 auto;
|
43
|
+
}
|
44
|
+
|
45
|
+
.tooltip-inner {
|
46
|
+
min-width: 125px;
|
47
|
+
max-width: 250px;
|
48
|
+
min-height: 35px;
|
49
|
+
display: flex;
|
50
|
+
align-items: center;
|
51
|
+
justify-content: center;
|
52
|
+
word-break: break-word;
|
53
|
+
}
|
@@ -0,0 +1,108 @@
|
|
1
|
+
@each $key, $value in (
|
2
|
+
'top': flex-start,
|
3
|
+
'middle': center,
|
4
|
+
'bottom': flex-end
|
5
|
+
) {
|
6
|
+
|
7
|
+
.flex-wrap-#{$key}-left {
|
8
|
+
display: flex !important;
|
9
|
+
align-items: $value !important;
|
10
|
+
justify-content: flex-start !important;
|
11
|
+
flex-wrap: wrap !important;
|
12
|
+
gap: 10px;
|
13
|
+
}
|
14
|
+
|
15
|
+
.flex-wrap-#{$key}-center {
|
16
|
+
display: flex !important;
|
17
|
+
align-items: $value !important;
|
18
|
+
justify-content: center !important;
|
19
|
+
flex-wrap: wrap !important;
|
20
|
+
gap: 10px;
|
21
|
+
}
|
22
|
+
|
23
|
+
.flex-wrap-#{$key}-right {
|
24
|
+
display: flex !important;
|
25
|
+
align-items: $value !important;
|
26
|
+
justify-content: flex-end !important;
|
27
|
+
flex-wrap: wrap !important;
|
28
|
+
gap: 10px;
|
29
|
+
}
|
30
|
+
|
31
|
+
.flex-wrap-#{$key}-between {
|
32
|
+
display: flex !important;
|
33
|
+
align-items: $value !important;
|
34
|
+
justify-content: space-between !important;
|
35
|
+
flex-wrap: wrap !important;
|
36
|
+
gap: 10px;
|
37
|
+
}
|
38
|
+
|
39
|
+
.flex-wrap-#{$key}-around {
|
40
|
+
display: flex !important;
|
41
|
+
align-items: $value !important;
|
42
|
+
justify-content: space-around !important;
|
43
|
+
flex-wrap: wrap !important;
|
44
|
+
gap: 10px;
|
45
|
+
}
|
46
|
+
|
47
|
+
.flex-wrap-#{$key}-evenly {
|
48
|
+
display: flex !important;
|
49
|
+
align-items: $value !important;
|
50
|
+
justify-content: space-evenly !important;
|
51
|
+
flex-wrap: wrap !important;
|
52
|
+
gap: 10px;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
@for $i from 1 through 10 {
|
58
|
+
@if($i == 1) {
|
59
|
+
.flex-item-50px {
|
60
|
+
flex-basis: 50px;
|
61
|
+
}
|
62
|
+
|
63
|
+
.flex-item-grow-50px {
|
64
|
+
flex-grow: 1 !important;
|
65
|
+
flex-basis: 50px;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
.flex-item-#{$i * 10} {
|
70
|
+
flex-basis: $i * 10%;
|
71
|
+
}
|
72
|
+
|
73
|
+
.flex-item-#{$i * 100}px {
|
74
|
+
flex-basis: $i * 100px;
|
75
|
+
}
|
76
|
+
|
77
|
+
.flex-item-grow-#{$i * 10} {
|
78
|
+
flex-grow: 1 !important;
|
79
|
+
flex-basis: $i * 10%;
|
80
|
+
}
|
81
|
+
|
82
|
+
.flex-item-grow-#{$i * 100}px {
|
83
|
+
flex-grow: 1 !important;
|
84
|
+
flex-basis: $i * 100px;
|
85
|
+
}
|
86
|
+
|
87
|
+
@if($i * 100 + 50 < 1000) {
|
88
|
+
.flex-item-#{$i * 100 + 50}px {
|
89
|
+
flex-basis: $i * 100px + 50px;
|
90
|
+
}
|
91
|
+
|
92
|
+
.flex-item-grow-#{$i * 100 + 50}px {
|
93
|
+
flex-grow: 1 !important;
|
94
|
+
flex-basis: $i * 100px + 50px;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
@if($i * 10 + 5 < 100) {
|
99
|
+
.flex-item-#{$i * 10 + 5} {
|
100
|
+
flex-basis: $i * 10%;
|
101
|
+
}
|
102
|
+
|
103
|
+
.flex-item-grow-#{$i * 10 + 5} {
|
104
|
+
flex-grow: 1 !important;
|
105
|
+
flex-basis: $i * 10% + 5%;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
package/styles/layout-flex.scss
CHANGED
@@ -5,143 +5,41 @@
|
|
5
5
|
) {
|
6
6
|
|
7
7
|
.flex-#{$key}-left {
|
8
|
-
display: flex;
|
9
|
-
align-items: $value;
|
10
|
-
justify-content: flex-start;
|
8
|
+
display: flex !important;
|
9
|
+
align-items: $value !important;
|
10
|
+
justify-content: flex-start !important;
|
11
11
|
}
|
12
12
|
|
13
|
-
.flex-wrap-#{$key}-left {
|
14
|
-
display: flex;
|
15
|
-
align-items: $value;
|
16
|
-
justify-content: flex-start;
|
17
|
-
flex-wrap: wrap;
|
18
|
-
gap: 10px;
|
19
|
-
}
|
20
|
-
|
21
13
|
.flex-#{$key}-center {
|
22
|
-
display: flex;
|
23
|
-
align-items: $value;
|
24
|
-
justify-content: center;
|
25
|
-
}
|
26
|
-
|
27
|
-
.flex-wrap-#{$key}-center {
|
28
|
-
display: flex;
|
29
|
-
align-items: $value;
|
30
|
-
justify-content: center;
|
31
|
-
flex-wrap: wrap;
|
32
|
-
gap: 10px;
|
33
|
-
}
|
14
|
+
display: flex !important;
|
15
|
+
align-items: $value !important;
|
16
|
+
justify-content: center !important;
|
17
|
+
}
|
34
18
|
|
35
19
|
.flex-#{$key}-right {
|
36
|
-
display: flex;
|
37
|
-
align-items: $value;
|
38
|
-
justify-content: flex-end;
|
20
|
+
display: flex !important;
|
21
|
+
align-items: $value !important;
|
22
|
+
justify-content: flex-end !important;
|
39
23
|
}
|
40
|
-
|
41
|
-
.flex-wrap-#{$key}-right {
|
42
|
-
display: flex;
|
43
|
-
align-items: $value;
|
44
|
-
justify-content: flex-end;
|
45
|
-
flex-wrap: wrap;
|
46
|
-
gap: 10px;
|
47
|
-
}
|
48
|
-
|
24
|
+
|
49
25
|
.flex-#{$key}-between {
|
50
|
-
display: flex;
|
51
|
-
align-items: $value;
|
52
|
-
justify-content: space-between;
|
53
|
-
}
|
54
|
-
|
55
|
-
.flex-wrap-#{$key}-between {
|
56
|
-
display: flex;
|
57
|
-
align-items: $value;
|
58
|
-
justify-content: space-between;
|
59
|
-
flex-wrap: wrap;
|
60
|
-
gap: 10px;
|
26
|
+
display: flex !important;
|
27
|
+
align-items: $value !important;
|
28
|
+
justify-content: space-between !important;
|
61
29
|
}
|
62
30
|
|
63
31
|
.flex-#{$key}-around {
|
64
|
-
display: flex;
|
65
|
-
align-items: $value;
|
66
|
-
justify-content: space-around;
|
32
|
+
display: flex !important;
|
33
|
+
align-items: $value !important;
|
34
|
+
justify-content: space-around !important;
|
67
35
|
}
|
68
36
|
|
69
|
-
.flex-wrap-#{$key}-around {
|
70
|
-
display: flex;
|
71
|
-
align-items: $value;
|
72
|
-
justify-content: space-around;
|
73
|
-
flex-wrap: wrap;
|
74
|
-
gap: 10px;
|
75
|
-
}
|
76
|
-
|
77
37
|
.flex-#{$key}-evenly {
|
78
|
-
display: flex;
|
79
|
-
align-items: $value;
|
80
|
-
justify-content: space-evenly;
|
38
|
+
display: flex !important;
|
39
|
+
align-items: $value !important;
|
40
|
+
justify-content: space-evenly !important;
|
81
41
|
}
|
82
|
-
|
83
|
-
.flex-wrap-#{$key}-evenly {
|
84
|
-
display: flex;
|
85
|
-
align-items: $value;
|
86
|
-
justify-content: space-evenly;
|
87
|
-
flex-wrap: wrap;
|
88
|
-
gap: 10px;
|
89
|
-
}
|
90
42
|
}
|
91
|
-
|
92
|
-
|
93
|
-
@for $i from 1 through 10 {
|
94
|
-
@if($i == 1) {
|
95
|
-
.flex-item-50px {
|
96
|
-
flex-basis: 50px;
|
97
|
-
}
|
98
|
-
|
99
|
-
.flex-item-grow-50px {
|
100
|
-
flex-grow: 1;
|
101
|
-
flex-basis: 50px;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
|
105
|
-
.flex-item-#{$i * 10} {
|
106
|
-
flex-basis: $i * 10%;
|
107
|
-
}
|
108
|
-
|
109
|
-
.flex-item-#{$i * 100}px {
|
110
|
-
flex-basis: $i * 100px;
|
111
|
-
}
|
112
|
-
|
113
|
-
.flex-item-grow-#{$i * 10} {
|
114
|
-
flex-grow: 1;
|
115
|
-
flex-basis: $i * 10%;
|
116
|
-
}
|
117
|
-
|
118
|
-
.flex-item-grow-#{$i * 100}px {
|
119
|
-
flex-grow: 1;
|
120
|
-
flex-basis: $i * 100px;
|
121
|
-
}
|
122
|
-
|
123
|
-
@if($i * 100 + 50 < 1000) {
|
124
|
-
.flex-item-#{$i * 100 + 50}px {
|
125
|
-
flex-basis: $i * 100px + 50px;
|
126
|
-
}
|
127
|
-
|
128
|
-
.flex-item-grow-#{$i * 100 + 50}px {
|
129
|
-
flex-grow: 1;
|
130
|
-
flex-basis: $i * 100px + 50px;
|
131
|
-
}
|
132
|
-
}
|
133
|
-
|
134
|
-
@if($i * 10 + 5 < 100) {
|
135
|
-
.flex-item-#{$i * 10 + 5} {
|
136
|
-
flex-basis: $i * 10%;
|
137
|
-
}
|
138
|
-
|
139
|
-
.flex-item-grow-#{$i * 10 + 5} {
|
140
|
-
flex-grow: 1;
|
141
|
-
flex-basis: $i * 10% + 5%;
|
142
|
-
}
|
143
|
-
}
|
144
|
-
}
|
145
43
|
|
146
44
|
|
147
45
|
@each $key, $value in (
|
@@ -151,7 +49,14 @@
|
|
151
49
|
'column-reverse': column-reverse
|
152
50
|
) {
|
153
51
|
.flex-#{$key} {
|
154
|
-
display: flex;
|
155
|
-
flex-direction: $value;
|
52
|
+
display: flex !important;
|
53
|
+
flex-direction: $value !important;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
@for $i from 0 through 30 {
|
59
|
+
.gap-#{$i}px {
|
60
|
+
gap: $i * 1px;
|
156
61
|
}
|
157
|
-
}
|
62
|
+
}
|
package/styles/layout-grid.scss
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
@for $i from 0 through 30 {
|
2
|
+
.margin-#{$i}px {
|
3
|
+
margin: $i * 1px !important;
|
4
|
+
}
|
5
|
+
|
6
|
+
.margin-top-#{$i}px {
|
7
|
+
margin-top: $i * 1px !important;
|
8
|
+
}
|
9
|
+
|
10
|
+
.margin-right-#{$i}px {
|
11
|
+
margin-right: $i * 1px !important;
|
12
|
+
}
|
13
|
+
|
14
|
+
.margin-bottom-#{$i}px {
|
15
|
+
margin-bottom: $i * 1px !important;
|
16
|
+
}
|
17
|
+
|
18
|
+
.margin-left-#{$i}px {
|
19
|
+
margin-left: $i * 1px !important;
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
@for $i from 0 through 30 {
|
2
|
+
.padding-#{$i}px {
|
3
|
+
padding: $i * 1px !important;
|
4
|
+
}
|
5
|
+
|
6
|
+
.padding-top-#{$i}px {
|
7
|
+
padding-top: $i * 1px !important;
|
8
|
+
}
|
9
|
+
|
10
|
+
.padding-right-#{$i}px {
|
11
|
+
padding-right: $i * 1px !important;
|
12
|
+
}
|
13
|
+
|
14
|
+
.padding-bottom-#{$i}px {
|
15
|
+
padding-bottom: $i * 1px !important;
|
16
|
+
}
|
17
|
+
|
18
|
+
.padding-left-#{$i}px {
|
19
|
+
padding-left: $i * 1px !important;
|
20
|
+
}
|
21
|
+
}
|
package/styles/position.scss
CHANGED
@@ -15,4 +15,22 @@ $counter: 10;
|
|
15
15
|
.position-#{$key} {
|
16
16
|
position: $value !important;
|
17
17
|
}
|
18
|
-
}
|
18
|
+
}
|
19
|
+
|
20
|
+
@for $i from 0 through 50 {
|
21
|
+
.top-#{$i}px {
|
22
|
+
top: $i * 1px !important;
|
23
|
+
}
|
24
|
+
|
25
|
+
.right-#{$i}px {
|
26
|
+
right: $i * 1px !important;
|
27
|
+
}
|
28
|
+
|
29
|
+
.bottom-#{$i}px {
|
30
|
+
bottom: $i * 1px !important;
|
31
|
+
}
|
32
|
+
|
33
|
+
.left-#{$i}px {
|
34
|
+
left: $i * 1px !important;
|
35
|
+
}
|
36
|
+
}
|
package/styles/scroll-bar.scss
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
@use 'sass:color';
|
2
2
|
|
3
3
|
*::-webkit-scrollbar {
|
4
|
-
background-color: color.adjust(#6c757d, $lightness: 48%);
|
5
|
-
width: 5px;
|
6
|
-
height: 5px;
|
4
|
+
background-color: color.adjust(#6c757d, $lightness: 48%) !important;
|
5
|
+
width: 5px !important;
|
6
|
+
height: 5px !important;
|
7
7
|
}
|
8
8
|
|
9
9
|
*::-webkit-scrollbar-thumb{
|
10
|
-
background-color: color.adjust(#6c757d, $lightness: 35%) ;
|
11
|
-
border-radius: 4px;
|
10
|
+
background-color: color.adjust(#6c757d, $lightness: 35%) !important;
|
11
|
+
border-radius: 4px !important;
|
12
12
|
}
|
13
13
|
|
14
14
|
*::-webkit-scrollbar-thumb:hover {
|
15
|
-
background-color: var(--gray);
|
15
|
+
background-color: var(--gray) !important;
|
16
16
|
}
|
17
17
|
|
18
18
|
*::-webkit-scrollbar-thumb:active {
|
19
|
-
background-color: var(--gray);
|
19
|
+
background-color: var(--gray) !important;
|
20
20
|
}
|
package/svg/house.svg
ADDED
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
|
2
|
+
<path d="M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"/>
|
3
|
+
</svg>
|
@@ -1,16 +1,16 @@
|
|
1
|
-
export declare
|
1
|
+
export declare class ElementsHTML {
|
2
2
|
/** */
|
3
|
-
GetElement: (selector: string) => HTMLElement | null;
|
3
|
+
static GetElement: (selector: string) => HTMLElement | null;
|
4
4
|
/** */
|
5
|
-
GetCssValueBy: (selector: string, style: string) => string;
|
5
|
+
static GetCssValueBy: (selector: string, style: string) => string;
|
6
6
|
/** */
|
7
|
-
GetCssValue: (element: Element | null, style: string) => string;
|
7
|
+
static GetCssValue: (element: Element | null, style: string) => string;
|
8
8
|
/** Get width in px */
|
9
|
-
GetElementWidth: (element: HTMLElement | null | undefined, ...args: (number | HTMLElement | null | undefined)[]) => string;
|
9
|
+
static GetElementWidth: (element: HTMLElement | null | undefined, ...args: (number | HTMLElement | null | undefined)[]) => string;
|
10
10
|
/** Get height in px */
|
11
|
-
GetElementHeight: (element: HTMLElement | null | undefined, ...args: (number | HTMLElement | null | undefined)[]) => string;
|
11
|
+
static GetElementHeight: (element: HTMLElement | null | undefined, ...args: (number | HTMLElement | null | undefined)[]) => string;
|
12
12
|
/** */
|
13
|
-
IsInvalidElement: (element: any) => boolean;
|
13
|
+
static IsInvalidElement: (element: any) => boolean;
|
14
14
|
/** Get color in hexadecimal format */
|
15
|
-
GetElementColor: (element: HTMLElement | null | undefined) => string;
|
16
|
-
}
|
15
|
+
static GetElementColor: (element: HTMLElement | null | undefined) => string;
|
16
|
+
}
|
@@ -9,8 +9,10 @@ export declare class StringTools {
|
|
9
9
|
static ToTitle(value: string | number | null | undefined): string;
|
10
10
|
/** Removes the last character */
|
11
11
|
static RemoveLastChar(value: string | number | null | undefined): string;
|
12
|
-
/** Removes accents
|
13
|
-
static RemoveAccents(value: string | number | null | undefined,
|
12
|
+
/** Removes accents */
|
13
|
+
static RemoveAccents(value: string | number | null | undefined, except?: string[]): string;
|
14
|
+
/** Removes special characters */
|
15
|
+
static OnlyAlphaNumeric(value: string | number | null | undefined): string;
|
14
16
|
/** Validates if both strings are equal */
|
15
17
|
static Equals(value: string | number | null | undefined, value2: string | number | null | undefined, sensitive?: boolean): boolean;
|
16
18
|
}
|
package/styles/bootstrap.scss
DELETED
package/styles/space.scss
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
@for $i from 0 through 30 {
|
2
|
-
//padding
|
3
|
-
.padding-#{$i}px {
|
4
|
-
padding: $i * 1px;
|
5
|
-
}
|
6
|
-
|
7
|
-
.padding-top-#{$i}px {
|
8
|
-
padding-top: $i * 1px;
|
9
|
-
}
|
10
|
-
|
11
|
-
.padding-right-#{$i}px {
|
12
|
-
padding-right: $i * 1px;
|
13
|
-
}
|
14
|
-
|
15
|
-
.padding-bottom-#{$i}px {
|
16
|
-
padding-bottom: $i * 1px;
|
17
|
-
}
|
18
|
-
|
19
|
-
.padding-left-#{$i}px {
|
20
|
-
padding-left: $i * 1px;
|
21
|
-
}
|
22
|
-
|
23
|
-
//margin
|
24
|
-
.margin-#{$i}px {
|
25
|
-
margin: $i * 1px;
|
26
|
-
}
|
27
|
-
|
28
|
-
.margin-top-#{$i}px {
|
29
|
-
margin-top: $i * 1px;
|
30
|
-
}
|
31
|
-
|
32
|
-
.margin-right-#{$i}px {
|
33
|
-
margin-right: $i * 1px;
|
34
|
-
}
|
35
|
-
|
36
|
-
.margin-bottom-#{$i}px {
|
37
|
-
margin-bottom: $i * 1px;
|
38
|
-
}
|
39
|
-
|
40
|
-
.margin-left-#{$i}px {
|
41
|
-
margin-left: $i * 1px;
|
42
|
-
}
|
43
|
-
|
44
|
-
//position
|
45
|
-
.top-#{$i}px {
|
46
|
-
top: $i * 1px;
|
47
|
-
}
|
48
|
-
|
49
|
-
.right-#{$i}px {
|
50
|
-
right: $i * 1px;
|
51
|
-
}
|
52
|
-
|
53
|
-
.bottom-#{$i}px {
|
54
|
-
bottom: $i * 1px;
|
55
|
-
}
|
56
|
-
|
57
|
-
.left-#{$i}px {
|
58
|
-
left: $i * 1px;
|
59
|
-
}
|
60
|
-
|
61
|
-
//gap
|
62
|
-
.gap-#{$i}px {
|
63
|
-
gap: $i * 1px;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
|
68
|
-
.fill-space {
|
69
|
-
flex: 1 1 auto;
|
70
|
-
}
|