@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.
- package/README.md +857 -0
- package/content/sanity-content.html +131 -0
- package/content/wordpress-content.html +266 -0
- package/dist/arrow.svg +3 -0
- package/dist/assets/UncutSans-Bold-2fac4f16.woff +0 -0
- package/dist/assets/UncutSans-Bold-7b3ccca7.woff2 +0 -0
- package/dist/assets/UncutSans-BoldItalic-b019f8c2.woff +0 -0
- package/dist/assets/UncutSans-BoldItalic-d20eba8f.woff2 +0 -0
- package/dist/assets/UncutSans-Book-8173cf82.woff +0 -0
- package/dist/assets/UncutSans-Book-d8cebf5d.woff2 +0 -0
- package/dist/assets/UncutSans-BookItalic-7a28bfb1.woff2 +0 -0
- package/dist/assets/UncutSans-BookItalic-d712b826.woff +0 -0
- package/dist/assets/UncutSans-Light-57c0f45d.woff2 +0 -0
- package/dist/assets/UncutSans-Light-8f82ee8c.woff +0 -0
- package/dist/assets/UncutSans-LightItalic-5d6a8d36.woff2 +0 -0
- package/dist/assets/UncutSans-LightItalic-9289a22f.woff +0 -0
- package/dist/assets/UncutSans-Medium-98513c38.woff +0 -0
- package/dist/assets/UncutSans-Medium-ed4917e5.woff2 +0 -0
- package/dist/assets/UncutSans-MediumItalic-1bbdbf4b.woff +0 -0
- package/dist/assets/UncutSans-MediumItalic-ef65e4f3.woff2 +0 -0
- package/dist/assets/UncutSans-Regular-6113b781.woff2 +0 -0
- package/dist/assets/UncutSans-Regular-f43ac780.woff +0 -0
- package/dist/assets/UncutSans-RegularItalic-6c918c22.woff +0 -0
- package/dist/assets/UncutSans-RegularItalic-de14905d.woff2 +0 -0
- package/dist/assets/main-41a2c29c.js +1 -0
- package/dist/assets/main-fcc727c6.css +1 -0
- package/dist/content/sanity-content.html +133 -0
- package/dist/content/wordpress-content.html +262 -0
- package/dist/img/Boba-Orange.png +0 -0
- package/dist/img/Diana-Blue.png +0 -0
- package/dist/img/Ebb-Green.png +0 -0
- package/dist/img/Forma-Lime.png +0 -0
- package/dist/img/Gollum-Pink.png +0 -0
- package/dist/img/Infinito-Gray.png +0 -0
- package/dist/img/Melos-Red.png +0 -0
- package/dist/img/Mendia-Black.png +0 -0
- package/dist/img/Mistyk-White.png +0 -0
- package/dist/img/Prismo-Blue.png +0 -0
- package/dist/img/Punky-Green.png +0 -0
- package/dist/img/Stanley-Lime.png +0 -0
- package/dist/img/bg.jpeg +0 -0
- package/dist/img/card-23/img-card23.png +0 -0
- package/dist/img/card-23/img2-card23.png +0 -0
- package/dist/img/card-23/img3-card23.png +0 -0
- package/dist/img/card-23/img4-card23.png +0 -0
- package/dist/img/card-32/img-card32.png +0 -0
- package/dist/img/card-32/img2-card32.png +0 -0
- package/dist/img/card-32/img3-card32.png +0 -0
- package/dist/img/card-32/img4-card32.png +0 -0
- package/dist/img/card-32/img5-card32.png +0 -0
- package/dist/img/card-35/card35.png +0 -0
- package/dist/img/card-39/img-card39.png +0 -0
- package/dist/img/card-39/img2-card39.png +0 -0
- package/dist/img/card-39/img3-card39.png +0 -0
- package/dist/img/card-39/img4-card39.png +0 -0
- package/dist/img/cta/cta.png +0 -0
- package/dist/img/layout-04/img-layout04.png +0 -0
- package/dist/img/layout-04/img2-layout04.png +0 -0
- package/dist/img/layout-04/img3-layout04.png +0 -0
- package/dist/img/layout-04/img4-layout04.png +0 -0
- package/dist/img/terra-placeholder.jpg +0 -0
- package/dist/img/terraform-group-color.png +0 -0
- package/dist/index.html +36 -0
- package/dist/lottie/terraforms-all.json +1 -0
- package/dist/lottie/terraforms.json +1 -0
- package/dist/mountain.png +0 -0
- package/dist/terra.gif +0 -0
- package/dist/terra.png +0 -0
- package/dist/tree.png +0 -0
- package/dist/video/terra-video.mp4 +0 -0
- package/dist/vite.svg +1 -0
- package/index.html +34 -0
- package/package.json +23 -0
- package/public/arrow.svg +3 -0
- package/public/img/Boba-Orange.png +0 -0
- package/public/img/Diana-Blue.png +0 -0
- package/public/img/Ebb-Green.png +0 -0
- package/public/img/Forma-Lime.png +0 -0
- package/public/img/Gollum-Pink.png +0 -0
- package/public/img/Infinito-Gray.png +0 -0
- package/public/img/Melos-Red.png +0 -0
- package/public/img/Mendia-Black.png +0 -0
- package/public/img/Mistyk-White.png +0 -0
- package/public/img/Prismo-Blue.png +0 -0
- package/public/img/Punky-Green.png +0 -0
- package/public/img/Stanley-Lime.png +0 -0
- package/public/img/bg.jpeg +0 -0
- package/public/img/card-23/img-card23.png +0 -0
- package/public/img/card-23/img2-card23.png +0 -0
- package/public/img/card-23/img3-card23.png +0 -0
- package/public/img/card-23/img4-card23.png +0 -0
- package/public/img/card-32/img-card32.png +0 -0
- package/public/img/card-32/img2-card32.png +0 -0
- package/public/img/card-32/img3-card32.png +0 -0
- package/public/img/card-32/img4-card32.png +0 -0
- package/public/img/card-32/img5-card32.png +0 -0
- package/public/img/card-35/card35.png +0 -0
- package/public/img/card-39/img-card39.png +0 -0
- package/public/img/card-39/img2-card39.png +0 -0
- package/public/img/card-39/img3-card39.png +0 -0
- package/public/img/card-39/img4-card39.png +0 -0
- package/public/img/cta/cta.png +0 -0
- package/public/img/layout-04/img-layout04.png +0 -0
- package/public/img/layout-04/img2-layout04.png +0 -0
- package/public/img/layout-04/img3-layout04.png +0 -0
- package/public/img/layout-04/img4-layout04.png +0 -0
- package/public/img/terra-placeholder.jpg +0 -0
- package/public/img/terraform-group-color.png +0 -0
- package/public/lottie/terraforms-all.json +1 -0
- package/public/lottie/terraforms.json +1 -0
- package/public/mountain.png +0 -0
- package/public/terra.gif +0 -0
- package/public/terra.png +0 -0
- package/public/tree.png +0 -0
- package/public/video/terra-video.mp4 +0 -0
- package/public/vite.svg +1 -0
- package/readme/blocks/Button.md +31 -0
- package/readme/blocks/Columns.md +31 -0
- package/readme/blocks/Footnote.md +35 -0
- package/readme/blocks/Headings.md +132 -0
- package/readme/blocks/Highlighted.md +35 -0
- package/readme/blocks/Image.md +143 -0
- package/readme/blocks/Links.md +24 -0
- package/readme/blocks/Lists.md +327 -0
- package/readme/blocks/Paragraphs.md +35 -0
- package/readme/blocks/Quote.md +94 -0
- package/readme/blocks/Separator.md +52 -0
- package/readme/blocks/Table.md +199 -0
- package/readme/blocks/Utilities.md +24 -0
- package/readme/blocks/Video.md +24 -0
- package/readme/properties/Border.md +52 -0
- package/readme/properties/Custom.md +54 -0
- package/readme/properties/Font.md +151 -0
- package/readme/properties/Media.md +0 -0
- package/src/assets/cta/noise.png +0 -0
- package/src/assets/fonts/UncutSans-Bold.woff +0 -0
- package/src/assets/fonts/UncutSans-Bold.woff2 +0 -0
- package/src/assets/fonts/UncutSans-BoldItalic.woff +0 -0
- package/src/assets/fonts/UncutSans-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/UncutSans-Book.woff +0 -0
- package/src/assets/fonts/UncutSans-Book.woff2 +0 -0
- package/src/assets/fonts/UncutSans-BookItalic.woff +0 -0
- package/src/assets/fonts/UncutSans-BookItalic.woff2 +0 -0
- package/src/assets/fonts/UncutSans-Light.woff +0 -0
- package/src/assets/fonts/UncutSans-Light.woff2 +0 -0
- package/src/assets/fonts/UncutSans-LightItalic.woff +0 -0
- package/src/assets/fonts/UncutSans-LightItalic.woff2 +0 -0
- package/src/assets/fonts/UncutSans-Medium.woff +0 -0
- package/src/assets/fonts/UncutSans-Medium.woff2 +0 -0
- package/src/assets/fonts/UncutSans-MediumItalic.woff +0 -0
- package/src/assets/fonts/UncutSans-MediumItalic.woff2 +0 -0
- package/src/assets/fonts/UncutSans-Regular.woff +0 -0
- package/src/assets/fonts/UncutSans-Regular.woff2 +0 -0
- package/src/assets/fonts/UncutSans-RegularItalic.woff +0 -0
- package/src/assets/fonts/UncutSans-RegularItalic.woff2 +0 -0
- package/src/assets/mountain.png +0 -0
- package/src/assets/vector-v.svg +5 -0
- package/src/js/main.ts +13 -0
- package/src/scss/_paths.scss +5 -0
- package/src/scss/framework/_var/_vars.scss +106 -0
- package/src/scss/framework/components/btn/_c--btn-a.scss +58 -0
- package/src/scss/framework/components/content/_c--content-a.scss +460 -0
- package/src/scss/framework/components/link/_c--link-a.scss +13 -0
- package/src/scss/framework/components/preloader/_c--preloader-a.scss +62 -0
- package/src/scss/framework/components/transition/_c--transition-a.scss +24 -0
- package/src/scss/framework/foundation/_foundation.scss +32 -0
- package/src/scss/framework/foundation/background/_background.scss +8 -0
- package/src/scss/framework/foundation/color/_color.scss +8 -0
- package/src/scss/framework/foundation/font/_font.scss +27 -0
- package/src/scss/framework/foundation/font/_make-font.scss +61 -0
- package/src/scss/framework/foundation/gap/_gap.scss +17 -0
- package/src/scss/framework/foundation/gap/_make-gap.scss +29 -0
- package/src/scss/framework/foundation/grid/_columns.scss +115 -0
- package/src/scss/framework/foundation/grid/_container.scss +17 -0
- package/src/scss/framework/foundation/grid/_grid.scss +3 -0
- package/src/scss/framework/foundation/grid/_make-columns.scss +28 -0
- package/src/scss/framework/foundation/grid/_make-container.scss +33 -0
- package/src/scss/framework/foundation/grid/_make-row.scss +20 -0
- package/src/scss/framework/foundation/grid/_row.scss +9 -0
- package/src/scss/framework/foundation/reset/_reset.scss +121 -0
- package/src/scss/framework/foundation/spaces/_make-spaces.scss +29 -0
- package/src/scss/framework/foundation/spaces/_spaces.scss +17 -0
- package/src/scss/framework/utilities/_align-items.scss +39 -0
- package/src/scss/framework/utilities/_aspect-ratio.scss +55 -0
- package/src/scss/framework/utilities/_display.scss +46 -0
- package/src/scss/framework/utilities/_flex-direction.scss +42 -0
- package/src/scss/framework/utilities/_font-style.scss +38 -0
- package/src/scss/framework/utilities/_font-weight.scss +45 -0
- package/src/scss/framework/utilities/_justify-content.scss +42 -0
- package/src/scss/framework/utilities/_order.scss +38 -0
- package/src/scss/framework/utilities/_overflow.scss +38 -0
- package/src/scss/framework/utilities/_position.scss +42 -0
- package/src/scss/framework/utilities/_spacing.scss +66 -0
- package/src/scss/framework/utilities/_text-align.scss +40 -0
- package/src/scss/framework/utilities/_utilities.scss +12 -0
- package/src/scss/global-content/_global-mixins/_global-mixins.scss +2 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-btn.scss +31 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-columns.scss +38 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-footnote.scss +8 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-highlighted.scss +8 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-image.scss +244 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-quote.scss +72 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-separator.scss +33 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-table.scss +116 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-block-video.scss +28 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-heading.scss +45 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-links.scss +21 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-list.scss +960 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-paragraph.scss +22 -0
- package/src/scss/global-content/_global-mixins/blocks/_content-utilities.scss +35 -0
- package/src/scss/global-content/_global-mixins/blocks/_content.scss +14 -0
- package/src/scss/global-content/_global-mixins/helpers/_class.scss +11 -0
- package/src/scss/global-content/_global-mixins/helpers/_helpers.scss +1 -0
- package/src/scss/global-content/_global-mixins/properties/_border.scss +18 -0
- package/src/scss/global-content/_global-mixins/properties/_custom.scss +51 -0
- package/src/scss/global-content/_global-mixins/properties/_font.scss +60 -0
- package/src/scss/global-content/_global-mixins/properties/_media.scss +188 -0
- package/src/scss/global-content/_global-mixins/properties/_properties.scss +3 -0
- package/src/scss/global-content/_library.scss +2 -0
- package/src/scss/global-content/_sanity.scss +157 -0
- package/src/scss/global-content/_wordpress.scss +233 -0
- package/src/scss/index.scss +7 -0
- package/src/scss/sanity/index.scss +1 -0
- package/src/scss/sanity.scss +138 -0
- package/src/scss/wordpress/index.scss +1 -0
- package/src/scss/wp.scss +267 -0
- package/src/vite-env.d.ts +2 -0
- package/terrahq-wysiwyg-0.0.19.tgz +0 -0
- package/tsconfig.json +27 -0
- 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,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,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,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,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
|
+
}
|