You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
1.5 KiB
CSS
123 lines
1.5 KiB
CSS
/* Global Element Resets */
|
|
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
:root {
|
|
font-family: sans;
|
|
font-size: 24px;
|
|
font-stretch: expanded;
|
|
}
|
|
|
|
:root {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
}
|
|
|
|
body {
|
|
padding: 1rem;
|
|
width: 100%;
|
|
max-width: 80ch;
|
|
}
|
|
|
|
.refresh {
|
|
background: #137752;
|
|
color: white;
|
|
font-size: inherit;
|
|
padding: 0.25em;
|
|
border: none;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.refresh[disabled] {
|
|
background: gray;
|
|
}
|
|
|
|
.status-container {
|
|
display: flex;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.status-container > * {
|
|
margin-left: -1px;
|
|
margin-top: -1px;
|
|
}
|
|
|
|
.status-button {
|
|
font-size: inherit;
|
|
text-align: unset;
|
|
flex: 1 1 max-content;
|
|
|
|
border: 1px solid black;
|
|
padding: 0.5em;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.status-button:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.status-button.up:not(:hover) {
|
|
background: #DCF9CD;
|
|
}
|
|
|
|
.status-button.down:not(:hover) {
|
|
background: #F9CDCD;
|
|
}
|
|
|
|
.status-button.error:not(:hover) {
|
|
background: #F9CDCD;
|
|
}
|
|
|
|
.status-button.up .status {
|
|
color: green;
|
|
}
|
|
|
|
.status-button.down .status {
|
|
color: red;
|
|
}
|
|
|
|
.status-button.error .status {
|
|
color: red;
|
|
}
|
|
|
|
.status-button .name {
|
|
flex: 1 1 max-content;
|
|
}
|
|
|
|
.go {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0.5em;
|
|
|
|
border: 1px solid black;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
background: #C6D4FF;
|
|
}
|
|
|
|
.go:hover {
|
|
filter: brightness(0.9);
|
|
}
|