Asked for in Discord: "raidplan.io bitte einbauen für die harten Dungeons". raidplan.io has no Aion 2
(only WoW, FFXIV, Lost Ark, New World), so the map tactics got what it offers.
- Dungeon maps: the in-game map textures of 11 expeditions, 7 transcendence dungeons, the 3 sanctuaries
(Ludra, Corroded Decontamination Facility, Chalice of Muspel), the 6 awakening towers and 3
subjugations, as published by the DPS meter Waffle-ens/waffle_meter (dotnet/Assets/Maps, pinned
commit). assets/map/dungeons/dungeons.json is kept by hand: groups, slugs (= tactics.map_slug),
German names from the Global client (aion2.app), KR/TW-only dungeons marked as unavailable, boss
hints for the awakening towers. scripts/download_dungeon_maps.py fetches the images, writes
dungeons/<slug>.webp (2048 px, about 3 MB in total, in Git) and the previews, and finds the dungeon
area (bounds) by comparing each map with the shared background of all maps. Two empty arenas
(round, square) are drawn in code.
- Viewer: image maps and arenas next to the tile maps (MapView.drawImageMap/drawArena, half zoom
steps, opens fitted to the dungeon beside the tactic panel), map picker with the tabs "Welt" and
"Dungeons & Raids", each area remembers its last map, no category panel without markers. The mouse
wheel zooms to the cursor.
- New page raidplan.php ("Raidplaner" in the menu, map.view) = map.php started in the dungeon area.
Location links on dungeon maps point to /raidplan.php and are recognized in texts and by the
calendar picker.
- Tokens (shape type 'token', TokenIcons.js): classes, roles, players 1-8, markers A-D and symbols,
boss, add, danger, stack, spread, tower, orb, bomb. Colour and size come from the toolbar, numbers
and letters count up while placing, tokens are drawn above areas. Server whitelist
TACTIC_TOKEN_ICONS.
- Move tool (✥) with label/delete actions above the selected shape, double click and Del; new action
shape_update in tactics_api.php (points and label, same permissions, snapshot before). Undo also
reverts moves and labels. Rectangle and cone tools, saved as areas.
- Step transitions: tactic_shapes.ref is kept by "Kopie dieses Schritts", tactic copies and restores
(existing shapes get s<id>), so the same shape glides to its new place when stepping or playing;
play button (and space) runs through all steps. 🔗 copies a link to the tactic and step
(?taktik=&schritt=), which opens it after loading.
- Live view: the bot relay only knows the old shape types and events, so placing tokens and moving
send "changed" and the others reload - no bot deploy needed.
- Schema version 60 (tactic_shapes.icon, .ref, enum 'token'; also in sql/schema.sql), tour step on the
dashboard, patch notes and README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1550 lines
31 KiB
CSS
1550 lines
31 KiB
CSS
/* Aion 2 Map Viewer - Styles */
|
|
|
|
:root {
|
|
--bg-primary: #1a1a2e;
|
|
--bg-secondary: rgba(20, 20, 40, 0.9);
|
|
--border-color: rgba(100, 100, 150, 0.3);
|
|
--text-primary: #e0e0e0;
|
|
--text-secondary: #aaa;
|
|
--accent-gold: #ffd700;
|
|
--accent-blue: #3388FF;
|
|
--panel-radius: 8px;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Map container */
|
|
#map-container {
|
|
position: relative;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
|
|
canvas {
|
|
display: block;
|
|
cursor: grab;
|
|
/* Wischen und Pinch-Zoom steuert die Karte selbst (MapController.setupTouch). */
|
|
touch-action: none;
|
|
}
|
|
|
|
canvas:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
/* Loading overlay */
|
|
#loading-overlay {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
text-align: center;
|
|
z-index: 100;
|
|
}
|
|
|
|
.spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 3px solid var(--border-color);
|
|
border-top-color: var(--accent-gold);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin: 0 auto 16px;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* UI overlay */
|
|
#ui-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.panel {
|
|
pointer-events: auto;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--panel-radius);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
/* Kartenwahl oben mittig: Knopf mit dem Namen der aktuellen Karte */
|
|
#title-bar {
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
padding: 4px;
|
|
}
|
|
|
|
#map-picker-btn {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
padding: 9px 16px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
#map-picker-btn:hover {
|
|
background: rgba(255, 215, 0, 0.08);
|
|
border-color: rgba(255, 215, 0, 0.4);
|
|
}
|
|
|
|
.map-picker-label {
|
|
font-size: 11px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
#map-current-name {
|
|
font-size: 17px;
|
|
color: var(--accent-gold);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.map-picker-chevron {
|
|
color: var(--text-secondary);
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Popup mit Vorschaubildern der Karten */
|
|
#map-picker {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 2500;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(4px);
|
|
animation: map-picker-fade 0.2s ease;
|
|
}
|
|
|
|
.map-picker-panel {
|
|
width: min(960px, 100%);
|
|
max-height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 18px 20px 20px;
|
|
border-color: rgba(255, 215, 0, 0.35);
|
|
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.map-picker-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.map-picker-head h2 {
|
|
font-size: 18px;
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
#map-picker-close {
|
|
padding: 4px 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Reiter der Kartenauswahl: Welt / Dungeons & Raids */
|
|
#map-picker-tabs {
|
|
display: flex;
|
|
gap: 4px;
|
|
margin: 0 auto 0 16px;
|
|
padding: 3px;
|
|
border-radius: 8px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
#map-picker-tabs.hidden { display: none; }
|
|
|
|
.map-picker-tab {
|
|
padding: 5px 12px;
|
|
font-size: 13px;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.map-picker-tab.active {
|
|
background: rgba(255, 215, 0, 0.18);
|
|
border-color: rgba(255, 215, 0, 0.55);
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
.map-picker-zone.hidden + .map-picker-zone { margin-top: 0; }
|
|
|
|
/* Kleiner Hinweis unter dem Namen (z.B. Boss der Erwachen-Karten) */
|
|
.map-card-hint {
|
|
margin-top: -6px;
|
|
padding: 0 10px 8px;
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
#map-picker-list {
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.map-picker-zone + .map-picker-zone { margin-top: 16px; }
|
|
|
|
.map-picker-zone h3 {
|
|
margin-bottom: 8px;
|
|
font-size: 12px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.map-picker-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.map-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background: rgba(30, 30, 50, 0.9);
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 10px;
|
|
text-align: left;
|
|
transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.map-card:hover,
|
|
.map-card:focus-visible {
|
|
transform: translateY(-3px);
|
|
border-color: var(--accent-gold);
|
|
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
|
|
outline: none;
|
|
}
|
|
|
|
.map-card.active {
|
|
border-color: var(--accent-gold);
|
|
box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.25);
|
|
}
|
|
|
|
.map-card img {
|
|
display: block;
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
object-fit: cover;
|
|
background: #e1d2bf;
|
|
}
|
|
|
|
.map-card-name {
|
|
padding: 8px 10px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.map-card.active .map-card-name { color: var(--accent-gold); }
|
|
|
|
/* Karten, die es auf unserem Patch noch nicht gibt */
|
|
.map-card { position: relative; }
|
|
|
|
.map-card.unavailable img { filter: grayscale(0.6) brightness(0.8); }
|
|
|
|
.map-card-note {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
right: 8px;
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
background: rgba(20, 20, 30, 0.85);
|
|
border: 1px solid rgba(240, 178, 50, 0.6);
|
|
color: #f0c060;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
text-align: center;
|
|
}
|
|
|
|
#map-unavailable {
|
|
margin: 2px 4px 4px;
|
|
padding: 6px 10px;
|
|
border-radius: 6px;
|
|
background: rgba(240, 178, 50, 0.12);
|
|
border: 1px solid rgba(240, 178, 50, 0.5);
|
|
color: #f0c060;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
@keyframes map-picker-fade { from { opacity: 0; } to { opacity: 1; } }
|
|
|
|
/* Zoom controls */
|
|
#zoom-controls {
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 8px;
|
|
}
|
|
|
|
/* Feste Breite: sonst waere die Leiste so breit wie das breiteste Symbol (z.B. 👁) und
|
|
wuerde in das Taktiken-Fenster daneben ragen. 16 + 8 + 46 + 8 + 2 = 80px vom Rand. */
|
|
#zoom-controls button {
|
|
width: 46px;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
button {
|
|
background: rgba(50, 50, 80, 0.8);
|
|
border: 1px solid var(--border-color);
|
|
color: var(--text-primary);
|
|
padding: 8px 12px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
transition: background 0.2s, border-color 0.2s;
|
|
}
|
|
|
|
button:hover {
|
|
background: rgba(70, 70, 100, 0.8);
|
|
border-color: var(--accent-gold);
|
|
}
|
|
|
|
/* Category panel */
|
|
#category-panel {
|
|
position: absolute;
|
|
bottom: 16px;
|
|
left: 16px;
|
|
padding: 12px;
|
|
max-height: 70vh;
|
|
overflow-y: auto;
|
|
width: 300px;
|
|
}
|
|
|
|
#category-panel .tp-head {
|
|
margin-bottom: 8px;
|
|
border-bottom: 1px solid rgba(255, 215, 0, 0.3);
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
#category-panel h3 {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
#category-panel.collapsed {
|
|
width: auto;
|
|
}
|
|
|
|
#category-panel.collapsed .tp-head {
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
#category-panel.collapsed .cp-body {
|
|
display: none;
|
|
}
|
|
|
|
/* Fenster ausgeblendet: nur die Zoom-Leiste (mit dem Augen-Knopf) bleibt stehen. */
|
|
#ui-overlay.ui-hidden > :not(#zoom-controls) {
|
|
display: none !important;
|
|
}
|
|
|
|
#btn-toggle-ui[aria-pressed="true"] {
|
|
border-color: var(--accent-gold);
|
|
background: rgba(255, 215, 0, 0.2);
|
|
}
|
|
|
|
.category-group {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.category-item {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 4px 0;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.category-item:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.category-item.group-toggle {
|
|
margin-bottom: 6px;
|
|
padding-bottom: 6px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.category-item input[type="checkbox"] {
|
|
margin-right: 8px;
|
|
accent-color: var(--accent-gold);
|
|
}
|
|
|
|
.category-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-right: 8px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.category-item label {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
flex: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.category-count {
|
|
font-size: 10px;
|
|
color: #888;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
/* Emoji statt Icon-Grafik (Datei fehlt) - gleicher Platz wie .category-icon */
|
|
.category-symbol {
|
|
width: 16px;
|
|
margin-right: 8px;
|
|
font-size: 12px;
|
|
line-height: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Karte ohne Markerdaten */
|
|
.category-empty {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Hinweis unter der Liste: woher die Markerdaten stammen */
|
|
.category-source {
|
|
padding-top: 8px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
font-size: 10px;
|
|
line-height: 1.4;
|
|
color: #888;
|
|
}
|
|
|
|
/* Zoom indicator */
|
|
#zoom-indicator {
|
|
position: absolute;
|
|
bottom: 16px;
|
|
right: 16px;
|
|
padding: 8px 12px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Tooltip */
|
|
#tooltip {
|
|
position: absolute;
|
|
background: rgba(10, 10, 30, 0.95);
|
|
border: 1px solid rgba(255, 215, 0, 0.5);
|
|
border-radius: 6px;
|
|
padding: 8px 12px;
|
|
font-size: 12px;
|
|
color: #fff;
|
|
pointer-events: none;
|
|
max-width: 300px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
#tooltip .name {
|
|
font-weight: bold;
|
|
color: var(--accent-gold);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
#tooltip .category {
|
|
font-size: 10px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Utility classes */
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Scrollbar styling */
|
|
#category-panel::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
#category-panel::-webkit-scrollbar-track {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
#category-panel::-webkit-scrollbar-thumb {
|
|
background: rgba(100, 100, 150, 0.5);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------ */
|
|
/* Alle anzeigen / Alle verstecken */
|
|
/* ------------------------------------------------------------------ */
|
|
|
|
.category-bulk {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.category-bulk button {
|
|
flex: 1;
|
|
font-size: 11px;
|
|
padding: 5px 6px;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------ */
|
|
/* Taktiken */
|
|
/* ------------------------------------------------------------------ */
|
|
|
|
/* Zeichenebene ueber der Karte - faengt die Maus nur ab, wenn ein Werkzeug aktiv ist. */
|
|
#tactic-canvas {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#tactic-canvas.drawing {
|
|
pointer-events: auto;
|
|
cursor: crosshair;
|
|
}
|
|
|
|
#tactic-canvas.erasing {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#tactic-canvas.moving {
|
|
cursor: move;
|
|
}
|
|
|
|
#tactic-panel {
|
|
position: absolute;
|
|
top: 16px;
|
|
right: 90px; /* neben der Steuerleiste (80px) mit 10px Abstand */
|
|
width: 290px;
|
|
max-height: calc(100% - 90px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
#tactic-panel.collapsed .tp-body {
|
|
display: none;
|
|
}
|
|
|
|
.tp-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tp-head h3 {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
.tp-body {
|
|
margin-top: 8px;
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
button.tp-collapse {
|
|
background: none;
|
|
border: none;
|
|
padding: 0 4px;
|
|
font-size: 14px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
button.tp-collapse:hover {
|
|
background: none;
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
button.tp-btn {
|
|
font-size: 12px;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
/* "Gelöschte" (Papierkorb) im Kopf des Panels: dezenter als "+ Neu" */
|
|
button#tp-trash {
|
|
background: none;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
button#tp-trash:hover {
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
button.tp-icon {
|
|
background: none;
|
|
border: 1px solid transparent;
|
|
padding: 1px 5px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
button.tp-icon:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
button.tp-icon:disabled {
|
|
opacity: 0.3;
|
|
cursor: default;
|
|
}
|
|
|
|
button.tp-danger:hover:not(:disabled) {
|
|
color: #ff6b6b;
|
|
border-color: rgba(255, 107, 107, 0.5);
|
|
}
|
|
|
|
.tp-edit-only {
|
|
display: none !important;
|
|
}
|
|
|
|
#tactic-panel.can-edit .tp-edit-only {
|
|
display: flex !important;
|
|
}
|
|
|
|
.tp-empty,
|
|
.tp-message {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.tp-message {
|
|
color: #ff9b9b;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
button.tp-item {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
width: 100%;
|
|
margin-bottom: 4px;
|
|
padding: 6px 8px;
|
|
font-size: 13px;
|
|
text-align: left;
|
|
background: rgba(40, 40, 70, 0.6);
|
|
}
|
|
|
|
button.tp-item.active {
|
|
border-color: var(--accent-gold);
|
|
background: rgba(255, 215, 0, 0.12);
|
|
}
|
|
|
|
.tp-item-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tp-item-meta {
|
|
flex-shrink: 0;
|
|
font-size: 10px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Eintrag: oben Name + Kennzeichen, darunter Ersteller und Schritte */
|
|
button.tp-item {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 2px;
|
|
}
|
|
|
|
.tp-item-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.tp-item-badges {
|
|
display: inline-flex;
|
|
flex-shrink: 0;
|
|
gap: 4px;
|
|
}
|
|
|
|
button.tp-item.tp-item-official {
|
|
border-left: 3px solid var(--accent-gold);
|
|
}
|
|
|
|
button.tp-item.tp-item-recommended {
|
|
border-left: 3px solid #6fcf97;
|
|
}
|
|
|
|
.tp-group-title {
|
|
margin: 8px 0 4px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.tp-group-title:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.tp-badge {
|
|
display: inline-block;
|
|
padding: 1px 5px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 3px;
|
|
font-size: 10px;
|
|
line-height: 1.4;
|
|
white-space: nowrap;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.tp-badge-official {
|
|
border-color: rgba(255, 215, 0, 0.6);
|
|
background: rgba(255, 215, 0, 0.12);
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
.tp-badge-recommended {
|
|
border-color: rgba(111, 207, 151, 0.6);
|
|
background: rgba(111, 207, 151, 0.12);
|
|
color: #6fcf97;
|
|
}
|
|
|
|
.tp-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 4px 6px;
|
|
margin-top: 6px;
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.tp-highlight {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.tp-highlight.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.tp-highlight select {
|
|
flex: 1;
|
|
padding: 4px 6px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
background: rgba(30, 30, 60, 0.9);
|
|
color: var(--text-primary);
|
|
font: inherit;
|
|
}
|
|
|
|
.tp-detail {
|
|
margin-top: 10px;
|
|
padding-top: 10px;
|
|
border-top: 1px solid rgba(255, 215, 0, 0.3);
|
|
}
|
|
|
|
.tp-detail-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tp-detail-head strong {
|
|
font-size: 14px;
|
|
color: var(--accent-gold);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
/* Knoepfe rechts neben dem Namen: Kopieren (fuer alle) und die Bearbeiten-Knoepfe in einer
|
|
Gruppe - sonst rutscht der Kopieren-Knopf durch space-between in die Mitte. */
|
|
.tp-head-tools {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tp-desc {
|
|
margin-top: 6px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.tp-detail h4 {
|
|
margin: 10px 0 4px;
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.tp-steps {
|
|
list-style: none;
|
|
}
|
|
|
|
.tp-step {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 4px 6px;
|
|
border-radius: 4px;
|
|
border: 1px solid transparent;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tp-step:hover {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.tp-step.active {
|
|
border-color: var(--accent-gold);
|
|
background: rgba(255, 215, 0, 0.1);
|
|
}
|
|
|
|
.tp-step-no {
|
|
flex-shrink: 0;
|
|
width: 18px;
|
|
height: 18px;
|
|
line-height: 18px;
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
background: rgba(255, 215, 0, 0.2);
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
.tp-step-name {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tp-step-count {
|
|
font-size: 10px;
|
|
color: #888;
|
|
}
|
|
|
|
.tp-step-tools {
|
|
display: none;
|
|
}
|
|
|
|
.tp-step:hover .tp-step-tools,
|
|
.tp-step.active .tp-step-tools {
|
|
display: flex;
|
|
}
|
|
|
|
.tp-step-actions {
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.tp-check {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 10px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tp-check input {
|
|
accent-color: var(--accent-gold);
|
|
}
|
|
|
|
/* Live-Ansicht: wer gerade in der Taktik ist. Die Farbe je Mitglied kommt als --live-color. */
|
|
.tp-live {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 4px 6px;
|
|
margin-top: 8px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.tp-live.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.tp-live-state {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-weight: bold;
|
|
color: #6fcf97;
|
|
}
|
|
|
|
.tp-live-offline {
|
|
color: #f2c94c;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.tp-live-pulse {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #6fcf97;
|
|
animation: tp-live-pulse 1.6s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes tp-live-pulse {
|
|
0%, 100% { box-shadow: 0 0 0 0 rgba(111, 207, 151, 0.6); }
|
|
50% { box-shadow: 0 0 0 5px rgba(111, 207, 151, 0); }
|
|
}
|
|
|
|
.tp-live-hint {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
button.tp-live-user {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
max-width: 100%;
|
|
padding: 1px 7px 1px 5px;
|
|
border: 1px solid var(--live-color);
|
|
border-radius: 999px;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
color: var(--text-primary);
|
|
font-size: 11px;
|
|
line-height: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button.tp-live-user::before {
|
|
content: "";
|
|
flex-shrink: 0;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--live-color);
|
|
}
|
|
|
|
button.tp-live-user.drawing::before {
|
|
animation: tp-live-blink 0.8s ease-in-out infinite;
|
|
}
|
|
|
|
button.tp-live-user small {
|
|
color: var(--text-secondary);
|
|
font-size: 10px;
|
|
}
|
|
|
|
@keyframes tp-live-blink {
|
|
50% { opacity: 0.25; }
|
|
}
|
|
|
|
/* Punkte in der Schrittliste: wer ist hier, wer zeichnet hier gerade (blinkt) */
|
|
.tp-step-live {
|
|
display: inline-flex;
|
|
gap: 2px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.tp-step-live:empty {
|
|
display: none;
|
|
}
|
|
|
|
.tp-live-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--live-color);
|
|
}
|
|
|
|
.tp-live-dot.drawing {
|
|
animation: tp-live-blink 0.8s ease-in-out infinite;
|
|
}
|
|
|
|
.sb-live {
|
|
margin-top: 2px;
|
|
font-size: 11px;
|
|
color: #6fcf97;
|
|
}
|
|
|
|
.sb-live.hidden {
|
|
display: none;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.tp-live-pulse,
|
|
button.tp-live-user.drawing::before,
|
|
.tp-live-dot.drawing {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* Werkzeugleiste im Taktik-Panel - bleibt auch beim Einklappen sichtbar. Raster mit 7 gleich
|
|
grossen Feldern: zwei Reihen mit den 14 Werkzeugen, darunter Farbe, Strichstaerke/Groesse und beim
|
|
Kegel dessen Winkel (je 3 Felder breit). Passt ohne Umbruch-Luecken aufs Panel und aufs Handy. */
|
|
#tactic-toolbar {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
grid-auto-rows: 32px;
|
|
gap: 4px;
|
|
margin-top: 8px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid rgba(255, 215, 0, 0.3);
|
|
}
|
|
|
|
#tactic-toolbar.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#tactic-toolbar .tool {
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 100%;
|
|
padding: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 15px;
|
|
line-height: 1;
|
|
}
|
|
|
|
#tactic-toolbar .tool.active {
|
|
border-color: var(--accent-gold);
|
|
background: rgba(255, 215, 0, 0.2);
|
|
}
|
|
|
|
#tool-color {
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 100%;
|
|
padding: 3px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
background: rgba(50, 50, 80, 0.8);
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Das Farbfeld fuellt den Knopf ganz aus. Die Regeln bleiben getrennt: ein unbekanntes
|
|
Pseudo-Element macht sonst die ganze Regel ungueltig (Chrome kennt ::-moz-..., Firefox ::-webkit-... nicht). */
|
|
#tool-color::-webkit-color-swatch-wrapper {
|
|
padding: 0;
|
|
}
|
|
|
|
#tool-color::-webkit-color-swatch {
|
|
border: none;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
#tool-color::-moz-color-swatch {
|
|
border: none;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
#tool-width,
|
|
#tool-angle {
|
|
grid-column: span 3;
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 100%;
|
|
padding: 0 6px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
background: rgba(50, 50, 80, 0.8);
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
}
|
|
|
|
#tool-angle.hidden { display: none; }
|
|
|
|
/* Figuren des Raidplaners (Werkzeug ♟): Gruppen mit kleinen Knoepfen */
|
|
#token-palette {
|
|
margin-top: 6px;
|
|
padding: 6px;
|
|
border-radius: 6px;
|
|
background: rgba(0, 0, 0, 0.25);
|
|
max-height: 190px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#token-palette.hidden { display: none; }
|
|
|
|
.tk-group + .tk-group { margin-top: 5px; }
|
|
|
|
.tk-group-title {
|
|
margin-bottom: 3px;
|
|
font-size: 10px;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.tk-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
|
|
gap: 3px;
|
|
}
|
|
|
|
button.tk-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 36px;
|
|
padding: 0;
|
|
background: rgba(30, 30, 55, 0.8);
|
|
}
|
|
|
|
button.tk-item canvas {
|
|
width: 32px;
|
|
height: 32px;
|
|
cursor: pointer;
|
|
touch-action: auto;
|
|
}
|
|
|
|
button.tk-item.active {
|
|
border-color: var(--accent-gold);
|
|
background: rgba(255, 215, 0, 0.22);
|
|
}
|
|
|
|
/* Aktionen an der mit ✥ ausgewaehlten Zeichnung - sitzt ueber ihr */
|
|
#shape-actions {
|
|
position: absolute;
|
|
z-index: 3;
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 4px;
|
|
transform: translate(-50%, -100%);
|
|
}
|
|
|
|
#shape-actions.hidden { display: none; }
|
|
|
|
#shape-actions button {
|
|
padding: 3px 9px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
#shape-actions button.hidden { display: none; }
|
|
|
|
/* Schritt-Leiste unten mittig zwischen Kategorien-Panel (links, 300px) und
|
|
Zoom-Anzeige (rechts) - left/right plus margin auto zentriert sie in diesem Streifen. */
|
|
#step-bar {
|
|
position: absolute;
|
|
bottom: 16px;
|
|
left: 332px;
|
|
right: 100px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px 10px;
|
|
width: fit-content;
|
|
min-width: 240px;
|
|
max-width: 560px;
|
|
}
|
|
|
|
#step-bar button:disabled {
|
|
opacity: 0.3;
|
|
cursor: default;
|
|
}
|
|
|
|
#sb-play {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#sb-play[aria-pressed="true"] {
|
|
border-color: var(--accent-gold);
|
|
background: rgba(255, 215, 0, 0.25);
|
|
}
|
|
|
|
/* Dungeon-Karten und Arenen haben kein Kategorien-Panel - Schritt-Leiste und Hinweise mittig */
|
|
body:not(.map-kind-tiles) #step-bar,
|
|
body:not(.map-kind-tiles) #toast {
|
|
left: 100px;
|
|
}
|
|
|
|
.sb-text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.sb-title {
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
.sb-desc {
|
|
margin-top: 3px;
|
|
max-height: 60px;
|
|
overflow-y: auto;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
/* Eingabedialog */
|
|
#tactic-dialog {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
z-index: 2000;
|
|
}
|
|
|
|
#tactic-dialog form {
|
|
width: min(420px, calc(100% - 32px));
|
|
padding: 18px 20px;
|
|
}
|
|
|
|
#tactic-dialog h3 {
|
|
margin-bottom: 12px;
|
|
font-size: 16px;
|
|
color: var(--accent-gold);
|
|
}
|
|
|
|
.td-field {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.td-field input,
|
|
.td-field select,
|
|
.td-field textarea {
|
|
display: block;
|
|
width: 100%;
|
|
margin-top: 4px;
|
|
padding: 7px 9px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
background: rgba(30, 30, 60, 0.9);
|
|
color: var(--text-primary);
|
|
font: inherit;
|
|
font-size: 13px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.td-field input:focus,
|
|
.td-field select:focus,
|
|
.td-field textarea:focus {
|
|
outline: none;
|
|
border-color: var(--accent-gold);
|
|
}
|
|
|
|
.td-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
#td-submit {
|
|
border-color: var(--accent-gold);
|
|
background: rgba(255, 215, 0, 0.2);
|
|
}
|
|
|
|
/* Rueckfrage (confirmDialog) bzw. Hinweis ueber den Feldern */
|
|
.td-message {
|
|
margin-bottom: 12px;
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
color: var(--text-primary);
|
|
white-space: pre-line;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
/* Loeschen & Co.: roter Bestaetigungsknopf */
|
|
#td-submit.td-danger {
|
|
border-color: #ff6b6b;
|
|
background: rgba(255, 107, 107, 0.2);
|
|
color: #ffd0d0;
|
|
}
|
|
|
|
#td-submit.td-danger:hover {
|
|
background: rgba(255, 107, 107, 0.35);
|
|
}
|
|
|
|
/* Kurze Rueckmeldungen */
|
|
#toast {
|
|
position: absolute;
|
|
bottom: 96px;
|
|
left: 332px;
|
|
right: 100px;
|
|
margin: 0 auto;
|
|
width: fit-content;
|
|
max-width: 480px;
|
|
padding: 8px 14px;
|
|
border: 1px solid rgba(255, 215, 0, 0.5);
|
|
border-radius: 6px;
|
|
background: rgba(10, 10, 30, 0.95);
|
|
color: var(--text-primary);
|
|
font-size: 13px;
|
|
text-align: center;
|
|
z-index: 1500;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#toast.error {
|
|
border-color: #ff6b6b;
|
|
color: #ffb3b3;
|
|
}
|
|
|
|
/* Bei schmaler Karte stoesst der mittige Titel sonst an das Taktik-Panel. */
|
|
@media (max-width: 1100px) {
|
|
#title-bar {
|
|
left: 16px;
|
|
transform: none;
|
|
}
|
|
|
|
}
|
|
|
|
/* Handy: Fenster schmal und kompakt, damit von der Karte etwas uebrig bleibt. */
|
|
@media (max-width: 700px) {
|
|
#title-bar {
|
|
top: 8px;
|
|
left: 8px;
|
|
right: 64px;
|
|
padding: 2px;
|
|
}
|
|
|
|
#map-picker-btn {
|
|
width: 100%;
|
|
padding: 7px 10px;
|
|
}
|
|
|
|
#map-current-name {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 15px;
|
|
}
|
|
|
|
#map-picker { padding: 10px; }
|
|
.map-picker-panel { padding: 14px; }
|
|
.map-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
.map-picker-head { flex-wrap: wrap; gap: 8px; }
|
|
#map-picker-tabs { order: 3; width: 100%; margin: 0; }
|
|
.map-picker-tab { flex: 1; }
|
|
|
|
#zoom-controls {
|
|
top: 8px;
|
|
right: 8px;
|
|
padding: 4px;
|
|
}
|
|
|
|
#zoom-controls button {
|
|
width: 40px;
|
|
padding: 6px 0;
|
|
}
|
|
|
|
#tactic-panel {
|
|
top: 60px;
|
|
left: 8px;
|
|
right: 68px; /* Steuerleiste: 8 + 4 + 40 + 4 + 2 = 58px, dazu 10px Abstand */
|
|
width: auto;
|
|
max-height: 45%;
|
|
padding: 6px 8px;
|
|
}
|
|
|
|
#category-panel {
|
|
left: 8px;
|
|
bottom: 8px;
|
|
width: calc(100% - 16px);
|
|
max-height: 45%;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
#category-panel.collapsed {
|
|
width: auto;
|
|
}
|
|
|
|
#zoom-indicator {
|
|
display: none;
|
|
}
|
|
|
|
#step-bar {
|
|
left: 8px;
|
|
right: 8px;
|
|
bottom: 56px;
|
|
width: auto;
|
|
min-width: 0;
|
|
max-width: none;
|
|
}
|
|
|
|
#toast {
|
|
left: 8px;
|
|
right: 8px;
|
|
bottom: 120px;
|
|
}
|
|
|
|
body:not(.map-kind-tiles) #step-bar,
|
|
body:not(.map-kind-tiles) #toast {
|
|
left: 8px;
|
|
}
|
|
|
|
#token-palette { max-height: 120px; }
|
|
}
|
|
|
|
/* ---- Orte teilen / auswaehlen (LocationController) ---- */
|
|
#btn-share-location.active { background: var(--accent-gold); color: #1a1a2e; }
|
|
#map-canvas.picking { cursor: crosshair; }
|
|
|
|
#loc-banner {
|
|
position: absolute;
|
|
top: 72px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 8px 14px;
|
|
border-color: rgba(255, 215, 0, 0.55);
|
|
font-size: 14px;
|
|
white-space: nowrap;
|
|
z-index: 5;
|
|
}
|
|
#loc-banner button { padding: 4px 10px; font-size: 12px; }
|
|
|
|
#map-pin {
|
|
position: absolute;
|
|
z-index: 4;
|
|
pointer-events: none;
|
|
transform: translate(-50%, -100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
#map-pin .pin-dot {
|
|
position: relative;
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 50% 50% 50% 0;
|
|
transform: rotate(-45deg);
|
|
background: #e53935;
|
|
border: 3px solid #fff;
|
|
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
|
|
margin-bottom: 6px;
|
|
}
|
|
#map-pin .pin-dot::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 44px;
|
|
height: 44px;
|
|
margin: -22px 0 0 -22px;
|
|
border-radius: 50%;
|
|
border: 3px solid rgba(229, 57, 53, 0.7);
|
|
animation: pin-pulse 1.6s ease-out infinite;
|
|
}
|
|
@keyframes pin-pulse {
|
|
from { transform: scale(0.4); opacity: 1; }
|
|
to { transform: scale(1.6); opacity: 0; }
|
|
}
|
|
#map-pin .pin-label {
|
|
margin-bottom: 6px;
|
|
padding: 3px 9px;
|
|
border-radius: 6px;
|
|
background: rgba(10, 10, 30, 0.92);
|
|
border: 1px solid rgba(255, 215, 0, 0.6);
|
|
color: var(--accent-gold);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
#loc-panel {
|
|
position: absolute;
|
|
bottom: 24px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: min(440px, calc(100vw - 32px));
|
|
padding: 14px 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
z-index: 6;
|
|
border-color: rgba(255, 215, 0, 0.45);
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
|
|
}
|
|
#loc-panel h3 { font-size: 15px; color: var(--accent-gold); }
|
|
#loc-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-secondary); }
|
|
#loc-panel .loc-optional { opacity: 0.7; }
|
|
#loc-panel input {
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--border-color);
|
|
background: rgba(0, 0, 0, 0.35);
|
|
color: var(--text-primary);
|
|
font-size: 14px;
|
|
}
|
|
#loc-panel input:focus { outline: none; border-color: var(--accent-gold); }
|
|
.loc-where { font-size: 13px; color: var(--text-primary); }
|
|
.loc-link-row { display: flex; gap: 8px; }
|
|
.loc-link-row input { flex: 1; min-width: 0; font-size: 12px !important; }
|
|
.loc-primary {
|
|
padding: 8px 14px;
|
|
border-radius: 6px;
|
|
border: none;
|
|
background: var(--accent-gold);
|
|
color: #1a1a2e;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
}
|
|
.loc-primary:hover { filter: brightness(1.1); }
|
|
.loc-hint { font-size: 11px; color: var(--text-secondary); }
|
|
.loc-close { position: absolute; top: 8px; right: 10px; background: none; border: none; color: var(--text-secondary); font-size: 16px; cursor: pointer; }
|
|
|
|
/* Auswahl-Fenster (Kalender): keine Taktiken, mehr Platz */
|
|
.pick-mode #tactic-panel { display: none !important; }
|