mirror of
https://github.com/danderson/netboot.git
synced 2025-10-22 04:51:21 +02:00
The UI is optional and need to be explicitly activated, since I don't want existing users to suddenly have an information-spewing thing show up on their network.
124 lines
1.8 KiB
CSS
124 lines
1.8 KiB
CSS
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: #e9e9e9;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
font-size: 60pt;
|
|
margin: 0;
|
|
padding: 0;
|
|
margin-bottom: 20px;
|
|
width: 100%;
|
|
background: #4caf50;
|
|
}
|
|
|
|
px-machine-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
justify-content: center;
|
|
max-width: 800px;
|
|
width: 100%;
|
|
margin: auto;
|
|
}
|
|
|
|
.overview {
|
|
width: 100%;
|
|
box-shadow: 3px 3px 3px rgba(0,0,0,0.2);
|
|
background: white;
|
|
margin-bottom: 2px;
|
|
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 5px;
|
|
}
|
|
|
|
.overview p {
|
|
margin: 0;
|
|
padding: 5px;
|
|
height: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.mac-address {
|
|
font-family: "Courier New", Courier, monospace;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.progress {
|
|
width: 200px;
|
|
height: 15px;
|
|
padding: 0;
|
|
margin: 5px;
|
|
padding: 1px;
|
|
border-radius: 7px;
|
|
background: #c8e6c9;
|
|
}
|
|
|
|
.progress div {
|
|
display: block;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: #4caf50;
|
|
overflow: hidden;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.status {
|
|
}
|
|
|
|
.events {
|
|
width: 90%;
|
|
height: 100%;
|
|
margin: auto;
|
|
}
|
|
|
|
.events p {
|
|
margin: 0; padding: 5px;
|
|
box-shadow: 3px 3px 3px rgba(0,0,0,0.2);
|
|
background: white;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.events p span {
|
|
font-weight: bold;
|
|
margin-right: 10px
|
|
}
|
|
|
|
@media all and (max-width: 800px) {
|
|
h1 {
|
|
font-size: 40pt;
|
|
}
|
|
|
|
.mac-address {
|
|
width: 100%;
|
|
}
|
|
|
|
.progress {
|
|
width: 100px;
|
|
}
|
|
}
|
|
|
|
@media all and (max-width: 500px) {
|
|
h1 {
|
|
font-size: 30pt;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.overview {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.progress {
|
|
width: 200px;
|
|
}
|
|
}
|