f6e0a33f |
1 | /* |
2 | * The contents of this file are subject to the Netscape Public |
3 | * License Version 1.1 (the "License"); you may not use this file |
4 | * except in compliance with the License. You may obtain a copy of |
5 | * the License at http://www.mozilla.org/NPL/ |
6 | * |
7 | * Software distributed under the License is distributed on an "AS |
8 | * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
9 | * implied. See the License for the specific language governing |
10 | * rights and limitations under the License. |
11 | * |
12 | * The Original Code is Mozilla Communicator client code, released |
13 | * March 31, 1998. |
14 | * |
15 | * The Initial Developer of the Original Code is Netscape |
16 | * Communications Corporation. Portions created by Netscape are |
17 | * Copyright (C) 1998-2001 Netscape Communications Corporation. All |
18 | * Rights Reserved. |
19 | * |
20 | * Contributor(s): |
21 | * Scott MacGregor (mscott@netscape.com) |
22 | * Joe Hewitt (hewitt@netscape.com) |
23 | */ |
24 | |
25 | /* ===== threadPane.css ============================================== |
26 | == Styles for the thread pane in the Messenger 3-pane window. |
27 | ======================================================================= */ |
28 | |
29 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
30 | |
31 | /* ::::: connecting lines ::::: */ |
32 | |
33 | outlinerbody:-moz-outliner-line |
34 | { |
35 | border: 1px solid red; |
36 | } |
37 | |
38 | /* ::::: thread decoration ::::: */ |
39 | |
40 | outlinerbody:-moz-outliner-cell-text(unread) { |
41 | font-weight: bold; |
42 | } |
43 | |
44 | /* on a collapsed thread, if the top level message is read, but the thread has |
45 | * unread children, underline the text. 4.x mac did this, very slick |
46 | */ |
47 | outlinerbody:-moz-outliner-cell-text(container, closed, hasUnread, read) { |
48 | text-decoration: underline; |
49 | } |
50 | |
51 | /* ::::: priority colors ::::: */ |
52 | |
53 | outlinerbody:-moz-outliner-cell-text(priorityCol, priority-highest) { |
54 | color: red; |
55 | } |
56 | |
57 | outlinerbody:-moz-outliner-cell-text(priorityCol, priority-high) { |
58 | color: rgb(128, 0, 0); |
59 | } |
60 | |
61 | outlinerbody:-moz-outliner-cell-text(priorityCol, priority-lowest) { |
62 | color: rgb(170, 170, 170); |
63 | } |
64 | |
65 | outlinerbody:-moz-outliner-cell-text(priorityCol, priority-low) { |
66 | color: rgb(85, 85, 85); |
67 | } |
68 | |
69 | outlinerbody:-moz-outliner-cell-text(priorityCol, selected) { |
70 | color: -moz-DialogText; |
71 | } |
72 | |
73 | outlinerbody:-moz-outliner-cell-text(priorityCol, selected, focus) { |
74 | color: HighlightText; |
75 | } |
76 | |
77 | /* ::::: message icons ::::: */ |
78 | |
79 | /* ::::: message column icons ::::: */ |
80 | |
81 | /* ..... thread column ..... */ |
82 | |
83 | outlinercol.threadColumnHeader { |
84 | list-style-image: url("chrome://messenger/skin/unthreadcol.gif"); |
85 | } |
86 | |
87 | outlinercol.threadColumnHeader[sortDirection="ascending"] { |
88 | list-style-image: url("chrome://messenger/skin/threadcol.gif"); |
89 | } |
90 | |
91 | outlinercol.threadColumnHeader[sortDirection="descending"] { |
92 | list-style-image: url("chrome://messenger/skin/threadcol.gif"); |
93 | } |
94 | |
95 | outlinerbody:-moz-outliner-image(threadCol, container) { |
96 | list-style-image: url("chrome://messenger/skin/thread-closed.gif"); |
97 | } |
98 | |
99 | outlinerbody:-moz-outliner-image(threadCol, container, open) { |
100 | list-style-image: url("chrome://messenger/skin/thread-open.gif"); |
101 | } |
102 | |
103 | outlinerbody:-moz-outliner-image(threadCol, container, hasUnread) { |
104 | list-style-image: url("chrome://messenger/skin/thread-new-closed.gif"); |
105 | } |
106 | |
107 | outlinerbody:-moz-outliner-image(threadCol, container, hasUnread, open) { |
108 | list-style-image: url("chrome://messenger/skin/thread-new-open.gif"); |
109 | } |
110 | |
111 | /* ..... read column ..... */ |
112 | |
113 | outlinercol.readColumnHeader { |
114 | list-style-image: url("chrome://messenger/skin/readcol.gif"); |
115 | } |
116 | |
117 | outlinerbody:-moz-outliner-image(unreadButtonColHeader) { |
118 | list-style-image: url("chrome://messenger/skin/readmail.gif"); |
119 | } |
120 | |
121 | outlinerbody:-moz-outliner-image(unreadButtonColHeader, unread) { |
122 | list-style-image: url("chrome://messenger/skin/unreadmail.gif"); |
123 | } |
124 | |
125 | /* ..... flag column ..... */ |
126 | |
127 | outlinercol.flagColumnHeader { |
128 | list-style-image: url("chrome://messenger/skin/flagcol.gif"); |
129 | } |
130 | |
131 | outlinerbody:-moz-outliner-image(flaggedCol) { |
132 | list-style-image: url("chrome://messenger/skin/readmail.gif"); |
133 | } |
134 | |
135 | outlinerbody:-moz-outliner-image(flaggedCol, flagged) { |
136 | list-style-image: url("chrome://messenger/skin/flaggedmail.gif"); |
137 | } |
138 | |
139 | /* ..... subject column ..... */ |
140 | |
141 | outlinerbody:-moz-outliner-image(subjectCol) { |
142 | padding-right: 2px; |
143 | list-style-image: url("chrome://messenger/skin/message-mail.gif"); |
144 | } |
145 | |
146 | outlinerbody:-moz-outliner-image(subjectCol, new) { |
147 | padding-right: 2px; |
148 | list-style-image: url("chrome://messenger/skin/message-mail-new.gif"); |
149 | } |
150 | |
151 | outlinerbody:-moz-outliner-image(subjectCol, attach) { |
152 | padding-right: 2px; |
153 | list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); |
154 | } |
155 | |
156 | outlinerbody:-moz-outliner-image(subjectCol, imapdeleted) { |
157 | padding-right: 2px; |
158 | list-style-image: url("chrome://messenger/skin/message-mail-imapdelete.gif"); |
159 | } |
160 | |
161 | outlinerbody:-moz-outliner-image(subjectCol, news) { |
162 | padding-right: 2px; |
163 | list-style-image: url("chrome://messenger/skin/message-news.gif"); |
164 | } |
165 | |
166 | outlinerbody:-moz-outliner-image(subjectCol, news, new) { |
167 | padding-right: 2px; |
168 | list-style-image: url("chrome://messenger/skin/message-news-new.gif"); |
169 | } |
170 | |
171 | outlinerbody:-moz-outliner-image(subjectCol, news, attach) { |
172 | padding-right: 2px; |
173 | list-style-image: url("chrome://messenger/skin/message-news-attach.gif"); |
174 | } |
175 | |
176 | |