mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Add typeahead sass
This commit is contained in:
parent
ba3577adf6
commit
d8d44af15c
1 changed files with 34 additions and 0 deletions
34
resources/assets/sass/components/typeahead.scss
vendored
Normal file
34
resources/assets/sass/components/typeahead.scss
vendored
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
span.twitter-typeahead {
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.tt-menu {
|
||||||
|
@extend .dropdown-menu;
|
||||||
|
width: 100%;
|
||||||
|
max-height: 365px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tt-suggestion {
|
||||||
|
@extend .dropdown-item;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tt-suggestion.tt-cursor,
|
||||||
|
.tt-suggestion:active
|
||||||
|
{
|
||||||
|
color: #212529;
|
||||||
|
background: #fafafa;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-group & {
|
||||||
|
display: flex !important;
|
||||||
|
align-items: center;
|
||||||
|
position: relative;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
width: 1%;
|
||||||
|
|
||||||
|
.tt-menu, .tt-hint, .tt-input {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue