diff --git a/docs/assets/icons/GoodDataLearn.svg b/docs/assets/icons/GoodDataLearn.svg deleted file mode 100644 index d17b4f483..000000000 --- a/docs/assets/icons/GoodDataLearn.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/assets/scss/header.scss b/docs/assets/scss/header.scss index e7bfaed68..394d2e7d5 100644 --- a/docs/assets/scss/header.scss +++ b/docs/assets/scss/header.scss @@ -11,6 +11,10 @@ align-items: center; padding: 0 20px; + &__menu { + overflow-y: auto; + } + &__first { top: 0; min-height: $header-first-nav-height; diff --git a/docs/assets/scss/menu.scss b/docs/assets/scss/menu.scss index d41f2fd6b..3e8ba5304 100644 --- a/docs/assets/scss/menu.scss +++ b/docs/assets/scss/menu.scss @@ -51,14 +51,14 @@ &__mobile-icon { position: fixed; - top: $header-first-nav-height; + top: 80px; display: flex; justify-content: center; align-items: center; width: 55px; height: $header-second-nav-height; left: 10px; - z-index: 32; + z-index: 34; transition: $transition; &::before { @@ -83,6 +83,25 @@ } } + &__mobile-bg { + position: fixed; + top: $header-first-nav-height + 1px; + left: -100%; + bottom: 0; + width: 100%; + z-index: 32; + background-color: rgba($color-deep-purple, 0.5); + transition: $transition; + + @include mq(medium) { + display: none; + } + } + &__mobile-trigger:checked ~ &, + &__mobile-trigger:checked ~ &__mobile-bg { + left: 0; + } + &__mobile-trigger:checked ~ & { left: 0; } @@ -144,11 +163,10 @@ position: relative; display: inline-block; flex: 1 1 auto; - margin: 2px 20px 2px 0; // orig values -> 8px 20px 3px 0; + margin: 8px 20px 3px 0; padding: 0 0 5px; max-width: 100%; font-size: 15px; - //font-family: "Lucida Console", "Courier New", monospace; line-height: 1.5; &, diff --git a/docs/go.mod b/docs/go.mod index 6046f8e31..cc53e23da 100644 --- a/docs/go.mod +++ b/docs/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2 // indirect - github.com/gooddata/gooddata-docs-theme v0.0.0-20250724141246-310dd7684e82 // indirect + github.com/gooddata/gooddata-docs-theme v0.0.0-20250814105944-65486e0f9cfb // indirect github.com/google/docsy v0.7.1 // indirect github.com/google/docsy/dependencies v0.7.1 // indirect github.com/twbs/bootstrap v5.3.1+incompatible // indirect diff --git a/docs/go.sum b/docs/go.sum index 2daa06ae2..2de30edde 100644 --- a/docs/go.sum +++ b/docs/go.sum @@ -28,6 +28,12 @@ github.com/gooddata/gooddata-docs-theme v0.0.0-20250724110042-81655c31f00b h1:w2 github.com/gooddata/gooddata-docs-theme v0.0.0-20250724110042-81655c31f00b/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA= github.com/gooddata/gooddata-docs-theme v0.0.0-20250724141246-310dd7684e82 h1:vetjOF/JcH99uBeMDV22JvRoPB+5rps03c72na5LMi4= github.com/gooddata/gooddata-docs-theme v0.0.0-20250724141246-310dd7684e82/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA= +github.com/gooddata/gooddata-docs-theme v0.0.0-20250729102440-7a7e8c25d60b h1:Tsi2R9UmdkJpEhdBPN870ybDU06RfEN2Hbq4+BiOzMA= +github.com/gooddata/gooddata-docs-theme v0.0.0-20250729102440-7a7e8c25d60b/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA= +github.com/gooddata/gooddata-docs-theme v0.0.0-20250813103715-562a4a4e4a75 h1:swX9dIehu8bj/pIHF11NjBsiS/nEBl4vqmu8b+G530c= +github.com/gooddata/gooddata-docs-theme v0.0.0-20250813103715-562a4a4e4a75/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA= +github.com/gooddata/gooddata-docs-theme v0.0.0-20250814105944-65486e0f9cfb h1:acb17FkbyBJjZ4e/DvIf5xJ2S/XkpF+fQqa9lNP+8LM= +github.com/gooddata/gooddata-docs-theme v0.0.0-20250814105944-65486e0f9cfb/go.mod h1:VVNP6Cmo+vC37RD3T/YHjyU/QdqftGY5z4G513LYyrA= github.com/google/docsy v0.7.1 h1:DUriA7Nr3lJjNi9Ulev1SfiG1sUYmvyDeU4nTp7uDxY= github.com/google/docsy v0.7.1/go.mod h1:JCmE+c+izhE0Rvzv3y+AzHhz1KdwlA9Oj5YBMklJcfc= github.com/google/docsy/dependencies v0.7.1 h1:NbzYKJYMin2q50xdWSUzR2c9gCp7zR/XHDBcxklEcTQ= diff --git a/docs/layouts/_default/baseof.html b/docs/layouts/_default/baseof.html index 45dda34d4..94adb78f7 100644 --- a/docs/layouts/_default/baseof.html +++ b/docs/layouts/_default/baseof.html @@ -6,11 +6,11 @@ {{ partial "gtm-body.html" }} -
+
{{ partial "navbar.html" . }}
-
+
{{ block "main" . }}{{ end }}
{{ partialCached "footer.html" . }} diff --git a/docs/layouts/docs/baseof.html b/docs/layouts/docs/baseof.html index 3a9e9af84..d388ee1c5 100644 --- a/docs/layouts/docs/baseof.html +++ b/docs/layouts/docs/baseof.html @@ -10,7 +10,7 @@ {{ partial "gtm-body.html" }} -
+
{{ partial "navbar.html" . }}
@@ -22,7 +22,7 @@
{{ partial "toc.html" . }}
-
+
{{ partial "version-banner.html" . }} {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} {{ if .Draft }} diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html index 5a5d5f9fc..ed21d86c9 100644 --- a/docs/layouts/partials/footer.html +++ b/docs/layouts/partials/footer.html @@ -1,6 +1,6 @@ {{ $footer := getJSON "https://www.gooddata.com/learn-assets/js/footer-definition.json" }} -
+
{{ if $footer.footer.bannerLinks }}
+
+ {{ partial "navbar-breadcrumb.html" . }}
@@ -64,4 +34,4 @@ {{ end }}
{{ end }} - +
diff --git a/docs/layouts/partials/sidebar-tree.html b/docs/layouts/partials/sidebar-tree.html index a50bad78d..ef0ee6d2d 100644 --- a/docs/layouts/partials/sidebar-tree.html +++ b/docs/layouts/partials/sidebar-tree.html @@ -1,7 +1,8 @@ -