mirror of
https://github.com/moparisthebest/mail
synced 2024-11-26 19:02:20 -05:00
deactivate attachments button disabled and close nav with escape
This commit is contained in:
parent
ba807ff80f
commit
f7d55dd083
@ -219,6 +219,11 @@ define(function(require) {
|
||||
e.preventDefault();
|
||||
scope.state.account.toggle(false);
|
||||
|
||||
} else if (e.keyCode === 27 && scope.state.nav.open) {
|
||||
// escape -> close nav view
|
||||
e.preventDefault();
|
||||
scope.state.nav.toggle(false);
|
||||
|
||||
} else if (e.keyCode === 83 && scope.state.writer && !scope.state.writer.open && scope.state.mailList.synchronize) {
|
||||
// s -> sync folder
|
||||
e.preventDefault();
|
||||
|
@ -53,8 +53,12 @@
|
||||
float: right;
|
||||
padding: em(7.5) em(7.5) em(4) em(7.5);
|
||||
margin: em(5);
|
||||
color: $color-grey-lightest;
|
||||
background-color: $color-blue;
|
||||
outline: none;
|
||||
//color: $color-grey-lightest;
|
||||
//background-color: $color-blue;
|
||||
color: $btn-disabled-color;
|
||||
background-color: $btn-disabled-back-color;
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAJUlEQVQIW2NkQABJIPM5lCvJCGMgC4LYIAkUlTAFMB0gjRQaBQCw8go5lVnl5wAAAABJRU5ErkJggg==);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user