1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Apply service-status to theme

This commit is contained in:
billz 2019-08-08 22:14:21 +01:00
parent 97efe3a516
commit 165b9865cf

View File

@ -81,3 +81,32 @@ h4 {
width: 100%; width: 100%;
height: 300px; height: 300px;
} }
.service-status-running,
.service-status-stopped {
background-color: #fff;
color: #333;
text-transform: uppercase;
line-height: inherit;
}
.service-status-running:before,
.service-status-stopped:before {
display: inline-block;
height: 18px;
width: 16px;
content: "\2022";
font-size: 1.5em;
color: green;
line-height: 16px;
vertical-align: bottom;
margin-right: 2px;
}
.service-status-stopped:before {
color: red;
animation: flash 1s linear infinite;
}
@keyframes flash {
50% {
opacity: 0;
}
}