summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-05-23 11:06:21 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2019-05-23 14:22:00 +0200
commit093b2f42c4efc1f679ec742e0a28145171127782 (patch)
tree7f6f1140729e7229d4643b24e2d6038ec88a4e39 /app/assets
parent2ad0999b59c3bf33b9458da3072ca73b8ec08381 (diff)
downloadgitlab-ce-093b2f42c4efc1f679ec742e0a28145171127782.tar.gz
Generate <span> with all sections
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/page_bundles/xterm.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/assets/stylesheets/page_bundles/xterm.scss b/app/assets/stylesheets/page_bundles/xterm.scss
index de3f2a1177d..96df5789eba 100644
--- a/app/assets/stylesheets/page_bundles/xterm.scss
+++ b/app/assets/stylesheets/page_bundles/xterm.scss
@@ -1452,4 +1452,23 @@
.xterm-fg-255 {
color: $xterm-fg-255;
}
+
+ .section-start + p {
+ cursor: pointer;
+ }
+
+ .section-start {
+ width: 1rem;
+ };
+
+ .section.line {
+ padding-left: 0.5rem;
+ margin-left: 0.5rem;
+ }
+
+ .section.not-used:not(.section-header):not(.open) {
+ display: none;
+ height: 0;
+ min-height: 0;
+ }
}