You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
196 lines
3.7 KiB
196 lines
3.7 KiB
.coupon-card {
|
|
position: relative;
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100px;
|
|
margin-bottom: 12px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
background: #fff;
|
|
|
|
&.disabled {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.coupon-left {
|
|
flex-shrink: 0;
|
|
width: 100px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
position: relative;
|
|
|
|
&.theme-red {
|
|
background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
|
|
}
|
|
|
|
&.theme-orange {
|
|
background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
|
|
}
|
|
|
|
&.theme-blue {
|
|
background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
|
|
}
|
|
|
|
&.theme-purple {
|
|
background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
|
|
}
|
|
|
|
&.theme-green {
|
|
background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
|
|
}
|
|
|
|
.amount-wrapper {
|
|
display: flex;
|
|
align-items: baseline;
|
|
margin-bottom: 4px;
|
|
|
|
.currency {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
margin-right: 2px;
|
|
}
|
|
|
|
.amount {
|
|
font-size: 30px;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
}
|
|
}
|
|
|
|
.condition {
|
|
font-size: 12px;
|
|
opacity: 0.9;
|
|
margin-top: 2px;
|
|
}
|
|
}
|
|
|
|
.coupon-divider {
|
|
flex-shrink: 0;
|
|
width: 2px;
|
|
position: relative;
|
|
background: #f5f5f5;
|
|
|
|
.divider-line {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: repeating-linear-gradient(
|
|
to bottom,
|
|
transparent 0px,
|
|
transparent 4px,
|
|
#ddd 4px,
|
|
#ddd 8px
|
|
);
|
|
}
|
|
|
|
.divider-circle-top {
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 16px;
|
|
background: #f5f5f5;
|
|
border-radius: 50%;
|
|
top: -8px;
|
|
left: -7px;
|
|
}
|
|
|
|
.divider-circle-bottom {
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 16px;
|
|
background: #f5f5f5;
|
|
border-radius: 50%;
|
|
bottom: -8px;
|
|
left: -7px;
|
|
}
|
|
}
|
|
|
|
.coupon-right {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
padding: 12px;
|
|
|
|
.coupon-info {
|
|
flex: 1;
|
|
|
|
.coupon-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #1f2937;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.coupon-validity {
|
|
font-size: 12px;
|
|
color: #6b7280;
|
|
}
|
|
}
|
|
|
|
.coupon-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
|
|
.coupon-btn {
|
|
min-width: 48px;
|
|
height: 24px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
border: none;
|
|
color: #fff;
|
|
|
|
&.theme-red {
|
|
background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
|
|
}
|
|
|
|
&.theme-orange {
|
|
background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
|
|
}
|
|
|
|
&.theme-blue {
|
|
background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
|
|
}
|
|
|
|
&.theme-purple {
|
|
background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
|
|
}
|
|
|
|
&.theme-green {
|
|
background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
|
|
}
|
|
}
|
|
|
|
.status-text {
|
|
font-size: 12px;
|
|
color: #6b7280;
|
|
padding: 4px 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.status-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10;
|
|
|
|
.status-badge {
|
|
background: rgba(0, 0, 0, 0.6);
|
|
color: #fff;
|
|
padding: 4px 12px;
|
|
border-radius: 12px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
}
|
|
}
|