summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwinh <winnie@gitlab.com>2017-08-16 20:37:31 +0200
committerwinh <winnie@gitlab.com>2017-08-31 13:00:33 +0200
commit2d6733c81f4e02e07d8c4e85289ff2e56bf8371b (patch)
treeda7f499a399406aacb33cfe62e1beec163be3922
parent6f0f65becbbe968bd26a5a3872044d7b8633bf2e (diff)
downloadgitlab-ce-winh-protection-dropdowns.tar.gz
Make protected branches / tags permission dropdowns consistentwinh-protection-dropdowns
-rw-r--r--app/assets/stylesheets/pages/projects.scss18
1 files changed, 5 insertions, 13 deletions
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss
index 39c4264e496..2d671c23543 100644
--- a/app/assets/stylesheets/pages/projects.scss
+++ b/app/assets/stylesheets/pages/projects.scss
@@ -822,8 +822,10 @@ pre.light-well {
}
}
-.new_protected_branch,
+.new-protected-branch,
.new-protected-tag {
+ @include new-style-dropdown;
+
label {
margin-top: 6px;
font-weight: $gl-font-weight-normal;
@@ -843,19 +845,9 @@ pre.light-well {
.protected-branches-list,
.protected-tags-list {
- margin-bottom: 30px;
-
- a {
- color: $gl-text-color;
-
- &:hover {
- color: $gl-link-color;
- }
+ @include new-style-dropdown;
- &.is-active {
- font-weight: $gl-font-weight-bold;
- }
- }
+ margin-bottom: 30px;
.settings-message {
margin: 0;