82 lines
2.4 KiB
CSS
82 lines
2.4 KiB
CSS
|
.v-combobox .v-field .v-text-field__prefix,
|
||
|
.v-combobox .v-field .v-text-field__suffix,
|
||
|
.v-combobox .v-field .v-field__input, .v-combobox .v-field.v-field {
|
||
|
cursor: text;
|
||
|
}
|
||
|
.v-combobox .v-field .v-field__input > input {
|
||
|
flex: 1 1;
|
||
|
}
|
||
|
.v-combobox .v-field input {
|
||
|
min-width: 64px;
|
||
|
}
|
||
|
.v-combobox .v-field:not(.v-field--focused) input {
|
||
|
min-width: 0;
|
||
|
}
|
||
|
.v-combobox .v-field--dirty .v-combobox__selection {
|
||
|
margin-inline-end: 2px;
|
||
|
}
|
||
|
.v-combobox .v-combobox__selection-text {
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
white-space: nowrap;
|
||
|
}
|
||
|
|
||
|
.v-combobox__content {
|
||
|
overflow: hidden;
|
||
|
box-shadow: 0px 2px 4px -1px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, 0.2)), 0px 4px 5px 0px var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, 0.14)), 0px 1px 10px 0px var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, 0.12));
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
.v-combobox__mask {
|
||
|
background: rgb(var(--v-theme-surface-light));
|
||
|
}
|
||
|
.v-combobox__selection {
|
||
|
display: inline-flex;
|
||
|
align-items: center;
|
||
|
height: 1.5rem;
|
||
|
letter-spacing: inherit;
|
||
|
line-height: inherit;
|
||
|
max-width: calc(100% - 2px - 2px);
|
||
|
}
|
||
|
.v-combobox__selection:first-child {
|
||
|
margin-inline-start: 0;
|
||
|
}
|
||
|
.v-combobox--chips.v-input--density-compact .v-field--variant-solo .v-label.v-field-label--floating,
|
||
|
.v-combobox--chips.v-input--density-compact .v-field--variant-solo-inverted .v-label.v-field-label--floating,
|
||
|
.v-combobox--chips.v-input--density-compact .v-field--variant-filled .v-label.v-field-label--floating,
|
||
|
.v-combobox--chips.v-input--density-compact .v-field--variant-solo-filled .v-label.v-field-label--floating {
|
||
|
top: 0px;
|
||
|
}
|
||
|
.v-combobox--selecting-index .v-combobox__selection {
|
||
|
opacity: var(--v-medium-emphasis-opacity);
|
||
|
}
|
||
|
.v-combobox--selecting-index .v-combobox__selection--selected {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
.v-combobox--selecting-index .v-field__input > input {
|
||
|
caret-color: transparent;
|
||
|
}
|
||
|
.v-combobox--single.v-text-field .v-field--focused input {
|
||
|
flex: 1 1;
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
width: 100%;
|
||
|
padding-inline: inherit;
|
||
|
}
|
||
|
.v-combobox--single .v-field--active input {
|
||
|
transition: none;
|
||
|
}
|
||
|
.v-combobox--single .v-field--dirty:not(.v-field--focused) input {
|
||
|
opacity: 0;
|
||
|
}
|
||
|
.v-combobox--single .v-field--focused .v-combobox__selection {
|
||
|
opacity: 0;
|
||
|
}
|
||
|
.v-combobox__menu-icon {
|
||
|
margin-inline-start: 4px;
|
||
|
transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||
|
}
|
||
|
.v-combobox--active-menu .v-combobox__menu-icon {
|
||
|
opacity: var(--v-high-emphasis-opacity);
|
||
|
transform: rotate(180deg);
|
||
|
}
|