diff --git a/assets.css b/assets.css index fa67aea..7c58699 100644 --- a/assets.css +++ b/assets.css @@ -396,9 +396,6 @@ table { } -.sticked { - position: fixed !important; -} /* GENERAL */ html, @@ -493,6 +490,9 @@ code { #sidebar input { background: #111; border: 0; + border-radius: 2px; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); -moz-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.2); -webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.2); diff --git a/assets.js b/assets.js index d4a0186..491d4bf 100644 --- a/assets.js +++ b/assets.js @@ -9611,31 +9611,6 @@ if ( typeof define === "function" && define.amd && define.amd.jQuery ) { })( window ); -}); -require.register("sticky/index.js", function(exports, require, module){ -// Dependencies -var $ = require('jquery'); - -// Expose `Sticky`. -module.exports = Sticky; - -/** - * Initialize a `Sticky` element. - */ -function Sticky(el) { - this.el = el; - this.limit = $(this.el).offset().top; - var self = this; - $(window).scroll(function(e) { - if ($(window).scrollTop() > self.limit) { - $(self.el).addClass('sticked'); - } - else { - $(self.el).removeClass('sticked'); - } - }); - return this; -} }); require.register("filter/index.js", function(exports, require, module){ // Dependencies @@ -9736,9 +9711,6 @@ hide.click(function () { }); $('#content').prepend(hide); -// Making our navigation sticky -new Sticky($('#sidebar')); - // Making our navigation sticky new Filter($('#sidebar > ul')); }); @@ -9746,9 +9718,6 @@ require.alias("boot/index.js", "carte/deps/boot/index.js"); require.alias("component-jquery/index.js", "boot/deps/jquery/index.js"); -require.alias("sticky/index.js", "boot/deps/sticky/index.js"); -require.alias("component-jquery/index.js", "sticky/deps/jquery/index.js"); - require.alias("filter/index.js", "boot/deps/filter/index.js"); require.alias("component-jquery/index.js", "filter/deps/jquery/index.js"); diff --git a/lib/boot/component.json b/lib/boot/component.json index b7428f6..91b1f4e 100644 --- a/lib/boot/component.json +++ b/lib/boot/component.json @@ -5,7 +5,7 @@ "necolas/normalize.css": "*", "component/jquery": "*" }, - "local": ["sticky", "filter"], + "local": ["filter"], "scripts": ["index.js"], "styles": ["style.css"] } \ No newline at end of file