home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / temathun / Smoke.jar / messenger / folderPane.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-02-27  |  4.8 KB  |  168 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.  *   Joe Hewitt (hewitt@netscape.com)
  22.  *   Hσkan Waara (hwaara@chello.se)
  23.  *   Jan Varga (varga@utcru.sk)
  24.  */
  25.  
  26. /* ===== folderPane.css =================================================
  27.   == Styles for the Folder pane in the Messenger 3-pane window.
  28.   ======================================================================= */
  29.  
  30. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  31.  
  32. /* ::::: mail folder ::::: */
  33.  
  34. treechildren::-moz-tree-image(folderNameCol) {
  35.   margin-right: 2px;
  36.   list-style-image: url("chrome://messenger/skin/icons/folder.png");
  37. }
  38.  
  39. treechildren::-moz-tree-image(folderNameCol, newMessages-true) {
  40.   list-style-image: url("chrome://messenger/skin/icons/mailnew.png");
  41. }
  42.  
  43. /* ..... Inbox ..... */
  44.  
  45. treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox) {
  46.   list-style-image: url("chrome://messenger/skin/icons/inbox.png");
  47. }
  48.  
  49. treechildren::-moz-tree-image(folderNameCol, specialFolder-Inbox, newMessages-true) {
  50.   list-style-image: url("chrome://messenger/skin/icons/mailnew.png");
  51. }
  52.  
  53. /* ..... Sent ..... */
  54.  
  55. treechildren::-moz-tree-image(folderNameCol, specialFolder-Sent) {
  56.   list-style-image: url("chrome://messenger/skin/icons/sent.png");
  57. }
  58.  
  59. /* ..... Unsent ..... */
  60.  
  61. treechildren::-moz-tree-image(folderNameCol, specialFolder-Unsent Messages) {
  62.   list-style-image: url("chrome://messenger/skin/icons/sent.png");
  63. }
  64.  
  65. /* ..... Drafts ..... */
  66.  
  67. treechildren::-moz-tree-image(folderNameCol, specialFolder-Drafts) {
  68.   list-style-image: url("chrome://messenger/skin/icons/drafts.png");
  69. }
  70.  
  71. /* ..... Templates ..... */
  72.  
  73. treechildren::-moz-tree-image(folderNameCol, specialFolder-Templates) {
  74.   list-style-image: url("chrome://messenger/skin/icons/templates.png");
  75. }
  76.  
  77. /* ..... Junk ..... */
  78.  
  79. treechildren::-moz-tree-image(folderNameCol, specialFolder-Junk) {
  80.   list-style-image: url("chrome://messenger/skin/icons/junkbar.png");
  81. }
  82.  
  83. /* ..... Trash ..... */
  84.  
  85. treechildren::-moz-tree-image(folderNameCol, specialFolder-Trash) {
  86.   list-style-image: url("chrome://messenger/skin/icons/folder-trash.png");
  87. }
  88.  
  89. treechildren::-moz-tree-image(folderNameCol, isServer-true) {
  90.   list-style-image: url('none');
  91. }
  92.  
  93. treechildren::-moz-tree-image(folderNameCol, biffState-NewMail, isServer-true) {
  94.   list-style-image: url('none');
  95. }
  96.  
  97. treechildren::-moz-tree-cell-text(folderNameCol, newMessages-true),
  98. treechildren::-moz-tree-cell-text(folderNameCol, specialFolder-Inbox, newMessages-true) {
  99.   font-weight: bold;
  100. }
  101.  
  102. treechildren::-moz-tree-image(folderNameCol, imapShared-true) {
  103.   list-style-image: url("chrome://messenger/skin/icons/folder.png");
  104. }
  105.  
  106.  
  107. /* ..... Server Folders ..... */
  108.  
  109.  
  110. /* ..... News Folders ..... */
  111. treechildren::-moz-tree-image(folderNameCol, serverType-nntp) {
  112.   list-style-image: url("chrome://messenger/skin/icons/news.png") !important;
  113. }
  114.  
  115. treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp) {
  116.   list-style-image: url("chrome://messenger/skin/icons/news.png") !important;
  117. }
  118.  
  119. treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-nntp, isSecure-true) {
  120.   list-style-image: url("chrome://messenger/skin/icons/news.png") !important;
  121. }
  122.  
  123. /* ::::: All Servers ::::: */
  124.  
  125. treechildren::-moz-tree-cell-text(closed, subfoldersHaveUnreadMessages-true) {
  126.   font-weight: bold;
  127. }
  128.  
  129. treechildren::-moz-tree-cell-text(folderNameCol, isServer-true),
  130. treechildren::-moz-tree-cell-text(hasUnreadMessages-true) {
  131.   font-weight: bold;
  132. }
  133.  
  134. treechildren::-moz-tree-cell-text(folderNameCol, noSelect-true) {
  135.   color: gray;
  136.   font-style: italic;
  137. }
  138.  
  139. .tree-folder-checkbox {
  140.   list-style-image: none;
  141. }
  142.  
  143. treechildren::-moz-tree-image(syncCol) {
  144.   list-style-image: url("chrome://messenger/skin/icons/dot.png");
  145. }
  146.  
  147. treechildren::-moz-tree-image(syncCol, synchronize-true) {
  148.   list-style-image: url("chrome://messenger/skin/icons/check.png");
  149. }
  150.  
  151. treechildren::-moz-tree-image(syncCol, isServer-true) {
  152.   list-style-image: none;
  153. }
  154.  
  155. #folderUnreadCol,
  156. #folderTotalCol,
  157. #folderSizeCol {
  158.   text-align: right;
  159. }
  160.  
  161. #folderNameCol [sortDirection="ascending"] {
  162.   list-style-image: none;
  163. }
  164.  
  165. #folderNameCol [sortDirection="descending"] {
  166.   list-style-image: none;
  167. }
  168.