From f77b30b50a1dd33900952fe303712f2bee5007a2 Mon Sep 17 00:00:00 2001 From: connors Date: Sat, 18 Jan 2014 18:27:34 -0800 Subject: [PATCH] removing the components js for now --- components.html | 4 ++-- docs-assets/css/docs.css | 2 +- docs-assets/js/docs.js | 18 +++++------------- index.html | 4 ++-- lib/sass/docs.scss | 2 +- 5 files changed, 11 insertions(+), 19 deletions(-) diff --git a/components.html b/components.html index 77e3f9a..4645627 100644 --- a/components.html +++ b/components.html @@ -8,9 +8,9 @@ base_url: "../"
- - v2.0.0

Ratchet

+ + Home
diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 92352fb..7e6a273 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -881,7 +881,7 @@ body { .platform-toggle { padding-top: 15px; - padding-bottom: 80px; + padding-bottom: 90px; } .platform-toggle.fixed { position: fixed; diff --git a/docs-assets/js/docs.js b/docs-assets/js/docs.js index ddc5eca..23a7d22 100644 --- a/docs-assets/js/docs.js +++ b/docs-assets/js/docs.js @@ -8,7 +8,6 @@ $(function() { var pageHeight; var contentPadding; var footerHeight; - var noticeBanner; var componentsList; var navComponentLinks; var contentSection; @@ -24,7 +23,6 @@ $(function() { bod = $(document.body) device = device || $('.device'); platformToggle = $('.platform-toggle'); - noticeBanner = $('.notice-banner'); navComponentLinks = $('.docs-nav'); componentsList = $('.components-list'); componentLinks = $('.component-example a'); @@ -40,8 +38,6 @@ $(function() { device.initialTop = device.initialTop || device.offset().top; device.dockingOffset = ($(window).height() - device.height())/2; - console.log(device.dockingOffset); - // Toggle placment toggleTop = platformToggle.offset().top; toggleHeight = platformToggle.outerHeight(); @@ -55,19 +51,15 @@ $(function() { var addEventListeners = function () { eventListeners = true; - noticeBanner.on('click', function () { - $(this).hide(); - }); - device.on('click', function (e) { e.preventDefault(); }); - navComponentLinks.click(function(e) { - e.stopPropagation(); - e.preventDefault(); - componentsList.toggleClass('active'); - }) + // navComponentLinks.click(function(e) { + // e.stopPropagation(); + // e.preventDefault(); + // componentsList.toggleClass('active'); + // }) doc.on('click', function () { componentsList.removeClass('active'); diff --git a/index.html b/index.html index 6df3f2f..30094fb 100644 --- a/index.html +++ b/index.html @@ -8,9 +8,9 @@ base_url: "./"
- - v2.0.0

Ratchet

+ + v2.0.0
diff --git a/lib/sass/docs.scss b/lib/sass/docs.scss index 03f7d3b..4be998f 100644 --- a/lib/sass/docs.scss +++ b/lib/sass/docs.scss @@ -294,7 +294,7 @@ body { .platform-toggle { padding-top: 15px; - padding-bottom: 80px; + padding-bottom: 90px; &.fixed { position: fixed;