mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:29:45 +00:00
изменила контактную форму, доработала навбар, партнёры
This commit is contained in:
1 parent
79fc2eeb98
commit
d24fecd5e4
25 files changed
+620
-236
No files matched your search
@@ -8,7 +8,7 @@
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 50vh;
|
||||
height: 48vh;
|
||||
bottom: 10px;
|
||||
|
||||
.slide-image {
|
||||
@@ -16,7 +16,7 @@
|
||||
height: auto;
|
||||
height: 350px;
|
||||
object-fit: cover;
|
||||
object-position: center center;
|
||||
object-position: center center; //
|
||||
border-radius: 8px;
|
||||
pointer-events: none;
|
||||
}
|
||||
@@ -42,8 +42,20 @@
|
||||
}
|
||||
|
||||
/* стрелки */
|
||||
.swiper-button-prev,
|
||||
.swiper-button-next {
|
||||
/* Кастомные стрелки */
|
||||
.custom-navigation {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 100%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.custom-prev,
|
||||
.custom-next {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background-color: white;
|
||||
@@ -53,27 +65,63 @@
|
||||
align-items: center;
|
||||
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
|
||||
cursor: pointer;
|
||||
font-size: 24px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
&::after {
|
||||
font-size: 18px;
|
||||
font-weight: 1000;
|
||||
color: black;
|
||||
.custom-prev {
|
||||
margin-left: -70px;
|
||||
@media (max-width: 768px) {
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Позиционирование стрелок */
|
||||
.swiper-button-prev {
|
||||
left: 5px;
|
||||
|
||||
.custom-next {
|
||||
margin-right: -70px;
|
||||
@media (max-width: 768px) {
|
||||
left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-button-next {
|
||||
right: 5px;
|
||||
.slider.news {
|
||||
.swiper-slide {
|
||||
opacity: 0.5;
|
||||
transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
|
||||
height: 65vh;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
right: 0px;
|
||||
.slide-image {
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
opacity: 1;
|
||||
transition: none;
|
||||
height: 48vh;
|
||||
.slide-image {
|
||||
height: 350px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.swiper-slide-active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.no-animation .swiper-slide {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.swiper-wrapper:has(.swiper-slide.single) {
|
||||
justify-content: center !important;
|
||||
}
|
||||
.swiper-slide-prev,
|
||||
.swiper-slide-next {
|
||||
opacity: 0.7;
|
||||
transform: scale(0.9);
|
||||
@media (max-width: 768px) {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user