152 lines
2.8 KiB
SCSS
152 lines
2.8 KiB
SCSS
.explore-cards {
|
|
width: 100%;
|
|
height: 356px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.explore-scroll {
|
|
width: 100%;
|
|
height: 356px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.explore-track {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
min-width: 100%;
|
|
height: 356px;
|
|
padding: 0 16px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.explore-card {
|
|
position: relative;
|
|
flex: 0 0 278px;
|
|
width: 278px;
|
|
height: 356px;
|
|
margin-right: 16px;
|
|
overflow: hidden;
|
|
border-radius: 28px;
|
|
background: #47b391;
|
|
color: #ffffff;
|
|
box-sizing: border-box;
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
.explore-card:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.explore-card.is-pressed {
|
|
opacity: 0.92;
|
|
}
|
|
|
|
.explore-card-image {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.explore-card-gradient {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: linear-gradient(180deg, rgba(43, 107, 122, 0) 42%, rgba(71, 179, 145, 0.72) 74%, #47b391 100%);
|
|
}
|
|
|
|
.explore-card.is-culture {
|
|
background: #b98563;
|
|
}
|
|
|
|
.explore-card.is-culture .explore-card-gradient {
|
|
background: linear-gradient(180deg, rgba(87, 57, 37, 0.08) 36%, rgba(150, 93, 55, 0.62) 72%, #b98563 100%);
|
|
}
|
|
|
|
.explore-card.is-adventure {
|
|
background: #5b895f;
|
|
}
|
|
|
|
.explore-card.is-adventure .explore-card-gradient {
|
|
background: linear-gradient(180deg, rgba(30, 58, 47, 0) 36%, rgba(47, 97, 54, 0.74) 74%, #5b895f 100%);
|
|
}
|
|
|
|
.explore-card.is-nightlife {
|
|
background: #438694;
|
|
}
|
|
|
|
.explore-card.is-nightlife .explore-card-gradient {
|
|
background: linear-gradient(180deg, rgba(12, 47, 78, 0.04) 34%, rgba(28, 92, 111, 0.72) 74%, #438694 100%);
|
|
}
|
|
|
|
.explore-card-content {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 104px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
padding: 14px 58px 15px 16px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.3);
|
|
background: rgba(255, 255, 255, 0.15);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.explore-card-tag {
|
|
display: block;
|
|
max-width: 100%;
|
|
margin-bottom: 9px;
|
|
color: rgba(255, 255, 255, 0.92);
|
|
font-size: 11px;
|
|
line-height: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: 1.06px;
|
|
}
|
|
|
|
.explore-card-title {
|
|
display: block;
|
|
max-width: 100%;
|
|
margin-bottom: 4px;
|
|
color: #ffffff;
|
|
font-size: 22px;
|
|
line-height: 27px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.explore-card-desc {
|
|
display: block;
|
|
max-width: 100%;
|
|
color: rgba(255, 255, 255, 0.82);
|
|
font-size: 13px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.explore-card-arrow {
|
|
position: absolute;
|
|
right: 16px;
|
|
bottom: 35px;
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
color: #2a3538;
|
|
box-shadow: 0 4px 6px rgba(44, 39, 32, 0.1);
|
|
}
|
|
|
|
.explore-card-arrow text {
|
|
font-size: 18px;
|
|
line-height: 18px;
|
|
font-weight: 900;
|
|
}
|