diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-16 14:04:27 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-16 14:04:27 +1300 |
commit | e4f936e9732f5ad2e99553425d8c5c9222e486f2 (patch) | |
tree | 07cb1ed032ae35b14b55a9859c749fedfdd7e2e4 /web/app.css | |
parent | 28d60da9a2f80fa8fc3dd28ec5bdd7847a36727c (diff) | |
download | trackermap-server-e4f936e9732f5ad2e99553425d8c5c9222e486f2.tar.gz trackermap-server-e4f936e9732f5ad2e99553425d8c5c9222e486f2.tar.bz2 trackermap-server-e4f936e9732f5ad2e99553425d8c5c9222e486f2.zip |
Add loading spinner to the webpage
Diffstat (limited to 'web/app.css')
-rw-r--r-- | web/app.css | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/web/app.css b/web/app.css index 897fd0cbc..3c4507e38 100644 --- a/web/app.css +++ b/web/app.css @@ -12,8 +12,44 @@ } #attribution { - position: fixed; + position: absolute; bottom: 10px; right: 15px; font-size: x-small; } + +#spinner { + position: absolute; + top: 50%; + left: 50%; + height: 60px; + width: 60px; + margin-top: -30px; + margin-left: -30px; + -webkit-animation: rotation .8s infinite linear; + -moz-animation: rotation .8s infinite linear; + -o-animation: rotation .8s infinite linear; + animation: rotation .8s infinite linear; + border-left: 6px solid rgba(56, 146, 212, .15); + border-right: 6px solid rgba(56, 146, 212, .15); + border-bottom: 6px solid rgba(56, 146, 212, .15); + border-top: 6px solid rgba(56, 146, 212, .8); + border-radius: 100%; +} + +@-webkit-keyframes rotation { + from { -webkit-transform: rotate(0deg); } + to { -webkit-transform: rotate(359deg); } +} +@-moz-keyframes rotation { + from { -moz-transform: rotate(0deg); } + to { -moz-transform: rotate(359deg); } +} +@-o-keyframes rotation { + from { -o-transform: rotate(0deg); } + to { -o-transform: rotate(359deg); } +} +@keyframes rotation { + from { transform: rotate(0deg); } + to { transform: rotate(359deg); } +} |