fixed missing cents in price generation, cleaned seatmap css
This commit is contained in:
1 parent
fe82596843
commit
81a3a149cf
7 files changed
+3316
-67
No files matched your search
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
#containerBookingBtn{display:none;margin:0;text-align:center}#get_flash{display:none}.ui-dialog-title{text-align:center;display:none}.ui-widget-overlay{background:#fff;opacity:1;width:100vw;height:100vh}#openSeatmap img{width:64px}#openSeatmap{padding:1rem!important;cursor:pointer;border-radius:5px}#openSeatmap span{font-size:1.2rem}#foobarParent{display:none}div#dialogSeatmap{padding-top:0}.ui-widget-header{background:#fff;border:1px solid #c6c6c6;border-bottom-right-radius:0;border-bottom-left-radius:0}.ui-dialog{background:#fff;left:0!important;padding:0;top:0!important;right:0!important}.ui-dialog .ui-dialog-content{padding:0}.ui-dialog-titlebar{margin-left:0;margin-right:0;padding:0!important;display:none}#iframeSeatmap{height:100vh;background:#fff;width:100%}.ui-corner-all{border-radius:0}.ui-widget{border:none!important}
|
||||||
Vendored
+1635
File diff suppressed because it is too large.
Load diff
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
.jBox-wrapper{text-align:left;box-sizing:border-box}.jBox-container,.jBox-content,.jBox-title{position:relative;word-break:break-word;box-sizing:border-box}.jBox-container{background:#fff}.jBox-content{padding:8px 12px;overflow-x:hidden;overflow-y:auto;transition:opacity .2s}.jBox-Mouse .jBox-container,.jBox-Tooltip .jBox-container{border-radius:4px;box-shadow:0 0 3px rgba(0,0,0,.25)}.jBox-Mouse .jBox-title,.jBox-Tooltip .jBox-title{padding:8px 10px 0;font-weight:700}.jBox-Mouse.jBox-hasTitle .jBox-content,.jBox-Tooltip.jBox-hasTitle .jBox-content{padding-top:5px}.jBox-Mouse{pointer-events:none}.jBox-pointer{position:absolute;overflow:hidden;box-sizing:border-box}.jBox-pointer:after{content:'';width:20px;height:20px;position:absolute;background:#fff;transform:rotate(45deg);box-sizing:border-box}.jBox-pointer-top{top:0}.jBox-pointer-top:after{left:5px;top:6px;box-shadow:-1px -1px 2px rgba(0,0,0,.15)}.jBox-pointer-right{right:0}.jBox-pointer-right:after{top:5px;right:6px;box-shadow:1px -1px 2px rgba(0,0,0,.15)}.jBox-pointer-left{left:0}.jBox-pointer-left:after{top:5px;left:6px;box-shadow:-1px 1px 2px rgba(0,0,0,.15)}.jBox-pointer-bottom{bottom:0}.jBox-pointer-bottom:after{left:5px;bottom:6px;box-shadow:1px 1px 2px rgba(0,0,0,.15)}.jBox-pointer-bottom,.jBox-pointer-top{width:30px;height:12px}.jBox-pointer-left,.jBox-pointer-right{width:12px;height:30px}.jBox-Modal .jBox-container{border-radius:4px}.jBox-Modal .jBox-container,.jBox-Modal.jBox-closeButton-box:before{box-shadow:0 3px 15px rgba(0,0,0,.4),0 0 5px rgba(0,0,0,.4)}.jBox-Modal .jBox-content{padding:15px 20px}.jBox-Modal .jBox-title{border-radius:4px 4px 0 0;padding:15px 20px;background:#fafafa;border-bottom:1px solid #eee}.jBox-Modal.jBox-closeButton-title .jBox-title{padding-right:65px}.jBox-Modal .jBox-footer{border-radius:0 0 4px 4px}.jBox-closeButton{z-index:1;cursor:pointer;position:absolute;box-sizing:border-box}.jBox-closeButton svg{position:absolute;top:50%;right:50%}.jBox-closeButton path{fill:#aaa;transition:fill .2s}.jBox-closeButton:hover path{fill:#888}.jBox-overlay .jBox-closeButton{top:0;right:0;width:40px;height:40px}.jBox-overlay .jBox-closeButton svg{width:20px;height:20px;margin-top:-10px;margin-right:-10px}.jBox-overlay .jBox-closeButton path{fill:#ddd}.jBox-overlay .jBox-closeButton:hover path{fill:#fff}.jBox-closeButton-title .jBox-closeButton{top:0;right:0;bottom:0;width:50px}.jBox-closeButton-title svg{width:12px;height:12px;margin-top:-6px;margin-right:-6px}.jBox-closeButton-box{box-sizing:border-box}.jBox-closeButton-box .jBox-closeButton{top:-8px;right:-10px;width:24px;height:24px;background:#fff;border-radius:50%}.jBox-closeButton-box .jBox-closeButton svg{width:10px;height:10px;margin-top:-5px;margin-right:-5px}.jBox-closeButton-box:before{content:'';position:absolute;top:-8px;right:-10px;width:24px;height:24px;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,.3)}.jBox-closeButton-box.jBox-pointerPosition-top:before{top:5px}.jBox-closeButton-box.jBox-pointerPosition-right:before{right:2px}.jBox-Modal.jBox-hasTitle.jBox-closeButton-box .jBox-closeButton{background:#fafafa}.jBox-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.82)}.jBox-footer{box-sizing:border-box;background:#fafafa;border-top:1px solid #eee;padding:8px 10px;border-radius:0 0 3px 3px}body[class*=" jBox-blockScroll-"],body[class^=jBox-blockScroll-]{overflow:hidden}.jBox-draggable{cursor:move}@keyframes jBoxLoading{to{transform:rotate(360deg)}}.jBox-loading .jBox-content{opacity:.2}.jBox-loading-spinner .jBox-content{min-height:38px!important;min-width:38px!important;opacity:0}.jBox-spinner{box-sizing:border-box;position:absolute;top:50%;left:50%;width:24px;height:24px;margin-top:-12px;margin-left:-12px}.jBox-spinner:before{display:block;box-sizing:border-box;content:'';width:24px;height:24px;border-radius:50%;border:2px solid rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.8);animation:.6s linear infinite jBoxLoading}.jBox-countdown{border-radius:4px 4px 0 0;z-index:0;background:#000;opacity:.2;position:absolute;top:0;left:0;right:0;height:3px;overflow:hidden}.jBox-countdown-inner{top:0;right:0;width:100%;height:3px;position:absolute;background:#fff}[class*=" jBox-animated-"],[class^=jBox-animated-]{animation-fill-mode:both}@keyframes jBox-tada{0%{transform:scale(1)}10%,20%{transform:scale(.8) rotate(-4deg)}30%,50%,70%,90%{transform:scale(1.2) rotate(4deg)}40%,60%,80%{transform:scale(1.2) rotate(-4deg)}100%{transform:scale(1) rotate(0)}}.jBox-animated-tada{animation:1s jBox-tada}@keyframes jBox-tadaSmall{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-2deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(2deg)}40%,60%,80%{transform:scale(1.1) rotate(-2deg)}100%{transform:scale(1) rotate(0)}}.jBox-animated-tadaSmall{animation:1s jBox-tadaSmall}@keyframes jBox-flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}.jBox-animated-flash{animation:.5s jBox-flash}@keyframes jBox-shake{0%,100%{transform:translateX(0)}20%,60%{transforLine truncated
|
||||||
Vendored
+1635
File diff suppressed because it is too large.
Load diff
+43
-60
@@ -27,15 +27,9 @@ div.seatCharts-seat {
|
|||||||
border-radius: 0.2vw;
|
border-radius: 0.2vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* div.seatCharts-seat,
|
|
||||||
div.seatCharts-seat.available {
|
|
||||||
border: 0.1rem solid #5c5c5c;
|
|
||||||
} */
|
|
||||||
|
|
||||||
div.seatCharts-seat.selected,
|
div.seatCharts-seat.selected,
|
||||||
div.seatCharts-seat.focused {
|
div.seatCharts-seat.focused {
|
||||||
border: 0.1vw solid black;
|
border: 0.1vw solid black;
|
||||||
/* filter: brightness(2); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.seatCharts-seat.selected {
|
div.seatCharts-seat.selected {
|
||||||
@@ -50,10 +44,6 @@ select#dropdownSeatmap {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* #loftloader-wrapper .loader-inner {
|
|
||||||
top: 50%;
|
|
||||||
} */
|
|
||||||
|
|
||||||
ul.seatCharts-legendList {
|
ul.seatCharts-legendList {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -145,12 +135,6 @@ select#dropdownLegend, select#dropdownSeatmap, .dropdownBuyerTypes {
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .cartItemCross {
|
|
||||||
text-align: right;
|
|
||||||
line-height: 0;
|
|
||||||
cursor: pointer;
|
|
||||||
} */
|
|
||||||
|
|
||||||
#modalCart-overlay .uabb-overlay {
|
#modalCart-overlay .uabb-overlay {
|
||||||
background: white;
|
background: white;
|
||||||
}
|
}
|
||||||
@@ -180,6 +164,49 @@ span.trimChar {
|
|||||||
font-size: 1vw;
|
font-size: 1vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#btnCloseModal {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
#htmlSeatmapInner {
|
||||||
|
height: 66vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
#htmlSeatmapInner .fl-module-content, #htmlSeatmapInner .fl-html {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#containerSeatmapInner {
|
||||||
|
border: 1px solid black;
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#modalCart-overlay {
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
|
#bottomHTML {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#bottomHTML h6, #bottomHTML a {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
#modalCartImportantNote {
|
||||||
|
margin: 0 0 20px 0;
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#modalCart-overlay .uabb-modal {
|
||||||
|
pointer-events: auto;
|
||||||
|
width: 100% !important;
|
||||||
|
height: 100%;
|
||||||
|
overflow-y: scroll;
|
||||||
|
top: 0 !important;
|
||||||
|
transform: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ==============================================
|
* ==============================================
|
||||||
* Dot Pulse
|
* Dot Pulse
|
||||||
@@ -259,48 +286,4 @@ span.trimChar {
|
|||||||
100% {
|
100% {
|
||||||
box-shadow: 10014px 0 0 -5px #5c5c5c;
|
box-shadow: 10014px 0 0 -5px #5c5c5c;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
#btnCloseModal {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
#htmlSeatmapInner {
|
|
||||||
/* background: grey; */
|
|
||||||
height: 66vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
#htmlSeatmapInner .fl-module-content, #htmlSeatmapInner .fl-html {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#containerSeatmapInner {
|
|
||||||
border: 1px solid black;
|
|
||||||
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#modalCart-overlay {
|
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
#bottomHTML {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#bottomHTML h6, #bottomHTML a {
|
|
||||||
color: #999;
|
|
||||||
}
|
|
||||||
|
|
||||||
#modalCartImportantNote {
|
|
||||||
margin: 0 0 20px 0;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#modalCart-overlay .uabb-modal {
|
|
||||||
pointer-events: auto;
|
|
||||||
width: 100% !important;
|
|
||||||
height: 100%;
|
|
||||||
overflow-y: scroll;
|
|
||||||
top: 0 !important;
|
|
||||||
transform: none !important;
|
|
||||||
}
|
}
|
||||||
@@ -85,7 +85,7 @@ export function generateCheckoutUrl(): string | undefined {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function getPriceInEur(inPrice: string): string {
|
export function getPriceInEur(inPrice: string): string {
|
||||||
const price: number = parseInt(inPrice);
|
const price: number = parseFloat(inPrice);
|
||||||
return new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(price);
|
return new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(price);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,13 +12,7 @@ function createCartBtnText(): string {
|
|||||||
|
|
||||||
function createModalCartBtnText(): string {
|
function createModalCartBtnText(): string {
|
||||||
const numTickets: number = config.state.selectedSeatsArr.length;
|
const numTickets: number = config.state.selectedSeatsArr.length;
|
||||||
|
|
||||||
return `Summe (${numTickets} Plätze) ${config.state.priceOverallEur}`;
|
return `Summe (${numTickets} Plätze) ${config.state.priceOverallEur}`;
|
||||||
|
|
||||||
// if (config.state.priceOverall !== "")
|
|
||||||
// return `Summe (${numTickets} Plätze) €${config.state.priceOverall}`;
|
|
||||||
// else
|
|
||||||
// return `Summe (0 Plätze) €0,00`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function showHideBtnCartLoading(inSwitch: string): void {
|
export function showHideBtnCartLoading(inSwitch: string): void {
|
||||||
|
|||||||
Reference in new issue
Block a user