Commit ae2089a98ebfac56fabb5d1027c549ea13b1622c
1 parent
84a8b29f
Exists in
spb-stable
and in
3 other branches
Fix autocomplete css
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
19 additions
and
0 deletions
Show diff stats
app/assets/stylesheets/application.scss
| ... | ... | @@ -3,6 +3,7 @@ |
| 3 | 3 | * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at |
| 4 | 4 | * the top of the compiled file, but it's generally better to create a new file per style scope. |
| 5 | 5 | *= require jquery.ui.datepicker |
| 6 | + *= require jquery.ui.autocomplete | |
| 6 | 7 | *= require jquery.atwho |
| 7 | 8 | *= require select2 |
| 8 | 9 | *= require highlightjs.min | ... | ... |
app/assets/stylesheets/generic/jquery.scss
| ... | ... | @@ -17,4 +17,22 @@ |
| 17 | 17 | text-align: center; |
| 18 | 18 | } |
| 19 | 19 | } |
| 20 | + | |
| 21 | + &.ui-autocomplete { | |
| 22 | + @include border-radius(0px); | |
| 23 | + border-color: #DDD; | |
| 24 | + padding: 0; | |
| 25 | + | |
| 26 | + .ui-menu-item a { | |
| 27 | + color: #777; | |
| 28 | + | |
| 29 | + &:hover { | |
| 30 | + background: $hover; | |
| 31 | + border-color: $primary_color; | |
| 32 | + @include border-radius(0px); | |
| 33 | + color: #333; | |
| 34 | + } | |
| 35 | + } | |
| 36 | + } | |
| 20 | 37 | } |
| 38 | + | ... | ... |