쿠폰 작업 중
This commit is contained in:
@@ -665,7 +665,6 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-bottom: 1px solid #dedede;
|
||||
padding: 2.5rem 0;
|
||||
@media (max-width: 768px) {
|
||||
display: block;
|
||||
@@ -781,7 +780,7 @@
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 14rem;
|
||||
height: 8rem;
|
||||
margin-top: 2rem;
|
||||
border: 1px solid #dedede;
|
||||
border-radius: 0.6rem;
|
||||
@@ -793,6 +792,179 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.coupon-active {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
overflow: hidden;
|
||||
height: 8rem;
|
||||
width: 100%;
|
||||
padding: 2rem;
|
||||
font-size: 1.6rem;
|
||||
color: #000;
|
||||
border: 1px solid #dedede;
|
||||
border-radius: 0.6rem;
|
||||
&:after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 1rem;
|
||||
height: 2rem;
|
||||
background: url(../images/common/icon-bgo.svg) no-repeat center / 100% auto;
|
||||
}
|
||||
&.active {
|
||||
color: #fff;
|
||||
background-color: #05141f;
|
||||
strong {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 2.4rem;
|
||||
height: 2rem;
|
||||
margin-right: 1.2rem;
|
||||
background: url(../images/common/icon_coupon_w.png) no-repeat center / 100% auto;
|
||||
}
|
||||
}
|
||||
&:after {
|
||||
filter: brightness(0) saturate(100%) invert(100%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.couponPopup {
|
||||
.coupon-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
max-height: 59vh;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: none;
|
||||
li {
|
||||
position: relative;
|
||||
& + li {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
}
|
||||
input[type="radio"] {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
appearance: none;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
user-select: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
&:checked {
|
||||
& ~ .coupon-item {
|
||||
border-color: #111;
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.icon-check {
|
||||
background-color: #05141f;
|
||||
background-image: url("../images/common/coupun_check_on.png");
|
||||
}
|
||||
}
|
||||
}
|
||||
&:disabled {
|
||||
& ~ .coupon-item {
|
||||
background-color: #f1f1f1;
|
||||
border-color: #e0e0e0;
|
||||
color: #aaa;
|
||||
cursor: not-allowed;
|
||||
|
||||
.coupon-label {
|
||||
color: #aaa;
|
||||
|
||||
strong {
|
||||
color: #9ea1a2;
|
||||
}
|
||||
|
||||
small {
|
||||
color: #bbb;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.coupon-item {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 1.2rem;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 0.8rem;
|
||||
background-color: #fff;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
-webkit-tap-highlight-color: transparent; //
|
||||
|
||||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.coupon-label {
|
||||
flex: 1;
|
||||
padding: 1.6rem;
|
||||
line-height: 1.4;
|
||||
|
||||
strong {
|
||||
display: block;
|
||||
font-size: 1.6rem;
|
||||
font-weight: 600;
|
||||
color: #000;
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
small {
|
||||
display: block;
|
||||
padding-left: 6.6rem;
|
||||
text-indent: -6.6rem;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 400;
|
||||
color: #676767;
|
||||
}
|
||||
span {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.error-text {
|
||||
display: block;
|
||||
font-size: 1.4rem;
|
||||
color: #ea0029;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-check {
|
||||
display: flex;
|
||||
width: 5rem;
|
||||
background: url("../images/common/coupun_check.png") no-repeat center / 2.8rem auto;
|
||||
flex-shrink: 0;
|
||||
border-left: 1px dashed #dedede;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.popInner {
|
||||
@include tablet {
|
||||
max-width: 50rem;
|
||||
}
|
||||
.towButton {
|
||||
margin-top: 3rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user