cacao-css 6.2.0 → 6.4.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/dist/display/2xl/display.css +12 -6
- package/dist/display/2xs/display.css +12 -6
- package/dist/display/3xl/display.css +12 -6
- package/dist/display/3xs/display.css +12 -6
- package/dist/display/4xl/display.css +12 -6
- package/dist/display/5xl/display.css +12 -6
- package/dist/display/display.css +12 -6
- package/dist/display/lg/display.css +12 -6
- package/dist/display/md/display.css +12 -6
- package/dist/display/sm/display.css +12 -6
- package/dist/display/xl/display.css +12 -6
- package/dist/display/xs/display.css +12 -6
- package/dist/grid/2xl/grid.css +26 -0
- package/dist/grid/2xs/grid.css +26 -0
- package/dist/grid/3xl/grid.css +26 -0
- package/dist/grid/3xs/grid.css +26 -0
- package/dist/grid/4xl/grid.css +26 -0
- package/dist/grid/5xl/grid.css +26 -0
- package/dist/grid/grid.css +2 -0
- package/dist/grid/lg/grid.css +26 -0
- package/dist/grid/md/grid.css +26 -0
- package/dist/grid/sm/grid.css +26 -0
- package/dist/grid/xl/grid.css +26 -0
- package/dist/grid/xs/grid.css +26 -0
- package/dist/imports.css +165 -132
- package/dist/media.css +4 -1
- package/package.json +4 -1
- package/scripts/v3/README.md +19 -0
- package/scripts/v3/convert-classes.js +136 -0
- package/scripts/v3/index.js +36 -0
- package/scripts/v6/convert-breakpoints.js +10 -0
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-2xl) {
|
|
6
12
|
.flex-2xl {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-2xl {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-2xl {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-2xl {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-2xl {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-2xl {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-2xl {
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-2xs) {
|
|
6
12
|
.flex-2xs {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-2xs {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-2xs {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-2xs {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-2xs {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-2xs {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-2xs {
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-3xl) {
|
|
6
12
|
.flex-3xl {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-3xl {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-3xl {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-3xl {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-3xl {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-3xl {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-3xl {
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-3xs) {
|
|
6
12
|
.flex-3xs {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-3xs {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-3xs {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-3xs {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-3xs {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-3xs {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-3xs {
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-4xl) {
|
|
6
12
|
.flex-4xl {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-4xl {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-4xl {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-4xl {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-4xl {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-4xl {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-4xl {
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-5xl) {
|
|
6
12
|
.flex-5xl {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-5xl {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-5xl {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-5xl {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-5xl {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-5xl {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-5xl {
|
package/dist/display/display.css
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
.flex {
|
|
6
|
-
display: flex;
|
|
12
|
+
display: flex !important;
|
|
7
13
|
}
|
|
8
14
|
|
|
9
15
|
.inline-flex {
|
|
10
|
-
display: inline-flex;
|
|
16
|
+
display: inline-flex !important;
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
.block {
|
|
14
|
-
display: block;
|
|
20
|
+
display: block !important;
|
|
15
21
|
}
|
|
16
22
|
|
|
17
23
|
.inline {
|
|
18
|
-
display: inline;
|
|
24
|
+
display: inline !important;
|
|
19
25
|
}
|
|
20
26
|
|
|
21
27
|
.inline-block {
|
|
22
|
-
display: inline-block;
|
|
28
|
+
display: inline-block !important;
|
|
23
29
|
}
|
|
24
30
|
|
|
25
31
|
.hidden {
|
|
26
|
-
display: none;
|
|
32
|
+
display: none !important;
|
|
27
33
|
}
|
|
28
34
|
|
|
29
35
|
.visually-hidden {
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-lg) {
|
|
6
12
|
.flex-lg {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-lg {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-lg {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-lg {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-lg {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-lg {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-lg {
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-md) {
|
|
6
12
|
.flex-md {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-md {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-md {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-md {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-md {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-md {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-md {
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-sm) {
|
|
6
12
|
.flex-sm {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-sm {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-sm {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-sm {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-sm {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-sm {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-sm {
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-xl) {
|
|
6
12
|
.flex-xl {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-xl {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-xl {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-xl {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-xl {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-xl {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-xl {
|
|
@@ -1,30 +1,36 @@
|
|
|
1
1
|
/* =========================================================================== *\
|
|
2
2
|
Display utilities
|
|
3
|
+
|
|
4
|
+
!important is used to ensure that the utility classes take precedence over
|
|
5
|
+
any other styles that might be applied to the elements. This is one of the
|
|
6
|
+
rare cases where we use !important. Use the media query
|
|
7
|
+
versions if you only need things to be displayed a certain way at a certain
|
|
8
|
+
breakpoints.
|
|
3
9
|
\* =========================================================================== */
|
|
4
10
|
|
|
5
11
|
@media (--m-xs) {
|
|
6
12
|
.flex-xs {
|
|
7
|
-
display: flex;
|
|
13
|
+
display: flex !important;
|
|
8
14
|
}
|
|
9
15
|
|
|
10
16
|
.inline-flex-xs {
|
|
11
|
-
display: inline-flex;
|
|
17
|
+
display: inline-flex !important;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
20
|
.block-xs {
|
|
15
|
-
display: block;
|
|
21
|
+
display: block !important;
|
|
16
22
|
}
|
|
17
23
|
|
|
18
24
|
.inline-xs {
|
|
19
|
-
display: inline;
|
|
25
|
+
display: inline !important;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
.inline-block-xs {
|
|
23
|
-
display: inline-block;
|
|
29
|
+
display: inline-block !important;
|
|
24
30
|
}
|
|
25
31
|
|
|
26
32
|
.hidden-xs {
|
|
27
|
-
display: none;
|
|
33
|
+
display: none !important;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
.visually-hidden-xs {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-2xl) {
|
|
6
|
+
.grid-2xl {
|
|
7
|
+
--gap: 0px;
|
|
8
|
+
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
margin-right: calc(var(--gap) * -1);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Not sure that overflow is necessary here. Removing it does not seem to have any consequences.
|
|
15
|
+
Keeping it means that items in a grid can't overflow when overflow is wanted (like when adjusting
|
|
16
|
+
the y-offset of an element when hovering over it). */
|
|
17
|
+
|
|
18
|
+
/* .grid [class*=col-] {
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
} */
|
|
21
|
+
|
|
22
|
+
/* Don't adjust margin if column justification is being used. */
|
|
23
|
+
.grid-2xl[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-2xs) {
|
|
6
|
+
.grid-2xs {
|
|
7
|
+
--gap: 0px;
|
|
8
|
+
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
margin-right: calc(var(--gap) * -1);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Not sure that overflow is necessary here. Removing it does not seem to have any consequences.
|
|
15
|
+
Keeping it means that items in a grid can't overflow when overflow is wanted (like when adjusting
|
|
16
|
+
the y-offset of an element when hovering over it). */
|
|
17
|
+
|
|
18
|
+
/* .grid [class*=col-] {
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
} */
|
|
21
|
+
|
|
22
|
+
/* Don't adjust margin if column justification is being used. */
|
|
23
|
+
.grid-2xs[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-3xl) {
|
|
6
|
+
.grid-3xl {
|
|
7
|
+
--gap: 0px;
|
|
8
|
+
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
margin-right: calc(var(--gap) * -1);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Not sure that overflow is necessary here. Removing it does not seem to have any consequences.
|
|
15
|
+
Keeping it means that items in a grid can't overflow when overflow is wanted (like when adjusting
|
|
16
|
+
the y-offset of an element when hovering over it). */
|
|
17
|
+
|
|
18
|
+
/* .grid [class*=col-] {
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
} */
|
|
21
|
+
|
|
22
|
+
/* Don't adjust margin if column justification is being used. */
|
|
23
|
+
.grid-3xl[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-3xs) {
|
|
6
|
+
.grid-3xs {
|
|
7
|
+
--gap: 0px;
|
|
8
|
+
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
margin-right: calc(var(--gap) * -1);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Not sure that overflow is necessary here. Removing it does not seem to have any consequences.
|
|
15
|
+
Keeping it means that items in a grid can't overflow when overflow is wanted (like when adjusting
|
|
16
|
+
the y-offset of an element when hovering over it). */
|
|
17
|
+
|
|
18
|
+
/* .grid [class*=col-] {
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
} */
|
|
21
|
+
|
|
22
|
+
/* Don't adjust margin if column justification is being used. */
|
|
23
|
+
.grid-3xs[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-4xl) {
|
|
6
|
+
.grid-4xl {
|
|
7
|
+
--gap: 0px;
|
|
8
|
+
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
margin-right: calc(var(--gap) * -1);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Not sure that overflow is necessary here. Removing it does not seem to have any consequences.
|
|
15
|
+
Keeping it means that items in a grid can't overflow when overflow is wanted (like when adjusting
|
|
16
|
+
the y-offset of an element when hovering over it). */
|
|
17
|
+
|
|
18
|
+
/* .grid [class*=col-] {
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
} */
|
|
21
|
+
|
|
22
|
+
/* Don't adjust margin if column justification is being used. */
|
|
23
|
+
.grid-4xl[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-5xl) {
|
|
6
|
+
.grid-5xl {
|
|
7
|
+
--gap: 0px;
|
|
8
|
+
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
margin-right: calc(var(--gap) * -1);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Not sure that overflow is necessary here. Removing it does not seem to have any consequences.
|
|
15
|
+
Keeping it means that items in a grid can't overflow when overflow is wanted (like when adjusting
|
|
16
|
+
the y-offset of an element when hovering over it). */
|
|
17
|
+
|
|
18
|
+
/* .grid [class*=col-] {
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
} */
|
|
21
|
+
|
|
22
|
+
/* Don't adjust margin if column justification is being used. */
|
|
23
|
+
.grid-5xl[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|