diff options
author | Deployment Bot (from Travis CI) <deploy@travis-ci.org> | 2019-08-05 10:12:28 +0000 |
---|---|---|
committer | Deployment Bot (from Travis CI) <deploy@travis-ci.org> | 2019-08-05 10:12:28 +0000 |
commit | 4b065f28b5bc95773f39260260469005cb2f9860 (patch) | |
tree | c2f99800e2362829cf5afe750077b30ece9bd0a1 | |
parent | 08fde34317d88ed96d7f4c2578dac36b2a068344 (diff) | |
download | terraform-provider-mailgun-gh-pages.tar.gz terraform-provider-mailgun-gh-pages.tar.zst terraform-provider-mailgun-gh-pages.zip |
Deploy fretlink/terraform-provider-mailgun to github.com/fretlink/terraform-provider-mailgun.git:gh-pagesgh-pages
-rw-r--r-- | assets/javascripts/application.js | 17 | ||||
-rw-r--r-- | 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() { | |||
9366 | product: 'terraform' | 9366 | product: 'terraform' |
9367 | } | 9367 | } |
9368 | }) | 9368 | }) |
9369 | |||
9370 | track('a.notification', function(el) { | ||
9371 | var params = { | ||
9372 | name: 'Alert Banner', | ||
9373 | variant: el.innerText.replace(/\s+/g, ' ').trim() | ||
9374 | } | ||
9375 | // Create a stringified `label` prop of the event for GA tracking purposes | ||
9376 | params.label = JSON.stringify(params) | ||
9377 | params.event = 'CTA Clicked' | ||
9378 | return params | ||
9379 | }) | ||
9369 | }) | 9380 | }) |
9370 | ; | 9381 | ; |
9371 | 9382 | ||
@@ -9395,8 +9406,12 @@ document.addEventListener("turbolinks:load", function() { | |||
9395 | // we leave the nav-hidden class alone after this. | 9406 | // we leave the nav-hidden class alone after this. |
9396 | function resetActiveSubnavs() { | 9407 | function resetActiveSubnavs() { |
9397 | subNavs.removeClass("active"); | 9408 | subNavs.removeClass("active"); |
9398 | // Activate current page, locked-open navs, and all their parents: | 9409 | // Activate current page, locked-open navs, and all their ancestors: |
9399 | docsSidebar.find("li").has(".current-page, .nav-visible").addClass("active"); | 9410 | docsSidebar.find("li").has(".current-page, .nav-visible").addClass("active"); |
9411 | // Activate auto-expand navs, but leave their ancestors alone: | ||
9412 | docsSidebar.find(".nav-auto-expand").parent("li").addClass("active"); | ||
9413 | // Colored links for current page and its ancestors | ||
9414 | docsSidebar.find("li").has(".current-page").addClass("current"); | ||
9400 | } | 9415 | } |
9401 | resetActiveSubnavs(); | 9416 | resetActiveSubnavs(); |
9402 | 9417 | ||
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 { | |||
8971 | #docs-sidebar ul.nav.docs-sidenav li.has-subnav.active:before { | 8971 | #docs-sidebar ul.nav.docs-sidenav li.has-subnav.active:before { |
8972 | transform: rotate(90deg); | 8972 | transform: rotate(90deg); |
8973 | top: 2px; } | 8973 | top: 2px; } |
8974 | /* line 152, /terraform-website/source/assets/stylesheets/_docs.scss */ | 8974 | /* line 151, /terraform-website/source/assets/stylesheets/_docs.scss */ |
8975 | #docs-sidebar ul.nav.docs-sidenav li.active > a { | 8975 | #docs-sidebar ul.nav.docs-sidenav li.current > a { |
8976 | color: #5C4EE5; } | 8976 | color: #5C4EE5; } |
8977 | /* line 156, /terraform-website/source/assets/stylesheets/_docs.scss */ | 8977 | /* line 156, /terraform-website/source/assets/stylesheets/_docs.scss */ |
8978 | #docs-sidebar ul.nav.docs-sidenav li.active > ul.nav { | 8978 | #docs-sidebar ul.nav.docs-sidenav li.active > ul.nav { |