opencode ergebnis V0.1
This commit is contained in:
1 parent
61d86a3d83
commit
7e498ebc3f
71 files changed
+28982
-46
No files matched your search
@@ -0,0 +1,427 @@
|
||||
/* Dispatcher-View: Karte 2/3 links, Kontrollansicht 1/3 rechts */
|
||||
|
||||
body.dispatcher-page {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
background: #eef1f4;
|
||||
}
|
||||
|
||||
body.dispatcher-page main.container {
|
||||
width: 100vw;
|
||||
max-width: none;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.dispatcher-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.map-pane {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
background: #dce3e8;
|
||||
}
|
||||
|
||||
#map {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* Fadenkreuz-Modus der Karte */
|
||||
.leaflet-container.crosshair,
|
||||
.leaflet-container.crosshair .leaflet-interactive {
|
||||
cursor: crosshair !important;
|
||||
}
|
||||
|
||||
.control-pane {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
background: var(--card-background-color, #fff);
|
||||
border-left: 1px solid rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
/* ---------- Header ---------- */
|
||||
|
||||
.control-header {
|
||||
flex: 0 0 auto;
|
||||
padding: 0.85rem 1rem 0.6rem;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.clock {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.05rem;
|
||||
margin-bottom: 0.55rem;
|
||||
}
|
||||
|
||||
.clock-date {
|
||||
font-size: 0.78rem;
|
||||
color: var(--muted-color, #5b6771);
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.clock-time {
|
||||
font-size: clamp(1.8rem, 4vw, 2.7rem);
|
||||
line-height: 1.05;
|
||||
font-weight: 700;
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
.header-controls {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.map-layer-label {
|
||||
flex: 1 1 auto;
|
||||
margin: 0 !important;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.map-layer-label > span {
|
||||
display: block;
|
||||
margin-bottom: 0.15rem;
|
||||
color: var(--muted-color, #5b6771);
|
||||
}
|
||||
|
||||
.map-layer-label select {
|
||||
margin: 0;
|
||||
height: 2.35rem;
|
||||
padding-top: 0.25rem;
|
||||
padding-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 auto;
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-radius: 0.55rem;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.icon-button {
|
||||
border: 1px solid rgba(0, 0, 0, 0.18);
|
||||
background: var(--form-element-background-color, #fff);
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.icon-button.active {
|
||||
background: #2f6fdb;
|
||||
border-color: #2f6fdb;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.connection-status {
|
||||
margin-top: 0.45rem;
|
||||
font-size: 0.72rem;
|
||||
color: var(--muted-color, #5b6771);
|
||||
}
|
||||
|
||||
.connection-status.connected {
|
||||
color: #18794e;
|
||||
}
|
||||
|
||||
.connection-status.disconnected {
|
||||
color: #b42318;
|
||||
}
|
||||
|
||||
/* ---------- Accordion ---------- */
|
||||
|
||||
.group-accordion {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
padding: 0.7rem;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.group-empty {
|
||||
padding: 1rem;
|
||||
color: var(--muted-color, #5b6771);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.group-item {
|
||||
margin: 0 0 0.55rem;
|
||||
border: 1px solid rgba(0, 0, 0, 0.12);
|
||||
border-radius: 0.65rem;
|
||||
background: var(--card-background-color, #fff);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.group-item > summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.55rem;
|
||||
padding: 0.65rem 0.75rem;
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.group-item > summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.group-item > summary::after {
|
||||
content: "▾";
|
||||
margin-left: auto;
|
||||
font-size: 0.8rem;
|
||||
color: var(--muted-color, #5b6771);
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
|
||||
.group-item[open] > summary::after {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.group-dot {
|
||||
flex: 0 0 auto;
|
||||
width: 0.8rem;
|
||||
height: 0.8rem;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9), 0 0 0 3px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.group-name {
|
||||
min-width: 0;
|
||||
font-weight: 650;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.group-state {
|
||||
flex: 0 0 auto;
|
||||
margin-left: 0.35rem;
|
||||
padding: 0.1rem 0.45rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(0, 0, 0, 0.07);
|
||||
font-size: 0.7rem;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.group-details {
|
||||
padding: 0 0.75rem 0.75rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
|
||||
.group-position-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.group-position-row .icon-button {
|
||||
width: 2.25rem;
|
||||
height: 2.25rem;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.group-position-row progress {
|
||||
flex: 1 1 auto;
|
||||
width: auto;
|
||||
height: 0.75rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.group-position-meta {
|
||||
font-size: 0.72rem;
|
||||
color: var(--muted-color, #5b6771);
|
||||
}
|
||||
|
||||
.group-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.group-crosshair {
|
||||
width: 2.35rem;
|
||||
height: 2.35rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.group-message {
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
background: rgba(0, 0, 0, 0.035);
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.group-message:focus {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* ---------- Footer ---------- */
|
||||
|
||||
.control-footer {
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.55rem;
|
||||
padding: 0.7rem 1rem 0.85rem;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
||||
background: var(--card-background-color, #fff);
|
||||
}
|
||||
|
||||
.slider-control {
|
||||
margin: 0 !important;
|
||||
font-size: 0.74rem;
|
||||
}
|
||||
|
||||
.slider-control > span {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
color: var(--muted-color, #5b6771);
|
||||
}
|
||||
|
||||
.slider-control input[type="range"] {
|
||||
margin: 0.25rem 0 0;
|
||||
height: 1.15rem;
|
||||
}
|
||||
|
||||
.footer-buttons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
|
||||
/* ---------- Dialoge ---------- */
|
||||
|
||||
dialog article {
|
||||
max-height: 90dvh;
|
||||
}
|
||||
|
||||
#chatModal article,
|
||||
.chat-dialog {
|
||||
width: min(44rem, 94vw);
|
||||
max-width: 94vw;
|
||||
}
|
||||
|
||||
.chat-messages {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.55rem;
|
||||
max-height: 58dvh;
|
||||
overflow-y: auto;
|
||||
padding: 0.15rem;
|
||||
}
|
||||
|
||||
.chat-empty {
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
color: var(--muted-color, #5b6771);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.chat-message {
|
||||
padding: 0.5rem 0.65rem;
|
||||
border-radius: 0.55rem;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.chat-message.own {
|
||||
background: rgba(47, 111, 219, 0.12);
|
||||
}
|
||||
|
||||
.chat-message-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 0.7rem;
|
||||
margin-bottom: 0.18rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--muted-color, #5b6771);
|
||||
}
|
||||
|
||||
.chat-message-text {
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
/* ---------- Leaflet-Marker ---------- */
|
||||
|
||||
.group-marker-icon {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.group-marker-icon span {
|
||||
display: block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border-radius: 50%;
|
||||
background: var(--marker-color, #2f6fdb);
|
||||
border: 2px solid #fff;
|
||||
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.38), 0 1px 3px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.dispatcher-layout {
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: minmax(0, 55vh) minmax(0, 45vh);
|
||||
grid-template-rows: minmax(0, 55dvh) minmax(0, 45dvh);
|
||||
}
|
||||
|
||||
.control-pane {
|
||||
border-left: 0;
|
||||
border-top: 1px solid rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.control-header {
|
||||
padding-top: 0.55rem;
|
||||
padding-bottom: 0.45rem;
|
||||
}
|
||||
|
||||
.clock {
|
||||
flex-direction: row;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.clock-time {
|
||||
font-size: 1.55rem;
|
||||
}
|
||||
|
||||
.group-accordion {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.control-footer {
|
||||
padding: 0.5rem 0.75rem;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user