372 lines
7.2 KiB
CSS
372 lines
7.2 KiB
CSS
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background: #111;
|
|
color: #e8e8e8;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* ── Layout ──────────────────────────────────────────────────────────── */
|
|
|
|
.view {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
/* ── Settings ────────────────────────────────────────────────────────── */
|
|
|
|
.settings-view h1 {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
margin-bottom: 2rem;
|
|
color: #fff;
|
|
}
|
|
|
|
.card {
|
|
background: #1e1e1e;
|
|
border: 1px solid #333;
|
|
border-radius: 12px;
|
|
padding: 2rem;
|
|
width: 100%;
|
|
max-width: 480px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.2rem;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
}
|
|
|
|
label {
|
|
font-size: 0.8rem;
|
|
color: #999;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="date"],
|
|
textarea {
|
|
background: #2a2a2a;
|
|
border: 1px solid #444;
|
|
border-radius: 6px;
|
|
color: #e8e8e8;
|
|
font-size: 0.95rem;
|
|
padding: 0.6rem 0.75rem;
|
|
width: 100%;
|
|
outline: none;
|
|
transition: border-color 0.15s;
|
|
}
|
|
|
|
input[type="text"]:focus,
|
|
input[type="date"]:focus,
|
|
textarea:focus {
|
|
border-color: #666;
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
min-height: 90px;
|
|
font-family: monospace;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.error-msg {
|
|
color: #f87171;
|
|
font-size: 0.85rem;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ── Buttons ─────────────────────────────────────────────────────────── */
|
|
|
|
.btn {
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
padding: 0.7rem 1.4rem;
|
|
transition: opacity 0.15s, transform 0.1s;
|
|
}
|
|
|
|
.btn:active { transform: scale(0.97); }
|
|
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
|
|
|
|
.btn-primary {
|
|
background: #3b82f6;
|
|
color: #fff;
|
|
width: 100%;
|
|
padding: 0.85rem;
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) { opacity: 0.88; }
|
|
|
|
.btn-secondary {
|
|
background: #2a2a2a;
|
|
border: 1px solid #444;
|
|
color: #e8e8e8;
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) { background: #333; }
|
|
|
|
/* ── Downloading ─────────────────────────────────────────────────────── */
|
|
|
|
.downloading-view {
|
|
gap: 1.2rem;
|
|
text-align: center;
|
|
max-width: 480px;
|
|
}
|
|
|
|
.downloading-view h2 { font-size: 1.4rem; }
|
|
|
|
.folder-label {
|
|
font-family: monospace;
|
|
font-size: 0.85rem;
|
|
color: #999;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 100%;
|
|
max-width: 360px;
|
|
height: 8px;
|
|
background: #2a2a2a;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: #3b82f6;
|
|
border-radius: 4px;
|
|
transition: width 0.4s ease;
|
|
}
|
|
|
|
.progress-indeterminate {
|
|
width: 40%;
|
|
animation: slide 1.4s infinite ease-in-out;
|
|
}
|
|
|
|
@keyframes slide {
|
|
0% { transform: translateX(-100%); }
|
|
100% { transform: translateX(350%); }
|
|
}
|
|
|
|
.progress-text {
|
|
font-size: 0.85rem;
|
|
color: #888;
|
|
}
|
|
|
|
/* ── Viewer ──────────────────────────────────────────────────────────── */
|
|
|
|
.viewer-view {
|
|
padding: 0;
|
|
justify-content: stretch;
|
|
}
|
|
|
|
.viewer-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.7rem 1.2rem;
|
|
background: #1a1a1a;
|
|
border-bottom: 1px solid #2a2a2a;
|
|
flex-shrink: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.folder-info {
|
|
font-size: 0.85rem;
|
|
color: #aaa;
|
|
}
|
|
|
|
.photo-progress {
|
|
font-size: 0.85rem;
|
|
color: #aaa;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.viewer-image {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
position: relative;
|
|
background: #0d0d0d;
|
|
}
|
|
|
|
.viewer-image img.already-accepted {
|
|
box-shadow: 0 0 0 4px #22c55e;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.already-accepted-badge {
|
|
position: absolute;
|
|
top: 1rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: #15803d;
|
|
color: #dcfce7;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
padding: 0.3rem 0.85rem;
|
|
border-radius: 999px;
|
|
z-index: 10;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.viewer-image img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
|
|
.loading-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: rgba(13, 13, 13, 0.7);
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
}
|
|
|
|
.upcoming-strip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.5rem 1.5rem;
|
|
background: #161616;
|
|
border-top: 1px solid #2a2a2a;
|
|
flex-shrink: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.upcoming-label {
|
|
font-size: 0.7rem;
|
|
color: #555;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.upcoming-thumbs {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.upcoming-thumb {
|
|
width: 64px;
|
|
height: 64px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
border: 1px solid #333;
|
|
opacity: 0.7;
|
|
transition: opacity 0.15s;
|
|
}
|
|
|
|
.upcoming-thumb:hover { opacity: 1; }
|
|
|
|
.viewer-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1.5rem;
|
|
padding: 1rem 1.5rem;
|
|
background: #1a1a1a;
|
|
border-top: 1px solid #2a2a2a;
|
|
flex-shrink: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.btn-ignore {
|
|
background: #7f1d1d;
|
|
color: #fca5a5;
|
|
min-width: 130px;
|
|
}
|
|
|
|
.btn-ignore:hover:not(:disabled) { background: #991b1b; }
|
|
|
|
.btn-remind {
|
|
background: #78350f;
|
|
color: #fcd34d;
|
|
min-width: 130px;
|
|
}
|
|
|
|
.btn-remind:hover:not(:disabled) { background: #92400e; }
|
|
|
|
.btn-accept {
|
|
background: #14532d;
|
|
color: #86efac;
|
|
min-width: 130px;
|
|
}
|
|
|
|
.btn-accept:hover:not(:disabled) { background: #166534; }
|
|
|
|
/* ── Done ────────────────────────────────────────────────────────────── */
|
|
|
|
.done-view {
|
|
gap: 1.2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.done-view h2 { font-size: 1.6rem; }
|
|
|
|
.done-view p { color: #999; }
|
|
|
|
.done-view code {
|
|
background: #2a2a2a;
|
|
border: 1px solid #444;
|
|
border-radius: 6px;
|
|
display: inline-block;
|
|
font-size: 0.85rem;
|
|
padding: 0.4rem 0.75rem;
|
|
color: #86efac;
|
|
word-break: break-all;
|
|
max-width: 480px;
|
|
}
|
|
|
|
/* ── Keyboard hint ───────────────────────────────────────────────────── */
|
|
|
|
.key-hints {
|
|
display: flex;
|
|
gap: 1.2rem;
|
|
justify-content: center;
|
|
margin-top: 0.3rem;
|
|
}
|
|
|
|
.key-hint {
|
|
font-size: 0.75rem;
|
|
color: #555;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
kbd {
|
|
background: #2a2a2a;
|
|
border: 1px solid #444;
|
|
border-radius: 4px;
|
|
font-size: 0.7rem;
|
|
padding: 0.15rem 0.4rem;
|
|
color: #999;
|
|
}
|