Лагерь: CSS

This commit is contained in:
Dekart Deploy Bot 2026-05-11 23:18:56 +03:00
parent bce8db4c93
commit 04611807cb
2 changed files with 19 additions and 21 deletions

View File

@ -463,7 +463,7 @@ html {
height: 81px;
top: -12px;
top: 0;
right: -12px;
@ -1148,18 +1148,17 @@ html {
@media (min-width: 641px) {
.modal-programs__card {
flex-direction: row;
flex-direction: column;
}
.modal-programs__img {
min-width: 260px;
width: 260px;
aspect-ratio: auto;
height: 260px;
border-radius: 20px;
margin: 28px 0 28px 28px;
width: 100%;
aspect-ratio: 16 / 8;
height: auto;
border-radius: 24px 24px 0 0;
margin: 0;
}
.modal-programs__body {
padding: 28px 28px 28px 0;
padding: 28px 28px 32px;
}
.modal-programs__body .programs__item_title {
font-size: 24px;
@ -1168,13 +1167,10 @@ html {
@media (min-width: 1024px) {
.modal-programs__img {
min-width: 300px;
width: 300px;
height: 300px;
margin: 36px 0 36px 36px;
aspect-ratio: 16 / 7;
}
.modal-programs__body {
padding: 36px 36px 36px 0;
padding: 32px 36px 36px;
}
}
@ -1213,7 +1209,7 @@ html {
.pricing-card--full::before {
content: 'Рекомендуем';
position: absolute;
top: -12px;
top: 0;
left: 50%;
transform: translateX(-50%);
background: #ae5fcd;
@ -1914,7 +1910,7 @@ html {
}
.camp-reviews-wrapper .reviews-wrapper {
margin-top: -12px;
margin-top: 0;
}
.camp-reviews-wrapper .reviews__item,
@ -1984,7 +1980,7 @@ html {
.modal-camp-request-form {
position: fixed;
top: -12px;
top: 0;
left: 0;
width: 100%;
height: 100%;
@ -2182,7 +2178,7 @@ html {
height: 79px;
width: 84px;
left: -30px;
top: -12px;
top: 0;
}
@media (min-width: 1024px) {
.hero-media-search__frame .doodle--top-left {
@ -2915,7 +2911,7 @@ html {
}
.banner-add .banner_btn {
margin-top: -12px;
margin-top: 0;
width: 100%;
}

View File

@ -35,7 +35,8 @@ document.addEventListener("click", function (event) {
const target = event.target;
if (target.classList.contains("btn-close-request-form-camp")) {
modalCampRequestForm.classList.add('hidden');
document.body.style.overflow = "";
modalCampRequestForm.classList.add("hidden");
return;
}
@ -45,7 +46,8 @@ document.addEventListener("click", function (event) {
window.b24campLoaded = true;
modalCampRequestForm.classList.remove('hidden');
document.body.style.overflow = "hidden";
modalCampRequestForm.classList.remove("hidden");
var container = modalCampRequestForm.querySelector('.b24-form-container');
if (!container.querySelector('.b24-form')) {