Farebne oznacenie poctu sprav v priecinku

Fórum o e-mailovom klientovi Mozilla Thunderbird
Zamknuté
ritchieg
začiatočník
začiatočník
Príspevky: 11
Dátum registrácie: 6. Januára 2007, 19:12

Farebne oznacenie poctu sprav v priecinku

Príspevok od užívateľa ritchieg » 6. Januára 2007, 19:57

Nevie niekto poradit ci existuje nejake rozsirenie ,alebo sa da nastavit farba cislic ,ktora ukazuje pocet neprecitanych sprav v konkretnom priecinku.Outlook Express ma napr.necitane spravy oznacene modrou farbou.Pomohlo by mi to lepsie sa orientovat v Thunderbirde.Dakujem
P.S Pripajam obrazok Outlook
Na prezeranie priložených súborov nemáte dostatočné oprávnenia.

SlovakSoft
Správca portálu Mozilla.sk
Správca portálu Mozilla.sk
Príspevky: 4478
Dátum registrácie: 24. Novembra 2005, 22:55

Príspevok od užívateľa SlovakSoft » 6. Januára 2007, 20:29

Keď som skúšal úpravy súboru userChrome.css, tak som také niečo videl na stránke User Styles.
Najlepšie bude najprv nainštalovať rozšírenie Stylish (uľahčuje tie úpravy, nie je potrebné sa hrabať v súboroch profilu).
Po nainštalovaní rozšírenia a reštarte TB ísť do ponuky Nástroje > Rozšírenia > Stylish > Možnosti a v ňom dať napísať nový štýl. Vložiť tam tento kód:

Kód: Vybrať všetko

/* Tb - style folders with unread messages */


/* ========== info start ========== */
/*
- style folders with unread messages and/or subfolders with unread messages
- works in Thunderbird 1.5.0.x

- source = http://forums.mozillazine.org/viewtopic.php?p=1888526#1888526

- history
= 2006-04-17
removed background-color settings
= 2006-05-01, Monday
moved tweaks to follow code
= 2006-05-11, Thursday
added open folder with unread msgs styling
*/
/* ========== info end ========== */


/* ========== code start ========== */
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/* single folder with unread messages */
#folderTree > treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
	color: red !important;
	font-weight: bold !important;
	}

/* closed folder containing subfolder with unread messages */
#folderTree > treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) {
	color: red !important;
	font-weight: bold !important;
	}
	
/* open folder containing subfolder with unread messages */
/* 
i dislike this effect, so i disable it for my use.
remove the "slash asterisk" and "asterisk slash" surrounding the code block to enable it.
*/
/*
#folderTree > treechildren::-moz-tree-cell-text(subfoldersHaveUnreadMessages-true) {
	color: red !important;
	font-weight: bold !important;
	}
*/
/* ========== code end ========== */


/* ========== tweaks start ========== */
/*
-- color:
--- in this case it refers to text color
http://www.w3schools.com/css/css_text.asp
http://www.w3schools.com/css/pr_text_color.asp

-- background-color:
#CCFFCC = very pale green that works well for a "green-bar" effect
http://www.w3schools.com/css/css_background.asp
http://www.w3schools.com/css/pr_background-color.asp

== colors can be rgb, hex, named
http://www.w3schools.com/css/css_colorsfull.asp
http://www.w3schools.com/css/css_colornames.asp

-- font-family:
[one or more specific font family-names with best first, followed by a font --family name]
ex - font family names = arial, "lucida console"
ex - font --family for the above fonts = sans-serif
ex - font-family: arial, "lucida console", sans-serif
http://www.w3schools.com/css/pr_font_font-family.asp

-- font-size:
[xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, length, %]
http://www.w3schools.com/css/pr_font_font-size.asp

-- font-style:
[normal, italic, oblique]
http://www.w3schools.com/css/pr_font_font-style.asp

-- font-weight:
bold [normal, bold, bolder, lighter]
http://www.w3schools.com/css/css_font.asp
http://www.w3schools.com/css/pr_font_weight.asp

-- font-variant:
[normal, small-caps]
http://www.w3schools.com/css/pr_font_font-variant.asp

-- text-decoration:
[none, underline, overline, line-through, blink]
blink doesn't appear to work in tb15
http://www.w3schools.com/css/pr_text_text-decoration.asp

-- text-transform:
[none, capitalize, uppercase, lowercase]
http://www.w3schools.com/css/pr_text_text-transform.asp

- a painfully visible group of settings is ...
color: red !important;
background-color: yellow !important;
font-style: italic !important;
font-weight: bolder !important;
text-decoration: underline overline !important;
*/
/* ========== tweaks end ========== */
Uložiť a reštartovať TB. Odteraz budú priečinky s neprečítanými správami označené červenou farbou (viď obrázok).
admin SME.sk

ritchieg
začiatočník
začiatočník
Príspevky: 11
Dátum registrácie: 6. Januára 2007, 19:12

Príspevok od užívateľa ritchieg » 6. Januára 2007, 21:09

Dakujem.Funguje to perfektne

Zamknuté