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 / admin-components / pagination.css

pagination.css in Subscriptions for WooCommerce with Stripe Recurring Payments 2.0.0, at assets/css/admin-components/pagination.css

124 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* --------------------------------------------------------------------------
2 Pagination footer (inside table card)
3 -------------------------------------------------------------------------- */
4 .wpsubs-pagination {
5 display: flex;
6 align-items: center;
7 justify-content: space-between;
8 padding: 12px 16px;
9 border-top: 1px solid var(--wpsubs-border);
10 flex-wrap: wrap;
11 gap: 8px 12px;
12 min-width: 0;
13 }
14
15 .wpsubs-pagination__info {
16 min-width: 0;
17 flex-shrink: 1;
18 font-size: 12.5px;
19 color: var(--wpsubs-text-muted);
20 }
21
22 .wpsubs-pagination__nav {
23 display: flex;
24 align-items: center;
25 flex-wrap: wrap;
26 justify-content: flex-end;
27 gap: 4px;
28 min-width: 0;
29 }
30
31 .wpsubs-pagination__btn {
32 display: inline-flex;
33 align-items: center;
34 justify-content: center;
35 width: 26px;
36 height: 26px;
37 padding: 0;
38 border: 1px solid var(--wpsubs-border);
39 border-radius: var(--wpsubs-radius-sm);
40 background: var(--wpsubs-surface);
41 cursor: pointer;
42 font-size: 12px;
43 font-weight: 500;
44 color: var(--wpsubs-text-muted);
45 transition:
46 border-color 0.12s,
47 color 0.12s,
48 background 0.12s;
49 text-decoration: none;
50 line-height: 1;
51 flex-shrink: 0;
52 }
53
54 /* Strip the WordPress admin / browser default focus ring. WP admin's
55 `forms.css` applies a coloured border + box-shadow on :focus to every
56 button-class element; on these small chips it looks like a heavy
57 double-border. Keep a subtle :focus-visible ring for keyboard users. */
58 .wpsubs-pagination__btn:focus,
59 .wpsubs-pagination__btn:focus-visible {
60 outline: none;
61 box-shadow: none;
62 border-color: var(--wpsubs-border);
63 color: var(--wpsubs-text-muted);
64 background: var(--wpsubs-surface);
65 }
66 .wpsubs-pagination__btn:focus-visible {
67 box-shadow: 0 0 0 2px var(--wpsubs-brand-ring);
68 border-color: var(--wpsubs-brand);
69 color: var(--wpsubs-brand);
70 }
71
72 .wpsubs-pagination__btn:hover {
73 border-color: var(--wpsubs-brand);
74 color: var(--wpsubs-brand);
75 text-decoration: none;
76 }
77
78 .wpsubs-pagination__btn--disabled {
79 opacity: 0.35;
80 cursor: not-allowed;
81 pointer-events: none;
82 }
83
84 .wpsubs-pagination__btn--active {
85 background: var(--wpsubs-brand);
86 border-color: var(--wpsubs-brand);
87 color: #fff;
88 font-weight: 600;
89 cursor: default;
90 pointer-events: none;
91 }
92
93 /* Ellipsis is a non-interactive chip with the same shell as a page button.
94 Reuses the base `.wpsubs-pagination__btn` for size/border/background/radius
95 and only overrides cursor + hover (so it can't be mistaken for clickable). */
96 .wpsubs-pagination__btn--ellipsis {
97 font-weight: 600;
98 letter-spacing: 0.5px;
99 color: var(--wpsubs-text-subtle);
100 cursor: default;
101 pointer-events: none;
102 user-select: none;
103 }
104 .wpsubs-pagination__btn--ellipsis:hover {
105 border-color: var(--wpsubs-border);
106 color: var(--wpsubs-text-subtle);
107 }
108
109 /* Back-compat alias — kept so existing markup / extensions using the
110 standalone class still render identically. */
111 .wpsubs-pagination__ellipsis {
112 display: inline-flex;
113 align-items: center;
114 justify-content: center;
115 width: 26px;
116 height: 26px;
117 border: 1px solid var(--wpsubs-border);
118 border-radius: var(--wpsubs-radius-sm);
119 background: var(--wpsubs-surface);
120 cursor: default;
121 user-select: none;
122 flex-shrink: 0;
123 }
124