Skip to content

Commit b1a7abe

Browse files
committed
[FIX] Mainloader.
1 parent 1a1e0e9 commit b1a7abe

File tree

3 files changed

+15
-59
lines changed

3 files changed

+15
-59
lines changed

manager/media/style/default/css/index.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
#resizer:hover { background-color: rgba(0, 0, 0, 0.1); }
2121
#mask_resizer { position: absolute; width: 100%; height: 100%; }
2222
/* mainloader */
23-
#mainloader { position: absolute; z-index: 50000; top: 0; left: 0; width: 100%; height: 100%; text-align: center; vertical-align: middle; padding: 15% 0 0 0; background-color: rgba(255, 255, 255, 0.64); opacity: 0; visibility: hidden; -webkit-transition-duration: 0.3s; transition-duration: 0.3s }
24-
#mainloader div {font-size: 3.5em; position: absolute; top: 0; left: 0; padding-top: 270px; padding-left: calc(50% - 45px);}
25-
#mainloader.show { opacity: 0.75; visibility: visible; -webkit-transition-duration: 0.1s; transition-duration: 0.1s }
26-
#mainloader::before { content: ""; display: block; position: absolute; z-index: 1; left: 50%; top: 30%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; animation: rotate 2s linear infinite; box-shadow: 5px 5px 0 0 rgb(234, 132, 82), 14px -7px 0 0 rgba(111, 163, 219, 0.7), -7px 11px 0 0 rgba(112, 193, 92, 0.74), -11px -7px 0 0 rgba(147, 205, 99, 0.78); }
27-
.sidebar-closed #tree { width: 0 !important; }
23+
#mainloader {position: absolute; z-index: 50000; top: 0; left: 0; width: 100%; height: 100%; text-align: center; vertical-align: middle; padding: 15% 0 0 0; background-color: rgba(255, 255, 255, 0.64); opacity: 0; visibility: hidden; -webkit-transition-duration: 0.3s; transition-duration: 0.3s }
24+
#mainloader.show {opacity: 0.75; visibility: visible; -webkit-transition-duration: 0.1s; transition-duration: 0.1s}
25+
#mainloader::before {display: none;}
26+
.evo__logo {font-size: 3.5em;position: fixed; top: 40%; left: 50%;}
27+
.evo__logo::before {content: ""; display: block; position: absolute; z-index: 1; left: 50%; top: 50%; width: 120px; height: 120px; border-radius: 50%; transform: translate(-50%, -50%) rotate(0deg); animation: rotateLogo 2s linear infinite; box-shadow: 5px 5px 0 0 rgb(234, 132, 82), 14px -7px 0 0 rgba(111, 163, 219, 0.7), -7px 11px 0 0 rgba(112, 193, 92, 0.74), -11px -7px 0 0 rgba(147, 205, 99, 0.78);}
28+
@keyframes rotateLogo {to {transform: translate(-50%, -50%) rotate(360deg)}}
29+
.sidebar-closed #tree {width: 0 !important;}
2830
.sidebar-closed #main, .sidebar-closed #resizer { left: 0 !important; }
2931
@media (min-width: 1200px) {
3032
#mainMenu { height: 2.5rem; }

manager/media/style/default/login.tpl

Lines changed: 7 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -429,58 +429,12 @@
429429
margin-bottom: 0.9375rem;
430430
}
431431
/* mainloader */
432-
433-
#mainloader {
434-
position: absolute;
435-
z-index: 50000;
436-
top: 0;
437-
left: 0;
438-
width: 100%;
439-
height: 100%;
440-
text-align: center;
441-
vertical-align: middle;
442-
padding: 15% 0 0 0;
443-
background-color: rgba(255, 255, 255, 0.64);
444-
opacity: 0;
445-
visibility: hidden;
446-
-webkit-transition-duration: 0.3s;
447-
transition-duration: 0.3s
448-
}
449-
#mainloader div {
450-
font-size: 3.5em;
451-
position: absolute;
452-
top: 0;
453-
left: 0;
454-
padding-top: 275px;
455-
padding-left: calc(50% - 45px);
456-
}
457-
#mainloader::before {
458-
content: "";
459-
display: block;
460-
position: absolute;
461-
z-index: 1;
462-
left: 50%;
463-
top: 30%;
464-
width: 7.5rem;
465-
height: 7.5rem;
466-
margin: -3.75rem 0 0 -3.75rem;
467-
border-radius: 50%;
468-
animation: rotate 2s linear infinite;
469-
box-shadow: 0.3125rem 0.3125rem 0 0 rgb(234, 132, 82), 0.875rem -0.4375rem 0 0 rgba(111, 163, 219, 0.7), -0.4375rem 0.6875rem 0 0 rgba(112, 193, 92, 0.74), -0.6875rem -0.4375rem 0 0 rgba(147, 205, 99, 0.78);
470-
}
471-
#mainloader.show {
472-
opacity: 0.75;
473-
visibility: visible;
474-
-webkit-transition-duration: 0.1s;
475-
transition-duration: 0.1s
476-
}
477-
/* loader keyframes */
478-
479-
@keyframes rotate {
480-
to {
481-
transform: rotate(360deg)
482-
}
483-
}
432+
#mainloader {position: absolute; z-index: 50000; top: 0; left: 0; width: 100%; height: 100%; text-align: center; vertical-align: middle; padding: 15% 0 0 0; background-color: rgba(255, 255, 255, 0.64); opacity: 0; visibility: hidden; -webkit-transition-duration: 0.3s; transition-duration: 0.3s }
433+
#mainloader.show {opacity: 0.75; visibility: visible; -webkit-transition-duration: 0.1s; transition-duration: 0.1s}
434+
#mainloader::before {display: none;}
435+
.evo__logo {font-size: 3.5em;position: fixed; top: 40%; left: 50%;}
436+
.evo__logo::before {content: ""; display: block; position: absolute; z-index: 1; left: 50%; top: 50%; width: 120px; height: 120px; border-radius: 50%; transform: translate(-50%, -50%) rotate(0deg); animation: rotateLogo 2s linear infinite; box-shadow: 5px 5px 0 0 rgb(234, 132, 82), 14px -7px 0 0 rgba(111, 163, 219, 0.7), -7px 11px 0 0 rgba(112, 193, 92, 0.74), -11px -7px 0 0 rgba(147, 205, 99, 0.78);}
437+
@keyframes rotateLogo {to {transform: translate(-50%, -50%) rotate(360deg)}}
484438
/* loginbox keyframes */
485439
486440
@-webkit-keyframes anim-loginbox {
@@ -596,7 +550,7 @@
596550
</div>
597551

598552
<!-- loader -->
599-
<div id="mainloader"><div>EVO</div></div>
553+
<div id="mainloader"><div class="evo__logo">EVO</div></div>
600554

601555
<!-- script -->
602556
<script>

manager/views/frame/1.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ class="{{ $_style['icon_home'] }}"></i></h2>
374374
document.getElementsByClassName("tabframes").setAttribute("scrolling", "no");
375375
}
376376
</script>
377-
<div id="mainloader"><div>EVO</div></div>
377+
<div id="mainloader"><div class="evo__logo">EVO</div></div>
378378
</div>
379379
<div id="resizer"></div>
380380
<div id="searchresult"></div>

0 commit comments

Comments
 (0)