- Add `formatBrowserTime()` and include ISO-8601 `expires_at` in box status JSON and `ExpiresAtISO` in the box view for browser-friendly rendering. - Refresh UI styling (switch to MonoCraft/PixelOperatorMono, tweak base font size) and treat `aria-disabled="true"` like `disabled` for consistent button states. - Introduce a clear-queue action with confirmation to reset upload state, unlock controls, and provide user feedback.feat(ui): add clear queue flow and expose ISO expiry - Add `formatBrowserTime()` and include ISO-8601 `expires_at` in box status JSON and `ExpiresAtISO` in the box view for browser-friendly rendering. - Refresh UI styling (switch to MonoCraft/PixelOperatorMono, tweak base font size) and treat `aria-disabled="true"` like `disabled` for consistent button states. - Introduce a clear-queue action with confirmation to reset upload state, unlock controls, and provide user feedback.
131 lines
2.8 KiB
CSS
131 lines
2.8 KiB
CSS
.win98-window {
|
|
display: flex;
|
|
flex-direction: column;
|
|
color: #000000;
|
|
background-color: #c0c0c0;
|
|
background-image: linear-gradient(180deg, rgba(255,255,255,.24), rgba(0,0,0,.06));
|
|
border-top: 1px solid #ffffff;
|
|
border-left: 1px solid #ffffff;
|
|
border-right: 1px solid #000000;
|
|
border-bottom: 1px solid #000000;
|
|
box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf, 5px 6px 0 rgba(0,0,0,.5);
|
|
}
|
|
|
|
.win98-titlebar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 22px;
|
|
margin: 2px;
|
|
padding: 2px 3px 2px 6px;
|
|
color: #ffffff;
|
|
background: var(--w98-blue-gradient);
|
|
background-size: 240% 100%;
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(0,0,0,.35);
|
|
user-select: none;
|
|
animation: titlebar-center-drift 34s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes titlebar-center-drift {
|
|
0% { background-position: 0% 50%; }
|
|
100% { background-position: 100% 50%; }
|
|
}
|
|
|
|
.win98-titlebar h1,
|
|
.win98-titlebar h2 {
|
|
min-width: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 14px;
|
|
line-height: 14px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.win98-titlebar-label {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
gap: 5px;
|
|
}
|
|
|
|
.win98-titlebar-icon {
|
|
flex: 0 0 auto;
|
|
width: 16px;
|
|
height: 16px;
|
|
object-fit: contain;
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
.win98-window-controls {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
gap: 2px;
|
|
}
|
|
|
|
.win98-control {
|
|
width: 16px;
|
|
height: 14px;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
color: #000000;
|
|
background: var(--w98-gray);
|
|
border-top: 1px solid #ffffff;
|
|
border-left: 1px solid #ffffff;
|
|
border-right: 1px solid #000000;
|
|
border-bottom: 1px solid #000000;
|
|
box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
|
|
font-family: inherit;
|
|
font-size: 12px;
|
|
line-height: 12px;
|
|
}
|
|
|
|
.win98-minimize {
|
|
align-items: start;
|
|
padding-top: 0;
|
|
line-height: 8px;
|
|
}
|
|
|
|
.win98-panel {
|
|
background: #ffffff;
|
|
border-top: 2px solid #808080;
|
|
border-left: 2px solid #808080;
|
|
border-right: 2px solid #ffffff;
|
|
border-bottom: 2px solid #ffffff;
|
|
}
|
|
|
|
.win98-statusbar {
|
|
display: grid;
|
|
gap: 4px;
|
|
height: 22px;
|
|
padding: 0 4px 4px;
|
|
font-size: 12px;
|
|
line-height: 12px;
|
|
}
|
|
|
|
.win98-statusbar span {
|
|
display: flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
padding: 0 5px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
border-top: 1px solid #808080;
|
|
border-left: 1px solid #808080;
|
|
border-right: 1px solid #ffffff;
|
|
border-bottom: 1px solid #ffffff;
|
|
}
|
|
|
|
.win98-menu {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
height: 22px;
|
|
padding: 0 8px;
|
|
font-size: 13px;
|
|
line-height: 13px;
|
|
}
|