|
63 | 63 |
|
64 | 64 | <style> |
65 | 65 | .overlay { |
66 | | - position: fixed; top: 0; left: 0; right: 0; bottom: 0; |
67 | | - background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; |
| 66 | + position: fixed; |
| 67 | + top: 0; left: 0; right: 0; bottom: 0; |
| 68 | + background: rgba(20, 40, 50, 0.4); |
| 69 | + display: flex; |
| 70 | + align-items: center; |
| 71 | + justify-content: center; |
68 | 72 | z-index: 100; |
69 | 73 | } |
70 | 74 | .modal { |
71 | 75 | position: relative; |
72 | | - background: white; padding: 32px; border-radius: 12px; min-width: min(320px, calc(100vw - 32px)); |
73 | | - box-shadow: 0 4px 24px rgba(0,0,0,0.2); |
| 76 | + background: var(--panel); |
| 77 | + padding: 32px; |
| 78 | + border-radius: var(--radius-panel); |
| 79 | + min-width: min(320px, calc(100vw - 32px)); |
| 80 | + box-shadow: var(--shadow-panel); |
| 81 | + color: var(--ink); |
| 82 | + font-family: var(--font-sans); |
74 | 83 | } |
75 | 84 | .close { |
76 | | - position: absolute; top: 10px; right: 10px; |
77 | | - width: 28px; height: 28px; border: none; border-radius: 6px; |
78 | | - background: white; cursor: pointer; font-size: 20px; line-height: 1; |
| 85 | + position: absolute; |
| 86 | + top: 10px; |
| 87 | + right: 10px; |
| 88 | + width: 32px; |
| 89 | + height: 32px; |
| 90 | + border: none; |
| 91 | + border-radius: var(--radius-fab); |
| 92 | + background: var(--bg); |
| 93 | + color: var(--ink-muted); |
| 94 | + cursor: pointer; |
| 95 | + font-size: 20px; |
| 96 | + line-height: 1; |
| 97 | + display: inline-flex; |
| 98 | + align-items: center; |
| 99 | + justify-content: center; |
| 100 | + } |
| 101 | + .close:hover { |
| 102 | + color: var(--ink); |
| 103 | + } |
| 104 | + h2 { |
| 105 | + margin-bottom: 16px; |
| 106 | + font: 600 17px/1.3 var(--font-sans); |
| 107 | + color: var(--ink); |
79 | 108 | } |
80 | | - h2 { margin-bottom: 16px; } |
81 | 109 | form { display: flex; flex-direction: column; gap: 12px; } |
82 | 110 | input { |
83 | | - padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; |
| 111 | + padding: 10px 12px; |
| 112 | + border: 1px solid var(--divider); |
| 113 | + border-radius: var(--radius-ctrl); |
| 114 | + font: 500 15px/1.4 var(--font-sans); |
| 115 | + color: var(--ink); |
| 116 | + background: var(--panel); |
| 117 | + } |
| 118 | + input:focus { |
| 119 | + outline: 2px solid var(--brand); |
| 120 | + outline-offset: -1px; |
| 121 | + border-color: var(--brand); |
| 122 | + } |
| 123 | + input::placeholder { |
| 124 | + color: var(--ink-faint); |
84 | 125 | } |
85 | 126 | button[type="submit"] { |
86 | | - padding: 10px; background: #2563eb; color: white; border: none; |
87 | | - border-radius: 6px; cursor: pointer; font-size: 14px; |
| 127 | + padding: 12px 14px; |
| 128 | + background: var(--ink); |
| 129 | + color: var(--panel); |
| 130 | + border: none; |
| 131 | + border-radius: var(--radius-ctrl); |
| 132 | + cursor: pointer; |
| 133 | + font: 700 15px/1.3 var(--font-sans); |
| 134 | + } |
| 135 | + button[type="submit"]:hover:not(:disabled) { |
| 136 | + opacity: 0.92; |
88 | 137 | } |
89 | 138 | button[type="submit"]:disabled { opacity: 0.5; } |
90 | | - .error { color: #dc2626; font-size: 13px; margin: 0; } |
91 | | - .switch { margin-top: 12px; font-size: 13px; text-align: center; } |
92 | | - .link { background: none; border: none; color: #2563eb; cursor: pointer; text-decoration: underline; } |
| 139 | + .error { |
| 140 | + color: #b91c1c; |
| 141 | + font: 500 13px/1.3 var(--font-sans); |
| 142 | + margin: 0; |
| 143 | + } |
| 144 | + .switch { |
| 145 | + margin-top: 12px; |
| 146 | + font: 500 13px/1.3 var(--font-sans); |
| 147 | + color: var(--ink-muted); |
| 148 | + text-align: center; |
| 149 | + } |
| 150 | + .link { |
| 151 | + background: none; |
| 152 | + border: none; |
| 153 | + color: var(--brand); |
| 154 | + cursor: pointer; |
| 155 | + text-decoration: underline; |
| 156 | + font: 600 13px/1.3 var(--font-sans); |
| 157 | + padding: 0; |
| 158 | + } |
93 | 159 |
|
94 | 160 | @media (max-width: 640px) { |
95 | 161 | .modal { |
|
0 commit comments