-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
_fluid-multiselect.scss
53 lines (47 loc) · 1.38 KB
/
_fluid-multiselect.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// Copyright IBM Corp. 2022
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//
//-----------------------------
// Fluid Multiselect
//-----------------------------
@use '../../config' as *;
@use '../../motion' as *;
@use '../../spacing' as *;
@use '../../theme' as *;
@use '../../utilities/convert' as *;
@use '../../utilities/focus-outline' as *;
@use '../dropdown';
@use '../fluid-list-box';
@use '../fluid-combo-box';
@mixin fluid-multiselect {
.#{$prefix}--multi-select__wrapper.#{$prefix}--list-box__wrapper--fluid--focus:not(
.#{$prefix}--multi-select--filterable__wrapper
)
.#{$prefix}--list-box__field--wrapper--input-focused {
outline: none;
}
.#{$prefix}--list-box__wrapper--fluid
.#{$prefix}--tag.#{$prefix}--tag--filter {
margin-top: 1.25rem;
}
// Filterable
.#{$prefix}--list-box__wrapper--fluid
.#{$prefix}--multi-select--filterable--input-focused {
outline: none;
outline-offset: 0;
}
.#{$prefix}--list-box__wrapper--fluid
.#{$prefix}--multi-select--filterable
.#{$prefix}--list-box__field
.#{$prefix}--text-input {
border-bottom: 1px solid transparent;
}
.#{$prefix}--list-box__wrapper--fluid
.#{$prefix}--multi-select--filterable.#{$prefix}--combo-box
.#{$prefix}--list-box__field {
align-items: baseline;
}
}