PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / 2.0.0
Subscriptions for WooCommerce with Stripe Recurring Payments v2.0.0
2.0.0 1.11.2 1.11.1 1.11.0 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.6 1.9.5 trunk 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 All 61 releases
subscription / assets / css / status.css

status.css in Subscriptions for WooCommerce with Stripe Recurring Payments 2.0.0, at assets/css/status.css

97 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .my_account_subscrpt .order-status {
2 min-width: 100px;
3 }
4
5 /*
6 * Legacy status badge. Dedicated `subscrpt-legacy-status` base +
7 * `subscrpt-legacy-status--{name}` colour modifiers. Self-contained class names
8 * (no broad `[class*="subscrpt-"]` attribute selector) so badges never collide
9 * with BEM component spans that merely share the `subscrpt-` prefix.
10 */
11 span.subscrpt-legacy-status {
12 background: #bfdbfe;
13 color: #1e40af;
14 font-weight: 600;
15 font-size: 12px;
16 text-transform: capitalize;
17 padding: 8px 10px;
18 border-radius: 5px;
19 }
20
21 span.subscrpt-legacy-status--pending {
22 background: #dbeafe;
23 color: #1e40af;
24 }
25
26 span.subscrpt-legacy-status--active {
27 background: #bbf7d0;
28 color: #166534;
29 }
30
31 span.subscrpt-legacy-status--expired {
32 background: #fecaca;
33 color: #991b1b;
34 }
35
36 span.subscrpt-legacy-status--completed {
37 background: #e0e7ff;
38 color: #3730a3;
39 }
40
41 span.subscrpt-legacy-status--cancelled {
42 background: #e2e8f0;
43 color: #475569;
44 }
45
46 span.subscrpt-legacy-status--pe_cancelled,
47 span.subscrpt-legacy-status--on-hold {
48 background: #ffedd5;
49 color: #b45309;
50 }
51
52 span.subscrpt-legacy-status--draft {
53 background: #f3f3f3;
54 color: #888;
55 }
56
57 /* Grace Period */
58 span.grace-active {
59 position: relative;
60 padding-right: 16px;
61 }
62
63 span.grace-icon {
64 position: absolute;
65 top: -5px;
66 right: -5px;
67 background: #fffbeb;
68 border-radius: 50%;
69 padding: 0px;
70 height: 20px;
71 width: 20px;
72 }
73
74 span.grace-icon .dashicons {
75 color: #f59e0b;
76 }
77
78 span.grace-icon::after {
79 content: attr(data-tooltip);
80 position: absolute;
81 top: -28px;
82 right: 50%;
83 transform: translateX(50%);
84 background: #fef3c7;
85 color: #b45309;
86 font-size: 11px;
87 padding: 4px 6px;
88 border-radius: 3px;
89 white-space: nowrap;
90 opacity: 0;
91 pointer-events: none;
92 transition: opacity 0.2s ease;
93 }
94 span.grace-icon:hover::after {
95 opacity: 1;
96 }
97