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

github.com/google/docsy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorFranz Steininger <narrenfrei@gmail.com>2021-05-18 16:53:59 +0300
committerFranz Steininger <narrenfrei@gmail.com>2021-05-29 22:36:31 +0300
commitcdcd855a1e42b04d2c66f8797d4e8b8a08cd5c23 (patch)
treecaa2f3a28a4505ea25c3ddef90525dfdf5406846 /assets
parent847530da53eb4fbcd46fea28a04f98e7762af624 (diff)
Debugging foldable menu
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/_nav.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/scss/_nav.scss b/assets/scss/_nav.scss
index f97688b..78d32ec 100644
--- a/assets/scss/_nav.scss
+++ b/assets/scss/_nav.scss
@@ -167,7 +167,7 @@ nav.foldable-nav {
/* (B) SUB-SECTIONS */
/* (B1) TOGGLE SHOW/HIDE */
- .with-child ul {
+ ul.foldable {
// display: none;
max-height: 0;
// overflow-x: visible;
@@ -176,7 +176,7 @@ nav.foldable-nav {
// opacity: 0;
transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}
- .with-child input:checked ~ ul {
+ input:checked ~ ul.foldable {
// display: block;
max-height: 100vmax;
// opacity: 1;
@@ -184,7 +184,7 @@ nav.foldable-nav {
}
/* (B2) HIDE CHECKBOX */
- .with-child input[type=checkbox] { display: none; }
+ input[type=checkbox] { display: none; }
/* (B3) ADD EXPAND/COLLAPSE ICON */
.with-child, .without-child {