Aetheria/Aetheria.Rts.Web/wwwroot/styles.css
2026-06-25 18:09:33 +01:00

172 lines
2.4 KiB
CSS

:root {
color-scheme: dark;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #111417;
color: #e8edf0;
}
* {
box-sizing: border-box;
}
html,
body {
height: 100%;
margin: 0;
}
body {
overflow: hidden;
}
button {
min-width: 36px;
height: 32px;
border: 1px solid #41505a;
border-radius: 6px;
background: #20282d;
color: #eef6f8;
font: inherit;
}
button:hover {
background: #2a353b;
}
.shell {
display: grid;
grid-template-columns: minmax(0, 1fr) 320px;
height: 100%;
min-height: 0;
}
.map-pane {
display: grid;
grid-template-rows: 52px minmax(0, 1fr);
min-width: 0;
min-height: 0;
background: #0f1215;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 0 16px;
border-bottom: 1px solid #263038;
background: #171d21;
}
.topbar span {
display: inline-block;
margin-left: 12px;
color: #9fb0b9;
font-size: 13px;
}
.toolbar {
display: flex;
align-items: center;
gap: 8px;
}
#zoom-label {
min-width: 52px;
color: #c5d2d7;
text-align: center;
}
#map {
display: block;
width: 100%;
height: 100%;
background: #0d1013;
cursor: crosshair;
}
.side-pane {
display: grid;
grid-auto-rows: min-content;
gap: 18px;
min-height: 0;
overflow: auto;
padding: 18px;
border-left: 1px solid #263038;
background: #171d21;
}
.side-pane section {
min-width: 0;
}
h1,
h2 {
margin: 0 0 10px;
font-size: 15px;
line-height: 1.2;
}
h1 {
font-size: 18px;
}
dl {
display: grid;
grid-template-columns: 96px minmax(0, 1fr);
gap: 7px 10px;
margin: 0;
font-size: 13px;
}
dt {
color: #91a4ad;
}
dd {
min-width: 0;
margin: 0;
overflow-wrap: anywhere;
}
#controlled-list {
display: grid;
gap: 8px;
font-size: 13px;
}
.controlled-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 7px 0;
border-bottom: 1px solid #263038;
}
.muted {
color: #91a4ad;
}
@media (max-width: 760px) {
.shell {
grid-template-columns: 1fr;
grid-template-rows: minmax(0, 1fr) 230px;
}
.side-pane {
border-top: 1px solid #263038;
border-left: 0;
}
.topbar {
align-items: flex-start;
flex-direction: column;
height: auto;
padding: 10px 12px;
}
.map-pane {
grid-template-rows: auto minmax(0, 1fr);
}
}