diff --git a/public/javascripts/edu/edu_tpi.js b/public/javascripts/edu/edu_tpi.js index 2fa2f3443..862be1580 100644 --- a/public/javascripts/edu/edu_tpi.js +++ b/public/javascripts/edu/edu_tpi.js @@ -328,7 +328,7 @@ function setupAjaxIndicatorBase() { return; } if ($('.ajax-loading').length === 0 && settings.contentType != 'application/octet-stream') { - $('#ajax-indicator-base').show().html(""); + $('#ajax-indicator-base').css("display","flex").show().html(""); } }); diff --git a/public/stylesheets/css/taskstyle.css b/public/stylesheets/css/taskstyle.css index abe31608d..9f62b0158 100644 --- a/public/stylesheets/css/taskstyle.css +++ b/public/stylesheets/css/taskstyle.css @@ -368,14 +368,16 @@ a.shixun-task-ban-btn{background-color: #c2c4c6;display: inline-block;font-weigh .loading_main img{border-radius: 4px;} .loading_main span{font-size: 44px;font-weight: bold;color: #ff7500;letter-spacing: 5px;margin-left: 5px;} .load{width: auto;top:50%;margin-top:-100px;position: relative;} -.loading_seconde{color: #ff7500;letter-spacing: 3px;font-size: 16px;}#ajax-indicator-base { +.loading_seconde{color: #ff7500;letter-spacing: 3px;font-size: 16px;} +#ajax-indicator-base { position: absolute; /* fixed not supported by IE*/ - background-color:#eee; - border: 1px solid #bbb; - top:35%; - left:40%; - width:20%; - height:5%; + + top: 50%; + left: 50%; + margin-left: -20px; + margin-top: -40px; + /* width: 20%; */ + /* height: 5%; */ font-weight:bold; text-align:center; padding:0.6em;