summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2018-01-12 01:32:41 -0600
committerEric Eastwood <contact@ericeastwood.com>2018-01-12 01:46:45 -0600
commitb63686ce6ae96a6fca915d82b918f38b23c4a399 (patch)
treea2191dd53cf63b74ddd0f18b4e9ccc3b16e5be31 /app/assets/stylesheets/framework
parentab28ea071ba7f70e59e8aeba9da03031dd83b0f1 (diff)
downloadgitlab-ce-b63686ce6ae96a6fca915d82b918f38b23c4a399.tar.gz
Remove duplicate ee code This was generalized for usage in the new variable table design, see https://gitlab.com/gitlab-org/gitlab-ce/issues/39118#note_53615249 Conflicts: app/assets/stylesheets/pages/projects.scss ee/app/assets/javascripts/protected_branches/protected_branch_create.js ee/app/assets/javascripts/protected_tags/protected_tag_create.js ee/app/views/projects/protected_branches/ee/_dropdown.html.haml
Diffstat (limited to 'app/assets/stylesheets/framework')
-rw-r--r--app/assets/stylesheets/framework/dropdowns.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss
index d1b3754d4ef..1d2303a3a2b 100644
--- a/app/assets/stylesheets/framework/dropdowns.scss
+++ b/app/assets/stylesheets/framework/dropdowns.scss
@@ -666,6 +666,16 @@
}
}
+.dropdown-create-new-item-button {
+ @include dropdown-link;
+
+ width: 100%;
+ background-color: transparent;
+ border: 0;
+ text-align: left;
+ text-overflow: ellipsis;
+}
+
.dropdown-loading {
position: absolute;
top: 0;