FormModal.module.scss
99 lines
| 1 | .formModal { |
| 2 | :global { |
| 3 | .givewp-modal-dialog { |
| 4 | max-width: 37.5rem; |
| 5 | |
| 6 | .givewp-modal-header { |
| 7 | font-size: 1.25rem; |
| 8 | font-weight: 600; |
| 9 | line-height: 1.6; |
| 10 | } |
| 11 | |
| 12 | .givewp-modal-close { |
| 13 | translateY: 4.5px; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | .givewp-event-tickets { |
| 18 | &__form { |
| 19 | label { |
| 20 | color: var(--givewp-grey-700); |
| 21 | font-size: 1rem; |
| 22 | font-weight: 500; |
| 23 | line-height: 1.5; |
| 24 | } |
| 25 | |
| 26 | input, textarea { |
| 27 | border-color: var(--givewp-grey-400); |
| 28 | font-size: 1rem; |
| 29 | line-height: 1.5; |
| 30 | padding: var(--givewp-spacing-3) var(--givewp-spacing-4); |
| 31 | |
| 32 | &::placeholder { |
| 33 | color: var(--givewp-grey-400); |
| 34 | } |
| 35 | |
| 36 | &[aria-invalid="true"]="true""] { |
| 37 | border-color: var(--givewp-red-500); |
| 38 | outline-color: var(--givewp-red-500); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | span { |
| 43 | color: var(--givewp-grey-400); |
| 44 | font-size: 0.75rem; |
| 45 | line-height: 1.5; |
| 46 | |
| 47 | strong { |
| 48 | color: var(--givewp-grey-500); |
| 49 | font-weight: 600; |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | button[type="submit"]="submit""].button { |
| 54 | display: block; |
| 55 | font-size: 1rem; |
| 56 | font-weight: 500; |
| 57 | line-height: 1.5; |
| 58 | padding: var(--givewp-spacing-3) var(--givewp-spacing-5); |
| 59 | width: 100%; |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | &__form-row { |
| 64 | display: flex; |
| 65 | flex-direction: column; |
| 66 | gap: var(--givewp-spacing-1); |
| 67 | margin-bottom: var(--givewp-spacing-6); |
| 68 | |
| 69 | &--half { |
| 70 | flex-direction: row; |
| 71 | gap: var(--givewp-spacing-6); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | &__form-column { |
| 76 | display: flex; |
| 77 | flex: 1; |
| 78 | flex-direction: column; |
| 79 | gap: var(--givewp-spacing-1); |
| 80 | } |
| 81 | |
| 82 | &__form-errors { |
| 83 | list-style: disc; |
| 84 | margin-bottom: var(--givewp-spacing-6); |
| 85 | margin-top: 0; |
| 86 | padding-left: var(--givewp-spacing-4); |
| 87 | |
| 88 | li { |
| 89 | color: var(--givewp-red-500); |
| 90 | font-size: 0.875rem; |
| 91 | font-weight: 500; |
| 92 | line-height: 1.5; |
| 93 | margin: 0; |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 |