From 4d40d989850c54fe3893bc3cd22b703851fcc099 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Fri, 9 Nov 2001 23:50:38 +0000 Subject: [PATCH] Bug #109134 --> optimize our CSS by using .classname instead of tagname.class name for a couple styles. r=bienvenu sr=sspitzer --- .../classic/messenger/mac/messageHeader.css | 4 ++-- .../classic/messenger/win/messageHeader.css | 19 +++++++------------ themes/modern/messenger/messageHeader.css | 4 ++-- 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/themes/classic/messenger/mac/messageHeader.css b/themes/classic/messenger/mac/messageHeader.css index 250736e20e9a..bbbf480e2e12 100644 --- a/themes/classic/messenger/mac/messageHeader.css +++ b/themes/classic/messenger/mac/messageHeader.css @@ -96,7 +96,7 @@ mail-emailaddress { list-style-image : url("chrome://global/skin/twisty-open.gif"); } -label.headerValue { white-space: normal; min-width: 50px; margin: 0px;} +.headerValue { white-space: normal; min-width: 50px; margin: 0px;} .subjectvalue {font-weight: bold;} .headerdisplayname @@ -146,7 +146,7 @@ label.headerValue { white-space: normal; min-width: 50px; margin: 0px;} width: 12em } -label.collapsedHeaderDisplayName +.collapsedHeaderDisplayName { font-weight: bold; margin-left: .7em; diff --git a/themes/classic/messenger/win/messageHeader.css b/themes/classic/messenger/win/messageHeader.css index cac091c02922..b11aa2599367 100644 --- a/themes/classic/messenger/win/messageHeader.css +++ b/themes/classic/messenger/win/messageHeader.css @@ -35,12 +35,6 @@ min-width : 1px; } -mail-emailaddress - { - -moz-binding : url(chrome://messenger/content/mailWidgets.xml#mail-emailaddress); - display : -moz-inline-box; - } - .buttonSpacer { width : 0.5em; @@ -88,7 +82,7 @@ mail-emailaddress -moz-box-pack: end; } -label.emailDisplayButton +.emailDisplayButton { color : blue; text-decoration : underline; @@ -107,21 +101,22 @@ label.emailDisplayButton list-style-image : url("chrome://global/skin/twisty-open.gif"); } -label.headerValue +.headerValue { white-space : normal; + margin: 0px; min-width : 50px; } -label.subjectvalue +.subjectvalue { font-weight : bold; } -label.headerdisplayname +.headerdisplayname { font-weight : bold; - margin : 0em 0.5em 0em 0.5em !important; + margin : 0em 0.5em 0em 0.5em; min-height: 16px; } @@ -165,7 +160,7 @@ label.headerdisplayname width: 12em; } -label.collapsedHeaderDisplayName +.collapsedHeaderDisplayName { font-weight: bold; min-height: 16px; diff --git a/themes/modern/messenger/messageHeader.css b/themes/modern/messenger/messageHeader.css index 081038ba489b..f6bb4b079bd8 100644 --- a/themes/modern/messenger/messageHeader.css +++ b/themes/modern/messenger/messageHeader.css @@ -77,7 +77,7 @@ min-width: 50px; } -label.headerValue { +.headerValue { min-width: 50px; margin: 0px; white-space: normal; @@ -156,7 +156,7 @@ label.headerValue { width: 12em; } -label.collapsedHeaderDisplayName { +.collapsedHeaderDisplayName { font-weight: bold; margin-left: .7em; min-height: 16px;