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 / Views / Form / Templates / Classic / resources / css / _page.scss

_page.scss in GiveWP – Donation Plugin and Fundraising Platform 4.17.0, at src/Views/Form/Templates/Classic/resources/css/_page.scss

61 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use 'fn';
2
3 body {
4 display: flex;
5 justify-content: center;
6 font-family: var(--give-primary-font, inherit), sans-serif;
7 color: #444;
8 }
9
10 #give-receipt,
11 .give-form-wrap {
12 inline-size: min(100%, $containerMaxWidth);
13 }
14
15 .give-container-boxed {
16 .give-form-wrap {
17 background-color: #fff;
18
19 @media screen and (min-width: $desktopMinWidth) {
20 border-radius: 0.5rem;
21 box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.3);
22 }
23 }
24
25 @media screen and (min-width: $desktopMinWidth) {
26 padding: 1rem;
27 }
28 }
29
30 .give-form {
31 border-radius: inherit;
32 }
33
34 .give-form-closed {
35 margin: 1rem;
36 padding-block: fn.scaleBetween(4rem, 8rem);
37 padding-inline: fn.scaleBetween(2rem, 4rem);
38 display: flex;
39 justify-content: center;
40 box-shadow: 0 0 0.5em rgb(0 0 0 / 0.1);
41 --tint-color: rgba(var(--give-header-background-color--for-rgb), 0.75);
42 --tint: linear-gradient(to right, var(--tint-color), var(--tint-color));
43 background-color: rgb(var(--give-header-background-color--for-rgb));
44 /* translucent tint gradient over image */
45 background-image: var(--tint, linear-gradient(transparent, transparent)), var(--give-header-background-image);
46 background-size: cover;
47 background-position: center;
48 border-radius: 0.5rem;
49
50 font-size: fn.scaleBetween(1.125rem, 1.5rem);
51
52 & > p {
53 color: #fff;
54 text-shadow: 0 0.07em 0.14em rgba(0, 0, 0, 0.15);
55 line-height: 1.4;
56 font-weight: 500;
57 max-inline-size: 40ch;
58 text-align: center;
59 }
60 }
61