PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.18.0
GiveWP – Donation Plugin and Fundraising Platform v4.18.0
4.18.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 All 257 releases
give / src / Views / Form / Templates / Classic / resources / css / _section.scss

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

62 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @use 'fn';
2
3 .give-form-section {
4 display: grid;
5 grid-auto-flow: row;
6 grid-template-columns: repeat(12, 1fr);
7 row-gap: 1rem;
8
9 padding-block: fn.scaleBetween(1.75rem, 3.375rem);
10 padding-inline: fn.scaleBetween(1rem, 4.375rem);
11
12 & > * {
13 grid-column: span 12;
14 }
15
16 > .give-ffm-form-row-half,
17 > .give-ffm-form-row-one-third,
18 > .give-ffm-form-row-two-third,
19 > .form-row-wide {
20 width: revert;
21 padding: revert;
22 float: revert;
23 }
24
25 > .give-ffm-form-row-one-third {
26 grid-column: span 4;
27 }
28
29 > .give-ffm-form-row-half {
30 grid-column: span 6;
31 }
32
33 > .give-ffm-form-row-two-third {
34 grid-column: span 8;
35 }
36
37 > .form-row-wide {
38 grid-column: span 12;
39 }
40
41 .give-container-boxed & {
42 // :nth-of-type requires these be the an element. This works since we are
43 // using `<section>` with this class.
44 &:nth-of-type(odd) {
45 background-color: #fff;
46 }
47 &:nth-of-type(even) {
48 background-color: #f9f9f9;
49 }
50 }
51
52 &:first-of-type {
53 border-start-start-radius: inherit;
54 border-start-end-radius: inherit;
55 }
56
57 &:last-of-type {
58 border-end-start-radius: inherit;
59 border-end-end-radius: inherit;
60 }
61 }
62