|
12 | 12 |
|
13 | 13 | /* All dialog overlays share the same pattern */ |
14 | 14 | .resolution-master-preset-manager-overlay, |
15 | | -.json-editor-overlay, |
| 15 | +.resolution-master-json-editor-overlay, |
16 | 16 | .resolution-master-rename-dialog-overlay, |
17 | 17 | .resolution-master-searchable-dropdown-overlay { |
18 | 18 | position: fixed; |
|
25 | 25 |
|
26 | 26 | /* Specific overlay backgrounds */ |
27 | 27 | .resolution-master-preset-manager-overlay, |
28 | | -.json-editor-overlay { |
| 28 | +.resolution-master-json-editor-overlay { |
29 | 29 | background: var(--overlay-dark-70); |
30 | 30 | } |
31 | 31 |
|
|
43 | 43 |
|
44 | 44 | /* Base dialog structure - applies to all dialogs */ |
45 | 45 | .resolution-master-preset-manager-dialog, |
46 | | -.json-editor-dialog, |
| 46 | +.resolution-master-json-editor-dialog, |
47 | 47 | .resolution-master-rename-dialog, |
48 | 48 | .resolution-master-searchable-dropdown { |
49 | 49 | position: fixed; |
|
57 | 57 |
|
58 | 58 | /* Centered dialogs */ |
59 | 59 | .resolution-master-preset-manager-dialog, |
60 | | -.json-editor-dialog, |
| 60 | +.resolution-master-json-editor-dialog, |
61 | 61 | .resolution-master-rename-dialog { |
62 | 62 | top: 50%; |
63 | 63 | left: 50%; |
|
70 | 70 |
|
71 | 71 | /* All dialog headers share the same layout */ |
72 | 72 | .resolution-master-preset-manager-header, |
73 | | -.json-editor-header, |
| 73 | +.resolution-master-json-editor-header, |
74 | 74 | .resolution-master-searchable-dropdown-title-container { |
75 | 75 | padding: var(--spacing-16) var(--spacing-20); |
76 | 76 | border-bottom: 2px solid var(--color-gray-800); |
|
90 | 90 | ======================================== */ |
91 | 91 |
|
92 | 92 | .resolution-master-preset-manager-title, |
93 | | -.json-editor-title { |
| 93 | +.resolution-master-json-editor-title { |
94 | 94 | color: var(--color-white); |
95 | 95 | font-size: var(--font-2xl); |
96 | 96 | font-weight: bold; |
|
116 | 116 |
|
117 | 117 | /* All close buttons share identical styles */ |
118 | 118 | .resolution-master-preset-manager-close-btn, |
119 | | -.json-editor-close-btn, |
| 119 | +.resolution-master-json-editor-close-btn, |
120 | 120 | .resolution-master-searchable-dropdown-close-btn { |
121 | 121 | background: transparent; |
122 | 122 | border: none; |
|
128 | 128 |
|
129 | 129 | /* Keyboard focus accessibility - visible focus indicator */ |
130 | 130 | .resolution-master-preset-manager-close-btn:focus-visible, |
131 | | -.json-editor-close-btn:focus-visible, |
| 131 | +.resolution-master-json-editor-close-btn:focus-visible, |
132 | 132 | .resolution-master-searchable-dropdown-close-btn:focus-visible { |
133 | 133 | outline: 2px solid var(--color-primary); |
134 | 134 | outline-offset: 2px; |
135 | 135 | } |
136 | 136 |
|
137 | 137 | /* Large close buttons (dialogs) */ |
138 | 138 | .resolution-master-preset-manager-close-btn, |
139 | | -.json-editor-close-btn { |
| 139 | +.resolution-master-json-editor-close-btn { |
140 | 140 | font-size: var(--font-4xl); |
141 | 141 | width: var(--spacing-32); |
142 | 142 | height: var(--spacing-32); |
|
158 | 158 |
|
159 | 159 | /* Close button hover states */ |
160 | 160 | .resolution-master-preset-manager-close-btn:hover, |
161 | | -.json-editor-close-btn:hover { |
| 161 | +.resolution-master-json-editor-close-btn:hover { |
162 | 162 | background: var(--overlay-light-10); |
163 | 163 | color: var(--color-white); |
164 | 164 | } |
|
173 | 173 |
|
174 | 174 | /* All dialog footers share the same layout */ |
175 | 175 | .resolution-master-preset-manager-footer, |
176 | | -.json-editor-footer { |
| 176 | +.resolution-master-json-editor-footer { |
177 | 177 | padding: var(--spacing-16) var(--spacing-20); |
178 | 178 | border-top: 2px solid var(--color-gray-800); |
179 | 179 | display: flex; |
|
187 | 187 |
|
188 | 188 | /* All footer buttons share base styles */ |
189 | 189 | .resolution-master-preset-manager-footer button, |
190 | | -.json-editor-footer button, |
| 190 | +.resolution-master-json-editor-footer button, |
191 | 191 | .resolution-master-rename-dialog-buttons button { |
192 | 192 | padding: var(--spacing-10) var(--spacing-20); |
193 | 193 | border: none; |
|
209 | 209 | ======================================== */ |
210 | 210 |
|
211 | 211 | /* Primary buttons (Apply, Save, etc.) */ |
212 | | -.json-editor-apply-btn, |
| 212 | +.resolution-master-json-editor-apply-btn, |
213 | 213 | .resolution-master-rename-dialog-apply-btn, |
214 | 214 | .resolution-master-preset-ui-footer-btn-primary { |
215 | 215 | background: var(--color-primary); |
216 | 216 | color: var(--color-black); |
217 | 217 | } |
218 | 218 |
|
219 | | -.json-editor-apply-btn:hover:not(:disabled), |
| 219 | +.resolution-master-json-editor-apply-btn:hover:not(:disabled), |
220 | 220 | .resolution-master-rename-dialog-apply-btn:hover:not(:disabled), |
221 | 221 | .resolution-master-preset-ui-footer-btn-primary:hover { |
222 | 222 | background: var(--color-primary-light); |
|
232 | 232 | ======================================== */ |
233 | 233 |
|
234 | 234 | /* Secondary buttons (Cancel, Format, etc.) */ |
235 | | -.json-editor-format-btn, |
236 | | -.json-editor-cancel-btn, |
| 235 | +.resolution-master-json-editor-format-btn, |
| 236 | +.resolution-master-json-editor-cancel-btn, |
237 | 237 | .resolution-master-rename-dialog-cancel-btn, |
238 | 238 | .resolution-master-preset-ui-footer-btn-secondary { |
239 | 239 | background: var(--overlay-light-10); |
240 | 240 | border: 1px solid var(--color-gray-600); |
241 | 241 | color: var(--color-gray-100); |
242 | 242 | } |
243 | 243 |
|
244 | | -.json-editor-format-btn:hover, |
245 | | -.json-editor-cancel-btn:hover, |
| 244 | +.resolution-master-json-editor-format-btn:hover, |
| 245 | +.resolution-master-json-editor-cancel-btn:hover, |
246 | 246 | .resolution-master-rename-dialog-cancel-btn:hover, |
247 | 247 | .resolution-master-preset-ui-footer-btn-secondary:hover { |
248 | 248 | background: var(--overlay-light-15); |
|
353 | 353 | .resolution-master-preset-add-form-error, |
354 | 354 | .resolution-master-preset-add-validation, |
355 | 355 | .resolution-master-rename-dialog-validation, |
356 | | -.json-editor-validation { |
| 356 | +.resolution-master-json-editor-validation { |
357 | 357 | color: var(--color-error-light); |
358 | 358 | font-size: var(--font-sm); |
359 | 359 | } |
|
375 | 375 | min-height: 15px; |
376 | 376 | } |
377 | 377 |
|
378 | | -.json-editor-validation { |
| 378 | +.resolution-master-json-editor-validation { |
379 | 379 | padding: 0 var(--spacing-20) var(--spacing-10) var(--spacing-20); |
380 | 380 | font-size: var(--font-md); |
381 | 381 | min-height: 18px; |
|
384 | 384 | } |
385 | 385 |
|
386 | 386 | /* Valid state for JSON editor */ |
387 | | -.json-editor-validation.valid { |
| 387 | +.resolution-master-json-editor-validation.valid { |
388 | 388 | color: var(--color-success); |
389 | 389 | } |
390 | 390 |
|
|
0 commit comments