Redesigned AJAX system styles (#614)

Co-authored-by: Yury Pikhtarev <exileum@icloud.com>
This commit is contained in:
Roman Kelesidis 2023-03-17 14:46:27 +07:00 committed by GitHub
commit 4fc04dbe59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 20 deletions

View file

@ -11,36 +11,28 @@ var.ajax-params {
} }
#ajax-loading, #ajax-error { #ajax-loading, #ajax-error {
display: none;
position: fixed; position: fixed;
float: right;
top: 0 !important; top: 0 !important;
z-index: 2000; z-index: 2000;
padding: 4px; padding: 6px;
color: white;
font-size: 11px; font-size: 11px;
max-width: 400px; min-width: 80px;
max-height: 200px; min-height: 30px;
white-space: nowrap; white-space: nowrap;
display: none; border-bottom-left-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
} }
#ajax-loading { #ajax-loading {
display: none; background: rgba(0, 0, 0, 0.5) url(../images/loading.gif) no-repeat center center;
background: rgba(0, 0, 0, 0.5) url(../images/loading_1.gif) no-repeat center center;
float: right;
width: 85px;
height: 30px;
border-bottom-left-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
} }
#ajax-error { #ajax-error {
background: #d32031 url(../images/loading_1.gif) no-repeat center center; background: #d32031;
float: right;
min-width: 200px;
height: 30px;
border-bottom-left-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
} }
.editable-container { .editable-container {
@ -52,6 +44,6 @@ var.ajax-params {
} }
.loading-1 { .loading-1 {
background: transparent url(../images/loading_1.gif) no-repeat left center; background: transparent url(../images/loading.gif) no-repeat left center;
padding-left: 22px; padding-left: 22px;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 723 B