Fix input background override

- Remove stale inline light-mode styles from index.html
- Let cyber theme CSS control all input backgrounds
This commit is contained in:
jp
2026-08-13 18:34:34 +01:00
parent 26d2bf0e46
commit 1b6bc9f057

View File

@ -2,54 +2,8 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>txt3 Voicemail</title>
<style>
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: #eef1f6; color: #1c2430; }
a { color: #2f6fed; text-decoration: none; }
a:hover { text-decoration: underline; }
header { background: linear-gradient(135deg,#2f6fed,#1b4bb8); color: #fff; padding: 16px 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
header h1 { margin: 0; font-size: 18px; font-weight: 700; }
header .sp { flex: 1; }
header a { color: #dce6ff; font-weight: 600; font-size: 14px; }
header a:hover { color: #fff; }
.wrap { max-width: 880px; margin: 22px auto; padding: 0 14px; }
.card { background: #fff; border: 1px solid #e3e9f5; border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(20,30,50,.05); }
.meta { font-size: 13px; color: #6b7686; margin-bottom: 6px; }
.who { font-weight: 700; font-size: 16px; }
.sum { background: #f9fbff; border: 1px solid #e3e9f5; border-radius: 8px; padding: 12px 14px; margin: 10px 0; }
.tag { display: inline-block; background: #eef3ff; color: #2f6fed; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; margin: 0 5px 5px 0; }
audio { width: 100%; margin-top: 10px; }
details { margin-top: 8px; }
summary { cursor: pointer; color: #2f6fed; font-weight: 600; }
.tr { white-space: pre-wrap; color: #39424e; font-size: 14px; margin-top: 8px; background: #fafbfd; padding: 12px; border-radius: 8px; border: 1px solid #eceff5; }
.row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
button, .btn { font: 600 14px/1 inherit; padding: 9px 14px; border-radius: 8px; border: 1px solid #d4dcea; background: #fff; color: #2b3442; cursor: pointer; }
button:hover { background: #f4f7fd; }
.danger { border-color: #f0c8c8; color: #b93a3a; }
.danger:hover { background: #fdf3f3; }
.primary { background: #2f6fed; border-color: #2f6fed; color: #fff; }
.primary:hover { background: #2860d8; }
input[type=text], input[type=password], input[type=email], input[type=date] { padding: 10px 12px; border: 1px solid #d4dcea; border-radius: 8px; font: 15px inherit; background: #fff; }
input[type=text], input[type=password], input[type=email] { width: 100%; }
label { display: block; margin: 12px 0 5px; font-weight: 600; font-size: 14px; }
.hint { font-size: 12px; color: #7b8494; font-weight: 400; }
.empty { text-align: center; color: #7b8494; padding: 40px 10px; }
.unread { border-left: 4px solid #2f6fed; }
.err { background: #fdecec; border: 1px solid #f5c2c2; color: #a32c2c; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
.ok { background: #eaf7ee; border: 1px solid #bfe3ca; color: #22683a; padding: 10px 12px; border-radius: 8px; margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; }
td { padding: 10px 6px; border-bottom: 1px solid #e3e9f5; vertical-align: top; }
.add-btn { font-size: 12px; padding: 5px 10px; border-radius: 6px; background: #eef3ff; color: #2f6fed; border: 1px solid #c5d4ff; cursor: pointer; font-weight: 600; }
.add-btn:hover { background: #dce6ff; }
.modal-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); align-items: center; justify-content: center; z-index: 1000; }
.modal-bg.open { display: flex; }
.modal { background: #fff; border-radius: 12px; padding: 22px 24px; max-width: 420px; width: 92%; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.modal h3 { margin: 0 0 12px; font-size: 16px; }
.modal label { font-weight: 600; font-size: 14px; margin: 10px 0 4px; display: block; }
.modal input { width: 100%; padding: 10px 12px; border: 1px solid #d4dcea; border-radius: 8px; font: 15px inherit; background: #fff; }
.modal .row { display: flex; gap: 8px; margin-top: 14px; justify-content: flex-end; }
</style>
</head>
<body>
<div id="root"></div>