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

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'content/assets/stylesheets/toc.scss')
-rw-r--r--content/assets/stylesheets/toc.scss17
1 files changed, 13 insertions, 4 deletions
diff --git a/content/assets/stylesheets/toc.scss b/content/assets/stylesheets/toc.scss
index 5480bf2f..6b6fb00b 100644
--- a/content/assets/stylesheets/toc.scss
+++ b/content/assets/stylesheets/toc.scss
@@ -1,5 +1,5 @@
---
-version: 8
+version: 9
---
@import "variables";
@@ -15,7 +15,7 @@ version: 8
font-size: 16px;
}
- > ul {
+ .table-of-contents {
position: relative;
padding: 16px 8px;
margin-top: 60px;
@@ -32,7 +32,6 @@ version: 8
font-size: 14px;
color: $toc-link-color;
display: inline;
- padding: 3px 7px;
&:hover {
color: $link-color-nav-hover;
@@ -112,11 +111,21 @@ version: 8
}
// ToC toggle button
- > ul {
+ .table-of-contents {
margin: 0;
}
}
+ .sm-collapsing {
+ height: 0;
+ overflow: hidden;
+ transition: height .2s ease;
+ }
+
+ .sm-collapsed {
+ display: none;
+ }
+
.main.class {
float: none;
width: inherit;