give
/
src
/
DonationForms
/
FormDesigns
/
MultiStepFormDesign
/
css
/
design-settings
Last commit date
logo.scss
2 years ago
logo.scss
70 lines
| 1 | .givewp-design-settings--logo { |
| 2 | --givewp-logo-container: 5rem; |
| 3 | position: relative; |
| 4 | width: 35rem; |
| 5 | margin: 0 auto; |
| 6 | |
| 7 | &.givewp-donation-form { |
| 8 | position: relative; |
| 9 | background: var(--givewp-shades-white); |
| 10 | padding: 0; |
| 11 | border-radius: 0.5rem; |
| 12 | |
| 13 | &:after { |
| 14 | content: ""; |
| 15 | position: absolute; |
| 16 | height: var(--givewp-logo-container); |
| 17 | top: 0; |
| 18 | left: 0; |
| 19 | width: 25rem; |
| 20 | min-width: 100%; |
| 21 | padding: var(--givewp-spacing-6) var(--givewp-spacing-10); |
| 22 | background-size: contain; |
| 23 | background-color: white; |
| 24 | background-position: left; /* left, center, or right */ |
| 25 | background-origin: content-box; |
| 26 | background-image: var(--givewp-design-settings-logo); |
| 27 | border-top-left-radius: 0.5rem; |
| 28 | border-top-right-radius: 0.5rem; |
| 29 | z-index: 1; |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | .givewp-donation-form__steps { |
| 34 | border-top: none; |
| 35 | border-bottom: none; |
| 36 | box-shadow: var(--givewp-shadow-md); |
| 37 | padding-top: 4rem; |
| 38 | background: var(--givewp-shades-white); |
| 39 | |
| 40 | &-header { |
| 41 | margin-top: -4rem; |
| 42 | } |
| 43 | |
| 44 | &-progress { |
| 45 | z-index: 999; |
| 46 | } |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | |
| 51 | .givewp-design-settings--logo-position { |
| 52 | &__left { |
| 53 | &.givewp-donation-form:after { |
| 54 | background-position: left; /* left, center, or right */ |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | &__center { |
| 59 | &.givewp-donation-form:after { |
| 60 | background-position: center; /* left, center, or right */ |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | &__right { |
| 65 | &.givewp-donation-form:after { |
| 66 | background-position: right; /* left, center, or right */ |
| 67 | } |
| 68 | } |
| 69 | } |
| 70 |