mirror of
https://github.com/CyanoFresh/SmartHomePHP.git
synced 2026-03-11 12:26:52 +01:00
113 lines
1.8 KiB
CSS
113 lines
1.8 KiB
CSS
body {
|
|
opacity: 0;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
body.loaded {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Linear loader */
|
|
.linear-loader {
|
|
position: absolute;
|
|
top: 64px;
|
|
left: 0;
|
|
right: 0;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
height: 4px;
|
|
background-color: #B3E5FC;
|
|
z-index: 500;
|
|
}
|
|
|
|
.indeterminate {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.indeterminate:before {
|
|
content: '';
|
|
position: absolute;
|
|
height: 100%;
|
|
background-color: #03A9F4;
|
|
animation: indeterminate_first 3s infinite ease-out;
|
|
}
|
|
|
|
.indeterminate:after {
|
|
content: '';
|
|
position: absolute;
|
|
height: 100%;
|
|
background-color: #4FC3F7;
|
|
animation: indeterminate_second 3s infinite ease-in;
|
|
}
|
|
|
|
@keyframes indeterminate_first {
|
|
0% {
|
|
left: -100%;
|
|
width: 100%;
|
|
}
|
|
100% {
|
|
left: 100%;
|
|
width: 10%;
|
|
}
|
|
}
|
|
|
|
@keyframes indeterminate_second {
|
|
0% {
|
|
left: -150%;
|
|
width: 100%;
|
|
}
|
|
100% {
|
|
left: 100%;
|
|
width: 10%;
|
|
}
|
|
}
|
|
|
|
/* Content loader */
|
|
#loader {
|
|
position: relative;
|
|
}
|
|
|
|
.loader-icon {
|
|
background: #2f2f2f;
|
|
border-radius: 100%;
|
|
height: 150px;
|
|
width: 150px;
|
|
margin: 100px auto 30px;
|
|
color: #fff;
|
|
text-align: center;
|
|
line-height: 150px;
|
|
font-size: 100px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.loader-brand {
|
|
text-align: center;
|
|
font-size: 40px;
|
|
}
|
|
|
|
.loader-message {
|
|
opacity: 0;
|
|
text-align: center;
|
|
font-size: 18px;
|
|
position: absolute;
|
|
left: calc(50% - 15px);
|
|
top: 125px;
|
|
background: #F44336;
|
|
border-radius: 50px;
|
|
padding: 0 10px;
|
|
color: #fff;
|
|
box-shadow: 0 0 10px #f44336;
|
|
width: 100px;
|
|
transition: 0.8s;
|
|
}
|
|
|
|
#loader.error .loader-message {
|
|
opacity: 1;
|
|
}
|
|
|
|
.control-panel {
|
|
display: none;
|
|
}
|