summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitrie Hoekstra <dimitriehoekstra@gmail.com>2017-09-19 23:33:17 +0200
committerDimitrie Hoekstra <dimitriehoekstra@gmail.com>2017-10-04 01:45:19 +0200
commitc33de8a3d3099ddd2a4e1222562c37af7e4b84be (patch)
tree6d940d0b6b72575ecc5f831ca29dc0bc2ff3c3e4
parent5a23af928e52350039f1db8eee97278d34d1f1b0 (diff)
downloadgitlab-ce-c33de8a3d3099ddd2a4e1222562c37af7e4b84be.tar.gz
Makes @mentions links have a different styling for better separation
-rw-r--r--app/assets/stylesheets/pages/notes.scss11
-rw-r--r--changelogs/unreleased/mentions-in-comments.yml5
2 files changed, 16 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss
index 46d31e41ada..9aff1323d9f 100644
--- a/app/assets/stylesheets/pages/notes.scss
+++ b/app/assets/stylesheets/pages/notes.scss
@@ -140,6 +140,17 @@ ul.notes {
@include bulleted-list;
word-wrap: break-word;
+ .gfm-project_member {
+ padding: 0 2px;
+ border-radius: 2px;
+ background-color: rgba($blue-500, 0.044);
+
+ &:hover {
+ background-color: rgba($blue-500, 0.15);
+ text-decoration: none;
+ }
+ }
+
ul.task-list {
ul:not(.task-list) {
padding-left: 1.3em;
diff --git a/changelogs/unreleased/mentions-in-comments.yml b/changelogs/unreleased/mentions-in-comments.yml
new file mode 100644
index 00000000000..907f455007b
--- /dev/null
+++ b/changelogs/unreleased/mentions-in-comments.yml
@@ -0,0 +1,5 @@
+---
+title: Makes @mentions links have a different styling for better separation
+merge_request:
+author:
+type: added