show loading icon only on load
This commit is contained in:
parent
6dfbe81dbb
commit
34a589c1cb
1 changed files with 4 additions and 1 deletions
|
@ -33,10 +33,13 @@ nav.navbar {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
z-index:2;
|
z-index:2;
|
||||||
background: #ffffff url('/static/img/loader.gif') no-repeat center;
|
background-color: #ffffff;
|
||||||
transition: width 300ms;
|
transition: width 300ms;
|
||||||
-webkit-transition: width 300ms;
|
-webkit-transition: width 300ms;
|
||||||
}
|
}
|
||||||
|
#sidebar.loading {
|
||||||
|
background: #ffffff url('/static/img/loader.gif') no-repeat center;
|
||||||
|
}
|
||||||
body:not(.map-enabled) #sidebar {
|
body:not(.map-enabled) #sidebar {
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue