PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 2.18.1
GiveWP – Donation Plugin and Fundraising Platform v2.18.1
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 2.30.0 2.31.0 2.31.1 2.32.0 2.33.0 2.33.1 2.33.2 2.33.3 2.33.4 2.33.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.10.0 3.11.0 3.12.0 3.12.1 3.12.2 3.12.3 3.13.0 3.14.0 3.14.1 3.14.2 3.15.0 3.15.1 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.17.0 3.17.1 3.17.2 3.18.0 3.19.0 3.19.1 3.19.2 3.19.3 3.19.4 3.2.0 3.2.1 3.2.2 3.20.0 3.21.0 3.21.1 3.22.0 3.22.1 3.22.2 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.7.0 3.8.0 3.9.0 4.0.0 4.1.0 4.1.1 4.10.0 4.10.1 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.14.5 4.14.6 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.1 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 trunk 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.2 2.11.3 2.12.0 2.12.1 2.12.2 2.12.3 2.13.0 2.13.1 2.13.2 2.13.3 2.13.4 2.14.0 2.15.0 2.16.0 2.16.1 2.17.0 2.17.1 2.17.3 2.18.0 2.18.1 2.19.1 2.19.2 2.19.3 2.19.4 2.19.5 2.19.6 2.19.7 2.19.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.20.0 2.20.1 2.20.2 2.21.0 2.21.1 2.21.2 2.21.3 2.21.4 2.22.0 2.22.1 2.22.2 2.22.3 2.23.0 2.23.1 2.23.2 2.24.0 2.24.1 2.24.2 2.25.0 2.25.1 2.25.2 2.25.3 2.26.0 2.27.0 2.27.1 2.27.2 2.27.3 2.28.0 2.29.0 2.29.1 2.29.2
give / src / Views / Form / Templates / Classic / resources / css / _header.scss
give / src / Views / Form / Templates / Classic / resources / css Last commit date
_button.scss 4 years ago _checkbox.scss 4 years ago _currencyswitcher.scss 4 years ago _donate-now.scss 4 years ago _donation-amount.scss 4 years ago _donation-summary.scss 4 years ago _errors-notices.scss 4 years ago _ffm.scss 4 years ago _fn.scss 4 years ago _funds.scss 4 years ago _grid.scss 4 years ago _header.scss 4 years ago _icons.scss 4 years ago _label.scss 4 years ago _legacy-consumer.scss 4 years ago _page.scss 4 years ago _payment-details.scss 4 years ago _personal-info.scss 4 years ago _radio.scss 4 years ago _receipt.scss 4 years ago _reset.scss 4 years ago _section.scss 4 years ago _stripe-checkout-modal.scss 4 years ago _terms.scss 4 years ago _text-input.scss 4 years ago _tooltip.scss 4 years ago _tributes.scss 4 years ago _variables.scss 4 years ago form.scss 4 years ago variables.php 4 years ago
_header.scss
201 lines
1 @use 'fn';
2
3 .give-form-header {
4 display: flex;
5 flex-direction: column;
6 justify-items: center;
7 align-items: center;
8 row-gap: 2rem;
9 border-start-start-radius: inherit;
10 border-start-end-radius: inherit;
11
12 --tint-color: rgba(var(--give-header-background-color--for-rgb), 0.75);
13 --tint: linear-gradient(to right, var(--tint-color), var(--tint-color));
14 background-color: rgb(var(--give-header-background-color--for-rgb));
15 /* translucent tint gradient over image */
16 background-image: var(--tint, linear-gradient(transparent, transparent)), var(--give-header-background-image);
17 background-size: cover;
18 background-position: center;
19
20 color: #fff;
21 text-align: center;
22
23 @media screen and (min-width: $desktopMinWidth) {
24 padding: 3rem;
25 }
26
27 .give-container-unboxed & {
28 border-radius: 0.5rem;
29 margin-inline: 1rem;
30 }
31 }
32
33 .give-form-header-top-wrap {
34 padding-block-start: 2.75rem;
35 padding-block-end: 0.75rem;
36 padding-inline: 2rem;
37
38 @media screen and (min-width: $desktopMinWidth) {
39 padding: 0;
40 }
41 }
42
43 .give-form-title {
44 position: relative;
45 margin-block-end: 2.75rem;
46 font-size: fn.scaleBetween(1.75rem, 2.1875rem);
47 font-weight: 600;
48 line-height: 1.2;
49 text-shadow: 0 0.07em 0.14em rgba(0, 0, 0, 0.15);
50 }
51
52 .give-form-title::after {
53 position: absolute;
54 content: '';
55 display: block;
56 border-radius: 9999px;
57 inline-size: 4.375rem;
58 block-size: 0.3125rem;
59 background-color: #fff;
60 inset-inline-start: 50%;
61 inset-block-start: calc(100% + 1.25rem);
62 transform: translate(-50%);
63 }
64
65 .give-form-description {
66 font-size: fn.scaleBetween(1.125rem, 1.25rem);
67 line-height: 1.45;
68 margin: 0 auto;
69 max-inline-size: 42ch;
70 }
71
72 .give-form-secure-badge {
73 display: inline-flex;
74 column-gap: 0.75em;
75 align-items: center;
76 padding-block: 0.5rem;
77 padding-inline: 0.9rem;
78 border-radius: 9999px;
79 background-color: #fff;
80 box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.25);
81 color: #333;
82 font-size: 0.9rem;
83 font-weight: 500;
84 line-height: 1;
85
86 .give-form-description + & {
87 margin-block-start: 2rem;
88 }
89 }
90
91 .give-form-secure-icon {
92 position: relative;
93 inset-block-start: -0.04em;
94 color: #77d006;
95 block-size: 1em;
96 aspect-ratio: 1;
97 @supports not (aspect-ratio: 1) {
98 inline-size: 1em;
99 }
100 }
101
102 .give-form-stats-panel {
103 inline-size: 100%;
104
105 border-color: #ddd;
106 border-style: solid;
107 border-inline-width: 0;
108 border-block-width: 0.0625rem;
109
110 background-color: #fff;
111
112 @media screen and (min-width: $desktopMinWidth) {
113 border: 0;
114 border-radius: 0.5rem;
115 background-color: #fbfbfb;
116 }
117 }
118
119 .give-form-stats-panel-list {
120 display: flex;
121 flex-wrap: wrap;
122 justify-items: stretch;
123 justify-content: center;
124 border-radius: inherit;
125 color: #4c4c4c;
126 list-style: none;
127 padding-inline-start: 0;
128 margin: 0;
129 text-align: center;
130 inline-size: 100%;
131 }
132
133 .give-form-stats-panel-stat:first-child,
134 .give-form-stats-panel-stat:nth-child(2) {
135 position: relative;
136 }
137
138 .give-form-stats-panel-stat:first-child::after,
139 .give-form-stats-panel-stat:nth-child(2)::after {
140 content: '';
141 position: absolute;
142 inset-block-start: 0;
143 inset-inline-start: calc(100% + 0.03125rem);
144 display: block;
145 inline-size: 0.0625rem;
146 block-size: 100%;
147 background-color: #ddd;
148 }
149
150 .give-form-stats-panel-stat {
151 padding: 1rem;
152 inline-size: calc(100% / 3);
153 font-weight: 600;
154 color: #767676;
155 }
156
157 .give-form-stats-panel-stat-number {
158 display: block;
159 color: #424242;
160 }
161
162 .give-form-goal-progress {
163 inline-size: 100%;
164 padding: 1.25rem;
165 border-block-start: 1px solid #ddd;
166 border-end-start-radius: inherit;
167 border-end-end-radius: inherit;
168 background-color: #fff;
169 }
170
171 /**
172 * We are not using the `<meter>` element because in order to style it in
173 * Safari, we’d have to break the accessibility for VoiceOver.
174 */
175 .give-form-goal-progress-meter {
176 inline-size: 100%;
177 block-size: 1.375em;
178 border-radius: 9999px;
179 background-color: #f1f1f1;
180 box-shadow: inset 0 0.0625em 0.25rem rgba(0, 0, 0, 0.1);
181 overflow: hidden; /* Fallback for Safari */
182 overflow: clip;
183 }
184
185 .give-form-goal-progress-meter::after {
186 content: '';
187 display: block;
188 block-size: 100%;
189 --zero-percent: 0%; /* cssnano will strip this out otherwise */
190 inline-size: clamp(var(--zero-percent), var(--progress), 100%);
191 background: linear-gradient(
192 180deg,
193 var(--give-header-stats-progressbar-color) 0%,
194 var(--give-header-stats-progressbar-color) 100%
195 ),
196 linear-gradient(180deg, #fff 0%, #ccc 100%);
197 background-blend-mode: multiply;
198 border-start-end-radius: inherit;
199 border-end-end-radius: inherit;
200 }
201