summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-09-29 15:55:14 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-09-29 15:55:14 +0000
commitc49d19a5dc058a670bdac1e23579fbb44c60bec4 (patch)
tree5ce9f61d305edfd9ab57dc47aaa2a9b2e3429259 /app/assets/stylesheets
parent0e82f6d38d5a186634e70e3eafa9e3e74cf8d5dd (diff)
parent93aa6d04c2e81193d7833890d2281fc1df7d7129 (diff)
downloadgitlab-ce-c49d19a5dc058a670bdac1e23579fbb44c60bec4.tar.gz
Merge branch 'fork-btn-enabled-user-groups' into 'master'
Fix fork button being disabled for users who can fork to group Closes #38462 See merge request gitlab-org/gitlab-ce!14551
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/pages/projects.scss11
1 files changed, 10 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss
index 6400b72742c..1f7b6703909 100644
--- a/app/assets/stylesheets/pages/projects.scss
+++ b/app/assets/stylesheets/pages/projects.scss
@@ -516,7 +516,7 @@ a.deploy-project-label {
text-align: center;
width: 169px;
- &:hover,
+ &:hover:not(.disabled),
&.forked {
background-color: $row-hover;
border-color: $row-hover-border;
@@ -543,6 +543,15 @@ a.deploy-project-label {
padding-top: $gl-padding;
color: $gl-text-color;
+ &.disabled {
+ opacity: .3;
+ cursor: not-allowed;
+
+ &:hover {
+ text-decoration: none;
+ }
+ }
+
.caption {
min-height: 30px;
padding: $gl-padding 0;