diff options
author | Samantha Ming <sming@gitlab.com> | 2019-08-10 02:36:32 +0000 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-08-10 02:36:32 +0000 |
commit | fc0ff7cf033e6267d7348057faee0fbedf5b90e8 (patch) | |
tree | 49dc31b7ff02ccd3cb37191fae100e7bbf661c54 /app/assets/stylesheets/highlight | |
parent | cdac9ed86fb2c3a373be5b923bc3f02387b528fc (diff) | |
download | gitlab-ce-fc0ff7cf033e6267d7348057faee0fbedf5b90e8.tar.gz |
Replace ... with new expansion options
- expand upwards
- expand downwards
- expand all
in both inline and parallel views
Diffstat (limited to 'app/assets/stylesheets/highlight')
-rw-r--r-- | app/assets/stylesheets/highlight/white_base.scss | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app/assets/stylesheets/highlight/white_base.scss b/app/assets/stylesheets/highlight/white_base.scss index ee0ec94c636..b3974df8639 100644 --- a/app/assets/stylesheets/highlight/white_base.scss +++ b/app/assets/stylesheets/highlight/white_base.scss @@ -101,6 +101,26 @@ pre.code, color: $white-code-color; } +// Expansion line +.line_expansion { + background-color: $gray-light; + + td { + border-top: 1px solid $border-color; + border-bottom: 1px solid $border-color; + text-align: center; + } + + a { + color: $blue-600; + } + + .unfold-icon { + display: inline-block; + padding: 8px 0; + } +} + // Diff line .line_holder { &.match .line_content, |