/
VAutocomplete.sass
41 lines (32 loc) 路 983 Bytes
/
VAutocomplete.sass
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
@import './_variables.scss'
.v-autocomplete
&.v-input > .v-input__control > .v-input__slot
cursor: text
input
align-self: center
// Overwrite v-text-fields
// minimum-width default
&.v-select.v-input--is-focused
input
min-width: $autocomplete-focused-input
// Chips force input to wrap
// so we remove height and
// padding until focused
&:not(.v-input--is-focused).v-select--chips input
max-height: 0
padding: 0
&--is-selecting-index
input
opacity: 0
// When a single select, does not have
// selections padding
&.v-text-field--enclosed:not(.v-text-field--solo):not(.v-text-field--single-line):not(.v-text-field--outlined)
.v-select__slot > input
margin-top: $autocomplete-enclosed-input-margin-top
&.v-input--dense
.v-select__slot > input
margin-top: $autocomplete-dense-enclosed-input-margin-top
&__content.v-menu__content
border-radius: 0
.v-card
border-radius: 0