Add mail context menu
This commit is contained in:
parent
a64a6d187b
commit
4f8a441d51
3 changed files with 208 additions and 16 deletions
43
frontend-js/dist/style.css
vendored
43
frontend-js/dist/style.css
vendored
|
|
@ -238,6 +238,49 @@ body.ol2013 {
|
|||
background: transparent;
|
||||
border-color: transparent;
|
||||
}
|
||||
.mail-context-menu {
|
||||
position: fixed;
|
||||
z-index: 80;
|
||||
min-width: 220px;
|
||||
display: none;
|
||||
padding: 6px;
|
||||
color: var(--ol-text);
|
||||
background: #fff;
|
||||
border: 1px solid var(--ol-border-dark);
|
||||
box-shadow: 0 12px 34px rgba(20, 25, 35, .22);
|
||||
}
|
||||
.mail-context-menu.open { display: block; }
|
||||
.mail-context-menu button {
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
padding: 0 10px;
|
||||
border: 0;
|
||||
color: var(--ol-text);
|
||||
background: transparent;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
}
|
||||
.mail-context-menu button:hover {
|
||||
color: #fff;
|
||||
background: var(--ol-blue);
|
||||
}
|
||||
.mail-context-menu button span {
|
||||
width: 18px;
|
||||
text-align: center;
|
||||
}
|
||||
.mail-context-menu .sep {
|
||||
height: 1px;
|
||||
margin: 5px 4px;
|
||||
background: var(--ol-border);
|
||||
}
|
||||
.msg-row.context-active {
|
||||
outline: 1px solid var(--ol-blue);
|
||||
outline-offset: -1px;
|
||||
}
|
||||
.action-menu {
|
||||
position: relative;
|
||||
height: 30px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue