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:
authorDouwe Maan <douwe@selenight.nl>2016-01-21 16:56:23 +0300
committerDouwe Maan <douwe@selenight.nl>2016-01-21 16:56:23 +0300
commitb2c071fad4b7767e1e2e140cf3b3e4c6621c25a1 (patch)
tree4ff40461a8f68e7cd9b75f6585677f37f4a1604e /app/assets/stylesheets/highlight/dark.scss
parent21facf535377ad58d07e8943033fe14efface8b2 (diff)
Pretty highlighted diffs for every theme
Diffstat (limited to 'app/assets/stylesheets/highlight/dark.scss')
-rw-r--r--app/assets/stylesheets/highlight/dark.scss9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/assets/stylesheets/highlight/dark.scss b/app/assets/stylesheets/highlight/dark.scss
index 3ba2cc94ad2..8464727de9d 100644
--- a/app/assets/stylesheets/highlight/dark.scss
+++ b/app/assets/stylesheets/highlight/dark.scss
@@ -22,11 +22,16 @@
// Diff line
.line_holder {
.diff-line-num.new, .line_content.new {
- @include diff_background(51, 255, 51, #808080);
+ @include diff_background(rgba(51, 255, 51, 0.1), rgba(51, 255, 51, 0.2), #808080);
}
.diff-line-num.old, .line_content.old {
- @include diff_background(255, 51, 51, #808080);
+ @include diff_background(rgba(255, 51, 51, 0.2), rgba(255, 51, 51, 0.2), #808080);
+ }
+
+ .line_content.match {
+ color: rgba(255, 255, 255, 0.3);
+ background: rgba(255, 255, 255, 0.1);
}
}