Upgrade to Bootstrap 3

This commit is contained in:
benweet 2013-09-03 22:51:39 +01:00
parent 51f722b8d1
commit 7e1769ced0
9 changed files with 29 additions and 21 deletions

View File

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
#Date Tue Sep 03 2013 18:36:17 #Date Tue Sep 03 2013 22:51:17
CACHE: CACHE:
index.html index.html

View File

@ -4542,10 +4542,13 @@ define("config", function() {}), define("settings", [ "underscore", "config" ],
}), a = !0; 0 !== i.length; ) { }), a = !0; 0 !== i.length; ) {
var s = i[0]; var s = i[0];
if (a === !1 && /(^| )wmd-title($| )/.test(s.className)) break; if (a === !1 && /(^| )wmd-title($| )/.test(s.className)) break;
a = !1, "DIV" == s.tagName && "footnotes" == s.className ? e.each(s.querySelectorAll("ol > li"), function(e) { if (a = !1, "DIV" == s.tagName && "footnotes" == s.className) e.each(s.querySelectorAll("ol > li"), function(e) {
var t = e.id.substring(3); var t = e.id.substring(3);
y[t] = e; y[t] = e;
}) : r.appendChild(s), i.shift(); }); else try {
r.appendChild(s);
} catch (l) {}
i.shift();
} }
o.appendChild(r); o.appendChild(r);
}); });
@ -11152,9 +11155,9 @@ function(e) {
template: [ "<div class='popover tour'>", " <div class='arrow'></div>", " <h3 class='popover-title'></h3>", " <div class='popover-content'></div>", " <nav class='popover-navigation'>", " <button class='btn btn-primary' data-role='next'>Next</button>", " <button class='btn btn-default' data-role='end'>Got it!</button>", " </nav>", "</div>" ].join("") template: [ "<div class='popover tour'>", " <div class='arrow'></div>", " <h3 class='popover-title'></h3>", " <div class='popover-content'></div>", " <nav class='popover-navigation'>", " <button class='btn btn-primary' data-role='next'>Next</button>", " <button class='btn btn-default' data-role='end'>Got it!</button>", " </nav>", "</div>" ].join("")
}); });
t.addSteps([ { t.addSteps([ {
element: ".ui-layout-resizer-north", element: ".navbar-inner",
title: "Welcome to StackEdit 2.0!", title: "Welcome to StackEdit 2.0",
content: "Please click <code>Next</code> to start a small tour...", content: "Please click <code>Next</code> to start a small tour.",
placement: "bottom" placement: "bottom"
}, { }, {
element: ".navbar .action-create-file", element: ".navbar .action-create-file",
@ -17742,7 +17745,7 @@ var viewerMode = /(^| )viewer($| )/.test(document.body.className), theme = local
e(function() { e(function() {
t.onReady(), window.applicationCache && window.applicationCache.addEventListener("updateready", function() { t.onReady(), window.applicationCache && window.applicationCache.addEventListener("updateready", function() {
window.applicationCache.status === window.applicationCache.UPDATEREADY && (window.applicationCache.swapCache(), window.applicationCache.status === window.applicationCache.UPDATEREADY && (window.applicationCache.swapCache(),
n.onMessage("New version available.\nPlease refresh the page to upgrade.")); n.onMessage("New version available.\nJust refresh the page to upgrade."));
}, !1); }, !1);
}); });
}), define("main", function() {}); }), define("main", function() {});

View File

@ -1518,8 +1518,8 @@ div.dropdown-menu textarea{width:250px;height:150px;resize:none}
input[type="file"]{line-height:inherit;height:inherit;border:none !important} input[type="file"]{line-height:inherit;height:inherit;border:none !important}
.drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb} .drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb}
.modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px} .modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px}
.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)} .popover{max-width:360px;padding:15px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)}
.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px} .popover .popover-title{font-weight:500;font-size:24px;padding:10px 15px}
.popover .disabled{display:none} .popover .disabled{display:none}
div.jGrowl{z-index:1040;font-size:inherit} div.jGrowl{z-index:1040;font-size:inherit}
div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(118,118,118,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px} div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(118,118,118,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px}

View File

@ -1518,8 +1518,8 @@ div.dropdown-menu textarea{width:250px;height:150px;resize:none}
input[type="file"]{line-height:inherit;height:inherit;border:none !important} input[type="file"]{line-height:inherit;height:inherit;border:none !important}
.drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb} .drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb}
.modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px} .modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px}
.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)} .popover{max-width:360px;padding:15px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)}
.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px} .popover .popover-title{font-weight:500;font-size:24px;padding:10px 15px}
.popover .disabled{display:none} .popover .disabled{display:none}
div.jGrowl{z-index:1040;font-size:inherit} div.jGrowl{z-index:1040;font-size:inherit}
div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(118,118,118,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px} div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(118,118,118,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px}

View File

@ -1518,8 +1518,8 @@ div.dropdown-menu textarea{width:250px;height:150px;resize:none}
input[type="file"]{line-height:inherit;height:inherit;border:none !important} input[type="file"]{line-height:inherit;height:inherit;border:none !important}
.drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb} .drop-zone{border:2px dashed #bbb;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:40px;text-align:center;font-size:24px;color:#bbb}
.modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px} .modal-import-harddrive-html textarea{width:530px;max-width:530px;height:120px}
.popover{max-width:400px;padding:20px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)} .popover{max-width:360px;padding:15px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,0.4);box-shadow:0 5px 30px rgba(0,0,0,0.4)}
.popover .popover-title{font-weight:500;font-size:24px;padding:5px 15px 10px} .popover .popover-title{font-weight:500;font-size:24px;padding:10px 15px}
.popover .disabled{display:none} .popover .disabled{display:none}
div.jGrowl{z-index:1040;font-size:inherit} div.jGrowl{z-index:1040;font-size:inherit}
div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(86,86,86,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px} div.jGrowl div.jGrowl-notification,div.jGrowl div.jGrowl-closer{background-color:rgba(86,86,86,0.9);width:260px;margin:20px 30px;padding:15px 20px;-ms-filter:none;filter:none;border-radius:5px}

View File

@ -138,8 +138,13 @@ define([
}); });
} }
else { else {
try {
sectionElt.appendChild(elt); sectionElt.appendChild(elt);
} }
catch(e) {
// IE fails with some text nodes
}
}
markdownEltList.shift(); markdownEltList.shift();
}; };
newSectionEltList.appendChild(sectionElt); newSectionEltList.appendChild(sectionElt);

View File

@ -33,9 +33,9 @@ define([
}); });
tour.addSteps([ tour.addSteps([
{ {
element: ".ui-layout-resizer-north", element: ".navbar-inner",
title: "Welcome to StackEdit 2.0!", title: "Welcome to StackEdit 2.0",
content: "Please click <code>Next</code> to start a small tour...", content: "Please click <code>Next</code> to start a small tour.",
placement: "bottom", placement: "bottom",
}, },
{ {

View File

@ -152,7 +152,7 @@ require([
window.applicationCache.addEventListener('updateready', function(e) { window.applicationCache.addEventListener('updateready', function(e) {
if(window.applicationCache.status === window.applicationCache.UPDATEREADY) { if(window.applicationCache.status === window.applicationCache.UPDATEREADY) {
window.applicationCache.swapCache(); window.applicationCache.swapCache();
eventMgr.onMessage('New version available.\nPlease refresh the page to upgrade.'); eventMgr.onMessage('New version available.\nJust refresh the page to upgrade.');
} }
}, false); }, false);
} }

View File

@ -1112,13 +1112,13 @@ input[type="file"] {
*********************/ *********************/
.popover { .popover {
max-width: 400px; max-width: 360px;
padding: 20px; padding: 15px;
.box-shadow(0 5px 30px rgba(0,0,0,.4)); .box-shadow(0 5px 30px rgba(0,0,0,.4));
.popover-title { .popover-title {
font-weight: @headings-font-weight; font-weight: @headings-font-weight;
font-size: 24px; font-size: 24px;
padding: 5px 15px 10px; padding: 10px 15px;
} }
.disabled { .disabled {
display: none; display: none;