@@ -535,137 +535,6 @@ wa-switch.settings-toggle {
535535 top : 6px ;
536536}
537537
538- /* ── Web Awesome select ── */
539-
540- wa-select . settings-select {
541- --wa-form-control-activated-color : var ( --primary ) ;
542- }
543-
544- wa-select . settings-select :: part ( combobox ) {
545- min-height : var ( --settings-control-height ) ;
546- padding-inline : 10px ;
547- border : 1px solid color-mix ( in srgb, var ( --border ) 70% , transparent) ;
548- border-radius : var ( --radius-md ) ;
549- background : color-mix ( in srgb, var ( --bg ) 80% , var ( --bg-elevated ) 20% ) ;
550- color : var ( --text ) ;
551- cursor : var ( --cursor-action ) ;
552- transition : border-color var ( --duration-fast ) var ( --ease-out ) ;
553- }
554-
555- /* [open] is required alongside :focus-within: Chromium does not propagate
556- :focus-within to the host while a slotted option holds focus, so the open
557- state must key off the reflected attribute or the stock ring leaks through. */
558- wa-select . settings-select [open ]:: part ( combobox ) ,
559- wa-select . settings-select : focus-within :: part ( combobox ) {
560- outline : none;
561- border-color : color-mix ( in srgb, var ( --accent ) 55% , var ( --border ) 45% ) ;
562- box-shadow : 0 0 0 2px color-mix ( in srgb, var ( --accent ) 18% , transparent) ;
563- }
564-
565- wa-select . settings-select :: part ( expand-icon ) {
566- margin-inline-start : var ( --space-2 ) ;
567- font-size : var ( --control-ui-text-sm ) ;
568- color : var ( --muted ) ;
569- }
570-
571- wa-select . settings-select :: part ( listbox ) {
572- /* Keep Web Awesome's collision-aware bound in the cap; replacing it outright
573- would let the listbox overflow when the popup has little room to open. */
574- max-height : min ( 320px , var ( --auto-size-available-height , calc ( 100vh - 48px ) ) ) ;
575- padding : 6px ;
576- border : 1px solid color-mix ( in srgb, var ( --border-strong ) 86% , transparent) ;
577- border-radius : var ( --radius-md ) ;
578- background : var ( --bg-elevated ) ;
579- box-shadow : var ( --shadow-lg ) ;
580- color : var ( --text ) ;
581- }
582-
583- wa-select . settings-select wa-option {
584- padding : 6px 8px ;
585- border-radius : calc ( var ( --radius-md ) - 4px ) ;
586- font-size : var ( --control-ui-text-md ) ;
587- color : var ( --text ) ;
588- cursor : var ( --cursor-action ) ;
589- }
590-
591- /* The roving "current" option already carries the accent fill; the global
592- :focus-visible accent outline on top of it is pure noise. */
593- wa-select . settings-select wa-option : focus-visible {
594- outline : none;
595- }
596-
597- wa-select . settings-select wa-option : state ( current ) {
598- color : var ( --primary-foreground ) ;
599- }
600-
601- . picker-select__option {
602- color : var ( --text ) ;
603- }
604-
605- . picker-select [slot = "start" ] {
606- display : inline-flex;
607- align-items : center;
608- }
609-
610- . picker-select__label {
611- min-width : 0 ;
612- overflow : hidden;
613- text-overflow : ellipsis;
614- white-space : nowrap;
615- font-weight : 650 ;
616- }
617-
618- . picker-select__copy {
619- display : grid;
620- gap : 2px ;
621- min-width : 0 ;
622- }
623-
624- . picker-select__description {
625- min-width : 0 ;
626- overflow : hidden;
627- color : var ( --muted ) ;
628- font-size : 0.75rem ;
629- line-height : 1.2 ;
630- text-overflow : ellipsis;
631- white-space : normal;
632- }
633-
634- . model-picker {
635- display : grid;
636- gap : 6px ;
637- min-width : 0 ;
638- }
639-
640- . model-picker__provider-icon {
641- width : 20px ;
642- height : 20px ;
643- flex : 0 0 20px ;
644- }
645-
646- . model-picker__provider-icon . provider-brand-icon--fallback {
647- font-size : 9px ;
648- }
649-
650- . model-picker__custom [hidden ] {
651- display : none;
652- }
653-
654- /* Forced colors suppresses the box-shadow ring and accent fill that stand in
655- for the outlines removed above, so restore system-color outlines there. */
656- @media ( forced-colors : active) {
657- wa-select . settings-select [open ]:: part ( combobox ) ,
658- wa-select . settings-select : focus-within :: part ( combobox ) {
659- outline : 2px solid SelectedItem;
660- outline-offset : 2px ;
661- }
662-
663- wa-select . settings-select wa-option : focus-visible {
664- outline : 2px solid SelectedItem;
665- outline-offset : 2px ;
666- }
667- }
668-
669538textarea . settings-input {
670539 min-height : 88px ;
671540 resize : vertical;
0 commit comments