Commit 32f8d28b authored by Gualter's avatar Gualter

Add pretix widget css and js to header (#232)

parent a2f9b877
This diff is collapsed.
.pretix-widget a,.pretix-widget-alert-box a{color:#8e44b3;text-decoration:none}.pretix-widget a:hover,.pretix-widget a:focus,.pretix-widget-alert-box a:hover,.pretix-widget-alert-box a:focus{color:#622f7c;text-decoration:underline}.pretix-widget a:focus,.pretix-widget-alert-box a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.pretix-widget img,.pretix-widget-alert-box img{border:0}.pretix-widget b,.pretix-widget strong,.pretix-widget-alert-box b,.pretix-widget-alert-box strong{font-weight:bold}.pretix-widget h3,.pretix-widget-alert-box h3{font-size:24px;font-weight:bold;padding:0 15px}.pretix-widget button,.pretix-widget input[type="button"],.pretix-widget-alert-box button,.pretix-widget-alert-box input[type="button"]{overflow:visible;text-transform:none;cursor:pointer;display:inline-block;margin-bottom:0;text-align:center;vertical-align:middle;touch-action:manipulation;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#fff;background-color:#8e44b3;border-color:#7f3da1}.pretix-widget button:focus,.pretix-widget button.focus,.pretix-widget input[type="button"]:focus,.pretix-widget input[type="button"].focus,.pretix-widget-alert-box button:focus,.pretix-widget-alert-box button.focus,.pretix-widget-alert-box input[type="button"]:focus,.pretix-widget-alert-box input[type="button"].focus{color:#fff;background-color:#71368e;border-color:#361a44}.pretix-widget button:hover,.pretix-widget input[type="button"]:hover,.pretix-widget-alert-box button:hover,.pretix-widget-alert-box input[type="button"]:hover{color:#fff;background-color:#71368e;border-color:#5c2c74}.pretix-widget button:active,.pretix-widget button.active,.open>.pretix-widget button.dropdown-toggle,.pretix-widget input[type="button"]:active,.pretix-widget input[type="button"].active,.open>.pretix-widget input[type="button"].dropdown-toggle,.pretix-widget-alert-box button:active,.pretix-widget-alert-box button.active,.open>.pretix-widget-alert-box button.dropdown-toggle,.pretix-widget-alert-box input[type="button"]:active,.pretix-widget-alert-box input[type="button"].active,.open>.pretix-widget-alert-box input[type="button"].dropdown-toggle{color:#fff;background-color:#71368e;border-color:#5c2c74}.pretix-widget button:active:hover,.pretix-widget button:active:focus,.pretix-widget button:active.focus,.pretix-widget button.active:hover,.pretix-widget button.active:focus,.pretix-widget button.active.focus,.open>.pretix-widget button.dropdown-toggle:hover,.open>.pretix-widget button.dropdown-toggle:focus,.open>.pretix-widget button.dropdown-toggle.focus,.pretix-widget input[type="button"]:active:hover,.pretix-widget input[type="button"]:active:focus,.pretix-widget input[type="button"]:active.focus,.pretix-widget input[type="button"].active:hover,.pretix-widget input[type="button"].active:focus,.pretix-widget input[type="button"].active.focus,.open>.pretix-widget input[type="button"].dropdown-toggle:hover,.open>.pretix-widget input[type="button"].dropdown-toggle:focus,.open>.pretix-widget input[type="button"].dropdown-toggle.focus,.pretix-widget-alert-box button:active:hover,.pretix-widget-alert-box button:active:focus,.pretix-widget-alert-box button:active.focus,.pretix-widget-alert-box button.active:hover,.pretix-widget-alert-box button.active:focus,.pretix-widget-alert-box button.active.focus,.open>.pretix-widget-alert-box button.dropdown-toggle:hover,.open>.pretix-widget-alert-box button.dropdown-toggle:focus,.open>.pretix-widget-alert-box button.dropdown-toggle.focus,.pretix-widget-alert-box input[type="button"]:active:hover,.pretix-widget-alert-box input[type="button"]:active:focus,.pretix-widget-alert-box input[type="button"]:active.focus,.pretix-widget-alert-box input[type="button"].active:hover,.pretix-widget-alert-box input[type="button"].active:focus,.pretix-widget-alert-box input[type="button"].active.focus,.open>.pretix-widget-alert-box input[type="button"].dropdown-toggle:hover,.open>.pretix-widget-alert-box input[type="button"].dropdown-toggle:focus,.open>.pretix-widget-alert-box input[type="button"].dropdown-toggle.focus{color:#fff;background-color:#5c2c74;border-color:#361a44}.pretix-widget button:active,.pretix-widget button.active,.open>.pretix-widget button.dropdown-toggle,.pretix-widget input[type="button"]:active,.pretix-widget input[type="button"].active,.open>.pretix-widget input[type="button"].dropdown-toggle,.pretix-widget-alert-box button:active,.pretix-widget-alert-box button.active,.open>.pretix-widget-alert-box button.dropdown-toggle,.pretix-widget-alert-box input[type="button"]:active,.pretix-widget-alert-box input[type="button"].active,.open>.pretix-widget-alert-box input[type="button"].dropdown-toggle{background-image:none}.pretix-widget button.disabled:hover,.pretix-widget button.disabled:focus,.pretix-widget button.disabled.focus,.pretix-widget button[disabled]:hover,.pretix-widget button[disabled]:focus,.pretix-widget button[disabled].focus,fieldset[disabled] .pretix-widget button:hover,fieldset[disabled] .pretix-widget button:focus,fieldset[disabled] .pretix-widget button.focus,.pretix-widget input[type="button"].disabled:hover,.pretix-widget input[type="button"].disabled:focus,.pretix-widget input[type="button"].disabled.focus,.pretix-widget input[type="button"][disabled]:hover,.pretix-widget input[type="button"][disabled]:focus,.pretix-widget input[type="button"][disabled].focus,fieldset[disabled] .pretix-widget input[type="button"]:hover,fieldset[disabled] .pretix-widget input[type="button"]:focus,fieldset[disabled] .pretix-widget input[type="button"].focus,.pretix-widget-alert-box button.disabled:hover,.pretix-widget-alert-box button.disabled:focus,.pretix-widget-alert-box button.disabled.focus,.pretix-widget-alert-box button[disabled]:hover,.pretix-widget-alert-box button[disabled]:focus,.pretix-widget-alert-box button[disabled].focus,fieldset[disabled] .pretix-widget-alert-box button:hover,fieldset[disabled] .pretix-widget-alert-box button:focus,fieldset[disabled] .pretix-widget-alert-box button.focus,.pretix-widget-alert-box input[type="button"].disabled:hover,.pretix-widget-alert-box input[type="button"].disabled:focus,.pretix-widget-alert-box input[type="button"].disabled.focus,.pretix-widget-alert-box input[type="button"][disabled]:hover,.pretix-widget-alert-box input[type="button"][disabled]:focus,.pretix-widget-alert-box input[type="button"][disabled].focus,fieldset[disabled] .pretix-widget-alert-box input[type="button"]:hover,fieldset[disabled] .pretix-widget-alert-box input[type="button"]:focus,fieldset[disabled] .pretix-widget-alert-box input[type="button"].focus{background-color:#8e44b3;border-color:#7f3da1}.pretix-widget button .badge,.pretix-widget input[type="button"] .badge,.pretix-widget-alert-box button .badge,.pretix-widget-alert-box input[type="button"] .badge{color:#8e44b3;background-color:#fff}.pretix-widget button:focus,.pretix-widget button.focus,.pretix-widget button:active:focus,.pretix-widget button:active.focus,.pretix-widget button.active:focus,.pretix-widget button.active.focus,.pretix-widget input[type="button"]:focus,.pretix-widget input[type="button"].focus,.pretix-widget input[type="button"]:active:focus,.pretix-widget input[type="button"]:active.focus,.pretix-widget input[type="button"].active:focus,.pretix-widget input[type="button"].active.focus,.pretix-widget-alert-box button:focus,.pretix-widget-alert-box button.focus,.pretix-widget-alert-box button:active:focus,.pretix-widget-alert-box button:active.focus,.pretix-widget-alert-box button.active:focus,.pretix-widget-alert-box button.active.focus,.pretix-widget-alert-box input[type="button"]:focus,.pretix-widget-alert-box input[type="button"].focus,.pretix-widget-alert-box input[type="button"]:active:focus,.pretix-widget-alert-box input[type="button"]:active.focus,.pretix-widget-alert-box input[type="button"].active:focus,.pretix-widget-alert-box input[type="button"].active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.pretix-widget input[type="text"],.pretix-widget input[type="number"],.pretix-widget-alert-box input[type="text"],.pretix-widget-alert-box input[type="number"]{line-height:normal;border:1px solid #ccc;border-radius:4px;height:34px;padding:6px 12px;color:#555;background-color:#fff;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.pretix-widget input[type="text"]::-moz-placeholder,.pretix-widget input[type="number"]::-moz-placeholder,.pretix-widget-alert-box input[type="text"]::-moz-placeholder,.pretix-widget-alert-box input[type="number"]::-moz-placeholder{color:#999;opacity:1}.pretix-widget input[type="text"]:-ms-input-placeholder,.pretix-widget input[type="number"]:-ms-input-placeholder,.pretix-widget-alert-box input[type="text"]:-ms-input-placeholder,.pretix-widget-alert-box input[type="number"]:-ms-input-placeholder{color:#999}.pretix-widget input[type="text"]::-webkit-input-placeholder,.pretix-widget input[type="number"]::-webkit-input-placeholder,.pretix-widget-alert-box input[type="text"]::-webkit-input-placeholder,.pretix-widget-alert-box input[type="number"]::-webkit-input-placeholder{color:#999}.pretix-widget input[type="text"]:focus,.pretix-widget input[type="number"]:focus,.pretix-widget-alert-box input[type="text"]:focus,.pretix-widget-alert-box input[type="number"]:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.pretix-widget input[type="checkbox"],.pretix-widget input[type="radio"],.pretix-widget-alert-box input[type="checkbox"],.pretix-widget-alert-box input[type="radio"]{box-sizing:border-box;padding:0}.pretix-widget input[type="checkbox"]:focus,.pretix-widget input[type="radio"]:focus,.pretix-widget-alert-box input[type="checkbox"]:focus,.pretix-widget-alert-box input[type="radio"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.pretix-widget{margin:10px 0;padding:0 10px;border:1px solid #ccc;position:relative;min-height:208px;border-radius:4px}.pretix-widget .pretix-widget-clickable{cursor:pointer}.pretix-widget .pretix-widget-info-message{padding:10px;text-align:center;margin:10px 0;background-color:#d9edf7;border-color:#bce8f1;color:#31708f;border-radius:4px}.pretix-widget .pretix-widget-error-message{padding:10px;text-align:center;margin:10px 0;background-color:#f2dede;border-color:#ebccd1;color:#a94442;border-radius:4px}.pretix-widget .pretix-widget-loading{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,0.8);text-align:center}@-moz-keyframes pretix-widget-spin{100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes pretix-widget-spin{100%{-webkit-transform:rotate(360deg)}}@keyframes pretix-widget-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.pretix-widget .pretix-widget-loading svg{margin:40px;-webkit-animation:pretix-widget-spin 6s linear infinite;-moz-animation:pretix-widget-spin 6s linear infinite;animation:pretix-widget-spin 6s linear infinite}.pretix-widget .pretix-widget-item-row,.pretix-widget .pretix-widget-category{clear:both}.pretix-widget .pretix-widget-item-title{font-weight:bold}.pretix-widget .pretix-widget-item-row{padding:10px 0}.pretix-widget .pretix-widget-category{margin:10px 0}.pretix-widget .pretix-widget-category-description{padding:0 15px}.pretix-widget .pretix-widget-category-name{margin:10px 0 0 0}.pretix-widget .pretix-widget-item-info-col{width:50%;float:left;padding:0 15px;box-sizing:border-box}.pretix-widget .pretix-widget-item-price-col,.pretix-widget .pretix-widget-item-availability-col{width:25%;float:left;padding:0 15px;box-sizing:border-box}.pretix-widget .pretix-widget-item-description p,.pretix-widget .pretix-widget-item-meta{margin:0}.pretix-widget .pretix-widget-item-price-col{text-align:right}.pretix-widget .pretix-widget-clear{clear:both}.pretix-widget .pretix-widget-category-description p{margin:0 0 10px}.pretix-widget .pretix-widget-pricebox-tax{display:block}.pretix-widget .pretix-widget-item-count-multiple{display:block;width:100%;box-sizing:border-box;padding:5px;text-align:center}.pretix-widget .pretix-widget-pricebox-price-input{display:inline;width:100px;box-sizing:border-box;text-align:right}.pretix-widget .pretix-widget-item-count-single-label{display:block;text-align:center;width:100%}.pretix-widget .pretix-widget-attribution{padding:10px 15px;text-align:center;font-size:12px}.pretix-widget .pretix-widget-item-picture{width:60px;height:60px;margin-right:10px;float:left}.pretix-widget .pretix-widget-action{margin-left:75%;width:25%;padding:0 15px;box-sizing:border-box}.pretix-widget .pretix-widget-action button{width:100%}.pretix-widget .pretix-widget-voucher-headline{margin:10px 0 0 0}.pretix-widget .pretix-widget-voucher-input-wrap{padding:0 15px;width:75%;box-sizing:border-box;float:left}.pretix-widget .pretix-widget-voucher input{width:100%;box-sizing:border-box}.pretix-widget .pretix-widget-voucher-button-wrap{padding:0 15px;width:25%;box-sizing:border-box;float:left}.pretix-widget .pretix-widget-voucher button{width:100%}.pretix-widget .pretix-widget-item-with-picture .pretix-widget-main-item-row .pretix-widget-item-title-and-description{margin-left:70px}.pretix-widget .pretix-widget-item-availability-col{text-align:center}.pretix-widget .pretix-widget-availability-gone{font-weight:bold;color:#d9534f;text-transform:uppercase}.pretix-widget .pretix-widget-availability-unavailable{color:#d9534f}.pretix-widget .pretix-widget-item-variations{overflow:hidden;max-height:0;padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;-moz-transition-duration:.5s;-webkit-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;-moz-transition-timing-function:cubic-bezier(0,1,0.5,1);-webkit-transition-timing-function:cubic-bezier(0,1,0.5,1);-o-transition-timing-function:cubic-bezier(0,1,0.5,1);transition-timing-function:cubic-bezier(0,1,0.5,1)}.pretix-widget .pretix-widget-item-variations-expanded{-moz-transition-duration:.5s;-webkit-transition-duration:.5s;-o-transition-duration:.5s;transition-duration:.5s;-moz-transition-timing-function:ease-in;-webkit-transition-timing-function:ease-in;-o-transition-timing-function:ease-in;transition-timing-function:ease-in;max-height:1000px;overflow:hidden}@keyframes pretix-widget-bounce-in{0%{transform:scale(0)}50%{transform:scale(1.5)}100%{transform:scale(1)}}.pretix-widget-alert-holder{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,0.8);z-index:16777271;visibility:hidden;opacity:0;transition:opacity .5s,visibility .5s}.pretix-widget-alert-holder.pretix-widget-alert-shown{visibility:visible;opacity:1;transition:opacity .5s,visibility .5s}.pretix-widget-alert-holder .bounce-enter-active{animation:pretix-widget-bounce-in .5s}.pretix-widget-alert-holder .bounce-leave-active{animation:pretix-widget-bounce-in .5s reverse}.pretix-widget-alert-holder .pretix-widget-alert-box{position:fixed;left:50%;width:600px;margin-left:-300px;top:100px;background:white;border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;-webkit-border-radius:5px 5px 5px 5px;box-shadow:0 4px 18px 0 rgba(0,0,0,0.1),0 6px 20px 0 rgba(0,0,0,0.09);-webkit-box-shadow:0 4px 18px 0 rgba(0,0,0,0.1),0 6px 20px 0 rgba(0,0,0,0.09);-moz-box-shadow:0 4px 18px 0 rgba(0,0,0,0.1),0 6px 20px 0 rgba(0,0,0,0.09);box-sizing:border-box;padding:42px 20px 20px 20px;text-align:center;font-size:20px}.pretix-widget-alert-holder .pretix-widget-alert-box p:first-child{margin-top:0}.pretix-widget-alert-holder .pretix-widget-alert-box p:last-child{margin-bottom:0}.pretix-widget-alert-holder .pretix-widget-alert-icon{position:fixed;left:50%;width:64px;margin-left:-32px;top:68px}.pretix-widget-frame-holder{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,0.8);z-index:16777271;visibility:hidden;opacity:0;transition:opacity .5s,visibility .5s}.pretix-widget-frame-holder .pretix-widget-frame-loading{text-align:center;display:flex;align-items:center;justify-content:center;height:100%;width:100%;position:fixed;left:0;top:0}.pretix-widget-frame-holder .pretix-widget-frame-loading svg{margin:40px;-webkit-animation:pretix-widget-spin 6s linear infinite;-moz-animation:pretix-widget-spin 6s linear infinite;animation:pretix-widget-spin 6s linear infinite}.pretix-widget-frame-holder.pretix-widget-frame-shown{visibility:visible;opacity:1;transition:opacity .5s,visibility .5s}.pretix-widget-frame-holder .pretix-widget-frame-inner{position:fixed;left:10%;width:80%;height:80%;top:10%;background:white;border-radius:5px 5px 5px 5px;-moz-border-radius:5px 5px 5px 5px;-webkit-border-radius:5px 5px 5px 5px;box-shadow:0 4px 18px 0 rgba(0,0,0,0.1),0 6px 20px 0 rgba(0,0,0,0.09);-webkit-box-shadow:0 4px 18px 0 rgba(0,0,0,0.1),0 6px 20px 0 rgba(0,0,0,0.09);-moz-box-shadow:0 4px 18px 0 rgba(0,0,0,0.1),0 6px 20px 0 rgba(0,0,0,0.09);box-sizing:border-box;padding:10px}.pretix-widget-frame-holder .pretix-widget-frame-close{position:fixed;right:10%;top:10%;width:24px;height:24px;background:#8e44b3;margin:-12px -12px 0 0;border-radius:12px;-moz-border-radius:12px;-webkit-border-radius:12px;text-align:center}.pretix-widget-frame-holder .pretix-widget-frame-close a{color:white;font-weight:bold;font-family:sans-serif;text-decoration:none;padding:4px 0;display:block}.pretix-widget-frame-holder .pretix-widget-frame-inner iframe{width:100% !important;height:100% !important}.pretix-widget-primary-color{fill:#8e44b3}@media(max-width:991px){.pretix-widget .pretix-widget-item-info-col{width:100%;float:none;margin-bottom:5px}.pretix-widget .pretix-widget-item-price-col,.pretix-widget .pretix-widget-item-availability-col{width:50%}.pretix-widget .pretix-widget-action{width:100%;margin-left:0}.pretix-widget .pretix-widget-voucher-input-wrap{width:100%;float:none}.pretix-widget .pretix-widget-voucher-button-wrap{width:100%;float:none;margin-top:10px}}@media(min-width:1200px){.pretix-widget-frame-holder .pretix-widget-frame-inner{left:50%;margin-left:-540px;width:1080px}.pretix-widget-frame-holder .pretix-widget-frame-close{left:50%;margin-left:528px}}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment