@protacon/muster-booking-frontend 2.0.0 → 2.2.0
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/README.md +4 -4
- package/dist/env.docker.js +1 -1
- package/dist/env.js +1 -1
- package/dist/env.template.js +1 -1
- package/dist/index.bundle.js +1 -1
- package/dist/styles.bundle.css +45 -89
- package/package.json +1 -1
package/dist/styles.bundle.css
CHANGED
|
@@ -219,29 +219,6 @@ nav.disabled {
|
|
|
219
219
|
min-height: 90px;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.multiple-products-info-container-row .vehicle-info-container:first-child,
|
|
223
|
-
.multiple-products-info-container-row .add-vehicle-info-container:first-child {
|
|
224
|
-
border-radius: 8px 0 0 8px;
|
|
225
|
-
margin-top: 16px;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.multiple-products-info-container-row .vehicle-info-container:last-child,
|
|
229
|
-
.multiple-products-info-container-row .add-vehicle-info-container:last-child {
|
|
230
|
-
border-left: none;
|
|
231
|
-
border-radius: 0 8px 8px 0;
|
|
232
|
-
margin-top: 16px;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.multiple-products-info-container-row:has(+ .d-md-block .vehicle-buttons-container) .vehicle-info-container:first-child,
|
|
236
|
-
.multiple-products-info-container-row:has(+ div .vehicle-buttons-container) .vehicle-info-container:first-child {
|
|
237
|
-
border-radius: 8px 0 0 0;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.multiple-products-info-container-row:has(+ .d-md-block .vehicle-buttons-container) .vehicle-info-container:last-child,
|
|
241
|
-
.multiple-products-info-container-row:has(+ div .vehicle-buttons-container) .vehicle-info-container:last-child {
|
|
242
|
-
border-radius: 0 8px 0 0;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
222
|
.add-vehicle-info-container {
|
|
246
223
|
padding: 9px;
|
|
247
224
|
cursor: pointer;
|
|
@@ -266,6 +243,7 @@ nav.disabled {
|
|
|
266
243
|
|
|
267
244
|
.vehicle-form-section .vehicle-buttons-container {
|
|
268
245
|
margin-top: 0;
|
|
246
|
+
border-radius: 0 0 8px 8px;
|
|
269
247
|
}
|
|
270
248
|
|
|
271
249
|
.vehicle-icon {
|
|
@@ -289,7 +267,7 @@ nav.disabled {
|
|
|
289
267
|
.vehicle-plate-number {
|
|
290
268
|
margin: 0px;
|
|
291
269
|
font-weight: 600;
|
|
292
|
-
color:
|
|
270
|
+
color: inherit;
|
|
293
271
|
}
|
|
294
272
|
|
|
295
273
|
.vehicle-description {
|
|
@@ -506,6 +484,37 @@ input[type='radio']:checked::before {
|
|
|
506
484
|
fill: #3a7203;
|
|
507
485
|
}
|
|
508
486
|
|
|
487
|
+
.two-column-layout {
|
|
488
|
+
display: flex;
|
|
489
|
+
width: 100%;
|
|
490
|
+
align-items: flex-start;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.two-column-layout .column-left {
|
|
494
|
+
flex: 1;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.two-column-layout .column-right {
|
|
498
|
+
flex: 1;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.stacked-vehicles {
|
|
502
|
+
display: flex;
|
|
503
|
+
flex-direction: column;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.stacked-vehicles > :first-child {
|
|
507
|
+
border-radius: 8px 8px 0 0 !important;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.stacked-vehicles > :not(:first-child):not(:last-child) {
|
|
511
|
+
border-radius: 0 !important;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
.stacked-vehicles > :last-child:not(:first-child) {
|
|
515
|
+
border-radius: 0 0 8px 8px !important;
|
|
516
|
+
}
|
|
517
|
+
|
|
509
518
|
.campaign-container {
|
|
510
519
|
clear: both;
|
|
511
520
|
margin: 0 15px 0 15px;
|
|
@@ -586,6 +595,15 @@ input[type='radio']:checked::before {
|
|
|
586
595
|
}
|
|
587
596
|
|
|
588
597
|
@media (max-width: 768px) {
|
|
598
|
+
.two-column-layout {
|
|
599
|
+
flex-direction: column;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.two-column-layout .column-left,
|
|
603
|
+
.two-column-layout .column-right {
|
|
604
|
+
width: 100%;
|
|
605
|
+
}
|
|
606
|
+
|
|
589
607
|
.multiple-products-info-container-row {
|
|
590
608
|
flex-direction: column;
|
|
591
609
|
}
|
|
@@ -613,54 +631,6 @@ input[type='radio']:checked::before {
|
|
|
613
631
|
.btn-save-vehicle {
|
|
614
632
|
width: 100%;
|
|
615
633
|
}
|
|
616
|
-
|
|
617
|
-
.multiple-products-info-container-row > .vehicle-info-container:first-child,
|
|
618
|
-
.multiple-products-info-container-row > .add-vehicle-info-container:first-child {
|
|
619
|
-
border-radius: 8px 8px 0 0;
|
|
620
|
-
margin-bottom: 0;
|
|
621
|
-
padding-bottom: 0;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
.multiple-products-info-container-row > .vehicle-info-container:last-child,
|
|
625
|
-
.multiple-products-info-container-row > .add-vehicle-info-container:last-child {
|
|
626
|
-
border-top: none;
|
|
627
|
-
border-radius: 0 0 8px 8px;
|
|
628
|
-
margin-top: 0;
|
|
629
|
-
padding-top: 0;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
.d-md-none > .vehicle-info-container:first-of-type {
|
|
633
|
-
border-radius: 8px 8px 0 0;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
.d-md-none > .vehicle-info-container:nth-of-type(2),
|
|
637
|
-
.d-md-none > .vehicle-info-container:last-of-type {
|
|
638
|
-
border-radius: 0;
|
|
639
|
-
border-top: none;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
.d-md-none > .vehicle-info-container:last-of-type:not(:has(+ .vehicle-buttons-container)) {
|
|
643
|
-
border-radius: 0 0 8px 8px;
|
|
644
|
-
border-top: none;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
.d-md-none > .vehicle-info-container:first-of-type:has(+ .vehicle-buttons-container) {
|
|
648
|
-
border-radius: 8px 8px 0 0;
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
.d-md-none > .vehicle-buttons-container + .vehicle-info-container {
|
|
652
|
-
border-radius: 0;
|
|
653
|
-
border-top: none;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
.d-md-none > .vehicle-buttons-container + .vehicle-info-container:has(+ .vehicle-buttons-container) {
|
|
657
|
-
border-radius: 0;
|
|
658
|
-
border-top: none;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.d-md-none > .vehicle-buttons-container:last-child {
|
|
662
|
-
border-radius: 0 0 8px 8px;
|
|
663
|
-
}
|
|
664
634
|
}
|
|
665
635
|
|
|
666
636
|
@media screen and (max-width: 424px) {
|
|
@@ -688,22 +658,8 @@ input[type='radio']:checked::before {
|
|
|
688
658
|
height: 50px;
|
|
689
659
|
}
|
|
690
660
|
|
|
691
|
-
.multiple-products-info-container-row > .vehicle-info-container:first-child {
|
|
692
|
-
border-radius: 8px 8px 0 0;
|
|
693
|
-
margin-bottom: 0;
|
|
694
|
-
margin-top: 16px;
|
|
695
|
-
border-left: 1px solid #607091ff;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
.multiple-products-info-container-row > .vehicle-info-container:last-child {
|
|
699
|
-
border-top: none;
|
|
700
|
-
border-radius: 0 0 8px 8px;
|
|
701
|
-
margin-top: 0;
|
|
702
|
-
border-left: 1px solid #607091ff;
|
|
703
|
-
}
|
|
704
|
-
|
|
705
661
|
.vehicle-buttons-container {
|
|
706
|
-
border-radius: 8px;
|
|
662
|
+
border-radius: 0 0 8px 8px;
|
|
707
663
|
}
|
|
708
664
|
}
|
|
709
665
|
|
|
@@ -1224,8 +1180,8 @@ input[type='checkbox'] {
|
|
|
1224
1180
|
}
|
|
1225
1181
|
.react-datepicker__day--selected {
|
|
1226
1182
|
background-color: #95c01f;
|
|
1227
|
-
padding: 0;
|
|
1228
|
-
width: 14
|
|
1183
|
+
padding: 0 !important;
|
|
1184
|
+
width: 14% !important;
|
|
1229
1185
|
}
|
|
1230
1186
|
.react-datepicker__day--selected:hover {
|
|
1231
1187
|
background-color: #3a7203;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"author": "Muster by Pinja",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"main": "/dist/index.bundle.js",
|
|
7
|
-
"version": "2.
|
|
7
|
+
"version": "2.2.0",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"start": "webpack-dev-server",
|
|
10
10
|
"build": "cross-env NODE_ENV=production OUTPUT=library webpack --progress",
|