From 4ec6c84b4c0c43fa22078ed20c4a90d58dc3eadc Mon Sep 17 00:00:00 2001 From: 6d486f49 Date: Thu, 18 Jun 2026 00:07:47 -0400 Subject: [PATCH] Agent displayed data makes more sense and fixed load screen --- Chrono/Web/Pages/Agents.razor | 10 +-- Chrono/Web/Pages/Agents.razor.css | 17 ++++- Chrono/Web/wwwroot/css/app.css | 109 ++++++++++++++++++++++++++++++ Chrono/Web/wwwroot/index.html | 22 ++++-- 4 files changed, 146 insertions(+), 12 deletions(-) diff --git a/Chrono/Web/Pages/Agents.razor b/Chrono/Web/Pages/Agents.razor index 4f34735..5771d34 100644 --- a/Chrono/Web/Pages/Agents.razor +++ b/Chrono/Web/Pages/Agents.razor @@ -17,7 +17,7 @@ Height="700px" class="agents-grid"> - + - - - - + + + + diff --git a/Chrono/Web/Pages/Agents.razor.css b/Chrono/Web/Pages/Agents.razor.css index 5342394..32a5258 100644 --- a/Chrono/Web/Pages/Agents.razor.css +++ b/Chrono/Web/Pages/Agents.razor.css @@ -81,8 +81,21 @@ color: var(--text-primary); } -.agents-page ::deep .k-pager-nav { - color: var(--text-secondary); +.agents-page ::deep .k-pager-wrap { + color: #e8e8f0; +} + +.agents-page ::deep .k-pager-nav, +.agents-page ::deep .k-pager-numbers, +.agents-page ::deep .k-pager-numbers .k-link, +.agents-page ::deep .k-pager-input, +.agents-page ::deep .k-pager-info { + color: #e8e8f0; +} + +.agents-page ::deep .k-pager-nav:hover, +.agents-page ::deep .k-pager-numbers .k-link:hover { + color: #ffffff; } .agents-header { diff --git a/Chrono/Web/wwwroot/css/app.css b/Chrono/Web/wwwroot/css/app.css index 52062ad..244e500 100644 --- a/Chrono/Web/wwwroot/css/app.css +++ b/Chrono/Web/wwwroot/css/app.css @@ -116,3 +116,112 @@ a, .btn-link { border-color: var(--border); color: var(--text-secondary); } + +/* ── Loading Screen ── */ +.loading-screen { + position: fixed; + inset: 0; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + background: radial-gradient(ellipse at center, #141428 0%, #0b0b1a 100%); + gap: 0.75rem; + z-index: 9999; +} + +.loading-content { + position: relative; + width: 5rem; + height: 5rem; + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 0.5rem; +} + +.loading-ring { + width: 100%; + height: 100%; + transform: rotate(-90deg); + position: absolute; +} + +.ring-track { + fill: none; + stroke: var(--border); + stroke-width: 5; +} + +.ring-fill { + fill: none; + stroke: var(--accent); + stroke-width: 5; + stroke-linecap: round; + stroke-dasharray: 263.9; + stroke-dashoffset: calc(263.9 - (263.9 * var(--blazor-load-percentage, 0%)) / 100); + transition: stroke-dashoffset 0.2s ease; + filter: drop-shadow(0 0 6px var(--accent-glow)); +} + +.loading-icon { + font-size: 1.5rem; + color: var(--accent); + animation: loading-pulse 1.5s ease-in-out infinite; + z-index: 1; +} + +@keyframes loading-pulse { + 0%, 100% { transform: scale(1); opacity: 0.7; } + 50% { transform: scale(1.15); opacity: 1; } +} + +.loading-title { + font-size: 1.4rem; + font-weight: 700; + margin: 0; + letter-spacing: -0.02em; + background: linear-gradient(135deg, #e8e8f0 0%, #6c63ff 100%); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-clip: text; +} + +.loading-subtitle { + font-size: 0.8rem; + color: var(--text-muted); + margin: 0; + letter-spacing: 0.15em; + text-transform: uppercase; +} + +.loading-bar { + width: 12rem; + margin-top: 0.5rem; +} + +.loading-bar-track { + width: 100%; + height: 3px; + background: var(--border); + border-radius: 2px; + overflow: hidden; +} + +.loading-bar-fill { + height: 100%; + width: calc(var(--blazor-load-percentage, 0%)); + background: linear-gradient(90deg, var(--accent), #8b83ff); + border-radius: 2px; + transition: width 0.2s ease; +} + +.loading-status { + font-size: 0.8rem; + color: var(--text-muted); + margin: 0; +} + +.loading-status::after { + content: var(--blazor-load-percentage-text, "Loading..."); +} diff --git a/Chrono/Web/wwwroot/index.html b/Chrono/Web/wwwroot/index.html index 6037883..74e6b4c 100644 --- a/Chrono/Web/wwwroot/index.html +++ b/Chrono/Web/wwwroot/index.html @@ -21,11 +21,23 @@
- - - - -
+
+
+ + + + +
+
+

Chrono CCG

+

Card Gallery

+
+
+
+
+
+

+