From cca6bd1bc956ba3c1853f5643df5d849ddecb278 Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 25 Aug 2013 23:17:21 +0200 Subject: [PATCH] Upgrade to Bootstrap 3 --- cache.manifest | 2 +- js-min/main.js | 14 ++++++++------ js-min/themes/blue-gray.css | 14 +++++++------- js-min/themes/default.css | 14 +++++++------- js-min/themes/night.css | 14 +++++++------- 5 files changed, 30 insertions(+), 28 deletions(-) diff --git a/cache.manifest b/cache.manifest index 26336c40..b3177fdc 100644 --- a/cache.manifest +++ b/cache.manifest @@ -87,7 +87,7 @@ lib/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js #dynamic -# Sun 25 Aug 2013 01:44:20 CEST +# Sun 25 Aug 2013 23:17:05 CEST js-min/font/fontello.eot js-min/font/fontello.svg js-min/font/fontello.ttf diff --git a/js-min/main.js b/js-min/main.js index 9b13fc89..66a0d529 100644 --- a/js-min/main.js +++ b/js-min/main.js @@ -13696,21 +13696,23 @@ function(e) { e.stopPropagation(); }), L = e(".menu-panel").collapse({ toggle: !1 - }), L.on("show.bs.collapse", function(e) { - e.target === L[0] ? F = !0 : L.find(".in").collapse("hide"); + }); + var t = void 0; + L.on("show.bs.collapse", function(e) { + e.target === L[0] ? (F = !0, t = i.createBackdrop("collapse", ".menu-panel"), L.addClass("move-to-front")) : L.find(".in").collapse("hide"); }).on("hide.bs.collapse", function(e) { - e.target === L[0] && (F = !1); + e.target === L[0] && (F = !1, t.parentNode.removeChild(t), L.removeClass("move-to-front")); }).on("hidden.bs.collapse", function(e) { e.target === L[0] && L.find(".in").collapse("hide"); }), R = e(".document-panel").collapse({ toggle: !1 }); - var t = void 0; + var n = void 0; R.on("show.bs.collapse", function(e) { - e.target === R[0] ? (H = !0, t = i.createBackdrop("collapse", ".document-panel"), + e.target === R[0] ? (H = !0, n = i.createBackdrop("collapse", ".document-panel"), R.addClass("move-to-front")) : R.find(".in").collapse("hide"); }).on("hide.bs.collapse", function(e) { - e.target === R[0] && (H = !1, t.remove(), R.removeClass("move-to-front")); + e.target === R[0] && (H = !1, n.parentNode.removeChild(n), R.removeClass("move-to-front")); }).on("hidden.bs.collapse", function(e) { e.target === R[0] && R.find(".in").collapse("hide"); }), w(), O = e("#wmd-input"), e("#wmd-input, #md-section-helper").css({ diff --git a/js-min/themes/blue-gray.css b/js-min/themes/blue-gray.css index 0dad7b19..13c8d6ca 100644 --- a/js-min/themes/blue-gray.css +++ b/js-min/themes/blue-gray.css @@ -1348,20 +1348,20 @@ th.visible-print,td.visible-print{display:none !important} .navbar .input-file-title{margin-right:10px} .navbar .working-indicator{width:50px;height:17px;background-position:0 0;margin-top:12px} .navbar .working-indicator.show{background-image:url("../img/loader-default.gif")} -@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}.menu-panel,.document-panel{display:block;position:absolute;top:0;height:100%;z-index:10;overflow:initial;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175)} +@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}.menu-panel,.document-panel{display:block;position:absolute;top:0;height:100%;z-index:10;overflow:initial} .menu-panel .collapse-button i,.document-panel .collapse-button i{color:#666;font-size:19px} -.menu-panel .panel-content,.document-panel .panel-content{overflow:auto;padding-bottom:30px;height:100%} +.menu-panel .panel-content,.document-panel .panel-content{-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);overflow:auto;padding-bottom:30px;height:100%} .menu-panel .panel-content a>i,.document-panel .panel-content a>i{margin-right:3px;color:inherit} -.menu-panel{background-color:#edf1f3;width:280px !important;margin-left:-312px;-webkit-transition:margin-left .35s ease;-moz-transition:margin-left .35s ease;-o-transition:margin-left .35s ease;transition:margin-left .35s ease} +.menu-panel{width:280px !important;margin-left:-315px;-webkit-transition:margin-left .35s ease;-moz-transition:margin-left .35s ease;-o-transition:margin-left .35s ease;transition:margin-left .35s ease} .menu-panel .sub-menu{background-color:#fff} .menu-panel.in{margin-left:0} .menu-panel.in .collapse-button{background-color:#edf1f3} -.menu-panel .collapse-button{right:-80px;position:absolute;margin-top:6px;padding:2px 20px;z-index:-1} -.menu-panel .panel-content{padding-top:6px;border-right:5px solid #e1e7eb} -.document-panel{right:0;width:350px !important;margin-right:-382px;-webkit-transition:margin-right .35s ease;-moz-transition:margin-right .35s ease;-o-transition:margin-right .35s ease;transition:margin-right .35s ease} +.menu-panel .collapse-button{right:-83px;position:absolute;margin-top:6px;padding:2px 20px;z-index:-1} +.menu-panel .panel-content{background-color:#edf1f3;padding-top:6px;border-right:5px solid #e1e7eb} +.document-panel{right:0;width:350px !important;margin-right:-385px;-webkit-transition:margin-right .35s ease;-moz-transition:margin-right .35s ease;-o-transition:margin-right .35s ease;transition:margin-right .35s ease} .document-panel.in{margin-right:0} .document-panel.in .collapse-button{background-color:#edf1f3} -.document-panel .collapse-button{left:-80px;position:absolute;margin-top:6px;padding:7px 18px;z-index:-1} +.document-panel .collapse-button{left:-83px;position:absolute;margin-top:6px;padding:7px 18px;z-index:-1} .document-panel .collapse-button i.icon-folder-open{font-size:22px} .document-panel .panel-content{background-color:#fff;padding-top:80px;border-left:5px solid #e1e7eb} .document-panel .panel-content .icon-layers{font-size:135%} diff --git a/js-min/themes/default.css b/js-min/themes/default.css index b6c880b2..e6f52377 100644 --- a/js-min/themes/default.css +++ b/js-min/themes/default.css @@ -1348,20 +1348,20 @@ th.visible-print,td.visible-print{display:none !important} .navbar .input-file-title{margin-right:10px} .navbar .working-indicator{width:50px;height:17px;background-position:0 0;margin-top:12px} .navbar .working-indicator.show{background-image:url("../img/loader-default.gif")} -@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}.menu-panel,.document-panel{display:block;position:absolute;top:0;height:100%;z-index:10;overflow:initial;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175)} +@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}.menu-panel,.document-panel{display:block;position:absolute;top:0;height:100%;z-index:10;overflow:initial} .menu-panel .collapse-button i,.document-panel .collapse-button i{color:#666;font-size:19px} -.menu-panel .panel-content,.document-panel .panel-content{overflow:auto;padding-bottom:30px;height:100%} +.menu-panel .panel-content,.document-panel .panel-content{-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);overflow:auto;padding-bottom:30px;height:100%} .menu-panel .panel-content a>i,.document-panel .panel-content a>i{margin-right:3px;color:inherit} -.menu-panel{background-color:#f1f1f1;width:280px !important;margin-left:-312px;-webkit-transition:margin-left .35s ease;-moz-transition:margin-left .35s ease;-o-transition:margin-left .35s ease;transition:margin-left .35s ease} +.menu-panel{width:280px !important;margin-left:-315px;-webkit-transition:margin-left .35s ease;-moz-transition:margin-left .35s ease;-o-transition:margin-left .35s ease;transition:margin-left .35s ease} .menu-panel .sub-menu{background-color:#fff} .menu-panel.in{margin-left:0} .menu-panel.in .collapse-button{background-color:#f1f1f1} -.menu-panel .collapse-button{right:-80px;position:absolute;margin-top:6px;padding:2px 20px;z-index:-1} -.menu-panel .panel-content{padding-top:6px;border-right:5px solid #e7e7e7} -.document-panel{right:0;width:350px !important;margin-right:-382px;-webkit-transition:margin-right .35s ease;-moz-transition:margin-right .35s ease;-o-transition:margin-right .35s ease;transition:margin-right .35s ease} +.menu-panel .collapse-button{right:-83px;position:absolute;margin-top:6px;padding:2px 20px;z-index:-1} +.menu-panel .panel-content{background-color:#f1f1f1;padding-top:6px;border-right:5px solid #e7e7e7} +.document-panel{right:0;width:350px !important;margin-right:-385px;-webkit-transition:margin-right .35s ease;-moz-transition:margin-right .35s ease;-o-transition:margin-right .35s ease;transition:margin-right .35s ease} .document-panel.in{margin-right:0} .document-panel.in .collapse-button{background-color:#f1f1f1} -.document-panel .collapse-button{left:-80px;position:absolute;margin-top:6px;padding:7px 18px;z-index:-1} +.document-panel .collapse-button{left:-83px;position:absolute;margin-top:6px;padding:7px 18px;z-index:-1} .document-panel .collapse-button i.icon-folder-open{font-size:22px} .document-panel .panel-content{background-color:#fff;padding-top:80px;border-left:5px solid #e7e7e7} .document-panel .panel-content .icon-layers{font-size:135%} diff --git a/js-min/themes/night.css b/js-min/themes/night.css index 118d4539..a2af164e 100644 --- a/js-min/themes/night.css +++ b/js-min/themes/night.css @@ -1348,20 +1348,20 @@ th.visible-print,td.visible-print{display:none !important} .navbar .input-file-title{margin-right:10px} .navbar .working-indicator{width:50px;height:17px;background-position:0 0;margin-top:12px} .navbar .working-indicator.show{background-image:url("../img/loader-default.gif")} -@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}.menu-panel,.document-panel{display:block;position:absolute;top:0;height:100%;z-index:10;overflow:initial;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175)} +@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.navbar .working-indicator.show{background-image:url("../img/loader-default2x.gif");background-size:50px 17px}}.menu-panel,.document-panel{display:block;position:absolute;top:0;height:100%;z-index:10;overflow:initial} .menu-panel .collapse-button i,.document-panel .collapse-button i{color:#ccc;font-size:19px} -.menu-panel .panel-content,.document-panel .panel-content{overflow:auto;padding-bottom:30px;height:100%} +.menu-panel .panel-content,.document-panel .panel-content{-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);overflow:auto;padding-bottom:30px;height:100%} .menu-panel .panel-content a>i,.document-panel .panel-content a>i{margin-right:3px;color:inherit} -.menu-panel{background-color:#232323;width:280px !important;margin-left:-312px;-webkit-transition:margin-left .35s ease;-moz-transition:margin-left .35s ease;-o-transition:margin-left .35s ease;transition:margin-left .35s ease} +.menu-panel{width:280px !important;margin-left:-315px;-webkit-transition:margin-left .35s ease;-moz-transition:margin-left .35s ease;-o-transition:margin-left .35s ease;transition:margin-left .35s ease} .menu-panel .sub-menu{background-color:#323232} .menu-panel.in{margin-left:0} .menu-panel.in .collapse-button{background-color:#232323} -.menu-panel .collapse-button{right:-80px;position:absolute;margin-top:6px;padding:2px 20px;z-index:-1} -.menu-panel .panel-content{padding-top:6px;border-right:5px solid #444} -.document-panel{right:0;width:350px !important;margin-right:-382px;-webkit-transition:margin-right .35s ease;-moz-transition:margin-right .35s ease;-o-transition:margin-right .35s ease;transition:margin-right .35s ease} +.menu-panel .collapse-button{right:-83px;position:absolute;margin-top:6px;padding:2px 20px;z-index:-1} +.menu-panel .panel-content{background-color:#232323;padding-top:6px;border-right:5px solid #444} +.document-panel{right:0;width:350px !important;margin-right:-385px;-webkit-transition:margin-right .35s ease;-moz-transition:margin-right .35s ease;-o-transition:margin-right .35s ease;transition:margin-right .35s ease} .document-panel.in{margin-right:0} .document-panel.in .collapse-button{background-color:#232323} -.document-panel .collapse-button{left:-80px;position:absolute;margin-top:6px;padding:7px 18px;z-index:-1} +.document-panel .collapse-button{left:-83px;position:absolute;margin-top:6px;padding:7px 18px;z-index:-1} .document-panel .collapse-button i.icon-folder-open{font-size:22px} .document-panel .panel-content{background-color:#323232;padding-top:80px;border-left:5px solid #444} .document-panel .panel-content .icon-layers{font-size:135%}