summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2017-09-28 13:08:59 +0200
committerWinnie Hellmann <winnie@gitlab.com>2017-10-04 12:07:25 +0200
commit280bc78bd1d5b9eea1eaea61d81a6c23d04ae056 (patch)
treea773d5770c595b21360d16ac5e9c8e1fe385fe55
parent3497d5a4515b6a3da78839beea4bcd0da293e6ee (diff)
downloadgitlab-ce-280bc78bd1d5b9eea1eaea61d81a6c23d04ae056.tar.gz
Make new .select2-drop style global
-rw-r--r--app/assets/stylesheets/framework/selects.scss15
1 files changed, 3 insertions, 12 deletions
diff --git a/app/assets/stylesheets/framework/selects.scss b/app/assets/stylesheets/framework/selects.scss
index cb1a31d118e..12a2cd9f7b4 100644
--- a/app/assets/stylesheets/framework/selects.scss
+++ b/app/assets/stylesheets/framework/selects.scss
@@ -57,13 +57,10 @@
.select2-drop {
box-shadow: $select2-drop-shadow1 0 0 1px 0, $select2-drop-shadow2 0 2px 18px 0;
- border-radius: $border-radius-default;
- border: none;
+ border-radius: $border-radius-base;
+ border: 1px solid $dropdown-border-color;
min-width: 175px;
-}
-
-.select2-drop {
- color: $gl-grayish-blue;
+ color: $gl-text-color;
}
.select2-results li.select2-result-with-children > .select2-result-label {
@@ -287,12 +284,6 @@ body[data-page="profiles:show"] #select2-drop,
body[data-page="admin:groups:show"] #select2-drop,
body[data-page="projects:issues:show"] #select2-drop,
body[data-page="projects:blob:edit"] #select2-drop {
- &.select2-drop {
- border: 1px solid $dropdown-border-color;
- border-radius: $border-radius-base;
- color: $gl-text-color;
- }
-
&.select2-drop-above {
border-top: none;
margin-top: -4px;