mirror of
https://github.com/Break27/kvmd.git
synced 2026-02-06 18:36:37 +08:00
46 lines
753 B
CSS
46 lines
753 B
CSS
span.bulb {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
div[state='unknown'] span.bulb {
|
|
background-color: yellow;
|
|
}
|
|
|
|
div[state='online'] span.bulb {
|
|
background-color: limegreen;
|
|
}
|
|
|
|
div[state='offline'] span.bulb {
|
|
background-color: grey;
|
|
}
|
|
|
|
div[state='error'] span.bulb {
|
|
background-color: orangered;
|
|
}
|
|
|
|
span.state {
|
|
margin-left: 24px;
|
|
color: grey;
|
|
user-select: none;
|
|
}
|
|
|
|
div[state='unknown'] span.state::before {
|
|
content: "[ Unknown ]";
|
|
}
|
|
|
|
div[state='online'] span.state::before {
|
|
content: "[ Online ]";
|
|
}
|
|
|
|
div[state='offline'] span.state::before {
|
|
content: "[ Offline ]";
|
|
}
|
|
|
|
div[state='error'] span.state::before {
|
|
content: "[ Error ]";
|
|
}
|