mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Cleanup dropmenu css
This commit is contained in:
parent
263e595ba2
commit
b2635eb5c6
9 changed files with 149 additions and 189 deletions
|
|
@ -78,30 +78,30 @@ html:not(.rl-left-panel-disabled) #rl-left.resizable {
|
|||
width: 5px;
|
||||
}
|
||||
|
||||
.g-ui-menu {
|
||||
.dropdown-menu {
|
||||
max-height: 60vh;
|
||||
max-width: 90vw;
|
||||
overflow: auto;
|
||||
|
||||
.e-link {
|
||||
a {
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
color: var(--dropdown-menu-color, #333);
|
||||
background-color: var(--dropdown-menu-bg-color, #fff);
|
||||
}
|
||||
|
||||
.e-item.selected > .e-link {
|
||||
li.selected > a {
|
||||
background-color: var(--dropdown-menu-selected-bg-color, #eee);
|
||||
}
|
||||
|
||||
.e-item:not(.disabled) > .e-link:focus,
|
||||
.e-item:not(.disabled) > .e-link:hover {
|
||||
li:not(.disabled) > a:focus,
|
||||
li:not(.disabled) > a:hover {
|
||||
background-color: var(--dropdown-menu-hover-bg-color, #444);
|
||||
background-image: none;
|
||||
color: var(--dropdown-menu-hover-color, #eee);
|
||||
}
|
||||
|
||||
.e-item.disabled > .e-link {
|
||||
li.disabled > a {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -459,31 +459,6 @@
|
|||
padding-right: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.thread-list {
|
||||
|
||||
.e-link {
|
||||
padding: 4px 8px 6px 10px;
|
||||
}
|
||||
|
||||
&.hide-more .thread-list-message.more-that {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.thread-date {
|
||||
font-size: 13px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.more-threads {
|
||||
text-align: center;
|
||||
padding: 8px;
|
||||
background-color: #F5F5F5;
|
||||
color: #555;
|
||||
text-decoration: underline;
|
||||
border-top: 1px dashed #555;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
html.rl-mobile .messageView,
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@
|
|||
display: inline-block;
|
||||
}
|
||||
|
||||
.g-ui-menu .e-link.account-item {
|
||||
.dropdown-menu a.account-item {
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -390,20 +390,6 @@ export class MailMessageView extends AbstractViewRight {
|
|||
[message]
|
||||
);
|
||||
}
|
||||
|
||||
el = eqs(event, '.thread-list .flagParent');
|
||||
if (el) {
|
||||
const message = ko.dataFor(el);
|
||||
message && message.folder && message.uid && rl.app.messageListAction(
|
||||
message.folder,
|
||||
message.isFlagged() ? MessageSetAction.UnsetFlag : MessageSetAction.SetFlag,
|
||||
[message]
|
||||
);
|
||||
|
||||
this.threadsDropdownTrigger(true);
|
||||
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
AppUserStore.focusedState.subscribe((value) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue