diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-08-25 15:23:41 -0700 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-08-25 15:32:38 -0700 |
commit | 59180c4f5a553938ee79968e7983aee6ce584ff5 (patch) | |
tree | 18cf8f45d7aaec5030437ed01d8110528f7f9d50 /app/assets/stylesheets/highlight/dark.scss | |
parent | 4344b8d2d4367b19c6849c3cab0d02d17ddf2304 (diff) | |
download | gitlab-ce-59180c4f5a553938ee79968e7983aee6ce584ff5.tar.gz |
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.scss | 6 |
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 */ |