mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Improved focused styling
This commit is contained in:
parent
5590fd4860
commit
b16b184ac9
6 changed files with 14 additions and 12 deletions
|
|
@ -198,13 +198,9 @@ html.rl-no-preview-pane {
|
|||
}
|
||||
}
|
||||
|
||||
&.message-focused {
|
||||
.b-message-list-wrapper {
|
||||
background-color: #000;
|
||||
}
|
||||
.b-content {
|
||||
opacity: 0.97;
|
||||
}
|
||||
&.focused .b-message-list-wrapper {
|
||||
background-color: #000;
|
||||
border-color: #9d9d9d;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -458,7 +458,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.message-focused .b-content {
|
||||
&.focused .b-content {
|
||||
z-index: 101;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
||||
border-color: darken(@rlMainDarkColor, 5%);
|
||||
|
|
|
|||
|
|
@ -838,8 +838,10 @@ export class MessageListMailBoxUserView extends AbstractViewRight {
|
|||
return false;
|
||||
});
|
||||
shortcuts.add('tab,arrowright', '', Scope.MessageList, () => {
|
||||
MessageUserStore.message() && AppUserStore.focusedState(Scope.MessageView);
|
||||
return false;
|
||||
if (MessageUserStore.message()){
|
||||
AppUserStore.focusedState(Scope.MessageView);
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
shortcuts.add('arrowleft', 'meta', Scope.MessageView, ()=>false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue