diff --git a/assets/css/style.css b/assets/css/style.css index 634b3a8..5ed3ead 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -6724,10 +6724,35 @@ button.gear-guide-skill:hover { border-color: var(--gold); transform: translateY .gear-guide-hotbar-note { font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; } .gear-guide-subhead { margin: 1rem 0 0.5rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; } .gear-guide-subhead .text-muted { text-transform: none; letter-spacing: 0; font-weight: 400; } -.gear-guide-macro { margin: 0; padding: 0; list-style: none; counter-reset: macro; display: flex; flex-direction: column; gap: 0.35rem; } -.gear-guide-macro li { counter-increment: macro; display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; } -.gear-guide-macro li::before { content: counter(macro); min-width: 1.2rem; color: var(--text-muted); font-size: 0.78rem; text-align: right; } -.gear-guide-macro-delay { margin-left: auto; font-size: 0.78rem; } +/* Makro wie die Liste im Spiel: grosse Nummer, Skill mit Tasten-Abzeichen und Stufe, Verzoegerung auf der Trennlinie */ +.gear-guide-macro { + margin: 0; padding: 0.6rem 0.9rem 0.4rem; list-style: none; counter-reset: macro; + border-radius: 10px; background: linear-gradient(180deg, #23272f, #1c2027); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); +} +.gear-guide-macro li { position: relative; counter-increment: macro; display: flex; flex-direction: column; align-items: center; padding-top: 0.5rem; } +.gear-guide-macro li::before { content: counter(macro); position: absolute; left: 0.2rem; top: 1.4rem; color: #d8cdb4; font-size: 2rem; font-weight: 700; line-height: 1; } +.gear-guide-macro-skill { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; max-width: calc(100% - 5rem); text-align: center; } +.gear-guide-macro-skill strong { font-size: 0.95rem; } +.gear-guide-macro-skill small { font-size: 0.75rem; line-height: 1.3; } +.gear-guide-macro-icon { + position: relative; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #0b0d11; border-radius: 3px; + background: #12151b; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08); overflow: hidden; +} +.gear-guide-macro-icon img { width: 100%; height: 100%; object-fit: cover; } +.gear-guide-macro-icon .gear-macro-lv { display: none; } +.gear-guide-macro-icon .gear-macro-initial { font-size: 1.6rem; color: var(--text-muted); } +.gear-guide-macro-badge { position: absolute; left: 2px; top: 2px; } +.gear-guide-macro .gear-guide-macro-badge .gear-macro-key { + min-width: 15px; height: 15px; padding: 0 2px; border: none; border-radius: 2px; background: rgba(0, 0, 0, 0.85); color: #fff; font-size: 0.68rem; font-weight: 700; line-height: 15px; +} +.gear-guide-macro .gear-guide-macro-badge .gear-macro-key svg { width: 8px; height: 11px; } +.gear-guide-macro-level { position: absolute; right: 3px; bottom: 1px; color: #fff; font-size: 0.78rem; font-weight: 700; text-shadow: 0 0 3px #000, 0 0 2px #000; } +.gear-guide-macro-delay { + display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; margin: 0.55rem 0 0.25rem; + color: #e8e8e8; font-size: 0.85rem; font-weight: 600; +} +.gear-guide-macro-delay::before, .gear-guide-macro-delay::after { content: ''; flex: 1 1 auto; height: 1px; background: rgba(255, 255, 255, 0.12); } +.gear-guide-macro-delay b { min-width: 4.5rem; padding: 0.15rem 0.6rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 3px; background: #14171d; text-align: center; } .gear-guide-note-row { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid var(--border); } .gear-guide-note-row:last-child { border-bottom: 0; } .gear-guide-note-fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.4rem; } @@ -6781,13 +6806,16 @@ button.gear-guide-skill:hover { border-color: var(--gold); transform: translateY .gear-guide-dv-tab:hover { border-color: var(--gold); background: rgba(201, 162, 39, 0.07); color: var(--text); box-shadow: none; } .gear-guide-dv-tab.is-active { border-color: var(--gold); background: rgba(201, 162, 39, 0.13); } .gear-guide-dv-tab.is-active strong { color: var(--gold); } -.gear-guide-dv-pane { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; margin-bottom: 1rem; } +.gear-guide-dv-pane { display: grid; grid-template-columns: minmax(0, 600px) minmax(220px, 320px); justify-content: center; gap: 1.25rem; align-items: start; margin-bottom: 1rem; } .gear-guide-dv-pane[hidden] { display: none; } -.gear-guide-dv-board { width: min(100%, 820px); } +.gear-guide-dv-board { width: 100%; } .gear-guide-dv-board .gear-dv-grid { border: 1px solid rgba(201, 162, 39, 0.18); } -.gear-guide-dv-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; gap: 0 2rem; width: min(100%, 820px); } -.gear-guide-dv-side > .gear-skills-kind, .gear-guide-dv-side > .gear-dv-count { grid-column: 1 / -1; } -.gear-guide-dv-side .gear-skills-kind { margin-top: 0; } +.gear-guide-dv-side-head { margin: 0 0 0.3rem; text-align: center; } +.gear-guide-dv-side-head strong { display: block; color: var(--gold); font-size: 1.05rem; } +.gear-guide-dv-side-head .text-muted { font-size: 0.8rem; } +.gear-guide-dv-effects { position: relative; margin: 1rem 0 0.7rem; padding-bottom: 0.55rem; text-align: center; font-size: 0.95rem; font-weight: 600; color: var(--text); } +.gear-guide-dv-effects::after { content: '✦'; position: absolute; left: 0; right: 0; bottom: -0.45rem; color: #c8cdd8; font-size: 0.7rem; text-align: center; background: linear-gradient(90deg, transparent, rgba(200, 205, 216, 0.35) 30%, rgba(200, 205, 216, 0.35) 70%, transparent) center / 100% 1px no-repeat; } +.gear-guide-dv-side .gear-plan-skill-bonus span { color: #4fd3e6; text-decoration: underline; text-underline-offset: 2px; } .gear-guide-dv-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0 0 0.8rem; padding: 0; list-style: none; color: var(--text-muted); font-size: 0.8rem; } .gear-guide-dv-legend li { display: flex; align-items: center; gap: 0.35rem; } .gear-guide-dv-total { border-top: 1px solid var(--border); padding-top: 0.6rem; } @@ -6798,6 +6826,10 @@ button.gear-guide-skill:hover { border-color: var(--gold); transform: translateY .gear-guide-gear-stat { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.6rem 0.7rem; border: 1px solid var(--border); border-radius: 10px; background: rgba(0, 0, 0, 0.22); min-width: 0; } .gear-guide-gear-stat-label { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gear-guide-gear-stat strong { font-size: 1.2rem; white-space: nowrap; line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; } +@media (max-width: 900px) { + .gear-guide-dv-pane { grid-template-columns: minmax(0, 1fr); } + .gear-guide-dv-board { width: min(100%, 600px); justify-self: center; } +} .gear-guide-gear-stat small { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; } .gear-guide-gear-bar { display: block; height: 4px; margin-top: 0.2rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; } .gear-guide-gear-bar i { display: block; height: 100%; border-radius: inherit; background: var(--gold); } @@ -8026,9 +8058,9 @@ button.gear-tab.is-active, button.gear-tab.is-active:hover { background: rgba(20 .gear-dv-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; } /* Jedes Brett gleich gross und mittig (11x11, 13x13 oder 15x15 Felder auf derselben Flaeche, die Felder passen sich an), die Werte des Bretts darunter - so aendert nichts neben dem Brett dessen Groesse */ -.gear-dv-board-head { width: min(100%, 860px); margin: 0 auto; } +.gear-dv-board-head { width: min(100%, 760px); margin: 0 auto; } .gear-dv-layout { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 0.6rem; } -.gear-dv-scroll { width: min(100%, 860px); overflow-x: auto; } +.gear-dv-scroll { width: min(100%, 760px); overflow-x: auto; } .gear-dv-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); @@ -8077,19 +8109,23 @@ label.gear-dv-node.is-open:hover .gear-dv-cell, label.gear-dv-node.is-on:hover . .rune-active { --rune-off: url('../images/daevanion/active-off.png'); --rune-on: url('../images/daevanion/active-on.png'); --rune-glow: rgba(80, 150, 255, 0.6); } .rune-unique { --rune-off: url('../images/daevanion/unique-off.png'); --rune-on: url('../images/daevanion/unique-on.png'); --rune-glow: rgba(255, 140, 50, 0.65); } .gear-dv-node[class*=" rune-"] .gear-dv-cell { - width: 94%; height: 94%; border: none; border-radius: 14%; + width: 82%; height: 82%; border: none; border-radius: 14%; background: var(--rune-off) center / contain no-repeat; box-shadow: none; } .gear-dv-node[class*=" rune-"].is-on .gear-dv-cell { background-image: var(--rune-on); box-shadow: 0 0 7px var(--rune-glow); } .gear-dv-node[class*=" rune-"].is-open .gear-dv-cell { box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.55), 0 0 6px rgba(201, 162, 39, 0.25); filter: brightness(1.3); } label.gear-dv-node[class*=" rune-"]:hover .gear-dv-cell { filter: brightness(1.35); } -.gear-dv-node.rune-unique .gear-dv-cell { width: 100%; height: 100%; } +.gear-dv-node.rune-unique .gear-dv-cell { width: 88%; height: 88%; } +/* Startfeld: Emblem der Klasse im Goldrahmen */ +.gear-dv-node.is-start .gear-dv-cell { width: 86%; height: 86%; border: 2px solid #c9a227; border-radius: 4px; background: radial-gradient(circle, #1d3a52, #0c1420 75%); box-shadow: 0 0 10px rgba(201, 162, 39, 0.45), inset 0 0 6px rgba(0, 0, 0, 0.7); } +.gear-dv-node.is-start .gear-dv-cell img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 0 3px rgba(140, 200, 255, 0.6)); } +.gear-dv-node.is-start:not(.is-on) .gear-dv-cell img { filter: none; } /* Bilder der aktiven Runen schon vorab laden, damit beim Anklicken nichts flackert */ .gear-dv-grid { position: relative; } .gear-dv-grid::before { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; background: url('../images/daevanion/common-on.png'), url('../images/daevanion/passive-on.png'), url('../images/daevanion/active-on.png'), url('../images/daevanion/unique-on.png'); } .gear-dv-node.link-r::after { left: 50%; top: calc(50% - 1px); width: 100%; height: 2px; } .gear-dv-node.link-d::before { top: 50%; left: calc(50% - 1px); width: 2px; height: 100%; } -.gear-dv-side { width: min(100%, 860px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; align-items: start; font-size: 0.88rem; } +.gear-dv-side { width: min(100%, 760px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; align-items: start; font-size: 0.88rem; } .gear-dv-count { grid-column: 1 / -1; margin: 0 0 0.4rem; color: var(--text-muted); } .gear-dv-count strong { color: var(--gold); } .gear-dv-summary { position: static; margin-top: 1.1rem; } diff --git a/includes/gear_guide.php b/includes/gear_guide.php index ada55a5..128eba2 100644 --- a/includes/gear_guide.php +++ b/includes/gear_guide.php @@ -751,13 +751,32 @@ function gear_render_guide_tab(array $set, bool $isOwn, array $slots, array $pla
= e($board['title']) ?> = (int) $boardTotals['count'] ?> von = (int) $boardTotals['total'] ?> Feldern · ab Stufe = (int) $board['need'] ?>
+ +