1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-13 20:04:49 +02:00

Chore: Tweak UI to improve contrast between read & unread messages

This commit is contained in:
Ralph Slooten
2025-05-18 09:55:29 +12:00
parent 68d911431f
commit 4ed5011a8f
3 changed files with 12 additions and 13 deletions

View File

@@ -15,7 +15,9 @@ $font-family-sans-serif:
$link-decoration: none;
$primary: #2c3e50;
$secondary: #495057;
$list-group-disabled-color: #adb5bd;
$enable-negative-margins: true;
$body-color-dark: #e7eaed;
$offcanvas-border-width: 0;
$body-color: #080808;

View File

@@ -228,27 +228,24 @@
}
}
#message-page {
#message-page,
#MessageList {
.list-group-item.message:first-child {
border-top: 0;
}
.message {
.subject {
color: $text-muted;
b {
color: $list-group-color;
}
small {
opacity: 0.5;
}
.message:not(.active) {
b {
color: $list-group-color;
}
&.read {
color: $text-muted;
> div {
opacity: 0.5;
}
b {
color: $list-group-color;
}

View File

@@ -599,7 +599,7 @@ export default {
<div class="list-group">
<RouterLink v-for="message in messagesList" :to="'/view/' + message.ID" :key="message.ID"
:id="message.ID"
class="row gx-1 message d-flex small list-group-item list-group-item-action"
class="row gx-1 message d-flex small list-group-item list-group-item-action message"
:class="message.Read ? 'read' : '', isActive(message.ID) ? 'active' : ''">
<div class="col overflow-x-hidden">
<div class="text-truncate privacy small">