home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Smoke.jar / messenger / threadPane.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-07-26  |  9.5 KB  |  282 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.png');
  120. }
  121.  
  122. treechildren::-moz-tree-image(unreadButtonColHeader, unread) {
  123.   list-style-image: url('chrome://messenger/skin/icons/unreadmail.png');
  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.png');
  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/junkbar.png');
  144.   padding-left:0px; padding-right:4px; padding-top:0px; padding-bottom: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.png');
  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/junkbar.png');
  156.   margin-right: -1px
  157. }
  158.  
  159. treechildren::-moz-tree-image(junkStatusCol, notjunk) {
  160.   list-style-image: url('chrome://messenger/skin/icons/readmail.png');
  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/mail.png ");
  170. }
  171. treechildren::-moz-tree-image(subjectCol, read) {
  172.   list-style-image: url("chrome://messenger/skin/icons/blank16x16.png");
  173. }
  174. treechildren::-moz-tree-image(subjectCol, new) {
  175.   list-style-image: url("chrome://messenger/skin/icons/mail.png");
  176. }
  177. treechildren::-moz-tree-image(subjectCol, forwarded) {
  178.   list-style-image: url("chrome://messenger/skin/icons/forward_status.png");
  179. }
  180. treechildren::-moz-tree-image(subjectCol, replied) {
  181.   list-style-image: url("chrome://messenger/skin/icons/reply_status.png");
  182. }
  183. treechildren::-moz-tree-image(subjectCol, imapdeleted) {
  184.   list-style-image: url("chrome://messenger/skin/icons/folder-trash.png");
  185. }
  186. treechildren::-moz-tree-image(subjectCol, replied, forwarded) {
  187. list-style-image: url("chrome://messenger/skin/icons/reply_forward_status.png");
  188.  
  189. /* ..... subject column for newsgroups ..... */
  190. treechildren::-moz-tree-image(subjectCol, news) {
  191.   list-style-image: url("chrome://messenger/skin/icons/blank16x16.png");
  192. }
  193.  
  194. treechildren::-moz-tree-image(subjectCol, news, unread) {  
  195.   list-style-image: url("chrome://communicator/skin/taskbar/mail.png");
  196. }
  197.  
  198. treechildren::-moz-tree-image(subjectCol, news, attach) {
  199.   list-style-image: url("chrome://messenger/skin/icons/attachment.png");
  200. }
  201.  
  202. treechildren::-moz-tree-image(subjectCol, news, replied) {
  203.   list-style-image: url("chrome://messenger/skin/icons/reply_status.png");
  204. }
  205.  
  206. treechildren::-moz-tree-image(subjectCol, news, forwarded) {
  207.   list-style-image: url("chrome://messenger/skin/icons/forward_status.png");
  208. }
  209.  
  210. /* ..... new thread icons for watch and ignore ..... */
  211.  
  212. treechildren::-moz-tree-image(news, threadCol, watch) {
  213.   list-style-image: url('chrome://messenger/skin/icons/thread-closed-eye.gif');
  214. }
  215.  
  216. treechildren::-moz-tree-image(news, threadCol, ignore) {
  217.   list-style-image: url('chrome://messenger/skin/icons/thread-closed-kill.gif');
  218. }
  219.  
  220. treechildren::-moz-tree-image(news, threadCol, watch, offline) {
  221.   list-style-image: url('chrome://messenger/skin/icons/thread-closed-offl-eye.gif');
  222. }
  223.  
  224. treechildren::-moz-tree-image(news, threadCol, ignore, offline) {
  225.   list-style-image: url('chrome://messenger/skin/icons/thread-closed-offl-kill.gif');
  226. }
  227.  
  228. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch) {
  229.   list-style-image: url('chrome://messenger/skin/icons/thread-new-closed-eye.gif');
  230. }
  231.  
  232. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore) {
  233.   list-style-image: url('chrome://messenger/skin/icons/thread-new-closed-kill.gif');
  234. }
  235.  
  236. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, offline) {
  237.   list-style-image: url('chrome://messenger/skin/icons/thread-new-closed-offl-eye.gif');
  238. }
  239.  
  240. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, offline) {
  241.   list-style-image: url('chrome://messenger/skin/icons/thread-new-closed-offl-kill.gif');
  242. }
  243.  
  244. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open) {
  245.   list-style-image: url('chrome://messenger/skin/icons/thread-new-open-eye.gif');
  246. }
  247.  
  248. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open) {
  249.   list-style-image: url('chrome://messenger/skin/icons/thread-new-open-kill.gif');
  250. }
  251.  
  252. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, watch, open, offline) {
  253.   list-style-image: url('chrome://messenger/skin/icons/thread-new-open-offl-eye.gif');
  254. }
  255.  
  256. treechildren::-moz-tree-image(news, threadCol, container, hasUnread, ignore, open, offline) {
  257.   list-style-image: url('chrome://messenger/skin/icons/thread-new-open-offl-kill.gif');
  258. }
  259.  
  260. treechildren::-moz-tree-image(news, threadCol, container, watch, open) {
  261.   list-style-image: url('chrome://messenger/skin/icons/thread-open-eye.gif');
  262. }
  263.  
  264. treechildren::-moz-tree-image(news, threadCol, container, ignore, open) {
  265.   list-style-image: url('chrome://messenger/skin/icons/thread-open-kill.gif');
  266. }
  267.  
  268. treechildren::-moz-tree-image(news, threadCol, container, watch, open, offline) {
  269.   list-style-image: url('chrome://messenger/skin/icons/thread-open-offl-eye.gif');
  270. }
  271.  
  272. treechildren::-moz-tree-image(news, threadCol, container, ignore, open, offline) {
  273.   list-style-image: url('chrome://messenger/skin/icons/thread-open-offl-kill.gif');
  274. }
  275.  
  276.  
  277. #sizeCol,
  278. #unreadCol,
  279. #totalCol {
  280.   text-align: right;
  281. }