c9990331 |
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 | * Robert Kaiser (KaiRo@KaiRo.at) |
24 | */ |
25 | |
26 | /* ===== threadPane.css ============================================== |
27 | == Styles for the thread pane in the Messenger 3-pane window. |
28 | ======================================================================= */ |
29 | |
30 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
31 | |
32 | /* ::::: outliner rows ::::: */ |
33 | |
34 | outliner:focus > outliner-bodybox |
35 | { |
36 | border: 1px solid black; |
37 | } |
38 | |
39 | outliner > outliner-bodybox |
40 | { |
41 | border: 1px solid transparent; |
42 | } |
43 | |
44 | outlinerbody:-moz-outliner-cell-text(unread) |
45 | { |
46 | font-weight: bold; |
47 | } |
48 | |
49 | outlinerbody:-moz-outliner-cell-text(offline) |
50 | { |
51 | font-style: italic; |
52 | } |
53 | |
54 | /* ::::: priority colors ::::: */ |
55 | |
56 | outlinerbody:-moz-outliner-cell-text(priority-highest) |
57 | { |
58 | color:red; |
59 | } |
60 | |
61 | outlinerbody:-moz-outliner-cell-text(priority-high) |
62 | { |
63 | color: rgb(128, 0, 0); |
64 | } |
65 | |
66 | outlinerbody:-moz-outliner-cell-text(priority-lowest) |
67 | { |
68 | color: rgb(170, 170, 170); |
69 | } |
70 | |
71 | outlinerbody:-moz-outliner-cell-text(priority-low) |
72 | { |
73 | color: rgb(85, 85, 85); |
74 | } |
75 | |
76 | /* ::::: message icons ::::: */ |
77 | |
78 | /* ::::: message column icons ::::: */ |
79 | |
80 | /* ..... thread column ..... */ |
81 | |
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/unreadmail.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/flaggedmail.gif"); |
129 | } |
130 | |
131 | outlinerbody:-moz-outliner-image(flaggedCol) { |
132 | list-style-image: url("chrome://messenger/skin/readmail.gif"); |
133 | } |
134 | |
135 | treeitem[open="true"] > treerow > .threadcol-threadWithUnread{ |
136 | list-style-image: url("chrome://messenger/skin/thread-new-open.gif"); |
137 | } |
138 | |
139 | outlinerbody:-moz-outliner-image(flaggedCol, flagged) { |
140 | list-style-image: url("chrome://messenger/skin/flaggedmail.gif"); |
141 | } |
142 | |
143 | /* ..... subject column ..... */ |
144 | |
145 | outlinerbody:-moz-outliner-image(subjectCol) { |
146 | list-style-image: url("chrome://messenger/skin/message-mail.gif"); |
147 | } |
148 | |
149 | outlinerbody:-moz-outliner-image(subjectCol, new) { |
150 | list-style-image: url("chrome://messenger/skin/message-mail-new.gif"); |
151 | } |
152 | |
153 | outlinerbody:-moz-outliner-image(subjectCol, attach) { |
154 | list-style-image: url("chrome://messenger/skin/message-mail-attach.gif"); |
155 | } |
156 | |
157 | outlinerbody:-moz-outliner-image(subjectCol, news) { |
158 | list-style-image: url("chrome://messenger/skin/message-news.gif"); |
159 | } |
160 | |
161 | outlinerbody:-moz-outliner-image(subjectCol, news, new) { |
162 | list-style-image: url("chrome://messenger/skin/message-news-new.gif"); |
163 | } |