Applicant archive
-Select a file on the left to preview it here.
+Select the ZIP file, then choose a file on the left to preview it here.
+ Download current filediff --git a/content.js b/content.js index 42dfbf6..68d8057 100644 --- a/content.js +++ b/content.js @@ -244,6 +244,11 @@ function createApplicantsIndexHtml() { min-height: 100vh; } + button, + input { + font: inherit; + } + .layout { display: flex; min-height: 100vh; @@ -281,6 +286,25 @@ function createApplicantsIndexHtml() { color: #475569; } + .controls { + display: grid; + gap: 0.75rem; + margin-bottom: 1rem; + padding: 1rem; + border: 1px solid #e2e8f0; + border-radius: 0.75rem; + background: #f8fafc; + } + + .controls p { + margin: 0; + color: #475569; + } + + .controls input[type="file"] { + width: 100%; + } + .viewer { flex: 1; width: 100%; @@ -288,16 +312,6 @@ function createApplicantsIndexHtml() { background: #e2e8f0; } - .placeholder { - display: flex; - align-items: center; - justify-content: center; - height: 100%; - padding: 2rem; - color: #475569; - text-align: center; - } - .applicant-card { margin-bottom: 1rem; padding: 1rem; @@ -343,6 +357,15 @@ function createApplicantsIndexHtml() { text-decoration: underline; } + .viewer-download { + color: #0f6cbd; + text-decoration: none; + } + + .viewer-download:hover { + text-decoration: underline; + } + .file-list-title { margin: 1rem 0 0.5rem; font-size: 0.95rem; @@ -378,18 +401,33 @@ function createApplicantsIndexHtml() {
Select a file on the left to preview it here.
+Select the ZIP file, then choose a file on the left to preview it here.
+ Download current file