home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / chrome / qute.jar / skin / classic / messenger / threadPane.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-07-07  |  10.1 KB  |  305 lines

  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. /* ::::: thread decoration ::::: */
  32.  
  33. treechildren::-moz-tree-cell-text(read) {
  34.   font-weight: normal;
  35. }
  36.  
  37. treechildren::-moz-tree-cell-text(unread) {
  38.   font-weight: bold;
  39. }
  40.  
  41. /* on a collapsed thread, if the top level message is read, but the thread has
  42.  * unread children, underline the text.  4.x mac did this, very slick 
  43.  */
  44. treechildren::-moz-tree-cell-text(container, closed, hasUnread, read) {
  45.   text-decoration: underline;
  46. }
  47.  
  48. /* ::::: priority colors ::::: */
  49. /****
  50.  ****  Priority colors currently not being used at the moment.  It has been
  51.  ****  disabled so as to not conflict with the labels color feature.
  52.  ****
  53. treechildren::-moz-tree-cell-text(priorityCol, priority-highest) {
  54.   color: red;
  55. }
  56.  
  57. treechildren::-moz-tree-cell-text(priorityCol, priority-high) {
  58.   color: rgb(128, 0, 0);
  59. }
  60.  
  61. treechildren::-moz-tree-cell-text(priorityCol, priority-lowest) {
  62.   color: rgb(170, 170, 170);
  63. }
  64.  
  65. treechildren::-moz-tree-cell-text(priorityCol, priority-low) {
  66.   color: rgb(85, 85, 85);
  67. }
  68.  
  69. treechildren::-moz-tree-cell-text(priorityCol, selected) {
  70.   color: -moz-DialogText;
  71. }
  72.  
  73. treechildren::-moz-tree-cell-text(priorityCol, selected, focus) {
  74.   color: HighlightText;
  75. }
  76.  ****/
  77.  
  78. /* ::::: message icons ::::: */
  79.  
  80. /* ::::: message column icons ::::: */
  81.  
  82. /* ..... thread column ..... */
  83.  
  84. treecol.threadColumnHeader {
  85.   list-style-image: url("chrome://messenger/skin/icons/unthreadcol.gif");
  86. }
  87.  
  88. treecol.threadColumnHeader[sortDirection="ascending"]  {
  89.   list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
  90. }
  91.  
  92. treecol.threadColumnHeader[sortDirection="descending"] {
  93.   list-style-image: url("chrome://messenger/skin/icons/threadcol.gif");
  94. }
  95.  
  96. treechildren::-moz-tree-image(threadCol, container) {
  97.   list-style-image: url("chrome://messenger/skin/icons/thread-closed.gif");
  98. }
  99.  
  100. treechildren::-moz-tree-image(threadCol, container, open) {
  101.   list-style-image: url("chrome://messenger/skin/icons/thread-open.gif");
  102. }
  103.  
  104. treechildren::-moz-tree-image(threadCol, container, hasUnread) {
  105.   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed.gif");
  106. }
  107.  
  108. treechildren::-moz-tree-image(threadCol, container, hasUnread, open) {
  109.   list-style-image: url("chrome://messenger/skin/icons/thread-new-open.gif");
  110. }
  111.  
  112. /* ..... read column ..... */
  113.  
  114. treecol.readColumnHeader {
  115.   list-style-image: url("chrome://messenger/skin/icons/readcol.gif");
  116. }
  117.  
  118. treechildren::-moz-tree-image(unreadButtonColHeader) {
  119.   list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
  120. }
  121.  
  122. treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
  123.   list-style-image: url("chrome://messenger/skin/icons/unreadmail.gif");
  124. }
  125.  
  126. /* ..... flag column ..... */
  127.  
  128. treecol.flagColumnHeader {
  129.   list-style-image: url("chrome://messenger/skin/icons/flagcol.gif");
  130. }
  131.  
  132. treechildren::-moz-tree-image(flaggedCol) {
  133.   list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
  134. }
  135.  
  136. treechildren::-moz-tree-image(flaggedCol, flagged) {
  137.   list-style-image: url("chrome://messenger/skin/icons/flaggedmail.gif");
  138. }
  139.  
  140. /* ..... junkStatus column ..... */
  141.  
  142. treecol.junkStatusHeader {
  143.   list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
  144.   padding: 0px 4px 0px 0px;
  145. }
  146.  
  147. /* "unknown" now looks like "not junk".  see bug #182386 */
  148. treechildren::-moz-tree-image(junkStatusCol) {
  149.   list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
  150.   padding-left: 0px;
  151.   padding-right: 4px;
  152. }
  153.  
  154. treechildren::-moz-tree-image(junkStatusCol, junk) {
  155.   list-style-image: url("chrome://messenger/skin/icons/folder-junk.gif");
  156.   margin-right: -1px;
  157. }
  158.  
  159. treechildren::-moz-tree-image(junkStatusCol, notjunk) {
  160.   list-style-image: url("chrome://messenger/skin/icons/readmail.gif");
  161.   padding-left: 0px;
  162.   padding-right: 4px;
  163. }
  164.  
  165. /* ..... subject column ..... */
  166.  
  167. treechildren::-moz-tree-image(subjectCol) {
  168.   margin-right: 2px;
  169.   list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
  170. }
  171.  
  172. treechildren::-moz-tree-image(subjectCol, new) {
  173.   list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
  174. }
  175.  
  176. treechildren::-moz-tree-image(subjectCol, attach) {
  177.   list-style-image: url("chrome://messenger/skin/icons/message-mail-attach.gif");
  178. }
  179.  
  180. treechildren::-moz-tree-image(subjectCol, imapdeleted) {
  181.   list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdelete.gif");
  182. }
  183.  
  184. treechildren::-moz-tree-image(subjectCol, offline) {
  185.   list-style-image: url("chrome://messenger/skin/icons/message-mail-offl.gif");
  186. }
  187.  
  188. treechildren::-moz-tree-image(subjectCol, new, offline) {
  189.   list-style-image: url("chrome://messenger/skin/icons/message-mail-new-offl.gif");
  190. }
  191.  
  192. treechildren::-moz-tree-image(subjectCol, attach, offline) {
  193.   list-style-image: url("chrome://messenger/skin/icons/message-mail-attach-offl.gif");
  194. }
  195.  
  196. treechildren::-moz-tree-image(subjectCol, imapdeleted, offline) {
  197.   list-style-image: url("chrome://messenger/skin/icons/message-mail-imapdel-offl.gif");
  198. }
  199.  
  200. treechildren::-moz-tree-image(subjectCol, news) {
  201.   list-style-image: url("chrome://messenger/skin/icons/message-news.gif");
  202. }
  203.  
  204. treechildren::-moz-tree-image(subjectCol, news, attach) {
  205.   list-style-image: url("chrome://messenger/skin/icons/message-news-attach.gif");
  206. }
  207.  
  208. treechildren::-moz-tree-image(subjectCol, news, attach, offline) {
  209.   list-style-image: url("chrome://messenger/skin/icons/message-news-attach-offl.gif");
  210. }
  211.  
  212. treechildren::-moz-tree-image(subjectCol, news, new) {
  213.   list-style-image: url("chrome://messenger/skin/icons/message-news-new.gif");
  214. }
  215.  
  216. treechildren::-moz-tree-image(subjectCol, news, new, attach) {
  217.   list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach.gif");
  218. }
  219.  
  220. treechildren::-moz-tree-image(subjectCol, news, new, attach, offline) {
  221.   list-style-image: url("chrome://messenger/skin/icons/message-news-new-attach-off.gif");
  222. }
  223.  
  224. treechildren::-moz-tree-image(subjectCol, news, new, offline) {
  225.   list-style-image: url("chrome://messenger/skin/icons/message-news-new-offl.gif");
  226. }
  227.  
  228. treechildren::-moz-tree-image(subjectCol, news, offline) {
  229.   list-style-image: url("chrome://messenger/skin/icons/message-news-offl.gif");
  230. }
  231.  
  232. /* ..... new thread icons for watch and ignore ..... */
  233.  
  234. treechildren::-moz-tree-image(news, threadCol, watch) {
  235.   list-style-image: url("chrome://messenger/skin/icons/thread-closed-eye.gif");
  236. }
  237.  
  238. treechildren::-moz-tree-image(news, threadCol, ignore) {
  239.   list-style-image: url("chrome://messenger/skin/icons/thread-closed-kill.gif");
  240. }
  241.  
  242. treechildren::-moz-tree-image(news, threadCol, watch, offline) {
  243.   list-style-image: url("chrome://messenger/skin/icons/thread-closed-offl-eye.gif");
  244. }
  245.  
  246. treechildren::-moz-tree-image(news, threadCol, ignore, offline) {
  247.   list-style-image: url("chrome://messenger/skin/icons/thread-closed-offl-kill.gif");
  248. }
  249.  
  250. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
  251.   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-eye.gif");
  252. }
  253.  
  254. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
  255.   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-kill.gif");
  256. }
  257.  
  258. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
  259.   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offl-eye.gif");
  260. }
  261.  
  262. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
  263.   list-style-image: url("chrome://messenger/skin/icons/thread-new-closed-offl-kill.gif");
  264. }
  265.  
  266. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
  267.   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-eye.gif");
  268. }
  269.  
  270. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
  271.   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-kill.gif");
  272. }
  273.  
  274. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
  275.   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offl-eye.gif");
  276. }
  277.  
  278. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
  279.   list-style-image: url("chrome://messenger/skin/icons/thread-new-open-offl-kill.gif");
  280. }
  281.  
  282. treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
  283.   list-style-image: url("chrome://messenger/skin/icons/thread-open-eye.gif");
  284. }
  285.  
  286. treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
  287.   list-style-image: url("chrome://messenger/skin/icons/thread-open-kill.gif");
  288. }
  289.  
  290. treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) {
  291.   list-style-image: url("chrome://messenger/skin/icons/thread-open-offl-eye.gif");
  292. }
  293.  
  294. treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) {
  295.   list-style-image: url("chrome://messenger/skin/icons/thread-open-offl-kill.gif");
  296. }
  297.  
  298.  
  299. #sizeCol,
  300. #unreadCol,
  301. #totalCol {
  302.   text-align: right;
  303. }
  304.  
  305.