Trivial Feature: using html hover as a visual enhancement

Request and discuss new features you would like to have.
Post Reply
User avatar
pdwalker
Posts: 1137
Joined: 18 Mar 2015 09:16

Trivial Feature: using html hover as a visual enhancement

Post by pdwalker » 25 Apr 2017 08:37

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.

User avatar
shawniverson
Posts: 2804
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

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

Post by shawniverson » 29 Apr 2017 12:43

I think I will, if you don't mind, submit a PR to MailWatch with their color scheme and see if they include it.
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

User avatar
pdwalker
Posts: 1137
Joined: 18 Mar 2015 09:16

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

Post by pdwalker » 02 May 2017 02:55

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.

User avatar
pdwalker
Posts: 1137
Joined: 18 Mar 2015 09:16

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

Post by pdwalker » 02 May 2017 04:52

FYI: I'd previously opened a feature request for this at https://github.com/mailwatch/MailWatch/issues/765

User avatar
pdwalker
Posts: 1137
Joined: 18 Mar 2015 09:16

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

Post by pdwalker » 12 May 2017 05:22

can someone delete this idiot spammer?

User avatar
shawniverson
Posts: 2804
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

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

Post by shawniverson » 14 May 2017 13:24

done
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

Post Reply