summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-28 12:06:47 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-28 12:06:47 -0500
commit2e5cd0f1669eea56c41bb690f28a85c3f98f68ed (patch)
tree4cf16ce59ee6c5c30d06116442db045a0ae17774
parentd5b4b4e03026d6dcd7d573deec8383271c9e9a82 (diff)
downloadgitlab-ce-2e5cd0f1669eea56c41bb690f28a85c3f98f68ed.tar.gz
Remove unused CSS
-rw-r--r--app/assets/stylesheets/framework/jquery.scss30
-rw-r--r--app/assets/stylesheets/pages/search.scss2
2 files changed, 5 insertions, 27 deletions
diff --git a/app/assets/stylesheets/framework/jquery.scss b/app/assets/stylesheets/framework/jquery.scss
index e07d378587a..525ed81b059 100644
--- a/app/assets/stylesheets/framework/jquery.scss
+++ b/app/assets/stylesheets/framework/jquery.scss
@@ -19,35 +19,13 @@
}
&.ui-autocomplete {
+ border-color: #ddd;
+ padding: 0;
margin-top: 2px;
z-index: 1001;
- width: 240px;
- margin-bottom: 0;
- padding: 10px;
- font-size: 14px;
- font-weight: normal;
- background-color: $dropdown-bg;
- border: 1px solid $dropdown-border-color;
- border-radius: $border-radius-base;
- box-shadow: 0 2px 4px $dropdown-shadow-color;
-
- .ui-menu-item {
- display: block;
- position: relative;
- padding: 0 10px;
- color: $dropdown-link-color;
- line-height: 34px;
- text-overflow: ellipsis;
- border-radius: 2px;
- white-space: nowrap;
- overflow: hidden;
- border: none;
- &.ui-state-focus {
- background-color: $dropdown-link-hover-bg;
- text-decoration: none;
- margin: 0;
- }
+ .ui-menu-item a {
+ padding: 4px 10px;
}
}
diff --git a/app/assets/stylesheets/pages/search.scss b/app/assets/stylesheets/pages/search.scss
index 4c3c4b2ee63..3c74d25beb0 100644
--- a/app/assets/stylesheets/pages/search.scss
+++ b/app/assets/stylesheets/pages/search.scss
@@ -122,7 +122,7 @@
}
.dropdown-content {
- max-height: 300px;
+ max-height: 350px;
}
}