.tool-button.Coupon {
position: relative;
}
.coupon-dot {
display: inline-block;
position: absolute;
left: 2px;
top: 2px;
width: 8px;
height: 8px;
background-color: #fa8f94;
border-radius: 50%;
opacity: 0;
-webkit-animation: coupon-dot .75s linear infinite;
animation: coupon-dot .75s linear infinite;
}
@-webkit-keyframes coupon-dot {
0% {
-webkit-transform:scale(0);
transform:scale(0)
}
50% {
opacity:1;
-webkit-transform:none;
transform:none
}
}
@keyframes coupon-dot {
0% {
-webkit-transform:scale(0);
transform:scale(0)
}
50% {
opacity:1;
-webkit-transform:none;
transform:none
}
}
.tkp-coupon-form {
padding: 20px;
}
.tkp-coupon-form li {
float: left;
list-style: none;
margin-bottom: 20px;
margin-right: 20px;
width: calc((100% - 20px)/ 2);
}
.tkp-coupon-form li:nth-child(2n) {
margin-right: 0 !important;
}
.tkp-coupon-column {
width: 320px;
height: 120px;
padding: 0 10px;
position: relative;
overflow: hidden;
}
.tkp-coupon-column::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 10px;
right: 10px;
z-index: -1;
}
.mode-pay {
width: 316px;
background: radial-gradient(rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 4px, #50ADD3 5px);
background-position-x: 0%;
background-position-y: 0%;
background-size: auto;
background-size: 15px 15px;
background-position: 8px 0px;
z-index: 1;
}
.mode-pay::before {
background-color: #50ADD3;
left: 5px;
right: 5px;
}
.mode-vip {
width: 316px;
background: radial-gradient(transparent 0, transparent 4px, #D24161 5px);
background-position-x: 0%;
background-position-y: 0%;
background-size: auto;
background-size: 15px 15px;
background-position: 8px 0px;
z-index: 1;
}
.mode-vip::before {
background-color: #D24161;
left: 5px;
right: 5px;
}
.tkp-coupon-column .par {
float: left;
padding: 10px;
width: 180px;
border-right: 2px dashed rgba(255, 255, 255, .3);
text-align: left;
}
.tkp-coupon-column .par .sign {
font-size: 20px;
}
.tkp-coupon-column .par sub {
position: relative;
top: 0px;
color: rgba(255, 255, 255, .8);
}
.tkp-coupon-column .par span {
font-size: 32px;
color: #fff;
margin-right: 5px;
line-height: 50px;
vertical-align: -1px;
}
.tkp-coupon-column .par m {
margin-right: 5px;
}
.tkp-coupon-column .copy {
display: inline-block;
padding: 5px;
width: 115px;
font-size: 12px;
color: rgb(255,255,255);
text-align: center;
line-height: initial;
z-index: 1000;
}
.tkp-coupon-column .copy {
padding: 10px 5px;
font-size: 16px;
}
.tkp-coupon-column .copy a {
background-color: #fff;
color: #34425a;
font-size: 14px;
text-decoration: none;
padding: 5px 10px;
border-radius: 3px;
display: block;
cursor: pointer;
}
.coupon-title {
font-size: 14px;
color: #fff;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.coupon-bottom {
font-size: 12px;
color: #fff;
line-height: 18px;
}
.coupon-endtime {
font-size: 12px;
color: #fff;
}
.coupon-info {
font-size: 13px;
color: #004167;
margin: 15px 0;
border-radius: 3px;
padding: 3px 5px;
background-image: linear-gradient(45deg,#9E9E9E 25%,#fff 0,#fff 50%,#9E9E9E 0,#9E9E9E 75%,#fff 0);
background-size: 2px 2px;
}
.tkp-coupon-column i {
position: absolute;
left: 20%;
top: 45px;
height: 190px;
z-index: -1;
width: 390px;
background-color: rgb(255 255 255 / 10%);
transform: rotate(-30deg);
}
.tkp-coupon-column.invalid {
background: radial-gradient(rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 4px, #d8e0ea 5px);
background-position-x: 0%;
background-position-y: 0%;
background-size: auto;
background-size: 15px 15px;
background-position: 8px 0px;
z-index: 1;
}
.tkp-coupon-column.invalid::before {
background-color: #d8e0ea;
}
.tkp-coupon-column.invalid .copy a{
background-color: #ececec;
color: #99a9bf;
}
.tkp-coupon-column.invalid .coupon-info {
color: #eee;
}
.copy-disabled {
cursor: not-allowed!important;
}