compress
This commit is contained in:
parent
484fc4caeb
commit
3da92c049b
2
andrea/css/andrea.min.css
vendored
2
andrea/css/andrea.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
bruce/css/bootstrap-theme.min.css
vendored
2
bruce/css/bootstrap-theme.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
bruce/css/bootstrap.min.css
vendored
2
bruce/css/bootstrap.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
bruce/css/bruce.min.css
vendored
2
bruce/css/bruce.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
classic/css/classic.min.css
vendored
2
classic/css/classic.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
community/css/community.min.css
vendored
2
community/css/community.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
ease/css/ease.min.css
vendored
2
ease/css/ease.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
favourite/css/favourite.min.css
vendored
2
favourite/css/favourite.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
finding/css/finding.min.css
vendored
2
finding/css/finding.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
i-nove/css/i-nove.min.css
vendored
2
i-nove/css/i-nove.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
metro-hot/css/metro-hot-responsive.min.css
vendored
2
metro-hot/css/metro-hot-responsive.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
metro-hot/css/metro-hot.min.css
vendored
2
metro-hot/css/metro-hot.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
neoease/css/neoease.min.css
vendored
2
neoease/css/neoease.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -579,6 +579,7 @@ img {
|
||||
.sidebar section {
|
||||
opacity: 0;
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.sidebar > ul > li {
|
||||
|
4
next/css/next.min.css
vendored
4
next/css/next.min.css
vendored
File diff suppressed because one or more lines are too long
@ -99,7 +99,7 @@ var NexT = {
|
||||
$('.sidebar').prepend(articleTocHTML);
|
||||
var $sectionF = $('.sidebar section:first').html($('.b3-solo-list')),
|
||||
$sectionL = $('.sidebar section:last');
|
||||
|
||||
$sectionF.height($(window).height() - 90);
|
||||
// 切换 tab
|
||||
$('.sidebar > ul > li').click(function () {
|
||||
if ($(this).data('tab') === 'toc') {
|
||||
|
2
next/js/next.min.js
vendored
2
next/js/next.min.js
vendored
@ -13,4 +13,4 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
var NexT={init:function(){$(".sidebar-toggle").click(function(){var i=$(".sidebar");$(this).hasClass("sidebar-active")?($(this).removeClass("sidebar-active"),$("body").animate({"padding-right":0}),i.animate({right:-320}),i.find("section").css("opacity",0)):($(this).addClass("sidebar-active"),$("body").animate({"padding-right":320}),i.animate({right:0},function(){i.find("section:first").animate({opacity:1})}))}),$(".site-nav-toggle").click(function(){$(".site-nav").slideToggle()}),$(document).ready(function(){setTimeout(function(){$(".logo-wrap").css("opacity",1),$(".logo-line-before i").animate({left:"0"},function(){$(".site-title").css("opacity",1).animate({top:0},function(){$(".menu").css("opacity",1).animate({"margin-top":"15px"}),$(".main").css("opacity",1).animate({top:"0"},function(){$(".b3-solo-list li").length>0&&$(window).width()>1e3&&$(".sidebar-toggle").click()})})}),$(".logo-line-after i").animate({right:"0"})},500)})},initArticle:function(){if($(".b3-solo-list li").length>0&&$(window).width()>1e3){$(".sidebar-toggle").addClass("has-toc");var i='<ul><li class="current" data-tab="toc">'+Label.tocLabel+'</li><li data-tab="site">'+Label.siteViewLabel+"</li></ul><section></section>";$(".sidebar").prepend(i);var t=$(".sidebar section:first").html($(".b3-solo-list")),a=$(".sidebar section:last");$(".sidebar > ul > li").click(function(){"toc"===$(this).data("tab")?a.animate({opacity:"0",top:"-50px"},300,function(){t.show().css("top","-50px"),t.animate({opacity:"1",top:"0"},300)}):t.animate({opacity:"0",top:"-50px"},300,function(){t.hide().css("top","-50px"),a.animate({opacity:"1",top:"0"},300)}),$(".sidebar > ul > li").removeClass("current"),$(this).addClass("current")})}}};NexT.init();
|
||||
var NexT={init:function(){$(".sidebar-toggle").click(function(){var i=$(".sidebar");$(this).hasClass("sidebar-active")?($(this).removeClass("sidebar-active"),$("body").animate({"padding-right":0}),i.animate({right:-320}),i.find("section").css("opacity",0)):($(this).addClass("sidebar-active"),$("body").animate({"padding-right":320}),i.animate({right:0},function(){i.find("section:first").animate({opacity:1})}))}),$(".site-nav-toggle").click(function(){$(".site-nav").slideToggle()}),$(document).ready(function(){setTimeout(function(){$(".logo-wrap").css("opacity",1),$(".logo-line-before i").animate({left:"0"},function(){$(".site-title").css("opacity",1).animate({top:0},function(){$(".menu").css("opacity",1).animate({"margin-top":"15px"}),$(".main").css("opacity",1).animate({top:"0"},function(){$(".b3-solo-list li").length>0&&$(window).width()>1e3&&$(".sidebar-toggle").click()})})}),$(".logo-line-after i").animate({right:"0"})},500)})},initArticle:function(){if($(".b3-solo-list li").length>0&&$(window).width()>1e3){$(".sidebar-toggle").addClass("has-toc");var i='<ul><li class="current" data-tab="toc">'+Label.tocLabel+'</li><li data-tab="site">'+Label.siteViewLabel+"</li></ul><section></section>";$(".sidebar").prepend(i);var t=$(".sidebar section:first").html($(".b3-solo-list")),a=$(".sidebar section:last");t.height($(window).height()-90),$(".sidebar > ul > li").click(function(){"toc"===$(this).data("tab")?a.animate({opacity:"0",top:"-50px"},300,function(){t.show().css("top","-50px"),t.animate({opacity:"1",top:"0"},300)}):t.animate({opacity:"0",top:"-50px"},300,function(){t.hide().css("top","-50px"),a.animate({opacity:"1",top:"0"},300)}),$(".sidebar > ul > li").removeClass("current"),$(this).addClass("current")})}}};NexT.init();
|
2
owmx-3.0/css/owmx-3.0.min.css
vendored
2
owmx-3.0/css/owmx-3.0.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
timeline/css/timeline.min.css
vendored
2
timeline/css/timeline.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
tree-house/css/tree-house.min.css
vendored
2
tree-house/css/tree-house.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
2
yilia/css/yilia.min.css
vendored
2
yilia/css/yilia.min.css
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Copyright (c) 2010-2016, b3log.org & hacpai.com
|
||||
* Copyright (c) 2010-2017, b3log.org & hacpai.com
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
Loading…
x
Reference in New Issue
Block a user