cacao-css 5.0.0 → 5.2.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.
Files changed (108) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/Migrating-from-version3.md +169 -0
  3. package/imports.css +142 -16
  4. package/package.json +1 -1
  5. package/src/display/lg/display.css +4 -0
  6. package/src/display/md/display.css +4 -0
  7. package/src/display/sm/display.css +4 -0
  8. package/src/display/xl/display.css +4 -0
  9. package/src/display/xs/display.css +4 -0
  10. package/src/display/xxl/display.css +4 -0
  11. package/src/position/core/position.css +23 -0
  12. package/src/position/lg/position.css +25 -0
  13. package/src/position/md/position.css +25 -0
  14. package/src/position/sm/position.css +25 -0
  15. package/src/position/xl/position.css +25 -0
  16. package/src/position/xs/position.css +25 -0
  17. package/src/position/xxl/position.css +25 -0
  18. package/src/width/core/width-0.css +7 -0
  19. package/src/width/core/width-1.css +8 -0
  20. package/src/width/core/width-10.css +43 -0
  21. package/src/width/core/width-11.css +47 -0
  22. package/src/width/core/width-12.css +51 -0
  23. package/src/width/core/width-2.css +11 -0
  24. package/src/width/core/width-3.css +15 -0
  25. package/src/width/core/width-4.css +19 -0
  26. package/src/width/core/width-5.css +23 -0
  27. package/src/width/core/width-6.css +27 -0
  28. package/src/width/core/width-7.css +31 -0
  29. package/src/width/core/width-8.css +35 -0
  30. package/src/width/core/width-9.css +39 -0
  31. package/src/width/lg/width-0.css +9 -0
  32. package/src/width/lg/width-1.css +10 -0
  33. package/src/width/lg/width-10.css +45 -0
  34. package/src/width/lg/width-11.css +49 -0
  35. package/src/width/lg/width-12.css +53 -0
  36. package/src/width/lg/width-2.css +13 -0
  37. package/src/width/lg/width-3.css +17 -0
  38. package/src/width/lg/width-4.css +21 -0
  39. package/src/width/lg/width-5.css +25 -0
  40. package/src/width/lg/width-6.css +29 -0
  41. package/src/width/lg/width-7.css +33 -0
  42. package/src/width/lg/width-8.css +37 -0
  43. package/src/width/lg/width-9.css +41 -0
  44. package/src/width/md/width-0.css +9 -0
  45. package/src/width/md/width-1.css +10 -0
  46. package/src/width/md/width-10.css +45 -0
  47. package/src/width/md/width-11.css +49 -0
  48. package/src/width/md/width-12.css +53 -0
  49. package/src/width/md/width-2.css +13 -0
  50. package/src/width/md/width-3.css +17 -0
  51. package/src/width/md/width-4.css +21 -0
  52. package/src/width/md/width-5.css +25 -0
  53. package/src/width/md/width-6.css +29 -0
  54. package/src/width/md/width-7.css +33 -0
  55. package/src/width/md/width-8.css +37 -0
  56. package/src/width/md/width-9.css +41 -0
  57. package/src/width/sm/width-0.css +9 -0
  58. package/src/width/sm/width-1.css +10 -0
  59. package/src/width/sm/width-10.css +45 -0
  60. package/src/width/sm/width-11.css +49 -0
  61. package/src/width/sm/width-12.css +53 -0
  62. package/src/width/sm/width-2.css +13 -0
  63. package/src/width/sm/width-3.css +17 -0
  64. package/src/width/sm/width-4.css +21 -0
  65. package/src/width/sm/width-5.css +25 -0
  66. package/src/width/sm/width-6.css +29 -0
  67. package/src/width/sm/width-7.css +33 -0
  68. package/src/width/sm/width-8.css +37 -0
  69. package/src/width/sm/width-9.css +41 -0
  70. package/src/width/xl/width-0.css +9 -0
  71. package/src/width/xl/width-1.css +10 -0
  72. package/src/width/xl/width-10.css +45 -0
  73. package/src/width/xl/width-11.css +49 -0
  74. package/src/width/xl/width-12.css +53 -0
  75. package/src/width/xl/width-2.css +13 -0
  76. package/src/width/xl/width-3.css +17 -0
  77. package/src/width/xl/width-4.css +21 -0
  78. package/src/width/xl/width-5.css +25 -0
  79. package/src/width/xl/width-6.css +29 -0
  80. package/src/width/xl/width-7.css +33 -0
  81. package/src/width/xl/width-8.css +37 -0
  82. package/src/width/xl/width-9.css +41 -0
  83. package/src/width/xs/width-0.css +9 -0
  84. package/src/width/xs/width-1.css +10 -0
  85. package/src/width/xs/width-10.css +45 -0
  86. package/src/width/xs/width-11.css +49 -0
  87. package/src/width/xs/width-12.css +53 -0
  88. package/src/width/xs/width-2.css +13 -0
  89. package/src/width/xs/width-3.css +17 -0
  90. package/src/width/xs/width-4.css +21 -0
  91. package/src/width/xs/width-5.css +25 -0
  92. package/src/width/xs/width-6.css +29 -0
  93. package/src/width/xs/width-7.css +33 -0
  94. package/src/width/xs/width-8.css +37 -0
  95. package/src/width/xs/width-9.css +41 -0
  96. package/src/width/xxl/width-0.css +9 -0
  97. package/src/width/xxl/width-1.css +10 -0
  98. package/src/width/xxl/width-10.css +45 -0
  99. package/src/width/xxl/width-11.css +49 -0
  100. package/src/width/xxl/width-12.css +53 -0
  101. package/src/width/xxl/width-2.css +13 -0
  102. package/src/width/xxl/width-3.css +17 -0
  103. package/src/width/xxl/width-4.css +21 -0
  104. package/src/width/xxl/width-5.css +25 -0
  105. package/src/width/xxl/width-6.css +29 -0
  106. package/src/width/xxl/width-7.css +33 -0
  107. package/src/width/xxl/width-8.css +37 -0
  108. package/src/width/xxl/width-9.css +41 -0
@@ -0,0 +1,25 @@
1
+ /* =========================================================================== *\
2
+ Positioning utilities
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-xxl) {
6
+ .absolute-xxl {
7
+ position: absolute;
8
+ }
9
+
10
+ .fixed-xxl {
11
+ position: fixed;
12
+ }
13
+
14
+ .relative-xxl {
15
+ position: relative;
16
+ }
17
+
18
+ .static-xxl {
19
+ position: static;
20
+ }
21
+
22
+ .sticky-xxl {
23
+ position: sticky;
24
+ }
25
+ }
@@ -0,0 +1,7 @@
1
+ /* =========================================================================== *\
2
+ No width
3
+ \* =========================================================================== */
4
+
5
+ .w-0 {
6
+ width: 0;
7
+ }
@@ -0,0 +1,8 @@
1
+ /* =========================================================================== *\
2
+ Full width
3
+ \* =========================================================================== */
4
+
5
+ .w-11,
6
+ .w-1-1 {
7
+ width: 100%;
8
+ }
@@ -0,0 +1,43 @@
1
+ /* =========================================================================== *\
2
+ Width 10's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-10 {
6
+ width: calc(10%);
7
+ }
8
+
9
+ .w-2-10 {
10
+ width: calc(20%);
11
+ }
12
+
13
+ .w-3-10 {
14
+ width: calc(30%);
15
+ }
16
+
17
+ .w-4-10 {
18
+ width: calc(40%);
19
+ }
20
+
21
+ .w-5-10 {
22
+ width: 50%;
23
+ }
24
+
25
+ .w-6-10 {
26
+ width: calc(60%);
27
+ }
28
+
29
+ .w-7-10 {
30
+ width: calc(70%);
31
+ }
32
+
33
+ .w-8-10 {
34
+ width: calc(80%);
35
+ }
36
+
37
+ .w-9-10 {
38
+ width: calc(90%);
39
+ }
40
+
41
+ .w-10-10 {
42
+ width: 100%;
43
+ }
@@ -0,0 +1,47 @@
1
+ /* =========================================================================== *\
2
+ Width 11's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-11 {
6
+ width: calc(100% / 11);
7
+ }
8
+
9
+ .w-2-11 {
10
+ width: calc(100% / 11 * 2);
11
+ }
12
+
13
+ .w-3-11 {
14
+ width: calc(100% / 11 * 3);
15
+ }
16
+
17
+ .w-4-11 {
18
+ width: calc(100% / 11 * 4);
19
+ }
20
+
21
+ .w-5-11 {
22
+ width: calc(100% / 11 * 5);
23
+ }
24
+
25
+ .w-6-11 {
26
+ width: calc(100% / 11 * 6);
27
+ }
28
+
29
+ .w-7-11 {
30
+ width: calc(100% / 11 * 7);
31
+ }
32
+
33
+ .w-8-11 {
34
+ width: calc(100% / 11 * 8);
35
+ }
36
+
37
+ .w-9-11 {
38
+ width: calc(100% / 11 * 9);
39
+ }
40
+
41
+ .w-10-11 {
42
+ width: calc(100% / 11 * 10);
43
+ }
44
+
45
+ .w-11-11 {
46
+ width: 100%;
47
+ }
@@ -0,0 +1,51 @@
1
+ /* =========================================================================== *\
2
+ Width 12's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-12 {
6
+ width: calc(100% / 12);
7
+ }
8
+
9
+ .w-2-12 {
10
+ width: calc(100% / 12 * 2);
11
+ }
12
+
13
+ .w-3-12 {
14
+ width: 25%;
15
+ }
16
+
17
+ .w-4-12 {
18
+ width: calc(100% / 12 * 4);
19
+ }
20
+
21
+ .w-5-12 {
22
+ width: calc(100% / 12 * 5);
23
+ }
24
+
25
+ .w-6-12 {
26
+ width: 50%;
27
+ }
28
+
29
+ .w-7-12 {
30
+ width: calc(100% / 12 * 7);
31
+ }
32
+
33
+ .w-8-12 {
34
+ width: calc(100% / 12 * 8);
35
+ }
36
+
37
+ .w-9-12 {
38
+ width: 75%;
39
+ }
40
+
41
+ .w-10-12 {
42
+ width: calc(100% / 12 * 10);
43
+ }
44
+
45
+ .w-11-12 {
46
+ width: calc(100% / 12 * 11);
47
+ }
48
+
49
+ .w-12-12 {
50
+ width: 100%;
51
+ }
@@ -0,0 +1,11 @@
1
+ /* =========================================================================== *\
2
+ Width 2's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-2 {
6
+ width: 50%;
7
+ }
8
+
9
+ .w-2-2 {
10
+ width: 100%;
11
+ }
@@ -0,0 +1,15 @@
1
+ /* =========================================================================== *\
2
+ Width 3's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-3 {
6
+ width: calc(100% / 3);
7
+ }
8
+
9
+ .w-2-3 {
10
+ width: calc(100% / 3 * 2);
11
+ }
12
+
13
+ .w-3-3 {
14
+ width: 100%;
15
+ }
@@ -0,0 +1,19 @@
1
+ /* =========================================================================== *\
2
+ Width 4's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-4 {
6
+ width: 25%;
7
+ }
8
+
9
+ .w-2-4 {
10
+ width: 50%;
11
+ }
12
+
13
+ .w-3-4 {
14
+ width: 75%;
15
+ }
16
+
17
+ .w-4-4 {
18
+ width: 100%;
19
+ }
@@ -0,0 +1,23 @@
1
+ /* =========================================================================== *\
2
+ Width 5's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-5 {
6
+ width: calc(20%);
7
+ }
8
+
9
+ .w-2-5 {
10
+ width: calc(40%);
11
+ }
12
+
13
+ .w-3-5 {
14
+ width: calc(60%);
15
+ }
16
+
17
+ .w-4-5 {
18
+ width: calc(80%);
19
+ }
20
+
21
+ .w-5-5 {
22
+ width: 100%;
23
+ }
@@ -0,0 +1,27 @@
1
+ /* =========================================================================== *\
2
+ Width 6's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-6 {
6
+ width: calc(100% / 6);
7
+ }
8
+
9
+ .w-2-6 {
10
+ width: calc(100% / 6 * 2);
11
+ }
12
+
13
+ .w-3-6 {
14
+ width: 50%;
15
+ }
16
+
17
+ .w-4-6 {
18
+ width: calc(100% / 6 * 4);
19
+ }
20
+
21
+ .w-5-6 {
22
+ width: calc(100% / 6 * 5);
23
+ }
24
+
25
+ .w-6-6 {
26
+ width: 100%;
27
+ }
@@ -0,0 +1,31 @@
1
+ /* =========================================================================== *\
2
+ Width 7's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-7 {
6
+ width: calc(100% / 7);
7
+ }
8
+
9
+ .w-2-7 {
10
+ width: calc(100% / 7 * 2);
11
+ }
12
+
13
+ .w-3-7 {
14
+ width: calc(100% / 7 * 3);
15
+ }
16
+
17
+ .w-4-7 {
18
+ width: calc(100% / 7 * 4);
19
+ }
20
+
21
+ .w-5-7 {
22
+ width: calc(100% / 7 * 5);
23
+ }
24
+
25
+ .w-6-7 {
26
+ width: calc(100% / 7 * 6);
27
+ }
28
+
29
+ .w-7-7 {
30
+ width: 100%;
31
+ }
@@ -0,0 +1,35 @@
1
+ /* =========================================================================== *\
2
+ Width 8's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-8 {
6
+ width: calc(100% / 8);
7
+ }
8
+
9
+ .w-2-8 {
10
+ width: 25%;
11
+ }
12
+
13
+ .w-3-8 {
14
+ width: calc(100% / 8 * 3);
15
+ }
16
+
17
+ .w-4-8 {
18
+ width: 50%;
19
+ }
20
+
21
+ .w-5-8 {
22
+ width: calc(100% / 8 * 5);
23
+ }
24
+
25
+ .w-6-8 {
26
+ width: 75%;
27
+ }
28
+
29
+ .w-7-8 {
30
+ width: calc(100% / 8 * 7);
31
+ }
32
+
33
+ .w-8-8 {
34
+ width: 100%;
35
+ }
@@ -0,0 +1,39 @@
1
+ /* =========================================================================== *\
2
+ Width 9's
3
+ \* =========================================================================== */
4
+
5
+ .w-1-9 {
6
+ width: calc(100% / 9);
7
+ }
8
+
9
+ .w-2-9 {
10
+ width: calc(100% / 9 * 2);
11
+ }
12
+
13
+ .w-3-9 {
14
+ width: calc(100% / 9 * 3);
15
+ }
16
+
17
+ .w-4-9 {
18
+ width: calc(100% / 9 * 4);
19
+ }
20
+
21
+ .w-5-9 {
22
+ width: calc(100% / 9 * 5);
23
+ }
24
+
25
+ .w-6-9 {
26
+ width: calc(100% / 9 * 6);
27
+ }
28
+
29
+ .w-7-9 {
30
+ width: calc(100% / 9 * 7);
31
+ }
32
+
33
+ .w-8-9 {
34
+ width: calc(100% / 9 * 8);
35
+ }
36
+
37
+ .w-9-9 {
38
+ width: 100%;
39
+ }
@@ -0,0 +1,9 @@
1
+ /* =========================================================================== *\
2
+ No width
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-lg) {
6
+ .w-lg-0 {
7
+ width: 0;
8
+ }
9
+ }
@@ -0,0 +1,10 @@
1
+ /* =========================================================================== *\
2
+ Full width
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-lg) {
6
+ .w-lg-100,
7
+ .w-lg-1-1 {
8
+ width: 100%;
9
+ }
10
+ }
@@ -0,0 +1,45 @@
1
+ /* =========================================================================== *\
2
+ Width 10's
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-lg) {
6
+ .w-lg-1-10 {
7
+ width: calc(10%);
8
+ }
9
+
10
+ .w-lg-2-10 {
11
+ width: calc(20%);
12
+ }
13
+
14
+ .w-lg-3-10 {
15
+ width: calc(30%);
16
+ }
17
+
18
+ .w-lg-4-10 {
19
+ width: calc(40%);
20
+ }
21
+
22
+ .w-lg-5-10 {
23
+ width: 50%;
24
+ }
25
+
26
+ .w-lg-6-10 {
27
+ width: calc(60%);
28
+ }
29
+
30
+ .w-lg-7-10 {
31
+ width: calc(70%);
32
+ }
33
+
34
+ .w-lg-8-10 {
35
+ width: calc(80%);
36
+ }
37
+
38
+ .w-lg-9-10 {
39
+ width: calc(90%);
40
+ }
41
+
42
+ .w-lg-10-10 {
43
+ width: 100%;
44
+ }
45
+ }
@@ -0,0 +1,49 @@
1
+ /* =========================================================================== *\
2
+ Width 11's
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-lg) {
6
+ .w-lg-1-11 {
7
+ width: calc(100% / 11);
8
+ }
9
+
10
+ .w-lg-2-11 {
11
+ width: calc(100% / 11 * 2);
12
+ }
13
+
14
+ .w-lg-3-11 {
15
+ width: calc(100% / 11 * 3);
16
+ }
17
+
18
+ .w-lg-4-11 {
19
+ width: calc(100% / 11 * 4);
20
+ }
21
+
22
+ .w-lg-5-11 {
23
+ width: calc(100% / 11 * 5);
24
+ }
25
+
26
+ .w-lg-6-11 {
27
+ width: calc(100% / 11 * 6);
28
+ }
29
+
30
+ .w-lg-7-11 {
31
+ width: calc(100% / 11 * 7);
32
+ }
33
+
34
+ .w-lg-8-11 {
35
+ width: calc(100% / 11 * 8);
36
+ }
37
+
38
+ .w-lg-9-11 {
39
+ width: calc(100% / 11 * 9);
40
+ }
41
+
42
+ .w-lg-10-11 {
43
+ width: calc(100% / 11 * 10);
44
+ }
45
+
46
+ .w-lg-11-11 {
47
+ width: 100%;
48
+ }
49
+ }
@@ -0,0 +1,53 @@
1
+ /* =========================================================================== *\
2
+ Width 12's
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-lg) {
6
+ .w-lg-1-12 {
7
+ width: calc(100% / 12);
8
+ }
9
+
10
+ .w-lg-2-12 {
11
+ width: calc(100% / 12 * 2);
12
+ }
13
+
14
+ .w-lg-3-12 {
15
+ width: 25%;
16
+ }
17
+
18
+ .w-lg-4-12 {
19
+ width: calc(100% / 12 * 4);
20
+ }
21
+
22
+ .w-lg-5-12 {
23
+ width: calc(100% / 12 * 5);
24
+ }
25
+
26
+ .w-lg-6-12 {
27
+ width: 50%;
28
+ }
29
+
30
+ .w-lg-7-12 {
31
+ width: calc(100% / 12 * 7);
32
+ }
33
+
34
+ .w-lg-8-12 {
35
+ width: calc(100% / 12 * 8);
36
+ }
37
+
38
+ .w-lg-9-12 {
39
+ width: 75%;
40
+ }
41
+
42
+ .w-lg-10-12 {
43
+ width: calc(100% / 12 * 10);
44
+ }
45
+
46
+ .w-lg-11-12 {
47
+ width: calc(100% / 12 * 11);
48
+ }
49
+
50
+ .w-lg-12-12 {
51
+ width: 100%;
52
+ }
53
+ }
@@ -0,0 +1,13 @@
1
+ /* =========================================================================== *\
2
+ Width 2's
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-lg) {
6
+ .w-lg-1-2 {
7
+ width: 50%;
8
+ }
9
+
10
+ .w-lg-2-2 {
11
+ width: 100%;
12
+ }
13
+ }
@@ -0,0 +1,17 @@
1
+ /* =========================================================================== *\
2
+ Width 3's
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-lg) {
6
+ .w-lg-1-3 {
7
+ width: calc(100% / 3);
8
+ }
9
+
10
+ .w-lg-2-3 {
11
+ width: calc(100% / 3 * 2);
12
+ }
13
+
14
+ .w-lg-3-3 {
15
+ width: 100%;
16
+ }
17
+ }
@@ -0,0 +1,21 @@
1
+ /* =========================================================================== *\
2
+ Width 4's
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-lg) {
6
+ .w-lg-1-4 {
7
+ width: 25%;
8
+ }
9
+
10
+ .w-lg-2-4 {
11
+ width: 50%;
12
+ }
13
+
14
+ .w-lg-3-4 {
15
+ width: 75%;
16
+ }
17
+
18
+ .w-lg-4-4 {
19
+ width: 100%;
20
+ }
21
+ }
@@ -0,0 +1,25 @@
1
+ /* =========================================================================== *\
2
+ Width 5's
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-lg) {
6
+ .w-lg-1-5 {
7
+ width: calc(20%);
8
+ }
9
+
10
+ .w-lg-2-5 {
11
+ width: calc(40%);
12
+ }
13
+
14
+ .w-lg-3-5 {
15
+ width: calc(60%);
16
+ }
17
+
18
+ .w-lg-4-5 {
19
+ width: calc(80%);
20
+ }
21
+
22
+ .w-lg-5-5 {
23
+ width: 100%;
24
+ }
25
+ }
@@ -0,0 +1,29 @@
1
+ /* =========================================================================== *\
2
+ Width 6's
3
+ \* =========================================================================== */
4
+
5
+ @media (--c-bp-lg) {
6
+ .w-lg-1-6 {
7
+ width: calc(100% / 6);
8
+ }
9
+
10
+ .w-lg-2-6 {
11
+ width: calc(100% / 6 * 2);
12
+ }
13
+
14
+ .w-lg-3-6 {
15
+ width: 50%;
16
+ }
17
+
18
+ .w-lg-4-6 {
19
+ width: calc(100% / 6 * 4);
20
+ }
21
+
22
+ .w-lg-5-6 {
23
+ width: calc(100% / 6 * 5);
24
+ }
25
+
26
+ .w-lg-6-6 {
27
+ width: 100%;
28
+ }
29
+ }