Added feedback link in modals

This commit is contained in:
benweet 2014-04-21 18:45:59 +01:00
commit 999583a4fb
9 changed files with 30 additions and 45 deletions

View File

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
#Date Mon Apr 21 2014 17:31:32 #Date Mon Apr 21 2014 18:45:42
CACHE: CACHE:
res/worker.js res/worker.js

File diff suppressed because one or more lines are too long

View File

@ -1317,6 +1317,7 @@ a{-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s,
.list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0} .list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0}
a.list-group-item:hover,a.list-group-item:focus{color:#036;border-top-color:rgba(0,128,255,0.1);border-bottom-color:rgba(0,128,255,0.1)} a.list-group-item:hover,a.list-group-item:focus{color:#036;border-top-color:rgba(0,128,255,0.1);border-bottom-color:rgba(0,128,255,0.1)}
.bring-to-front{z-index:1050 !important} .bring-to-front{z-index:1050 !important}
.dialog-header-message{position:absolute;top:12px;right:55px;font-weight:bold}
.btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s} .btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s}
.btn-default:hover,.btn-default:focus,.btn-default:active,.open .btn-default.dropdown-toggle{color:#036;border-color:rgba(0,128,255,0.1);background-color:rgba(102,128,153,0.04) !important} .btn-default:hover,.btn-default:focus,.btn-default:active,.open .btn-default.dropdown-toggle{color:#036;border-color:rgba(0,128,255,0.1);background-color:rgba(102,128,153,0.04) !important}
.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.open .btn-primary.dropdown-toggle{color:#036;border-color:rgba(0,128,255,0.1);background-color:#dae3eb !important} .btn-primary:hover,.btn-primary:focus,.btn-primary:active,.open .btn-primary.dropdown-toggle{color:#036;border-color:rgba(0,128,255,0.1);background-color:#dae3eb !important}

View File

@ -1317,6 +1317,7 @@ a{-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s,
.list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0} .list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0}
a.list-group-item:hover,a.list-group-item:focus{color:#343434;border-top-color:rgba(128,128,128,0.1);border-bottom-color:rgba(128,128,128,0.1)} a.list-group-item:hover,a.list-group-item:focus{color:#343434;border-top-color:rgba(128,128,128,0.1);border-bottom-color:rgba(128,128,128,0.1)}
.bring-to-front{z-index:1050 !important} .bring-to-front{z-index:1050 !important}
.dialog-header-message{position:absolute;top:12px;right:55px;font-weight:bold}
.btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s} .btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s}
.btn-default:hover,.btn-default:focus,.btn-default:active,.open .btn-default.dropdown-toggle{color:#343434;border-color:rgba(128,128,128,0.1);background-color:rgba(128,128,128,0.04) !important} .btn-default:hover,.btn-default:focus,.btn-default:active,.open .btn-default.dropdown-toggle{color:#343434;border-color:rgba(128,128,128,0.1);background-color:rgba(128,128,128,0.04) !important}
.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.open .btn-primary.dropdown-toggle{color:#343434;border-color:rgba(128,128,128,0.1);background-color:#e3e3e3 !important} .btn-primary:hover,.btn-primary:focus,.btn-primary:active,.open .btn-primary.dropdown-toggle{color:#343434;border-color:rgba(128,128,128,0.1);background-color:#e3e3e3 !important}

View File

@ -1317,6 +1317,7 @@ a{-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s,
.list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0} .list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0}
a.list-group-item:hover,a.list-group-item:focus{color:#b3b3b3;border-top-color:rgba(255,255,255,0.1);border-bottom-color:rgba(255,255,255,0.1)} a.list-group-item:hover,a.list-group-item:focus{color:#b3b3b3;border-top-color:rgba(255,255,255,0.1);border-bottom-color:rgba(255,255,255,0.1)}
.bring-to-front{z-index:1050 !important} .bring-to-front{z-index:1050 !important}
.dialog-header-message{position:absolute;top:12px;right:55px;font-weight:bold}
.btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s} .btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s}
.btn-default:hover,.btn-default:focus,.btn-default:active,.open .btn-default.dropdown-toggle{color:#b3b3b3;border-color:rgba(255,255,255,0.1);background-color:rgba(255,255,255,0.04) !important} .btn-default:hover,.btn-default:focus,.btn-default:active,.open .btn-default.dropdown-toggle{color:#b3b3b3;border-color:rgba(255,255,255,0.1);background-color:rgba(255,255,255,0.04) !important}
.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.open .btn-primary.dropdown-toggle{color:#b3b3b3;border-color:rgba(255,255,255,0.1);background-color:#525252 !important} .btn-primary:hover,.btn-primary:focus,.btn-primary:active,.open .btn-primary.dropdown-toggle{color:#b3b3b3;border-color:rgba(255,255,255,0.1);background-color:#525252 !important}

View File

@ -1317,6 +1317,7 @@ a{-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s,
.list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0} .list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0}
a.list-group-item:hover,a.list-group-item:focus{color:#4e4e4e;border-top-color:rgba(154,154,154,0.1);border-bottom-color:rgba(154,154,154,0.1)} a.list-group-item:hover,a.list-group-item:focus{color:#4e4e4e;border-top-color:rgba(154,154,154,0.1);border-bottom-color:rgba(154,154,154,0.1)}
.bring-to-front{z-index:1050 !important} .bring-to-front{z-index:1050 !important}
.dialog-header-message{position:absolute;top:12px;right:55px;font-weight:bold}
.btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s} .btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s}
.btn-default:hover,.btn-default:focus,.btn-default:active,.open .btn-default.dropdown-toggle{color:#4e4e4e;border-color:rgba(154,154,154,0.1);background-color:rgba(154,154,154,0.16) !important} .btn-default:hover,.btn-default:focus,.btn-default:active,.open .btn-default.dropdown-toggle{color:#4e4e4e;border-color:rgba(154,154,154,0.1);background-color:rgba(154,154,154,0.16) !important}
.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.open .btn-primary.dropdown-toggle{color:#4e4e4e;border-color:rgba(154,154,154,0.1);background-color:#dcdcdc !important} .btn-primary:hover,.btn-primary:focus,.btn-primary:active,.open .btn-primary.dropdown-toggle{color:#4e4e4e;border-color:rgba(154,154,154,0.1);background-color:#dcdcdc !important}

View File

@ -1317,6 +1317,7 @@ a{-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s,
.list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0} .list-group-item{padding:10px 15px;margin-bottom:0}.list-group .list-group-item{border-radius:0}
a.list-group-item:hover,a.list-group-item:focus{color:#2d2d2d;border-top-color:rgba(121,121,121,0.1);border-bottom-color:rgba(121,121,121,0.1)} a.list-group-item:hover,a.list-group-item:focus{color:#2d2d2d;border-top-color:rgba(121,121,121,0.1);border-bottom-color:rgba(121,121,121,0.1)}
.bring-to-front{z-index:1050 !important} .bring-to-front{z-index:1050 !important}
.dialog-header-message{position:absolute;top:12px;right:55px;font-weight:bold}
.btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s} .btn{padding:8px 11px;-webkit-transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s;transition:background-color ease-in-out .15s, color ease-in-out .15s, border-color ease-in-out .15s}
.btn-default:hover,.btn-default:focus,.btn-default:active,.open .btn-default.dropdown-toggle{color:#2d2d2d;border-color:rgba(121,121,121,0.1);background-color:rgba(143,134,104,0.04) !important} .btn-default:hover,.btn-default:focus,.btn-default:active,.open .btn-default.dropdown-toggle{color:#2d2d2d;border-color:rgba(121,121,121,0.1);background-color:rgba(143,134,104,0.04) !important}
.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.open .btn-primary.dropdown-toggle{color:#2d2d2d;border-color:rgba(121,121,121,0.1);background-color:#dcdcdc !important} .btn-primary:hover,.btn-primary:focus,.btn-primary:active,.open .btn-primary.dropdown-toggle{color:#2d2d2d;border-color:rgba(121,121,121,0.1);background-color:#dcdcdc !important}

View File

@ -196,36 +196,7 @@ define([
storage.themeV3 = theme; storage.themeV3 = theme;
} }
} }
/*
var $navbarElt;
var $leftBtnElts;
var $rightBtnElts;
var $btnDropdown;
var $titleContainer;
var marginWidth = 18 * 2 + 25 + 25;
var titleWidth = 18 + 348;
var leftButtonsWidth = 18 * 5 + 80 + 160 + 160 + 40 + 80;
var rightButtonsWidth = 18 + 80;
var buttonsDropdownWidth = 40;
function adjustWindow() {
if(!window.viewerMode) {
var maxWidth = $navbarElt.width();
if(marginWidth + titleWidth + leftButtonsWidth + rightButtonsWidth > maxWidth) {
$btnDropdown.show().find('.dropdown-menu').append($leftBtnElts);
if(marginWidth + titleWidth + rightButtonsWidth + buttonsDropdownWidth > maxWidth) {
$btnDropdown.find('.dropdown-menu').append($rightBtnElts);
}
else {
$titleContainer.before($rightBtnElts);
}
}
else {
$btnDropdown.hide().after($leftBtnElts);
$titleContainer.before($rightBtnElts);
}
}
}
*/
// Create the PageDown editor // Create the PageDown editor
var pagedownEditor; var pagedownEditor;
var fileDesc; var fileDesc;
@ -567,6 +538,8 @@ define([
}, ''); }, '');
document.getElementById('input-settings-theme').innerHTML = themeOptions; document.getElementById('input-settings-theme').innerHTML = themeOptions;
} }
$('.modal-header').append('<a class="dialog-header-message" href="https://github.com/benweet/stackedit/issues/385" target="_blank">Give your feedback <i class="icon-megaphone"></i></a>');
}); });
return core; return core;

View File

@ -268,6 +268,13 @@ a {
z-index: 1050 !important; z-index: 1050 !important;
} }
.dialog-header-message {
position: absolute;
top: 12px;
right: 55px;
font-weight: bold;
}
/******************* /*******************
* Buttons * Buttons