Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions client/resources/css/darkmode.css
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,19 @@ body.dark-mode #zarafa-mainpanel .x-grid3-row.x-grid3-row-selected {
background-color: var(--dm-selected) !important;
}

/* Flagged (follow-up) items - highlight the whole row like Outlook.
The tint persists on hover and when the row is selected (a touch deeper),
so a flagged mail stays highlighted after you click it. */
body.dark-mode #zarafa-mainpanel .x-grid3-row.k-flagged {
background-color: #40382a !important;
}
body.dark-mode #zarafa-mainpanel .x-grid3-row.k-flagged.x-grid3-row-over {
background-color: #4a4130 !important;
}
body.dark-mode #zarafa-mainpanel .x-grid3-row.k-flagged.x-grid3-row-selected {
background-color: #574a33 !important;
}

/*=============================================================================
Message Preview
=============================================================================*/
Expand Down
11 changes: 11 additions & 0 deletions client/resources/css/grommunio.css
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,17 @@ td.x-grid3-hd-menu-open .x-grid3-hd-inner {
.k-unreadborders .x-grid3-row.x-grid3-row-collapsed.mail_unread > table, .k-unreadborders .x-grid3-row.x-grid3-row-expanded.mail_unread > table {
border-left: 4px solid #1e88e5 !important; }

/* Flagged (follow-up) items - highlight the whole row like Outlook.
The tint persists on hover and when the row is selected (a touch deeper),
so a flagged mail stays highlighted after you click it; selection is still
indicated by the blue left border. */
.x-grid3-row.k-flagged {
background-color: #fff6e5 !important; }
.x-grid3-row.k-flagged.x-grid3-row-over {
background-color: #fbedd0 !important; }
.x-grid3-row.k-flagged.x-grid3-row-selected {
background-color: #f8e9c4 !important; }

.x-toolbar {
background-image: none;
background-color: #ffffff;
Expand Down
6 changes: 6 additions & 0 deletions client/zarafa/mail/ui/MailGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,12 @@ Zarafa.mail.ui.MailGrid = Ext.extend(Zarafa.common.ui.grid.MapiMessageGrid, {
{
var cssClass = this.grid.getConversationCssClasses(record, rowIndex, store);

// Highlight the entire row for messages that carry a follow-up flag
// (Outlook-style), so a flagged/tracked mail stands out in the list.
if (record.get('flag_status') === Zarafa.core.mapi.FlagStatus.flagged) {
cssClass += ' k-flagged';
}

if (this.enableRowBody) {
var meta = {}; // Metadata object for Zarafa.common.ui.grid.Renderers.
var value = ''; // The value which must be rendered
Expand Down