Commit graph

17 commits

Author SHA1 Message Date
Fatih Acet
89875afff6 Refactor on diff themes for merge conflicts UI. 2016-08-12 23:24:45 +03:00
Phil Hughes
8a8d4c9bf2 Diff viewer links to correct part of the file
Added highlight colours to diff rows

Closes #13852
2016-04-14 11:29:19 +01:00
Annabel Dunstone
c80c1da780 Move diff colors to variables 2016-04-07 15:33:18 -07:00
connorshea
e03d0b2892 Follow the CSS Style Guide rules for HEX colors.
Use lowercase letters and shorthand values for HEX colors where
possible.

Discussed in #14299.
2016-03-15 13:56:28 -06:00
Douwe Maan
606f8e9190 Increase contrast between highlighted code comments and inline diff marker. 2016-01-27 16:08:42 +01:00
Douwe Maan
40d2daed89 Highlight note code and edit preview 2016-01-25 11:42:47 +01:00
Douwe Maan
b2c071fad4 Pretty highlighted diffs for every theme 2016-01-21 14:56:23 +01:00
Douwe Maan
21facf5353 Use consistent markup and styling for highlighting across blobs, diffs, blame and snippets 2016-01-21 14:23:53 +01:00
Rubén Dávila
ee2230c329 Fix css for other highlighting themes. #3945 2016-01-09 09:27:43 -05:00
Rubén Dávila
21958a3939 Add some styling for syntax highlighting themes. #3945 2016-01-07 13:45:19 -05:00
Robert Speicher
d7f2a656f9 Update highlight themes so they always have the correct colors 2015-10-14 15:39:02 -04:00
Robert Speicher
59180c4f5a 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.
2015-08-25 15:32:38 -07:00
Marin Jankovski
1647994ada Merge branch 'fix-code-preview' into 'master'
Fix code preview theme setting for comments, issues, merge requests, and snippets

User color scheme was not being used: default white color scheme was always chosen. Also, default background for code in notes was always overriding the user color scheme.

Closes #1139

See merge request !357
2015-03-11 18:41:36 +00:00
Dmitriy Zaporozhets
cadf76562a Fix highlight of selected lines 2015-03-10 10:30:07 -07:00
Stan Hu
4218a2bfcf Fix code preview theme setting for comments, issues, merge requests, and snippets.
Also preserve code preview color scheme in events dashboard.

Assign default colors to all code blocks shown as <pre class="code highlight [color_scheme]">

Closes #1139
2015-03-10 08:11:20 -07:00
Stefan Tatschner
9a5199f005 Add missing color codes for line anchors, fixes #8628 2015-02-18 19:10:02 +01:00
Stefan Tatschner
bf079c24af Replace highlight.js with rouge-fork rugments
I decided to create a fork of rouge as rouge lacks a HTML formatter with
the required options such as wrapping a line with <span> tags.
Furthermore I was not really convinced about the clarity of rouge's
source code.

Rugments 1.0.0beta3 for now only includes some basic linting and a new
HTML formatter. Everything else should behave the same.
2015-01-15 13:41:11 +01:00