Page 1 of 1

Trivial Feature: using html hover as a visual enhancement

Posted: 25 Apr 2017 08:37
by pdwalker
In the current 3.0.2.1, I've added the following into /var/www/html/mailscanner/style.css starting at line 313:

Code: Select all

table.mail tr:hover td {
        background: white;
        color: blue !important;
}
table.mail tr.whitelisted:hover td { background: #CCEECC; }
table.mail tr.spam:hover td { background: #F5DDDD; }
table.mail tr.highspam:hover td { background: #FFAAAA; }
table.mail tr.blacklisted:hover td { background: #888888; }
table.mail tr.infected:hover td { background: #ff8888; }
It just provides a little nice visual feedback to guide the eye when you are looking at long rows of text in the mail list interface.

Re: Trivial Feature: using html hover as a visual enhancement

Posted: 29 Apr 2017 12:43
by shawniverson
I think I will, if you don't mind, submit a PR to MailWatch with their color scheme and see if they include it.

Re: Trivial Feature: using html hover as a visual enhancement

Posted: 02 May 2017 02:55
by pdwalker
by all means!

There are a few other attributes to include that I've not included due to laziness. They are all around line 313 or above in style.css.

It's a nice simple change that shouldn't cause any problems.

I've also done it to rep_total_mail_by_date.php, but that requires a few more changes.

Re: Trivial Feature: using html hover as a visual enhancement

Posted: 02 May 2017 04:52
by pdwalker
FYI: I'd previously opened a feature request for this at https://github.com/mailwatch/MailWatch/issues/765

Re: Trivial Feature: using html hover as a visual enhancement

Posted: 12 May 2017 05:22
by pdwalker
can someone delete this idiot spammer?

Re: Trivial Feature: using html hover as a visual enhancement

Posted: 14 May 2017 13:24
by shawniverson
done