@terrahq/wysiwyg 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.
Files changed (230) hide show
  1. package/README.md +857 -0
  2. package/content/sanity-content.html +131 -0
  3. package/content/wordpress-content.html +266 -0
  4. package/dist/arrow.svg +3 -0
  5. package/dist/assets/UncutSans-Bold-2fac4f16.woff +0 -0
  6. package/dist/assets/UncutSans-Bold-7b3ccca7.woff2 +0 -0
  7. package/dist/assets/UncutSans-BoldItalic-b019f8c2.woff +0 -0
  8. package/dist/assets/UncutSans-BoldItalic-d20eba8f.woff2 +0 -0
  9. package/dist/assets/UncutSans-Book-8173cf82.woff +0 -0
  10. package/dist/assets/UncutSans-Book-d8cebf5d.woff2 +0 -0
  11. package/dist/assets/UncutSans-BookItalic-7a28bfb1.woff2 +0 -0
  12. package/dist/assets/UncutSans-BookItalic-d712b826.woff +0 -0
  13. package/dist/assets/UncutSans-Light-57c0f45d.woff2 +0 -0
  14. package/dist/assets/UncutSans-Light-8f82ee8c.woff +0 -0
  15. package/dist/assets/UncutSans-LightItalic-5d6a8d36.woff2 +0 -0
  16. package/dist/assets/UncutSans-LightItalic-9289a22f.woff +0 -0
  17. package/dist/assets/UncutSans-Medium-98513c38.woff +0 -0
  18. package/dist/assets/UncutSans-Medium-ed4917e5.woff2 +0 -0
  19. package/dist/assets/UncutSans-MediumItalic-1bbdbf4b.woff +0 -0
  20. package/dist/assets/UncutSans-MediumItalic-ef65e4f3.woff2 +0 -0
  21. package/dist/assets/UncutSans-Regular-6113b781.woff2 +0 -0
  22. package/dist/assets/UncutSans-Regular-f43ac780.woff +0 -0
  23. package/dist/assets/UncutSans-RegularItalic-6c918c22.woff +0 -0
  24. package/dist/assets/UncutSans-RegularItalic-de14905d.woff2 +0 -0
  25. package/dist/assets/main-41a2c29c.js +1 -0
  26. package/dist/assets/main-fcc727c6.css +1 -0
  27. package/dist/content/sanity-content.html +133 -0
  28. package/dist/content/wordpress-content.html +262 -0
  29. package/dist/img/Boba-Orange.png +0 -0
  30. package/dist/img/Diana-Blue.png +0 -0
  31. package/dist/img/Ebb-Green.png +0 -0
  32. package/dist/img/Forma-Lime.png +0 -0
  33. package/dist/img/Gollum-Pink.png +0 -0
  34. package/dist/img/Infinito-Gray.png +0 -0
  35. package/dist/img/Melos-Red.png +0 -0
  36. package/dist/img/Mendia-Black.png +0 -0
  37. package/dist/img/Mistyk-White.png +0 -0
  38. package/dist/img/Prismo-Blue.png +0 -0
  39. package/dist/img/Punky-Green.png +0 -0
  40. package/dist/img/Stanley-Lime.png +0 -0
  41. package/dist/img/bg.jpeg +0 -0
  42. package/dist/img/card-23/img-card23.png +0 -0
  43. package/dist/img/card-23/img2-card23.png +0 -0
  44. package/dist/img/card-23/img3-card23.png +0 -0
  45. package/dist/img/card-23/img4-card23.png +0 -0
  46. package/dist/img/card-32/img-card32.png +0 -0
  47. package/dist/img/card-32/img2-card32.png +0 -0
  48. package/dist/img/card-32/img3-card32.png +0 -0
  49. package/dist/img/card-32/img4-card32.png +0 -0
  50. package/dist/img/card-32/img5-card32.png +0 -0
  51. package/dist/img/card-35/card35.png +0 -0
  52. package/dist/img/card-39/img-card39.png +0 -0
  53. package/dist/img/card-39/img2-card39.png +0 -0
  54. package/dist/img/card-39/img3-card39.png +0 -0
  55. package/dist/img/card-39/img4-card39.png +0 -0
  56. package/dist/img/cta/cta.png +0 -0
  57. package/dist/img/layout-04/img-layout04.png +0 -0
  58. package/dist/img/layout-04/img2-layout04.png +0 -0
  59. package/dist/img/layout-04/img3-layout04.png +0 -0
  60. package/dist/img/layout-04/img4-layout04.png +0 -0
  61. package/dist/img/terra-placeholder.jpg +0 -0
  62. package/dist/img/terraform-group-color.png +0 -0
  63. package/dist/index.html +36 -0
  64. package/dist/lottie/terraforms-all.json +1 -0
  65. package/dist/lottie/terraforms.json +1 -0
  66. package/dist/mountain.png +0 -0
  67. package/dist/terra.gif +0 -0
  68. package/dist/terra.png +0 -0
  69. package/dist/tree.png +0 -0
  70. package/dist/video/terra-video.mp4 +0 -0
  71. package/dist/vite.svg +1 -0
  72. package/index.html +34 -0
  73. package/package.json +23 -0
  74. package/public/arrow.svg +3 -0
  75. package/public/img/Boba-Orange.png +0 -0
  76. package/public/img/Diana-Blue.png +0 -0
  77. package/public/img/Ebb-Green.png +0 -0
  78. package/public/img/Forma-Lime.png +0 -0
  79. package/public/img/Gollum-Pink.png +0 -0
  80. package/public/img/Infinito-Gray.png +0 -0
  81. package/public/img/Melos-Red.png +0 -0
  82. package/public/img/Mendia-Black.png +0 -0
  83. package/public/img/Mistyk-White.png +0 -0
  84. package/public/img/Prismo-Blue.png +0 -0
  85. package/public/img/Punky-Green.png +0 -0
  86. package/public/img/Stanley-Lime.png +0 -0
  87. package/public/img/bg.jpeg +0 -0
  88. package/public/img/card-23/img-card23.png +0 -0
  89. package/public/img/card-23/img2-card23.png +0 -0
  90. package/public/img/card-23/img3-card23.png +0 -0
  91. package/public/img/card-23/img4-card23.png +0 -0
  92. package/public/img/card-32/img-card32.png +0 -0
  93. package/public/img/card-32/img2-card32.png +0 -0
  94. package/public/img/card-32/img3-card32.png +0 -0
  95. package/public/img/card-32/img4-card32.png +0 -0
  96. package/public/img/card-32/img5-card32.png +0 -0
  97. package/public/img/card-35/card35.png +0 -0
  98. package/public/img/card-39/img-card39.png +0 -0
  99. package/public/img/card-39/img2-card39.png +0 -0
  100. package/public/img/card-39/img3-card39.png +0 -0
  101. package/public/img/card-39/img4-card39.png +0 -0
  102. package/public/img/cta/cta.png +0 -0
  103. package/public/img/layout-04/img-layout04.png +0 -0
  104. package/public/img/layout-04/img2-layout04.png +0 -0
  105. package/public/img/layout-04/img3-layout04.png +0 -0
  106. package/public/img/layout-04/img4-layout04.png +0 -0
  107. package/public/img/terra-placeholder.jpg +0 -0
  108. package/public/img/terraform-group-color.png +0 -0
  109. package/public/lottie/terraforms-all.json +1 -0
  110. package/public/lottie/terraforms.json +1 -0
  111. package/public/mountain.png +0 -0
  112. package/public/terra.gif +0 -0
  113. package/public/terra.png +0 -0
  114. package/public/tree.png +0 -0
  115. package/public/video/terra-video.mp4 +0 -0
  116. package/public/vite.svg +1 -0
  117. package/readme/blocks/Button.md +31 -0
  118. package/readme/blocks/Columns.md +31 -0
  119. package/readme/blocks/Footnote.md +35 -0
  120. package/readme/blocks/Headings.md +132 -0
  121. package/readme/blocks/Highlighted.md +35 -0
  122. package/readme/blocks/Image.md +143 -0
  123. package/readme/blocks/Links.md +24 -0
  124. package/readme/blocks/Lists.md +327 -0
  125. package/readme/blocks/Paragraphs.md +35 -0
  126. package/readme/blocks/Quote.md +94 -0
  127. package/readme/blocks/Separator.md +52 -0
  128. package/readme/blocks/Table.md +199 -0
  129. package/readme/blocks/Utilities.md +24 -0
  130. package/readme/blocks/Video.md +24 -0
  131. package/readme/properties/Border.md +52 -0
  132. package/readme/properties/Custom.md +54 -0
  133. package/readme/properties/Font.md +151 -0
  134. package/readme/properties/Media.md +0 -0
  135. package/src/assets/cta/noise.png +0 -0
  136. package/src/assets/fonts/UncutSans-Bold.woff +0 -0
  137. package/src/assets/fonts/UncutSans-Bold.woff2 +0 -0
  138. package/src/assets/fonts/UncutSans-BoldItalic.woff +0 -0
  139. package/src/assets/fonts/UncutSans-BoldItalic.woff2 +0 -0
  140. package/src/assets/fonts/UncutSans-Book.woff +0 -0
  141. package/src/assets/fonts/UncutSans-Book.woff2 +0 -0
  142. package/src/assets/fonts/UncutSans-BookItalic.woff +0 -0
  143. package/src/assets/fonts/UncutSans-BookItalic.woff2 +0 -0
  144. package/src/assets/fonts/UncutSans-Light.woff +0 -0
  145. package/src/assets/fonts/UncutSans-Light.woff2 +0 -0
  146. package/src/assets/fonts/UncutSans-LightItalic.woff +0 -0
  147. package/src/assets/fonts/UncutSans-LightItalic.woff2 +0 -0
  148. package/src/assets/fonts/UncutSans-Medium.woff +0 -0
  149. package/src/assets/fonts/UncutSans-Medium.woff2 +0 -0
  150. package/src/assets/fonts/UncutSans-MediumItalic.woff +0 -0
  151. package/src/assets/fonts/UncutSans-MediumItalic.woff2 +0 -0
  152. package/src/assets/fonts/UncutSans-Regular.woff +0 -0
  153. package/src/assets/fonts/UncutSans-Regular.woff2 +0 -0
  154. package/src/assets/fonts/UncutSans-RegularItalic.woff +0 -0
  155. package/src/assets/fonts/UncutSans-RegularItalic.woff2 +0 -0
  156. package/src/assets/mountain.png +0 -0
  157. package/src/assets/vector-v.svg +5 -0
  158. package/src/js/main.ts +13 -0
  159. package/src/scss/_paths.scss +5 -0
  160. package/src/scss/framework/_var/_vars.scss +106 -0
  161. package/src/scss/framework/components/btn/_c--btn-a.scss +58 -0
  162. package/src/scss/framework/components/content/_c--content-a.scss +460 -0
  163. package/src/scss/framework/components/link/_c--link-a.scss +13 -0
  164. package/src/scss/framework/components/preloader/_c--preloader-a.scss +62 -0
  165. package/src/scss/framework/components/transition/_c--transition-a.scss +24 -0
  166. package/src/scss/framework/foundation/_foundation.scss +32 -0
  167. package/src/scss/framework/foundation/background/_background.scss +8 -0
  168. package/src/scss/framework/foundation/color/_color.scss +8 -0
  169. package/src/scss/framework/foundation/font/_font.scss +27 -0
  170. package/src/scss/framework/foundation/font/_make-font.scss +61 -0
  171. package/src/scss/framework/foundation/gap/_gap.scss +17 -0
  172. package/src/scss/framework/foundation/gap/_make-gap.scss +29 -0
  173. package/src/scss/framework/foundation/grid/_columns.scss +115 -0
  174. package/src/scss/framework/foundation/grid/_container.scss +17 -0
  175. package/src/scss/framework/foundation/grid/_grid.scss +3 -0
  176. package/src/scss/framework/foundation/grid/_make-columns.scss +28 -0
  177. package/src/scss/framework/foundation/grid/_make-container.scss +33 -0
  178. package/src/scss/framework/foundation/grid/_make-row.scss +20 -0
  179. package/src/scss/framework/foundation/grid/_row.scss +9 -0
  180. package/src/scss/framework/foundation/reset/_reset.scss +121 -0
  181. package/src/scss/framework/foundation/spaces/_make-spaces.scss +29 -0
  182. package/src/scss/framework/foundation/spaces/_spaces.scss +17 -0
  183. package/src/scss/framework/utilities/_align-items.scss +39 -0
  184. package/src/scss/framework/utilities/_aspect-ratio.scss +55 -0
  185. package/src/scss/framework/utilities/_display.scss +46 -0
  186. package/src/scss/framework/utilities/_flex-direction.scss +42 -0
  187. package/src/scss/framework/utilities/_font-style.scss +38 -0
  188. package/src/scss/framework/utilities/_font-weight.scss +45 -0
  189. package/src/scss/framework/utilities/_justify-content.scss +42 -0
  190. package/src/scss/framework/utilities/_order.scss +38 -0
  191. package/src/scss/framework/utilities/_overflow.scss +38 -0
  192. package/src/scss/framework/utilities/_position.scss +42 -0
  193. package/src/scss/framework/utilities/_spacing.scss +66 -0
  194. package/src/scss/framework/utilities/_text-align.scss +40 -0
  195. package/src/scss/framework/utilities/_utilities.scss +12 -0
  196. package/src/scss/global-content/_global-mixins/_global-mixins.scss +2 -0
  197. package/src/scss/global-content/_global-mixins/blocks/_content-block-btn.scss +31 -0
  198. package/src/scss/global-content/_global-mixins/blocks/_content-block-columns.scss +38 -0
  199. package/src/scss/global-content/_global-mixins/blocks/_content-block-footnote.scss +8 -0
  200. package/src/scss/global-content/_global-mixins/blocks/_content-block-highlighted.scss +8 -0
  201. package/src/scss/global-content/_global-mixins/blocks/_content-block-image.scss +244 -0
  202. package/src/scss/global-content/_global-mixins/blocks/_content-block-quote.scss +72 -0
  203. package/src/scss/global-content/_global-mixins/blocks/_content-block-separator.scss +33 -0
  204. package/src/scss/global-content/_global-mixins/blocks/_content-block-table.scss +116 -0
  205. package/src/scss/global-content/_global-mixins/blocks/_content-block-video.scss +28 -0
  206. package/src/scss/global-content/_global-mixins/blocks/_content-heading.scss +45 -0
  207. package/src/scss/global-content/_global-mixins/blocks/_content-links.scss +21 -0
  208. package/src/scss/global-content/_global-mixins/blocks/_content-list.scss +960 -0
  209. package/src/scss/global-content/_global-mixins/blocks/_content-paragraph.scss +22 -0
  210. package/src/scss/global-content/_global-mixins/blocks/_content-utilities.scss +35 -0
  211. package/src/scss/global-content/_global-mixins/blocks/_content.scss +14 -0
  212. package/src/scss/global-content/_global-mixins/helpers/_class.scss +11 -0
  213. package/src/scss/global-content/_global-mixins/helpers/_helpers.scss +1 -0
  214. package/src/scss/global-content/_global-mixins/properties/_border.scss +18 -0
  215. package/src/scss/global-content/_global-mixins/properties/_custom.scss +51 -0
  216. package/src/scss/global-content/_global-mixins/properties/_font.scss +60 -0
  217. package/src/scss/global-content/_global-mixins/properties/_media.scss +188 -0
  218. package/src/scss/global-content/_global-mixins/properties/_properties.scss +3 -0
  219. package/src/scss/global-content/_library.scss +2 -0
  220. package/src/scss/global-content/_sanity.scss +157 -0
  221. package/src/scss/global-content/_wordpress.scss +233 -0
  222. package/src/scss/index.scss +7 -0
  223. package/src/scss/sanity/index.scss +1 -0
  224. package/src/scss/sanity.scss +138 -0
  225. package/src/scss/wordpress/index.scss +1 -0
  226. package/src/scss/wp.scss +267 -0
  227. package/src/vite-env.d.ts +2 -0
  228. package/terrahq-wysiwyg-0.0.19.tgz +0 -0
  229. package/tsconfig.json +27 -0
  230. package/vite.config.js +39 -0
@@ -0,0 +1,62 @@
1
+ @use "sass:map";
2
+ @use "@scss/framework/foundation/_foundation.scss";
3
+ @use "@scss/framework/utilities/_utilities.scss";
4
+ @use "@scss/framework/_var/_vars.scss" as *;
5
+ .c--preloader-a {
6
+ @extend .u--position-fixed;
7
+ left: 0;
8
+ top: 0;
9
+ width: 100%;
10
+ max-width: 100vw;
11
+ height: 100vh;
12
+ z-index: 1500;
13
+
14
+ &__item {
15
+ @extend .f--background-a;
16
+ height: 50%;
17
+ }
18
+
19
+ &__artwork {
20
+ @extend .u--position-absolute;
21
+ width: 50vw;
22
+ max-width: 250px;
23
+ left: 50%;
24
+ top: 50%;
25
+ transform: translate(-50%, -50%);
26
+ height: 1px;
27
+ background: linear-gradient(
28
+ to right,
29
+ map.get($color-options, a),
30
+ map.get($color-options, b)
31
+ );
32
+ z-index: 1501;
33
+
34
+ &::after {
35
+ @extend .u--position-absolute;
36
+ @extend .u--display-block;
37
+ content: "";
38
+ height: 100%;
39
+ background-color: map.get($color-options, a);
40
+ left: 0%;
41
+ right: 100%;
42
+ animation: loading 2s ease infinite;
43
+ }
44
+ }
45
+ }
46
+
47
+ @keyframes loading {
48
+ 0% {
49
+ left: 0;
50
+ right: 100%;
51
+ }
52
+
53
+ 50% {
54
+ left: 0;
55
+ right: 0;
56
+ }
57
+
58
+ 100% {
59
+ left: 100%;
60
+ right: 0;
61
+ }
62
+ }
@@ -0,0 +1,24 @@
1
+ .c--transition-a {
2
+ @extend .u--position-fixed;
3
+ @extend .u--display-none;
4
+ left: 0;
5
+ top: 0;
6
+ width: 100%;
7
+ max-width: 100vw;
8
+ height: 100vh;
9
+ z-index: 1500;
10
+ pointer-events: none;
11
+
12
+ &__item {
13
+ @extend .f--background-a;
14
+ height: 50%;
15
+
16
+ &--first {
17
+ transform: translateY(-100%);
18
+ }
19
+
20
+ &--second {
21
+ transform: translateY(100%);
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,32 @@
1
+ //Foundations
2
+
3
+ // Reset
4
+ @forward './reset/reset.scss';
5
+
6
+
7
+ // background
8
+ // f--*-*
9
+ @forward './background/background.scss';
10
+
11
+ // Color
12
+ // f--color-*
13
+ @forward './color/color.scss';
14
+
15
+ // Typography
16
+ // f--font-*
17
+ @forward './font/font.scss';
18
+
19
+ // Gap
20
+ // f--gap-*
21
+ @forward './gap/gap.scss';
22
+
23
+ // Grid System
24
+ // f--container
25
+ // f--row
26
+ // f--col-*
27
+ // f--offset-*
28
+ @forward './grid/grid.scss';
29
+
30
+ // Spaces
31
+ // f--sp-*
32
+ @forward './spaces/spaces.scss';
@@ -0,0 +1,8 @@
1
+ @use "sass:map";
2
+ @use "@scss/framework/_var/_vars.scss" as *;
3
+
4
+ @each $color-name, $color in $colorbg-options {
5
+ .f--background-#{$color-name}{
6
+ background: map.get($colorbg-options, $color-name);
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ @use "sass:map";
2
+ @use "@scss/framework/_var/_vars.scss" as *;
3
+
4
+ @each $color-name, $color in $color-options {
5
+ .f--color-#{$color-name}{
6
+ color: map.get($color-options, $color-name);
7
+ }
8
+ }
@@ -0,0 +1,27 @@
1
+ @use "@scss/framework/foundation/font/make-font" as *;
2
+
3
+ /* Font library */
4
+
5
+ .f--font-a {
6
+ @include make-font-a();
7
+ }
8
+
9
+ .f--font-b {
10
+ @include make-font-b();
11
+ }
12
+
13
+ .f--font-c {
14
+ @include make-font-c();
15
+ }
16
+
17
+ .f--font-d {
18
+ @include make-font-d();
19
+ }
20
+
21
+ .f--font-e {
22
+ @include make-font-e();
23
+ }
24
+
25
+ .f--font-f {
26
+ @include make-font-f();
27
+ }
@@ -0,0 +1,61 @@
1
+ @use "@scss/framework/_var/_vars.scss" as *;
2
+
3
+ @mixin make-font-a($weight: 400) {
4
+ font-family: $type-a;
5
+ font-weight: $weight;
6
+ line-height: 1.1;
7
+ font-size: 5rem;
8
+ -webkit-font-smoothing: antialiased;
9
+ @media all and ($viewport-type: $tablets) {
10
+ font-size: 4rem;
11
+ }
12
+ }
13
+
14
+ @mixin make-font-b($weight: 400) {
15
+ font-family: $type-a;
16
+ font-weight: $weight;
17
+ line-height: 1.3;
18
+ font-size: 3.5rem;
19
+ -webkit-font-smoothing: antialiased;
20
+ @media all and ($viewport-type: $tablets) {
21
+ font-size: 2.5rem;
22
+ }
23
+ }
24
+
25
+ @mixin make-font-c($weight: 400) {
26
+ font-family: $type-a;
27
+ font-weight: $weight;
28
+ line-height: 1.3;
29
+ font-size: 2rem;
30
+ -webkit-font-smoothing: antialiased;
31
+ @media all and ($viewport-type: $tablets) {
32
+ font-size: 1.625rem;
33
+ }
34
+ }
35
+
36
+ @mixin make-font-d($weight: 400) {
37
+ font-family: $type-a;
38
+ font-weight: $weight;
39
+ line-height: 1.4;
40
+ font-size: 1.5rem;
41
+ -webkit-font-smoothing: antialiased;
42
+ @media all and ($viewport-type: $tablets) {
43
+ font-size: 1.25rem;
44
+ }
45
+ }
46
+
47
+ @mixin make-font-e($weight: 400) {
48
+ font-family: $type-a;
49
+ font-weight: $weight;
50
+ line-height: 1.4;
51
+ font-size: 1rem;
52
+ -webkit-font-smoothing: antialiased;
53
+ }
54
+
55
+ @mixin make-font-f($weight: 400) {
56
+ font-family: $type-a;
57
+ font-weight: $weight;
58
+ line-height: 1.4;
59
+ font-size: 0.75rem;
60
+ -webkit-font-smoothing: antialiased;
61
+ }
@@ -0,0 +1,17 @@
1
+ @use "@scss/framework/foundation/gap/make-gap" as *;
2
+
3
+ .f--gap-a {
4
+ @include make-gap-a();
5
+ }
6
+
7
+ .f--gap-b {
8
+ @include make-gap-b();
9
+ }
10
+
11
+ .f--gap-c {
12
+ @include make-gap-c();
13
+ }
14
+
15
+ .f--gap-d {
16
+ @include make-gap-d();
17
+ }
@@ -0,0 +1,29 @@
1
+ @use "@scss/framework/_var/_vars.scss" as *;
2
+
3
+ @mixin make-gap-a {
4
+ row-gap: $measure * 10;
5
+ @media all and ($viewport-type: $tablets) {
6
+ row-gap: $measure * 7;
7
+ }
8
+ }
9
+
10
+ @mixin make-gap-b {
11
+ row-gap: $measure * 7;
12
+ @media all and ($viewport-type: $tablets) {
13
+ row-gap: $measure * 4;
14
+ }
15
+ }
16
+
17
+ @mixin make-gap-c {
18
+ row-gap: $measure * 4;
19
+ @media all and ($viewport-type: $tablets) {
20
+ row-gap: $measure * 3;
21
+ }
22
+ }
23
+
24
+ @mixin make-gap-d {
25
+ row-gap: $measure * 3;
26
+ @media all and ($viewport-type: $tablets) {
27
+ row-gap: $measure * 3;
28
+ }
29
+ }
@@ -0,0 +1,115 @@
1
+ @use "@scss/framework/foundation/grid/make-columns" as *;
2
+ @use "@scss/framework/_var/_vars.scss" as *;
3
+
4
+ /* columns*/
5
+ /* offset */
6
+ /* order first & last */
7
+
8
+ // * columns
9
+ $available-columns: (
10
+ // 1,
11
+ // 2,
12
+ // 3,
13
+ // 4,
14
+ // 5,
15
+ 6,
16
+ // 7,
17
+ // 8,
18
+ // 9,
19
+ // 10,
20
+ // 11,
21
+ 12,
22
+ );
23
+
24
+ $columns-breakpoints: (
25
+ all: $all,
26
+ // desktop: $desktop,
27
+ // laptop: $laptop,
28
+ // tabletl: $tabletl,
29
+ // tabletm: $tabletm,
30
+ tablets: $tablets,
31
+ // mobile: $mobile,
32
+ );
33
+ @mixin build-columns ($size,$bkpt,$availablecolumns) {
34
+ @for $i from 1 through $columns {
35
+ @if ($size == 'all') {
36
+ @each $column in $availablecolumns {
37
+ @if $i == $column {
38
+ .f--col-#{$column}{
39
+ @include make-col($column);
40
+ }
41
+ }
42
+ }
43
+ }@else{
44
+ @each $column in $availablecolumns {
45
+ @if $i == $column {
46
+ .f--col-#{$size}-#{$column}{
47
+ @media all and (#{$viewport-type}: #{$bkpt}){
48
+ @include make-col-responsive($column);
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ // Build Columns
57
+ @each $size, $bkpt in $columns-breakpoints {
58
+ @include build-columns($size,$bkpt,$available-columns);
59
+ }
60
+ /* End Responsive Columns */
61
+
62
+ /* Start Responsive Offset */
63
+ $available-offset: (
64
+ // 0,
65
+ 1,
66
+ // 2,
67
+ // 3,
68
+ // 4,
69
+ // 5,
70
+ // 6,
71
+ // 7,
72
+ // 8,
73
+ // 9,
74
+ // 10,
75
+ // 11
76
+ );
77
+
78
+ $offset-breakpoints: (
79
+ all: $all,
80
+ // desktop: $desktop,
81
+ // laptop: $laptop,
82
+ // tabletl: $tabletl,
83
+ // tabletm: $tabletm,
84
+ // tablets: $tablets,
85
+ // mobile: $mobile,
86
+ );
87
+ @mixin build-offset ($size,$bkpt,$availableoffset) {
88
+ @for $i from 0 through $columns {
89
+ @if ($size == 'all') {
90
+ @each $offset in $availableoffset {
91
+ @if $i == $offset {
92
+ .f--offset-#{$offset}{
93
+ @include make-offset($offset);
94
+ }
95
+ }
96
+ }
97
+ }@else{
98
+ @each $offset in $availableoffset {
99
+ @if $i == $offset {
100
+ .f--offset-#{$size}-#{$offset}{
101
+ @media all and (#{$viewport-type}: #{$bkpt}){
102
+ @include make-offset($offset);
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+
111
+ @each $size, $bkpt in $offset-breakpoints {
112
+ @include build-offset($size,$bkpt, $available-offset);
113
+ }
114
+ /* End Responsive Offset */
115
+
@@ -0,0 +1,17 @@
1
+ @use "@scss/framework/foundation/grid/make-container" as *;
2
+ @use "@scss/framework/_var/_vars.scss" as *;
3
+
4
+ .f--container {
5
+ @include make-container();
6
+ // * container fluid
7
+ // &--fluid {
8
+ // @include make-container-fluid();
9
+ // }
10
+
11
+ // * container fluid responsive
12
+ // &--tabletm-fluid {
13
+ // @media all and ($viewport-type: $tabletm) {
14
+ // @include make-container-fluid();
15
+ // }
16
+ // }
17
+ }
@@ -0,0 +1,3 @@
1
+ @forward './container.scss';
2
+ @forward './row.scss';
3
+ @forward './columns.scss';
@@ -0,0 +1,28 @@
1
+ @use "@scss/framework/_var/_vars.scss" as *;
2
+
3
+ @mixin make-col($i) {
4
+ $value: calc(100% / $columns)*$i;
5
+ flex: 0 0 $value;
6
+ max-width: $value;
7
+ min-height: 1px;
8
+ padding-right: $half-gutter-width;
9
+ padding-left: $half-gutter-width;
10
+ transition: width $time-a $ease-standard-a;
11
+ }
12
+ @mixin make-col-responsive($i) {
13
+ $value: calc(100% / $columns)*$i;
14
+ flex: 0 0 $value;
15
+ max-width: $value;
16
+ }
17
+
18
+ /* Start Responsive Offset */
19
+ @mixin make-offset($i) {
20
+ $value: calc(100% / $columns)*$i;
21
+ margin-left: $value;
22
+ transition: $time-a;
23
+ }
24
+
25
+ /* Start Responsive Order */
26
+ @mixin make-order($i) {
27
+ order: $i;
28
+ }
@@ -0,0 +1,33 @@
1
+ @use "@scss/framework/_var/_vars.scss" as *;
2
+
3
+ @mixin make-container () {
4
+ margin: 0 auto;
5
+ padding-right: $half-gutter-width;
6
+ padding-left: $half-gutter-width;
7
+ width: $g-container-width;
8
+ max-width: $g-container-max-width;
9
+ @media all and ($viewport-type: $mobile){
10
+ max-width: $g-container-width-mobile;
11
+ }
12
+ }
13
+
14
+ @mixin make-container-fluid () {
15
+ padding: 0;
16
+ width: 100%;
17
+ @if variable-exists(g-container-fluid-max-width) {
18
+ max-width: $g-container-fluid-max-width;
19
+ } @else {
20
+ max-width: 100%;
21
+ }
22
+
23
+ & > [class*="f--row"] {
24
+ margin-right: 0;
25
+ margin-left: 0;
26
+
27
+ & > [class^="f--col"],
28
+ & > [class*="f--col-"] {
29
+ padding-right: 0;
30
+ padding-left: 0;
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,20 @@
1
+ @use "@scss/framework/_var/_vars.scss" as *;
2
+
3
+ // row
4
+ @mixin make-row () {
5
+ display: flex;
6
+ flex: 0 1 auto;
7
+ flex-wrap: wrap;
8
+ margin-right: $gutter-compensation;
9
+ margin-left: $gutter-compensation;
10
+ }
11
+
12
+ @mixin make-row-remove-gutter () {
13
+ margin-right: 0;
14
+ margin-left: 0;
15
+ & > [class^="f--col"],
16
+ & > [class*="f--col-"] {
17
+ padding-right: 0;
18
+ padding-left: 0;
19
+ }
20
+ }
@@ -0,0 +1,9 @@
1
+ @use "@scss/framework/foundation/grid/make-row" as *;
2
+ @use "@scss/framework/_var/_vars.scss" as *;
3
+
4
+ .f--row {
5
+ @include make-row;
6
+ &--remove-gutter{
7
+ @include make-row-remove-gutter;
8
+ }
9
+ }
@@ -0,0 +1,121 @@
1
+ @use "sass:map";
2
+ @use "@scss/framework/_var/_vars.scss" as *;
3
+ @use "@scss/framework/foundation/background/background.scss" as *;
4
+ @use "@scss/framework/foundation/font/font.scss" as *;
5
+ @use "@scss/framework/foundation/color/color.scss" as *;
6
+
7
+ *,
8
+ *::before,
9
+ *::after {
10
+ box-sizing: border-box;
11
+ margin: 0;
12
+ padding: 0;
13
+ border: none;
14
+ scroll-behavior: smooth;
15
+ }
16
+
17
+ :focus {
18
+ outline: 0;
19
+ }
20
+ *:focus-visible {
21
+ outline: 1px solid map.get($color-options, a);
22
+ }
23
+
24
+ html {
25
+ overscroll-behavior: none;
26
+ @extend .f--background-b;
27
+ }
28
+
29
+ body {
30
+ @extend .f--background-b;
31
+ @extend .f--font-e;
32
+ @extend .f--color-a;
33
+ }
34
+
35
+
36
+ b,
37
+ strong {
38
+ font-weight: 600;
39
+ }
40
+
41
+ ul,
42
+ ol {
43
+ list-style: none;
44
+ }
45
+ img {
46
+ max-width: 100%;
47
+ }
48
+ fieldset {
49
+ border: none;
50
+ }
51
+
52
+ //todos los input menos, range
53
+ // input[type=search]::-webkit-search-decoration,
54
+ // input[type=search]::-webkit-search-results-button,
55
+ // input[type=search]::-webkit-search-results-decoration,
56
+ input[type=search]::-webkit-search-cancel-button, // X que aparece en focus
57
+ input[type=text],
58
+ input[type=tel],
59
+ input[type=number],
60
+ input[type=password],
61
+ input[type=url],
62
+ input[type=email],
63
+ input[type=search],
64
+ input[type=color],
65
+ input[type=date],
66
+ input[type=datetime-local],
67
+ input[type=month],
68
+ input[type=time],
69
+ input[type=week],
70
+ input[type=file],
71
+ input[type=checkbox],
72
+ input[type=radio],
73
+ input[type=submit],
74
+ input[type=button],
75
+ input[type=reset],
76
+ select,
77
+ textarea,
78
+ button {
79
+ appearance: none;
80
+ -webkit-appearance: none;
81
+ outline: 0;
82
+ }
83
+
84
+ textarea {
85
+ resize: vertical;
86
+ }
87
+
88
+ select,
89
+ input[type="button"],
90
+ input[type="reset"],
91
+ input[type="submit"] {
92
+ cursor: pointer;
93
+ // background: transparent;
94
+ }
95
+
96
+ button {
97
+ cursor: pointer;
98
+ background: transparent;
99
+ }
100
+
101
+ // remove dotted outline/border in Firefox
102
+ select:-moz-focusring {
103
+ color: transparent !important;
104
+ text-shadow: 0 0 0 map.get($color-options, a) !important;
105
+ }
106
+
107
+ input:-webkit-autofill,
108
+ input:-webkit-autofill:hover,
109
+ input:-webkit-autofill:focus,
110
+ textarea:-webkit-autofill,
111
+ textarea:-webkit-autofill:hover,
112
+ textarea:-webkit-autofill:focus,
113
+ select:-webkit-autofill,
114
+ select:-webkit-autofill:hover,
115
+ select:-webkit-autofill:focus {
116
+ border: 1px solid map.get($color-options, b);
117
+ -webkit-text-fill-color: map.get($color-options, b);
118
+ color: map.get($color-options, b);
119
+ -webkit-box-shadow: 0 0 0px 1000px #fff inset;
120
+ transition: background-color 5000s ease-in-out 0s;
121
+ }
@@ -0,0 +1,29 @@
1
+ @use "@scss/framework/_var/_vars.scss" as *;
2
+
3
+ @mixin make-sp-a {
4
+ margin-bottom: $measure * 10;
5
+ @media all and ($viewport-type: $tablets) {
6
+ margin-bottom: $measure * 7;
7
+ }
8
+ }
9
+
10
+ @mixin make-sp-b {
11
+ margin-bottom: $measure * 7;
12
+ @media all and ($viewport-type: $tablets) {
13
+ margin-bottom: $measure * 4;
14
+ }
15
+ }
16
+
17
+ @mixin make-sp-c {
18
+ margin-bottom: $measure * 4;
19
+ @media all and ($viewport-type: $tablets) {
20
+ margin-bottom: $measure * 3;
21
+ }
22
+ }
23
+
24
+ @mixin make-sp-d {
25
+ margin-bottom: $measure * 3;
26
+ @media all and ($viewport-type: $tablets) {
27
+ margin-bottom: $measure * 3;
28
+ }
29
+ }
@@ -0,0 +1,17 @@
1
+ @use "@scss/framework/foundation/spaces/make-spaces" as *;
2
+
3
+ .f--sp-a {
4
+ @include make-sp-a();
5
+ }
6
+
7
+ .f--sp-b {
8
+ @include make-sp-b();
9
+ }
10
+
11
+ .f--sp-c {
12
+ @include make-sp-c();
13
+ }
14
+
15
+ .f--sp-d {
16
+ @include make-sp-d();
17
+ }