@rolster/styles-foundations 1.0.0
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/LICENSE +21 -0
- package/dist/styles.css +1924 -0
- package/dist/styles.min.css +1 -0
- package/dist/styles.rtl.css +1924 -0
- package/dist/styles.rtl.min.css +1 -0
- package/fonts/fabric/_fabric.-settings.scss +66 -0
- package/fonts/fabric/_fabric.scss +69 -0
- package/fonts/fabric/fabric-bold.otf +0 -0
- package/fonts/fabric/fabric-light.otf +0 -0
- package/fonts/fabric/fabric-regular.otf +0 -0
- package/fonts/fabric/fabric-semibold.otf +0 -0
- package/fonts/fabric/fabric.css +122 -0
- package/fonts/mona-sans/_mona-sans-settings.scss +62 -0
- package/fonts/mona-sans/_mona-sans.scss +69 -0
- package/fonts/mona-sans/mona-sans-bold.woff +0 -0
- package/fonts/mona-sans/mona-sans-light.woff +0 -0
- package/fonts/mona-sans/mona-sans-medium.woff +0 -0
- package/fonts/mona-sans/mona-sans-regular.woff +0 -0
- package/fonts/mona-sans/mona-sans-semibold.woff +0 -0
- package/fonts/mona-sans/mona-sans.css +118 -0
- package/fonts/poppins/_poppins-settings.scss +62 -0
- package/fonts/poppins/_poppins.scss +69 -0
- package/fonts/poppins/poppins-bold.woff2 +0 -0
- package/fonts/poppins/poppins-light.woff2 +0 -0
- package/fonts/poppins/poppins-medium.woff2 +0 -0
- package/fonts/poppins/poppins-regular.woff2 +0 -0
- package/fonts/poppins/poppins-semibold.woff2 +0 -0
- package/fonts/poppins/poppins.css +118 -0
- package/fonts/space-grotesk/_space-grotesk-settings.scss +62 -0
- package/fonts/space-grotesk/_space-grotesk.scss +69 -0
- package/fonts/space-grotesk/space-grotesk-bold.woff +0 -0
- package/fonts/space-grotesk/space-grotesk-light.woff +0 -0
- package/fonts/space-grotesk/space-grotesk-medium.woff +0 -0
- package/fonts/space-grotesk/space-grotesk-regular.woff +0 -0
- package/fonts/space-grotesk/space-grotesk-semibold.woff +0 -0
- package/fonts/space-grotesk/space-grotesk.css +118 -0
- package/icons/_rolster-settings.scss +763 -0
- package/icons/_rolster.scss +18 -0
- package/icons/rolster-icons.eot +0 -0
- package/icons/rolster-icons.svg +258 -0
- package/icons/rolster-icons.ttf +0 -0
- package/icons/rolster-icons.woff +0 -0
- package/icons/rolster.css +768 -0
- package/package.json +32 -0
- package/readme.md +13 -0
- package/scss/_rolster-components.scss +9 -0
- package/scss/_rolster-foundations.scss +13 -0
- package/scss/_rolster-utilities.scss +13 -0
- package/scss/components/_app.scss +89 -0
- package/scss/components/_box-field.scss +94 -0
- package/scss/foundations/_animations-foundations.scss +16 -0
- package/scss/foundations/_colors-foundations.scss +200 -0
- package/scss/foundations/_elevations-foundations.scss +157 -0
- package/scss/foundations/_sizings-foundations.scss +74 -0
- package/scss/foundations/_themes-foundations.scss +103 -0
- package/scss/foundations/_typographics-foundations.scss +26 -0
- package/scss/styles.scss +10 -0
- package/scss/utilities/_colors-utilities.scss +54 -0
- package/scss/utilities/_layout-utilities.scss +314 -0
- package/scss/utilities/_normalize-utilities.scss +211 -0
- package/scss/utilities/_texts-utilities.scss +23 -0
- package/scss/utilities/_themes-utilities.scss +42 -0
- package/scss/utilities/_typographics-utilities.scss +363 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Rolster Technology Sizings Foundations
|
|
2
|
+
// v1.0.0
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 20/Mar/2018
|
|
6
|
+
// Updated: 11/Abr/2023
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
--sizing-2: 0.125rem;
|
|
10
|
+
|
|
11
|
+
--sizing-4: 0.25rem;
|
|
12
|
+
|
|
13
|
+
--sizing-6: 0.375rem;
|
|
14
|
+
|
|
15
|
+
--sizing-8: 0.5rem;
|
|
16
|
+
|
|
17
|
+
--sizing-12: 0.75rem;
|
|
18
|
+
|
|
19
|
+
--sizing-16: 1rem;
|
|
20
|
+
|
|
21
|
+
--sizing-20: 1.25rem;
|
|
22
|
+
|
|
23
|
+
--sizing-24: 1.5rem;
|
|
24
|
+
|
|
25
|
+
--sizing-28: 1.75rem;
|
|
26
|
+
|
|
27
|
+
--sizing-32: 2rem;
|
|
28
|
+
|
|
29
|
+
--sizing-36: 2.25rem;
|
|
30
|
+
|
|
31
|
+
--sizing-40: 2.5rem;
|
|
32
|
+
|
|
33
|
+
--sizing-44: 2.75rem;
|
|
34
|
+
|
|
35
|
+
--sizing-48: 3rem;
|
|
36
|
+
|
|
37
|
+
--sizing-52: 3.25rem;
|
|
38
|
+
|
|
39
|
+
--sizing-56: 3.5rem;
|
|
40
|
+
|
|
41
|
+
--sizing-60: 3.75rem;
|
|
42
|
+
|
|
43
|
+
--sizing-64: 4rem;
|
|
44
|
+
|
|
45
|
+
--border-1: 1px;
|
|
46
|
+
|
|
47
|
+
--border-2: 2px;
|
|
48
|
+
|
|
49
|
+
--border-4: 4px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@supports (padding-top: constant(safe-area-inset-top)) {
|
|
53
|
+
:root {
|
|
54
|
+
--sizing-safe-top: constant(safe-area-inset-top);
|
|
55
|
+
|
|
56
|
+
--sizing-safe-right: constant(safe-area-inset-right);
|
|
57
|
+
|
|
58
|
+
--sizing-safe-bottom: constant(safe-area-inset-bottom);
|
|
59
|
+
|
|
60
|
+
--sizing-safe-left: constant(safe-area-inset-left);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@supports (padding-top: env(safe-area-inset-top)) {
|
|
65
|
+
:root {
|
|
66
|
+
--sizing-safe-top: env(safe-area-inset-top);
|
|
67
|
+
|
|
68
|
+
--sizing-safe-right: env(safe-area-inset-right);
|
|
69
|
+
|
|
70
|
+
--sizing-safe-bottom: env(safe-area-inset-bottom);
|
|
71
|
+
|
|
72
|
+
--sizing-safe-left: env(safe-area-inset-left);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// Rolster Technology Themes Foundations
|
|
2
|
+
// v1.0.0
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 03/Mar/2022
|
|
6
|
+
// Updated: 14/Abr/2023
|
|
7
|
+
|
|
8
|
+
@mixin border-theme-rolster($token, $color) {
|
|
9
|
+
--border-1-rolster-#{$token}: var(--border-1) solid
|
|
10
|
+
var(--color-#{$color}-#{$token});
|
|
11
|
+
|
|
12
|
+
--border-2-rolster-#{$token}: var(--border-2) solid
|
|
13
|
+
var(--color-#{$color}-#{$token});
|
|
14
|
+
|
|
15
|
+
--border-4-rolster-#{$token}: var(--border-4) solid
|
|
16
|
+
var(--color-#{$color}-#{$token});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin theme-rolster($color) {
|
|
20
|
+
--color-rolster-900: var(--color-#{$color}-900);
|
|
21
|
+
|
|
22
|
+
--color-rolster-700: var(--color-#{$color}-700);
|
|
23
|
+
|
|
24
|
+
--color-rolster-500: var(--color-#{$color}-500);
|
|
25
|
+
|
|
26
|
+
--color-rolster-300: var(--color-#{$color}-300);
|
|
27
|
+
|
|
28
|
+
--color-rolster-100: var(--color-#{$color}-100);
|
|
29
|
+
|
|
30
|
+
--skeleton-rolster-500: var(--skeleton-#{$color}-500);
|
|
31
|
+
|
|
32
|
+
--skeleton-rolster-300: var(--skeleton-#{$color}-300);
|
|
33
|
+
|
|
34
|
+
--skeleton-rolster-100: var(--skeleton-#{$color}-100);
|
|
35
|
+
|
|
36
|
+
@include border-theme-rolster(900, $color);
|
|
37
|
+
@include border-theme-rolster(700, $color);
|
|
38
|
+
@include border-theme-rolster(500, $color);
|
|
39
|
+
@include border-theme-rolster(300, $color);
|
|
40
|
+
@include border-theme-rolster(100, $color);
|
|
41
|
+
|
|
42
|
+
--box-shadow-rolster-500: var(--box-shadow-#{$color}-500);
|
|
43
|
+
|
|
44
|
+
--backdrop-rolster-500: var(--backdrop-#{$color}-500);
|
|
45
|
+
|
|
46
|
+
--gradient-rolster-500: var(--gradient-#{$color}-500);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@mixin border-theme($theme, $token) {
|
|
50
|
+
--border-1-theme-#{$token}: var(--border-1) solid
|
|
51
|
+
var(--border-#{$theme}-#{$token});
|
|
52
|
+
|
|
53
|
+
--border-2-theme-#{$token}: var(--border-2) solid
|
|
54
|
+
var(--border-#{$theme}-#{$token});
|
|
55
|
+
|
|
56
|
+
--border-4-theme-#{$token}: var(--border-4) solid
|
|
57
|
+
var(--border-#{$theme}-#{$token});
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:root {
|
|
61
|
+
--background-theme-500: var(--background-light-500);
|
|
62
|
+
|
|
63
|
+
--background-theme-300: var(--background-light-300);
|
|
64
|
+
|
|
65
|
+
--background-theme-100: var(--background-light-100);
|
|
66
|
+
|
|
67
|
+
--color-theme-500: var(--color-dark-500);
|
|
68
|
+
|
|
69
|
+
--color-theme-300: var(--color-dark-300);
|
|
70
|
+
|
|
71
|
+
--color-theme-100: var(--color-dark-100);
|
|
72
|
+
|
|
73
|
+
--border-theme-500: var(--border-dark-500);
|
|
74
|
+
|
|
75
|
+
--border-theme-300: var(--border-dark-300);
|
|
76
|
+
|
|
77
|
+
--border-theme-100: var(--border-dark-100);
|
|
78
|
+
|
|
79
|
+
@include border-theme('dark', 500);
|
|
80
|
+
@include border-theme('dark', 300);
|
|
81
|
+
@include border-theme('dark', 100);
|
|
82
|
+
@include theme-rolster('base');
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
*[rls-theme='success'] {
|
|
86
|
+
@include theme-rolster('success');
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
*[rls-theme='info'] {
|
|
90
|
+
@include theme-rolster('info');
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
*[rls-theme='happy'] {
|
|
94
|
+
@include theme-rolster('happy');
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
*[rls-theme='warning'] {
|
|
98
|
+
@include theme-rolster('warning');
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
*[rls-theme='danger'] {
|
|
102
|
+
@include theme-rolster('danger');
|
|
103
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Rolster Technology Typographics Foundations
|
|
2
|
+
// v1.0.0
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 20/Mar/2018
|
|
6
|
+
// Updated: 13/Abr/2023
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
--font-weight-thin: 100;
|
|
10
|
+
|
|
11
|
+
--font-weight-extra-light: 200;
|
|
12
|
+
|
|
13
|
+
--font-weight-light: 300;
|
|
14
|
+
|
|
15
|
+
--font-weight-regular: 400;
|
|
16
|
+
|
|
17
|
+
--font-weight-medium: 500;
|
|
18
|
+
|
|
19
|
+
--font-weight-semibold: 600;
|
|
20
|
+
|
|
21
|
+
--font-weight-bold: 700;
|
|
22
|
+
|
|
23
|
+
--font-weight-extrabold: 800;
|
|
24
|
+
|
|
25
|
+
--font-weight-black: 900;
|
|
26
|
+
}
|
package/scss/styles.scss
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// Rolster Technology Colors Utilities
|
|
2
|
+
// v1.0.0
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 13/Abr/2023
|
|
6
|
+
// Updated: 13/Abr/2023
|
|
7
|
+
|
|
8
|
+
.font-dark-500 {
|
|
9
|
+
color: var(--color-dark-500);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.font-dark-300 {
|
|
13
|
+
color: var(--color-dark-300);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.font-dark-100 {
|
|
17
|
+
color: var(--color-dark-100);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.font-light-500 {
|
|
21
|
+
color: var(--color-light-500);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.font-light-300 {
|
|
25
|
+
color: var(--color-light-300);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.font-light-100 {
|
|
29
|
+
color: var(--color-light-100);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.bg-dark-500 {
|
|
33
|
+
background: var(--background-dark-500);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.bg-dark-300 {
|
|
37
|
+
background: var(--background-dark-300);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.bg-dark-100 {
|
|
41
|
+
background: var(--background-dark-100);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.bg-light-500 {
|
|
45
|
+
background: var(--background-light-500);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.bg-light-300 {
|
|
49
|
+
background: var(--background-light-300);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.bg-light-100 {
|
|
53
|
+
background: var(--background-light-100);
|
|
54
|
+
}
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
// Rolster Technology Layout Utilities
|
|
2
|
+
// v1.0.0
|
|
3
|
+
// @license MIT
|
|
4
|
+
// Author: Rolster Developers
|
|
5
|
+
// Created: 11/Abr/2023
|
|
6
|
+
// Updated: 13/Abr/2023
|
|
7
|
+
|
|
8
|
+
:root {
|
|
9
|
+
--flex-grid-12-gap: 0rem;
|
|
10
|
+
--flex-grid-8-gap: 0rem;
|
|
11
|
+
--flex-grid-6-gap: 0rem;
|
|
12
|
+
--flex-grid-4-gap: 0rem;
|
|
13
|
+
|
|
14
|
+
--flex-grid-12-col-2: 0rem;
|
|
15
|
+
--flex-grid-12-col-3: 0rem;
|
|
16
|
+
--flex-grid-12-col-4: 0rem;
|
|
17
|
+
--flex-grid-12-col-6: 0rem;
|
|
18
|
+
--flex-grid-12-col-8: 0rem;
|
|
19
|
+
|
|
20
|
+
--flex-grid-8-col-2: 0rem;
|
|
21
|
+
--flex-grid-8-col-3: 0rem;
|
|
22
|
+
--flex-grid-8-col-4: 0rem;
|
|
23
|
+
--flex-grid-8-col-6: 0rem;
|
|
24
|
+
|
|
25
|
+
--flex-grid-6-col-2: 0rem;
|
|
26
|
+
--flex-grid-6-col-3: 0rem;
|
|
27
|
+
--flex-grid-6-col-4: 0rem;
|
|
28
|
+
|
|
29
|
+
--flex-grid-4-col-2: 0rem;
|
|
30
|
+
--flex-grid-4-col-3: 0rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin grid-responsive($size) {
|
|
34
|
+
.#{$size}-grid-8 {
|
|
35
|
+
display: grid;
|
|
36
|
+
gap: var(--sizing-8);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.#{$size}-grid-12 {
|
|
40
|
+
display: grid;
|
|
41
|
+
gap: var(--sizing-12);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.#{$size}-grid-16 {
|
|
45
|
+
display: grid;
|
|
46
|
+
gap: var(--sizing-16);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.#{$size}-grid-col-12 {
|
|
50
|
+
grid-template-columns: repeat(12, 1fr);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.#{$size}-grid-col-8 {
|
|
54
|
+
grid-template-columns: repeat(8, 1fr);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.#{$size}-grid-col-6 {
|
|
58
|
+
grid-template-columns: repeat(6, 1fr);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.#{$size}-grid-col-4 {
|
|
62
|
+
grid-template-columns: repeat(4, 1fr);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.#{$size}-grid-col-2 {
|
|
66
|
+
grid-template-columns: repeat(2, 1fr);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.#{$size}-grid-col-1 {
|
|
70
|
+
grid-template-columns: repeat(1, 1fr);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@include grid-responsive('xs');
|
|
75
|
+
|
|
76
|
+
@media screen and (min-width: 360px) {
|
|
77
|
+
@include grid-responsive('sm');
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@media screen and (min-width: 640px) {
|
|
81
|
+
@include grid-responsive('md');
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media screen and (min-width: 960px) {
|
|
85
|
+
@include grid-responsive('lg');
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media screen and (min-width: 1280px) {
|
|
89
|
+
@include grid-responsive('xl');
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@mixin flex-grid-responsive($size) {
|
|
93
|
+
.#{$size}-flex-grid-8 {
|
|
94
|
+
display: inline-flex;
|
|
95
|
+
flex-wrap: wrap;
|
|
96
|
+
gap: var(--sizing-8);
|
|
97
|
+
--flex-grid-12-gap: 0.4584rem;
|
|
98
|
+
--flex-grid-8-gap: 0.4375rem;
|
|
99
|
+
--flex-grid-6-gap: 0.417rem;
|
|
100
|
+
--flex-grid-4-gap: 0.375rem;
|
|
101
|
+
|
|
102
|
+
--flex-grid-12-col-2: 0.425rem;
|
|
103
|
+
--flex-grid-12-col-3: 0.3875rem;
|
|
104
|
+
--flex-grid-12-col-4: 0.35rem;
|
|
105
|
+
--flex-grid-12-col-6: 0.2725rem;
|
|
106
|
+
--flex-grid-12-col-8: 0.375rem;
|
|
107
|
+
|
|
108
|
+
--flex-grid-8-col-2: 0.3875rem;
|
|
109
|
+
--flex-grid-8-col-3: 0.325rem;
|
|
110
|
+
--flex-grid-8-col-4: 0.275rem;
|
|
111
|
+
--flex-grid-8-col-6: 0.225rem;
|
|
112
|
+
|
|
113
|
+
--flex-grid-6-col-2: 0.3525rem;
|
|
114
|
+
--flex-grid-6-col-3: 0.275rem;
|
|
115
|
+
--flex-grid-6-col-4: 0.2125rem;
|
|
116
|
+
|
|
117
|
+
--flex-grid-4-col-2: 0.25rem;
|
|
118
|
+
--flex-grid-4-col-3: 0.125rem;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.#{$size}-flex-grid-12 {
|
|
122
|
+
display: inline-flex;
|
|
123
|
+
flex-wrap: wrap;
|
|
124
|
+
gap: var(--sizing-12);
|
|
125
|
+
|
|
126
|
+
--flex-grid-12-gap: 0.9140625rem;
|
|
127
|
+
--flex-grid-8-gap: 0.875rem;
|
|
128
|
+
--flex-grid-6-gap: 0.8309375rem;
|
|
129
|
+
--flex-grid-4-gap: 0.75rem;
|
|
130
|
+
|
|
131
|
+
--flex-grid-12-col-2: 0.828rem;
|
|
132
|
+
--flex-grid-12-col-3: 0.75rem;
|
|
133
|
+
--flex-grid-12-col-4: 0.6725rem;
|
|
134
|
+
--flex-grid-12-col-6: 0.5125rem;
|
|
135
|
+
--flex-grid-12-col-8: 0.375rem;
|
|
136
|
+
|
|
137
|
+
--flex-grid-8-col-2: 0.77275rem;
|
|
138
|
+
--flex-grid-8-col-3: 0.65rem;
|
|
139
|
+
--flex-grid-8-col-4: 0.5rem;
|
|
140
|
+
--flex-grid-8-col-6: 0.275rem;
|
|
141
|
+
|
|
142
|
+
--flex-grid-6-col-2: 0.675rem;
|
|
143
|
+
--flex-grid-6-col-3: 0.5rem;
|
|
144
|
+
--flex-grid-6-col-4: 0.355rem;
|
|
145
|
+
|
|
146
|
+
--flex-grid-4-col-2: 0.5rem;
|
|
147
|
+
--flex-grid-4-col-3: 0.275rem;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.#{$size}-flex-grid-16 {
|
|
151
|
+
display: inline-flex;
|
|
152
|
+
flex-wrap: wrap;
|
|
153
|
+
gap: var(--sizing-16);
|
|
154
|
+
|
|
155
|
+
--flex-grid-12-gap: 0.9140625rem;
|
|
156
|
+
--flex-grid-8-gap: 0.875rem;
|
|
157
|
+
--flex-grid-6-gap: 0.8309375rem;
|
|
158
|
+
--flex-grid-4-gap: 0.75rem;
|
|
159
|
+
|
|
160
|
+
--flex-grid-12-col-2: 0.8325rem;
|
|
161
|
+
--flex-grid-12-col-3: 0.75rem;
|
|
162
|
+
--flex-grid-12-col-4: 0.6725rem;
|
|
163
|
+
--flex-grid-12-col-6: 0.5125rem;
|
|
164
|
+
--flex-grid-12-col-8: 0.375rem;
|
|
165
|
+
|
|
166
|
+
--flex-grid-8-col-2: 0.77275rem;
|
|
167
|
+
--flex-grid-8-col-3: 0.65rem;
|
|
168
|
+
--flex-grid-8-col-4: 0.5rem;
|
|
169
|
+
--flex-grid-8-col-6: 0.275rem;
|
|
170
|
+
|
|
171
|
+
--flex-grid-6-col-2: 0.675rem;
|
|
172
|
+
--flex-grid-6-col-3: 0.5rem;
|
|
173
|
+
--flex-grid-6-col-4: 0.355rem;
|
|
174
|
+
|
|
175
|
+
--flex-grid-4-col-2: 0.5rem;
|
|
176
|
+
--flex-grid-4-col-3: 0.275rem;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.#{$size}-flex-grid-col-4 {
|
|
180
|
+
& > * {
|
|
181
|
+
width: calc(25% - var(--flex-grid-4-gap));
|
|
182
|
+
|
|
183
|
+
&.#{$size}-flex-col-1 {
|
|
184
|
+
width: calc(25% - var(--flex-grid-4-gap));
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&.#{$size}-flex-col-2 {
|
|
188
|
+
width: calc(50% - var(--flex-grid-4-col-2));
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&.#{$size}-flex-col-3 {
|
|
192
|
+
width: calc(75% - var(--flex-grid-4-col-3));
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&.#{$size}-flex-col-4,
|
|
196
|
+
&.#{$size}-flex-col-6,
|
|
197
|
+
&.#{$size}-flex-col-8,
|
|
198
|
+
&.#{$size}-flex-col-12 {
|
|
199
|
+
width: 100%;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.#{$size}-flex-grid-col-6 {
|
|
205
|
+
& > * {
|
|
206
|
+
width: calc(16.66% - var(--flex-grid-6-gap));
|
|
207
|
+
|
|
208
|
+
&.#{$size}-flex-col-1 {
|
|
209
|
+
width: calc(16.66% - var(--flex-grid-6-gap));
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&.#{$size}-flex-col-2 {
|
|
213
|
+
width: calc(33.34% - var(--flex-grid-6-col-2));
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&.#{$size}-flex-col-3 {
|
|
217
|
+
width: calc(50% - var(--flex-grid-6-col-3));
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&.#{$size}-flex-col-4 {
|
|
221
|
+
width: calc(66.67% - var(--flex-grid-6-col-4));
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
&.#{$size}-flex-col-6,
|
|
225
|
+
&.#{$size}-flex-col-8,
|
|
226
|
+
&.#{$size}-flex-col-12 {
|
|
227
|
+
width: 100%;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.#{$size}-flex-grid-col-8 {
|
|
233
|
+
& > * {
|
|
234
|
+
width: calc(12.5% - var(--flex-grid-8-gap));
|
|
235
|
+
|
|
236
|
+
&.#{$size}-flex-col-1 {
|
|
237
|
+
width: calc(12.5% - var(--flex-grid-8-gap));
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&.#{$size}-flex-col-2 {
|
|
241
|
+
width: calc(25% - var(--flex-grid-8-col-2));
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&.#{$size}-flex-col-3 {
|
|
245
|
+
width: calc(37.5% - var(--flex-grid-8-col-3));
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&.#{$size}-flex-col-4 {
|
|
249
|
+
width: calc(50% - var(--flex-grid-8-col-4));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
&.#{$size}-flex-col-6 {
|
|
253
|
+
width: calc(75% - var(--flex-grid-8-col-6));
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
&.#{$size}-flex-col-8,
|
|
257
|
+
&.#{$size}-flex-col-12 {
|
|
258
|
+
width: 100%;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.#{$size}-flex-grid-col-12 {
|
|
264
|
+
& > * {
|
|
265
|
+
width: calc(8.33% - var(--flex-grid-12-gap));
|
|
266
|
+
|
|
267
|
+
&.#{$size}-flex-col-1 {
|
|
268
|
+
width: calc(8.33% - var(--flex-grid-12-gap));
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
&.#{$size}-flex-col-2 {
|
|
272
|
+
width: calc(16.66% - var(--flex-grid-12-col-2));
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
&.#{$size}-flex-col-3 {
|
|
276
|
+
width: calc(25% - var(--flex-grid-12-col-3));
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
&.#{$size}-flex-col-4 {
|
|
280
|
+
width: calc(33.33% - var(--flex-grid-12-col-4));
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
&.#{$size}-flex-col-6 {
|
|
284
|
+
width: calc(50% - var(--flex-grid-12-col-6));
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
&.#{$size}-flex-col-8 {
|
|
288
|
+
width: calc(66.66% - var(--flex-grid-12-col-8));
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
&.#{$size}-flex-col-12 {
|
|
292
|
+
width: 100%;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
@include flex-grid-responsive('xs');
|
|
299
|
+
|
|
300
|
+
@media screen and (min-width: 360px) {
|
|
301
|
+
@include flex-grid-responsive('sm');
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@media screen and (min-width: 640px) {
|
|
305
|
+
@include flex-grid-responsive('md');
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
@media screen and (min-width: 960px) {
|
|
309
|
+
@include flex-grid-responsive('lg');
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@media screen and (min-width: 1280px) {
|
|
313
|
+
@include flex-grid-responsive('xl');
|
|
314
|
+
}
|