Commit 442a7d0d by Brian Talbot

docs.edx.org: removes unused basic FED assets and design artifacts

parent 6ec74574
SSSymboliconsBlock
SSSymboliconsBlock
SSSymboliconsBlock
SSStandard
SSStandard
SSSymboliconsBlock
SSSymboliconsBlock
SSSymboliconsBlock
SSSymboliconsBlock
SSStandard
SSSymboliconsBlock
SSSymboliconsBlock
SSSymboliconsBlock
SSSymboliconsBlock
SSSymboliconsBlock
SSSymboliconsBlock
\ No newline at end of file
OpenSans
OpenSans-Light
STFangsong
OpenSans-Light
STFangsong
OpenSans-Light
WalkwaySemiBold
OpenSans-Light
WalkwayUltraBold
OpenSans-Light
WalkwaySemiBold
WalkwaySemiBold
OpenSans-Light
WalkwayUltraBold
OpenSans-Light
WalkwayUltraBold
OpenSans-Light
WalkwayUltraBold
WalkwaySemiBold
WalkwaySemiBold
OpenSans-Light
WalkwaySemiBold
OpenSans-Light
WalkwaySemiBold
OpenSans-Light
\ No newline at end of file
// smooth scrolling links
function smoothScrollLink(e) {
(e).preventDefault();
$.smoothScroll({
offset: -200,
easing: 'swing',
speed: 1000,
scrollElement: null,
scrollTarget: $(this).attr('href')
});
}
// open in new window/tab
function linkNewWindow(e) {
window.open($(e.target).attr('href'));
e.preventDefault();
}
// doc ready
$(function() {
var $body = $('body');
$body.removeClass('no-js');
// general link management - new window/tab
// $('a[rel="external"]').attr('title', 'This link will open in a new browser window/tab').bind('click', linkNewWindow);
// general link management - smooth scrolling page links
$('a[rel*="view"][href^="#"]').bind('click', smoothScrollLink);
});
/* **********************************************
Begin jquery.smoothscroll.js
********************************************** *//*!
* Smooth Scroll - v1.4.10 - 2013-03-02
* https://github.com/kswedberg/jquery-smooth-scroll
* Copyright (c) 2013 Karl Swedberg
* Licensed MIT (https://github.com/kswedberg/jquery-smooth-scroll/blob/master/LICENSE-MIT)
*/function smoothScrollLink(e){e.preventDefault();$.smoothScroll({offset:-200,easing:"swing",speed:1e3,scrollElement:null,scrollTarget:$(this).attr("href")})}function linkNewWindow(e){window.open($(e.target).attr("href"));e.preventDefault()}(function(e){function t(e){return e.replace(/(:|\.)/g,"\\$1")}var n="1.4.10",r={exclude:[],excludeWithin:[],offset:0,direction:"top",scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficent:2},i=function(t){var n=[],r=!1,i=t.dir&&"left"==t.dir?"scrollLeft":"scrollTop";return this.each(function(){if(this!=document&&this!=window){var t=e(this);t[i]()>0?n.push(this):(t[i](1),r=t[i]()>0,r&&n.push(this),t[i](0))}}),n.length||this.each(function(){"BODY"===this.nodeName&&(n=[this])}),"first"===t.el&&n.length>1&&(n=[n[0]]),n};e.fn.extend({scrollable:function(e){var t=i.call(this,{dir:e});return this.pushStack(t)},firstScrollable:function(e){var t=i.call(this,{el:"first",dir:e});return this.pushStack(t)},smoothScroll:function(n){n=n||{};var r=e.extend({},e.fn.smoothScroll.defaults,n),i=e.smoothScroll.filterPath(location.pathname);return this.unbind("click.smoothscroll").bind("click.smoothscroll",function(n){var s=this,u=e(this),a=r.exclude,f=r.excludeWithin,c=0,h=0,p=!0,d={},v=location.hostname===s.hostname||!s.hostname,m=r.scrollTarget||(e.smoothScroll.filterPath(s.pathname)||i)===i,g=t(s.hash);if(r.scrollTarget||v&&m&&g){for(;p&&a.length>c;)u.is(t(a[c++]))&&(p=!1);for(;p&&f.length>h;)u.closest(f[h++]).length&&(p=!1)}else p=!1;p&&(n.preventDefault(),e.extend(d,r,{scrollTarget:r.scrollTarget||g,link:s}),e.smoothScroll(d))}),this}}),e.smoothScroll=function(t,n){var r,i,s,o,u=0,a="offset",f="scrollTop",c={},h={};"number"==typeof t?(r=e.fn.smoothScroll.defaults,s=t):(r=e.extend({},e.fn.smoothScroll.defaults,t||{}),r.scrollElement&&(a="position","static"==r.scrollElement.css("position")&&r.scrollElement.css("position","relative"))),r=e.extend({link:null},r),f="left"==r.direction?"scrollLeft":f,r.scrollElement?(i=r.scrollElement,u=i[f]()):i=e("html, body").firstScrollable(),r.beforeScroll.call(i,r),s="number"==typeof t?t:n||e(r.scrollTarget)[a]()&&e(r.scrollTarget)[a]()[r.direction]||0,c[f]=s+u+r.offset,o=r.speed,"auto"===o&&(o=c[f]||i.scrollTop(),o/=r.autoCoefficent),h={duration:o,easing:r.easing,complete:function(){r.afterScroll.call(r.link,r)}},r.step&&(h.step=r.step),i.length?i.stop().animate(c,h):r.afterScroll.call(r.link,r)},e.smoothScroll.version=n,e.smoothScroll.filterPath=function(e){return e.replace(/^\//,"").replace(/(index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},e.fn.smoothScroll.defaults=r})(jQuery);$(function(){var e=$("body");e.removeClass("no-js");$('a[rel*="view"][href^="#"]').bind("click",smoothScrollLink)});
\ No newline at end of file
/*!
* Smooth Scroll - v1.4.10 - 2013-03-02
* https://github.com/kswedberg/jquery-smooth-scroll
* Copyright (c) 2013 Karl Swedberg
* Licensed MIT (https://github.com/kswedberg/jquery-smooth-scroll/blob/master/LICENSE-MIT)
*/
(function(l){function t(l){return l.replace(/(:|\.)/g,"\\$1")}var e="1.4.10",o={exclude:[],excludeWithin:[],offset:0,direction:"top",scrollElement:null,scrollTarget:null,beforeScroll:function(){},afterScroll:function(){},easing:"swing",speed:400,autoCoefficent:2},r=function(t){var e=[],o=!1,r=t.dir&&"left"==t.dir?"scrollLeft":"scrollTop";return this.each(function(){if(this!=document&&this!=window){var t=l(this);t[r]()>0?e.push(this):(t[r](1),o=t[r]()>0,o&&e.push(this),t[r](0))}}),e.length||this.each(function(){"BODY"===this.nodeName&&(e=[this])}),"first"===t.el&&e.length>1&&(e=[e[0]]),e};l.fn.extend({scrollable:function(l){var t=r.call(this,{dir:l});return this.pushStack(t)},firstScrollable:function(l){var t=r.call(this,{el:"first",dir:l});return this.pushStack(t)},smoothScroll:function(e){e=e||{};var o=l.extend({},l.fn.smoothScroll.defaults,e),r=l.smoothScroll.filterPath(location.pathname);return this.unbind("click.smoothscroll").bind("click.smoothscroll",function(e){var n=this,s=l(this),c=o.exclude,i=o.excludeWithin,a=0,f=0,h=!0,u={},d=location.hostname===n.hostname||!n.hostname,m=o.scrollTarget||(l.smoothScroll.filterPath(n.pathname)||r)===r,p=t(n.hash);if(o.scrollTarget||d&&m&&p){for(;h&&c.length>a;)s.is(t(c[a++]))&&(h=!1);for(;h&&i.length>f;)s.closest(i[f++]).length&&(h=!1)}else h=!1;h&&(e.preventDefault(),l.extend(u,o,{scrollTarget:o.scrollTarget||p,link:n}),l.smoothScroll(u))}),this}}),l.smoothScroll=function(t,e){var o,r,n,s,c=0,i="offset",a="scrollTop",f={},h={};"number"==typeof t?(o=l.fn.smoothScroll.defaults,n=t):(o=l.extend({},l.fn.smoothScroll.defaults,t||{}),o.scrollElement&&(i="position","static"==o.scrollElement.css("position")&&o.scrollElement.css("position","relative"))),o=l.extend({link:null},o),a="left"==o.direction?"scrollLeft":a,o.scrollElement?(r=o.scrollElement,c=r[a]()):r=l("html, body").firstScrollable(),o.beforeScroll.call(r,o),n="number"==typeof t?t:e||l(o.scrollTarget)[i]()&&l(o.scrollTarget)[i]()[o.direction]||0,f[a]=n+c+o.offset,s=o.speed,"auto"===s&&(s=f[a]||r.scrollTop(),s/=o.autoCoefficent),h={duration:s,easing:o.easing,complete:function(){o.afterScroll.call(o.link,o)}},o.step&&(h.step=o.step),r.length?r.stop().animate(f,h):o.afterScroll.call(o.link,o)},l.smoothScroll.version=e,l.smoothScroll.filterPath=function(l){return l.replace(/^\//,"").replace(/(index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")},l.fn.smoothScroll.defaults=o})(jQuery);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment