gitlab-org--gitlab-foss/app/assets/stylesheets
Douwe Maan ef9ba9050e Merge branch 'single-file-diffs' into 'master'
Single file diffs

Closes #14103. Related (not part of this MR): #19553.

This adds a `diff_for_path` action to each place we render diffs (commit, compare, new MR, existing MR) which renders the diff for a single path. The action is always available with the same params as the 'parent' action, to make it simpler to generate the URIs.

If a diff is bigger than 10 KB, it will be collapsed by default and have a data attribute added. You can then click the message or the filename to expand that diff. For expanded files, you can collapse and expand them, but they won't make any AJAX requests.

![Expand_and_collapse_diffs](/uploads/a4072029085082b85c47006f67ac531c/Expand_and_collapse_diffs.gif)

See merge request !4990
2016-07-11 17:51:57 +00:00
..
framework Merge branch 'single-file-diffs' into 'master' 2016-07-11 17:51:57 +00:00
highlight Merge branch 'diff-line-colors' into 'master' 2016-04-25 19:30:15 +00:00
mailers Center the header logo for all Devise emails 2016-06-16 20:10:52 -04:00
pages Lower case todya issue colors 2016-07-11 14:56:45 +03:00
application.scss Merge branch 'updated-contrib-calendar' into 'master' 2016-05-25 23:29:41 +00:00
behaviors.scss
framework.scss Updated blank state for environments and deployments 2016-06-21 09:54:15 +01:00
notify.scss Optimise email CSS for speed with Premailer 2016-06-07 12:33:19 +01:00
print.scss Updated print style 2016-04-18 12:00:20 +01:00