Files
celek.pagedev.pl/wp-content/plugins/elementor-addon/assets/css/main.scss
Roman Pyrih e35c76f397 Save
2026-01-13 14:26:03 +01:00

345 lines
5.9 KiB
SCSS

.elementor-widget-author_big_box {
.box-row {
display: flex;
align-items: flex-start;
column-gap: 160px;
@media (max-width: 1366px) {
column-gap: 80px;
}
@media (max-width: 1024px) {
flex-direction: column;
align-items: center;
row-gap: 50px;
}
.box-col-1 {
width: 415px;
min-width: 415px;
.box-img {
img {
width: 100%;
max-width: 415px;
}
}
@media (max-width: 500px) {
width: 100%;
min-width: 100%;
}
}
.box-col-2 {
width: 100%;
max-width: 850px;
display: flex;
flex-direction: column;
row-gap: 50px;
.author-head {
display: flex;
flex-direction: column;
row-gap: 10px;
// @media (max-width: 1024px) {
// align-items: center;
// text-align: center;
// }
h2 {
color: #0d183d;
font-family: 'General Sans Variable', sans-serif;
font-weight: 500;
font-size: 32px;
line-height: 1.05;
margin: 0;
@media (max-width: 767px) {
font-size: 26px;
}
}
h3 {
color: #b58857;
font-family: 'General Sans Variable', sans-serif;
font-weight: 400;
font-size: 32px;
line-height: 1.05;
margin: 0;
@media (max-width: 767px) {
font-size: 26px;
}
}
}
.author-content {
// @media (max-width: 1024px) {
// align-items: center;
// text-align: center;
// }
p {
color: #0c1e21;
font-family: 'General Sans Variable', sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 1.6;
margin-top: 0;
text-align: justify;
&:last-child {
margin-bottom: 0;
}
@media (max-width: 767px) {
font-size: 18px;
}
}
}
}
}
}
.elementor-widget-author_mini_box {
.box-row {
display: flex;
align-items: flex-start;
column-gap: 50px;
@media (max-width: 1024px) {
flex-direction: column;
align-items: center;
}
.box-col-1 {
width: 270px;
min-width: 270px;
.box-img {
img {
width: 100%;
max-width: 270px;
}
}
@media (max-width: 1366px) {
width: 190px;
min-width: 190px;
.box-img {
img {
width: 100%;
max-width: 190px;
}
}
}
}
.box-col-2 {
width: 100%;
max-width: 850px;
display: flex;
flex-direction: column;
row-gap: 50px;
padding-top: 60px;
@media (max-width: 1366px) {
row-gap: 30px;
padding-top: 30px;
}
@media (max-width: 1024px) {
text-align: center;
row-gap: 20px;
}
.author-head {
display: flex;
flex-direction: column;
row-gap: 10px;
h2 {
color: #0d183d;
font-family: 'General Sans Variable', sans-serif;
font-weight: 500;
font-size: 32px;
line-height: 1.05;
margin: 0;
@media (max-width: 1366px) {
font-size: 26px;
}
@media (max-width: 767px) {
font-size: 22px;
}
}
h3 {
color: #b58857;
font-family: 'General Sans Variable', sans-serif;
font-weight: 400;
font-size: 32px;
line-height: 1.05;
margin: 0;
@media (max-width: 1366px) {
font-size: 26px;
}
@media (max-width: 767px) {
font-size: 22px;
}
}
}
.author-content {
&.active {
.author-content-head {
span {
&::after {
height: 0;
}
}
}
}
.author-content-head {
display: inline-flex;
flex-direction: row;
align-items: center;
gap: 10px;
cursor: pointer;
p {
color: #0c1e21;
font-family: 'General Sans Variable', sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 1;
margin: 0;
@media (max-width: 1366px) {
font-size: 18px;
}
@media (max-width: 767px) {
font-size: 16px;
}
}
span {
position: relative;
display: inline-block;
width: 10px;
height: 10px;
&::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 10px;
height: 2px;
background: #0d183d;
transform: translate(-50%, -50%);
}
&::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 2px;
height: 10px;
background: #0d183d;
transform: translate(-50%, -50%);
transition: all 250ms ease-in-out;
}
}
}
.author-content-body {
display: none;
&--wrapper {
padding-top: 40px;
}
p {
color: #7a7a7a;
font-family: 'General Sans Variable', sans-serif;
font-weight: 400;
font-size: 16px;
line-height: 1.6;
margin-top: 0;
text-align: justify;
&:last-child {
margin-bottom: 0;
}
@media (max-width: 1366px) {
font-size: 18px;
}
@media (max-width: 1024px) {
text-align: left;
}
@media (max-width: 767px) {
font-size: 16px;
}
}
}
}
}
}
}
.elementor-widget-partners_slider {
.partners-slider {
position: relative;
&::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 120px;
background: linear-gradient(90deg, #f4f4f8 0%, #f4f4f800 100%);
z-index: 2;
}
&::after {
content: '';
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 120px;
background: linear-gradient(-90deg, #f4f4f8 0%, #f4f4f800 100%);
z-index: 2;
}
.swiper-wrapper {
-webkit-transition-timing-function: linear !important;
-o-transition-timing-function: linear !important;
transition-timing-function: linear !important;
.swiper-slide {
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
width: 270px;
height: 120px;
background: #ffffff;
&:hover {
img {
filter: grayscale(0);
}
}
img {
filter: grayscale(1);
transition: all 250ms ease-in-out;
}
> a {
position: absolute;
inset: 0;
}
}
}
}
}