cacao-css 6.2.0 → 6.3.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/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/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
|
@@ -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
|
+
}
|
package/dist/grid/grid.css
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
.grid {
|
|
6
6
|
--gap: 0px;
|
|
7
|
+
|
|
7
8
|
display: flex;
|
|
8
9
|
flex-wrap: wrap;
|
|
9
10
|
margin-right: calc(var(--gap) * -1);
|
|
@@ -12,6 +13,7 @@
|
|
|
12
13
|
/* Not sure that overflow is necessary here. Removing it does not seem to have any consequences.
|
|
13
14
|
Keeping it means that items in a grid can't overflow when overflow is wanted (like when adjusting
|
|
14
15
|
the y-offset of an element when hovering over it). */
|
|
16
|
+
|
|
15
17
|
/* .grid [class*=col-] {
|
|
16
18
|
overflow: hidden;
|
|
17
19
|
} */
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-lg) {
|
|
6
|
+
.grid-lg {
|
|
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-lg[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-md) {
|
|
6
|
+
.grid-md {
|
|
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-md[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-sm) {
|
|
6
|
+
.grid-sm {
|
|
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-sm[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-xl) {
|
|
6
|
+
.grid-xl {
|
|
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-xl[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* =========================================================================== *\
|
|
2
|
+
Grid utilities
|
|
3
|
+
\* =========================================================================== */
|
|
4
|
+
|
|
5
|
+
@media (--m-xs) {
|
|
6
|
+
.grid-xs {
|
|
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-xs[class*="justify-"] {
|
|
24
|
+
margin-right: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|