Skip to content

Commit d566428

Browse files
committed
loading icon and style changed.
1 parent e69aa44 commit d566428

3 files changed

Lines changed: 19 additions & 6 deletions

File tree

BlogEngine/BlogEngine.NET/admin/app/content/posts/postView.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

22
<div data-ng-controller="PostsController">
3-
<div class="loading-bar"><div class="loading-bar-process" style="width:0%;"></div></div>
43
<div class="page-header clearfix">
54
<h2 class="page-title pull-left">
65
<a href="#" class="help-link" data-title=""><i class="fa fa-question-circle"></i></a>

BlogEngine/BlogEngine.NET/admin/index.cshtml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
Layout = "~/admin/themes/standard/layout.cshtml";
44
}
55
<div class="content">
6-
<div class="page-header clearfix" id="global-loading" style="text-align: center">
7-
<i class="fa fa-spinner fa-pulse fa-2x fa-fw fa-spin"></i>
6+
<div class="loader-wrapper" id="global-loading">
7+
<div class="loader"></div><span class="loader-text">Working...</span>
8+
89
</div>
910
<div class="" ng-view="" id="ng-view"></div>
1011
</div>

BlogEngine/BlogEngine.NET/admin/themes/standard/css/01.main.css

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ h1, h2, h3, h4, h5, h6 { font-weight: 500; }
2020
.wrapper { width: 100%; height: 100%; padding-left: 230px; -moz-transition: all ease .5s; -o-transition: all ease .5s; -webkit-transition: all ease .5s; transition: all ease .5s; }
2121
.sidebar { z-index: 1; position: fixed; white-space: nowrap; left: 0; top: 0; width: 230px; height: 100%; overflow-x: hidden; overflow-y: auto; background: #282c37; font-size: 13px; -moz-transition: all ease 0.5s; -o-transition: all ease 0.5s; -webkit-transition: all ease 0.5s; transition: all ease 0.5s; }
2222
.sidebar a { color: #74808f; }
23-
.content { height:100%; width: 100%; left: 0; -moz-transition: all ease .5s; -o-transition: all ease .5s; -webkit-transition: all ease .5s; transition: all ease .5s; }
23+
.content { height: 100%; width: 100%; position: relative; left: 0; -moz-transition: all ease .5s; -o-transition: all ease .5s; -webkit-transition: all ease .5s; transition: all ease .5s; }
2424
.content-inner { padding: 30px; -moz-transition: all ease 0.5s; -o-transition: all ease 0.5s; -webkit-transition: all ease 0.5s; transition: all ease 0.5s; }
2525

2626
/*[]*/
@@ -54,8 +54,21 @@ h1, h2, h3, h4, h5, h6 { font-weight: 500; }
5454
}
5555

5656
/*[]*/
57-
.loading-bar {position:absolute; top:0; left:0; overflow:hidden; width:100%; height:2px; z-index:10100000;}
58-
.loading-bar .loading-bar-process { background: #1cac7b; height: 2px; -moz-transition: all ease 1s; -o-transition: all ease 1s; -webkit-transition: all ease 1s; transition: all ease 1s; }
57+
.loader-wrapper { -moz-user-select: none; -ms-user-select: none; -webkit-user-select: none; user-select: none; background: none; border: 2px solid #1cac7b; text-transform: uppercase; border-radius: 4px; padding: 6px 8px; position: fixed; right: 30px; bottom: 30px; z-index: 10000; }
58+
.loader { display: inline-block; width: 20px; height: 20px; box-sizing: border-box; border: solid 3px #aaa; border-left-color: #1cac7b; border-radius: 50%; -webkit-animation: nprogress-spinner 400ms linear infinite; animation: nprogress-spinner 400ms linear infinite; }
59+
.loader-text { font-size: 10px; color: #666; vertical-align: top; position: relative; top: 4px; margin-left: 6px; display: inline-block; }
60+
61+
@-webkit-keyframes nprogress-spinner {
62+
0% { -webkit-transform: rotate(0deg); }
63+
100% { -webkit-transform: rotate(360deg); }
64+
}
65+
66+
@keyframes nprogress-spinner {
67+
0% { transform: rotate(0deg); }
68+
100% { transform: rotate(360deg); }
69+
}
70+
71+
5972

6073
/*[]*/
6174
.about-page { width: 50%; }

0 commit comments

Comments
 (0)