Save
This commit is contained in:
217
wp-content/plugins/elementor-addon/assets/css/main.scss
Normal file
217
wp-content/plugins/elementor-addon/assets/css/main.scss
Normal file
@@ -0,0 +1,217 @@
|
||||
.apartaments {
|
||||
.apartament-card {
|
||||
&__wrapper {
|
||||
position: relative;
|
||||
width: 1264px;
|
||||
margin: 0 auto;
|
||||
padding: 93px 126px 26px;
|
||||
border: 4px solid #192c44;
|
||||
|
||||
.apartament-card__title {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 0;
|
||||
transform: translateX(-50%);
|
||||
|
||||
background: #192c44;
|
||||
|
||||
h2 {
|
||||
color: #ffffff;
|
||||
font-family: 'Barlow', sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 32px;
|
||||
line-height: 1.3;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding: 5px 70px 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.apartament-card__gallery {
|
||||
position: relative;
|
||||
line-height: 0;
|
||||
margin-bottom: 17px;
|
||||
|
||||
.swiper-button-prev {
|
||||
left: 0;
|
||||
transform: translateX(calc(-100% - 30px));
|
||||
|
||||
width: 43px;
|
||||
height: 119px;
|
||||
}
|
||||
.swiper-button-next {
|
||||
right: 0;
|
||||
transform: translateX(calc(100% + 30px));
|
||||
|
||||
width: 43px;
|
||||
height: 119px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
}
|
||||
}
|
||||
|
||||
.apartament-card__info {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 26px;
|
||||
margin-bottom: 15px;
|
||||
|
||||
.apartament-card__info_col1 {
|
||||
border: 4px solid #192c44;
|
||||
padding: 25px 10% 10px;
|
||||
|
||||
table,
|
||||
tr,
|
||||
td {
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
table {
|
||||
tr {
|
||||
&.apartament-card__status {
|
||||
td {
|
||||
span {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0 -8px;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
&.available {
|
||||
&::before {
|
||||
background: #c1e8a8;
|
||||
}
|
||||
}
|
||||
&.reserved {
|
||||
&::before {
|
||||
background: #f4eba8;
|
||||
}
|
||||
}
|
||||
&.sold {
|
||||
&::before {
|
||||
background: #f54040;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.apartament-card__price-history {
|
||||
.apartament-card__info_table-value {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 26px;
|
||||
|
||||
display: inline-flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
padding-top: 10px;
|
||||
cursor: pointer;
|
||||
|
||||
svg {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
td {
|
||||
width: 50%;
|
||||
|
||||
color: #192c44;
|
||||
font-family: 'Barlow', sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 22px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.apartament-card__info_col2 {
|
||||
border: 4px solid #192c44;
|
||||
padding: 25px 10% 10px;
|
||||
align-content: center;
|
||||
|
||||
.card__info_col2__img {
|
||||
margin-bottom: 40px;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
max-width: fit-content;
|
||||
}
|
||||
}
|
||||
.card__info_col2__data {
|
||||
a {
|
||||
color: #192c44;
|
||||
font-family: 'Barlow', sans-serif;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
line-height: 1.8;
|
||||
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
|
||||
svg {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.apartament-card__desc {
|
||||
p {
|
||||
color: #192c44;
|
||||
font-family: 'Barlow', sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 20px;
|
||||
line-height: 1.05;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
|
||||
li {
|
||||
position: relative;
|
||||
padding-left: 25px;
|
||||
|
||||
color: #192c44;
|
||||
font-family: 'Barlow', sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 20px;
|
||||
line-height: 30px;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 10px;
|
||||
width: 9px;
|
||||
height: 13px;
|
||||
background-image: url('/wp-content/uploads/2026/03/Polygon-2.svg');
|
||||
background-position: center;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user