View Single Post
Old 14 Jul 2017, 11:16 AM   #36
joe_devore
Essential Contributor
 
Join Date: Dec 2003
Location: Dover, NH, USA
Posts: 315
Lightbulb

Gsptlsnz,

Back on the subject of my most requested/used feature from the classic UI..
The ever present folder counts "(NEW/Total)"... wheres NEW is always BOLD..

so far you have made a Stylish/CSS tweak to display a badge showing the
NEW count at all times even if zero.. I like! lol ;) thanks!

but I was just looking into the
SETTINGS --> MAIL --> "Folders" screen just now AND
I noticed that not only did it display the folder total(s)
BUT since just noticing I had a single new email in my
- "Gaming Forums" folder... it displayed NEW counts as well..!!!

SO! IT! CAN! BEEE! DONE!!!!!!! LOL ;) ;) ;) :eek: :D :D :cool: :cool:

It has the following format on the
Folder screen (Right margin aligned, stacked before the "EDIT" buttons):
"Total(NEW)"


Classic UI format is: "(NEW/Total)"
while I like the Classic UI display better it can be argued that,
that I'm just used to that format more.. lol ;)


But If you can only make a NEW script that display using the NEW UI's Folder Screen
type.. THEN I think I can LIVE with it lol ;p

So PLEASE AND THANKS!! loi ;) :D :D :D



ooh I just noticed something ELSE lol ;) :D
when I do a hover/mouse-over the display numbers, pop-up text is displayed!
Total = "Total messages"
NEW = "Unread messages"


I used the Firefox "Inspect Element"..
This is what I FOUND! lol ;)
Code:
<div class="v-ResourceItem-rightCol">
<span class="v-FolderItem-count">
<span title="Total messages" class="v-FolderItem-total">19</span>
<b title="Unread messages"> (1)</b>
</span>
</div>

.v-ResourceItem-rightCol
{
    display: table-cell;
    width: 0;
    padding-left: 10px;
}


.v-FolderItem-count
{
    display: inline-block;
    min-width: 100px;
}

.v-FolderItem-total
{
display: inline-block;
min-width: 70px;
text-align: right;
}
Its not clear how or where they are getting/calling the NEW counts from or maybe it is.. :/
other then maybe..
NEW = ".v-FolderItem-count"
and
Totals = ".v-FolderItem-total"
I guess?_?

see what you can do with what I found... ;) Please :D
joe_devore is offline   Reply With Quote