358 lines
6.0 KiB
SCSS
358 lines
6.0 KiB
SCSS
// app global css in SCSS form
|
|
@import "./pages/home.scss";
|
|
@import "./pages/categoria.scss";
|
|
@import "./pages/product.scss";
|
|
@import "./pages/checkout.scss";
|
|
@import "./pages/contacta.scss";
|
|
@import "./pages/faq.scss";
|
|
@import "./components/calendar-postalcode.scss";
|
|
|
|
:root {
|
|
--swiper-theme-color: #117564;
|
|
--swiper-pagination-color: #117564;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
outline: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
::selection {
|
|
background-color: $primary-light;
|
|
color: $primary;
|
|
}
|
|
|
|
.padding-top {
|
|
padding-top: 95px !important;
|
|
|
|
&.more {
|
|
padding-top: calc(145px + 91px) !important;
|
|
}
|
|
|
|
@media only screen and (max-width: $med-md) {
|
|
&.more {
|
|
padding-top: calc(66px + 91px) !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.checkout-padding {
|
|
padding-top: 149px !important;
|
|
@media only screen and (max-width: $med-md) {
|
|
padding-top: 73px !important;
|
|
}
|
|
}
|
|
|
|
.hide {
|
|
display: none;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
}
|
|
|
|
.product-layout {
|
|
padding-top: 200px !important;
|
|
@media only screen and (max-width: $med-md) {
|
|
padding-top: 90px !important;
|
|
}
|
|
}
|
|
|
|
.green-text {
|
|
color: $primary !important;
|
|
}
|
|
|
|
.gray-bg {
|
|
background-color: $secondary-10;
|
|
}
|
|
|
|
// button,
|
|
.btn {
|
|
all: unset;
|
|
user-select: none;
|
|
display: inline-flex;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
font-family: $font-questrial;
|
|
background-color: $primary;
|
|
color: $white;
|
|
padding: 16px 40px;
|
|
line-height: 22px;
|
|
font-size: $font-18;
|
|
border-radius: 10px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: 100ms ease-out;
|
|
&:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
&:focus,
|
|
&:focus-visible {
|
|
outline: 2px solid $primary-light !important;
|
|
}
|
|
|
|
&.outlined {
|
|
border: 1px solid $primary-light;
|
|
background-color: transparent;
|
|
color: $text-gray;
|
|
&.green-color {
|
|
color: $primary;
|
|
border: 2px solid currentColor;
|
|
}
|
|
|
|
&.white-color {
|
|
color: $white;
|
|
border: 2px solid currentColor;
|
|
}
|
|
|
|
&.pd-icon {
|
|
padding: 16px 33px 16px 40px;
|
|
}
|
|
}
|
|
|
|
&.rounded {
|
|
border-radius: 30px;
|
|
}
|
|
|
|
&.sm-btn {
|
|
padding: 10px 20px;
|
|
}
|
|
|
|
& .q-btn__content {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
@media only screen and (max-width: $med-xmd) {
|
|
font-size: $font-16;
|
|
}
|
|
}
|
|
|
|
.custom-container {
|
|
width: min(100%, 1920px);
|
|
padding-inline: 72px;
|
|
margin: 0 auto;
|
|
&.cards-container {
|
|
width: min(100%, 1540px);
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
|
|
grid-auto-rows: 1fr;
|
|
gap: 47px;
|
|
}
|
|
&.category-container {
|
|
width: min(100%, 1920px);
|
|
}
|
|
|
|
//! 1440px
|
|
@media only screen and (max-width: calc($med-xlg + 100px)) {
|
|
&.cards-container {
|
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
|
|
}
|
|
}
|
|
|
|
//! 960px
|
|
@media only screen and (max-width: $med-xmd) {
|
|
padding-inline: 16px;
|
|
&.cards-container {
|
|
gap: 25px;
|
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr));
|
|
}
|
|
}
|
|
|
|
//! 445px
|
|
@media only screen and (max-width: $med-sm) {
|
|
&.cards-container {
|
|
gap: 25px;
|
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, 145px), 1fr));
|
|
}
|
|
}
|
|
}
|
|
|
|
.title {
|
|
font-family: $font-lora;
|
|
font-size: $font-hg;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
line-height: 80px;
|
|
color: $black;
|
|
|
|
&.bold {
|
|
font-weight: 700;
|
|
}
|
|
|
|
@media only screen and (max-width: $med-sm) {
|
|
font-size: $font-xlg;
|
|
line-height: 58px;
|
|
}
|
|
}
|
|
|
|
.subtitle {
|
|
color: $primary;
|
|
font-size: $font-30;
|
|
line-height: 30px;
|
|
|
|
@media only screen and (max-width: $med-xmd) {
|
|
font-size: $font-24;
|
|
}
|
|
}
|
|
|
|
.logo-img {
|
|
display: inline-flex;
|
|
height: 45px;
|
|
width: fit-content;
|
|
|
|
@media only screen and (max-width: $med-md) {
|
|
height: 30px;
|
|
}
|
|
}
|
|
|
|
.paragraph,
|
|
.title,
|
|
.price,
|
|
button,
|
|
span,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
p {
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5 {
|
|
font-family: $font-lora;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
a {
|
|
font-family: $font-questrial;
|
|
text-decoration: none;
|
|
font-size: $font-xxxsm;
|
|
// display: inline-flex;
|
|
&:focus-visible {
|
|
outline: 2px solid $primary-light;
|
|
}
|
|
}
|
|
|
|
p,
|
|
.paragraph {
|
|
font-family: $font-questrial;
|
|
font-size: $font-xxxsm;
|
|
line-height: 19px;
|
|
color: $text-normal-100;
|
|
margin-bottom: initial;
|
|
}
|
|
|
|
.price {
|
|
font-family: $text-price-font;
|
|
color: $text-price;
|
|
font-size: $font-xsm;
|
|
|
|
&.offer {
|
|
color: $text-price-offer;
|
|
}
|
|
|
|
&.tachado {
|
|
text-decoration-line: line-through;
|
|
}
|
|
}
|
|
|
|
.header-title {
|
|
margin-block: 90px 50px;
|
|
&.success {
|
|
width: min(100%, 676px);
|
|
margin: 90px auto 64px;
|
|
}
|
|
|
|
& .pege-title {
|
|
font-family: $font-lora;
|
|
font-size: 1.875rem;
|
|
line-height: 1.1;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
margin-bottom: 25px;
|
|
color: $title-default;
|
|
}
|
|
|
|
& .page-subtitle {
|
|
font-family: $font-questrial;
|
|
font-size: 1rem;
|
|
text-align: center;
|
|
&.checkout {
|
|
line-height: 28px;
|
|
}
|
|
}
|
|
}
|
|
|
|
body {
|
|
font-family: $font-lora;
|
|
font-size: 1rem;
|
|
color: $text-default;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1420px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.carousel-content-item .custom-block-content .custom-head-paragraph {
|
|
margin-bottom: -14px;
|
|
}
|
|
|
|
//! QUASAR
|
|
|
|
.q-virtual-scroll__content .q-item .q-item__label {
|
|
font-family: $font-questrial;
|
|
font-size: $font-14;
|
|
color: $text-default;
|
|
line-height: 21px;
|
|
letter-spacing: 0.28px;
|
|
}
|
|
|
|
.checkout-fields {
|
|
& .q-placeholder::placeholder,
|
|
& .q-field__label {
|
|
font-family: $font-questrial;
|
|
font-size: $font-14;
|
|
color: $text-default;
|
|
line-height: 21px;
|
|
letter-spacing: 0.28px;
|
|
}
|
|
}
|
|
|
|
.q-carousel__navigation {
|
|
@media only screen and (max-width: $med-md) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.custom-input-el {
|
|
& .q-placeholder::placeholder {
|
|
font-family: $font-questrial;
|
|
color: $text-normal-100 !important;
|
|
opacity: 1;
|
|
}
|
|
}
|