tf-checkout-react 1.0.100 → 1.0.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/components/billing-info-container/index.d.ts +3 -1
  2. package/dist/components/common/RedirectModal.d.ts +7 -0
  3. package/dist/components/common/SnackbarAlert.d.ts +13 -0
  4. package/dist/components/confirmationContainer/index.d.ts +2 -1
  5. package/dist/components/ticketsContainer/index.d.ts +2 -1
  6. package/dist/env.d.ts +1 -0
  7. package/dist/images/done.svg +3 -3
  8. package/dist/index.d.ts +1 -0
  9. package/dist/tf-checkout-react.cjs.development.js +317 -136
  10. package/dist/tf-checkout-react.cjs.development.js.map +1 -1
  11. package/dist/tf-checkout-react.cjs.production.min.js +1 -1
  12. package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
  13. package/dist/tf-checkout-react.esm.js +318 -138
  14. package/dist/tf-checkout-react.esm.js.map +1 -1
  15. package/dist/tf-checkout-styles.css +1 -1
  16. package/package.json +89 -89
  17. package/src/.DS_Store +0 -0
  18. package/src/.d.ts +2 -2
  19. package/src/api/index.ts +293 -278
  20. package/src/assets/images/done.svg +3 -3
  21. package/src/components/.DS_Store +0 -0
  22. package/src/components/billing-info-container/index.tsx +796 -777
  23. package/src/components/billing-info-container/style.css +105 -105
  24. package/src/components/billing-info-container/utils.ts +224 -224
  25. package/src/components/common/CheckboxField.tsx +41 -41
  26. package/src/components/common/CustomField.tsx +84 -84
  27. package/src/components/common/FormikPhoneNumberField.tsx +51 -51
  28. package/src/components/common/Loader.tsx +9 -9
  29. package/src/components/common/RadioField.tsx +35 -35
  30. package/src/components/common/RedirectModal.tsx +43 -0
  31. package/src/components/common/SelectField.tsx +80 -80
  32. package/src/components/common/SnackbarAlert.tsx +54 -0
  33. package/src/components/common/index.tsx +4 -4
  34. package/src/components/confirmModal/index.tsx +51 -51
  35. package/src/components/confirmModal/style.css +21 -21
  36. package/src/components/confirmationContainer/config.ts +72 -72
  37. package/src/components/confirmationContainer/index.tsx +197 -194
  38. package/src/components/confirmationContainer/social-buttons.tsx +94 -94
  39. package/src/components/confirmationContainer/style.css +202 -202
  40. package/src/components/countdown/index.tsx +89 -89
  41. package/src/components/countdown/style.css +9 -9
  42. package/src/components/index.ts +7 -7
  43. package/src/components/loginModal/index.tsx +209 -209
  44. package/src/components/loginModal/style.css +71 -71
  45. package/src/components/myTicketsContainer/index.tsx +196 -137
  46. package/src/components/myTicketsContainer/row.tsx +41 -41
  47. package/src/components/myTicketsContainer/style.css +39 -39
  48. package/src/components/myTicketsContainer/tableConfig.tsx +34 -34
  49. package/src/components/orderDetailsContainer/index.tsx +249 -249
  50. package/src/components/orderDetailsContainer/style.css +72 -72
  51. package/src/components/orderDetailsContainer/ticketsTable.tsx +124 -124
  52. package/src/components/paymentContainer/index.tsx +284 -284
  53. package/src/components/registerModal/index.tsx +190 -190
  54. package/src/components/stripePayment/index.tsx +253 -253
  55. package/src/components/stripePayment/style.css +59 -59
  56. package/src/components/ticketResale/index.tsx +56 -56
  57. package/src/components/ticketResaleModal/index.tsx +210 -210
  58. package/src/components/ticketResaleModal/style.css +28 -28
  59. package/src/components/ticketsContainer/PromoCodeSection.tsx +99 -99
  60. package/src/components/ticketsContainer/ReferralLogic.tsx +33 -33
  61. package/src/components/ticketsContainer/TicketRow.tsx +83 -83
  62. package/src/components/ticketsContainer/TicketsSection.tsx +81 -81
  63. package/src/components/ticketsContainer/index.tsx +427 -409
  64. package/src/components/ticketsContainer/style.css +181 -181
  65. package/src/components/ticketsContainer/utils.ts +11 -11
  66. package/src/components/timerWidget/index.tsx +70 -70
  67. package/src/components/timerWidget/style.css +26 -26
  68. package/src/components/waitingList/index.tsx +178 -178
  69. package/src/components/waitingList/style.css +26 -26
  70. package/src/env.ts +20 -19
  71. package/src/index.ts +14 -13
  72. package/src/normalizers/index.ts +45 -45
  73. package/src/types/billing-info-data.ts +37 -37
  74. package/src/types/payment-field.ts +7 -7
  75. package/src/types/referral-promotion.ts +7 -7
  76. package/src/utils/createCheckoutDataBodyWithDefaultHolder.ts +59 -59
  77. package/src/utils/downloadPDF.tsx +30 -30
  78. package/src/utils/formikErrorFocus.ts +24 -24
  79. package/src/utils/getImage.ts +14 -14
  80. package/src/utils/getQueryVariable.ts +13 -13
  81. package/src/utils/index.ts +5 -5
  82. package/src/utils/setConfigs.ts +26 -26
  83. package/src/utils/showZero.tsx +10 -10
  84. package/src/validators/index.ts +20 -20
@@ -1,249 +1,249 @@
1
- import React, { useState, useEffect } from 'react'
2
- import './style.css'
3
-
4
- import Table from '@mui/material/Table'
5
- import TableBody from '@mui/material/TableBody'
6
- import TableCell from '@mui/material/TableCell'
7
- import TableContainer from '@mui/material/TableContainer'
8
- import TableHead from '@mui/material/TableHead'
9
- import TableRow from '@mui/material/TableRow'
10
- import Paper from '@mui/material/Paper'
11
- import CircularProgress from '@mui/material/CircularProgress'
12
- import _get from 'lodash/get'
13
- import _has from 'lodash/has'
14
- import { getOrderDetails } from '../../api'
15
- import TicketsTable, { ITicketTypes } from './ticketsTable'
16
- import { TicketResaleModal, InitialValuesTypes } from '../ticketResaleModal'
17
- import ConfirmModal from '../confirmModal'
18
- import { resaleTicket, removeFromResale } from '../../api'
19
-
20
- interface TicketTypes {
21
- currency: string;
22
- discount: string;
23
- name: string;
24
- price: string;
25
- quantity: string;
26
- total: string;
27
- }
28
-
29
- interface OrderDetailsTypes {
30
- onGetOrdersSuccess: (res: any) => void;
31
- onGetOrdersError: (err: any) => void;
32
- }
33
-
34
- const getTotal = (data: any) => {
35
- if (!data?.total || !_has(data, 'items.ticket_types.length')) return ''
36
-
37
- return data.items.ticket_types[0].currency + data.total
38
- }
39
-
40
- export const OrderDetailsContainer = ({
41
- onGetOrdersSuccess = () => {},
42
- onGetOrdersError = () => {},
43
- }: OrderDetailsTypes) => {
44
- const [data, setData] = useState<any>({})
45
- const [loading, setLoading] = useState(true)
46
- const [showResaleModal, setShowResaleModal] = useState(false)
47
- const [showRemoveResaleModal, setShowRemoveResaleModal] = useState(false)
48
- const [activeTicket, setActiveTicket] = useState<any>(null)
49
-
50
- useEffect(() => {
51
- (async () => {
52
- try {
53
- setLoading(true)
54
- let orderId = ''
55
- if (typeof window !== 'undefined') {
56
- const params: URLSearchParams = new URL(`${window.location}`)
57
- .searchParams
58
- orderId = params.get('o') || ''
59
- }
60
- const response = await getOrderDetails(orderId)
61
- onGetOrdersSuccess(response)
62
-
63
- const data = _get(response, 'data.data.attributes')
64
-
65
- setData(data)
66
- } catch (error) {
67
- onGetOrdersError(error)
68
- } finally {
69
- setLoading(false)
70
- }
71
- })()
72
- }, [])
73
-
74
- const handleSellTicket = (ticket: ITicketTypes) => {
75
- setActiveTicket(ticket)
76
- setShowResaleModal(true)
77
- }
78
-
79
- const handleOnClose = () => {
80
- setShowResaleModal(false)
81
- setActiveTicket(null)
82
- }
83
-
84
- const handleOnSubmit = async (values: InitialValuesTypes) => {
85
- try {
86
- setLoading(true)
87
- const { to, first_name, last_name, email, confirm_email, confirm } = values
88
- const formData = new FormData();
89
- formData.append('to', to)
90
- formData.append('first_name', first_name)
91
- formData.append('last_name', last_name)
92
- formData.append('email', email)
93
- formData.append('confirm_email', confirm_email)
94
- formData.append('confirm', String(confirm))
95
-
96
- await resaleTicket(formData, activeTicket.hash)
97
- const updatedData = { ...data }
98
- updatedData?.tickets?.forEach((ticket: ITicketTypes) => {
99
- if(ticket.hash === activeTicket.hash) {
100
- ticket.is_sellable = false
101
- ticket.is_on_sale = true
102
- }
103
- })
104
-
105
- setData(updatedData)
106
- } catch (error) {
107
- // ...
108
- } finally {
109
- setShowResaleModal(false)
110
- setLoading(false)
111
- }
112
- }
113
-
114
- const handleRemoveFromResale = (ticket: ITicketTypes) => {
115
- setShowRemoveResaleModal(true)
116
- setActiveTicket(ticket)
117
- }
118
-
119
- const onCloseRemoveResale = () => {
120
- setShowRemoveResaleModal(false)
121
- setActiveTicket(null)
122
- }
123
-
124
- const onConfirmRemoveResale = async () => {
125
- try {
126
- setLoading(true)
127
- await removeFromResale(activeTicket.hash)
128
- const updatedData = { ...data }
129
- updatedData?.tickets?.forEach((ticket: ITicketTypes) => {
130
- if(ticket.hash === activeTicket.hash) {
131
- ticket.is_sellable = true
132
- ticket.is_on_sale = false
133
- }
134
- })
135
-
136
- setData(updatedData)
137
- } catch (error) {
138
- // ...
139
- } finally {
140
- setShowRemoveResaleModal(false)
141
- setLoading(false)
142
- }
143
- }
144
-
145
- return (
146
- <div className="order-details">
147
- {loading ? (
148
- <div className="loading">
149
- <CircularProgress />
150
- </div>
151
- ) : (
152
- <>
153
- <h1 className="layout-title">Order Details</h1>
154
- <div className="order-summary-box">
155
- <h4 className="sub-title">Order Summary</h4>
156
- <div className="personal-link">
157
- <b>Your personal share link for this event is: </b>
158
- <a
159
- href={data?.personal_share_link}
160
- target="_blank"
161
- rel="noreferrer"
162
- >
163
- {data?.personal_share_link}
164
- </a>
165
- </div>
166
- <TableContainer component={Paper}>
167
- <Table aria-label="collapsible table">
168
- <TableHead>
169
- <TableRow>
170
- <TableCell>Items</TableCell>
171
- <TableCell>Price</TableCell>
172
- <TableCell>Quantity</TableCell>
173
- <TableCell>Total</TableCell>
174
- </TableRow>
175
- </TableHead>
176
- <TableBody>
177
- {data?.items?.ticket_types?.map(
178
- (ticket: TicketTypes, index: number) => (
179
- <TableRow key={index}>
180
- <TableCell>
181
- <b>Ticket Type: </b>
182
- {ticket.name}
183
- </TableCell>
184
- <TableCell>{ticket.currency + ticket.price}</TableCell>
185
- <TableCell>{ticket.quantity}</TableCell>
186
- <TableCell>{ticket.currency + ticket.total}</TableCell>
187
- </TableRow>
188
- )
189
- )}
190
- {data?.items?.add_ons?.map(
191
- (ticket: TicketTypes, index: number) => (
192
- <TableRow key={index}>
193
- <TableCell>
194
- <b>Add-On: </b>
195
- {ticket.name}
196
- </TableCell>
197
- <TableCell>{ticket.currency + ticket.price}</TableCell>
198
- <TableCell>{ticket.quantity}</TableCell>
199
- <TableCell>{ticket.currency + ticket.total}</TableCell>
200
- </TableRow>
201
- )
202
- )}
203
- <TableRow className="total-row">
204
- <TableCell />
205
- <TableCell />
206
- <TableCell>Total</TableCell>
207
- <TableCell>{getTotal(data)}</TableCell>
208
- </TableRow>
209
- </TableBody>
210
- </Table>
211
- </TableContainer>
212
- </div>
213
- <TicketsTable
214
- tickets={data.tickets}
215
- handleSellTicket={handleSellTicket}
216
- handleRemoveFromResale={handleRemoveFromResale}
217
- />
218
- <div className="return-button-container">
219
- <button
220
- type="button"
221
- className="return-button"
222
- onClick={() => {
223
- if (typeof window !== 'undefined') {
224
- window.location.assign('/orders')
225
- }
226
- }}
227
- >
228
- Return to Order History
229
- </button>
230
- </div>
231
- </>
232
- )}
233
- {showResaleModal && (
234
- <TicketResaleModal
235
- ticket={activeTicket}
236
- onClose={handleOnClose}
237
- onSubmit={handleOnSubmit}
238
- />
239
- )}
240
- {showRemoveResaleModal && (
241
- <ConfirmModal
242
- message="Are you sure you want to withdraw your ticket from resale?"
243
- onClose={onCloseRemoveResale}
244
- onConfirm={onConfirmRemoveResale}
245
- />
246
- )}
247
- </div>
248
- )
249
- }
1
+ import React, { useState, useEffect } from 'react'
2
+ import './style.css'
3
+
4
+ import Table from '@mui/material/Table'
5
+ import TableBody from '@mui/material/TableBody'
6
+ import TableCell from '@mui/material/TableCell'
7
+ import TableContainer from '@mui/material/TableContainer'
8
+ import TableHead from '@mui/material/TableHead'
9
+ import TableRow from '@mui/material/TableRow'
10
+ import Paper from '@mui/material/Paper'
11
+ import CircularProgress from '@mui/material/CircularProgress'
12
+ import _get from 'lodash/get'
13
+ import _has from 'lodash/has'
14
+ import { getOrderDetails } from '../../api'
15
+ import TicketsTable, { ITicketTypes } from './ticketsTable'
16
+ import { TicketResaleModal, InitialValuesTypes } from '../ticketResaleModal'
17
+ import ConfirmModal from '../confirmModal'
18
+ import { resaleTicket, removeFromResale } from '../../api'
19
+
20
+ interface TicketTypes {
21
+ currency: string;
22
+ discount: string;
23
+ name: string;
24
+ price: string;
25
+ quantity: string;
26
+ total: string;
27
+ }
28
+
29
+ interface OrderDetailsTypes {
30
+ onGetOrdersSuccess: (res: any) => void;
31
+ onGetOrdersError: (err: any) => void;
32
+ }
33
+
34
+ const getTotal = (data: any) => {
35
+ if (!data?.total || !_has(data, 'items.ticket_types.length')) return ''
36
+
37
+ return data.items.ticket_types[0].currency + data.total
38
+ }
39
+
40
+ export const OrderDetailsContainer = ({
41
+ onGetOrdersSuccess = () => {},
42
+ onGetOrdersError = () => {},
43
+ }: OrderDetailsTypes) => {
44
+ const [data, setData] = useState<any>({})
45
+ const [loading, setLoading] = useState(true)
46
+ const [showResaleModal, setShowResaleModal] = useState(false)
47
+ const [showRemoveResaleModal, setShowRemoveResaleModal] = useState(false)
48
+ const [activeTicket, setActiveTicket] = useState<any>(null)
49
+
50
+ useEffect(() => {
51
+ (async () => {
52
+ try {
53
+ setLoading(true)
54
+ let orderId = ''
55
+ if (typeof window !== 'undefined') {
56
+ const params: URLSearchParams = new URL(`${window.location}`)
57
+ .searchParams
58
+ orderId = params.get('o') || ''
59
+ }
60
+ const response = await getOrderDetails(orderId)
61
+ onGetOrdersSuccess(response)
62
+
63
+ const data = _get(response, 'data.data.attributes')
64
+
65
+ setData(data)
66
+ } catch (error) {
67
+ onGetOrdersError(error)
68
+ } finally {
69
+ setLoading(false)
70
+ }
71
+ })()
72
+ }, [])
73
+
74
+ const handleSellTicket = (ticket: ITicketTypes) => {
75
+ setActiveTicket(ticket)
76
+ setShowResaleModal(true)
77
+ }
78
+
79
+ const handleOnClose = () => {
80
+ setShowResaleModal(false)
81
+ setActiveTicket(null)
82
+ }
83
+
84
+ const handleOnSubmit = async (values: InitialValuesTypes) => {
85
+ try {
86
+ setLoading(true)
87
+ const { to, first_name, last_name, email, confirm_email, confirm } = values
88
+ const formData = new FormData();
89
+ formData.append('to', to)
90
+ formData.append('first_name', first_name)
91
+ formData.append('last_name', last_name)
92
+ formData.append('email', email)
93
+ formData.append('confirm_email', confirm_email)
94
+ formData.append('confirm', String(confirm))
95
+
96
+ await resaleTicket(formData, activeTicket.hash)
97
+ const updatedData = { ...data }
98
+ updatedData?.tickets?.forEach((ticket: ITicketTypes) => {
99
+ if(ticket.hash === activeTicket.hash) {
100
+ ticket.is_sellable = false
101
+ ticket.is_on_sale = true
102
+ }
103
+ })
104
+
105
+ setData(updatedData)
106
+ } catch (error) {
107
+ // ...
108
+ } finally {
109
+ setShowResaleModal(false)
110
+ setLoading(false)
111
+ }
112
+ }
113
+
114
+ const handleRemoveFromResale = (ticket: ITicketTypes) => {
115
+ setShowRemoveResaleModal(true)
116
+ setActiveTicket(ticket)
117
+ }
118
+
119
+ const onCloseRemoveResale = () => {
120
+ setShowRemoveResaleModal(false)
121
+ setActiveTicket(null)
122
+ }
123
+
124
+ const onConfirmRemoveResale = async () => {
125
+ try {
126
+ setLoading(true)
127
+ await removeFromResale(activeTicket.hash)
128
+ const updatedData = { ...data }
129
+ updatedData?.tickets?.forEach((ticket: ITicketTypes) => {
130
+ if(ticket.hash === activeTicket.hash) {
131
+ ticket.is_sellable = true
132
+ ticket.is_on_sale = false
133
+ }
134
+ })
135
+
136
+ setData(updatedData)
137
+ } catch (error) {
138
+ // ...
139
+ } finally {
140
+ setShowRemoveResaleModal(false)
141
+ setLoading(false)
142
+ }
143
+ }
144
+
145
+ return (
146
+ <div className="order-details">
147
+ {loading ? (
148
+ <div className="loading">
149
+ <CircularProgress />
150
+ </div>
151
+ ) : (
152
+ <>
153
+ <h1 className="layout-title">Order Details</h1>
154
+ <div className="order-summary-box">
155
+ <h4 className="sub-title">Order Summary</h4>
156
+ <div className="personal-link">
157
+ <b>Your personal share link for this event is: </b>
158
+ <a
159
+ href={data?.personal_share_link}
160
+ target="_blank"
161
+ rel="noreferrer"
162
+ >
163
+ {data?.personal_share_link}
164
+ </a>
165
+ </div>
166
+ <TableContainer component={Paper}>
167
+ <Table aria-label="collapsible table">
168
+ <TableHead>
169
+ <TableRow>
170
+ <TableCell>Items</TableCell>
171
+ <TableCell>Price</TableCell>
172
+ <TableCell>Quantity</TableCell>
173
+ <TableCell>Total</TableCell>
174
+ </TableRow>
175
+ </TableHead>
176
+ <TableBody>
177
+ {data?.items?.ticket_types?.map(
178
+ (ticket: TicketTypes, index: number) => (
179
+ <TableRow key={index}>
180
+ <TableCell>
181
+ <b>Ticket Type: </b>
182
+ {ticket.name}
183
+ </TableCell>
184
+ <TableCell>{ticket.currency + ticket.price}</TableCell>
185
+ <TableCell>{ticket.quantity}</TableCell>
186
+ <TableCell>{ticket.currency + ticket.total}</TableCell>
187
+ </TableRow>
188
+ )
189
+ )}
190
+ {data?.items?.add_ons?.map(
191
+ (ticket: TicketTypes, index: number) => (
192
+ <TableRow key={index}>
193
+ <TableCell>
194
+ <b>Add-On: </b>
195
+ {ticket.name}
196
+ </TableCell>
197
+ <TableCell>{ticket.currency + ticket.price}</TableCell>
198
+ <TableCell>{ticket.quantity}</TableCell>
199
+ <TableCell>{ticket.currency + ticket.total}</TableCell>
200
+ </TableRow>
201
+ )
202
+ )}
203
+ <TableRow className="total-row">
204
+ <TableCell />
205
+ <TableCell />
206
+ <TableCell>Total</TableCell>
207
+ <TableCell>{getTotal(data)}</TableCell>
208
+ </TableRow>
209
+ </TableBody>
210
+ </Table>
211
+ </TableContainer>
212
+ </div>
213
+ <TicketsTable
214
+ tickets={data.tickets}
215
+ handleSellTicket={handleSellTicket}
216
+ handleRemoveFromResale={handleRemoveFromResale}
217
+ />
218
+ <div className="return-button-container">
219
+ <button
220
+ type="button"
221
+ className="return-button"
222
+ onClick={() => {
223
+ if (typeof window !== 'undefined') {
224
+ window.location.assign('/orders')
225
+ }
226
+ }}
227
+ >
228
+ Return to Order History
229
+ </button>
230
+ </div>
231
+ </>
232
+ )}
233
+ {showResaleModal && (
234
+ <TicketResaleModal
235
+ ticket={activeTicket}
236
+ onClose={handleOnClose}
237
+ onSubmit={handleOnSubmit}
238
+ />
239
+ )}
240
+ {showRemoveResaleModal && (
241
+ <ConfirmModal
242
+ message="Are you sure you want to withdraw your ticket from resale?"
243
+ onClose={onCloseRemoveResale}
244
+ onConfirm={onConfirmRemoveResale}
245
+ />
246
+ )}
247
+ </div>
248
+ )
249
+ }
@@ -1,73 +1,73 @@
1
- .order-details {
2
- max-width: 940px;
3
- margin: 0 auto;
4
- }
5
- .order-details .loading {
6
- width: 100%;
7
- display: flex;
8
- justify-content: center;
9
- align-items: center;
10
- height: 100vh;
11
- position: fixed;
12
- top: 0;
13
- left: 0;
14
- background-color: rgba(0, 0, 0, .4);
15
- z-index: 1400;
16
- }
17
- .order-details .layout-title {
18
- font-size: 24px;
19
- font-weight: 400;
20
- }
21
- .order-details .sub-title {
22
- font-size: 18px;
23
- font-weight: 400;
24
- margin: 10px 0;
25
- }
26
- .order-details .order-summary-box {
27
- margin-top: 30px;
28
- }
29
- .order-details .total-row td {
30
- font-weight: 700;
31
- color: white;
32
- }
33
- .order-details th {
34
- font-weight: 700;
35
- color: white;
36
- }
37
- .order-details .tickets-box {
38
- margin-top: 30px;
39
- }
40
- .order-details .ticket-add-on-table {
41
- background-color: #fcf8e3;;
42
- }
43
- .order-details .action-button {
44
- width: max-content;
45
- font-weight: 400;
46
- font-size: 14px;
47
- line-height: normal;
48
- min-height: auto;
49
- padding: 12px;
50
- border: 1px solid white;
51
- margin-top: 20px;
52
- margin-bottom: 20px;
53
- background-color: #212529;
54
- border-radius: 0;
55
- color: #fff;
56
- position: relative;
57
- display: block;
58
- cursor: pointer;
59
- font-family: 'Bebas Neue';
60
- text-transform: uppercase;
61
- text-align: center;
62
- overflow: hidden;
63
- text-overflow: ellipsis;
64
- outline: none;
65
- text-decoration: none;
66
- }
67
- .order-details .download-button:hover {
68
- background-color: #505050;
69
- }
70
-
71
- .order-details .personal-link {
72
- padding: 20px 0;
1
+ .order-details {
2
+ max-width: 940px;
3
+ margin: 0 auto;
4
+ }
5
+ .order-details .loading {
6
+ width: 100%;
7
+ display: flex;
8
+ justify-content: center;
9
+ align-items: center;
10
+ height: 100vh;
11
+ position: fixed;
12
+ top: 0;
13
+ left: 0;
14
+ background-color: rgba(0, 0, 0, .4);
15
+ z-index: 1400;
16
+ }
17
+ .order-details .layout-title {
18
+ font-size: 24px;
19
+ font-weight: 400;
20
+ }
21
+ .order-details .sub-title {
22
+ font-size: 18px;
23
+ font-weight: 400;
24
+ margin: 10px 0;
25
+ }
26
+ .order-details .order-summary-box {
27
+ margin-top: 30px;
28
+ }
29
+ .order-details .total-row td {
30
+ font-weight: 700;
31
+ color: white;
32
+ }
33
+ .order-details th {
34
+ font-weight: 700;
35
+ color: white;
36
+ }
37
+ .order-details .tickets-box {
38
+ margin-top: 30px;
39
+ }
40
+ .order-details .ticket-add-on-table {
41
+ background-color: #fcf8e3;;
42
+ }
43
+ .order-details .action-button {
44
+ width: max-content;
45
+ font-weight: 400;
46
+ font-size: 14px;
47
+ line-height: normal;
48
+ min-height: auto;
49
+ padding: 12px;
50
+ border: 1px solid white;
51
+ margin-top: 20px;
52
+ margin-bottom: 20px;
53
+ background-color: #212529;
54
+ border-radius: 0;
55
+ color: #fff;
56
+ position: relative;
57
+ display: block;
58
+ cursor: pointer;
59
+ font-family: 'Bebas Neue';
60
+ text-transform: uppercase;
61
+ text-align: center;
62
+ overflow: hidden;
63
+ text-overflow: ellipsis;
64
+ outline: none;
65
+ text-decoration: none;
66
+ }
67
+ .order-details .download-button:hover {
68
+ background-color: #505050;
69
+ }
70
+
71
+ .order-details .personal-link {
72
+ padding: 20px 0;
73
73
  }