Improved message header style

This commit is contained in:
the-djmaze 2022-10-26 16:39:01 +02:00
parent ffcc86805a
commit 256023dc58
3 changed files with 7 additions and 10 deletions

View file

@ -288,11 +288,11 @@ html.rl-no-preview-pane {
padding: 50px 0;
}
.showImages, .readReceipt, .pgpSigned, .pgpEncrypted {
.bodySubHeader > * {
background-color: #eee;
border-bottom: 1px solid #ddd;
cursor: pointer;
padding: 10px 15px;
border-bottom: 1px solid #ddd;
background-color: #eee;
}
.pgpInfo {
@ -346,7 +346,8 @@ html.rl-no-preview-pane {
border-bottom: 1px solid #ddd;
}
.attachmentsControls > * {
margin-right: 0.5em
margin-right: 0.5em;
white-space: nowrap;
}
.sm-bq-switcher > summary {

View file

@ -255,6 +255,7 @@ class NextcloudCalendarsPopupView extends rl.pluginPopupView {
// && getDavElementsByTagName(getDavElementByTagName(e, 'current-user-privilege-set'), 'write').length) {
const li = document.createElement('li'),
btn = document.createElement('button');
li.dataset.icon = '📅';
li.textContent = getDavElementByTagName(e, 'displayname').textContent;
btn.href = getDavElementByTagName(e, 'href').textContent
.replace(pathRegex, '').replace(/\/$/, '');

View file

@ -112,12 +112,7 @@
}
.messageView .messageItemHeader,
.messageView #messageItem .pgpEncrypted,
.messageView #messageItem .pgpSigned,
.messageView #messageItem .readReceipt,
.messageView #messageItem .showImages,
.messageView #messageItem .attachmentsPlace,
.messageView #messageItem .attachmentsControls {
.messageView #messageItem .bodySubHeader > * {
background-color: #222;
border-bottom-color: #444;
}