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:
authorRobert Speicher <rspeicher@gmail.com>2015-08-26 01:23:41 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-08-26 01:32:38 +0300
commit59180c4f5a553938ee79968e7983aee6ce584ff5 (patch)
tree18cf8f45d7aaec5030437ed01d8110528f7f9d50 /app/assets/stylesheets/highlight/dark.scss
parent4344b8d2d4367b19c6849c3cab0d02d17ddf2304 (diff)
Add highlight_word style definition to each color scheme
Now we don't need to override the user color scheme on search results. They'll look good with any of them.
Diffstat (limited to 'app/assets/stylesheets/highlight/dark.scss')
-rw-r--r--app/assets/stylesheets/highlight/dark.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/highlight/dark.scss b/app/assets/stylesheets/highlight/dark.scss
index c8cb18ec35f..8323a8598ec 100644
--- a/app/assets/stylesheets/highlight/dark.scss
+++ b/app/assets/stylesheets/highlight/dark.scss
@@ -21,6 +21,12 @@ pre.code.highlight.dark,
background-color: #557 !important;
}
+ // Search result highlight
+ span.highlight_word {
+ background: #ffe792;
+ color: #000000;
+ }
+
.hll { background-color: #373b41 }
.c { color: #969896 } /* Comment */
.err { color: #cc6666 } /* Error */