PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
give / src / DonationForms / resources / styles / components / _gateways.scss

_gateways.scss in GiveWP – Donation Plugin and Fundraising Platform 4.17.0, at src/DonationForms/resources/styles/components/_gateways.scss

138 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use '../variables';
2
3 .givewp-fields-gateways {
4 &__list {
5 display: flex;
6 flex-direction: column;
7 gap: var(--givewp-spacing-2);
8 list-style: none;
9 }
10
11 &__gateway {
12 display: flex;
13 flex-direction: column;
14 gap: var(--givewp-spacing-1);
15
16 background-color: var(--givewp-shades-white);
17 transition: background-color var(--tab-transition);
18 border-radius: var(--givewp-rounded-4);
19 border-color: var(--givewp-grey-400);
20 list-style: none;
21 margin: 0;
22
23 &:first-child:last-child {
24 label > input {
25 display: none;
26 }
27 }
28
29 label {
30 display: flex;
31 flex-direction: row;
32 gap: var(--givewp-spacing-4);
33 align-items: center;
34 padding: var(--givewp-spacing-6) var(--givewp-spacing-4);
35 border-style: solid;
36 border-width: 1px;
37 border-color: inherit;
38 border-radius: var(--givewp-rounded-4);
39 cursor: pointer;
40 }
41
42 &--active {
43 border-color: var(--givewp-primary-color);
44 }
45
46 &__label {
47 flex-grow: 1;
48 }
49
50 &__icon {
51 font-size: 1.25rem;
52 color: var(--givewp-grey-500);
53 }
54
55 &__fields {
56 display: none;
57 border-style: solid;
58 border-width: 1px;
59 border-color: inherit;
60 padding: var(--givewp-spacing-8) var(--givewp-spacing-12);
61 border-radius: var(--givewp-rounded-4);
62 font-size: var(--givewp-font-weight-paragraph-md);
63 }
64
65 &--active &__fields {
66 display: block;
67
68 @media screen and (max-width: variables.$givewp-breakpoint-sm) {
69 padding: var(--givewp-spacing-4);
70 }
71 }
72
73 &--empty {
74 display: flex;
75 flex-direction: column;
76 align-items: center;
77 justify-content: center;
78 border-style: solid;
79 border-width: 1px;
80 border-color: var(--givewp-red-500);
81 padding: var(--givewp-spacing-8) var(--givewp-spacing-12);
82 border-radius: var(--givewp-rounded-4);
83 font-size: var(--givewp-font-weight-paragraph-md);
84 min-height: 100px;
85 p {
86 text-align: center;
87 margin-bottom: 0;
88 }
89 }
90
91 &--test-gateway {
92 .no-fields {
93 display: flex;
94 flex-direction: column;
95 justify-content: center;
96 align-items: center;
97 gap: var(--givewp-spacing-4);
98 }
99
100 p {
101 margin: 0;
102 }
103 }
104 }
105 }
106
107 .givewp-test-mode-notice {
108 display: flex;
109 justify-content: left;
110 align-items: center;
111 width: 100%;
112 padding: 0.75rem 1rem;
113 gap: 1rem;
114 margin-bottom: 2.5rem;
115 border-radius: 0.25rem;
116 border-top: 1px solid var(--orange-400, #F29718);
117 border-right: 1px solid var(--orange-400, #F29718);
118 border-bottom: 1px solid var(--orange-400, #F29718);
119 border-left: 4px solid var(--orange-400, #F29718);
120 background: var(--shades-white, #FFF);
121
122 svg {
123 width: 1.5rem;
124 height: 1.5rem;
125 flex-shrink: 0;
126 }
127
128 p {
129 margin: 0;
130 line-height: 1.25rem;
131 color: var(--grey-900, #0E0E0E);
132 font-size: 0.875rem;
133 font-style: normal;
134 font-weight: 400;
135 }
136 }
137
138