diff --git a/website/assets/images/docs-cta-icon-47x38@2x.png b/website/assets/images/docs-cta-icon-47x38@2x.png new file mode 100644 index 0000000000..079e17b589 Binary files /dev/null and b/website/assets/images/docs-cta-icon-47x38@2x.png differ diff --git a/website/assets/images/logo-fleet-brandmark-28x28@2x.png b/website/assets/images/logo-fleet-brandmark-28x28@2x.png deleted file mode 100644 index 0d931635a1..0000000000 Binary files a/website/assets/images/logo-fleet-brandmark-28x28@2x.png and /dev/null differ diff --git a/website/assets/js/pages/docs/basic-documentation.page.js b/website/assets/js/pages/docs/basic-documentation.page.js index b892377262..97f3b064d7 100644 --- a/website/assets/js/pages/docs/basic-documentation.page.js +++ b/website/assets/js/pages/docs/basic-documentation.page.js @@ -251,7 +251,6 @@ parasails.registerPage('basic-documentation', { scrollSideNavigationWithHeader: function () { var rightNavBar = document.querySelector('div[purpose="right-sidebar"]'); - var leftNavBar = document.querySelector('div[purpose="left-sidebar"]'); var scrollTop = window.pageYOffset || document.documentElement.scrollTop; if(rightNavBar) { if (scrollTop > this.scrollDistance && scrollTop > window.innerHeight * 1.5) { @@ -264,17 +263,6 @@ parasails.registerPage('basic-documentation', { } } } - if(leftNavBar) { - if (scrollTop > this.scrollDistance && scrollTop > window.innerHeight * 1.5) { - leftNavBar.classList.add('header-hidden', 'scrolled'); - } else { - if(scrollTop === 0) { - leftNavBar.classList.remove('header-hidden', 'scrolled'); - } else { - leftNavBar.classList.remove('header-hidden'); - } - } - } this.scrollDistance = scrollTop; } diff --git a/website/assets/styles/pages/docs/basic-documentation.less b/website/assets/styles/pages/docs/basic-documentation.less index 319b0bcc1d..81f1b3ddc7 100644 --- a/website/assets/styles/pages/docs/basic-documentation.less +++ b/website/assets/styles/pages/docs/basic-documentation.less @@ -405,7 +405,6 @@ [purpose='demo-cta'] { display: flex; border: 1px solid #E3E3E3; - background: linear-gradient(270deg, #201E43 0%, #353D62 100%); box-shadow: 1px 2px 2px rgba(197, 199, 209, 0.2); border-radius: 6px; padding: 20px 16px; @@ -413,21 +412,21 @@ width: 100%; a { text-decoration: none; - color: #FFF; + color: @core-fleet-black; &:hover { - color: #FFF; + color: @core-fleet-black; } } p { font-weight: 700; font-size: 14px; - line-height: 24px; + line-height: 18px; } span { text-align: center; font-size: 14px; line-height: 19px; - color: #FFF; + color: @core-fleet-black; } } } @@ -679,23 +678,18 @@ max-height: calc(~'100vh - 140px'); } [purpose='left-sidebar'] { - position: sticky; - top: 118px; height: fit-content; - overflow-y: auto; + min-width: 216px; transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 500ms; - &:not(.scrolled) { - max-height: calc(~'100vh - 205px'); // Using a calculated max-height to allow the sidebars to be fully scrollable before the content is scrolled. - } } [purpose='right-sidebar'] { p { line-height: 21px; } - min-width: 216px; + min-width: 190px; position: sticky; top: 118px; height: fit-content; diff --git a/website/views/pages/docs/basic-documentation.ejs b/website/views/pages/docs/basic-documentation.ejs index 85113533d4..f5d4a6f581 100644 --- a/website/views/pages/docs/basic-documentation.ejs +++ b/website/views/pages/docs/basic-documentation.ejs @@ -148,7 +148,7 @@