86 lines
2.4 KiB
CSS
86 lines
2.4 KiB
CSS
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #2c3e50; /* Dark background color */
|
|
color: #bdc3c7; /* Dimmer text color */
|
|
zoom: 1.5;
|
|
overflow: hidden; /* Hide scrollbars */
|
|
}
|
|
.container {
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
margin-top: 20px;
|
|
padding: 20px;
|
|
background-color: #34495e; /* Darker background for container */
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Slightly darker shadow */
|
|
}
|
|
.api-data {
|
|
font-size: 1.4rem;
|
|
color: #bdc3c7; /* Dimmer text color */
|
|
}
|
|
.loading {
|
|
font-size: 1.2rem;
|
|
background-color: #34495e; /* Darker background for container-wide */
|
|
}
|
|
.status-button {
|
|
padding: 10px 20px;
|
|
font-size: 1.5rem;
|
|
border: none;
|
|
cursor: pointer;
|
|
margin-top: 20px;
|
|
border-radius: 5px;
|
|
}
|
|
.button-container {
|
|
display: flex;
|
|
justify-content: center; /* This centers the button horizontally */
|
|
}
|
|
button {
|
|
background: radial-gradient(circle, #ff7e5f 0%, #feb47b 100%);
|
|
border: none;
|
|
color: white;
|
|
font-size: 30px;
|
|
padding: 25px 50px;
|
|
text-align: center;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
|
|
border-radius: 30px;
|
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
|
|
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
|
|
}
|
|
|
|
button:hover {
|
|
transform: scale(1.05);
|
|
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
|
|
}
|
|
.inactive {
|
|
background-color: #0b660e;
|
|
background: radial-gradient(circle, #0b660e 0%, #2b922f 100%);
|
|
color: #bdc3c7; /* Dimmer text color */
|
|
}
|
|
.active {
|
|
background-color: #a5150b;
|
|
background: radial-gradient(circle, #a5150b 0%, #d6382d 100%);
|
|
color: #bdc3c7; /* Dimmer text color */
|
|
}
|
|
.failed {
|
|
background-color: #671281;
|
|
background: radial-gradient(circle, #671281 0%, #8423a1 100%);
|
|
color: #bdc3c7; /* Dimmer text color */
|
|
}
|
|
.deactivating {
|
|
background-color: #003699;
|
|
background: radial-gradient(circle, #003699 0%, #337aff 100%);
|
|
color: #bdc3c7; /* Dimmer text color */
|
|
}
|
|
.deactivating {
|
|
background-color: #0d2b2c;
|
|
background: radial-gradient(circle, #0d2b2c 0%, #123738 100%);
|
|
color: #bdc3c7; /* Dimmer text color */
|
|
}
|
|
.unknown {
|
|
background-color: #ec701e;
|
|
background: radial-gradient(circle, #c9580d 0%, #ec701e 100%);
|
|
color: #bdc3c7; /* Dimmer text color */
|
|
} |