Commit ·
78ddef6
1
Parent(s): c464220
Give input fields real contrast, not a subtle tint
Browse filesPrevious fix added a border but kept the fill at paper-soft (#fbf9f4)
inside a paper (#ffffff) card — a ~4-unit delta per channel, invisible
at normal screen brightness. Introduces a dedicated --field token
(#ece4d2) with a visible border-strong outline and inset shadow so the
composer and script-import textareas read unambiguously as inputs.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- static/styles.css +13 -4
static/styles.css
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
--cream: #f7f4ee;
|
| 3 |
--paper: #ffffff;
|
| 4 |
--paper-soft: #fbf9f4;
|
|
|
|
| 5 |
--border: #e7e1d3;
|
| 6 |
--border-strong: #d8cfb9;
|
| 7 |
--ink: #262019;
|
|
@@ -216,9 +217,10 @@ input[type="range"] { flex: 1; accent-color: var(--accent); }
|
|
| 216 |
.composer-row { display: flex; gap: 10px; align-items: flex-end; }
|
| 217 |
.composer textarea {
|
| 218 |
flex: 1;
|
| 219 |
-
border: 1px solid var(--border);
|
| 220 |
resize: none;
|
| 221 |
-
background: var(--
|
|
|
|
| 222 |
border-radius: var(--radius-sm);
|
| 223 |
padding: 10px 12px;
|
| 224 |
font-size: 1rem;
|
|
@@ -492,14 +494,21 @@ dialog::backdrop { background: rgba(38, 32, 25, 0.35); }
|
|
| 492 |
.dialog-body p { font-size: 0.82rem; color: var(--ink-dim); margin: 0 0 14px; }
|
| 493 |
.dialog-body textarea {
|
| 494 |
width: 100%;
|
| 495 |
-
border: 1px solid var(--border);
|
| 496 |
border-radius: var(--radius-sm);
|
| 497 |
padding: 10px;
|
| 498 |
font-size: 0.86rem;
|
| 499 |
-
background: var(--
|
|
|
|
| 500 |
resize: vertical;
|
| 501 |
color: var(--ink);
|
| 502 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 503 |
.dialog-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; }
|
| 504 |
.dialog-actions input[type="file"] { font-size: 0.78rem; max-width: 190px; }
|
| 505 |
|
|
|
|
| 2 |
--cream: #f7f4ee;
|
| 3 |
--paper: #ffffff;
|
| 4 |
--paper-soft: #fbf9f4;
|
| 5 |
+
--field: #ece4d2;
|
| 6 |
--border: #e7e1d3;
|
| 7 |
--border-strong: #d8cfb9;
|
| 8 |
--ink: #262019;
|
|
|
|
| 217 |
.composer-row { display: flex; gap: 10px; align-items: flex-end; }
|
| 218 |
.composer textarea {
|
| 219 |
flex: 1;
|
| 220 |
+
border: 1px solid var(--border-strong);
|
| 221 |
resize: none;
|
| 222 |
+
background: var(--field);
|
| 223 |
+
box-shadow: inset 0 1px 3px rgba(38, 32, 25, 0.08);
|
| 224 |
border-radius: var(--radius-sm);
|
| 225 |
padding: 10px 12px;
|
| 226 |
font-size: 1rem;
|
|
|
|
| 494 |
.dialog-body p { font-size: 0.82rem; color: var(--ink-dim); margin: 0 0 14px; }
|
| 495 |
.dialog-body textarea {
|
| 496 |
width: 100%;
|
| 497 |
+
border: 1px solid var(--border-strong);
|
| 498 |
border-radius: var(--radius-sm);
|
| 499 |
padding: 10px;
|
| 500 |
font-size: 0.86rem;
|
| 501 |
+
background: var(--field);
|
| 502 |
+
box-shadow: inset 0 1px 3px rgba(38, 32, 25, 0.08);
|
| 503 |
resize: vertical;
|
| 504 |
color: var(--ink);
|
| 505 |
}
|
| 506 |
+
.dialog-body textarea:focus {
|
| 507 |
+
outline: none;
|
| 508 |
+
border-color: var(--accent);
|
| 509 |
+
background: var(--paper);
|
| 510 |
+
box-shadow: 0 0 0 3px var(--accent-soft);
|
| 511 |
+
}
|
| 512 |
.dialog-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; }
|
| 513 |
.dialog-actions input[type="file"] { font-size: 0.78rem; max-width: 190px; }
|
| 514 |
|