179179/* TODO(bennyp): see if we can get rid of this wrapping node, for perf reasons */
180180# listbox-container {
181181 display : inline-flex;
182- border : 1px solid var (--pf-global--BorderColor--100 , # d2d2d2 );
183182 position : absolute;
184183 background-color : var (--pf-theme--color--surface--lightest , # fff ) !important ;
185184 opacity : 0 ;
186- --_active-descendant-color : var (--pf-theme--color--surface--lighter , # f0f0f0 ) !important
185+ --_active-descendant-color : var (--pf-theme--color--surface--lighter , # f0f0f0 ) !important ;
186+ box-shadow : 0 0.25rem 0.5rem 0rem rgba (3 , 3 , 3 , 0.12 ), 0 0 0.25rem 0 rgba (3 , 3 , 3 , 0.06 );
187187}
188188
189189# outer .expanded # listbox-container {
208208 - - _svg- color : var(- - pf- c- lis t__item- icon- - Color , # 6a6e73) !important ;
209209}
210210
211-
212211# toggle {
213212 background-color : var (--pf-theme--color--surface--lightest , # fff ) !important ;
214- /* align-items: center; */
215213}
216214
217215# toggle ,
218- /* #toggle-button, */
219216# toggle-input {
220217 display : flex;
221218 font-family : var (--pf-global--FontFamily--sans-serif , "RedHatTextUpdated" , "Overpass" , overpass, helvetica, arial, sans-serif);
228225 border : 1px solid var (--pf-global--BorderColor--100 , # d2d2d2 );
229226 border-bottom-color : var (--pf-theme--color--text , # 151515 );
230227 justify-content : space-between;
231- /* &:focus{
232- border-radius: 4px;
233- border-bottom: 2px solid #06c;
234- } */
235- }
236-
237- .expanded # toggle {
238- border-top-left-radius : 4px ;
239- border-bottom-left-radius : 4px ;
240- border-bottom : 2px solid # 06c ;
241- /* border-bottom-width: 2px;
242- border-bottom-color: var(--pf-theme--color--accent, #0066cc); */
243228}
244229
245230.disabled # toggle {
256241 text-align : left;
257242 border-radius : 0 ;
258243 flex : 1 0 auto;
259- outline : none;
260- & : focus {
261- border : 2px solid # 06c ;
262- /* border-bottom: none; */
263- border-radius : 4px ;
264- }
265244}
266245
267246# toggle-input {
268247 justify-content : space-between;
269248 padding : var (--pf-global--spacer--xs , 0.25rem ) var (--pf-global--spacer--sm , 0.5rem );
270- padding-left : 40 px ;
249+ padding-left : 2.5 rem ;
271250 width : 90% ;
272251 box-sizing : border-box;
273- max-height : 36 px ;
252+ max-height : 2.25 rem ;
274253}
275254
276255.disabled # toggle-input {
282261 background-color : transparent;
283262 justify-content : flex-end;
284263 padding : var (--pf-global--spacer--sm , 0.5rem );
285- max-height : 36 px ;
286- max-width : 36 px ;
264+ max-height : 2.25 rem ;
265+ max-width : 2.25 rem ;
287266 box-sizing : border-box;
288267 display : flex;
289268 align-items : center;
290269 justify-content : center;
291270 border-radius : 0px ;
292271}
293272
294- # close-button svg {
273+ # close-button svg {
295274 position : relative;
296275 top : 3px ;
297276}
298277
299-
300- # toggle-button : focus : before {
301- /* border-bottom-color: var(--pf-c-search-input__toggle--focus--before--BorderBottomColor);
302- border-bottom-width: var(--pf-c-search-input__toggle--focus--before--BorderBottomWidth); */
303- }
304-
305- /* #outer.typeahead #toggle-button {
306- flex: 0 0 auto;
307- } */
308-
309-
310-
311278# toggle-text {
312279 flex : 1 1 auto;
313280}
318285}
319286
320287# listbox .checkboxes {
321- --_pf-option-checkboxes-display : inline ;
288+ --_pf-option-checkboxes-display : none ;
322289 --_pf-option-svg-display : none;
323290}
324291
325- ::slotted (pf-option-group + hr ) {
326- display : none !important ;
327- }
328-
329- ::slotted (hr:has(+ pf-option-group)) {
330- display : none !important ;
331- }
332-
333292.visually-hidden {
334293 border : 0 ;
335294 clip : rect (0 , 0 , 0 , 0 );
380339 flex : 1 0 100% ;
381340}
382341
383- div .search-icon {
342+ div .search-icon {
384343 position : absolute;
385344 top : 50% ;
386- left : 1rem ;
345+ left : var ( --pf-global--spacer--md , 1rem ) ;
387346 transform : translateY (-50% );
388347 display : flex;
389348 align-items : center;
390349}
391350
392- .expanded # close-button {
393- /* border-bottom-width: 2px;
394- border-bottom-color: var(--pf-theme--color--accent, #0066cc); */
395- }
351+ # outer : focus-within {
352+ # toggle {
353+ border-top-left-radius : var (--pf-global--spacer--sm , 0.5rem );
354+ border-bottom-left-radius : var (--pf-global--spacer--sm , 0.5rem );
355+ border-bottom : var (--pf-global--spacer--xs , 0.25rem ) solid transparent;
356+ }
357+ # close-button {
358+ border-bottom-width : var (--pf-global--spacer--xs , 0.125rem );
359+ border-bottom-color : var (--pf-theme--color--accent , # 0066cc );
360+ box-sizing : border-box;
361+ }
362+ }
0 commit comments