diff --git a/index.html b/index.html index f1c68b4..633dc32 100644 --- a/index.html +++ b/index.html @@ -676,6 +676,57 @@ .fade-in { animation: fadeIn .2s ease forwards } + + .log-container { + position: relative; + /* Crucial: pins the loader to this div */ + width: 100%; + height: 400px; + border: 1px solid #333; + } + + /* The Overlay */ + .loading-overlay { + position: absolute; + inset: 0; + /* Modern shorthand for top, left, bottom, right: 0 */ + background: rgba(0, 0, 0, 0.7); + /* Dim the background */ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + z-index: 10; + /* Ensures it stays on top of the chart */ + color: white; + transition: opacity 0.3s ease; + visibility: hidden; + /* Hidden by default */ + opacity: 0; + } + + /* Show state */ + .loading-overlay.is-active { + visibility: visible; + opacity: 1; + } + + /* Simple Spinner Animation */ + .spinner { + width: 40px; + height: 40px; + border: 4px solid rgba(255, 255, 255, 0.3); + border-top-color: #3498db; + border-radius: 50%; + animation: spin 1s linear infinite; + margin-bottom: 10px; + } + + @keyframes spin { + to { + transform: rotate(360deg); + } + } @@ -694,7 +745,7 @@ - -
-
- - - - - - .* -
-
-
- - - - - - -
-
-
- - - +
+ +
+
+ + + - time range - + + .*
- -
-
- - -
- -
-
- - drag to zoom · right-click to reset +
+
+ + + + + + +
+
+
+ + + + + time range + +
+
- -
- - - - -
No log file loaded
-
Drag & drop a log file anywhere on the page or click below to browse
- -
+ +
+ +
+
+ + drag to zoom · right-click to reset +
+
-