New: Replace react-tether with react-popper (#789)

This commit is contained in:
Qstick
2019-05-10 21:56:04 -04:00
committed by GitHub
parent 6ea7f97b16
commit cf40df7606
39 changed files with 981 additions and 970 deletions

View File

@@ -0,0 +1,49 @@
.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;
list-style-type: none;
}
.suggestion {
padding: 0 16px;
}
.suggestionHighlighted {
background-color: $menuItemHoverBackgroundColor;
}