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 / _personal-info.scss

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

155 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use 'fn';
2
3 .give-personal-info-section {
4 & fieldset:not(.ffm-field-container > fieldset) {
5 display: grid;
6 grid-template-columns: repeat(12, 1fr);
7 column-gap: fn.scaleBetween(1.5rem, 1.6875rem);
8 row-gap: fn.scaleBetween(1.5rem, 1.9375rem);
9 grid-column: span 12;
10
11 & legend:first-of-type {
12 width: 100%;
13 padding-block-end: 0.75rem;
14 margin-block-end: 1rem;
15 border-block-end: 0.0625rem solid #ddd;
16 font-size: fn.scaleBetween(1.25rem, 1.5rem);
17 font-weight: 500;
18 line-height: 1.3;
19 color: #333;
20 }
21
22 > .form-row-wide, div, p {
23 grid-column: span 12;
24 }
25
26 > .form-row-responsive {
27 grid-column: span 12;
28
29 @media screen and (min-width: $desktopMinWidth) {
30 grid-column: span 6;
31 }
32 }
33 }
34
35 #give-title-wrap label,
36 #give-first-name-wrap label,
37 #give-last-name-wrap label,
38 #give-email-wrap label {
39 @include visually-hidden;
40 }
41
42 & .give-input[type='text']='text'],
43 & .give-input[type='email']='email'] {
44 inline-size: 100%;
45 padding: 1.1875rem;
46 border: 0.078rem solid #666;
47 border-radius: 0.25rem;
48 box-shadow: inset 0 0.08em 0.4em rgba(0, 0, 0, 0.15);
49 background-color: #fff;
50 color: #828382;
51 font-size: 1rem;
52 font-family: inherit;
53 font-weight: 500;
54 line-height: 1.2;
55 }
56
57 & div[id^="give-user-login-submit"]^="give-user-login-submit""] {
58 display: grid;
59 grid-template-columns: repeat(12, 1fr);
60 column-gap: fn.scaleBetween(1.5rem, 1.6875rem);
61
62 & input {
63 grid-column: span 6;
64 }
65 }
66 }
67
68 .give-personal-info-description {
69 grid-column: span 12;
70 }
71
72 #give-title-wrap {
73 grid-column: span 2;
74
75
76 ~ :is(#give-first-name-wrap, #give-last-name-wrap) {
77 grid-column: span 5;
78 }
79
80 @media screen and (max-width: $containerMaxWidth) {
81 grid-column: span 4;
82
83 & + #give-first-name-wrap {
84 grid-column: span 8;
85 }
86
87 & ~ #give-last-name-wrap {
88 grid-column: span 12;
89 }
90 }
91 }
92
93 #give-first-name-wrap,
94 #give-last-name-wrap,
95 #give-email-wrap {
96 position: relative;
97
98 &::before {
99 position: absolute;
100 inset-inline-start: 1.1875rem;
101 // The specific inset block coordinates and the fixed block-size allow
102 // us to use margin to center the icon on the block-axis.
103 inset-block-start: 0;
104 inset-block-end: 0.1875em;
105 block-size: 1em;
106 margin-block: auto;
107 color: #8d8e8e;
108 font-family: 'Font Awesome 5 Free';
109 font-weight: 900;
110 pointer-events: none;
111 }
112 }
113
114 #give-first-name-wrap input,
115 #give-email-wrap input {
116 padding-inline-start: 2.6875rem;
117 }
118
119 #give-first-name-wrap::before {
120 content: '\f007';
121 }
122
123 #give-company-radio-list-wrap {
124 > label {
125 display: block;
126 margin-bottom: 10px;
127 }
128
129 ul.give-company-radio-list {
130 margin: 0;
131 padding: 0;
132 list-style: none;
133
134 li {
135 display: inline-flex;
136 margin-right: 15px;
137 margin-left: 0;
138
139 input {
140 margin-right: 7px;
141 }
142
143 label {
144 cursor: pointer;
145 display: inline;
146 margin: 0;
147 }
148 }
149 }
150 }
151
152 #give-email-wrap::before {
153 content: '\f0e0';
154 }
155