Sonarr/frontend/src/Components/Form/AutoSuggestInput.css

51 lines
874 B
CSS

.input {
composes: input from "~Components/Form/Input.css";
}
.hasError {
composes: hasError from "~Components/Form/Input.css";
}
.hasWarning {
composes: hasWarning from "~Components/Form/Input.css";
}
.inputContainer {
flex-grow: 1;
}
.suggestionsContainer {
@add-mixin scrollbar;
@add-mixin scrollbarTrack;
@add-mixin scrollbarThumb;
}
.suggestionsContainerOpen {
z-index: $popperZIndex;
.suggestionsContainer {
overflow-y: auto;
max-height: 200px;
width: 100%;
border: 1px solid $inputBorderColor;
border-radius: 4px;
background-color: $white;
box-shadow: inset 0 1px 1px $inputBoxShadowColor;
}
}
.suggestionsList {
margin: 5px 0;
padding-left: 0;
max-height: 200px;
list-style-type: none;
}
.suggestion {
padding: 0 16px;
}
.suggestionHighlighted {
background-color: $menuItemHoverBackgroundColor;
}