forked from carbon-design-system/carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_combo-box.scss
45 lines (39 loc) · 1.22 KB
/
_combo-box.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
//
// Copyright IBM Corp. 2016, 2018
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//
@use '../list-box';
@use '../../config' as *;
@use '../../theme' as *;
/// Combo box styles
/// @access public
/// @group combo-box
@mixin combo-box {
.#{$prefix}--combo-box:hover {
background-color: $field;
}
// V11: Possibly deprecate
.#{$prefix}--combo-box.#{$prefix}--list-box--light:hover {
background-color: $field;
}
.#{$prefix}--combo-box .#{$prefix}--text-input::-ms-clear {
display: none;
}
.#{$prefix}--combo-box.#{$prefix}--list-box--expanded
.#{$prefix}--text-input {
border-bottom-color: $border-subtle;
}
.#{$prefix}--combo-box .#{$prefix}--list-box__field,
.#{$prefix}--combo-box.#{$prefix}--list-box[data-invalid]
.#{$prefix}--list-box__field,
.#{$prefix}--combo-box.#{$prefix}--list-box--warning
.#{$prefix}--list-box__field,
.#{$prefix}--combo-box.#{$prefix}--list-box--disabled.#{$prefix}--list-box[data-invalid]
.#{$prefix}--list-box__field,
.#{$prefix}--combo-box.#{$prefix}--list-box--disabled.#{$prefix}--list-box--warning
.#{$prefix}--list-box__field {
padding: 0;
}
}