iticket-seatingplan-dev 1.7.0 → 1.7.2

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.
@@ -37,10 +37,11 @@ button {
37
37
  }
38
38
 
39
39
  .legendBox {
40
- background: rgba(0, 0, 0, 0.1);
40
+ background: rgba(255, 255, 255, 0.8);
41
41
  padding: 0.5rem 0.8rem;
42
42
  border-radius: 3px;
43
43
  text-align: left;
44
+ backdrop-filter: blur(2px);
44
45
  }
45
46
 
46
47
  .legend-header {
@@ -992,13 +993,20 @@ svg.leaflet-image-layer.leaflet-interactive path {
992
993
  content: "";
993
994
  }
994
995
 
995
- @media screen and (max-width: 1024px) {
996
+ @media screen and (max-width: 1023px) {
996
997
  .seatname-tooltip {
997
998
  display: none;
998
999
  pointer-events: none;
999
1000
  }
1000
1001
  }
1001
1002
 
1003
+ @media screen and (min-width: 1024px) {
1004
+ .mobile-tooltip {
1005
+ display: none;
1006
+ pointer-events: none;
1007
+ }
1008
+ }
1009
+
1002
1010
  /* Directions */
1003
1011
 
1004
1012
  .leaflet-tooltip-bottom {
@@ -1098,6 +1106,471 @@ svg.leaflet-image-layer.leaflet-interactive path {
1098
1106
  }
1099
1107
  }
1100
1108
 
1109
+ .seatingplan-dialog-backdrop {
1110
+ position: absolute;
1111
+ width: 100%;
1112
+ height: 100%;
1113
+ top: 0;
1114
+ left: 0;
1115
+ background-color: rgba(0, 0, 0, 0.4);
1116
+ z-index: 1001;
1117
+ animation: fade-in 400ms;
1118
+ }
1119
+
1120
+ .seatingplan-dialog-content {
1121
+ padding: 1rem;
1122
+ flex: 1;
1123
+ overflow-y: auto;
1124
+ }
1125
+
1126
+ .seatingplan-dialog {
1127
+ position: absolute;
1128
+ z-index: 1002;
1129
+ top: 50%;
1130
+ left: 50%;
1131
+ transform: translate(-50%, -50%);
1132
+ animation: fade-in 400ms;
1133
+ background-color: #fff;
1134
+ /* font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; */
1135
+ font-family: inherit;
1136
+ color: #333;
1137
+ box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
1138
+ border-radius: 12px;
1139
+ min-width: 20rem;
1140
+ max-width: 30rem;
1141
+ max-height: 95%;
1142
+ display: flex;
1143
+ flex-direction: column;
1144
+ }
1145
+
1146
+ @media screen and (max-width: 600px) {
1147
+ .seatingplan-dialog {
1148
+ width: 100%;
1149
+ min-width: unset;
1150
+ }
1151
+ }
1152
+
1153
+ .seatingplan-dialog.remove-multiple-seats-popup {
1154
+ min-width: unset;
1155
+ max-width: 28rem;
1156
+ }
1157
+
1158
+ .seatingplan-dialog .popup-header {
1159
+ margin-top: 0;
1160
+ padding: 1rem;
1161
+ border-radius: 12px 12px 0px 0px;
1162
+ flex-direction: column;
1163
+ text-align: left;
1164
+ gap: 0.5rem;
1165
+ }
1166
+
1167
+ .seatingplan-dialog .popup-header .close-button {
1168
+ margin: -2px -2px 0px 0px;
1169
+ align-self: flex-end;
1170
+ }
1171
+
1172
+ .seatingplan-dialog h3,
1173
+ .seatingplan-dialog h4 {
1174
+ font-weight: bold;
1175
+ margin: 0;
1176
+ }
1177
+
1178
+ .seatingplan-dialog .quantity-heading {
1179
+ font-weight: normal;
1180
+ text-align: left;
1181
+ font-size: 0.875rem;
1182
+ margin-bottom: 8px;
1183
+ }
1184
+
1185
+ .seatingplan-dialog .seat-qty-select {
1186
+ display: flex;
1187
+ flex-direction: column;
1188
+ }
1189
+
1190
+ .seatingplan-dialog p {
1191
+ margin: 0;
1192
+ max-width: 30rem;
1193
+ }
1194
+
1195
+ .seatingplan-dialog .seat-names {
1196
+ font-size: 0.75rem;
1197
+ display: flex;
1198
+ gap: 0.375rem;
1199
+ flex-wrap: wrap;
1200
+ font-weight: 500;
1201
+ }
1202
+
1203
+ .seat-name {
1204
+ display: block;
1205
+ padding: 0.25rem;
1206
+ border-radius: 0.25rem;
1207
+ background: #f3f4f6;
1208
+ font-weight: 500;
1209
+ line-height: normal;
1210
+ }
1211
+
1212
+ .seatingplan-dialog .seat-list {
1213
+ text-align: left;
1214
+ display: flex;
1215
+ flex-direction: column;
1216
+ gap: 0.75rem;
1217
+ }
1218
+
1219
+ .seatingplan-dialog .price-section-list {
1220
+ text-align: left;
1221
+ display: flex;
1222
+ flex-direction: column;
1223
+ gap: 1rem;
1224
+ }
1225
+
1226
+ .seatingplan-dialog .seat-group {
1227
+ display: flex;
1228
+ flex-direction: column;
1229
+ gap: 0.5rem;
1230
+ border: 1px solid #e5e7eb;
1231
+ border-radius: 0.25rem;
1232
+ padding: 0.5rem;
1233
+ }
1234
+
1235
+ .seatingplan-dialog .single-seat-group {
1236
+ display: flex;
1237
+ flex-direction: column;
1238
+ gap: 0.75rem;
1239
+ border: 1px solid #e5e7eb;
1240
+ border-radius: 0.25rem;
1241
+ padding: 0.75rem;
1242
+ }
1243
+
1244
+ .seatingplan-dialog .seat-group-header {
1245
+ display: flex;
1246
+ justify-content: space-between;
1247
+ align-items: center;
1248
+ gap: 1rem;
1249
+ font-size: 0.875rem;
1250
+ }
1251
+
1252
+ .seatingplan-dialog .ps-name {
1253
+ color: #075985;
1254
+ background-color: #e0f2fe;
1255
+ padding: 0.25rem 0.5rem;
1256
+ border-radius: 0.25rem;
1257
+ }
1258
+
1259
+ .seatingplan-dialog .no-of-seats {
1260
+ color: #4b5563;
1261
+ }
1262
+
1263
+ .seatingplan-dialog .single-seat-select-wrapper {
1264
+ display: flex;
1265
+ flex-direction: column;
1266
+ gap: 0.5rem;
1267
+ }
1268
+
1269
+ .seatingplan-dialog .single-seat-header {
1270
+ display: flex;
1271
+ justify-content: space-between;
1272
+ align-items: center;
1273
+ gap: 1rem;
1274
+ font-size: 0.75rem;
1275
+ }
1276
+
1277
+ .seatingplan-dialog select {
1278
+ flex: 1;
1279
+ padding: 0.3rem 0.2rem;
1280
+ border: 1px solid #d1d5db;
1281
+ border-radius: 0.25rem;
1282
+ }
1283
+
1284
+ .seatingplan-dialog .buttons {
1285
+ display: flex;
1286
+ width: 100%;
1287
+ justify-content: space-between;
1288
+ gap: 1rem;
1289
+ margin-top: 1.2rem;
1290
+ }
1291
+
1292
+ .seatingplan-dialog .buttons.buttons-single {
1293
+ justify-content: center;
1294
+ }
1295
+
1296
+ .seatingplan-dialog .buttons button {
1297
+ display: block;
1298
+ background: transparent;
1299
+ min-width: 12rem;
1300
+ border-radius: 0.25rem;
1301
+ padding: 0.5rem;
1302
+ margin-bottom: 0.2rem;
1303
+ cursor: pointer;
1304
+ margin-bottom: 0;
1305
+ transition: all 0.2s ease-in-out;
1306
+ }
1307
+
1308
+ .seatingplan-dialog .buttons.buttons-single button {
1309
+ width: 100%;
1310
+ }
1311
+
1312
+ .seatingplan-dialog .buttons button.add-cart {
1313
+ background: var(--accent);
1314
+ color: white;
1315
+ font-weight: bold;
1316
+ border: none;
1317
+ }
1318
+
1319
+ .seatingplan-dialog .buttons button.add-cart:hover:not(:disabled) {
1320
+ background: var(--accent-light);
1321
+ color: var(--accent-dark);
1322
+ }
1323
+
1324
+ .seatingplan-dialog .buttons button.add-cart:disabled {
1325
+ cursor: default;
1326
+ color: #9ca3af;
1327
+ background: #f3f4f6;
1328
+ }
1329
+
1330
+ @media screen and (max-width: 600px) {
1331
+ .seatingplan-dialog .buttons button {
1332
+ min-width: 8rem;
1333
+ }
1334
+ }
1335
+
1336
+ .seatingplan-dialog .buttons button:disabled {
1337
+ cursor: default;
1338
+ color: #9ca3af;
1339
+ border-color: #9ca3af;
1340
+ }
1341
+
1342
+ .seatingplan-dialog .buttons button:hover:not(:disabled) {
1343
+ background: #ecf0f1;
1344
+ }
1345
+
1346
+ .seatingplan-dialog .no-prices-available {
1347
+ font-size: 0.8rem;
1348
+ color: red;
1349
+ }
1350
+
1351
+ .seatingplan-dialog button.cancel {
1352
+ background: #f3f4f6;
1353
+ border: none;
1354
+ font-weight: bold;
1355
+ }
1356
+
1357
+ .seatingplan-dialog .bulk-price-select {
1358
+ display: flex;
1359
+ flex-direction: column;
1360
+ gap: 0.5rem;
1361
+ margin-bottom: 0.5rem;
1362
+ }
1363
+
1364
+ .seatingplan-dialog .price-select-wrapper p {
1365
+ font-size: 0.875rem;
1366
+ }
1367
+
1368
+ .seatingplan-dialog .single-seat-select {
1369
+ display: flex;
1370
+ gap: 0.5rem;
1371
+ flex-direction: column;
1372
+ }
1373
+
1374
+ .seatingplan-dialog .flexi-button {
1375
+ width: max-content;
1376
+ display: flex;
1377
+ align-items: center;
1378
+ gap: 4px;
1379
+ border-radius: 0.25rem;
1380
+ padding: 0px;
1381
+ border: none;
1382
+ text-decoration: underline;
1383
+ background: transparent;
1384
+ cursor: pointer;
1385
+ animation: fade-in 200ms;
1386
+ font-weight: 600;
1387
+ transition: 0.2s;
1388
+ }
1389
+
1390
+ .priceage-option .flexi-button,
1391
+ .seat-list .flexi-button {
1392
+ color: var(--flexi-accent);
1393
+ }
1394
+
1395
+ .priceage-option {
1396
+ display: flex;
1397
+ justify-content: space-between;
1398
+ align-items: center;
1399
+ font-size: 0.875rem;
1400
+ background: var(--accent-light);
1401
+ padding: 0.5rem;
1402
+ border-radius: 0.375rem;
1403
+ color: var(--accent-dark);
1404
+ }
1405
+
1406
+ .priceage-option.sold-out {
1407
+ color: #6b7280;
1408
+ background: #f3f4f6;
1409
+ }
1410
+
1411
+ .priceage-option .pa-name {
1412
+ font-weight: bold;
1413
+ }
1414
+
1415
+ .priceage-option .pa-price {
1416
+ display: flex;
1417
+ gap: 0.25rem;
1418
+ align-items: center;
1419
+ }
1420
+
1421
+ .priceage-option input[type="text"] {
1422
+ width: 2.5rem;
1423
+ padding: 0.375rem 0.5rem;
1424
+ border-radius: 0.375rem;
1425
+ outline-color: transparent;
1426
+ border: 1px solid #d1d5db;
1427
+ }
1428
+
1429
+ .priceage-option input[type="text"]:focus {
1430
+ outline-color: var(--accent);
1431
+ }
1432
+
1433
+ .priceage-option input[type="text"]:disabled {
1434
+ background: #f3f4f6;
1435
+ color: #6b7280;
1436
+ }
1437
+
1438
+ .priceage-option .price-qty-select {
1439
+ display: flex;
1440
+ gap: 0.25rem;
1441
+ align-items: center;
1442
+ }
1443
+
1444
+ .priceage-option .price-qty-button {
1445
+ background: #fff;
1446
+ color: var(--accent-dark);
1447
+ border: none;
1448
+ width: 1.5rem;
1449
+ height: 1.5rem;
1450
+ border-radius: 50%;
1451
+ display: flex;
1452
+ justify-content: center;
1453
+ align-items: center;
1454
+ cursor: pointer;
1455
+ transition: all 0.2s ease-in-out;
1456
+ }
1457
+
1458
+ .priceage-option .price-qty-button:hover:not(:disabled) {
1459
+ background: var(--accent);
1460
+ color: var(--accent-light);
1461
+ }
1462
+
1463
+ .priceage-option .price-qty-button:disabled {
1464
+ cursor: default;
1465
+ color: #d1d5db;
1466
+ }
1467
+
1468
+ .selected-qty {
1469
+ color: #ef4444;
1470
+ font-weight: 500;
1471
+ transition: color 0.2s ease-in-out;
1472
+ }
1473
+
1474
+ .selected-qty.complete {
1475
+ color: #10b981;
1476
+ }
1477
+
1478
+ .hover-popup {
1479
+ min-width: 150px;
1480
+ max-width: 250px;
1481
+ position: absolute;
1482
+ pointer-events: none;
1483
+ z-index: 1000;
1484
+ background: #fff;
1485
+ border-radius: 0.5rem;
1486
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
1487
+ transition-property: opacity, left, top;
1488
+ transition-duration: 100ms, 50ms, 50ms;
1489
+ transition-timing-function: ease-in-out, ease-in-out, ease-in-out;
1490
+ }
1491
+
1492
+ .hover-popup p {
1493
+ margin: 0;
1494
+ font-size: 0.75rem;
1495
+ }
1496
+
1497
+ .hover-popup-header {
1498
+ display: grid;
1499
+ grid-template-columns: 1fr 1fr;
1500
+ padding: 0.5rem;
1501
+ }
1502
+
1503
+ .hover-popup .hover-popup-header-title {
1504
+ font-weight: bold;
1505
+ font-size: 0.5rem;
1506
+ margin-bottom: 0.25rem;
1507
+ color: #6b7280;
1508
+ }
1509
+
1510
+ .hover-popup-row,
1511
+ .hover-popup-column {
1512
+ text-align: center;
1513
+ font-weight: bold;
1514
+ display: flex;
1515
+ flex-direction: column;
1516
+ }
1517
+
1518
+ /* .hover-popup-row {
1519
+ border-right: 1px solid #d1d5db;
1520
+ } */
1521
+
1522
+ .hover-popup-row .row-name {
1523
+ flex: 1;
1524
+ display: flex;
1525
+ justify-content: center;
1526
+ align-items: center;
1527
+ min-height: 1.375rem;
1528
+ }
1529
+
1530
+ .hover-popup-row .row-name p {
1531
+ font-size: 0.875rem;
1532
+ }
1533
+
1534
+ .hover-popup-column .seat-name {
1535
+ padding: 2px 4px;
1536
+ width: fit-content;
1537
+ height: fit-content;
1538
+ min-width: 0.75rem;
1539
+ }
1540
+
1541
+ .hover-popup-seats {
1542
+ display: flex;
1543
+ gap: 0.25rem;
1544
+ flex-wrap: wrap;
1545
+ justify-content: center;
1546
+ align-items: center;
1547
+ }
1548
+
1549
+ .hover-popup-price {
1550
+ padding: 0.5rem;
1551
+ font-size: 0.875rem;
1552
+ background: var(--accent-light);
1553
+ color: var(--accent-dark);
1554
+ border-radius: 0 0 0.5rem 0.5rem;
1555
+ display: flex;
1556
+ justify-content: space-between;
1557
+ align-items: center;
1558
+ gap: 0.5rem;
1559
+ }
1560
+
1561
+ .hover-popup-psname {
1562
+ font-weight: 500;
1563
+ }
1564
+
1565
+ .hover-popup-pricetext {
1566
+ font-weight: 500;
1567
+ }
1568
+
1569
+ .hover-popup-divider {
1570
+ border-right: 1px solid var(--accent-dark);
1571
+ height: 0.875rem;
1572
+ }
1573
+
1101
1574
  /* Printing */
1102
1575
 
1103
1576
  @media print {
@@ -1,209 +1,3 @@
1
- /* Popup to select prices */
2
-
3
- .pricing-popup-backdrop {
4
- position: absolute;
5
- width: 100%;
6
- height: 100%;
7
- top: 0;
8
- left: 0;
9
- background-color: rgba(0, 0, 0, 0.4);
10
- z-index: 1001;
11
- animation: fade-in 400ms;
12
- }
13
-
14
- .pricing-popup-content {
15
- padding: 1rem;
16
- flex: 1;
17
- overflow-y: auto;
18
- }
19
-
20
- .pricing-popup {
21
- position: absolute;
22
- z-index: 1002;
23
- top: 50%;
24
- left: 50%;
25
- transform: translate(-50%, -50%);
26
- animation: fade-in 400ms;
27
- background-color: #fff;
28
- /* font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; */
29
- font-family: inherit;
30
- color: #333;
31
- box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
32
- border-radius: 12px;
33
- min-width: 20rem;
34
- max-height: 95%;
35
- display: flex;
36
- flex-direction: column;
37
- }
38
-
39
- @media screen and (max-width: 600px) {
40
- .pricing-popup {
41
- width: 100%;
42
- min-width: unset;
43
- }
44
- }
45
-
46
- .pricing-popup.remove-multiple-seats-popup {
47
- min-width: unset;
48
- max-width: 28rem;
49
- }
50
-
51
- .pricing-popup .popup-header {
52
- margin-top: 0;
53
- padding: 1rem;
54
- border-radius: 12px 12px 0px 0px;
55
- flex-direction: column;
56
- text-align: left;
57
- gap: 0.5rem;
58
- }
59
-
60
- .pricing-popup .popup-header .close-button {
61
- margin: -2px -2px 0px 0px;
62
- align-self: flex-end;
63
- }
64
-
65
- .pricing-popup h3,
66
- .pricing-popup h4 {
67
- font-weight: bold;
68
- margin: 0;
69
- }
70
-
71
- .pricing-popup .quantity-heading {
72
- font-weight: normal;
73
- text-align: left;
74
- font-size: 0.875rem;
75
- margin-bottom: 8px;
76
- }
77
-
78
- .pricing-popup p {
79
- margin: 0;
80
- max-width: 30rem;
81
- }
82
-
83
- .pricing-popup .seat-names {
84
- font-size: 0.9rem;
85
- }
86
-
87
- .pricing-popup .seat-list {
88
- text-align: left;
89
- display: flex;
90
- flex-direction: column;
91
- gap: 1rem;
92
- }
93
-
94
- .pricing-popup .seat-group {
95
- display: flex;
96
- flex-direction: column;
97
- gap: 0.5rem;
98
- }
99
-
100
- .pricing-popup .seat-group-header {
101
- display: flex;
102
- justify-content: space-between;
103
- align-items: flex-end;
104
- gap: 1rem;
105
- font-size: 0.9rem;
106
- }
107
-
108
- .pricing-popup select {
109
- flex: 1;
110
- padding: 0.3rem 0.2rem;
111
- border: 1px solid #ccc;
112
- border-radius: 0.25rem;
113
- }
114
-
115
- .pricing-popup .buttons {
116
- display: flex;
117
- width: 100%;
118
- justify-content: space-between;
119
- gap: 1rem;
120
- margin-top: 1.2rem;
121
- }
122
-
123
- .pricing-popup .buttons.buttons-single {
124
- justify-content: center;
125
- }
126
-
127
- .pricing-popup .buttons button {
128
- display: block;
129
- background: transparent;
130
- min-width: 12rem;
131
- border-radius: 0.25rem;
132
- padding: 0.5rem;
133
- border: 1px solid #333;
134
- margin-bottom: 0.2rem;
135
- cursor: pointer;
136
- margin-bottom: 0;
137
- }
138
-
139
- .pricing-popup .buttons.buttons-single button {
140
- width: 100%;
141
- }
142
-
143
- .pricing-popup .buttons button.add-cart {
144
- background: var(--accent);
145
- color: white;
146
- font-weight: bold;
147
- border: none;
148
- }
149
-
150
- .pricing-popup .buttons button.add-cart:hover:not(:disabled) {
151
- background: var(--accent-light);
152
- color: var(--accent-dark);
153
- }
154
-
155
- @media screen and (max-width: 600px) {
156
- .pricing-popup .buttons button {
157
- min-width: 8rem;
158
- }
159
- }
160
-
161
- .pricing-popup .buttons button:disabled {
162
- cursor: default;
163
- color: #bdc3c7;
164
- border-color: #bdc3c7;
165
- }
166
-
167
- .pricing-popup .buttons button:hover:not(:disabled) {
168
- background: #ecf0f1;
169
- transition: 0.2s;
170
- }
171
-
172
- .pricing-popup .no-prices-available {
173
- font-size: 0.8rem;
174
- color: red;
175
- }
176
-
177
- .pricing-popup button.cancel {
178
- background: #dcdcdc;
179
- border: none;
180
- }
181
-
182
- .pricing-popup .price-select {
183
- display: flex;
184
- gap: 8px;
185
- }
186
-
187
- .pricing-popup .flexi-button {
188
- width: max-content;
189
- display: flex;
190
- align-items: center;
191
- gap: 4px;
192
- border-radius: 0.25rem;
193
- padding: 0.5rem;
194
- border: none;
195
- text-decoration: underline;
196
- background: transparent;
197
- cursor: pointer;
198
- animation: fade-in 200ms;
199
- font-weight: 600;
200
- transition: 0.2s;
201
- }
202
-
203
- .flexi-button:hover {
204
- background: #ecf0f1;
205
- }
206
-
207
1
  /* Button controls */
208
2
 
209
3
  .leaflet-draw.leaflet-control {