refactor(css): trim app.css and unify pointer cursors

- Apply link cursor to buttons, clickable labels, and enabled .win98-button
- Reformat selector blocks for readability/consistency
- Remove upload window CSS from app.css to reduce bloat and keep styles scopedrefactor(css): trim app.css and unify pointer cursors

- Apply link cursor to buttons, clickable labels, and enabled .win98-button
- Reformat selector blocks for readability/consistency
- Remove upload window CSS from app.css to reduce bloat and keep styles scoped
This commit is contained in:
2026-04-27 16:49:44 +03:00
parent f06a2c544f
commit 9e6e48e68f
4 changed files with 434 additions and 416 deletions

View File

@@ -6,29 +6,31 @@
<title>Warpbox</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/static/css/app.css">
<link rel="stylesheet" href="/static/css/window.css">
<link rel="stylesheet" href="/static/css/upload.css">
</head>
<body>
<main>
<section class="upload-window" aria-labelledby="upload-window-title">
<header class="upload-titlebar">
<section class="win98-window upload-window" aria-labelledby="upload-window-title">
<header class="win98-titlebar upload-titlebar">
<h1 id="upload-window-title">WarpBox Upload</h1>
<div class="upload-window-controls" aria-hidden="true">
<span class="upload-control">_</span>
<span class="upload-control"></span>
<span class="upload-control">×</span>
<div class="win98-window-controls" aria-hidden="true">
<span class="win98-control">_</span>
<span class="win98-control"></span>
<span class="win98-control">×</span>
</div>
</header>
<form class="upload-form" action="/upload" method="post" enctype="multipart/form-data">
<div class="upload-menu" aria-hidden="true">
<div class="win98-menu upload-menu" aria-hidden="true">
<span>File</span>
<span>Edit</span>
<span>View</span>
<span>Help</span>
</div>
<div class="upload-panel">
<div class="win98-panel upload-panel">
<label class="upload-dropzone" for="file-upload">
<span class="upload-icon" aria-hidden="true"></span>
<span class="upload-primary">Drop file here</span>
@@ -52,7 +54,7 @@
<button class="win98-button" type="submit">Upload</button>
</footer>
<div class="upload-statusbar" aria-live="polite">
<div class="win98-statusbar upload-statusbar" aria-live="polite">
<span>Ready</span>
<span>WarpBox</span>
</div>