feat:최초 업로드
This commit is contained in:
677
assets/css/main.scss
Normal file
677
assets/css/main.scss
Normal file
@@ -0,0 +1,677 @@
|
||||
@charset "UTF-8";
|
||||
@import 'utils.scss';
|
||||
/*변수파일 import*/
|
||||
|
||||
@keyframes fadein {
|
||||
from {
|
||||
opacity: 0.9;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.contentWarp.main{
|
||||
margin-bottom:0;
|
||||
.mainWarpInner{
|
||||
width:120rem;
|
||||
margin:0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.mainTopKey{
|
||||
width:100%;
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:50%;
|
||||
transform: translate(-50%, 0);
|
||||
z-index: 2;
|
||||
@include desktopMin{
|
||||
max-width: 192rem;
|
||||
}
|
||||
.mainSwiper{
|
||||
max-width: 192rem;
|
||||
width:100%;
|
||||
top:0;
|
||||
left:50%;
|
||||
transform: translate(-50%, 0);
|
||||
height:64rem;
|
||||
background-size: cover;
|
||||
z-index: 0;
|
||||
@include tablet{
|
||||
height:64rem;
|
||||
}
|
||||
@include desktopMin{
|
||||
height:69rem;
|
||||
}
|
||||
@include desktopMax{
|
||||
height:85.5rem;
|
||||
}
|
||||
&::before{
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
width:100%;
|
||||
height:8rem;
|
||||
top:0;
|
||||
background: linear-gradient(180deg, rgba(5,20,31,0.8) 0%, rgba(5,20,31,0) 100%);
|
||||
z-index: 2;
|
||||
}
|
||||
ul{
|
||||
li{
|
||||
displaY:flex;
|
||||
align-items: center;
|
||||
height:64rem;
|
||||
background-size: cover;
|
||||
@include tablet{
|
||||
height:69rem;
|
||||
}
|
||||
@include desktopMin{
|
||||
height:69rem;
|
||||
}
|
||||
@include desktopMax{
|
||||
height:85.5rem;
|
||||
}
|
||||
.mainText{
|
||||
width:100%;
|
||||
margin:0 auto;
|
||||
display:flex;
|
||||
flex-wrap: wrap;
|
||||
padding-left:2rem;
|
||||
padding-right:2rem;
|
||||
@include desktopMin{
|
||||
width:120rem;
|
||||
}
|
||||
@include desktopMax{
|
||||
padding-left:0rem;
|
||||
padding-right:0rem;
|
||||
}
|
||||
p{
|
||||
width:100%;
|
||||
strong{
|
||||
font-size: 3.5rem;
|
||||
font-weight: 600;
|
||||
@include desktopMin{
|
||||
font-size: 8rem;
|
||||
}
|
||||
}
|
||||
strong,
|
||||
span{
|
||||
displaY:block;
|
||||
width:100%;
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
.oneButton{
|
||||
width:16rem;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.swiper-pagination{
|
||||
bottom:10.8rem;
|
||||
span{
|
||||
width: 5.6rem;
|
||||
height: 0.4rem;
|
||||
border-radius: 0;
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mycarInfo{
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width:100%;
|
||||
height:8.7rem;
|
||||
position: absolute;
|
||||
bottom:0;
|
||||
left:0;
|
||||
z-index: 1;
|
||||
background-color: rgba(5,20,31,0.6);
|
||||
|
||||
@include desktopMin{
|
||||
width:100%;
|
||||
padding-left:2rem;
|
||||
padding-right:2rem;
|
||||
}
|
||||
@include desktopMax{
|
||||
max-width:192rem;
|
||||
padding-left:0rem;
|
||||
padding-right:0rem;
|
||||
}
|
||||
.mycarInfoInner{
|
||||
width:100%;
|
||||
margin:0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
@include desktopMax{
|
||||
width:120rem;
|
||||
}
|
||||
.mainComment{
|
||||
display: none;
|
||||
@include desktopMin{
|
||||
display:block;
|
||||
}
|
||||
p{
|
||||
color:#fff;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
}
|
||||
.mainCarNum{
|
||||
width:100%;
|
||||
@include desktopMin{
|
||||
width:fit-content;
|
||||
}
|
||||
.carlist {
|
||||
position: relative;
|
||||
width:100%;
|
||||
padding-left:2rem;
|
||||
padding-right:2rem;
|
||||
@include desktopMin{
|
||||
width:auto;
|
||||
display: block;
|
||||
padding-left:0rem;
|
||||
padding-right:0rem;
|
||||
}
|
||||
span{
|
||||
color: #F3C300;
|
||||
font-weight: 400;
|
||||
displaY:flex;
|
||||
width:auto;
|
||||
min-width: 2.2rem;
|
||||
@include desktopMin{
|
||||
width:fit-content;
|
||||
}
|
||||
}
|
||||
span+span{
|
||||
width:100%;
|
||||
@include desktopMin{
|
||||
width:fit-content;
|
||||
}
|
||||
&::before{
|
||||
content:"";
|
||||
displaY:block;
|
||||
width:1px;
|
||||
height:1.4rem;
|
||||
background-color:#DEDEDE;
|
||||
margin-left:1rem;
|
||||
margin-right:1rem;
|
||||
}
|
||||
}
|
||||
.carItem {
|
||||
displaY:flex;
|
||||
height:8.7rem;
|
||||
font-size:1.4rem;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
color:#676767;
|
||||
&::after{
|
||||
content:"";
|
||||
width:2.5rem;
|
||||
height:0.8rem;
|
||||
displaY:block;
|
||||
background: url("/kr/assets/images/common/icon-wtbarrow.svg") center right no-repeat;
|
||||
background-size: 1.2rem;
|
||||
}
|
||||
&:hover,
|
||||
&:focus{
|
||||
border:none;
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
.carItem.on{
|
||||
.carlistItem{
|
||||
display:block;
|
||||
}
|
||||
}
|
||||
.carlistItem {
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
min-width:17rem;
|
||||
top: 8.7rem;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
background-color: #fff;
|
||||
z-index:1;
|
||||
@include desktopMin{
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.boxBullet{
|
||||
display:none;
|
||||
@include desktopMin{
|
||||
width:1.4rem;
|
||||
height:1rem;
|
||||
displaY:block;
|
||||
position:absolute;
|
||||
top:-0.9rem;
|
||||
left:50%;
|
||||
transform: translate(-50%,0);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
}
|
||||
ul{
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 2rem;
|
||||
background-color:#fff;
|
||||
border:1px solid #DEDEDE;
|
||||
li {
|
||||
a {
|
||||
display:flex;
|
||||
font-size:1.4rem;
|
||||
align-items: center;
|
||||
&:hover{
|
||||
span{
|
||||
color:#000;
|
||||
}
|
||||
}
|
||||
span{
|
||||
color: #9EA1A2;
|
||||
font-weight: 400;
|
||||
displaY:flex;
|
||||
width:fit-content;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
li+li{
|
||||
margin-top:1rem;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.carlistItem.on{
|
||||
display:block;
|
||||
}
|
||||
.carItem.on+.carlistItem {
|
||||
display: block;
|
||||
width:100%;
|
||||
@include desktopMin{
|
||||
width: fit-content;
|
||||
}
|
||||
}
|
||||
}
|
||||
.carlist.on {
|
||||
a {
|
||||
&::after{
|
||||
transform: rotate(-180deg);
|
||||
background-position-x: left;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.mainTopKey+.contentWarp{
|
||||
margin-top:55rem;
|
||||
z-index: 1;
|
||||
@include tablet{
|
||||
margin-top:64rem;
|
||||
}
|
||||
@include desktopMax{
|
||||
margin-top:85.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.mainProductList{
|
||||
padding-left: 2rem;
|
||||
padding-right: 2rem;
|
||||
@include desktopMax{
|
||||
padding-left:0;
|
||||
padding-right:0;
|
||||
}
|
||||
.mainContensTitle{
|
||||
display:none;
|
||||
@include tablet{
|
||||
display:block;
|
||||
}
|
||||
h1,p{
|
||||
text-align: center;
|
||||
}
|
||||
h1{
|
||||
font-size: 4rem;
|
||||
font-weight: 600;
|
||||
@include desktopMin{
|
||||
font-size: 6rem;
|
||||
}
|
||||
}
|
||||
p{
|
||||
font-size:1.6rem;
|
||||
font-weight: 400;
|
||||
margin-top:1.5rem;
|
||||
|
||||
}
|
||||
}
|
||||
.mainProductInner{
|
||||
margin-top:6rem;
|
||||
max-width:120rem;
|
||||
@include desktopMin{
|
||||
margin-top:5rem;
|
||||
}
|
||||
ul{
|
||||
display: grid;
|
||||
grid-gap: 1rem;
|
||||
grid-template-columns: repeat(1,1fr);
|
||||
@include mobile{
|
||||
grid-template-columns: repeat(2,1fr);
|
||||
grid-template-rows:repeat(3,1fr);
|
||||
}
|
||||
@include tablet{
|
||||
grid-template-columns: repeat(2,1fr);
|
||||
grid-template-rows:repeat(3,1fr);
|
||||
}
|
||||
li{
|
||||
position: relative;
|
||||
width:100%;
|
||||
overflow: hidden;
|
||||
border-radius: 0.6rem;
|
||||
height:50.4rem;
|
||||
@include desktopMin{
|
||||
height:59.5rem;
|
||||
}
|
||||
&::after{
|
||||
content: "";
|
||||
@include tablet{
|
||||
content: "";
|
||||
display: block;
|
||||
padding-bottom: 100%;
|
||||
}
|
||||
}
|
||||
a{
|
||||
position: relative;
|
||||
width:100%;
|
||||
height:100%;
|
||||
min-height:50.4rem;
|
||||
@include desktopMin{
|
||||
height:59.5rem;
|
||||
}
|
||||
@include tablet{
|
||||
position: absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
&::before{
|
||||
content: "";
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
display: block;
|
||||
width:100%;
|
||||
height:100%;
|
||||
background-image: url(/kr/assets/images/kia/producy.png);
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
background-position: top left;
|
||||
z-index: 1;
|
||||
}
|
||||
img{
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
z-index: 0;
|
||||
}
|
||||
.productSmallVideo{
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
z-index: 0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
video{
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
.contentInfo{
|
||||
width:100%;
|
||||
height:100%;
|
||||
padding:3rem;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
@include tablet{
|
||||
padding:3rem;
|
||||
}
|
||||
@include desktopMin{
|
||||
padding:5rem;
|
||||
}
|
||||
.tag{
|
||||
display: flex;
|
||||
span{
|
||||
border:1px solid #fff;
|
||||
padding:0.6rem;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 400;
|
||||
color: #fff;
|
||||
@include desktopMin{
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
}
|
||||
span+span{
|
||||
margin-left:0.8rem;
|
||||
}
|
||||
|
||||
}
|
||||
.tag+h2{
|
||||
margin-top:2rem;
|
||||
}
|
||||
h2{
|
||||
font-size:3rem ;
|
||||
font-weight: 600;
|
||||
color:#fff;
|
||||
@include desktopMin{
|
||||
font-size: 4rem;
|
||||
}
|
||||
}
|
||||
.listOtionPrice{
|
||||
margin-top:3rem;
|
||||
dl{
|
||||
displaY:flex;
|
||||
text-align: left;
|
||||
dt,dd{
|
||||
color:#fff;
|
||||
font-size:1.4rem;
|
||||
@include desktopMin{
|
||||
font-size:1.6rem;
|
||||
}
|
||||
}
|
||||
dt{
|
||||
font-weight: 400;
|
||||
border-left:1px solid rgba(255,255,255,0.5);
|
||||
margin-left:0.8rem;
|
||||
padding-left:0.8rem;
|
||||
}
|
||||
dd{
|
||||
font-weight: 600;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
dl+dl{
|
||||
margin-top:1.2rem;
|
||||
}
|
||||
}
|
||||
.descript{
|
||||
display:none;
|
||||
color:#fff;
|
||||
font-weight: 400;
|
||||
line-height: 2.2rem;
|
||||
margin-top:1.5rem;
|
||||
font-size:1.4rem;
|
||||
@include desktopMin{
|
||||
font-size:1.6rem;
|
||||
}
|
||||
}
|
||||
.listImgBtn{
|
||||
display: none;
|
||||
width:16rem;
|
||||
.oneButton{
|
||||
div{
|
||||
&::after,
|
||||
&::before{
|
||||
width:4rem;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.descript+.listImgBtn{
|
||||
margin-top:4rem;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
a{
|
||||
&:hover{
|
||||
|
||||
&::before{
|
||||
content: "";
|
||||
animation: fadein 1s;
|
||||
background-image: url(/kr/assets/images/kia/producy-on.png);
|
||||
z-index: 1;
|
||||
background-size: cover;
|
||||
}
|
||||
.descript,.listImgBtn{
|
||||
displaY:block;
|
||||
animation: fadein 1s;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.mainSevice{
|
||||
width:100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
max-width: 120rem;
|
||||
margin:0 auto;
|
||||
justify-content: space-between;
|
||||
padding-left:2rem;
|
||||
padding-right:2rem;
|
||||
margin-top:5rem;
|
||||
@include tablet{
|
||||
margin-top:6rem;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
@include desktopMin{
|
||||
margin-top:12rem;
|
||||
}
|
||||
@include desktopMax{
|
||||
padding-left:0;
|
||||
padding-right:0;
|
||||
}
|
||||
.left{
|
||||
@include tablet{
|
||||
width:50%;
|
||||
}
|
||||
span{
|
||||
color:#F3C300;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
h2{
|
||||
margin-top:1rem;
|
||||
font-size:3rem;
|
||||
font-weight: 400;
|
||||
line-height: 4rem;
|
||||
@include desktopMin{
|
||||
font-size:4rem;
|
||||
line-height: 5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.right{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin-top:2.5rem;
|
||||
width:100%;
|
||||
@include tablet{
|
||||
flex-wrap: nowrap;
|
||||
width:50%;
|
||||
margin-top:0;
|
||||
}
|
||||
a{
|
||||
width:100%;
|
||||
height:14rem;
|
||||
padding:3rem;
|
||||
border-radius: 0.6rem;
|
||||
border:1px solid #DEDEDE;
|
||||
@include tablet{
|
||||
height:17rem;
|
||||
}
|
||||
@include desktopMin{
|
||||
width:29rem;
|
||||
}
|
||||
&:hover{
|
||||
border:1px solid #05141F;
|
||||
}
|
||||
.faq,.cs{
|
||||
display:flex;
|
||||
height:100%;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
span{
|
||||
position: relative;
|
||||
displaY:block;
|
||||
&::after{
|
||||
content: "";
|
||||
position: absolute;
|
||||
right:0;
|
||||
displaY:inline-block;
|
||||
width:0.8rem;
|
||||
height:1.6rem;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
background-image: url(/kr/assets/images/common/icon-bgo.svg);
|
||||
}
|
||||
}
|
||||
&::before{
|
||||
content: "";
|
||||
display:block;
|
||||
width:4.5rem;
|
||||
height:4.5rem;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
.faq{
|
||||
&::before{
|
||||
background-image: url(/kr/assets/images/common/icon-faq.svg);
|
||||
}
|
||||
|
||||
}
|
||||
.cs{
|
||||
&::before{
|
||||
background-image: url(/kr/assets/images/common/icon-cs.svg);
|
||||
}
|
||||
}
|
||||
}
|
||||
a+a{
|
||||
margin-top:1rem;
|
||||
@include tablet{
|
||||
margin-left:1rem;
|
||||
margin-top:0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user