Spaces:
Sleeping
Sleeping
deploy rater (Docker/FastAPI): registration + completeness gate + /api/submit → dataset
Browse files- static/index.html +6 -5
static/index.html
CHANGED
|
@@ -139,9 +139,9 @@
|
|
| 139 |
font-weight: 600; }
|
| 140 |
.case-header .case-counter { color: var(--muted); font-size: 12px; }
|
| 141 |
.prompt-box { background: var(--panel); border: 1px solid var(--border); border-radius: 6px;
|
| 142 |
-
padding:
|
| 143 |
.prompt-box .label { font-size: 10px; text-transform: uppercase; color: var(--muted);
|
| 144 |
-
letter-spacing: 0.5px; margin-bottom:
|
| 145 |
/* Highlight imperative verbs + control directives (Add / Use / Make ...) so
|
| 146 |
raters can spot what controllability they should be scoring against. */
|
| 147 |
.ctrl { color: var(--bad); font-weight: 700; }
|
|
@@ -186,11 +186,12 @@
|
|
| 186 |
border-color: var(--accent); font-weight: 700; }
|
| 187 |
.video-tile { display: flex; flex-direction: column; gap: 6px; }
|
| 188 |
.video-tile.hidden { display: none; }
|
| 189 |
-
/*
|
| 190 |
-
|
|
|
|
| 191 |
.video-frame { position: relative; background: #000; border: 1px solid var(--border);
|
| 192 |
border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9;
|
| 193 |
-
max-height:
|
| 194 |
.video-frame video { width: 100%; height: 100%; display: block; background: #000; }
|
| 195 |
.video-frame .empty-state { position: absolute; inset: 0; display: flex;
|
| 196 |
flex-direction: column; align-items: center; justify-content: center;
|
|
|
|
| 139 |
font-weight: 600; }
|
| 140 |
.case-header .case-counter { color: var(--muted); font-size: 12px; }
|
| 141 |
.prompt-box { background: var(--panel); border: 1px solid var(--border); border-radius: 6px;
|
| 142 |
+
padding: 14px 16px; line-height: 1.7; font-size: 15px; flex: 1; min-width: 280px; }
|
| 143 |
.prompt-box .label { font-size: 10px; text-transform: uppercase; color: var(--muted);
|
| 144 |
+
letter-spacing: 0.5px; margin-bottom: 8px; }
|
| 145 |
/* Highlight imperative verbs + control directives (Add / Use / Make ...) so
|
| 146 |
raters can spot what controllability they should be scoring against. */
|
| 147 |
.ctrl { color: var(--bad); font-weight: 700; }
|
|
|
|
| 186 |
border-color: var(--accent); font-weight: 700; }
|
| 187 |
.video-tile { display: flex; flex-direction: column; gap: 6px; }
|
| 188 |
.video-tile.hidden { display: none; }
|
| 189 |
+
/* Cap the video size so the prompt-box (flex-growing below) gets the bulk
|
| 190 |
+
of the left pane. Width is also capped at 540 px so it doesn't dominate
|
| 191 |
+
the column on a 50/50 split with a wide window. */
|
| 192 |
.video-frame { position: relative; background: #000; border: 1px solid var(--border);
|
| 193 |
border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9;
|
| 194 |
+
max-height: 30vh; max-width: 540px; align-self: start; }
|
| 195 |
.video-frame video { width: 100%; height: 100%; display: block; background: #000; }
|
| 196 |
.video-frame .empty-state { position: absolute; inset: 0; display: flex;
|
| 197 |
flex-direction: column; align-items: center; justify-content: center;
|