diff options
author | micael.bergeron <micael.bergeron@solutionstlm.com> | 2017-08-15 09:21:27 -0400 |
---|---|---|
committer | micael.bergeron <micael.bergeron@solutionstlm.com> | 2017-09-06 09:00:57 -0400 |
commit | b44a1bcd0b94a68f680c24d0dfd6d3402af9a881 (patch) | |
tree | b20c07b3bfaf86f00255a27f7428e1000c930fca /app/assets/stylesheets | |
parent | 45b83ed99afc5cfe24a8d84869894124d93d5b51 (diff) | |
download | gitlab-ce-b44a1bcd0b94a68f680c24d0dfd6d3402af9a881.tar.gz |
rework the contributor badge
- only show in merge-requests
- show as a little glyph
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index 45f2aed1531..077e661a77e 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -620,15 +620,26 @@ ul.notes { .note-role { position: relative; - padding: 0 7px; + display: inline-block; color: $notes-role-color; font-size: 12px; line-height: 20px; - border: 1px solid $border-color; - border-radius: $label-border-radius; + + &.note-role-access { + top: -2px; + padding: 0 7px; + border: 1px solid $border-color; + border-radius: $label-border-radius; + } + + &.note-role-special { + top: -3px; + text-shadow: 0 0 15px white; + } } + /** * Line note button on the side of diffs */ |