ctt-babylon 0.8.16 → 0.8.18

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.
@@ -0,0 +1 @@
1
+ .not-selectable{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.carousel{position:relative;box-sizing:border-box}.carousel *,.carousel :after,.carousel :before{box-sizing:inherit}.carousel.is-draggable{cursor:move;cursor:grab}.carousel.is-dragging{cursor:move;cursor:grabbing}.carousel__viewport{position:relative;overflow:hidden;max-width:100%;max-height:100%}.carousel__track{display:flex}.carousel__slide{flex:0 0 auto;width:var(--carousel-slide-width,60%);max-width:100%;padding:1rem;position:relative;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.has-dots{margin-bottom:calc(.5rem + 22px)}.carousel__dots{margin:0 auto;padding:0;position:absolute;top:calc(100% + .5rem);left:0;right:0;display:flex;justify-content:center;list-style:none;user-select:none}.carousel__dots .carousel__dot{margin:0;padding:0;display:block;position:relative;width:22px;height:22px;cursor:pointer}.carousel__dots .carousel__dot:after{content:"";width:8px;height:8px;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:currentColor;opacity:.25;transition:opacity .15s ease-in-out}.carousel__dots .carousel__dot.is-selected:after{opacity:1}.carousel__button{width:var(--carousel-button-width,48px);height:var(--carousel-button-height,48px);padding:0;border:0;display:flex;justify-content:center;align-items:center;pointer-events:all;cursor:pointer;color:var(--carousel-button-color,currentColor);background:var(--carousel-button-bg,transparent);border-radius:var(--carousel-button-border-radius,50%);box-shadow:var(--carousel-button-shadow,none);transition:opacity .15s ease}.carousel__button.is-next,.carousel__button.is-prev{position:absolute;top:50%;transform:translateY(-50%)}.carousel__button.is-prev{left:10px}.carousel__button.is-next{right:10px}.carousel__button[disabled]{cursor:default;opacity:.3}.carousel__button svg{width:var(--carousel-button-svg-width,50%);height:var(--carousel-button-svg-height,50%);fill:none;stroke:currentColor;stroke-width:var(--carousel-button-svg-stroke-width,1.5);stroke-linejoin:bevel;stroke-linecap:round;filter:var(--carousel-button-svg-filter, none);pointer-events:none}body.compensate-for-scrollbar{overflow:hidden!important;touch-action:none}.fancybox__container{font-family:Inter,sans-serif;color:#434343;position:fixed;top:0;left:0;bottom:0;right:0;direction:ltr;margin:0;padding:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0);box-sizing:border-box;display:flex;flex-direction:column;color:var(--fancybox-color,#fff);-webkit-tap-highlight-color:transparent;overflow:hidden;z-index:1050;outline:0;transform-origin:top left;--carousel-button-width:48px;--carousel-button-height:48px;--carousel-button-svg-width:24px;--carousel-button-svg-height:24px;--carousel-button-svg-stroke-width:2.5;--carousel-button-svg-filter:drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.4))}.fancybox__container *,.fancybox__container ::after,.fancybox__container ::before{box-sizing:inherit}.fancybox__container :focus{outline:thin dotted}body.is-using-mouse .fancybox__container :focus{outline:0}@media all and (min-width:1024px){.fancybox__container{--carousel-button-width:48px;--carousel-button-height:48px;--carousel-button-svg-width:27px;--carousel-button-svg-height:27px}}.fancybox__backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:var(--fancybox-bg,rgba(24,24,27,.92))}.fancybox__carousel{position:relative;flex:1 1 auto;min-height:0;height:100%;z-index:10}.fancybox__carousel.has-dots{margin-bottom:calc(.5rem + 22px)}.fancybox__viewport{position:relative;width:100%;height:100%;overflow:visible;cursor:default}.fancybox__track{display:flex;height:100%}.fancybox__slide{flex:0 0 auto;width:100%;max-width:100%;margin:0;padding:48px 8px 8px 8px;position:relative;overscroll-behavior:contain;display:flex;flex-direction:column;outline:0;overflow:auto;-webkit-overflow-scrolling:touch;--carousel-button-width:36px;--carousel-button-height:36px;--carousel-button-svg-width:22px;--carousel-button-svg-height:22px}.fancybox__slide::after,.fancybox__slide::before{content:"";flex:0 0 0;margin:auto}@media all and (min-width:1024px){.fancybox__slide{padding:64px 100px}}.fancybox__content{margin:0 env(safe-area-inset-right,0) 0 env(safe-area-inset-left,0);padding:36px;color:var(--fancybox-content-color,#374151);background:var(--fancybox-content-bg,#fff);position:relative;align-self:center;display:flex;flex-direction:column;z-index:20}.fancybox__caption{align-self:center;max-width:100%;margin:0;padding:1rem 0 0 0;line-height:1.375;color:var(--fancybox-color,currentColor);visibility:visible;cursor:auto;flex-shrink:0;overflow-wrap:anywhere}.is-loading .fancybox__caption{visibility:hidden}.fancybox__container>.carousel__dots{top:100%;color:var(--fancybox-color,#fff)}.fancybox__nav .carousel__button{z-index:40}.fancybox__nav .carousel__button.is-next{right:8px}@media all and (min-width:1024px){.fancybox__nav .carousel__button.is-next{right:40px}}.fancybox__nav .carousel__button.is-prev{left:8px}@media all and (min-width:1024px){.fancybox__nav .carousel__button.is-prev{left:40px}}.carousel__button.is-close{position:absolute;top:8px;right:8px;top:calc(env(safe-area-inset-top,0px) + 8px);right:calc(env(safe-area-inset-right,0px) + 8px);z-index:40}@media all and (min-width:1024px){.carousel__button.is-close{right:40px}}.fancybox__content>.carousel__button.is-close{position:absolute;top:-36px;right:0;color:var(--fancybox-color,#fff)}.fancybox__no-click,.fancybox__no-click button{pointer-events:none}.fancybox__spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:50px;height:50px;color:var(--fancybox-color,currentColor)}.fancybox__slide .fancybox__spinner{cursor:pointer;z-index:1053}.fancybox__spinner svg{animation:fancybox-rotate 2s linear infinite;transform-origin:center center;position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;width:100%;height:100%}.fancybox__spinner svg circle{fill:none;stroke-width:2.75;stroke-miterlimit:10;stroke-dasharray:1,200;stroke-dashoffset:0;animation:fancybox-dash 1.5s ease-in-out infinite;stroke-linecap:round;stroke:currentColor}@keyframes fancybox-rotate{100%{transform:rotate(360deg)}}@keyframes fancybox-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}100%{stroke-dasharray:89,200;stroke-dashoffset:-124px}}.carousel__button.is-close,.carousel__dots,.fancybox__backdrop,.fancybox__caption,.fancybox__nav{opacity:var(--fancybox-opacity,1)}.fancybox__container.is-animated[aria-hidden=false] .carousel__button.is-close,.fancybox__container.is-animated[aria-hidden=false] .carousel__dots,.fancybox__container.is-animated[aria-hidden=false] .fancybox__backdrop,.fancybox__container.is-animated[aria-hidden=false] .fancybox__caption,.fancybox__container.is-animated[aria-hidden=false] .fancybox__nav{animation:.15s ease backwards fancybox-fadeIn}.fancybox__container.is-animated.is-closing .carousel__button.is-close,.fancybox__container.is-animated.is-closing .carousel__dots,.fancybox__container.is-animated.is-closing .fancybox__backdrop,.fancybox__container.is-animated.is-closing .fancybox__caption,.fancybox__container.is-animated.is-closing .fancybox__nav{animation:.15s ease both fancybox-fadeOut}.fancybox-fadeIn{animation:.15s ease both fancybox-fadeIn}.fancybox-fadeOut{animation:.1s ease both fancybox-fadeOut}.fancybox-zoomInUp{animation:.2s ease both fancybox-zoomInUp}.fancybox-zoomOutDown{animation:.15s ease both fancybox-zoomOutDown}.fancybox-throwOutUp{animation:.15s ease both fancybox-throwOutUp}.fancybox-throwOutDown{animation:.15s ease both fancybox-throwOutDown}@keyframes fancybox-fadeIn{from{opacity:0}to{opacity:1}}@keyframes fancybox-fadeOut{to{opacity:0}}@keyframes fancybox-zoomInUp{from{transform:scale(.97) translate3d(0,16px,0);opacity:0}to{transform:scale(1) translate3d(0,0,0);opacity:1}}@keyframes fancybox-zoomOutDown{to{transform:scale(.97) translate3d(0,16px,0);opacity:0}}@keyframes fancybox-throwOutUp{to{transform:translate3d(0,-30%,0);opacity:0}}@keyframes fancybox-throwOutDown{to{transform:translate3d(0,30%,0);opacity:0}}.fancybox__carousel .carousel__slide{scrollbar-width:thin;scrollbar-color:#ccc rgba(255,255,255,.1)}.fancybox__carousel .carousel__slide::-webkit-scrollbar{width:8px;height:8px}.fancybox__carousel .carousel__slide::-webkit-scrollbar-track{background-color:rgba(255,255,255,.1)}.fancybox__carousel .carousel__slide::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:2px;box-shadow:inset 0 0 4px rgba(0,0,0,.2)}.fancybox__carousel.is-draggable .fancybox__slide,.fancybox__carousel.is-draggable .fancybox__slide .fancybox__content{cursor:move;cursor:grab}.fancybox__carousel.is-dragging .fancybox__slide,.fancybox__carousel.is-dragging .fancybox__slide .fancybox__content{cursor:move;cursor:grabbing}.fancybox__carousel .fancybox__slide .fancybox__content{cursor:auto}.fancybox__carousel .fancybox__slide.can-zoom_in .fancybox__content{cursor:zoom-in}.fancybox__carousel .fancybox__slide.can-zoom_out .fancybox__content{cursor:zoom-out}.fancybox__carousel .fancybox__slide.is-draggable .fancybox__content{cursor:move;cursor:grab}.fancybox__carousel .fancybox__slide.is-dragging .fancybox__content{cursor:move;cursor:grabbing}.fancybox__image{transform-origin:0 0;touch-action:none;user-select:none;transition:none}.has-image .fancybox__content{padding:0;background:0 0;min-height:1px}.is-closing .has-image .fancybox__content{overflow:visible}.has-image[data-image-fit=contain]{overflow:visible;touch-action:none}.has-image[data-image-fit=contain] .fancybox__image{max-width:100%;max-height:100%;object-fit:contain}.has-image[data-image-fit=contain-w]{overflow-x:hidden;overflow-y:auto}.has-image[data-image-fit=contain-w] .fancybox__content{min-height:auto}.has-image[data-image-fit=contain-w] .fancybox__image{max-width:100%;height:auto}.has-image[data-image-fit=cover]{overflow:visible;touch-action:none}.has-image[data-image-fit=cover] .fancybox__content{width:100%;height:100%}.has-image[data-image-fit=cover] .fancybox__image{width:100%;height:100%;object-fit:cover}.fancybox__carousel .fancybox__slide.has-html5video .fancybox__content,.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content,.fancybox__carousel .fancybox__slide.has-map .fancybox__content,.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content,.fancybox__carousel .fancybox__slide.has-video .fancybox__content{flex-shrink:1;min-height:1px;overflow:visible}.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content,.fancybox__carousel .fancybox__slide.has-map .fancybox__content,.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content{width:100%;height:80%}.fancybox__carousel .fancybox__slide.has-html5video .fancybox__content,.fancybox__carousel .fancybox__slide.has-video .fancybox__content{width:960px;height:540px;max-width:100%;max-height:100%}.fancybox__carousel .fancybox__slide.has-html5video .fancybox__content,.fancybox__carousel .fancybox__slide.has-map .fancybox__content,.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content,.fancybox__carousel .fancybox__slide.has-video .fancybox__content{padding:0;background:rgba(24,24,27,.9);color:#fff}.fancybox__carousel .fancybox__slide.has-map .fancybox__content{background:#e5e3df}.fancybox__html5video,.fancybox__iframe{border:0;display:block;height:100%;width:100%;background:0 0}.fancybox-placeholder{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fancybox__thumbs{flex:0 0 auto;position:relative;padding:0 3px;opacity:var(--fancybox-opacity,1)}.fancybox__container.is-animated[aria-hidden=false] .fancybox__thumbs{animation:.15s ease-in backwards fancybox-fadeIn}.fancybox__container.is-animated.is-closing .fancybox__thumbs{opacity:0}.fancybox__thumbs .carousel__slide{flex:0 0 auto;width:var(--fancybox-thumbs-width,96px);margin:0;padding:8px 3px;box-sizing:content-box;display:flex;align-items:center;justify-content:center;overflow:visible;cursor:pointer}.fancybox__thumbs .carousel__slide .fancybox__thumb::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border:5px solid var(--fancybox-accent-color,rgba(1,210,232,.94));opacity:0;transition:opacity .15s ease;border-radius:var(--fancybox-thumbs-border-radius,4px)}.fancybox__thumbs .carousel__slide.is-nav-selected .fancybox__thumb::after{opacity:.92}.fancybox__thumbs .carousel__slide>*{pointer-events:none;user-select:none}.fancybox__thumb{position:relative;width:100%;padding-top:calc(100% / (var(--fancybox-thumbs-ratio,1.5)));background-size:cover;background-position:center center;background-color:rgba(255,255,255,.1);background-repeat:no-repeat;border-radius:var(--fancybox-thumbs-border-radius,4px)}.fancybox__toolbar{position:absolute;top:0;right:0;left:0;z-index:20;background:linear-gradient(to top,rgba(0,0,0,0) 0,rgba(0,0,0,.006) 8.1%,rgba(0,0,0,.021) 15.5%,rgba(0,0,0,.046) 22.5%,rgba(0,0,0,.077) 29%,rgba(0,0,0,.114) 35.3%,rgba(0,0,0,.155) 41.2%,rgba(0,0,0,.198) 47.1%,rgba(0,0,0,.242) 52.9%,rgba(0,0,0,.285) 58.8%,rgba(0,0,0,.326) 64.7%,rgba(0,0,0,.363) 71%,rgba(0,0,0,.394) 77.5%,rgba(0,0,0,.419) 84.5%,rgba(0,0,0,.434) 91.9%,rgba(0,0,0,.44) 100%);padding:0;touch-action:none;display:flex;justify-content:space-between;--carousel-button-svg-width:20px;--carousel-button-svg-height:20px;opacity:var(--fancybox-opacity,1);text-shadow:var(--fancybox-toolbar-text-shadow,1px 1px 1px rgba(0,0,0,.4))}@media all and (min-width:1024px){.fancybox__toolbar{padding:8px}}.fancybox__container.is-animated[aria-hidden=false] .fancybox__toolbar{animation:.15s ease-in backwards fancybox-fadeIn}.fancybox__container.is-animated.is-closing .fancybox__toolbar{opacity:0}.fancybox__toolbar__items{display:flex}.fancybox__toolbar__items--left{margin-right:auto}.fancybox__toolbar__items--center{position:absolute;left:50%;transform:translateX(-50%)}.fancybox__toolbar__items--right{margin-left:auto}@media (max-width:640px){.fancybox__toolbar__items--center:not(:last-child){display:none}}.fancybox__counter{min-width:72px;padding:0 10px;line-height:var(--carousel-button-height,48px);text-align:center;font-size:17px;font-variant-numeric:tabular-nums;-webkit-font-smoothing:subpixel-antialiased}.fancybox__progress{background:var(--fancybox-accent-color,rgba(1,210,232,.94));height:3px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;z-index:30;user-select:none}.fancybox__container:fullscreen::backdrop{opacity:0}.fancybox__button--fullscreen g:nth-child(2){display:none}.fancybox__container:fullscreen .fancybox__button--fullscreen g:nth-child(1){display:none}.fancybox__container:fullscreen .fancybox__button--fullscreen g:nth-child(2){display:block}.fancybox__button--slideshow g:nth-child(2){display:none}.fancybox__container.has-slideshow .fancybox__button--slideshow g:nth-child(1){display:none}.fancybox__container.has-slideshow .fancybox__button--slideshow g:nth-child(2){display:block}a[data-fancybox] img{cursor:zoom-in}.fancybox__container{--fancybox-color:#334155;--fancybox-bg:#fff;--fancybox-content-color:#6b7280;--fancybox-content-bg:#fff;--fancybox-thumbs-width:48px;--fancybox-thumbs-ratio:1;--carousel-button-svg-stroke-width:1.5;--carousel-button-svg-filter:none}.fancybox__nav{--carousel-button-bg:#e5e7eb;--carousel-button-svg-width:20px;--carousel-button-svg-height:20px;--carousel-button-svg-stroke-width:3}.fancybox__nav .carousel__button.is-next{right:30px}.fancybox__nav .carousel__button.is-prev{left:30px}.carousel__button.is-close{top:0;right:0;z-index:10}.fancybox__toolbar{padding:0;background:var(--fancybox-bg);text-shadow:none;--carousel-button-svg-width:24px;--carousel-button-svg-height:24px}.fancybox__toolbar{display:flex;border-bottom:1px solid #d4dedb}.carousel__slide.has-thumb{padding:5px;margin:16px 8px;border:1px solid #d1d5db;border-radius:4px}.is-nav-selected .fancybox__thumb::after{display:none}.carousel__slide.has-thumb.is-nav-selected,.carousel__slide.has-thumb:hover{border-color:#6b7280}.carousel__slide.has-thumb.has-video{--fancybox-thumbs-ratio:16/9}.carousel__slide.has-thumb.has-video .fancybox__thumb::before{content:"";position:absolute;top:0;left:0;right:0;height:auto;bottom:0;background-position:center center;background-size:60% 60%;background-repeat:no-repeat;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 24.38"><path d="M35.46 3.81A4.58 4.36 0 0032.24.75C29.37 0 17.93 0 17.93 0S6.48 0 3.63.72c-1.54.4-2.8 1.6-3.23 3.1-.75 2.72-.75 8.37-.75 8.37s0 5.68.75 8.37a4.58 4.36 0 003.22 3.07c2.9.75 14.3.75 14.3.75s11.45 0 14.32-.72a4.58 4.36 0 003.22-3.07c.75-2.72.75-8.37.75-8.37s.03-5.68-.75-8.4zm0 0" fill="white"/><path d="M14.29 17.4l9.51-5.21-9.51-5.22zm0 0" fill="black"/></svg>')}
File without changes
@@ -0,0 +1,491 @@
1
+ // -----
2
+ $mobileSmall: "(max-width: 375px)";
3
+ $mobile: "(max-width: 540px)";
4
+ $tabletV: "(max-width: 768px)";
5
+ $tabletH: "(max-width: 1080px)";
6
+ $desktopSmall2: "(max-width: 1280px)";
7
+ $desktopSmall: "(max-width: 1366px)";
8
+ $desktopMax: "(max-width: 1680px)";
9
+ $desktop: "(min-width: 1681px)";
10
+
11
+ //? Colors
12
+ $color1: #fff; // Background
13
+ $color2: #000; // Generic text
14
+ $color3: #f6f6f6;
15
+ $color4: #eec52b;
16
+
17
+ $greydark: #515050;
18
+ $greysoft: #515050b2;
19
+ $greyVsoft: #e4e4e4;
20
+ $greyV2soft: #51505099;
21
+ $cardgrey: #4a4a49b2;
22
+ $stronggrey: #4a4a49;
23
+ $white: #ffff;
24
+ $pistacho: #c4a857;
25
+ $red: #ff4338;
26
+ $redhover: #ed3b37;
27
+ $redTrans: #ff4238b3;
28
+ $blue: #5b87da;
29
+ $bluehover: #446ecd;
30
+ $green: #3fd5ae;
31
+ $greenhover: #2ec99b;
32
+ $greenwhats: #24cc63;
33
+ $rewards: #fff9f9;
34
+
35
+ //? Fonts
36
+ $font: "jokker", sans-serif;
37
+ $font2: "kinda", sans-serif;
38
+
39
+ //? Effect
40
+ $transition1: 0.3s ease;
41
+ $transition1_delay: 0.3s 0.3s ease;
42
+
43
+ //? Filters
44
+ $filter_white: invert(100%) sepia(6%) saturate(3350%) hue-rotate(358deg)
45
+ brightness(108%) contrast(116%);
46
+ $filter_red: invert(42%) sepia(21%) saturate(7460%) hue-rotate(337deg)
47
+ brightness(108%) contrast(116%);
48
+ $filter_blue: invert(62%) sepia(36%) saturate(7040%) hue-rotate(200deg)
49
+ brightness(96%) contrast(76%);
50
+ $filter_green: invert(67%) sepia(70%) saturate(373%) hue-rotate(113deg)
51
+ brightness(93%) contrast(90%);
52
+
53
+ // Utils
54
+
55
+ @mixin hover-siblings {
56
+ // cuando el contenedor se hace hover
57
+ > * {
58
+ transition: opacity $transition1;
59
+ }
60
+
61
+ &:hover {
62
+ // todos los hijos bajan opacidad
63
+ > * {
64
+ opacity: 0.6;
65
+ }
66
+
67
+ // pero el elemento hovered recupera su opacidad total
68
+ > *:hover {
69
+ opacity: 1;
70
+ }
71
+ }
72
+ }
73
+
74
+ @mixin basic-bg {
75
+ background-position: center;
76
+ background-size: cover;
77
+ background-repeat: no-repeat;
78
+ }
79
+
80
+ @mixin img-bg {
81
+ width: 100%;
82
+ height: 100%;
83
+ object-fit: cover;
84
+ }
85
+
86
+ @mixin center-a-element {
87
+ position: absolute;
88
+ left: 50%;
89
+ top: 50%;
90
+ transform: translate(-50%, -50%);
91
+ }
92
+
93
+ // MV/🟡 Title Big - MD
94
+ @mixin title-big-md {
95
+ font-family: $font;
96
+ font-weight: 400;
97
+ font-size: 4.4rem;
98
+ line-height: 5.8rem;
99
+
100
+ @media #{$mobile} {
101
+ font-size: 3rem;
102
+ line-height: 4rem;
103
+ }
104
+
105
+ @media #{$mobileSmall} {
106
+ font-size: 2.4rem;
107
+ line-height: 3rem;
108
+ }
109
+ }
110
+
111
+ // 🟡 Title Big - RG
112
+ @mixin title-big-rg {
113
+ font-family: $font;
114
+ font-weight: 300;
115
+ font-size: 4.4rem;
116
+ line-height: 5.8rem;
117
+
118
+ @media #{$desktopSmall} {
119
+ font-size: 3.6rem;
120
+ line-height: 4.8rem;
121
+ }
122
+
123
+ @media #{$mobile} {
124
+ font-size: 3rem;
125
+ line-height: 4rem;
126
+ }
127
+
128
+ @media #{$mobileSmall} {
129
+ font-size: 2.4rem;
130
+ line-height: 3rem;
131
+ }
132
+ }
133
+
134
+ @mixin title-grand-big {
135
+ font-family: $font;
136
+ font-weight: 400;
137
+ font-size: 5.5rem;
138
+ line-height: 5.8rem;
139
+ letter-spacing: -0.055rem;
140
+
141
+ @media #{$desktopSmall} {
142
+ font-size: 4.2rem;
143
+ line-height: 4.6rem;
144
+ }
145
+
146
+ @media #{$tabletH} {
147
+ font-size: 5.5rem;
148
+ line-height: 5.8rem;
149
+ }
150
+
151
+ @media #{$mobile} {
152
+ font-size: 4.2rem;
153
+ line-height: 4.6rem;
154
+ }
155
+
156
+ @media #{$mobileSmall} {
157
+ font-size: 3rem;
158
+ line-height: 3.8rem;
159
+ }
160
+ }
161
+
162
+ // 🟢 Subtitle Big - MD
163
+ @mixin subtitle-big {
164
+ font-family: $font;
165
+ font-weight: 400;
166
+ font-size: 3.2rem;
167
+ line-height: 3.8rem;
168
+
169
+ @media #{$desktopSmall} {
170
+ font-weight: 400;
171
+ font-size: 2.8rem;
172
+ line-height: 3.2rem;
173
+ }
174
+
175
+ @media #{$tabletH} {
176
+ font-weight: 400;
177
+ font-size: 3.2rem;
178
+ line-height: 3.8rem;
179
+ }
180
+ }
181
+
182
+ // 🟢🟠 Subtitle Text - RG 2
183
+ @mixin subtitle-text-rg2 {
184
+ font-family: $font;
185
+ font-weight: 300;
186
+ font-size: 3.2rem;
187
+ line-height: 4.6rem;
188
+
189
+ @media #{$desktopSmall} {
190
+ font-size: 2.8rem;
191
+ line-height: 3.8rem;
192
+ }
193
+
194
+ @media #{$tabletH} {
195
+ font-size: 3.2rem;
196
+ line-height: 4.6rem;
197
+ }
198
+
199
+ @media #{$mobile} {
200
+ font-size: 2.8rem;
201
+ line-height: 3.8rem;
202
+ }
203
+
204
+ @media #{$mobileSmall} {
205
+ font-size: 2.2rem;
206
+ line-height: 3rem;
207
+ }
208
+ }
209
+
210
+ // 🟢🟠 Subtitle Text - MD 2
211
+ @mixin subtitle-text-md2 {
212
+ font-family: $font;
213
+ font-weight: 400;
214
+ font-size: 3.2rem;
215
+ line-height: 5rem;
216
+
217
+ @media #{$mobileSmall} {
218
+ font-size: 2.8rem;
219
+ line-height: 3.8rem;
220
+ }
221
+ }
222
+
223
+ // But/🟨 Button Box
224
+ @mixin text-button-box {
225
+ font-family: $font;
226
+ font-weight: 500;
227
+ font-size: 1.8rem;
228
+
229
+ @media #{$mobileSmall} {
230
+ font-size: 1.6rem;
231
+ }
232
+ }
233
+
234
+ // But/Button mini
235
+ @mixin text-button-mini {
236
+ font-family: $font;
237
+ font-weight: 400;
238
+ font-size: 1.3rem;
239
+ line-height: 100%;
240
+
241
+ //TODO no sabemos el responsive
242
+ }
243
+
244
+ // Breadcrumbs
245
+ @mixin text-breadcrumbs {
246
+ font-family: $font;
247
+ font-weight: 400;
248
+ font-style: Medium;
249
+ font-size: 1.3rem;
250
+ line-height: 100%;
251
+
252
+ //TODO no sabemos el responsive
253
+ }
254
+
255
+ // Text Motor
256
+ @mixin text-motor {
257
+ font-family: $font;
258
+ font-weight: 300;
259
+ font-size: 1.3rem;
260
+ line-height: 100%;
261
+
262
+ //TODO no veo el responsive en figma, falta añadirlo
263
+ }
264
+
265
+ // 🟠🟠 Text Medium - MD
266
+ @mixin text-medium-md {
267
+ font-family: $font;
268
+ font-weight: 400;
269
+ font-size: 2.8rem;
270
+ line-height: 3.6rem;
271
+
272
+ @media #{$mobileSmall} {
273
+ font-size: 2.2rem;
274
+ line-height: 2.6rem;
275
+ }
276
+ }
277
+
278
+ // 🟠 Text - RG
279
+ @mixin text-rg {
280
+ font-family: $font;
281
+ font-weight: 300;
282
+ font-size: 2rem;
283
+ line-height: 3.9rem;
284
+ @media #{$desktopSmall} {
285
+ font-size: 1.5rem;
286
+ line-height: 3rem;
287
+ }
288
+ @media #{$mobile} {
289
+ font-size: 1.1rem;
290
+ line-height: 2rem;
291
+ }
292
+ }
293
+
294
+ // 🔴 Text Medium - RG
295
+ @mixin text-medium-rg {
296
+ font-family: $font;
297
+ font-weight: 300;
298
+ font-size: 2.8rem;
299
+ line-height: 3.6rem;
300
+
301
+ @media #{$mobileSmall} {
302
+ font-size: 2.2rem;
303
+ line-height: 2.6rem;
304
+ }
305
+ }
306
+
307
+ // 🔵 Header
308
+ @mixin text-header {
309
+ font-family: $font;
310
+ font-weight: 400;
311
+ font-size: 1.8rem;
312
+ line-height: 100%;
313
+ letter-spacing: 0.18rem;
314
+ text-transform: uppercase;
315
+
316
+ @media #{$mobileSmall} {
317
+ font-size: 1.4rem;
318
+ letter-spacing: 0.056rem;
319
+ }
320
+ }
321
+
322
+ // Adventges photo MD
323
+ @mixin text-adventges {
324
+ font-family: $font;
325
+ font-size: 1.8rem;
326
+ line-height: 1.8rem;
327
+ letter-spacing: 0.036rem;
328
+
329
+ @media #{$mobileSmall} {
330
+ font-size: 1.6rem;
331
+ line-height: 1.6rem;
332
+ letter-spacing: 0.032rem;
333
+ }
334
+ }
335
+
336
+ // Fot/🟢 Subtilte Footer - RG
337
+ @mixin subtitle-footer-rg {
338
+ font-family: $font;
339
+ font-weight: 300;
340
+ font-size: 2rem;
341
+ line-height: 3rem;
342
+
343
+ @media #{$mobileSmall} {
344
+ font-size: 2rem;
345
+ }
346
+ }
347
+
348
+ // Fot/🟠 List Footer
349
+ @mixin list-footer {
350
+ font-family: $font;
351
+ font-weight: 300;
352
+ font-size: 1.6rem;
353
+ line-height: 4rem;
354
+ }
355
+
356
+ // List H+A/Subtitle Hotel-Aprt - RG
357
+ @mixin subtitle-hotel-aprt-rg {
358
+ font-family: $font;
359
+ font-weight: 300;
360
+ font-size: 1.6rem;
361
+ line-height: 100%;
362
+ }
363
+
364
+ // List seo
365
+ @mixin list-seo {
366
+ font-family: $font;
367
+ font-weight: 400;
368
+ font-size: 1.6rem;
369
+ line-height: 2.8rem;
370
+ }
371
+ // Fot/🟢 Subtitle Footer - MD
372
+ @mixin subtitle-footer-md {
373
+ font-family: $font;
374
+ font-weight: 400;
375
+ font-size: 2rem;
376
+ line-height: 100%;
377
+ @media #{$desktopSmall} {
378
+ font-size: 1.5rem;
379
+ }
380
+ @media #{$tabletH} {
381
+ font-size: 1.1rem;
382
+ }
383
+ }
384
+
385
+ // Fot/🟡 Title Footer - RG
386
+ @mixin subtitle-footer-title {
387
+ font-family: $font;
388
+ font-weight: 300;
389
+ font-size: 3.8rem;
390
+ line-height: 4.4rem;
391
+
392
+ @media #{$mobileSmall} {
393
+ font-size: 2.8rem;
394
+ }
395
+ }
396
+
397
+ @mixin subtitle-text--faqs {
398
+ font-family: $font;
399
+ font-weight: 300;
400
+ font-size: 3.2rem;
401
+ line-height: 4.6rem;
402
+
403
+ @media #{$desktopSmall} {
404
+ font-size: 2.4rem;
405
+ line-height: 3.4rem;
406
+ }
407
+
408
+ @media #{$tabletH} {
409
+ font-size: 1.8rem;
410
+ line-height: 2.6rem;
411
+ }
412
+ }
413
+
414
+ // MV/🟠 Text - RG - M540
415
+ @mixin text-rg-m540 {
416
+ font-family: $font;
417
+ font-weight: 300;
418
+ font-size: 2rem;
419
+ line-height: 3rem;
420
+
421
+ @media #{$mobileSmall} {
422
+ font-size: 1.6rem;
423
+ line-height: 2.2rem;
424
+ }
425
+ }
426
+
427
+ // 🟡🟩 Title Ofert
428
+ @mixin title-ofert {
429
+ font-family: $font;
430
+ font-weight: 300;
431
+ font-size: 3.2rem;
432
+ line-height: 100%;
433
+
434
+ @media #{$mobile} {
435
+ font-size: 2.4rem;
436
+ line-height: 2.8rem;
437
+ }
438
+ @media #{$mobileSmall} {
439
+ font-size: 2rem;
440
+ line-height: 2.6rem;
441
+ }
442
+ }
443
+
444
+ // 🟩 Price Ofert
445
+ @mixin price-ofert {
446
+ font-family: $font;
447
+ font-weight: 300;
448
+ font-size: 4.4rem;
449
+ line-height: 100%;
450
+
451
+ @media #{$mobileSmall} {
452
+ font-size: 3.8rem;
453
+ }
454
+ }
455
+
456
+ // 🟡 Title Grand Big
457
+ @mixin title-grand-big {
458
+ font-family: $font;
459
+ font-weight: 500;
460
+ font-size: 5.5rem;
461
+ line-height: 5.8rem;
462
+ }
463
+
464
+ // Title item
465
+ @mixin title-item {
466
+ font-family: $font;
467
+ font-weight: 400;
468
+ font-size: 1.8rem;
469
+ line-height: 2.8rem;
470
+ @media #{$mobileSmall} {
471
+ line-height: 2.4rem;
472
+ }
473
+ }
474
+ // Text Service Subt.
475
+ @mixin text-service-subt {
476
+ font-family: $font;
477
+ font-weight: 400;
478
+ font-size: 1.4rem;
479
+ line-height: 1.7rem;
480
+ @media #{$mobileSmall} {
481
+ line-height: 2.4rem;
482
+ }
483
+ }
484
+
485
+ // But/🟨 button campo line
486
+ @mixin button-campo-line {
487
+ font-family: $font;
488
+ font-weight: 500;
489
+ font-size: 1.5rem;
490
+ line-height: 100%;
491
+ }
@@ -0,0 +1 @@
1
+ input[type=date]::-webkit-inner-spin-button,input[type=date]::-webkit-calendar-picker-indicator{display:none;-webkit-appearance:none}input:not([type=radio]):not([type=checkbox]),textarea,select{background-color:rgba(0,0,0,0);-webkit-appearance:none;-moz-appearance:none;appearance:none;font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::-moz-placeholder, textarea::-moz-placeholder, select::-moz-placeholder{font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::placeholder,textarea::placeholder,select::placeholder{font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::-moz-placeholder,textarea::-moz-placeholder,select::-moz-placeholder{font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::-ms-input-placeholder,textarea::-ms-input-placeholder,select::-ms-input-placeholder{font-size:1.4rem;font-weight:500}input:not([type=radio]):not([type=checkbox])::-webkit-input-placeholder,textarea::-webkit-input-placeholder,select::-webkit-input-placeholder{font-size:1.4rem;font-weight:500}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #f6f6f6 inset !important;-webkit-text-fill-color:#fff !important;-webkit-transition:background-color 5000s ease-in-out 0s;transition:background-color 5000s ease-in-out 0s}select{position:relative;cursor:pointer}select.mini-arrow{position:relative;background-repeat:no-repeat;background-position-x:"calc(100% - 0.8rem)";background-position-y:50%;min-width:.8rem}select option{font-size:1.4rem;font-weight:500;color:#000}.m-checkbox-group{display:flex;flex-direction:row;align-items:flex-start}.m-checkbox-group .m-checkbox,.m-checkbox-group input{border-radius:0 !important;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:2.8rem;height:2.8rem;border:.1rem solid #d2d2d2;background-color:rgba(0,0,0,0);padding:0;margin-right:2rem;border-radius:0;cursor:pointer;position:relative}.m-checkbox-group .m-checkbox:checked,.m-checkbox-group input:checked{background-color:#fff;background-position:center;background-repeat:no-repeat;background-size:1.6rem;position:relative;left:0rem;top:0rem}.m-checkbox-group label{font-size:1.3rem;font-weight:600;max-width:"calc(100% - 5rem)"}.m-radio-group{display:flex;flex-direction:row;align-items:center}.m-radio-group .m-radio{-webkit-appearance:none;width:2.8rem;height:2.8rem;border:.2rem solid #d2d2d2;background-color:rgba(0,0,0,0);border-radius:50%;padding:0;margin-right:2rem;cursor:pointer;position:relative}.m-radio-group .m-radio:checked{background-color:#fff !important}.m-radio-group .m-radio:checked::after{content:" ";position:absolute;top:50%;left:50%;width:1.6rem;height:1.6rem;border-radius:50%;background-color:#eec52b;transform:translate(-50%, -50%)}.m-radio-group label{font-size:1.4rem;font-weight:500;max-width:"calc(100% - 5rem)"}.m-input.m-calendar{background-repeat:no-repeat;background-position-x:"calc(100% - 2rem)";background-position-y:50%}
@@ -0,0 +1,168 @@
1
+ @use 'funciones.scss' as *;
2
+
3
+ //? INPUTS
4
+ input[type='date']::-webkit-inner-spin-button,
5
+ input[type='date']::-webkit-calendar-picker-indicator {
6
+ display: none;
7
+ -webkit-appearance: none;
8
+ }
9
+
10
+ input:not([type='radio']):not([type='checkbox']),
11
+ textarea,
12
+ select {
13
+ background-color: transparent;
14
+ -webkit-appearance: none;
15
+ -moz-appearance: none;
16
+ appearance: none;
17
+ /* font-family: $font; */
18
+ font-size: 1.4rem;
19
+ font-weight: 500;
20
+ &::placeholder {
21
+ /* font-family: $font; */
22
+ font-size: 1.4rem;
23
+ font-weight: 500;
24
+ }
25
+ &::-moz-placeholder {
26
+ /* font-family: $font; */
27
+ font-size: 1.4rem;
28
+ font-weight: 500;
29
+ }
30
+ &::-ms-input-placeholder {
31
+ /* font-family: $font; */
32
+ font-size: 1.4rem;
33
+ font-weight: 500;
34
+ }
35
+ &::-webkit-input-placeholder {
36
+ /* font-family: $font; */
37
+ font-size: 1.4rem;
38
+ font-weight: 500;
39
+ }
40
+
41
+ // &:focus {
42
+ // background-color: #f9f9f9;
43
+ // }
44
+ }
45
+
46
+ input:-webkit-autofill,
47
+ input:-webkit-autofill:hover,
48
+ input:-webkit-autofill:focus,
49
+ input:-webkit-autofill:active {
50
+ -webkit-box-shadow: 0 0 0 30px $color3 inset !important;
51
+ -webkit-text-fill-color: white !important;
52
+ transition: background-color 5000s ease-in-out 0s;
53
+ }
54
+
55
+ //* SELECT
56
+ select {
57
+ position: relative;
58
+ cursor: pointer;
59
+ &.mini-arrow {
60
+ position: relative;
61
+ /* background-image: url('../../../assets/babylon/svg/img/icon-caret-down.svg'); */
62
+ background-repeat: no-repeat;
63
+ background-position-x: 'calc(100% - 0.8rem)';
64
+ background-position-y: 50%;
65
+ min-width: 0.8rem;
66
+ }
67
+ option {
68
+ /* font-family: $font; */
69
+ font-size: 1.4rem;
70
+ font-weight: 500;
71
+ color: #000;
72
+ }
73
+ }
74
+
75
+ //* CHECKBOX
76
+ .m-checkbox-group {
77
+ display: flex;
78
+ flex-direction: row;
79
+ align-items: flex-start;
80
+ .m-checkbox,
81
+ input {
82
+ border-radius: 0 !important;
83
+ position: relative;
84
+ -webkit-appearance: none;
85
+ -moz-appearance: none;
86
+ appearance: none;
87
+ width: 2.8rem;
88
+ height: 2.8rem;
89
+ border: 0.1rem solid #d2d2d2;
90
+ background-color: transparent;
91
+ padding: 0;
92
+ margin-right: 2rem;
93
+ border-radius: 0;
94
+ cursor: pointer;
95
+ position: relative;
96
+ // &:hover {
97
+ // background-color: $color3;
98
+ // }
99
+ &:checked {
100
+ background-color: white;
101
+ /* background-image: url('../../../assets/babylon/svg/img/icon-check.svg'); */
102
+ background-position: center;
103
+ background-repeat: no-repeat;
104
+ background-size: 1.6rem;
105
+ position: relative;
106
+ left: 0rem;
107
+ top: 0rem;
108
+ }
109
+ }
110
+ label {
111
+ /* font-family: $font; */
112
+ font-size: 1.3rem;
113
+ font-weight: 600;
114
+ max-width: 'calc(100% - 5rem)';
115
+ }
116
+ }
117
+
118
+ //* INPUT RADIO
119
+ .m-radio-group {
120
+ display: flex;
121
+ flex-direction: row;
122
+ align-items: center;
123
+ .m-radio {
124
+ -webkit-appearance: none;
125
+ width: 2.8rem;
126
+ height: 2.8rem;
127
+ border: 0.2rem solid #d2d2d2;
128
+ background-color: transparent;
129
+ border-radius: 50%;
130
+ padding: 0;
131
+ margin-right: 2rem;
132
+ cursor: pointer;
133
+ position: relative;
134
+ &:checked {
135
+ background-color: white !important;
136
+ &::after {
137
+ content: ' ';
138
+ position: absolute;
139
+ top: 50%;
140
+ left: 50%;
141
+ width: 1.6rem;
142
+ height: 1.6rem;
143
+ border-radius: 50%;
144
+ background-color: $color4;
145
+ transform: translate(-50%, -50%);
146
+ }
147
+ }
148
+ // &:hover {
149
+ // background-color: $color3;
150
+ // }
151
+ // &:disabled {
152
+ // background-color: $color3;
153
+ // }
154
+ }
155
+ label {
156
+ /* font-family: $font; */
157
+ font-size: 1.4rem;
158
+ font-weight: 500;
159
+ max-width: 'calc(100% - 5rem)';
160
+ }
161
+ }
162
+
163
+ .m-input.m-calendar {
164
+ /* background-image: url('../../../assets/babylon/svg/img/icon-calendar-blue.svg'); */
165
+ background-repeat: no-repeat;
166
+ background-position-x: 'calc(100% - 2rem)';
167
+ background-position-y: 50%;
168
+ }