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 / tabs.css

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

63 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* --------------------------------------------------------------------------
2 Tabs
3 -------------------------------------------------------------------------- */
4 .wpsubs-tabs__list {
5 display: flex;
6 gap: 4px;
7 border-bottom: 1px solid var(--wpsubs-border, #e5e7eb);
8 margin-bottom: 20px;
9 }
10
11 /* `display: flex` outweighs the bare `hidden` attribute, so restate it. */
12 .wpsubs-tabs__list[hidden] {
13 display: none !important;
14 }
15
16 .wpsubs-tabs__tab {
17 appearance: none;
18 display: inline-flex;
19 align-items: center;
20 gap: 6px;
21 border: none;
22 background: none;
23 margin: 0;
24 padding: 10px 16px;
25 font-size: 14px;
26 font-weight: 500;
27 color: var(--wpsubs-text-muted, #6b7280);
28 text-decoration: none;
29 cursor: pointer;
30 border-bottom: 2px solid var(--wpsubs-border-strong, #d1d5db);
31 margin-bottom: -1px;
32 transition:
33 color 0.12s,
34 border-color 0.12s;
35 }
36
37 /* Used as a link in the settings tabs; keep it un-underlined in every state. */
38 .wpsubs-tabs__tab:hover,
39 .wpsubs-tabs__tab:focus {
40 text-decoration: none;
41 box-shadow: none;
42 }
43
44 .wpsubs-tabs__tab:hover {
45 color: var(--wpsubs-text, #374151);
46 border-bottom-color: var(--wpsubs-text-subtle, #9ca3af);
47 }
48
49 .wpsubs-tabs__tab[aria-selected="true"] {
50 color: var(--wpsubs-brand, #ff4d00);
51 border-bottom-color: var(--wpsubs-brand, #ff4d00);
52 }
53
54 .wpsubs-tabs__tab:focus-visible {
55 outline: 2px solid var(--wpsubs-brand-ring, rgba(255, 77, 0, 0.2));
56 outline-offset: 2px;
57 border-radius: var(--wpsubs-radius-sm, 5px);
58 }
59
60 .wpsubs-tab-panel[hidden] {
61 display: none;
62 }
63