Doors page

This commit is contained in:
Roman Pyrih
2024-12-06 14:18:13 +01:00
parent 12d666b24e
commit e791076354
10 changed files with 340 additions and 31 deletions

View File

@@ -13,10 +13,77 @@
}
#product-preview-box {
margin-bottom: 0;
.product-preview-box {
.scontainer-content {
.product-preview {
padding-left: 0;
.row {
&:not(:last-child) {
margin-bottom: 110px;
padding-bottom: 110px;
border-bottom: 1px solid #000;
}
}
}
h3 {
color: #000;
font-size: 32px;
font-weight: 300;
letter-spacing: 4px;
line-height: 1;
margin-bottom: 40px;
text-transform: uppercase;
}
#nav_tabs {
margin-bottom: 50px;
padding-bottom: 0;
&::before {
display: none;
}
}
.product-doors-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
column-gap: 30px;
row-gap: 40px;
li {
display: flex;
flex-direction: column;
row-gap: 16px;
align-items: center;
img {
width: 100%;
max-width: fit-content;
}
p {
margin-bottom: 0;
text-align: center;
color: #000;
font-size: 20px;
font-weight: 700;
letter-spacing: 1px;
line-height: 1;
font-family: 'URW Form', sans-serif;
}
}
}
.product-doors-list-more {
padding-top: 40px;
display: none;
}
.c-button {
margin-top: 40px;
}
}
}
@@ -24,43 +91,41 @@
}
.box-02 {
margin-bottom: 140px;
.scontainer-content {
.row {
}
}
}
.colors-box-header {
padding: 45px 50px 30px;
background: #f4f4f4;
h2 {
font-size: 30px;
font-weight: 300;
line-height: 25px;
letter-spacing: 0.15em;
}
p {
font-size: 16px;
font-weight: 300;
line-height: 25px;
letter-spacing: 0.05em;
margin-bottom: 0;
}
.c-row {
.box-03 {
.scontainer-content {
a {
display: flex;
flex-direction: row;
column-gap: 40px;
align-items: center;
column-gap: 15px;
.c-col {
&-2 {
display: flex;
justify-content: center;
flex: 1;
}
color: #000;
font-size: 30px;
font-weight: 400;
line-height: 1;
letter-spacing: 1px;
font-family: 'URW Form', sans-serif;
margin-bottom: 16px;
img {
padding-bottom: 7px;
}
}
p {
margin-bottom: 0;
font-size: 15px;
font-weight: 400;
line-height: 1;
letter-spacing: 1px;
}
}
}

View File

@@ -6544,12 +6544,166 @@ footer {
margin-bottom: 70px;
.scontainer-content {
.colors-box-header {
padding: 45px 50px 30px;
margin-bottom: 50px;
background: #f4f4f4;
h2 {
font-size: 30px;
font-weight: 300;
line-height: 25px;
letter-spacing: 0.15em;
}
p {
font-size: 16px;
font-weight: 300;
line-height: 25px;
letter-spacing: 0.05em;
margin-bottom: 0;
}
.c-row {
display: flex;
flex-direction: row;
column-gap: 40px;
.c-col {
&-2 {
display: flex;
justify-content: center;
flex: 1;
}
}
}
}
.colors-preview {
display: none;
&.active {
display: block;
}
.color-tiles-rows {
.color-tiles {
&:not(:last-child) {
margin-bottom: 130px;
}
.color-tiles-title {
}
.color-tiles-data {
display: flex;
flex-direction: row;
flex-wrap: wrap;
column-gap: 17px;
row-gap: 17px;
align-items: flex-start;
overflow: hidden;
li {
flex: 0 0 calc(100% / 3 - (17px * 2 / 3));
@include respond-below(md) {
flex: 0 0 calc(100% / 2 - (17px / 2));
&.empty {
display: none;
}
}
@include respond-below(sm) {
flex: 0 0 100%;
}
}
}
}
}
}
}
}
button.c-button {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
max-width: 250px;
min-height: 38px;
background: $cWhite;
border: 1px solid $cBlack;
padding: 0 20px;
outline: none !important;
background: $cWhite;
transition: background 250ms ease-in-out;
cursor: pointer;
&:hover {
background: $cBlack;
p {
color: $cTxtWhite;
}
span {
border-color: $cWhite;
&::before,
&::after {
background: $cWhite;
}
}
}
p {
font-weight: 300;
font-size: 16px;
line-height: 20px;
letter-spacing: 0.15em;
text-transform: uppercase;
margin-bottom: 0;
transition: color 250ms ease-in;
}
span {
position: relative;
width: 20px;
height: 20px;
border-radius: 100%;
border: 1px solid $cBlack;
transition: border 250ms ease-in;
&::before {
content: '';
position: absolute;
left: 50%;
top: 50%;
width: 10px;
height: 1px;
background: $cBlack;
border-radius: 3px;
transform: translate(-50%, -50%);
transition: background 250ms ease-in;
}
&::after {
content: '';
position: absolute;
left: 50%;
top: 50%;
width: 10px;
height: 1px;
background: $cBlack;
border-radius: 3px;
transform: translate(-50%, -50%) rotate(90deg);
transition: width 250ms ease-in, background 250ms ease-in;
}
}
@include respond-below(md) {
margin-left: 30px;
}
}

View File

@@ -0,0 +1,77 @@
@import 'variables';
@import '_mixins';
.page-content {
overflow: hidden;
}
.box-01 {
padding-bottom: 80px;
@include respond-below(md) {
padding-bottom: 50px;
}
#scontainer-137 {
h2 {
color: #000;
font-size: 32px;
font-weight: 300;
letter-spacing: 4px;
line-height: 1;
font-family: 'URW Form', sans-serif;
text-transform: uppercase;
margin-bottom: 40px;
}
ul {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(292px, 1fr));
column-gap: 70px;
row-gap: 40px;
li {
display: flex;
flex-direction: column;
align-items: center;
row-gap: 4px;
img {
width: 100%;
max-width: 292px;
}
p {
color: #000;
font-size: 19px;
font-weight: 400;
font-family: 'URW Form', sans-serif;
letter-spacing: 3px;
margin: 0;
text-transform: uppercase;
}
}
}
.row {
&:not(:last-child) {
margin-bottom: 90px;
}
}
}
}
.box-02 {
margin-bottom: 140px;
.scontainer-content {
p {
margin: 0;
color: #000;
font-size: 15px;
font-weight: 400;
font-family: 'URW Form', sans-serif;
letter-spacing: 1px;
text-transform: uppercase;
}
}
}