section.scss
61 lines
| 1 | .givewp-design-settings--section-style { |
| 2 | &__default { |
| 3 | // This section intentionally left blank. |
| 4 | } |
| 5 | |
| 6 | &__border { |
| 7 | .givewp-layouts-section__fieldset__legend > legend { |
| 8 | padding-bottom: var(--givewp-spacing-2); |
| 9 | margin-bottom: var(--givewp-spacing-6); |
| 10 | border-bottom: 1px solid; |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | &__solid { |
| 15 | .givewp-layouts-section { |
| 16 | padding-top: 0; |
| 17 | padding-inline: 0; |
| 18 | |
| 19 | .givewp-section-nodes { |
| 20 | padding-inline: clamp(var(--givewp-spacing-6), 7vw, var(--givewp-spacing-20)); |
| 21 | } |
| 22 | |
| 23 | &:last-child { |
| 24 | padding-inline: clamp(var(--givewp-spacing-6), 7vw, var(--givewp-spacing-20)); |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | .givewp-layouts-section__fieldset__legend { |
| 29 | & > p { |
| 30 | padding-inline: clamp(var(--givewp-spacing-6), 7vw, var(--givewp-spacing-20)); |
| 31 | } |
| 32 | |
| 33 | & > legend { |
| 34 | background: var(--givewp-secondary-color); |
| 35 | padding: var(--givewp-spacing-6) 0; |
| 36 | padding-inline: clamp(var(--givewp-spacing-6), 7vw, var(--givewp-spacing-20)); |
| 37 | font-size: 1.25rem; |
| 38 | color: var(--givewp-shades-white); |
| 39 | line-height: 1; |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | &__card { |
| 45 | .givewp-layouts-form { |
| 46 | background: transparent; |
| 47 | } |
| 48 | |
| 49 | .givewp-layouts-section { |
| 50 | border-radius: .25rem; |
| 51 | margin: var(--givewp-spacing-4) 0; |
| 52 | outline: 1px solid var(--givewp-grey-25); |
| 53 | background: var(--givewp-shades-white); |
| 54 | |
| 55 | &:last-child { |
| 56 | padding-top: var(--givewp-spacing-4); |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | } |
| 61 |