PluginProbe
Subscriptions for WooCommerce with Stripe Recurring Payments / trunk
Subscriptions for WooCommerce with Stripe Recurring Payments vtrunk
2.4.0 2.3.0 2.2.0 2.1.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 All 65 releases
subscription / assets / css / admin-components / dropdown.css

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

113 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* --------------------------------------------------------------------------
2 Row actions (three-dot dropdown)
3 -------------------------------------------------------------------------- */
4 .wpsubs-row-actions {
5 position: relative;
6 display: flex;
7 justify-content: flex-end;
8 }
9
10 .wpsubs-row-actions__trigger {
11 display: flex;
12 align-items: center;
13 justify-content: center;
14 width: 30px;
15 height: 30px;
16 border-radius: var(--wpsubs-radius-sm);
17 border: none;
18 background: transparent;
19 cursor: pointer;
20 color: var(--wpsubs-text-subtle);
21 transition:
22 background 0.12s,
23 color 0.12s;
24 padding: 0;
25 font-size: 18px;
26 letter-spacing: 1px;
27 line-height: 1;
28 }
29
30 .wpsubs-row-actions__trigger:hover,
31 .wpsubs-row-actions--open .wpsubs-row-actions__trigger {
32 background: var(--wpsubs-surface-muted);
33 color: var(--wpsubs-text);
34 outline: none;
35 }
36
37 @keyframes wpsubs-dropdown-in {
38 from {
39 opacity: 0;
40 transform: translateY(-4px);
41 }
42 to {
43 opacity: 1;
44 transform: translateY(0);
45 }
46 }
47
48 .wpsubs-dropdown {
49 display: none;
50 position: absolute;
51 right: 0;
52 top: calc(100% + 4px);
53 width: max-content;
54 box-sizing: border-box;
55 background: var(--wpsubs-surface);
56 border: 1px solid var(--wpsubs-border);
57 border-radius: var(--wpsubs-radius);
58 box-shadow: var(--wpsubs-shadow-md);
59 z-index: 9999;
60 padding: 4px;
61 }
62
63 .wpsubs-dropdown--open {
64 display: block;
65 animation: wpsubs-dropdown-in 0.1s ease;
66 }
67
68 .wpsubs-dropdown__item {
69 display: flex;
70 align-items: center;
71 gap: 8px;
72 width: 100%;
73 padding: 7px 10px;
74 border-radius: var(--wpsubs-radius-sm);
75 border: none;
76 background: transparent;
77 font-size: 13px;
78 font-family: inherit;
79 color: var(--wpsubs-text);
80 cursor: pointer;
81 text-align: left;
82 text-decoration: none;
83 white-space: nowrap;
84 transition: background 0.1s;
85 box-sizing: border-box;
86 line-height: 1.4;
87 }
88
89 .wpsubs-dropdown__item:hover {
90 background: var(--wpsubs-surface-muted);
91 color: var(--wpsubs-text);
92 text-decoration: none;
93 }
94
95 .wpsubs-dropdown__item:disabled {
96 color: var(--wpsubs-text-subtle);
97 cursor: not-allowed;
98 }
99
100 .wpsubs-dropdown__item--danger {
101 color: #dc2626;
102 }
103 .wpsubs-dropdown__item--danger:hover {
104 background: #fee2e2;
105 color: #b91c1c;
106 }
107
108 .wpsubs-dropdown__divider {
109 height: 1px;
110 background: var(--wpsubs-border);
111 margin: 4px 0;
112 }
113