PluginProbe
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management / 1.2.0
SureDonation – Donation Forms, Fundraising Campaigns & Donor Management v1.2.0
1.6.1 1.6.0 1.5.1 1.5.0 1.4.0 1.3.0 trunk 0.0.1 1.0.0 1.1.0 1.1.1 1.1.2 1.2.0
suredonation / assets / css / setup-gateway-notice.css

setup-gateway-notice.css in SureDonation – Donation Forms, Fundraising Campaigns & Donor Management 1.2.0, at assets/css/setup-gateway-notice.css

107 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Styles for the SureDonation "configure a payment gateway" setup notice.
3 *
4 * Every rule is scoped under #sd-setup-gateway (the notice wrapper rendered by
5 * the BSF admin notices library). The id prefix is required, not cosmetic:
6 * WordPress core styles the notice body with `.notice p` (specificity 0,1,1),
7 * which would otherwise override plain single-class selectors here.
8 */
9
10 #sd-setup-gateway {
11 padding: 0;
12 border-left: 4px solid #148cb2;
13 background: #fff;
14 }
15
16 #sd-setup-gateway .astra-notice-container {
17 display: block;
18 padding: 0;
19 }
20
21 /* The notice height is driven by the text content. Right padding reserves
22 space for the illustration, which is positioned absolutely so it never
23 adds vertical space around the text. */
24 #sd-setup-gateway .sd-setup-notice {
25 position: relative;
26 padding: 22px 280px 22px 24px;
27 box-sizing: border-box;
28 }
29
30 #sd-setup-gateway .sd-setup-notice__main {
31 display: flex;
32 align-items: flex-start;
33 gap: 14px;
34 }
35
36 #sd-setup-gateway .sd-setup-notice__icon {
37 flex: 0 0 auto;
38 width: 28px;
39 height: 28px;
40 margin-top: 1px;
41 }
42
43 #sd-setup-gateway .sd-setup-notice__body {
44 flex: 1 1 auto;
45 min-width: 0;
46 }
47
48 #sd-setup-gateway .sd-setup-notice__title {
49 margin: 0 0 6px;
50 padding: 0;
51 font-size: 1.25rem;
52 font-weight: 600;
53 line-height: 32px;
54 color: #1d2327;
55 }
56
57 #sd-setup-gateway .sd-setup-notice__text {
58 margin: 0 0 16px;
59 padding: 0;
60 font-size: 1rem;
61 line-height: 24px;
62 color: #3c434a;
63 }
64
65 #sd-setup-gateway .sd-setup-notice__button.button.button-primary,
66 #sd-setup-gateway .sd-setup-notice__button.button.button-primary:focus {
67 display: inline-flex;
68 align-items: center;
69 height: auto;
70 min-height: 0;
71 padding: 8px 18px;
72 font-size: 14px;
73 line-height: 1.2;
74 background: #148cb2;
75 border-color: #148cb2;
76 color: #fff;
77 box-shadow: none;
78 text-shadow: none;
79 }
80
81 #sd-setup-gateway .sd-setup-notice__button.button.button-primary:hover {
82 background: #0b5468;
83 border-color: #0b5468;
84 color: #fff;
85 }
86
87 #sd-setup-gateway .sd-setup-notice__art {
88 position: absolute;
89 top: 50%;
90 right: 24px;
91 transform: translateY(-50%);
92 width: auto;
93 height: auto;
94 max-height: 128px;
95 max-width: 240px;
96 }
97
98 @media screen and (max-width: 782px) {
99 #sd-setup-gateway .sd-setup-notice {
100 padding: 20px 44px 20px 20px;
101 }
102
103 #sd-setup-gateway .sd-setup-notice__art {
104 display: none;
105 }
106 }
107