diff options
author | Phil Hughes <me@iamphill.com> | 2017-07-27 13:01:09 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-08-03 19:03:49 +0300 |
commit | 85582b0537c50304f30b71a0de61954b1f6c508a (patch) | |
tree | 448aa3b98d881b65ff828c130215231d37eb1a94 /app/assets/stylesheets/pages/diff.scss | |
parent | 57aa5d631466e5e2431e54fa450c61b4f1a3ee90 (diff) |
Moved changed files into a dropdown
This makes navigating through diff files quickly. Currently we just
toggle a list, which could be pretty big. This moves it into a dropdown
to make it much easier.
Also includes a filter bar to quickly search for certain
files/extensions.
Closes #29778
Diffstat (limited to 'app/assets/stylesheets/pages/diff.scss')
-rw-r--r-- | app/assets/stylesheets/pages/diff.scss | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss index 398fd4444ea..972e6c7425f 100644 --- a/app/assets/stylesheets/pages/diff.scss +++ b/app/assets/stylesheets/pages/diff.scss @@ -395,12 +395,11 @@ background-color: transparent; border: 0; color: $gl-link-color; - transition: color 0.1s linear; + font-weight: 600; &:hover, &:focus { outline: none; - text-decoration: underline; color: $gl-link-hover-color; } } @@ -559,3 +558,17 @@ outline: 0; } } + +.diff-file-changes { + width: 450px; + z-index: 150; + + a { + padding-top: 8px; + padding-bottom: 8px; + } +} + +.diff-file-changes-path { + @include str-truncated(78%); +} |