showroom list v1
This commit is contained in:
@@ -6,6 +6,11 @@ html {
|
||||
scroll-padding-top: 105px;
|
||||
}
|
||||
|
||||
body {
|
||||
&.fixed {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
p {
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
@@ -521,6 +526,250 @@ strong {
|
||||
.box-4 {
|
||||
padding-top: 115px;
|
||||
padding-bottom: 115px;
|
||||
|
||||
.box-4--wrapper {
|
||||
#box-showrooms {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
column-gap: 70px;
|
||||
|
||||
nav#showrooms-nav {
|
||||
margin-top: 105px;
|
||||
min-width: 240px;
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
row-gap: 7px;
|
||||
|
||||
li {
|
||||
&.active {
|
||||
input {
|
||||
font-weight: 700;
|
||||
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.14);
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
color: #1d1d1e;
|
||||
font-family: $font3;
|
||||
font-weight: 300;
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#showrooms-lists {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 50px;
|
||||
width: 100%;
|
||||
|
||||
.showrooms-list {
|
||||
&-1 {
|
||||
.showrooms-list-title {
|
||||
background: #1e2832;
|
||||
h3 {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
&-2 {
|
||||
.showrooms-list-title {
|
||||
h3 {
|
||||
color: #3f3f3f;
|
||||
}
|
||||
}
|
||||
}
|
||||
.showrooms-list-title {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: fit-content;
|
||||
padding: 14px 30px 12px;
|
||||
margin: 0 auto 50px;
|
||||
border-radius: 20px;
|
||||
border: 1px solid #dfdfdf;
|
||||
|
||||
h3 {
|
||||
font-family: $font3;
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.showrooms-list-cards {
|
||||
ol {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(205px, 1fr));
|
||||
row-gap: 60px;
|
||||
column-gap: 40px;
|
||||
|
||||
li.showroom-card {
|
||||
display: none;
|
||||
// display: flex;
|
||||
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
row-gap: 20px;
|
||||
|
||||
&.active {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.showroom-card-text {
|
||||
p {
|
||||
color: $cTxtBlack;
|
||||
font-family: $font3;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.showroom-card-action {
|
||||
input {
|
||||
color: #000000;
|
||||
font-family: $font3;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
text-transform: uppercase;
|
||||
padding: 14px 30px 12px;
|
||||
background: #fff;
|
||||
border: 1px solid #bbbbbb;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.showroom-card--popup {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1;
|
||||
backdrop-filter: blur(3px);
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
|
||||
transition: all 50ms ease-in-out;
|
||||
|
||||
&.active {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.showroom-card--popup-wrapper {
|
||||
width: 650px;
|
||||
margin-top: 120px;
|
||||
background: $cWhite;
|
||||
border-radius: 30px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
|
||||
.popup--head {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
background: #1e2832;
|
||||
padding: 40px 60px 35px 60px;
|
||||
|
||||
p {
|
||||
color: $cWhite;
|
||||
font-family: $font3;
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
margin: 0;
|
||||
|
||||
position: relative;
|
||||
|
||||
&:not(:last-child) {
|
||||
padding-right: 25px;
|
||||
margin-right: 25px;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 3px;
|
||||
width: 1px;
|
||||
background: $cWhite;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.popup--body {
|
||||
padding: 20px;
|
||||
|
||||
.popup--body-info {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 30px;
|
||||
|
||||
p,
|
||||
a {
|
||||
color: $cTxtBlack;
|
||||
font-family: $font3;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
|
||||
strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
.info-name {
|
||||
p {
|
||||
padding-left: 11px;
|
||||
border-left: 5px solid #000;
|
||||
}
|
||||
}
|
||||
.info-time {
|
||||
}
|
||||
.info-products {
|
||||
img {
|
||||
max-height: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.popup--body-map {
|
||||
margin-top: 20px;
|
||||
line-height: 0;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.box-5 {
|
||||
|
||||
Reference in New Issue
Block a user