@gomusdev/web-components 1.5.0 → 1.6.1
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.
- package/dist-js/components/auth/entry.d.ts +0 -0
- package/dist-js/components/auth/signIn/SignIn.spec.d.ts +1 -0
- package/dist-js/components/auth/signIn/SignIn.svelte.d.ts +1 -0
- package/dist-js/components/auth/signIn/lib.d.ts +7 -0
- package/dist-js/components/auth/signUp/SignUp.svelte.d.ts +1 -0
- package/dist-js/components/auth/signUp/specs/SignUp.spec.d.ts +1 -0
- package/dist-js/components/cart/components/Cart.spec.d.ts +1 -0
- package/dist-js/components/cart/components/Cart.svelte.d.ts +1 -0
- package/dist-js/components/cart/entry.d.ts +0 -0
- package/dist-js/components/cart/lib/CartItem.d.ts +135 -0
- package/dist-js/components/cart/lib/cart.svelte.d.ts +616 -0
- package/dist-js/components/cart/lib/cart.svelte.spec.d.ts +1 -0
- package/dist-js/components/cart/lib/localStorage.spec.d.ts +1 -0
- package/dist-js/components/cart/lib/localStorage.svelte.d.ts +146 -0
- package/dist-js/components/cart/mocks/gomusTicketMocks.d.ts +112 -0
- package/dist-js/components/cart/mocks/testCart.d.ts +306 -0
- package/dist-js/components/checkoutForm/CheckoutForm.spec.d.ts +1 -0
- package/dist-js/components/checkoutForm/CheckoutForm.svelte.d.ts +1 -0
- package/dist-js/components/checkoutForm/entry.d.ts +0 -0
- package/dist-js/components/checkoutForm/lib.d.ts +1 -0
- package/dist-js/components/donations/lib/donation.spec.d.ts +1 -0
- package/dist-js/components/donations/lib/donation.svelte.d.ts +9 -0
- package/dist-js/components/entry.d.ts +0 -0
- package/dist-js/components/forms/entry.d.ts +0 -0
- package/dist-js/components/forms/lib/Field.spec.d.ts +1 -0
- package/dist-js/components/forms/lib/Field.svelte.d.ts +28 -0
- package/dist-js/components/forms/lib/Forms.svelte.d.ts +31 -0
- package/dist-js/components/forms/lib/allFields.d.ts +3 -0
- package/dist-js/components/forms/lib/forms.spec.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/AllFields.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/ErrorsFeedback.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/Field.spec.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/Field.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/Form.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/FormDetails.spec.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/FormDetails.svelte.d.ts +25 -0
- package/dist-js/components/forms/ui/generic/FormFeedback.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/InputAndLabel.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/Submit.spec.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/Submit.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/generic/SuccessFeedback.svelte.d.ts +1 -0
- package/dist-js/components/forms/ui/specs/IfInForm.spec.d.ts +1 -0
- package/dist-js/components/forms/ui/specs/TestForm.spec.d.ts +1 -0
- package/dist-js/components/graveyard/event/entry.d.ts +0 -0
- package/dist-js/components/graveyard/event/lib.svelte.d.ts +43 -0
- package/dist-js/components/graveyard/events/entry.d.ts +0 -0
- package/dist-js/components/if/If.svelte.d.ts +1 -0
- package/dist-js/components/if/If.svelte.spec.d.ts +1 -0
- package/dist-js/components/if/entry.d.ts +0 -0
- package/dist-js/components/if/expression.d.ts +1 -0
- package/dist-js/components/if/expression.spec.d.ts +1 -0
- package/dist-js/components/init/GomusInit.svelte.d.ts +1 -0
- package/dist-js/components/init/GomusInit.test.d.ts +1 -0
- package/dist-js/components/init/Init.svelte.d.ts +1 -0
- package/dist-js/components/init/entry.d.ts +0 -0
- package/dist-js/components/mainnav/components/MainNav.spec.d.ts +1 -0
- package/dist-js/components/mainnav/fixtures/fixtures.d.ts +2 -0
- package/dist-js/components/mainnav/lib/generators/generate.d.ts +4 -0
- package/dist-js/components/mainnav/lib/generators/generate.spec.d.ts +1 -0
- package/dist-js/components/mainnav/lib/generators/labelGenerators.d.ts +2 -0
- package/dist-js/components/mainnav/lib/generators/navGenerators.d.ts +2 -0
- package/dist-js/components/mainnav/lib/generators/subNavGenerators.d.ts +7 -0
- package/dist-js/components/mainnav/lib/generators/urlGenerators.d.ts +2 -0
- package/dist-js/components/mainnav/lib/navigation.d.ts +32 -0
- package/dist-js/components/mainnav/lib/navigation.spec.d.ts +1 -0
- package/dist-js/components/mainnav/lib/states/OpenedDropdown.svelte.d.ts +20 -0
- package/dist-js/components/mainnav/lib/states/pageState.svelte.d.ts +7 -0
- package/dist-js/components/paypal/lib/PaymentError.d.ts +3 -0
- package/dist-js/components/paypal/lib/approvePaypalOrder.d.ts +4 -0
- package/dist-js/components/paypal/lib/getPaypalOrder.d.ts +1 -0
- package/dist-js/components/paypal/payment-method-component/paymentIcons.d.ts +14 -0
- package/dist-js/components/paypal/payment-method-component/paymentMethodStore.svelte.d.ts +3 -0
- package/dist-js/components/paypal/payment-methods/apm.d.ts +3 -0
- package/dist-js/components/paypal/payment-methods/applepay/applePay.d.ts +2 -0
- package/dist-js/components/paypal/payment-methods/currentOrder.svelte.d.ts +3 -0
- package/dist-js/components/paypal/payment-methods/defaults.d.ts +28 -0
- package/dist-js/components/paypal/payment-methods/googlepay/googlePay.d.ts +2 -0
- package/dist-js/components/paypal/payment-methods/loadPaypalScript.d.ts +5 -0
- package/dist-js/components/ticketSelection/SpecUtils.d.ts +3 -0
- package/dist-js/components/ticketSelection/TicketSelection.spec.d.ts +1 -0
- package/dist-js/components/ticketSelection/TicketSelection.svelte.d.ts +1 -0
- package/dist-js/components/ticketSelection/TicketSelectionDetails.spec.d.ts +1 -0
- package/dist-js/components/ticketSelection/TicketSelectionDetails.svelte.d.ts +27 -0
- package/dist-js/components/ticketSelection/entry.d.ts +0 -0
- package/dist-js/components/ticketSelection/subcomponents/addToCartButton/AddToCartButton.spec.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/addToCartButton/AddToCartButton.svelte.d.ts +6 -0
- package/dist-js/components/ticketSelection/subcomponents/addToCartButton/AddToCartButton.svelte.spec.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/addToCartButton/entry.d.ts +0 -0
- package/dist-js/components/ticketSelection/subcomponents/calendar/components/Calendar.svelte.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/calendar/components/CalendarUI.spec.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/calendar/components/CalendarUI.svelte.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/calendar/entry.d.ts +0 -0
- package/dist-js/components/ticketSelection/subcomponents/calendar/lib/calendar.svelte.d.ts +35 -0
- package/dist-js/components/ticketSelection/subcomponents/calendar/mocks/datesMock.d.ts +33 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/Tickets.spec.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/Tickets.svelte.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/entry.d.ts +0 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/fixtures/ticketFixtures.d.ts +191 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/GroupBody.svelte.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/GroupSum.svelte.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/TicketGroup.svelte.d.ts +764 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/TicketsSum.svelte.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/addToCartButton/entry.d.ts +0 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/utils.spec.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/utils.svelte.d.ts +9 -0
- package/dist-js/components/ticketSelection/subcomponents/timeslots/Timeslots.spec.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/timeslots/Timeslots.svelte.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/timeslots/entry.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/__mocks__/generateAvailableTimeSlots.d.ts +8 -0
- package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/generateAvailableTimeSlots.d.ts +50 -0
- package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/generateAvailableTimeSlots.specs.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/lib.spec.d.ts +1 -0
- package/dist-js/components/ticketSelection/subcomponents/timeslots/lib/lib.svelte.d.ts +6 -0
- package/dist-js/config/config.d.ts +8 -0
- package/dist-js/config/config.spec.d.ts +1 -0
- package/dist-js/config/defaultConfig.d.ts +16 -0
- package/dist-js/e2e/APMs.e2e.spec.d.ts +1 -0
- package/dist-js/e2e/Card.e2e.spec.d.ts +1 -0
- package/dist-js/e2e/testApm.d.ts +7 -0
- package/dist-js/go.svelte.d.ts +1 -0
- package/dist-js/gomus-webcomponents.css +1255 -0
- package/dist-js/gomus-webcomponents.iife.js +18833 -0
- package/dist-js/gomus-webcomponents.js +18832 -0
- package/dist-js/lib/annual-ticket-personalization/index.d.ts +1 -0
- package/dist-js/lib/annual-ticket-personalization/stores.d.ts +3 -0
- package/dist-js/lib/gomusTicket.spec.d.ts +1 -0
- package/dist-js/lib/gomusTicket.svelte.d.ts +122 -0
- package/dist-js/lib/helpers/DataHolder.d.ts +3 -0
- package/dist-js/lib/helpers/Events.d.ts +6 -0
- package/dist-js/lib/helpers/PropertyTracker.d.ts +9 -0
- package/dist-js/lib/helpers/PropertyTracker.spec.d.ts +1 -0
- package/dist-js/lib/helpers/ShadowStyles.svelte.d.ts +7 -0
- package/dist-js/lib/helpers/Wrapper.svelte.d.ts +1 -0
- package/dist-js/lib/helpers/context.spec.d.ts +1 -0
- package/dist-js/lib/helpers/context.svelte.d.ts +2 -0
- package/dist-js/lib/helpers/cookies.d.ts +7 -0
- package/dist-js/lib/helpers/cookies.spec.d.ts +1 -0
- package/dist-js/lib/helpers/dataAttr.d.ts +9 -0
- package/dist-js/lib/helpers/dataAttr.spec.d.ts +1 -0
- package/dist-js/lib/helpers/fixtures/context/lib.d.ts +5 -0
- package/dist-js/lib/helpers/shopCart.d.ts +34 -0
- package/dist-js/lib/helpers/translations.d.ts +752 -0
- package/dist-js/lib/helpers/urls.d.ts +64 -0
- package/dist-js/lib/helpers/utils.d.ts +24 -0
- package/dist-js/lib/helpers/wrapInElement.d.ts +1 -0
- package/dist-js/lib/helpers/wrapInElement.spec.d.ts +1 -0
- package/dist-js/lib/middlewares/AuthMiddleware.d.ts +23 -0
- package/dist-js/lib/middlewares/AuthMiddleware.spec.d.ts +1 -0
- package/dist-js/lib/stores/__mocks__/shop.svelte.d.ts +2 -0
- package/dist-js/lib/stores/auth.svelte.d.ts +25 -0
- package/dist-js/lib/stores/auth.svelte.spec.d.ts +1 -0
- package/dist-js/lib/stores/shop.svelte.d.ts +412 -0
- package/dist-js/lib/stores/shop.svelte.test.d.ts +1 -0
- package/dist-js/lib/stores/user.svelte.d.ts +16 -0
- package/dist-js/lib/stores/user.svelte.test.d.ts +1 -0
- package/dist-js/lib/storybook/WrapperComponent.d.ts +1 -0
- package/dist-js/lib/storybook/sbGlobals.svelte.d.ts +9 -0
- package/dist-js/lib/types/types.d.ts +1 -0
- package/dist-js/lib/utils.d.ts +16 -0
- package/dist-js/lib/vitest/mockedCookies.d.ts +2 -0
- package/dist-js/lib/vitest/msw/RequestLogger.d.ts +1 -0
- package/dist-js/lib/vitest/msw/basicHandlers.d.ts +3 -0
- package/dist-js/lib/vitest/msw/handlers.d.ts +1758 -0
- package/dist-js/lib/vitest/msw/vitestMSWSetup.d.ts +3 -0
- package/dist-js/lib/vitest/snapshotSerializer.d.ts +1 -0
- package/dist-js/main.d.ts +5 -0
- package/dist-js/mocks/MSWMocks.d.ts +11 -0
- package/dist-js/mocks/ShopMocks.d.ts +179 -0
- package/dist-js/mocks/mocks.d.ts +2049 -0
- package/dist-js/sveltekit/app/environment.d.ts +1 -0
- package/dist-js/sveltekit/app/forms.d.ts +23 -0
- package/dist-js/sveltekit/app/navigation.d.ts +4 -0
- package/dist-js/sveltekit/app/stores.d.ts +2 -0
- package/dist-js/vitest-setup.d.ts +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1255 @@
|
|
|
1
|
+
|
|
2
|
+
/* General reset for list items */
|
|
3
|
+
|
|
4
|
+
:global .innerZoomElementWrapper h3 {
|
|
5
|
+
margin-top: 4rem;
|
|
6
|
+
margin-bottom: 1rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:global .innerZoomElementWrapper go-tickets {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: 1rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:global .innerZoomElementWrapper go-tickets label {
|
|
16
|
+
display: inline-block;
|
|
17
|
+
padding: 10px 20px;
|
|
18
|
+
border: 2px solid #ccc;
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
transition:
|
|
22
|
+
background-color 0.3s, border-color 0.3s;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Available timeslot */
|
|
26
|
+
|
|
27
|
+
:global .innerZoomElementWrapper go-tickets .available {
|
|
28
|
+
background-color: #fff;
|
|
29
|
+
color: #333;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:global .innerZoomElementWrapper go-tickets input[type='checkbox'] {
|
|
33
|
+
display: none; /* Hide the radio button */
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* When a timeslot is selected (checked radio button) */
|
|
37
|
+
|
|
38
|
+
:global .innerZoomElementWrapper go-tickets label:has(input[type='checkbox']:checked) {
|
|
39
|
+
background-color: #12826a;
|
|
40
|
+
background-color: var(--primary); /* blue-green color */
|
|
41
|
+
border-color: #12826a;
|
|
42
|
+
border-color: var(--primary);
|
|
43
|
+
color: white;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Finished (unavailable) timeslot */
|
|
47
|
+
|
|
48
|
+
:global .innerZoomElementWrapper go-tickets .finished {
|
|
49
|
+
background-color: #f0f0f0;
|
|
50
|
+
color: #999;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:global .innerZoomElementWrapper go-tickets .finished input {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:global .innerZoomElementWrapper go-tickets .finished {
|
|
58
|
+
pointer-events: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Disabled radio button appearance */
|
|
62
|
+
|
|
63
|
+
:global .innerZoomElementWrapper go-tickets input:disabled + label {
|
|
64
|
+
background-color: #e0e0e0;
|
|
65
|
+
color: #bbb;
|
|
66
|
+
cursor: not-allowed;
|
|
67
|
+
border-color: #ddd;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:global .innerZoomElementWrapper go-tickets label:hover {
|
|
71
|
+
background-color: #f0f0f0;
|
|
72
|
+
border-color: #aaa;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/* Focus state for better accessibility */
|
|
76
|
+
|
|
77
|
+
:global .innerZoomElementWrapper go-tickets input:focus + label {
|
|
78
|
+
outline: 2px solid #0052cc;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:global .innerZoomElementWrapper .events ul {
|
|
82
|
+
list-style: none;
|
|
83
|
+
display: grid;
|
|
84
|
+
grid-template-columns: repeat(auto-fit, 10rem);
|
|
85
|
+
grid-gap: 1rem;
|
|
86
|
+
gap: 1rem;
|
|
87
|
+
grid-template-rows: auto auto auto;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
:global .innerZoomElementWrapper .events li {
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
justify-content: space-between;
|
|
94
|
+
height: 100%;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:global .innerZoomElementWrapper .events go-event {
|
|
98
|
+
background: #fff0dd; /* Soft light gray for a modern look */
|
|
99
|
+
padding: 1.5rem;
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
border-radius: 1rem; /* Larger radius for a smoother, rounded appearance */
|
|
103
|
+
height: 100%; /* Ensures cells stretch to fill the row height */
|
|
104
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
|
|
105
|
+
transition: box-shadow 0.3s ease; /* Smooth shadow transition on hover */
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:global .innerZoomElementWrapper .events go-event:hover {
|
|
109
|
+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow on hover */
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
:global .innerZoomElementWrapper .events go-event-title {
|
|
113
|
+
font-weight: bold;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
:global .innerZoomElementWrapper .events go-event-kind {
|
|
117
|
+
font-size: 0.8rem;
|
|
118
|
+
flex: 100;
|
|
119
|
+
margin-bottom: 1rem;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
:global .innerZoomElementWrapper .events go-event-date {
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:host,
|
|
126
|
+
:root {
|
|
127
|
+
--black: #111;
|
|
128
|
+
--red: red;
|
|
129
|
+
--light-red: #fff0f0;
|
|
130
|
+
--primary: #12826a;
|
|
131
|
+
--invalid-border: 4px solid var(--red);
|
|
132
|
+
--color-contrast: #111;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
:host,
|
|
136
|
+
:root {
|
|
137
|
+
--color-contrast: #111;
|
|
138
|
+
--black: #111;
|
|
139
|
+
--red: red;
|
|
140
|
+
--light-red: #fff0f0;
|
|
141
|
+
--primary: #12826a;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
:host .is-invalid {
|
|
145
|
+
--color-contrast: #ff0000;
|
|
146
|
+
background-color: #fff0f0;
|
|
147
|
+
background-color: var(--light-red);
|
|
148
|
+
border-left: 4px solid red;
|
|
149
|
+
border-left: var(--invalid-border);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
:root .is-invalid {
|
|
153
|
+
--color-contrast: #ff0000;
|
|
154
|
+
background-color: #fff0f0;
|
|
155
|
+
background-color: var(--light-red);
|
|
156
|
+
border-left: 4px solid red;
|
|
157
|
+
border-left: var(--invalid-border);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
:host .form-group {
|
|
161
|
+
margin-bottom: 0.5rem;
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
--invalid-border: 4px solid var(--red);
|
|
165
|
+
|
|
166
|
+
padding: 0.5rem;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
:root .form-group {
|
|
170
|
+
margin-bottom: 0.5rem;
|
|
171
|
+
display: flex;
|
|
172
|
+
flex-direction: column;
|
|
173
|
+
--invalid-border: 4px solid var(--red);
|
|
174
|
+
|
|
175
|
+
padding: 0.5rem;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
:host .go-field {
|
|
179
|
+
margin-bottom: 0.5rem;
|
|
180
|
+
display: flex;
|
|
181
|
+
flex-direction: column;
|
|
182
|
+
--invalid-border: 4px solid var(--red);
|
|
183
|
+
|
|
184
|
+
padding: 0.5rem;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:root .go-field {
|
|
188
|
+
margin-bottom: 0.5rem;
|
|
189
|
+
display: flex;
|
|
190
|
+
flex-direction: column;
|
|
191
|
+
--invalid-border: 4px solid var(--red);
|
|
192
|
+
|
|
193
|
+
padding: 0.5rem;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:host .form-group label {
|
|
197
|
+
font-weight: bold;
|
|
198
|
+
margin-bottom: 0.25rem;
|
|
199
|
+
color: #111;
|
|
200
|
+
color: var(--color-contrast);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
:root .form-group label {
|
|
204
|
+
font-weight: bold;
|
|
205
|
+
margin-bottom: 0.25rem;
|
|
206
|
+
color: #111;
|
|
207
|
+
color: var(--color-contrast);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:host .go-field label {
|
|
211
|
+
font-weight: bold;
|
|
212
|
+
margin-bottom: 0.25rem;
|
|
213
|
+
color: #111;
|
|
214
|
+
color: var(--color-contrast);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
:root .go-field label {
|
|
218
|
+
font-weight: bold;
|
|
219
|
+
margin-bottom: 0.25rem;
|
|
220
|
+
color: #111;
|
|
221
|
+
color: var(--color-contrast);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
:host .form-group input {
|
|
225
|
+
padding: 0.5rem;
|
|
226
|
+
font-size: 1rem;
|
|
227
|
+
border: 1px solid #111;
|
|
228
|
+
border: 1px solid var(--color-contrast);
|
|
229
|
+
border-radius: 0.25rem;
|
|
230
|
+
background-color: #fff;
|
|
231
|
+
color: #111;
|
|
232
|
+
color: var(--color-contrast);
|
|
233
|
+
transition: border-color 0.3s ease;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
:root .form-group input {
|
|
237
|
+
padding: 0.5rem;
|
|
238
|
+
font-size: 1rem;
|
|
239
|
+
border: 1px solid #111;
|
|
240
|
+
border: 1px solid var(--color-contrast);
|
|
241
|
+
border-radius: 0.25rem;
|
|
242
|
+
background-color: #fff;
|
|
243
|
+
color: #111;
|
|
244
|
+
color: var(--color-contrast);
|
|
245
|
+
transition: border-color 0.3s ease;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
:host .go-field input {
|
|
249
|
+
padding: 0.5rem;
|
|
250
|
+
font-size: 1rem;
|
|
251
|
+
border: 1px solid #111;
|
|
252
|
+
border: 1px solid var(--color-contrast);
|
|
253
|
+
border-radius: 0.25rem;
|
|
254
|
+
background-color: #fff;
|
|
255
|
+
color: #111;
|
|
256
|
+
color: var(--color-contrast);
|
|
257
|
+
transition: border-color 0.3s ease;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
:root .go-field input {
|
|
261
|
+
padding: 0.5rem;
|
|
262
|
+
font-size: 1rem;
|
|
263
|
+
border: 1px solid #111;
|
|
264
|
+
border: 1px solid var(--color-contrast);
|
|
265
|
+
border-radius: 0.25rem;
|
|
266
|
+
background-color: #fff;
|
|
267
|
+
color: #111;
|
|
268
|
+
color: var(--color-contrast);
|
|
269
|
+
transition: border-color 0.3s ease;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
:host .form-group select {
|
|
273
|
+
padding: 0.5rem;
|
|
274
|
+
font-size: 1rem;
|
|
275
|
+
border: 1px solid #111;
|
|
276
|
+
border: 1px solid var(--color-contrast);
|
|
277
|
+
border-radius: 0.25rem;
|
|
278
|
+
background-color: #fff;
|
|
279
|
+
color: #111;
|
|
280
|
+
color: var(--color-contrast);
|
|
281
|
+
transition: border-color 0.3s ease;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
:root .form-group select {
|
|
285
|
+
padding: 0.5rem;
|
|
286
|
+
font-size: 1rem;
|
|
287
|
+
border: 1px solid #111;
|
|
288
|
+
border: 1px solid var(--color-contrast);
|
|
289
|
+
border-radius: 0.25rem;
|
|
290
|
+
background-color: #fff;
|
|
291
|
+
color: #111;
|
|
292
|
+
color: var(--color-contrast);
|
|
293
|
+
transition: border-color 0.3s ease;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
:host .go-field select {
|
|
297
|
+
padding: 0.5rem;
|
|
298
|
+
font-size: 1rem;
|
|
299
|
+
border: 1px solid #111;
|
|
300
|
+
border: 1px solid var(--color-contrast);
|
|
301
|
+
border-radius: 0.25rem;
|
|
302
|
+
background-color: #fff;
|
|
303
|
+
color: #111;
|
|
304
|
+
color: var(--color-contrast);
|
|
305
|
+
transition: border-color 0.3s ease;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
:root .go-field select {
|
|
309
|
+
padding: 0.5rem;
|
|
310
|
+
font-size: 1rem;
|
|
311
|
+
border: 1px solid #111;
|
|
312
|
+
border: 1px solid var(--color-contrast);
|
|
313
|
+
border-radius: 0.25rem;
|
|
314
|
+
background-color: #fff;
|
|
315
|
+
color: #111;
|
|
316
|
+
color: var(--color-contrast);
|
|
317
|
+
transition: border-color 0.3s ease;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
:host .form-group textarea {
|
|
321
|
+
padding: 0.5rem;
|
|
322
|
+
font-size: 1rem;
|
|
323
|
+
border: 1px solid #111;
|
|
324
|
+
border: 1px solid var(--color-contrast);
|
|
325
|
+
border-radius: 0.25rem;
|
|
326
|
+
background-color: #fff;
|
|
327
|
+
color: #111;
|
|
328
|
+
color: var(--color-contrast);
|
|
329
|
+
transition: border-color 0.3s ease;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
:root .form-group textarea {
|
|
333
|
+
padding: 0.5rem;
|
|
334
|
+
font-size: 1rem;
|
|
335
|
+
border: 1px solid #111;
|
|
336
|
+
border: 1px solid var(--color-contrast);
|
|
337
|
+
border-radius: 0.25rem;
|
|
338
|
+
background-color: #fff;
|
|
339
|
+
color: #111;
|
|
340
|
+
color: var(--color-contrast);
|
|
341
|
+
transition: border-color 0.3s ease;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
:host .go-field textarea {
|
|
345
|
+
padding: 0.5rem;
|
|
346
|
+
font-size: 1rem;
|
|
347
|
+
border: 1px solid #111;
|
|
348
|
+
border: 1px solid var(--color-contrast);
|
|
349
|
+
border-radius: 0.25rem;
|
|
350
|
+
background-color: #fff;
|
|
351
|
+
color: #111;
|
|
352
|
+
color: var(--color-contrast);
|
|
353
|
+
transition: border-color 0.3s ease;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
:root .go-field textarea {
|
|
357
|
+
padding: 0.5rem;
|
|
358
|
+
font-size: 1rem;
|
|
359
|
+
border: 1px solid #111;
|
|
360
|
+
border: 1px solid var(--color-contrast);
|
|
361
|
+
border-radius: 0.25rem;
|
|
362
|
+
background-color: #fff;
|
|
363
|
+
color: #111;
|
|
364
|
+
color: var(--color-contrast);
|
|
365
|
+
transition: border-color 0.3s ease;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
:host .form-group input:focus {
|
|
369
|
+
outline: none;
|
|
370
|
+
border-color: #111;
|
|
371
|
+
border-color: var(--color-contrast);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
:root .form-group input:focus {
|
|
375
|
+
outline: none;
|
|
376
|
+
border-color: #111;
|
|
377
|
+
border-color: var(--color-contrast);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
:host .go-field input:focus {
|
|
381
|
+
outline: none;
|
|
382
|
+
border-color: #111;
|
|
383
|
+
border-color: var(--color-contrast);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
:root .go-field input:focus {
|
|
387
|
+
outline: none;
|
|
388
|
+
border-color: #111;
|
|
389
|
+
border-color: var(--color-contrast);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
:host .form-group select:focus {
|
|
393
|
+
outline: none;
|
|
394
|
+
border-color: #111;
|
|
395
|
+
border-color: var(--color-contrast);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
:root .form-group select:focus {
|
|
399
|
+
outline: none;
|
|
400
|
+
border-color: #111;
|
|
401
|
+
border-color: var(--color-contrast);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
:host .go-field select:focus {
|
|
405
|
+
outline: none;
|
|
406
|
+
border-color: #111;
|
|
407
|
+
border-color: var(--color-contrast);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
:root .go-field select:focus {
|
|
411
|
+
outline: none;
|
|
412
|
+
border-color: #111;
|
|
413
|
+
border-color: var(--color-contrast);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
:host .form-group textarea:focus {
|
|
417
|
+
outline: none;
|
|
418
|
+
border-color: #111;
|
|
419
|
+
border-color: var(--color-contrast);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
:root .form-group textarea:focus {
|
|
423
|
+
outline: none;
|
|
424
|
+
border-color: #111;
|
|
425
|
+
border-color: var(--color-contrast);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
:host .go-field textarea:focus {
|
|
429
|
+
outline: none;
|
|
430
|
+
border-color: #111;
|
|
431
|
+
border-color: var(--color-contrast);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
:root .go-field textarea:focus {
|
|
435
|
+
outline: none;
|
|
436
|
+
border-color: #111;
|
|
437
|
+
border-color: var(--color-contrast);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
:host .form-group .error {
|
|
441
|
+
color: red;
|
|
442
|
+
font-size: 0.875rem;
|
|
443
|
+
margin-top: 0.25rem;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
:root .form-group .error {
|
|
447
|
+
color: red;
|
|
448
|
+
font-size: 0.875rem;
|
|
449
|
+
margin-top: 0.25rem;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
:host .go-field .error {
|
|
453
|
+
color: red;
|
|
454
|
+
font-size: 0.875rem;
|
|
455
|
+
margin-top: 0.25rem;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
:root .go-field .error {
|
|
459
|
+
color: red;
|
|
460
|
+
font-size: 0.875rem;
|
|
461
|
+
margin-top: 0.25rem;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
:host .form-group .success {
|
|
465
|
+
margin-top: 1rem;
|
|
466
|
+
color: green;
|
|
467
|
+
font-weight: bold;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
:root .form-group .success {
|
|
471
|
+
margin-top: 1rem;
|
|
472
|
+
color: green;
|
|
473
|
+
font-weight: bold;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
:host .go-field .success {
|
|
477
|
+
margin-top: 1rem;
|
|
478
|
+
color: green;
|
|
479
|
+
font-weight: bold;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
:root .go-field .success {
|
|
483
|
+
margin-top: 1rem;
|
|
484
|
+
color: green;
|
|
485
|
+
font-weight: bold;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
:host ul {
|
|
489
|
+
list-style: none;
|
|
490
|
+
padding: 0;
|
|
491
|
+
margin: 0;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
:root ul {
|
|
495
|
+
list-style: none;
|
|
496
|
+
padding: 0;
|
|
497
|
+
margin: 0;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
:host .go-field-errors {
|
|
501
|
+
color: red;
|
|
502
|
+
font-size: 0.875rem;
|
|
503
|
+
margin-top: 0.25rem;
|
|
504
|
+
min-height: 1rem;
|
|
505
|
+
min-height: 1lh;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
:root .go-field-errors {
|
|
509
|
+
color: red;
|
|
510
|
+
font-size: 0.875rem;
|
|
511
|
+
margin-top: 0.25rem;
|
|
512
|
+
min-height: 1rem;
|
|
513
|
+
min-height: 1lh;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
:host .go-field-errors > li {
|
|
517
|
+
margin-top: 0.25rem;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
:root .go-field-errors > li {
|
|
521
|
+
margin-top: 0.25rem;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
:host .go-field-star {
|
|
525
|
+
color: red;
|
|
526
|
+
font-size: 0.875rem;
|
|
527
|
+
margin-left: 0.25rem;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
:root .go-field-star {
|
|
531
|
+
color: red;
|
|
532
|
+
font-size: 0.875rem;
|
|
533
|
+
margin-left: 0.25rem;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
:host .sr-only {
|
|
537
|
+
position: absolute;
|
|
538
|
+
width: 1px;
|
|
539
|
+
height: 1px;
|
|
540
|
+
padding: 0;
|
|
541
|
+
margin: -1px;
|
|
542
|
+
overflow: hidden;
|
|
543
|
+
clip: rect(0, 0, 0, 0);
|
|
544
|
+
white-space: nowrap;
|
|
545
|
+
border-width: 0;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
:root .sr-only {
|
|
549
|
+
position: absolute;
|
|
550
|
+
width: 1px;
|
|
551
|
+
height: 1px;
|
|
552
|
+
padding: 0;
|
|
553
|
+
margin: -1px;
|
|
554
|
+
overflow: hidden;
|
|
555
|
+
clip: rect(0, 0, 0, 0);
|
|
556
|
+
white-space: nowrap;
|
|
557
|
+
border-width: 0;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
:host .go-feedback {
|
|
561
|
+
margin-bottom: 1rem;
|
|
562
|
+
margin-top: 2rem;
|
|
563
|
+
padding: 0.5rem;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
:root .go-feedback {
|
|
567
|
+
margin-bottom: 1rem;
|
|
568
|
+
margin-top: 2rem;
|
|
569
|
+
padding: 0.5rem;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
:host .go-feedback p {
|
|
573
|
+
margin: 0;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
:root .go-feedback p {
|
|
577
|
+
margin: 0;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
:host .go-feedback.is-invalid {
|
|
581
|
+
background-color: #fff0f0;
|
|
582
|
+
background-color: var(--light-red);
|
|
583
|
+
border-left: 4px solid red;
|
|
584
|
+
border-left: var(--invalid-border);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
:root .go-feedback.is-invalid {
|
|
588
|
+
background-color: #fff0f0;
|
|
589
|
+
background-color: var(--light-red);
|
|
590
|
+
border-left: 4px solid red;
|
|
591
|
+
border-left: var(--invalid-border);
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
:host .go-feedback.is-successful {
|
|
595
|
+
background-color: #f0fff0;
|
|
596
|
+
border-left: 4px solid #3c763d;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
:root .go-feedback.is-successful {
|
|
600
|
+
background-color: #f0fff0;
|
|
601
|
+
border-left: 4px solid #3c763d;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
:host a {
|
|
605
|
+
color: #12826a;
|
|
606
|
+
color: var(--primary);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
:root a {
|
|
610
|
+
color: #12826a;
|
|
611
|
+
color: var(--primary);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
:host button {
|
|
615
|
+
margin-top: 2rem;
|
|
616
|
+
background-color: #12826a;
|
|
617
|
+
background-color: var(--primary);
|
|
618
|
+
color: white;
|
|
619
|
+
font-size: 1.2rem;
|
|
620
|
+
padding: 20px 60px;
|
|
621
|
+
border: none;
|
|
622
|
+
border-radius: 5px;
|
|
623
|
+
cursor: pointer;
|
|
624
|
+
transition: background-color 0.3s ease;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
:root button {
|
|
628
|
+
margin-top: 2rem;
|
|
629
|
+
background-color: #12826a;
|
|
630
|
+
background-color: var(--primary);
|
|
631
|
+
color: white;
|
|
632
|
+
font-size: 1.2rem;
|
|
633
|
+
padding: 20px 60px;
|
|
634
|
+
border: none;
|
|
635
|
+
border-radius: 5px;
|
|
636
|
+
cursor: pointer;
|
|
637
|
+
transition: background-color 0.3s ease;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
:host button:hover {
|
|
641
|
+
background-color: #125948;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
:root button:hover {
|
|
645
|
+
background-color: #125948;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
:host go-events {
|
|
649
|
+
/* Ensure CSS variables are defined */
|
|
650
|
+
--primary: #12826a;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
:root go-events {
|
|
654
|
+
/* Ensure CSS variables are defined */
|
|
655
|
+
--primary: #12826a;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
:host go-events ul {
|
|
659
|
+
display: grid;
|
|
660
|
+
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
661
|
+
grid-gap: 1rem;
|
|
662
|
+
gap: 1rem;
|
|
663
|
+
padding: 0;
|
|
664
|
+
list-style: none;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
:root go-events ul {
|
|
668
|
+
display: grid;
|
|
669
|
+
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
670
|
+
grid-gap: 1rem;
|
|
671
|
+
gap: 1rem;
|
|
672
|
+
padding: 0;
|
|
673
|
+
list-style: none;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
:host go-events ul li {
|
|
677
|
+
background-color: #fff;
|
|
678
|
+
border-radius: 10px;
|
|
679
|
+
overflow: hidden;
|
|
680
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
681
|
+
transition:
|
|
682
|
+
transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
|
|
683
|
+
display: flex;
|
|
684
|
+
flex-direction: column;
|
|
685
|
+
cursor: pointer;
|
|
686
|
+
border: 1px solid transparent;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
:root go-events ul li {
|
|
690
|
+
background-color: #fff;
|
|
691
|
+
border-radius: 10px;
|
|
692
|
+
overflow: hidden;
|
|
693
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
694
|
+
transition:
|
|
695
|
+
transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
|
|
696
|
+
display: flex;
|
|
697
|
+
flex-direction: column;
|
|
698
|
+
cursor: pointer;
|
|
699
|
+
border: 1px solid transparent;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
:host go-events ul li:hover {
|
|
703
|
+
transform: translateY(-4px);
|
|
704
|
+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
|
|
705
|
+
border: 1px solid #12826a;
|
|
706
|
+
border: 1px solid var(--primary);
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
:root go-events ul li:hover {
|
|
710
|
+
transform: translateY(-4px);
|
|
711
|
+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
|
|
712
|
+
border: 1px solid #12826a;
|
|
713
|
+
border: 1px solid var(--primary);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
:host go-events ul li go-event {
|
|
717
|
+
display: flex;
|
|
718
|
+
flex-direction: column;
|
|
719
|
+
height: 100%;
|
|
720
|
+
|
|
721
|
+
/* Image container */
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
:root go-events ul li go-event {
|
|
725
|
+
display: flex;
|
|
726
|
+
flex-direction: column;
|
|
727
|
+
height: 100%;
|
|
728
|
+
|
|
729
|
+
/* Image container */
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
:host go-events ul li go-event go-event-image {
|
|
733
|
+
display: block;
|
|
734
|
+
width: 100%;
|
|
735
|
+
aspect-ratio: 3 / 2;
|
|
736
|
+
-o-object-fit: cover;
|
|
737
|
+
object-fit: cover;
|
|
738
|
+
height: 200px;
|
|
739
|
+
overflow: hidden;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
:root go-events ul li go-event go-event-image {
|
|
743
|
+
display: block;
|
|
744
|
+
width: 100%;
|
|
745
|
+
aspect-ratio: 3 / 2;
|
|
746
|
+
-o-object-fit: cover;
|
|
747
|
+
object-fit: cover;
|
|
748
|
+
height: 200px;
|
|
749
|
+
overflow: hidden;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
:host go-events ul li go-event img {
|
|
753
|
+
max-width: 100%;
|
|
754
|
+
max-height: 100%;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
:root go-events ul li go-event img {
|
|
758
|
+
max-width: 100%;
|
|
759
|
+
max-height: 100%;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/* Title container */
|
|
763
|
+
|
|
764
|
+
:host go-events ul li go-event go-event-title {
|
|
765
|
+
padding: 0.75rem 1rem;
|
|
766
|
+
font-size: 1rem;
|
|
767
|
+
font-weight: 600;
|
|
768
|
+
color: #12826a;
|
|
769
|
+
color: var(--primary);
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
:root go-events ul li go-event go-event-title {
|
|
773
|
+
padding: 0.75rem 1rem;
|
|
774
|
+
font-size: 1rem;
|
|
775
|
+
font-weight: 600;
|
|
776
|
+
color: #12826a;
|
|
777
|
+
color: var(--primary);
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
:host go-events ul li go-event go-event-title * {
|
|
781
|
+
margin: 0;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
:root go-events ul li go-event go-event-title * {
|
|
785
|
+
margin: 0;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
:host img {
|
|
789
|
+
max-width: 100%;
|
|
790
|
+
max-height: 100%;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
:global go-ticket-selection go-cal {
|
|
794
|
+
display: none;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
:global go-ticket-selection.is-date-selected go-cal {
|
|
798
|
+
display: block;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
:global .azin {
|
|
802
|
+
outline: 20px solid green;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
.azin {
|
|
806
|
+
border: 20px solid green !important;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/*CALENDARUI CSS*/
|
|
810
|
+
|
|
811
|
+
[data-calendar-wrapper] {
|
|
812
|
+
max-width: 650px;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
[data-calendar-wrapper] [data-calendar-prev-button],[data-calendar-wrapper] [data-calendar-next-button] {
|
|
816
|
+
padding: 5px !important;
|
|
817
|
+
background-color: transparent !important;
|
|
818
|
+
border: none !important;
|
|
819
|
+
font-size: 1rem !important;
|
|
820
|
+
color: black !important;
|
|
821
|
+
margin-top: 0px !important;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
[data-calendar-wrapper] [data-calendar-cell] {
|
|
825
|
+
text-align: -webkit-center;
|
|
826
|
+
text-align: -moz-center;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
[data-calendar-wrapper] [data-bits-day] {
|
|
830
|
+
display: flex;
|
|
831
|
+
height: 1.5rem;
|
|
832
|
+
width: 1.5rem;
|
|
833
|
+
cursor: pointer;
|
|
834
|
+
-webkit-user-select: none;
|
|
835
|
+
-moz-user-select: none;
|
|
836
|
+
user-select: none;
|
|
837
|
+
align-items: center;
|
|
838
|
+
justify-content: center;
|
|
839
|
+
border-radius: 0.5rem;
|
|
840
|
+
padding: 1rem;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
[data-calendar-wrapper] [data-calendar-header] {
|
|
844
|
+
display: flex;
|
|
845
|
+
padding: 20px 10px;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
[data-calendar-wrapper] [data-calendar-heading] {
|
|
849
|
+
font-weight: 700;
|
|
850
|
+
font-size: 1.125rem;
|
|
851
|
+
line-height: 1.5;
|
|
852
|
+
flex-grow: 1;
|
|
853
|
+
padding: 0 5px;
|
|
854
|
+
text-align: center;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
[data-calendar-wrapper] [data-calendar-grid] {
|
|
858
|
+
width: 100%;
|
|
859
|
+
padding: 5px 6px 7px 6px;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
[data-calendar-wrapper] [data-calendar-grid-row] {
|
|
863
|
+
display: grid;
|
|
864
|
+
grid-template-columns: repeat(7, 1fr);
|
|
865
|
+
grid-gap: 8px;
|
|
866
|
+
gap: 8px;
|
|
867
|
+
padding: 10px 5px;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
[data-calendar-wrapper] [data-calendar-cell] {
|
|
871
|
+
display: flex;
|
|
872
|
+
justify-content: center;
|
|
873
|
+
align-items: center;
|
|
874
|
+
font-size: 0.875rem;
|
|
875
|
+
font-weight: 500;
|
|
876
|
+
border-radius: 100%;
|
|
877
|
+
width: 28px;
|
|
878
|
+
height: 28px;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
[data-calendar-wrapper] [data-calendar-root] {
|
|
882
|
+
padding: 1.25rem;
|
|
883
|
+
border: 1px solid #274779;
|
|
884
|
+
border-radius: 0.25rem;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
[data-calendar-wrapper] [data-calendar-cell][data-unavailable] {
|
|
888
|
+
color: #757575;
|
|
889
|
+
pointer-events: none;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
[data-calendar-wrapper] [data-calendar-cell][data-disabled] {
|
|
893
|
+
color: #757575;
|
|
894
|
+
pointer-events: none;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
[data-calendar-wrapper] [data-calendar-cell][data-selected] {
|
|
898
|
+
color: #ffffff;
|
|
899
|
+
background-color: #274779;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
[data-calendar-wrapper] [data-calendar-cell][data-today] {
|
|
903
|
+
border: 1px solid #274779;
|
|
904
|
+
border-width: 1px;
|
|
905
|
+
}
|
|
906
|
+
/*END CALENDARUI CSS*/
|
|
907
|
+
|
|
908
|
+
ul[data-go-timeslots] {
|
|
909
|
+
max-width: 650px;
|
|
910
|
+
list-style: none;
|
|
911
|
+
padding: 0;
|
|
912
|
+
margin: 0;
|
|
913
|
+
display: flex;
|
|
914
|
+
flex-wrap: wrap;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
ul[data-go-timeslots] li {
|
|
918
|
+
margin: 5px;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
ul[data-go-timeslots] label {
|
|
922
|
+
display: inline-block;
|
|
923
|
+
padding: 10px 20px;
|
|
924
|
+
border: 2px solid #ccc;
|
|
925
|
+
border-radius: 5px;
|
|
926
|
+
cursor: pointer;
|
|
927
|
+
transition:
|
|
928
|
+
background-color 0.3s, border-color 0.3s;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
/* Available timeslot */
|
|
932
|
+
|
|
933
|
+
ul[data-go-timeslots] .available {
|
|
934
|
+
background-color: #fff;
|
|
935
|
+
color: #333;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
ul[data-go-timeslots] input[type='radio'] {
|
|
939
|
+
display: none; /* Hide the radio button */
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
/* When a timeslot is selected (checked radio button) */
|
|
943
|
+
|
|
944
|
+
ul[data-go-timeslots] label:has(input[type='radio']:checked) {
|
|
945
|
+
background-color: #12826a;
|
|
946
|
+
background-color: var(--primary); /* blue-green color */
|
|
947
|
+
border-color: #12826a;
|
|
948
|
+
border-color: var(--primary);
|
|
949
|
+
color: white;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/* Finished (unavailable) timeslot */
|
|
953
|
+
|
|
954
|
+
ul[data-go-timeslots] .finished {
|
|
955
|
+
background-color: #f0f0f0;
|
|
956
|
+
color: #999;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
ul[data-go-timeslots] .finished input {
|
|
960
|
+
display: none;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
ul[data-go-timeslots] .finished {
|
|
964
|
+
pointer-events: none;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/* Disabled radio button appearance */
|
|
968
|
+
|
|
969
|
+
ul[data-go-timeslots] input:disabled + label {
|
|
970
|
+
background-color: #e0e0e0;
|
|
971
|
+
color: #bbb;
|
|
972
|
+
cursor: not-allowed;
|
|
973
|
+
border-color: #ddd;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
ul[data-go-timeslots] label:hover {
|
|
977
|
+
background-color: #f0f0f0;
|
|
978
|
+
border-color: #aaa;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/* Focus state for better accessibility */
|
|
982
|
+
|
|
983
|
+
ul[data-go-timeslots] input:focus + label {
|
|
984
|
+
outline: 2px solid #0052cc;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
go-tickets {
|
|
988
|
+
/*// Tweak these numbers to change column ratios (must match header + rows)*/
|
|
989
|
+
--col-title: 2;
|
|
990
|
+
--col-desc: 4;
|
|
991
|
+
--col-price: 1;
|
|
992
|
+
--col-qty: 1;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
go-tickets [data-testid='tickets'] {
|
|
996
|
+
margin: 0;
|
|
997
|
+
padding: 0;
|
|
998
|
+
list-style: none;
|
|
999
|
+
|
|
1000
|
+
/*// Header row*/
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
go-tickets [data-testid='tickets'] > li[data-go-tickets-header] {
|
|
1004
|
+
top: 0;
|
|
1005
|
+
background: inherit;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
go-tickets [data-testid='tickets'] > li[data-go-tickets-header] > ul {
|
|
1009
|
+
display: flex;
|
|
1010
|
+
align-items: center;
|
|
1011
|
+
gap: 1rem;
|
|
1012
|
+
padding: 0.5rem 0;
|
|
1013
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
1014
|
+
font-weight: 600;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
go-tickets [data-testid='tickets'] > li[data-go-tickets-header] > ul > li {
|
|
1018
|
+
list-style: none;
|
|
1019
|
+
/*// allow truncation*/
|
|
1020
|
+
min-width: 0;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
go-tickets [data-testid='tickets'] > li[data-go-tickets-header] > ul > li:first-child {
|
|
1024
|
+
padding-left: 0;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
go-tickets [data-testid='tickets'] > li[data-go-tickets-header] > ul [data-go-tickets-title] {
|
|
1028
|
+
flex: var(--col-title) 0 0;
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
go-tickets [data-testid='tickets'] > li[data-go-tickets-header] > ul [data-go-tickets-description] {
|
|
1032
|
+
flex: var(--col-desc) 0 0;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
go-tickets [data-testid='tickets'] > li[data-go-tickets-header] > ul [data-go-tickets-price] {
|
|
1036
|
+
flex: var(--col-price) 0 0;
|
|
1037
|
+
text-align: right;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
go-tickets [data-testid='tickets'] > li[data-go-tickets-header] > ul [data-go-tickets-quality] {
|
|
1041
|
+
flex: var(--col-qty) 0 0;
|
|
1042
|
+
text-align: right;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/*// Data rows*/
|
|
1046
|
+
|
|
1047
|
+
go-tickets [data-testid='tickets'] > li {
|
|
1048
|
+
list-style: none;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
go-tickets [data-testid='tickets'] > li > article[data-go-ticket] > ul {
|
|
1052
|
+
display: flex;
|
|
1053
|
+
align-items: center;
|
|
1054
|
+
gap: 1rem;
|
|
1055
|
+
padding: 0.75rem 0;
|
|
1056
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
go-tickets [data-testid='tickets'] > li > article[data-go-ticket] > ul > li {
|
|
1060
|
+
list-style: none;
|
|
1061
|
+
/*// enable text truncation*/
|
|
1062
|
+
min-width: 0;
|
|
1063
|
+
/*// Optional: single-line truncation (comment out if you want wrapping)*/
|
|
1064
|
+
white-space: nowrap;
|
|
1065
|
+
overflow: hidden;
|
|
1066
|
+
text-overflow: ellipsis;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
go-tickets [data-testid='tickets'] > li > article[data-go-ticket] > ul [data-go-tickets-title] {
|
|
1070
|
+
flex: var(--col-title) 0 0;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
go-tickets [data-testid='tickets'] > li > article[data-go-ticket] > ul [data-go-tickets-description] {
|
|
1074
|
+
flex: var(--col-desc) 0 0;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
go-tickets [data-testid='tickets'] > li > article[data-go-ticket] > ul [data-go-tickets-price] {
|
|
1078
|
+
flex: var(--col-price) 0 0;
|
|
1079
|
+
text-align: right;
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
go-tickets [data-testid='tickets'] > li > article[data-go-ticket] > ul [data-go-tickets-quality] {
|
|
1083
|
+
flex: var(--col-qty) 0 0;
|
|
1084
|
+
text-align: right;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
go-tickets [data-testid='tickets'] > li > article[data-go-ticket] > ul [data-go-tickets-quality] select {
|
|
1088
|
+
/*// keeps the quantity control aligned but not stretched*/
|
|
1089
|
+
margin-left: auto;
|
|
1090
|
+
/*// adjust as needed*/
|
|
1091
|
+
max-width: 8rem;
|
|
1092
|
+
|
|
1093
|
+
min-width: 4rem;
|
|
1094
|
+
min-height: 2rem;
|
|
1095
|
+
width: auto;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
/*=== CART ===*/
|
|
1099
|
+
go-cart {
|
|
1100
|
+
display: block;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
[data-testid='cart'] {
|
|
1104
|
+
margin: 0;
|
|
1105
|
+
padding: 0;
|
|
1106
|
+
list-style: none;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/* Header row */
|
|
1110
|
+
[data-go-cart-header] {
|
|
1111
|
+
background: inherit;
|
|
1112
|
+
padding: 0.5rem 0;
|
|
1113
|
+
}
|
|
1114
|
+
[data-go-cart-header] > ul {
|
|
1115
|
+
display: flex;
|
|
1116
|
+
gap: 1rem;
|
|
1117
|
+
font-weight: 600;
|
|
1118
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
1119
|
+
padding: 0.5rem 0;
|
|
1120
|
+
}
|
|
1121
|
+
[data-go-cart-header] > ul > li {
|
|
1122
|
+
list-style: none;
|
|
1123
|
+
min-width: 0;
|
|
1124
|
+
}
|
|
1125
|
+
[data-go-cart-header] > ul [data-go-cart-header-title] {
|
|
1126
|
+
flex: 2;
|
|
1127
|
+
}
|
|
1128
|
+
[data-go-cart-header] > ul [data-go-cart-header-price] {
|
|
1129
|
+
flex: 1;
|
|
1130
|
+
text-align: right;
|
|
1131
|
+
}
|
|
1132
|
+
[data-go-cart-header] > ul [data-go-cart-header-count] {
|
|
1133
|
+
flex: 1;
|
|
1134
|
+
text-align: right;
|
|
1135
|
+
}
|
|
1136
|
+
[data-go-cart-header] > ul [data-go-cart-header-remove] {
|
|
1137
|
+
flex: 1;
|
|
1138
|
+
text-align: right;
|
|
1139
|
+
}
|
|
1140
|
+
[data-go-cart-header] > ul [data-go-cart-header-sum] {
|
|
1141
|
+
flex: 1;
|
|
1142
|
+
text-align: right;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/* Data rows */
|
|
1146
|
+
[data-go-cart-item] article > ul {
|
|
1147
|
+
display: flex;
|
|
1148
|
+
gap: 1rem;
|
|
1149
|
+
padding: 0.75rem 0;
|
|
1150
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
1151
|
+
align-items: center;
|
|
1152
|
+
}
|
|
1153
|
+
[data-go-cart-item] article > ul > li {
|
|
1154
|
+
list-style: none;
|
|
1155
|
+
min-width: 0;
|
|
1156
|
+
white-space: nowrap;
|
|
1157
|
+
overflow: hidden;
|
|
1158
|
+
text-overflow: ellipsis;
|
|
1159
|
+
}
|
|
1160
|
+
[data-go-cart-item] article > ul [data-go-cart-item-title] {
|
|
1161
|
+
flex: 2;
|
|
1162
|
+
}
|
|
1163
|
+
[data-go-cart-item] article > ul [data-go-cart-item-price] {
|
|
1164
|
+
flex: 1;
|
|
1165
|
+
text-align: right;
|
|
1166
|
+
}
|
|
1167
|
+
[data-go-cart-item] article > ul [data-go-cart-item-count] {
|
|
1168
|
+
flex: 1;
|
|
1169
|
+
text-align: right;
|
|
1170
|
+
}
|
|
1171
|
+
[data-go-cart-item] article > ul [data-go-cart-item-remove] {
|
|
1172
|
+
flex: 1;
|
|
1173
|
+
text-align: right;
|
|
1174
|
+
}
|
|
1175
|
+
[data-go-cart-item] article > ul [data-go-cart-item-remove] button {
|
|
1176
|
+
padding: 0.25rem 0.5rem;
|
|
1177
|
+
margin: 0;
|
|
1178
|
+
background-color: white;
|
|
1179
|
+
color: black;
|
|
1180
|
+
border: none;
|
|
1181
|
+
border-radius: 4px;
|
|
1182
|
+
cursor: pointer;
|
|
1183
|
+
}
|
|
1184
|
+
[data-go-cart-item] article > ul [data-go-cart-item-sum] {
|
|
1185
|
+
flex: 1;
|
|
1186
|
+
text-align: right;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
/* Footer row */
|
|
1190
|
+
[data-go-cart-footer] {
|
|
1191
|
+
background: inherit;
|
|
1192
|
+
}
|
|
1193
|
+
[data-go-cart-footer] > ul {
|
|
1194
|
+
display: flex;
|
|
1195
|
+
gap: 1rem;
|
|
1196
|
+
padding: 0.5rem 0;
|
|
1197
|
+
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
1198
|
+
font-weight: 600;
|
|
1199
|
+
}
|
|
1200
|
+
[data-go-cart-footer] > ul > li {
|
|
1201
|
+
list-style: none;
|
|
1202
|
+
min-width: 0;
|
|
1203
|
+
}
|
|
1204
|
+
[data-go-cart-footer] > ul [data-go-cart-footer-title] {
|
|
1205
|
+
flex: 2;
|
|
1206
|
+
}
|
|
1207
|
+
[data-go-cart-footer] > ul [data-go-cart-footer-price] {
|
|
1208
|
+
flex: 1;
|
|
1209
|
+
text-align: right;
|
|
1210
|
+
}
|
|
1211
|
+
[data-go-cart-footer] > ul [data-go-cart-footer-count] {
|
|
1212
|
+
flex: 1;
|
|
1213
|
+
text-align: right;
|
|
1214
|
+
}
|
|
1215
|
+
[data-go-cart-footer] > ul [data-go-cart-footer-remove] {
|
|
1216
|
+
flex: 1;
|
|
1217
|
+
text-align: right;
|
|
1218
|
+
}
|
|
1219
|
+
[data-go-cart-footer] > ul [data-go-cart-footer-sum] {
|
|
1220
|
+
flex: 1;
|
|
1221
|
+
text-align: right;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
[data-add-to-cart-button]:disabled {
|
|
1225
|
+
background-color: #d3d3d3; /* Gray color for disabled state */
|
|
1226
|
+
color: #a1a1a1; /* Lighter text color */
|
|
1227
|
+
cursor: not-allowed; /* Show that the button is disabled */
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
h2 {
|
|
1231
|
+
margin-top: 3rlh;
|
|
1232
|
+
}
|
|
1233
|
+
.sum-container {
|
|
1234
|
+
display: flex;
|
|
1235
|
+
flex-direction: row;
|
|
1236
|
+
justify-content: space-between;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
.component-container {
|
|
1240
|
+
max-width: 650px;
|
|
1241
|
+
margin: 0 auto;
|
|
1242
|
+
box-shadow:
|
|
1243
|
+
0 4px 12px rgba(12, 12, 12, 0.15),
|
|
1244
|
+
0 0 0 1px rgba(0, 0, 0, 0.05);
|
|
1245
|
+
border-radius: 3px;
|
|
1246
|
+
padding: 32px 32px 48px;
|
|
1247
|
+
|
|
1248
|
+
margin: 2rem auto;
|
|
1249
|
+
}
|
|
1250
|
+
go-cart,
|
|
1251
|
+
go-ticket-selection,
|
|
1252
|
+
go-if {
|
|
1253
|
+
width: 100%;
|
|
1254
|
+
display: block;
|
|
1255
|
+
}
|