components
2 years ago
BlockInspectorControls.tsx
2 years ago
BlockPlaceholder.tsx
1 year ago
BlockPlaceholderNoEvents.tsx
2 years ago
BlockPlaceholderSelectEvent.tsx
2 years ago
index.tsx
2 years ago
styles.scss
1 year ago
styles.scss
89 lines
| 1 | @import "../../../templates/EventTickets/styles.scss"; |
| 2 | |
| 3 | .givewp-event-tickets-block__placeholder { |
| 4 | &--no-events, |
| 5 | &--select-event { |
| 6 | border: 1px dashed var(--givewp-grey-500); |
| 7 | border-radius: 0.3125rem; |
| 8 | padding: var(--givewp-spacing-6); |
| 9 | |
| 10 | p { |
| 11 | color: var(--givewp-grey-700); |
| 12 | font-size: 0.875rem; |
| 13 | margin: 0; |
| 14 | } |
| 15 | |
| 16 | a { |
| 17 | color: var(--givewp-grey-900); |
| 18 | font-weight: 600; |
| 19 | |
| 20 | &:hover { |
| 21 | text-decoration: none; |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | &--select-event { |
| 27 | text-align: center; |
| 28 | |
| 29 | .components-base-control { |
| 30 | margin-top: var(--givewp-spacing-1); |
| 31 | |
| 32 | .components-select-control { |
| 33 | gap: var(--givewp-spacing-3); |
| 34 | |
| 35 | &__input { |
| 36 | border-color: var(--givewp-grey-400); |
| 37 | border-radius: 0.125rem; |
| 38 | color: var(--givewp-grey-500); |
| 39 | font-size: 0.8125rem !important; |
| 40 | height: 2.25rem !important; |
| 41 | padding: var(--givewp-spacing-2); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | .components-input-control { |
| 46 | &__label { |
| 47 | color: var(--givewp-grey-700); |
| 48 | font-size: 0.875rem !important; |
| 49 | font-weight: 400 !important; |
| 50 | text-align: center; |
| 51 | } |
| 52 | |
| 53 | &__container { |
| 54 | margin: 0 auto; |
| 55 | max-width: 15.75rem; |
| 56 | width: 100%; |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | .givewp-event-tickets { |
| 63 | border: 1px solid var(--givewp-grey-500); |
| 64 | border-radius: 0.3125rem; |
| 65 | padding: var(--givewp-spacing-2); |
| 66 | |
| 67 | &__header { |
| 68 | background: none; |
| 69 | padding: 0; |
| 70 | |
| 71 | &__date { |
| 72 | background-color: var(--givewp-grey-25); |
| 73 | color: var(--givewp-grey-900); |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | &__tickets { |
| 78 | &__ticket { |
| 79 | &__quantity { |
| 80 | &__sold-out { |
| 81 | background-color: var(--givewp-grey-25); |
| 82 | color: var(--givewp-grey-900); |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | } |
| 87 | } |
| 88 | } |
| 89 |