From dd27a78fa7f90806c11a6457a3436e9c2fc7f480 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Fri, 16 Jul 1999 04:40:04 +0000 Subject: [PATCH] Merging the tip into the branch. --- .../emitters/resources/mailheader-micro.css | 202 ++++ .../emitters/resources/mailheader-normal.css | 202 ++++ mailnews/mime/emitters/xml/mailheader-all.css | 926 ++++++++++++++++++ 3 files changed, 1330 insertions(+) create mode 100644 mailnews/mime/emitters/resources/mailheader-micro.css create mode 100644 mailnews/mime/emitters/resources/mailheader-normal.css create mode 100644 mailnews/mime/emitters/xml/mailheader-all.css diff --git a/mailnews/mime/emitters/resources/mailheader-micro.css b/mailnews/mime/emitters/resources/mailheader-micro.css new file mode 100644 index 000000000000..3d572645d9fa --- /dev/null +++ b/mailnews/mime/emitters/resources/mailheader-micro.css @@ -0,0 +1,202 @@ +/* + * Window behavior for scrolling and general header color + * attributes + */ + +mailheader { display: block; background-color: #E0E0E0; } + +/************************************************** + * These are all the headers that are displayed + * for the normal header display. This is accomplished + * by having a general header tag that turns off the + * display of the field and then we selectively turn + * on header displays. This will prevent unknown headers + * from being displayed. + **************************************************/ + +header { display: none; text-align: left; } + +header[field=DATE]:before { content: "Date: "; font-weight: bold; } +header[field=DATE { display: block; text-align:left; } + +header[field=TO]:before { content: "To: "; font-weight: bold; } +header[field=TO] { display: block; text-align: left; } + +header[field=FROM]:before { content: "From: "; font-weight: bold; } +header[field=FROM] { display: block; text-align:left; } + +header[field=SUBJECT]:before { content: "Subject: "; font-weight: bold; } +header[field=SUBJECT] { display: block; text-align: left; + background-color: lightyellow; border: 1px solid #CCCCCC; } + +header[field=CC]:before { content: "CC: "; font-weight: bold; } +header[field=CC] { display: block; text-align:left; } + +header[field=BCC]:before { content: "BCC: "; font-weight: bold; } +header[field=BCC] { display: block; text-align:left; } + +header[field=NEWSGROUPS]:before { content: "Newsgroups: "; font-weight: bold; } +header[field=NEWSGROUPS] { display: block; text-align:left; } + +header[field=ORGANIZATION]:before { content: "Organization: "; font-weight: bold; } +header[field=ORGANIZATION] { display: block; text-align:left; } + +/************************************************** + * These are all the headers that are NOT displayed + * for the normal header display + **************************************************/ +/* + * All misc headers (i.e. the ones that start with + * "X-" are turned off! + */ + +header[field=RETURN-PATH]:before { content: "Return-Path: "; font-weight: bold; } +header[field=RETURN-PATH] { display: none; text-align:left; } + +header[field=STATUS]:before { content: "Status: "; font-weight: bold; } +header[field=STATUS] { display: none; text-align:left; } + +header[field=RECEIVED]:before { content: "Received: "; font-weight: bold; } +header[field=RECEIVED] { display: none; text-align:left; } + +header[field=MIME-VERSION]:before { content: "MIME Version: "; font-weight: bold; } +header[field=MIME-VERSION] { display: none; text-align:left; } + +header[field=PRECEDENCE]:before { content: "Precedence: "; font-weight: bold; } +header[field=PRECEDENCE] { display: none; text-align: left; } + +header[field=CONTENT-BASE]:before { content: "Content-Base: "; font-weight: bold; } +header[field=CONTENT-BASE] { display: none; text-align:left; } + +header[field=CONTENT-LOCATION]:before { content: "Content-Location: "; font-weight: bold; } +header[field=CONTENT-LOCATION] { display: none; text-align:left; } + +header[field=CONTENT-ID]:before { content: "Content-ID: "; font-weight: bold; } +header[field=CONTENT-ID] { display: none; text-align:left; } + +header[field=CONTENT-DESCRIPTION]:before { content: "Content-Description: "; font-weight: bold; } +header[field=CONTENT-DESCRIPTION] { display: none; text-align:left; } + +header[field=CONTENT-DISPOSITION]:before { content: "Content-Disposition: "; font-weight: bold; } +header[field=CONTENT-DISPOSITION] { display: none; text-align:left; } + +header[field=CONTENT-ENCODING]:before { content: "Content-Encoding: "; font-weight: bold; } +header[field=CONTENT-ENCODING] { display: none; text-align:left; } + +header[field=CONTENT-LENGTH]:before { content: "Content-Length: "; font-weight: bold; } +header[field=CONTENT-LENGTH] { display: none; text-align:left; } + +header[field=CONTENT-NAME]:before { content: "Content-Name: "; font-weight: bold; } +header[field=CONTENT-NAME] { display: none; text-align:left; } + +header[field=CONTENT-TRANSFER-ENCODING]:before { content: "Content-Transfer-Encoding: "; font-weight: bold; } +header[field=CONTENT-TRANSFER-ENCODING] { display: none; text-align:left; } + +header[field=CONTENT-TYPE]:before { content: "Content-Type: "; font-weight: bold; } +header[field=CONTENT-TYPE] { display: none; text-align:left; } + +header[field=DISTRIBUTION]:before { content: "Distribution: "; font-weight: bold; } +header[field=DISTRIBUTION] { display: none; text-align:left; } + +header[field=FCC]:before { content: "FCC: "; font-weight: bold; } +header[field=FCC] { display: none; text-align:left; } + +header[field=FOLLOWUP-TO]:before { content: "Followup-To: "; font-weight: bold; } +header[field=FOLLOWUP-TO] { display: none; text-align:left; } + +header[field=LINES]:before { content: "Lines: "; font-weight: bold; } +header[field=LINES] { display: none; text-align:left; } + +header[field=MESSAGE-ID]:before { content: "Message-ID: "; font-weight: bold; } +header[field=MESSAGE-ID] { display: none; text-align:left; } + +header[field=REFERENCES]:before { content: "References: "; font-weight: bold; } +header[field=REFERENCES] { display: none; text-align:left; } + +header[field=REPLY-TO]:before { content: "Reply-To: "; font-weight: bold;} +header[field=REPLY-TO] { display: none; text-align:left; } + +header[field=RESENT-COMMENTS]:before { content: "Resent-Comments: "; font-weight: bold; } +header[field=RESENT-COMMENTS] { display: none; text-align:left; } + +header[field=RESENT-DATE]:before { content: "Resent-Date: "; font-weight: bold; } +header[field=RESENT-DATE] { display: none; text-align:left; } + +header[field=RESENT-FROM]:before { content: "Resent-From "; font-weight: bold; } +header[field=RESENT-FROM] { display: none; text-align:left; } + +header[field=RESENT-MESSAGE-ID]:before { content: "Resent-Message-ID: "; font-weight: bold; } +header[field=RESENT-MESSAGE-ID] { display: none; text-align:left; } + +header[field=RESENT-SENDER]:before { content: "Resent-Sender: "; font-weight: bold; } +header[field=RESENT-SENDER] { display: none; text-align:left; } + +header[field=RESENT-TO]:before { content: "Resent-To: "; font-weight: bold; } +header[field=RESENT-TO] { display: none; text-align:left; } + +header[field=RESENT-CC]:before { content: "Resent-CC: "; font-weight: bold; } +header[field=RESENT-CC] { display: none; text-align:left; } + +header[field=SENDER]:before { content: "Sender: "; font-weight: bold; } +header[field=SENDER] { display: none; text-align:left; } + +header[field=XREF]:before { content: "XREF: "; font-weight: bold; } +header[field=XREF] { display: none; text-align:left; } + +header[field=APPROVED-BY]:before { content: "Approved-By: "; font-weight: bold; } +header[field=APPROVED-BY] { display: none; text-align:left; } + +/************************************************** + * These are all of the header extensions. For now, + * these will be turned off and only display on the + * all header display + **************************************************/ + +header[field=X-SUN-CHARSET]:before { content: "X-Sun-Charset: "; font-weight: bold; } +header[field=X-SUN-CHARSET] { display: none; text-align:left; } + +header[field=X-SUN-CONTENT-LENGTH]:before { content: "X-Sun-Content-Length: "; font-weight: bold; } +header[field=X-SUN-CONTENT-LENGTH] { display: none; text-align:left; } + +header[field=X-SUN-DATA-DESCRIPTION]:before { content: "X-Sun-Data-Description: "; font-weight: bold; } +header[field=X-SUN-DATA-DESCRIPTION] { display: none; text-align:left; } + +header[field=X-SUN-DATA-NAME]:before { content: "X-Sun-Data-Name: "; font-weight: bold; } +header[field=X-SUN-DATA-NAME] { display: none; text-align:left; } + +header[field=X-SUN-DATA-TYPE]:before { content: "X-Sun-Data-Type: "; font-weight: bold; } +header[field=X-SUN-DATA-TYPE] { display: none; text-align:left; } + +header[field=X-SUN-ENCODING-INFO]:before { content: "X-Sun-Encoding-Info: "; font-weight: bold; } +header[field=X-SUN-ENCODING-INFO] { display: none; text-align:left; } + +header[field=X-PRIORITY]:before { content: "X-Priority: "; font-weight: bold; } +header[field=X-PRIORITY] { display: none; text-align:left; } + +header[field=X-MOZILLA-PARTURL]:before { content: "X-Mozilla-PartURL: "; font-weight: bold; } +header[field=X-MOZILLA-PARTURL] { display: none; text-align:left; } + +header[field=X-MOZILLA-DRAFT-INFO]:before { content: "X-Mozilla-Draft-Info: "; font-weight: bold; } +header[field=X-MOZILLA-DRAFT-INFO] { display: none; text-align:left; } + +header[field=X-ACCEPT-LANGUAGE]:before { content: "X-Accept-Language: "; font-weight: bold; } +header[field=X-ACCEPT-LANGUAGE] { display: none; text-align:left; } + +header[field=X-MAILING-LIST]:before { content: "X-Mailing-List: "; font-weight: bold; } +header[field=X-MAILING-LIST] { display: none; text-align:left; } + +header[field=X-MAILING-LOOP]:before { content: "X-Mailing-Loop: "; font-weight: bold; } +header[field=X-MAILING-LOOP] { display: none; text-align:left; } + +header[field=X-LOOP]:before { content: "X-Loop: "; font-weight: bold; } +header[field=X-LOOP] { display: none; text-align: left; } + +header[field=X-MAILER]:before { content: "X-Mailer: "; font-weight: bold; } +header[field=X-MAILER] { display: none; text-align:left; } + +header[field=X-MOZILLA-STATUS]:before { content: "X-Mozilla-Status: "; font-weight: bold; } +header[field=X-MOZILLA-STATUS] { display: none; text-align:left; } + +header[field=X-MOZILLA-STATUS2]:before { content: "X-Mozilla-Status2: "; font-weight: bold; } +header[field=X-MOZILLA-STATUS2] { display: none; text-align: left; } + diff --git a/mailnews/mime/emitters/resources/mailheader-normal.css b/mailnews/mime/emitters/resources/mailheader-normal.css new file mode 100644 index 000000000000..3d572645d9fa --- /dev/null +++ b/mailnews/mime/emitters/resources/mailheader-normal.css @@ -0,0 +1,202 @@ +/* + * Window behavior for scrolling and general header color + * attributes + */ + +mailheader { display: block; background-color: #E0E0E0; } + +/************************************************** + * These are all the headers that are displayed + * for the normal header display. This is accomplished + * by having a general header tag that turns off the + * display of the field and then we selectively turn + * on header displays. This will prevent unknown headers + * from being displayed. + **************************************************/ + +header { display: none; text-align: left; } + +header[field=DATE]:before { content: "Date: "; font-weight: bold; } +header[field=DATE { display: block; text-align:left; } + +header[field=TO]:before { content: "To: "; font-weight: bold; } +header[field=TO] { display: block; text-align: left; } + +header[field=FROM]:before { content: "From: "; font-weight: bold; } +header[field=FROM] { display: block; text-align:left; } + +header[field=SUBJECT]:before { content: "Subject: "; font-weight: bold; } +header[field=SUBJECT] { display: block; text-align: left; + background-color: lightyellow; border: 1px solid #CCCCCC; } + +header[field=CC]:before { content: "CC: "; font-weight: bold; } +header[field=CC] { display: block; text-align:left; } + +header[field=BCC]:before { content: "BCC: "; font-weight: bold; } +header[field=BCC] { display: block; text-align:left; } + +header[field=NEWSGROUPS]:before { content: "Newsgroups: "; font-weight: bold; } +header[field=NEWSGROUPS] { display: block; text-align:left; } + +header[field=ORGANIZATION]:before { content: "Organization: "; font-weight: bold; } +header[field=ORGANIZATION] { display: block; text-align:left; } + +/************************************************** + * These are all the headers that are NOT displayed + * for the normal header display + **************************************************/ +/* + * All misc headers (i.e. the ones that start with + * "X-" are turned off! + */ + +header[field=RETURN-PATH]:before { content: "Return-Path: "; font-weight: bold; } +header[field=RETURN-PATH] { display: none; text-align:left; } + +header[field=STATUS]:before { content: "Status: "; font-weight: bold; } +header[field=STATUS] { display: none; text-align:left; } + +header[field=RECEIVED]:before { content: "Received: "; font-weight: bold; } +header[field=RECEIVED] { display: none; text-align:left; } + +header[field=MIME-VERSION]:before { content: "MIME Version: "; font-weight: bold; } +header[field=MIME-VERSION] { display: none; text-align:left; } + +header[field=PRECEDENCE]:before { content: "Precedence: "; font-weight: bold; } +header[field=PRECEDENCE] { display: none; text-align: left; } + +header[field=CONTENT-BASE]:before { content: "Content-Base: "; font-weight: bold; } +header[field=CONTENT-BASE] { display: none; text-align:left; } + +header[field=CONTENT-LOCATION]:before { content: "Content-Location: "; font-weight: bold; } +header[field=CONTENT-LOCATION] { display: none; text-align:left; } + +header[field=CONTENT-ID]:before { content: "Content-ID: "; font-weight: bold; } +header[field=CONTENT-ID] { display: none; text-align:left; } + +header[field=CONTENT-DESCRIPTION]:before { content: "Content-Description: "; font-weight: bold; } +header[field=CONTENT-DESCRIPTION] { display: none; text-align:left; } + +header[field=CONTENT-DISPOSITION]:before { content: "Content-Disposition: "; font-weight: bold; } +header[field=CONTENT-DISPOSITION] { display: none; text-align:left; } + +header[field=CONTENT-ENCODING]:before { content: "Content-Encoding: "; font-weight: bold; } +header[field=CONTENT-ENCODING] { display: none; text-align:left; } + +header[field=CONTENT-LENGTH]:before { content: "Content-Length: "; font-weight: bold; } +header[field=CONTENT-LENGTH] { display: none; text-align:left; } + +header[field=CONTENT-NAME]:before { content: "Content-Name: "; font-weight: bold; } +header[field=CONTENT-NAME] { display: none; text-align:left; } + +header[field=CONTENT-TRANSFER-ENCODING]:before { content: "Content-Transfer-Encoding: "; font-weight: bold; } +header[field=CONTENT-TRANSFER-ENCODING] { display: none; text-align:left; } + +header[field=CONTENT-TYPE]:before { content: "Content-Type: "; font-weight: bold; } +header[field=CONTENT-TYPE] { display: none; text-align:left; } + +header[field=DISTRIBUTION]:before { content: "Distribution: "; font-weight: bold; } +header[field=DISTRIBUTION] { display: none; text-align:left; } + +header[field=FCC]:before { content: "FCC: "; font-weight: bold; } +header[field=FCC] { display: none; text-align:left; } + +header[field=FOLLOWUP-TO]:before { content: "Followup-To: "; font-weight: bold; } +header[field=FOLLOWUP-TO] { display: none; text-align:left; } + +header[field=LINES]:before { content: "Lines: "; font-weight: bold; } +header[field=LINES] { display: none; text-align:left; } + +header[field=MESSAGE-ID]:before { content: "Message-ID: "; font-weight: bold; } +header[field=MESSAGE-ID] { display: none; text-align:left; } + +header[field=REFERENCES]:before { content: "References: "; font-weight: bold; } +header[field=REFERENCES] { display: none; text-align:left; } + +header[field=REPLY-TO]:before { content: "Reply-To: "; font-weight: bold;} +header[field=REPLY-TO] { display: none; text-align:left; } + +header[field=RESENT-COMMENTS]:before { content: "Resent-Comments: "; font-weight: bold; } +header[field=RESENT-COMMENTS] { display: none; text-align:left; } + +header[field=RESENT-DATE]:before { content: "Resent-Date: "; font-weight: bold; } +header[field=RESENT-DATE] { display: none; text-align:left; } + +header[field=RESENT-FROM]:before { content: "Resent-From "; font-weight: bold; } +header[field=RESENT-FROM] { display: none; text-align:left; } + +header[field=RESENT-MESSAGE-ID]:before { content: "Resent-Message-ID: "; font-weight: bold; } +header[field=RESENT-MESSAGE-ID] { display: none; text-align:left; } + +header[field=RESENT-SENDER]:before { content: "Resent-Sender: "; font-weight: bold; } +header[field=RESENT-SENDER] { display: none; text-align:left; } + +header[field=RESENT-TO]:before { content: "Resent-To: "; font-weight: bold; } +header[field=RESENT-TO] { display: none; text-align:left; } + +header[field=RESENT-CC]:before { content: "Resent-CC: "; font-weight: bold; } +header[field=RESENT-CC] { display: none; text-align:left; } + +header[field=SENDER]:before { content: "Sender: "; font-weight: bold; } +header[field=SENDER] { display: none; text-align:left; } + +header[field=XREF]:before { content: "XREF: "; font-weight: bold; } +header[field=XREF] { display: none; text-align:left; } + +header[field=APPROVED-BY]:before { content: "Approved-By: "; font-weight: bold; } +header[field=APPROVED-BY] { display: none; text-align:left; } + +/************************************************** + * These are all of the header extensions. For now, + * these will be turned off and only display on the + * all header display + **************************************************/ + +header[field=X-SUN-CHARSET]:before { content: "X-Sun-Charset: "; font-weight: bold; } +header[field=X-SUN-CHARSET] { display: none; text-align:left; } + +header[field=X-SUN-CONTENT-LENGTH]:before { content: "X-Sun-Content-Length: "; font-weight: bold; } +header[field=X-SUN-CONTENT-LENGTH] { display: none; text-align:left; } + +header[field=X-SUN-DATA-DESCRIPTION]:before { content: "X-Sun-Data-Description: "; font-weight: bold; } +header[field=X-SUN-DATA-DESCRIPTION] { display: none; text-align:left; } + +header[field=X-SUN-DATA-NAME]:before { content: "X-Sun-Data-Name: "; font-weight: bold; } +header[field=X-SUN-DATA-NAME] { display: none; text-align:left; } + +header[field=X-SUN-DATA-TYPE]:before { content: "X-Sun-Data-Type: "; font-weight: bold; } +header[field=X-SUN-DATA-TYPE] { display: none; text-align:left; } + +header[field=X-SUN-ENCODING-INFO]:before { content: "X-Sun-Encoding-Info: "; font-weight: bold; } +header[field=X-SUN-ENCODING-INFO] { display: none; text-align:left; } + +header[field=X-PRIORITY]:before { content: "X-Priority: "; font-weight: bold; } +header[field=X-PRIORITY] { display: none; text-align:left; } + +header[field=X-MOZILLA-PARTURL]:before { content: "X-Mozilla-PartURL: "; font-weight: bold; } +header[field=X-MOZILLA-PARTURL] { display: none; text-align:left; } + +header[field=X-MOZILLA-DRAFT-INFO]:before { content: "X-Mozilla-Draft-Info: "; font-weight: bold; } +header[field=X-MOZILLA-DRAFT-INFO] { display: none; text-align:left; } + +header[field=X-ACCEPT-LANGUAGE]:before { content: "X-Accept-Language: "; font-weight: bold; } +header[field=X-ACCEPT-LANGUAGE] { display: none; text-align:left; } + +header[field=X-MAILING-LIST]:before { content: "X-Mailing-List: "; font-weight: bold; } +header[field=X-MAILING-LIST] { display: none; text-align:left; } + +header[field=X-MAILING-LOOP]:before { content: "X-Mailing-Loop: "; font-weight: bold; } +header[field=X-MAILING-LOOP] { display: none; text-align:left; } + +header[field=X-LOOP]:before { content: "X-Loop: "; font-weight: bold; } +header[field=X-LOOP] { display: none; text-align: left; } + +header[field=X-MAILER]:before { content: "X-Mailer: "; font-weight: bold; } +header[field=X-MAILER] { display: none; text-align:left; } + +header[field=X-MOZILLA-STATUS]:before { content: "X-Mozilla-Status: "; font-weight: bold; } +header[field=X-MOZILLA-STATUS] { display: none; text-align:left; } + +header[field=X-MOZILLA-STATUS2]:before { content: "X-Mozilla-Status2: "; font-weight: bold; } +header[field=X-MOZILLA-STATUS2] { display: none; text-align: left; } + diff --git a/mailnews/mime/emitters/xml/mailheader-all.css b/mailnews/mime/emitters/xml/mailheader-all.css new file mode 100644 index 000000000000..bc2450d5fc10 --- /dev/null +++ b/mailnews/mime/emitters/xml/mailheader-all.css @@ -0,0 +1,926 @@ +/* + * Window behavior for scrolling and general header color + * attributes + */ +window { overflow: auto; } +mailheader { display: block; background-color: #E0E0E0; } + +/************************************************** + * These are all the headers that are displayed + * for the normal header display. This is accomplished + * by having a general header tag that turns off the + * display of the field and then we selectively turn + * on header displays. This will prevent unknown headers + * from being displayed. + **************************************************/ +<<<<<<< mailheader-all.css +mailheader { + display: block; +<<<<<<< mailheader-all.css + background-color: white; +======= + background-color: #E0E0E0; +>>>>>>> 1.5 +} + +<<<<<<< mailheader-all.css +Subject { +======= +To:before { + content: "To: "; + font-weight: bold; +} +To { +>>>>>>> 1.5 + display: block; + text-align:left; +} + +<<<<<<< mailheader-all.css +To:before { + content:"To: "; + font-weight: bold; +======= +From:before { + content: "From: "; + font-weight: bold; +>>>>>>> 1.5 +} +<<<<<<< mailheader-all.css + +To { +======= +From { +>>>>>>> 1.5 + display: block; + text-align:left; + background-color: lightgrey; + border: thin white solid; +} + +<<<<<<< mailheader-all.css +From:before { + content:"From: "; + font-weight: bold; +======= +Subject:before { + content: "Subject: "; + font-weight: bold; +>>>>>>> 1.5 +} +<<<<<<< mailheader-all.css +======= +Subject { + display: block; + text-align:left; + background-color: lightyellow; + border: 1px solid #CCCCCC; +} +>>>>>>> 1.5 + +<<<<<<< mailheader-all.css +From { +======= +Date:before { + content: "Date: "; + font-weight: bold; +} +Date { +>>>>>>> 1.5 + display: block; + text-align:left; + background-color: lightgrey; + border: thin white solid; +} + +<<<<<<< mailheader-all.css +CC:before { + content:"Cc: "; + font-weight: bold; +======= +CC:before { + content: "CC: "; + font-weight: bold; +>>>>>>> 1.5 +} +<<<<<<< mailheader-all.css + +CC { +======= +CC { +>>>>>>> 1.5 + display: block; + text-align:left; + background-color: lightgrey; + border: thin white solid; +} + +<<<<<<< mailheader-all.css +Date:before { + content:"Date: "; + font-weight: bold; +} +======= +BCC:before { + content: "BCC: "; + font-weight: bold; +} +BCC { + display: block; + text-align:left; +} +>>>>>>> 1.5 + +<<<<<<< mailheader-all.css +Date { +======= +Newsgroups:before { + content: "Newsgroups: "; + font-weight: bold; +} +Newsgroups { +>>>>>>> 1.5 + display: block; + text-align:right; + width: auto; +} + +<<<<<<< mailheader-all.css +Organization:before { + content:"Organization: "; + font-weight: bold; +} + +Organization { +======= +Organization:before { + content: "Organization: "; + font-weight: bold; +} +Organization { +>>>>>>> 1.5 + display: block; + text-align:left; + background-color: lightgrey; + border: thin white solid; +} + +<<<<<<< mailheader-all.css +Return-Path { + display: none; +======= +======= + +header { display: block; text-align: left; } + +header[field=DATE]:before { content: "Date: "; font-weight: bold; } +header[field=DATE { display: block; text-align:left; } + +header[field=TO]:before { content: "To: "; font-weight: bold; } +header[field=TO] { display: block; text-align: left; } + +header[field=FROM]:before { content: "From: "; font-weight: bold; } +header[field=FROM] { display: block; text-align:left; } + +header[field=SUBJECT]:before { content: "Subject: "; font-weight: bold; } +header[field=SUBJECT] { display: block; text-align: left; + background-color: lightyellow; border: 1px solid #CCCCCC; } + +header[field=CC]:before { content: "CC: "; font-weight: bold; } +header[field=CC] { display: block; text-align:left; } + +header[field=BCC]:before { content: "BCC: "; font-weight: bold; } +header[field=BCC] { display: block; text-align:left; } + +header[field=NEWSGROUPS]:before { content: "Newsgroups: "; font-weight: bold; } +header[field=NEWSGROUPS] { display: block; text-align:left; } + +header[field=ORGANIZATION]:before { content: "Organization: "; font-weight: bold; } +header[field=ORGANIZATION] { display: block; text-align:left; } + +>>>>>>> 1.6 +/************************************************** + * These are all the headers that are NOT displayed + * for the normal header display + **************************************************/ +/* + * All misc headers (i.e. the ones that start with + * "X-" are turned off! + */ +<<<<<<< mailheader-all.css +misc { + display: block; + text-align: left; +} + +Return-Path:before { + content: "Return-Path: "; + font-weight: bold; +} +Return-Path { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +BCC { + display: none; +======= +Received:before { + content: "Received: "; + font-weight: bold; +} +Received { + display: block; + text-align:left; +} + +MIME-Version:before { + content: "MIME Version: "; + font-weight: bold; +} +MIME-Version { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +======= +Precedence:before { + content: "Precedence: "; + font-weight: bold; +} +Precedence { + display: block; + text-align: left; +} +>>>>>>> 1.5 + +<<<<<<< mailheader-all.css +Content-Base { + display: none; +======= +Content-Base:before { + content: "Content-Base: "; + font-weight: bold; +} +Content-Base { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Content-Location { + display: none; +======= +Content-Location:before { + content: "Content-Location: "; + font-weight: bold; +} +Content-Location { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Content-ID { + display: none; +======= +Content-ID:before { + content: "Content-ID: "; + font-weight: bold; +} +Content-ID { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Content-Description { + display: none; +======= +Content-Description:before { + content: "Content-Description: "; + font-weight: bold; +} +Content-Description { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Content-Disposition { + display: none; +======= +Content-Disposition:before { + content: "Content-Disposition: "; + font-weight: bold; +} +Content-Disposition { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Content-Encoding { + display: none; +======= +Content-Encoding:before { + content: "Content-Encoding: "; + font-weight: bold; +} +Content-Encoding { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Content-Length { + display: none; +======= +Content-Length:before { + content: "Content-Length: "; + font-weight: bold; +} +Content-Length { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Content-Name { + display: none; +======= +Content-Name:before { + content: "Content-Name: "; + font-weight: bold; +} +Content-Name { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Content-Transfer-Encoding { + display: none; +======= +Content-Transfer-Encoding:before { + content: "Content-Transfer-Encoding: "; + font-weight: bold; +} +Content-Transfer-Encoding { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Content-Type { + display: none; +======= +Content-Type:before { + content: "Content-Type: "; + font-weight: bold; +} +Content-Type { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Distribution { + display: none; +======= +Distribution:before { + content: "Distribution: "; + font-weight: bold; +} +Distribution { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +FCC { + display: none; +======= +FCC:before { + content: "FCC: "; + font-weight: bold; +} +FCC { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Followup-To { + display: none; +======= +Followup-To:before { + content: "Followup-To: "; + font-weight: bold; +} +Followup-To { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Lines { + display: none; +======= +Lines:before { + content: "Lines: "; + font-weight: bold; +} +Lines { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Message-ID { + display: none; + text-align:left; +} + +MIME-Version { + display: none; +======= +Message-ID:before { + content: "Message-ID: "; + font-weight: bold; +} +Message-ID { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Newsgroups { + display: none; + text-align:left; +} + + +References { + display: none; +======= +References:before { + content: "References: "; + font-weight: bold; +} +References { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Reply-To { + display: none; +======= +Reply-To:before { + content: "Reply-To: "; + font-weight: bold; +} +Reply-To { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Resent-Comments { + display: none; +======= +Resent-Comments:before { + content: "Resent-Comments: "; + font-weight: bold; +} +Resent-Comments { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Resent-Date { + display: none; +======= +Resent-Date:before { + content: "Resent-Date: "; + font-weight: bold; +} +Resent-Date { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Resent-From { + display: none; + text-align:left; +} + +Resent-Message-ID { + display: none; +======= +Resent-From:before { + content: "Resent-From "; + font-weight: bold; +} +Resent-From { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Resent-Sender { + display: none; + text-align:left; +} + +Resent-To { + display: none; +======= +Resent-Message-ID:before { + content: "Resent-Message-ID: "; + font-weight: bold; +} +Resent-Message-ID { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +Resent-CC { + display: none; + text-align:left; +} + +Sender { + display: none; +======= +Resent-Sender:before { + content: "Resent-Sender: "; + font-weight: bold; +} +Resent-Sender { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +X-Mailer { + display: none; + text-align:left; +} + +X-Newsreader { + display: none; +======= +Resent-To:before { + content: "Resent-To: "; + font-weight: bold; +} +Resent-To { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +X-Posting-Software { + display: none; + text-align:left; +} + +X-Mozilla-Status { + display: none; +======= +Resent-CC:before { + content: "Resent-CC: "; + font-weight: bold; +} +Resent-CC { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +X-Mozilla-News-Host { + display: none; + text-align:left; +} + +X-Mozilla-Draft-Info { + display: none; +======= +Sender:before { + content: "Sender: "; + font-weight: bold; +} +Sender { + display: block; +>>>>>>> 1.5 + text-align:left; +} + +<<<<<<< mailheader-all.css +X-UIDL { + display: none; + text-align:left; +} + +======= +XREF:before { + content: "XREF: "; + font-weight: bold; +} +>>>>>>> 1.5 +XREF { + display: none; + text-align:left; +} +======= +>>>>>>> 1.6 + +header[field=RETURN-PATH]:before { content: "Return-Path: "; font-weight: bold; } +header[field=RETURN-PATH] { display: none; text-align:left; } + +header[field=STATUS]:before { content: "Status: "; font-weight: bold; } +header[field=STATUS] { display: none; text-align:left; } + +header[field=RECEIVED]:before { content: "Received: "; font-weight: bold; } +header[field=RECEIVED] { display: none; text-align:left; } + +header[field=MIME-VERSION]:before { content: "MIME Version: "; font-weight: bold; } +header[field=MIME-VERSION] { display: none; text-align:left; } + +header[field=PRECEDENCE]:before { content: "Precedence: "; font-weight: bold; } +header[field=PRECEDENCE] { display: none; text-align: left; } + +header[field=CONTENT-BASE]:before { content: "Content-Base: "; font-weight: bold; } +header[field=CONTENT-BASE] { display: none; text-align:left; } + +header[field=CONTENT-LOCATION]:before { content: "Content-Location: "; font-weight: bold; } +header[field=CONTENT-LOCATION] { display: none; text-align:left; } + +header[field=CONTENT-ID]:before { content: "Content-ID: "; font-weight: bold; } +header[field=CONTENT-ID] { display: none; text-align:left; } + +header[field=CONTENT-DESCRIPTION]:before { content: "Content-Description: "; font-weight: bold; } +header[field=CONTENT-DESCRIPTION] { display: none; text-align:left; } + +header[field=CONTENT-DISPOSITION]:before { content: "Content-Disposition: "; font-weight: bold; } +header[field=CONTENT-DISPOSITION] { display: none; text-align:left; } + +header[field=CONTENT-ENCODING]:before { content: "Content-Encoding: "; font-weight: bold; } +header[field=CONTENT-ENCODING] { display: none; text-align:left; } + +header[field=CONTENT-LENGTH]:before { content: "Content-Length: "; font-weight: bold; } +header[field=CONTENT-LENGTH] { display: none; text-align:left; } + +header[field=CONTENT-NAME]:before { content: "Content-Name: "; font-weight: bold; } +header[field=CONTENT-NAME] { display: none; text-align:left; } + +header[field=CONTENT-TRANSFER-ENCODING]:before { content: "Content-Transfer-Encoding: "; font-weight: bold; } +header[field=CONTENT-TRANSFER-ENCODING] { display: none; text-align:left; } + +header[field=CONTENT-TYPE]:before { content: "Content-Type: "; font-weight: bold; } +header[field=CONTENT-TYPE] { display: none; text-align:left; } + +header[field=DISTRIBUTION]:before { content: "Distribution: "; font-weight: bold; } +header[field=DISTRIBUTION] { display: none; text-align:left; } + +header[field=FCC]:before { content: "FCC: "; font-weight: bold; } +header[field=FCC] { display: none; text-align:left; } + +header[field=FOLLOWUP-TO]:before { content: "Followup-To: "; font-weight: bold; } +header[field=FOLLOWUP-TO] { display: none; text-align:left; } + +header[field=LINES]:before { content: "Lines: "; font-weight: bold; } +header[field=LINES] { display: none; text-align:left; } + +header[field=MESSAGE-ID]:before { content: "Message-ID: "; font-weight: bold; } +header[field=MESSAGE-ID] { display: none; text-align:left; } + +header[field=REFERENCES]:before { content: "References: "; font-weight: bold; } +header[field=REFERENCES] { display: none; text-align:left; } + +header[field=REPLY-TO]:before { content: "Reply-To: "; font-weight: bold;} +header[field=REPLY-TO] { display: none; text-align:left; } + +header[field=RESENT-COMMENTS]:before { content: "Resent-Comments: "; font-weight: bold; } +header[field=RESENT-COMMENTS] { display: none; text-align:left; } + +header[field=RESENT-DATE]:before { content: "Resent-Date: "; font-weight: bold; } +header[field=RESENT-DATE] { display: none; text-align:left; } + +header[field=RESENT-FROM]:before { content: "Resent-From "; font-weight: bold; } +header[field=RESENT-FROM] { display: none; text-align:left; } + +header[field=RESENT-MESSAGE-ID]:before { content: "Resent-Message-ID: "; font-weight: bold; } +header[field=RESENT-MESSAGE-ID] { display: none; text-align:left; } + +header[field=RESENT-SENDER]:before { content: "Resent-Sender: "; font-weight: bold; } +header[field=RESENT-SENDER] { display: none; text-align:left; } + +header[field=RESENT-TO]:before { content: "Resent-To: "; font-weight: bold; } +header[field=RESENT-TO] { display: none; text-align:left; } + +header[field=RESENT-CC]:before { content: "Resent-CC: "; font-weight: bold; } +header[field=RESENT-CC] { display: none; text-align:left; } + +header[field=SENDER]:before { content: "Sender: "; font-weight: bold; } +header[field=SENDER] { display: none; text-align:left; } + +header[field=XREF]:before { content: "XREF: "; font-weight: bold; } +header[field=XREF] { display: none; text-align:left; } + +header[field=APPROVED-BY]:before { content: "Approved-By: "; font-weight: bold; } +header[field=APPROVED-BY] { display: none; text-align:left; } + +/************************************************** + * These are all of the header extensions. For now, + * these will be turned off and only display on the + * all header display + **************************************************/ +<<<<<<< mailheader-all.css +X-Sun-Charset { + display: none; + text-align:left; +} + +X-Sun-Content-Length { + display: none; + text-align:left; +} + +X-Sun-Content-Lines { + display: none; + text-align:left; +} + +X-Sun-Data-Description { + display: none; + text-align:left; +} + +X-Sun-Data-Name { + display: none; + text-align:left; +} + +X-Sun-Data-Type { + display: none; + text-align:left; +} + +X-Sun-Encoding-Info { + display: none; + text-align:left; +} + +X-Priority { + display: none; + text-align:left; +} + +X-Mozilla-PartURL { + display: none; + text-align:left; +} + +X-Mozilla-Draft-Info { + display: none; + text-align:left; +} + +X-Accept-Language { + display: none; + text-align:left; +} + +X-Mozilla-Status2 { + display: none; + text-align:left; +} + +X-Mailing-List { + display: none; + text-align:left; +} + +X-Mailing-Loop { + display: none; + text-align:left; +} + +Received { + display: none; + text-align:left; +} + +X-Loop { + display: none; + text-align: left; +} + +<<<<<<< mailheader-all.css +Precedence { + display: none; +======= +X-Mozilla-Status2 { + display: block; +>>>>>>> 1.5 + text-align: left; +} + +X-Mailer:before { + content: "X-Mailer: "; + font-weight: bold; +} +X-Mailer { + display: block; + text-align:left; +} + +X-Mozilla-Status2 { + display: block; + text-align:left; +} +======= + +header[field=X-SUN-CHARSET]:before { content: "X-Sun-Charset: "; font-weight: bold; } +header[field=X-SUN-CHARSET] { display: none; text-align:left; } + +header[field=X-SUN-CONTENT-LENGTH]:before { content: "X-Sun-Content-Length: "; font-weight: bold; } +header[field=X-SUN-CONTENT-LENGTH] { display: none; text-align:left; } + +header[field=X-SUN-DATA-DESCRIPTION]:before { content: "X-Sun-Data-Description: "; font-weight: bold; } +header[field=X-SUN-DATA-DESCRIPTION] { display: none; text-align:left; } + +header[field=X-SUN-DATA-NAME]:before { content: "X-Sun-Data-Name: "; font-weight: bold; } +header[field=X-SUN-DATA-NAME] { display: none; text-align:left; } + +header[field=X-SUN-DATA-TYPE]:before { content: "X-Sun-Data-Type: "; font-weight: bold; } +header[field=X-SUN-DATA-TYPE] { display: none; text-align:left; } + +header[field=X-SUN-ENCODING-INFO]:before { content: "X-Sun-Encoding-Info: "; font-weight: bold; } +header[field=X-SUN-ENCODING-INFO] { display: none; text-align:left; } + +header[field=X-PRIORITY]:before { content: "X-Priority: "; font-weight: bold; } +header[field=X-PRIORITY] { display: none; text-align:left; } + +header[field=X-MOZILLA-PARTURL]:before { content: "X-Mozilla-PartURL: "; font-weight: bold; } +header[field=X-MOZILLA-PARTURL] { display: none; text-align:left; } + +header[field=X-MOZILLA-DRAFT-INFO]:before { content: "X-Mozilla-Draft-Info: "; font-weight: bold; } +header[field=X-MOZILLA-DRAFT-INFO] { display: none; text-align:left; } + +header[field=X-ACCEPT-LANGUAGE]:before { content: "X-Accept-Language: "; font-weight: bold; } +header[field=X-ACCEPT-LANGUAGE] { display: none; text-align:left; } + +header[field=X-MAILING-LIST]:before { content: "X-Mailing-List: "; font-weight: bold; } +header[field=X-MAILING-LIST] { display: none; text-align:left; } + +header[field=X-MAILING-LOOP]:before { content: "X-Mailing-Loop: "; font-weight: bold; } +header[field=X-MAILING-LOOP] { display: none; text-align:left; } + +header[field=X-LOOP]:before { content: "X-Loop: "; font-weight: bold; } +header[field=X-LOOP] { display: none; text-align: left; } + +header[field=X-MAILER]:before { content: "X-Mailer: "; font-weight: bold; } +header[field=X-MAILER] { display: none; text-align:left; } + +header[field=X-MOZILLA-STATUS]:before { content: "X-Mozilla-Status: "; font-weight: bold; } +header[field=X-MOZILLA-STATUS] { display: none; text-align:left; } + +header[field=X-MOZILLA-STATUS2]:before { content: "X-Mozilla-Status2: "; font-weight: bold; } +header[field=X-MOZILLA-STATUS2] { display: none; text-align: left; } + +>>>>>>> 1.6