Widget: Support for rate-limited servers returning error 429

This commit is contained in:
Raphael Michel
2021-06-19 18:03:14 +02:00
parent f9fa1733b0
commit 4508745feb
2 changed files with 41 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
font-weight: bold;
padding: 0 15px;
}
button, input[type="button"] {
button, input[type="button"], a.pretix-widget-button {
overflow: visible;
text-transform: none;
cursor: pointer;
@@ -44,6 +44,7 @@
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
text-decoration: none;
@include button-size($padding-base-vertical, $padding-base-horizontal, $font-size-base, $line-height-base, $btn-border-radius-base);
@include user-select(none);
@include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
@@ -53,6 +54,7 @@
&.active {
&:focus,
&.focus {
text-decoration: none;
@include tab-focus;
}
}
@@ -134,6 +136,11 @@
border-radius: $alert-border-radius;
}
.pretix-widget-error-action {
padding: 10px;
text-align: center;
}
.pretix-widget-loading {
position: absolute;
left: 0;