@@ -205,8 +205,26 @@ input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
205205. btn-danger { background : transparent; color : var ( --red ) ; border-color : rgba ( 248 , 113 , 113 , 0.3 ) ; }
206206. btn-danger : hover : not ( : disabled ) { background : var ( --red-soft ) ; }
207207. btn-sm { padding : 4px 12px ; font-size : 12px ; border-radius : var ( --radius-pill ) ; }
208- . btn-icon { padding : 5px ; color : var ( --muted ) ; border-radius : var ( --radius-sm ) ; transition : background 0.12s , color 0.12s ; }
208+ . btn-icon {
209+ appearance : none;
210+ border : none;
211+ background : transparent;
212+ font : inherit;
213+ cursor : pointer;
214+ display : inline-flex;
215+ align-items : center;
216+ justify-content : center;
217+ width : 28px ;
218+ height : 28px ;
219+ padding : 0 ;
220+ color : var ( --muted ) ;
221+ border-radius : var ( --radius-sm ) ;
222+ transition : background 0.12s , color 0.12s ;
223+ }
209224. btn-icon : hover { background : var ( --raised-hover ) ; color : var ( --text ) ; }
225+ . btn-icon : focus-visible { outline : 2px solid var ( --accent-ring ) ; outline-offset : 1px ; }
226+ . btn-icon svg { width : 16px ; height : 16px ; display : block; }
227+ . btn . btn-ghost . btn-icon { width : 28px ; height : 28px ; padding : 0 ; }
210228
211229/* ---- cards / panels ---- */
212230. card { background : var ( --surface ) ; border : 1px solid var ( --border ) ; border-radius : var ( --radius ) ; min-width : 0 ; }
@@ -242,7 +260,19 @@ input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
242260. update-row . field-label { margin : 0 ; }
243261. update-empty { padding : 18px ; margin-bottom : 14px ; }
244262. update-box { display : flex; flex-direction : column; gap : 12px ; }
245- . update-command { display : flex; align-items : center; gap : 6px ; flex-wrap : wrap; font-size : 12px ; }
263+ . update-command { display : flex; align-items : flex-start; gap : 6px ; flex-wrap : wrap; font-size : 12px ; }
264+ . update-command . chip {
265+ max-width : 100% ;
266+ min-width : 0 ;
267+ flex : 1 1 auto;
268+ white-space : pre-wrap;
269+ word-break : break-all;
270+ overflow-wrap : anywhere;
271+ line-height : 1.5 ;
272+ }
273+ . update-recheck { display : flex; align-items : center; gap : 10px ; flex-wrap : wrap; }
274+ . update-recheck . btn { flex : 0 0 auto; }
275+ . update-recheck-reason { flex : 1 1 200px ; min-width : 0 ; font-size : 12px ; color : var ( --muted ) ; }
246276. update-restart { border-top : 1px solid var ( --border-soft ) ; padding-top : 12px ; }
247277. injection-head { display : flex; align-items : center; gap : 10px ; flex-wrap : wrap; }
248278. injection-label { font-weight : 650 ; }
@@ -376,11 +406,32 @@ select.input { appearance: none; }
376406. select-option . active { background : var ( --accent-soft ) ; color : var ( --accent ) ; font-weight : 600 ; }
377407
378408/* ---- switch ---- */
379- . switch { width : 34px ; height : 19px ; border-radius : 99px ; border : none; cursor : pointer; background : light-dark ( # c5c9d2, # 3a3f4b) ; position : relative; flex-shrink : 0 ; transition : background 0.15s ; padding : 0 ; }
380- . switch . on { background : var ( --accent ) ; }
409+ . switch {
410+ width : 34px ;
411+ height : 19px ;
412+ border-radius : 99px ;
413+ border : 1px solid var ( --border ) ;
414+ cursor : pointer;
415+ background : var ( --raised ) ;
416+ position : relative;
417+ flex-shrink : 0 ;
418+ transition : background 0.15s , border-color 0.15s ;
419+ padding : 0 ;
420+ }
421+ . switch . on { background : var ( --accent ) ; border-color : var ( --accent ) ; }
381422. switch : disabled { opacity : 0.6 ; cursor : default; }
382- . switch . knob { position : absolute; top : 2px ; left : 2px ; width : 15px ; height : 15px ; border-radius : 50% ; background : # fff; box-shadow : 0 1px 2px rgba ( 16 , 24 , 40 , 0.3 ) ; transition : left 0.15s ; }
383- . switch . on . knob { left : 17px ; }
423+ . switch . knob {
424+ position : absolute;
425+ top : 2px ;
426+ left : 2px ;
427+ width : 15px ;
428+ height : 15px ;
429+ border-radius : 50% ;
430+ background : light-dark ( # ffffff, # ececec) ;
431+ box-shadow : 0 1px 2px rgba ( 16 , 24 , 40 , 0.3 ) ;
432+ transition : left 0.15s , background 0.15s ;
433+ }
434+ . switch . on . knob { left : 17px ; background : var ( --accent-ink ) ; }
384435
385436/* ---- misc ---- */
386437. muted { color : var ( --muted ) ; }
0 commit comments