Files
xterra-overland-dashboard/simulator/static/style.css
T

271 lines
4.0 KiB
CSS

body {
margin: 0;
font-family: Arial, sans-serif;
background: #101010;
color: #eee;
}
main {
max-width: 900px;
margin: 0 auto;
padding: 18px 18px 96px;
}
header {
text-align: center;
margin-bottom: 16px;
}
h1 {
margin: 0 0 8px;
font-size: 1.8rem;
}
h2 {
margin-top: 0;
}
#statusLine {
color: #aaa;
font-size: 0.95rem;
}
.screen {
display: none;
}
.screen.active {
display: block;
}
.big-card {
background: #222;
border: 1px solid #333;
border-radius: 16px;
padding: 24px;
text-align: center;
margin-bottom: 16px;
}
.big-card p {
font-size: 4rem;
margin: 0;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 14px;
}
.card {
background: #222;
border: 1px solid #333;
border-radius: 14px;
padding: 16px;
text-align: center;
}
.card h2 {
font-size: 1rem;
color: #aaa;
}
.card p {
font-size: 2.1rem;
margin: 0;
}
.relay-row {
display: flex;
gap: 12px;
margin-top: 16px;
}
.relay-pill {
flex: 1;
background: #252525;
border: 1px solid #444;
border-radius: 999px;
padding: 14px;
text-align: center;
font-size: 1.2rem;
}
.detail-list {
background: #222;
border: 1px solid #333;
border-radius: 14px;
overflow: hidden;
margin-bottom: 18px;
}
.detail-list div {
display: flex;
justify-content: space-between;
padding: 16px;
border-bottom: 1px solid #333;
font-size: 1.2rem;
}
.detail-list div:last-child {
border-bottom: none;
}
button {
font-size: 1.1rem;
padding: 16px 20px;
border: none;
border-radius: 12px;
background: #444;
color: white;
cursor: pointer;
min-width: 130px;
}
button:hover {
background: #666;
}
#power button,
#system button {
display: block;
width: 100%;
margin-bottom: 14px;
font-size: 1.4rem;
padding: 22px;
}
nav {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: #181818;
border-top: 1px solid #333;
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 4px;
padding: 8px;
}
nav button {
min-width: 0;
padding: 14px 4px;
font-size: 0.9rem;
border-radius: 10px;
}
.alarm-overlay {
position: fixed;
inset: 0;
background: #200;
color: white;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.alarm-overlay.hidden {
display: none;
}
.alarm-box {
width: min(720px, 100%);
background: #3a0000;
border: 4px solid #ffdddd;
border-radius: 24px;
padding: 36px;
text-align: center;
box-shadow: 0 0 40px rgba(0,0,0,0.7);
}
.alarm-icon {
font-size: 5rem;
margin-bottom: 12px;
}
.alarm-box h1 {
font-size: 2.4rem;
margin-bottom: 18px;
}
.alarm-box p {
font-size: 1.8rem;
margin-bottom: 28px;
}
.alarm-box button {
width: 100%;
font-size: 1.5rem;
padding: 24px;
background: white;
color: #300;
font-weight: bold;
}
.settings-list {
background: #222;
border: 1px solid #333;
border-radius: 14px;
padding: 16px;
}
.settings-list label {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
padding: 12px 0;
font-size: 1.1rem;
border-bottom: 1px solid #333;
}
.settings-list label:last-of-type {
border-bottom: none;
}
.settings-list input {
width: 90px;
font-size: 1.2rem;
padding: 10px;
border-radius: 8px;
border: 1px solid #555;
background: #111;
color: white;
text-align: center;
}
.warning-banner {
position: sticky;
top: 0;
z-index: 5000;
background: #6b5200;
color: white;
padding: 14px;
text-align: center;
font-size: 1.1rem;
font-weight: bold;
border-bottom: 2px solid #d8b400;
}
.warning-banner.hidden {
display: none;
}
.kid-card {
border-color: #777;
}
.kid-card small {
display: block;
margin-top: 8px;
font-size: 1rem;
color: #ccc;
}