ldc-boutique-cnc/integration/css/media.css
Olivier Legat d93553b396 Squashed commit of the following:
commit a962eca9b609623804bd8cfe57c246a61e77a382
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Thu Mar 4 17:41:46 2021 +0100

    responsive

commit a44ff3bde60c2af1db3169115a90741b8e868037
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Wed Mar 3 17:50:58 2021 +0100

    end tunnel

commit 4c40e47ae861909f76b92b0440d48b378ee621c2
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Mar 2 18:10:17 2021 +0100

    heure de collecte

commit e05d598006060880f79573108e0c66fccfcfc62c
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Mon Mar 1 17:47:48 2021 +0100

    tunnel page 3

commit b85f96a655e868096aa42e9f99b2f67c49a041c3
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Fri Feb 26 13:16:05 2021 +0100

    Tunnel d'achat start

commit cdf9a38e8f5d38ffcc1728415f0b58b22ff455df
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Thu Feb 25 20:35:44 2021 +0100

    cart full

commit 9db34a8ab6881b1b88adebaa6426b6944608de47
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Wed Feb 24 17:40:18 2021 +0100

    work in progress - cart panel

commit 0a698cb62eb26b52f3b48f5ac8a39b89c34617f4
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Feb 23 17:05:13 2021 +0100

    sassification des css

commit 5c277ae10d9ae8e0225a0f7d57d81146e43da146
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue Feb 23 16:37:01 2021 +0100

    integration bato
2021-03-05 11:49:20 +01:00

913 lines
No EOL
14 KiB
CSS
Vendored

@media screen and (max-width: 1365px) {
.wrapper {
width: 1240px;
}
}
@media screen and (max-width: 1240px) {
.wrapper {
width: 1024px;
}
.related-products__row-block {
flex: 25%;
}
.related-products__row-block_wide {
flex: 50%;
}
.product__related-products .related-products__row-block_wide {
order: 99;
}
}
@media screen and (max-width: 1080px) {
body {
font-size: 14px;
}
input, textarea {
font-size: 14px;
}
.title {
font-size: 32px;
}
.title_medium {
font-size: 26px;
}
.title_small,
.description h4 {
font-size: 22px;
}
.title_xs,
.description h5 {
font-size: 18px;
}
.btn,
.auth-form__links a.btn {
font-size: 16px;
height: 42px;
padding: 10px 15px;
}
.pl-item__btn {
width: 42px;
}
.search-form__btn {
height: 38px;
}
.header__logo img {
max-width: 230px;
transform: translateX(-35%);
}
.breadrumbs__inner {
min-height: 60px;
}
.swiper-nav__arrow {
width: 30px;
height: 30px;
}
.mainslider-item {
padding: 40px 30px;
min-height: 400px;
}
.mainslider-item__block {
padding: 30px;
}
.mainslider-item__btn {
font-size: 15px;
margin-top: 20px;
}
.rp-slider__item-title {
font-size: 20px;
}
.rp-slider .swiper-nav__arrow_prev {
left: -35px;
}
.rp-slider .swiper-nav__arrow_next {
right: -35px;
}
.hero-banner__wrapper {
height: 220px;
}
.product-list__block {
padding: 0 10px;
}
}
@media screen and (max-width: 1000px) {
.mobile {
position: static;
}
body .desktop {
display: none;
}
.title {
font-size: 28px;
}
.title_medium {
font-size: 22px;
}
.title_small,
.description h4 {
font-size: 20px;
}
.title_xs,
.description h5 {
font-size: 16px;
}
.section {
padding: 30px 0;
}
.main {
padding-bottom: 0;
}
.menu-trigger__lines {
margin: 0;
}
.menu-trigger__text {
display: none;
}
.header-actions__item-title {
display: none;
}
.footer-links li {
padding: 0 10px;
}
.top-block {
justify-content: center;
}
.top-block__title {
text-align: center;
}
.steps__list {
flex-flow: row wrap;
padding-bottom: 50px;
}
.steps__item {
width: 34%;
padding: 0;
margin-bottom: 50px;
}
.steps__item_arrow {
display: none;
}
.steps__item-num {
display: block;
}
.steps__item-image {
height: 120px;
}
.steps__item_2,
.steps__item_4 {
transform: translateY(100px);
}
.engagements__list {
display: block;
}
.engagements-item {
display: flex;
width: 100%;
padding: 0;
text-align: left;
}
.engagements-item:not(:last-child) {
margin-bottom: 40px;
}
.engagements-item>div {
flex: 1;
padding: 0 15px;
}
.engagements-item__image {
margin-bottom: 0;
justify-content: flex-end;
align-items: flex-start;
height: unset;
}
.engagements-item__image img {
max-height: 85px;
}
.engagements-item:nth-child(even) .engagements-item__image {
justify-content: flex-start;
}
.engagements-item:nth-child(even) .engagements-item__info {
order: -1;
justify-content: flex-end;
text-align: right;
}
.subscribe__block {
display: block;
padding: 15px 18px;
}
.subscribe__title {
text-align: center;
margin-bottom: 10px
}
.subscribe__form {
justify-content: center;
}
.contacts__map iframe {
height: 360px;
}
.pl-item {
height: 305px;
margin: 0 auto 20px;
}
.pl-item:not(.pl-item_offre) {
padding: 10px 10px 20px;
}
.pl-item__title {
height: 45px;
align-items: flex-start;
}
.pl-item__price {
font-size: 14px;
}
.pl-item__btn {
width: 38px;
height: 38px;
background-size: 50% auto;
}
.related-products .top-block {
margin: 0 -10px;
}
}
@media screen and (max-width: 768px) {
.flex-row {
flex-direction: column;
margin: 0;
}
.flex-row__block {
margin-left: 0;
margin-right: 0
}
.wrapper {
width: 100%;
}
.menu-block:not(:last-child) {
margin-right: 40px;
}
.footer {
padding: 20px 0;
}
.footer-links {
display: block;
}
.footer-links li {
padding: 0;
margin-bottom: 10px;
}
.footer-links li:last-child {
margin-bottom: 0;
}
.footer-links li::before,
.footer-links li::after {
display: none;
}
.hero-banner__wrapper {
height: 180px;
}
.contact-page__row {
display: block;
}
.contact-page__row-block {
padding: 0;
}
.contacts__map {
margin-bottom: 40px;
}
.contacts__map iframe {
height: 260px;
}
.product .flex-row__block:last-child {
order: -1;
}
.product__block {
padding-top: 15px;
padding-bottom: 0;
}
.product-benefits__title {
text-align: center;
}
.product-benefits__list {
margin: 0 -1.5%;
}
.product-benefits__item {
width: 30%;
margin: 0 1.5% 20px;
min-width: 200px;
height: 55px;
}
.product-benefits__item-image {
max-width: 30px;
}
.product-benefits__item-text {
font-size: 14px;
}
.product-list__block {
flex: 33.33%;
}
.block-about__title_desktop {
display: none;
}
.block-about__title_mobile {
display: block;
}
}
@media screen and (max-width: 640px) {
body {
font-size: 13px;
}
.title {
font-size: 26px;
}
.title_medium {
font-size: 18px;
}
.title_small,
.description h4 {
font-size: 16px;
}
.title_xs,
.description h5 {
font-size: 14px;
}
.btn,
.auth-form__links a.btn {
height: 38px;
font-size: 14px;
}
.pl-item__btn {
width: 38px;
}
.breadrumbs .left__offset {
display: none;
}
.breadrumbs__inner {
padding-top: 25px;
padding-left: 20px;
}
.header__block_middle {
display: none;
}
.menu__container {
padding-top: 40px;
}
.menu-block {
margin: 0 0 20px;
width: 100%;
}
.header-actions__item:not(:last-child) {
margin-right: 10px;
}
.header-actions__item-icon {
margin: 0;
}
.breadrumbs__inner {
min-height: 40px;
}
.mainslider-item {
min-height: 340px;
}
.tc-text__title {
text-align: left;
}
.tc-text__text {
columns: unset;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
max-height: calc(1.25 * 56px);
}
.tc-text.active .tc-text__text {
-webkit-line-clamp: unset;
max-height: unset;
}
.tc-text__readmore {
display: flex;
}
.steps__item {
width: 50%;
}
.steps__item-num {
font-size: 12rem;
}
.steps__item-image {
height: 100px;
margin-bottom: 0;
}
.engagements-item>div {
padding: 0 5px;
}
.related-products__item {
width: 216px;
}
.hero-banner__wrapper {
height: 140px;
}
.pagination__block_nav {
display: none;
}
.product-list__block {
flex: 50%;
}
}
@media screen and (max-width: 480px) {
/* body {
font-size: 12px;
}*/
input.form__input, textarea.form__input {
height: 20px;
font-size: 9px;
padding-left: 10px;
}
textarea.form__input {
height: 80px;
}
.custom-input span::before {
width: 14px;
height: 14px;
}
.custom-input span::after {
width: 6px;
height: 6px;
top: 4px;
left: 4px;
}
.field__error {
font-size: 11px;
}
.section {
padding: 15px 0;
}
.wrapper {
width: 100%;
padding: 0 20px;
box-sizing: border-box;
}
.wrapper-inner {
padding: 0 10px;
}
.tc-text__wrapper-inner,
.product__wrapper-inner {
padding: 0;
}
/* .title {
font-size: 18px;
}
.title_medium {
font-size: 15px;
}
.title_small,
.description h4 {
font-size: 13px;
}
.title_xs,
.description h5 {
font-size: 12px;
}*/
.title {
font-size: 21px;
}
.title_medium {
font-size: 20px;
}
.title_small,
.description h4 {
font-size: 13px;
}
.title_xs,
.description h5 {
font-size: 13px;
}
.breadrumbs__inner {
padding-left: 10px;
}
.btn,
.auth-form__links a.btn {
height: 24px;
font-size: 9px;
padding: 5px 10px;
}
.pl-item__btn {
width: 24px;
}
.swiper-nav__arrow {
width: 17px;
height: 17px;
}
.swiper-nav .swiper-nav__arrow_next {
right: -25px;
}
.swiper-nav .swiper-nav__arrow_prev {
left: -25px;
}
.breadrumbs__inner {
min-height: 20px;
}
.header__container {
padding: 10px 0;
}
.header .left__offset {
flex: 0 0 auto;
width: 80px;
padding-right: 20px;
}
.header__logo img {
max-width: 160px;
right: unset;
left: -10px;
top: 5px;
}
.menu__inner .left__offset {
display: none;
}
.mainslider-item {
min-height: 105px;
padding: 10px;
}
.mainslider-item__block {
width: 100%;
padding: 0;
}
.mainslider-item__block::after,
.mainslider-item__title,
.mainslider-item__text {
display: none;
}
.mainslider-item__btn {
margin: 0 0 0 auto;
}
.mainslider__pagination {
display: none;
}
.hero-banner {
margin-bottom: 15px;
}
.tc-text__text {
max-height: calc(1.25 * 48px);
}
.steps__list {
padding-top: 10px;
padding-bottom: 0;
}
.steps__item_2, .steps__item_4 {
transform: translateY(50px);
}
.steps__item-image {
height: 40px;
}
.steps__item-num {
font-size: 6rem;
}
.rp-slider__item {
width: 127px;
min-width: 100%;
}
.rp-slider__item-title {
height: 42px;
}
.rp-slider__item-image {
height: 106px;
}
.rp-slider__item-btn {
bottom: 40px;
}
.rp-slider .swiper-nav__arrow {
bottom: 45px;
}
.related-products-mobile__slider {
margin-bottom: 15px;
}
.related-products__item {
width: 110px;
min-width: 100%;
padding: 5px;
}
.related-products__item {
height: 173px;
}
.related-product__image {
height: 80px;
margin-bottom: 15px;
}
.related-product__title {
height: 30px;
margin-bottom: 5px;
}
.related-products-mobile__nav .swiper-nav__arrow {
bottom: 80px;
}
.related-product__price {
font-size: 10px;
}
.related-product .related-product__btn {
width: 26px;
height: 24px;
background-size: 60% auto;
}
.engagements .wrapper {
padding: 0 13px;
}
.engagements .wrapper-inner {
padding: 0;
}
.engagements-item:not(:last-child) {
margin-bottom: 20px;
}
.engagements-item>div {
padding: 0;
}
.engagements-item__image {
transform: translateX(-10px);
}
.engagements-item:nth-child(even) .engagements-item__image {
transform: translateX(10px);
}
.engagements-item__image img {
max-height: 61px;
}
.engagements-item__text br {
display: none;
}
.subscribe__title {
margin-bottom: 8px;
}
.subscribe button {
height: 19px;
}
.auth-form {
padding-top: 0;
margin-bottom: 0;
}
.auth-form__form {
padding: 20px;
}
.auth-form__links {
display: block;
text-align: center;
}
.auth-form__links a {
display: flex;
justify-content: center;
margin: 0 auto;
font-size: 12px;
}
.auth-form__links a:not(:last-child) {
margin-bottom: 10px;
}
.product__qty {
height: 26px;
margin-right: 0;
}
input.product__qty-input {
height: 100%;
}
body .product__price {
font-size: 16px;
width: 100%;
margin-bottom: 15px;
}
.product__btn-wrap {
margin-left: auto;
}
/*
.product__btn-wrap {
width: 100%;
padding-top: 15px;
}*/
.product__add2cart {
margin-left: auto;
}
.product-list__block {
flex: 100%;
}
.login-page {
min-height: 400px;
}
.contact-page__content {
padding-top: 0;
}
.form__row {
display: block;
}
.form__row .form__field {
width: 100%;
}
.mentios-page__title {
margin-bottom: 5px;
}
}