Files
vidok.com/layout/style-scss/historia-firmy.scss
Roman Pyrih 1a47893680 Refactor styles and update HTML structure for "Historia Firmy" and "O Nas" pages
- Removed commented-out flex property in historia-firmy.scss for active class.
- Added overflow hidden to main-page class in o-nas.scss.
- Adjusted heights for responsive design in o-nas.scss.
- Introduced gradient background for _col-1 in o-nas.scss.
- Updated margin and height properties for various elements in o-nas.scss.
- Removed unnecessary after pseudo-element in o-nas.scss.
- Added feedback slider component in o-nas.php with customer testimonials.
- Updated video element in o-nas.php to include controls and loop attributes.
- Commented out unused sections in o-nas.php for better clarity.
- Implemented Swiper functionality for feedback slider in o-nas.php.
2025-05-05 13:02:54 +02:00

213 lines
4.0 KiB
SCSS

@import 'variables';
@import '_mixins';
#historia-firmy {
._row {
&-1 {
margin-bottom: 100px;
@include respond-below(sm) {
margin-bottom: 60px;
}
@include respond-below(xs) {
margin-bottom: 40px;
}
._col {
&-1 {
}
}
}
&-2 {
#history-timeline {
#timeline-nav {
position: relative;
padding-left: 80px;
padding-right: 80px;
margin-bottom: 60px;
@include respond-below(md) {
padding-left: 40px;
padding-right: 40px;
}
.timeline-nav--wrapper {
&::before {
content: '';
position: absolute;
bottom: 17px;
height: 3px;
width: 100%;
background: #000000;
transform: translateY(-50%);
@include respond-below(md) {
bottom: 12px;
}
}
.swiper-wrapper {
align-items: end;
min-height: 140px;
@include respond-below(md) {
min-height: 100px;
}
}
.swiper-slide {
cursor: pointer;
flex: 0 0 calc(100% / 8);
transition: all 0.3s ease;
@include respond-below(lg) {
flex: 0 0 calc(100% / 6);
}
@include respond-below(md) {
flex: 0 0 calc(100% / 5);
}
@include respond-below(sm) {
flex: 0 0 calc(100% / 4);
}
@include respond-below(xs) {
flex: 0 0 calc(100% / 3);
}
&.active {
flex: 0 0 calc((100% / 8) * 2);
@include respond-below(lg) {
flex: 0 0 calc((100% / 6) * 2);
}
@include respond-below(md) {
flex: 0 0 calc((100% / 5) * 2);
}
@include respond-below(sm) {
flex: 0 0 calc((100% / 4) * 2);
}
@include respond-below(xs) {
flex: 0 0 calc((100% / 3) * 2);
}
span {
font-size: 64px;
@include respond-below(md) {
font-size: 50px;
}
@include respond-below(sm) {
font-size: 40px;
}
}
.slide-dot {
background: #fff246;
border-color: #fff246;
}
}
span {
color: #181c1d;
font-size: 36px;
font-weight: 700;
font-family: $font3;
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 30px;
transition: all 0.3s ease;
@include respond-below(md) {
font-size: 30px;
}
@include respond-below(sm) {
font-size: 26px;
}
}
.slide-dot {
width: 40px;
height: 40px;
display: block;
border: 2px solid #181c1d;
background: #fff;
border-radius: 100px;
transition: all 0.3s ease;
@include respond-below(md) {
width: 30px;
height: 30px;
}
}
}
}
.timeline-next,
.timeline-prev {
position: absolute;
width: 44px;
min-width: 44px;
height: 44px;
background: #181c1d;
display: flex;
align-items: center;
justify-content: center;
border-radius: 100%;
bottom: 47px;
cursor: pointer;
transition: all 0.3s ease;
&.swiper-button-disabled {
opacity: 0.3;
}
@include respond-below(md) {
width: 30px;
min-width: 30px;
height: 30px;
}
}
.timeline-prev {
left: 0;
}
.timeline-next {
right: 0;
img {
transform: scale(-1);
}
}
}
.timeline-content {
width: 100%;
max-width: 900px;
margin-left: auto;
margin-right: auto;
.swiper-slide {
p {
color: $cTxtBlack;
font-size: 20px;
font-family: $font3;
font-weight: 300;
}
> img {
margin-top: 40px;
width: 100%;
max-width: fit-content;
}
ul.logos {
padding: 0;
margin: 0;
list-style: none;
display: flex;
flex-direction: row;
align-items: center;
column-gap: 80px;
row-gap: 20px;
flex-wrap: wrap;
}
}
}
}
}
}
}