| 1 |
.my_account_subscrpt .order-status { |
| 2 |
min-width: 100px; |
| 3 |
} |
| 4 |
|
| 5 |
span[class*="subscrpt-"] { |
| 6 |
background: #bfdbfe; |
| 7 |
color: #1e40af; |
| 8 |
font-weight: 600; |
| 9 |
font-size: 12px; |
| 10 |
text-transform: capitalize; |
| 11 |
padding: 8px 10px; |
| 12 |
border-radius: 5px; |
| 13 |
} |
| 14 |
|
| 15 |
span.subscrpt-pending { |
| 16 |
background: #dbeafe; |
| 17 |
color: #1e40af; |
| 18 |
} |
| 19 |
|
| 20 |
span.subscrpt-active { |
| 21 |
background: #bbf7d0; |
| 22 |
color: #166534; |
| 23 |
} |
| 24 |
|
| 25 |
span.subscrpt-expired { |
| 26 |
background: #fecaca; |
| 27 |
color: #991b1b; |
| 28 |
} |
| 29 |
|
| 30 |
span.subscrpt-cancelled { |
| 31 |
background: #e2e8f0; |
| 32 |
color: #475569; |
| 33 |
} |
| 34 |
|
| 35 |
span.subscrpt-pe_cancelled, |
| 36 |
span.subscrpt-on-hold { |
| 37 |
background: #ffedd5; |
| 38 |
color: #b45309; |
| 39 |
} |
| 40 |
|
| 41 |
span.subscrpt-draft { |
| 42 |
background: #f3f3f3; |
| 43 |
color: #888; |
| 44 |
} |
| 45 |
|
| 46 |
/* Grace Period */ |
| 47 |
span.grace-active { |
| 48 |
position: relative; |
| 49 |
padding-right: 16px; |
| 50 |
} |
| 51 |
|
| 52 |
span.grace-icon { |
| 53 |
position: absolute; |
| 54 |
top: -5px; |
| 55 |
right: -5px; |
| 56 |
background: #fffbeb; |
| 57 |
border-radius: 50%; |
| 58 |
padding: 0px; |
| 59 |
height: 20px; |
| 60 |
width: 20px; |
| 61 |
} |
| 62 |
|
| 63 |
span.grace-icon .dashicons { |
| 64 |
color: #f59e0b; |
| 65 |
} |
| 66 |
|
| 67 |
span.grace-icon::after { |
| 68 |
content: attr(data-tooltip); |
| 69 |
position: absolute; |
| 70 |
top: -28px; |
| 71 |
right: 50%; |
| 72 |
transform: translateX(50%); |
| 73 |
background: #fef3c7; |
| 74 |
color: #b45309; |
| 75 |
font-size: 11px; |
| 76 |
padding: 4px 6px; |
| 77 |
border-radius: 3px; |
| 78 |
white-space: nowrap; |
| 79 |
opacity: 0; |
| 80 |
pointer-events: none; |
| 81 |
transition: opacity 0.2s ease; |
| 82 |
} |
| 83 |
span.grace-icon:hover::after { |
| 84 |
opacity: 1; |
| 85 |
} |
| 86 |
|