Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-02-22 20:30:17 +0300
committerPhil Hughes <me@iamphill.com>2017-02-27 13:08:02 +0300
commitcc41ec979513245a9cc8d7e8b8327efdfa12d2c7 (patch)
treec8015730df8a48a95cf20c11b078a0dce92ab3e0 /app/assets/stylesheets/highlight/dark.scss
parent8b855eaf40fcb32d37c4cd2c2dbe8ff8be29c88c (diff)
Improved the diff comment button UX
It now shows the line will be commenting on my highlight the line number cells with a lighter color. The button has also been made smaller, it was previously way over the top & took over a lot more space than it should of done Closes #27543
Diffstat (limited to 'app/assets/stylesheets/highlight/dark.scss')
-rw-r--r--app/assets/stylesheets/highlight/dark.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/stylesheets/highlight/dark.scss b/app/assets/stylesheets/highlight/dark.scss
index 6f2e746d4b0..c26edec8ee3 100644
--- a/app/assets/stylesheets/highlight/dark.scss
+++ b/app/assets/stylesheets/highlight/dark.scss
@@ -139,6 +139,17 @@ $dark-il: #de935f;
}
}
+ .diff-line-num {
+ &.is-over {
+ background-color: #ded7fc;
+ border-color: darken(#ded7fc, 5%);
+
+ a {
+ color: darken(#ded7fc, 15%);
+ }
+ }
+ }
+
.line_content.match {
@include dark-diff-match-line;
}