포토리뷰 작업 중

This commit is contained in:
2025-12-21 23:29:48 +09:00
parent 7ee87344bf
commit a23a4b3f2a
8 changed files with 3347 additions and 104 deletions

View File

@@ -5303,3 +5303,897 @@ video::-webkit-media-controls {
}
}
}
//리뷰 작성하기기 레이어 팝업
.reviewWritePopup {
position: fixed;
overflow: hidden;
width: 100%;
height: 100%;
display: flex;
background-color: rgba(0, 0, 0, 0.4);
top: 0;
left: 0;
z-index: 500;
padding: 2rem;
.popInner {
width: 98%;
max-height: 90%;
overflow-y: scroll;
position: absolute;
top: 53%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
padding: 2rem;
border-radius: 0.6rem;
@include tablet {
width: 100%;
max-width: 90rem;
min-height: 22rem;
padding: 5rem 2rem;
}
.title {
margin-bottom: 2rem;
strong {
display: flex;
justify-content: center;
font-size: 1.8rem;
font-weight: 600;
color: #000;
text-align: center;
line-height: 2.6rem;
@include tablet {
font-size: 2.4rem;
line-height: 3.2rem;
}
}
}
.inquiryType {
display: flex;
justify-content: center;
align-items: flex-start;
flex-direction: column;
width: 100%;
max-width: 80rem;
margin-top: 3rem;
margin-left: auto;
margin-right: auto;
background-color: #f3f3f3;
padding: 3rem 2.4rem;
.radioArea {
display: flex;
justify-content: center;
align-items: center;
label {
font-size: 20px;
line-height: 2rem;
padding: 0.2em 0.4em;
}
span {
vertical-align: middle;
font-size: 1.6rem;
}
[type="radio"] {
vertical-align: middle;
appearance: none;
border: max(1px, 0.1em) solid #05141f;
border-radius: 50%;
width: 1.5rem;
height: 1.5rem;
transition: border 0.3s ease-in-out;
}
[type="radio"]:checked {
border: 0.4rem solid #ea0029;
}
[type="radio"]:hover {
box-shadow: 0 0 0 max(2px, 0.2em) #dedede;
cursor: pointer;
}
[type="radio"]:disabled {
background-color: #dedede;
box-shadow: none;
opacity: 0.7;
cursor: not-allowed;
}
[type="radio"]:disabled + span {
opacity: 0.5;
cursor: not-allowed;
}
}
.info {
font-size: 1.4rem;
font-weight: 400;
line-height: 2.2;
color: #676767;
}
}
.privateApply {
margin: auto;
width: 100%;
max-width: calc(80rem + 4rem);
text-align: left;
margin-top: 2rem;
padding: 0 2rem;
label {
display: inline-flex;
align-items: center;
cursor: pointer;
font-size: 1.4rem;
span {
margin-left: 1rem;
line-height: 2rem;
}
}
}
.csWarp {
.csInner {
// padding: 0 2rem;
margin: 0 auto;
dl.important {
dt {
display: flex;
align-items: center;
&::after {
content: "";
width: 0.5rem;
height: 0.5rem;
display: block;
border-radius: 50%;
margin-left: 0.4rem;
background-color: #ea0029;
margin-top: -0.7rem;
@include tablet {
margin-left: 0.4rem;
margin-top: -1rem;
}
}
}
}
dl {
display: flex;
flex-wrap: wrap;
align-items: center;
row-gap: 1rem;
dt {
position: relative;
width: 100%;
font-size: 1.4rem;
font-weight: 600;
color: #000;
@include desktopMin {
font-size: 1.6rem;
}
}
dd {
width: 100%;
display: flex;
margin-top: 1rem;
@include tablet {
margin-top: 0;
}
input[type="text"] {
display: flex;
width: 100%;
align-items: center;
padding-left: 1.7rem;
border: 1px solid #dedede;
height: 4.5rem;
font-size: 1.4rem;
color: #000;
@include desktopMin {
font-size: 1.6rem;
height: 5rem;
}
}
> div {
width: 100%;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
@include tablet {
flex-wrap: nowrap;
}
input[type="text"] {
width: calc(100% / 3);
font-size: 1.4rem;
@include desktopMin {
font-size: 1.6rem;
}
}
input[type="text"] + input[type="text"] {
margin-left: 1rem;
}
input[type="text"] + select {
width: 100%;
margin-top: 1rem;
@include tablet {
margin-top: 0;
margin-left: 1rem;
width: calc(100% / 3);
}
}
span {
height: 5rem;
display: flex;
align-items: center;
padding-left: 0.8rem;
padding-right: 0.8rem;
}
}
> div.phone {
flex-wrap: nowrap;
}
> div.mail {
input {
width: calc(100% / 2 - 4.5%);
}
}
select {
width: 100%;
height: 4.5rem;
border: 1px solid #dedede;
outline: 0 none;
border-radius: 0;
padding-left: 1.7rem;
display: flex;
align-items: center;
font-size: 1.4rem;
@include desktopMin {
font-size: 1.6rem;
height: 5rem;
}
option {
height: 4.5rem;
display: flex;
padding-left: 1.7rem;
align-items: center;
@include desktopMax {
height: 5rem;
}
}
}
textarea {
width: auto;
border: 1px solid #dedede;
outline: 0 none;
border-radius: 0;
padding: 1.5rem 1.7rem;
font-size: 1.4rem;
line-height: 2.2rem;
@include desktopMin {
font-size: 1.6rem;
line-height: 2.4rem;
}
}
}
dd.contentsWrap {
position: relative;
flex-direction: column;
.wordCounter {
position: absolute;
bottom: 1.4rem;
right: 2rem;
justify-content: flex-end;
font-size: 1.2rem;
color: #9ea1a2;
text-align: right;
@include tablet {
font-size: 1.6rem;
}
}
}
dd.flieWarp {
display: block;
.fileList {
ul {
display: flex;
justify-content: space-between;
width: 100%;
gap: 1rem;
@include tablet {
justify-content: flex-start;
}
.imgItem {
overflow: hidden;
position: relative;
width: calc((100% - 30px) / 3);
border: 1px solid #dedede;
border-radius: 0.8rem;
@include tablet {
width: 16rem;
height: 16rem;
}
.itemWrap {
position: relative;
width: 100%;
padding-top: 100%;
.imgInput {
display: none;
}
.contents {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
cursor: pointer;
img {
width: 100%;
height: 100%;
object-fit: contain;
}
}
}
.delImg {
position: absolute;
display: none;
top: 1rem;
right: 1rem;
cursor: pointer;
}
}
}
}
.textInfo {
font-size: 1.4rem;
color: #9ea1a2;
margin-top: 1.5rem;
}
.fileAddBtn {
display: flex;
margin-top: 3rem;
flex-wrap: nowrap;
button,
label {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 5rem;
border: 1px solid #dedede;
cursor: pointer;
span {
font-weight: 600;
font-family: "KiaSignature";
color: #676767;
font-size: 1.4rem;
@include desktopMin {
font-size: 1.6rem;
}
}
.icon-reset {
width: 1.4rem;
height: 1.4rem;
background-image: url(../images/common/icon-reset.svg);
background-size: contain;
background-repeat: no-repeat;
}
.icon-plus {
width: 1.4rem;
height: 1.4rem;
background-image: url(../images/common/icon-bplus.svg);
background-size: contain;
background-repeat: no-repeat;
}
}
button + label {
margin-left: 1rem;
}
}
}
}
.selectInner {
.cont-select {
width: 100%;
}
}
dl.insertFile {
align-items: flex-start;
em {
font-size: 1.4rem;
color: #9ea1a2;
margin-top: 0.5rem;
@include tablet {
font-size: 1.6rem;
}
}
dt {
margin-top: 0rem;
@include tablet {
margin-top: 2rem;
}
}
}
dl + dl {
margin-top: 2rem;
}
.csComplete {
text-align: center;
border: 1px solid #dedede;
width: 100%;
padding: 3rem;
@include desktopMin {
border: none;
}
p {
strong {
font-size: 1.8rem;
font-weight: 600;
@include desktopMin {
font-size: 2.4rem;
}
}
span {
font-size: 1.4rem;
line-height: 2.2rem;
@include desktopMin {
line-height: 2.4rem;
font-size: 1.6rem;
}
}
}
p + p {
margin-top: 2rem;
}
}
}
}
.carswBtn {
width: 100%;
margin: 0 auto;
margin-top: 3rem;
@include tablet {
margin-top: 5rem;
}
.oneButton {
width: 16rem;
margin: 0 auto;
}
.towButton {
display: flex;
// flex-wrap: wrap;
gap: 1rem;
.leftBtn {
margin-right: 0;
@include tablet {
margin-right: 0.5rem;
}
}
.rightBtn {
margin-left: 0;
@include tablet {
margin-left: 0.5rem;
}
}
@include tablet {
flex-wrap: nowrap;
}
a + a {
@include tablet {
margin-top: 0;
}
}
}
}
.photoReviewList {
margin-top: 0;
border: 0;
}
.btnWarp {
width: 100%;
margin: 0 auto;
@include tablet {
width: 16rem;
}
}
.optionDetail {
display: none !important;
@include tablet {
display: flex;
}
.optionDetailInner {
overflow: hidden;
display: flex;
align-items: center;
justify-content: flex-start;
height: 18rem;
border-radius: 0.6rem;
border: 1px solid #dedede;
.optionThumb {
width: 18rem;
height: 18rem;
img {
width: 100%;
height: 100%;
}
}
.optionDetailItem {
flex: 1;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
height: 100%;
padding: 1.6rem 3rem;
.date {
font-size: 1.4rem;
color: #676767;
font-weight: normal;
}
.name {
margin-top: 2rem;
font-size: 2rem;
font-weight: 600;
color: #000;
}
.info {
display: flex;
margin-top: 0.6rem;
font-size: 1.4rem;
color: #676767;
span {
height: auto;
padding: 0;
& + span {
margin-left: 0.5rem;
&:before {
content: "|";
margin-right: 0.4rem;
}
}
}
}
}
}
}
.tableStyle {
border-top: 1px solid #dedede;
border-bottom: 1px solid #dedede;
margin-top: 3rem;
margin-bottom: 5rem;
dl {
display: block;
border-bottom: 1px solid #dedede;
padding-top: 2rem;
padding-bottom: 2rem;
@include tablet {
display: flex;
padding-top: 0rem;
padding-bottom: 0rem;
}
dt {
font-size: 1.4rem;
color: #676767;
@include tablet {
padding: 2rem;
font-weight: 700;
width: 14rem;
background-color: #f3f3f3;
}
}
dd {
padding: 0rem;
margin-top: 1.5rem;
font-size: 1.4rem;
@include tablet {
padding: 2rem;
margin-top: 0;
}
}
&:last-child {
border-bottom: 0;
}
}
}
}
&.photoReviewAllPopup {
.popInner {
padding: 5rem 2rem;
}
}
}
.photoReviewDetailPopup {
.popInner {
max-width: 124rem;
padding: 5rem 2rem;
}
.title {
position: relative;
line-height: 2;
button {
position: absolute;
top: 0;
right: 0;
}
}
.btn-photoList {
display: block;
position: absolute;
bottom: 0;
left: 0;
width: 3rem;
height: 3rem;
background: url(../images/common/icon-photoList.png) no-repeat center / 2rem auto;
text-indent: -9999em;
@include tablet {
left: auto;
right: 0;
width: auto;
height: auto;
padding-right: 1.8rem;
font-size: 1.4rem;
line-height: 1.2;
color: #05141f;
font-weight: 600;
background: url(../images/common/icon-bgo.svg) no-repeat right center / auto 1.4rem;
white-space: nowrap;
text-indent: 0;
}
}
.btn-close {
display: block;
position: absolute;
top: 0;
right: 0;
width: 3rem;
height: 3rem;
background: url(../images/common/icon-menu-close.svg) no-repeat center / 1.8rem auto;
text-indent: -9999em;
@include tablet {
display: none;
}
}
.photoReviewDetailWrap {
display: flex;
flex-wrap: wrap;
width: 100%;
@include tablet {
flex-wrap: nowrap;
gap: 3rem;
}
.photoReviewDetailLeft {
width: 100%;
margin-bottom: 2rem;
@include tablet {
max-width: 72rem;
margin-bottom: 0;
}
.photoReviewDetailSwiper {
width: 100%;
.swiper-wrapper {
align-items: center;
.swiper-slide {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 39rem;
background-color: #969696;
@include tablet {
height: 60rem;
}
img {
width: 100%;
height: 100%;
object-fit: contain;
}
}
}
.swiper-button-next,
.swiper-button-prev {
width: 2rem;
height: 2rem;
margin: 0;
background: url(../images/common/ico_arrow_r.png) no-repeat center / auto 100%;
&:after {
display: none;
}
}
.swiper-button-prev {
background: url(../images/common/ico_arrow_l.png) no-repeat center / contain;
}
}
}
}
.photoReviewDetailRight {
@include tablet {
display: flex;
flex-direction: column;
height: 60rem;
}
.reviewSummary {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 2rem;
.reviewBtnArea {
margin-top: 0;
}
}
.reviewItemDetail {
padding-top: 1rem;
border-top: 1px solid #dedede;
border-bottom: 1px solid #dedede;
@include tablet {
padding-top: 0;
border: 0;
flex: 1;
}
.textArea {
@include tablet {
display: flex;
flex-direction: column;
height: 100%;
}
.title {
margin-bottom: 1rem;
@include tablet {
display: flex;
}
.name {
font-size: 1.4rem;
color: #000;
}
.date {
margin-left: 1rem;
font-size: 1.4rem;
color: #676767;
}
}
.info {
span {
display: block;
font-size: 1.4rem;
color: #a6a6a6;
}
}
.contents {
padding: 1rem 0 2rem;
font-size: 1.4rem;
color: #000;
line-height: 1.5;
@include tablet {
flex: 1;
overflow: hidden;
overflow-y: auto;
font-size: 1.6rem;
line-height: 2.4rem;
}
}
}
&.best {
.textArea {
.info {
&:after {
content: "";
display: block;
width: 6.8rem;
height: 2.4rem;
background: url("../images/kia/contents/review_best.png") no-repeat center center / contain;
@include tablet {
margin-top: 0.6rem;
}
}
}
}
}
}
.photoThumbnails {
display: flex;
gap: 1rem;
.photoThumbItem {
width: 4rem;
height: 4rem;
border-radius: 0.8rem;
overflow: hidden;
img {
width: 100%;
height: 100%;
}
}
}
}
}