summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-06 14:10:48 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-06 14:10:48 +0300
commitae2089a98ebfac56fabb5d1027c549ea13b1622c (patch)
treea80b9b123944b7750a23f378e8e888851dc2d837
parent84a8b29fbf17c74ceb04bc7d480278905eea84ac (diff)
downloadgitlab-ce-ae2089a98ebfac56fabb5d1027c549ea13b1622c.tar.gz
Fix autocomplete css
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/assets/stylesheets/application.scss1
-rw-r--r--app/assets/stylesheets/generic/jquery.scss18
2 files changed, 19 insertions, 0 deletions
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;
+ }
+ }
+ }
}
+