Commit c8905ae2da543d290ecdc48f310f1dd47fd9e4bc
1 parent
198ca6c0
-Pre loader ready
Showing
3 changed files
with
62 additions
and
0 deletions
Show diff stats
backend/views/site/index.php
@@ -13,6 +13,7 @@ | @@ -13,6 +13,7 @@ | ||
13 | 13 | ||
14 | AnalyticsAsset::register($this); | 14 | AnalyticsAsset::register($this); |
15 | ?> | 15 | ?> |
16 | +<div class="animated yt-loader"></div> | ||
16 | 17 | ||
17 | <div class="row"> | 18 | <div class="row"> |
18 | <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12"> | 19 | <div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12"> |
backend/web/css/custom.css
@@ -4182,7 +4182,66 @@ ul.notifications { | @@ -4182,7 +4182,66 @@ ul.notifications { | ||
4182 | .dataTables_length { float:none; } | 4182 | .dataTables_length { float:none; } |
4183 | } | 4183 | } |
4184 | 4184 | ||
4185 | +.animated { | ||
4186 | + -webkit-animation-duration: 5s; | ||
4187 | + animation-duration: 5s; | ||
4188 | + -webkit-animation-fill-mode: both; | ||
4189 | + animation-fill-mode: both; | ||
4190 | + -moz-user-select: none; | ||
4191 | + -ms-user-select: none; | ||
4192 | + -webkit-user-select: none; | ||
4193 | +} | ||
4194 | + | ||
4195 | +.yt-loader { | ||
4196 | + -webkit-animation-name: horizontalProgressBar; | ||
4197 | + animation-name: horizontalProgressBar; | ||
4198 | + -webkit-animation-timing-function: ease; | ||
4199 | + animation-timing-function: ease; | ||
4200 | + background: #1abb9c; | ||
4201 | + height: 3px; | ||
4202 | + left: 0; | ||
4203 | + position: fixed; | ||
4204 | + top: 0; | ||
4205 | + width: 0%; | ||
4206 | + z-index: 9999; | ||
4207 | +} | ||
4208 | + | ||
4209 | +@keyframes horizontalProgressBar { | ||
4210 | + 0% { | ||
4211 | + width: 0%; | ||
4212 | + } | ||
4213 | + 25% { | ||
4214 | + width: 22%; | ||
4215 | + } | ||
4216 | + 50% { | ||
4217 | + width: 55%; | ||
4218 | + } | ||
4219 | + 75% { | ||
4220 | + width: 83%; | ||
4221 | + } | ||
4222 | + 100% { | ||
4223 | + width: 100%; | ||
4224 | + } | ||
4225 | +} | ||
4185 | 4226 | ||
4227 | +@-webkit-keyframes horizontalProgressBar /* Safari and Chrome */ | ||
4228 | +{ | ||
4229 | + 0% { | ||
4230 | + width: 0%; | ||
4231 | + } | ||
4232 | + 25% { | ||
4233 | + width: 22%; | ||
4234 | + } | ||
4235 | + 50% { | ||
4236 | + width: 55%; | ||
4237 | + } | ||
4238 | + 75% { | ||
4239 | + width: 83%; | ||
4240 | + } | ||
4241 | + 100% { | ||
4242 | + width: 100%; | ||
4243 | + } | ||
4244 | +} | ||
4186 | 4245 | ||
4187 | 4246 | ||
4188 | /* CSS3 Checkbox */ | 4247 | /* CSS3 Checkbox */ |
backend/web/js/analytics.js