From ae2089a98ebfac56fabb5d1027c549ea13b1622c Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 6 Apr 2014 14:10:48 +0300 Subject: [PATCH] Fix autocomplete css Signed-off-by: Dmitriy Zaporozhets --- app/assets/stylesheets/application.scss | 1 + app/assets/stylesheets/generic/jquery.scss | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index eb5d17651b1..ce36c1132ea 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -3,6 +3,7 @@ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at * the top of the compiled file, but it's generally better to create a new file per style scope. *= require jquery.ui.datepicker + *= require jquery.ui.autocomplete *= require jquery.atwho *= require select2 *= require highlightjs.min diff --git a/app/assets/stylesheets/generic/jquery.scss b/app/assets/stylesheets/generic/jquery.scss index 423cb906d0a..4a9341e8f53 100644 --- a/app/assets/stylesheets/generic/jquery.scss +++ b/app/assets/stylesheets/generic/jquery.scss @@ -17,4 +17,22 @@ text-align: center; } } + + &.ui-autocomplete { + @include border-radius(0px); + border-color: #DDD; + padding: 0; + + .ui-menu-item a { + color: #777; + + &:hover { + background: $hover; + border-color: $primary_color; + @include border-radius(0px); + color: #333; + } + } + } } +