From 4b065f28b5bc95773f39260260469005cb2f9860 Mon Sep 17 00:00:00 2001 From: "Deployment Bot (from Travis CI)" Date: Mon, 5 Aug 2019 10:12:28 +0000 Subject: Deploy fretlink/terraform-provider-mailgun to github.com/fretlink/terraform-provider-mailgun.git:gh-pages --- assets/javascripts/application.js | 17 ++++++++++++++++- assets/stylesheets/application.css | 4 ++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/application.js b/assets/javascripts/application.js index 53004d2..e8fec89 100644 --- a/assets/javascripts/application.js +++ b/assets/javascripts/application.js @@ -9366,6 +9366,17 @@ document.addEventListener('turbolinks:load', function() { product: 'terraform' } }) + + track('a.notification', function(el) { + var params = { + name: 'Alert Banner', + variant: el.innerText.replace(/\s+/g, ' ').trim() + } + // Create a stringified `label` prop of the event for GA tracking purposes + params.label = JSON.stringify(params) + params.event = 'CTA Clicked' + return params + }) }) ; @@ -9395,8 +9406,12 @@ document.addEventListener("turbolinks:load", function() { // we leave the nav-hidden class alone after this. function resetActiveSubnavs() { subNavs.removeClass("active"); - // Activate current page, locked-open navs, and all their parents: + // Activate current page, locked-open navs, and all their ancestors: docsSidebar.find("li").has(".current-page, .nav-visible").addClass("active"); + // Activate auto-expand navs, but leave their ancestors alone: + docsSidebar.find(".nav-auto-expand").parent("li").addClass("active"); + // Colored links for current page and its ancestors + docsSidebar.find("li").has(".current-page").addClass("current"); } resetActiveSubnavs(); diff --git a/assets/stylesheets/application.css b/assets/stylesheets/application.css index bf25aa2..7b75879 100644 --- a/assets/stylesheets/application.css +++ b/assets/stylesheets/application.css @@ -8971,8 +8971,8 @@ svg.logo, svg.logo.color, #page-home #header .navbar-brand a svg.logo { #docs-sidebar ul.nav.docs-sidenav li.has-subnav.active:before { transform: rotate(90deg); top: 2px; } - /* line 152, /terraform-website/source/assets/stylesheets/_docs.scss */ - #docs-sidebar ul.nav.docs-sidenav li.active > a { + /* line 151, /terraform-website/source/assets/stylesheets/_docs.scss */ + #docs-sidebar ul.nav.docs-sidenav li.current > a { color: #5C4EE5; } /* line 156, /terraform-website/source/assets/stylesheets/_docs.scss */ #docs-sidebar ul.nav.docs-sidenav li.active > ul.nav { -- cgit v1.2.3