Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamantha Ming <sming@gitlab.com>2019-08-10 05:36:32 +0300
committerMike Greiling <mike@pixelcog.com>2019-08-10 05:36:32 +0300
commitfc0ff7cf033e6267d7348057faee0fbedf5b90e8 (patch)
tree49dc31b7ff02ccd3cb37191fae100e7bbf661c54 /app/assets/stylesheets/highlight
parentcdac9ed86fb2c3a373be5b923bc3f02387b528fc (diff)
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.scss20
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,