give
/
src
/
EventTickets
/
resources
/
admin
/
components
/
EventDetailsPage
/
EventDetailsPage.module.scss
AttendeesSection
1 year ago
DonationFormsSection
2 years ago
EventSection
2 years ago
SectionTable
1 year ago
TicketTypesSection
1 year ago
EventDetailsPage.module.scss
2 years ago
index.tsx
2 years ago
types.ts
2 years ago
EventDetailsPage.module.scss
157 lines
| 1 | :global { |
| 2 | :root { |
| 3 | --give-primary-color: #69b868; |
| 4 | } |
| 5 | |
| 6 | .post-type-give_forms #wpbody { |
| 7 | box-sizing: border-box; |
| 8 | |
| 9 | & > a { |
| 10 | text-decoration: underline; |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | .post-type-give_forms #wpbody-content { |
| 15 | box-sizing: border-box; |
| 16 | } |
| 17 | |
| 18 | .post-type-give_forms #wpbody::after { |
| 19 | all: revert; |
| 20 | } |
| 21 | |
| 22 | .give-visually-hidden { |
| 23 | position: absolute; |
| 24 | width: 1px; |
| 25 | height: 1px; |
| 26 | padding: 0; |
| 27 | margin: -1px; |
| 28 | overflow: hidden; |
| 29 | clip: rect(0, 0, 0, 0); |
| 30 | white-space: nowrap; |
| 31 | border-width: 0; |
| 32 | } |
| 33 | |
| 34 | #wpcontent { |
| 35 | padding: 0; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | .page { |
| 40 | box-sizing: border-box; |
| 41 | color: #333; |
| 42 | font-family: Open Sans, system-ui, sans-serif; |
| 43 | font-size: 1rem; |
| 44 | |
| 45 | *, |
| 46 | ::before, |
| 47 | ::after { |
| 48 | box-sizing: inherit; |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | .pageHeader { |
| 53 | display: flex; |
| 54 | flex-wrap: wrap; |
| 55 | align-items: center; |
| 56 | justify-content: space-between; |
| 57 | gap: 1rem; |
| 58 | background-color: #fff; |
| 59 | padding-block: 1em; |
| 60 | padding-inline: 1.5em; |
| 61 | border-bottom: 0.0625rem solid #dbdbdb; |
| 62 | |
| 63 | & > * { |
| 64 | flex-shrink: 0; |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | .flexRow { |
| 69 | display: flex; |
| 70 | flex-direction: row; |
| 71 | align-items: center; |
| 72 | column-gap: 1rem; |
| 73 | |
| 74 | & > span { |
| 75 | padding-inline: 0.5rem; |
| 76 | padding-block: 0.185rem; |
| 77 | background: #f49420; |
| 78 | border-radius: 5px; |
| 79 | font-size: 0.7rem; |
| 80 | font-weight: 700; |
| 81 | text-transform: uppercase; |
| 82 | letter-spacing: 0.04rem; |
| 83 | transform: translateY(0.075rem); |
| 84 | color: #ffffff; |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | .flexRow:not(:first-child) { |
| 89 | flex: 1; |
| 90 | justify-content: flex-end; |
| 91 | } |
| 92 | |
| 93 | .pageTitle { |
| 94 | color: #424242; |
| 95 | margin: 0; |
| 96 | font-size: 1.5rem; |
| 97 | font-weight: 600; |
| 98 | } |
| 99 | |
| 100 | .tabsNav { |
| 101 | background: var(--givewp-grey-100); |
| 102 | display: flex; |
| 103 | margin-bottom: var(--givewp-spacing-6); |
| 104 | padding: 0 var(--givewp-spacing-6); |
| 105 | } |
| 106 | |
| 107 | .tabButton { |
| 108 | background: none; |
| 109 | border: 0; |
| 110 | color: var(--givewp-grey-900); |
| 111 | cursor: pointer; |
| 112 | font-size: 1rem; |
| 113 | font-weight: 600; |
| 114 | line-height: 1.5; |
| 115 | padding: var(--givewp-spacing-4) var(--givewp-spacing-6); |
| 116 | |
| 117 | &:hover { |
| 118 | background-color: var(--givewp-grey-50); |
| 119 | } |
| 120 | |
| 121 | &:focus { |
| 122 | outline: none; |
| 123 | } |
| 124 | |
| 125 | &.activeTab { |
| 126 | background-color: var(--givewp-grey-5); |
| 127 | box-shadow: inset 0 4px 0 var(--givewp-green-500); |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | .pageContent { |
| 132 | padding: 0 var(--givewp-spacing-6) var(--givewp-spacing-6); |
| 133 | |
| 134 | section { |
| 135 | margin-bottom: var(--givewp-spacing-14); |
| 136 | position: relative; |
| 137 | |
| 138 | h2 { |
| 139 | font-size: 1.125rem; |
| 140 | line-height: 1.56; |
| 141 | margin: 0 0 var(--givewp-spacing-2); |
| 142 | } |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | :global(#give-admin-event-tickets-root) { |
| 147 | .goToEventsListButton { |
| 148 | background: none; |
| 149 | border-radius: var(--givewp-rounded-2); |
| 150 | font-size: 0.875rem; |
| 151 | font-weight: 600; |
| 152 | line-height: 1.43; |
| 153 | padding: var(--givewp-spacing-2) var(--givewp-spacing-4); |
| 154 | text-align: center; |
| 155 | } |
| 156 | } |
| 157 |