home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 October / Gamestar_77_2005-10_dvd.iso / Programy / nsb-install-8-0.exe / chrome / fusion.jar / skin / fusion / aim / sidebarBuddyOverlay.css < prev    next >
Cascading Style Sheet File  |  2005-07-29  |  10KB  |  299 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public License
  3.  * Version 1.0 (the "NPL"); you may not use this file except in
  4.  * compliance with the NPL.  You may obtain a copy of the NPL at
  5.  * http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  8.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  9.  * for the specific language governing rights and limitations under the
  10.  * NPL.
  11.  *
  12.  * The Initial Developer of this code under the NPL is Netscape
  13.  * Communications Corporation.  Portions created by Netscape are
  14.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  15.  * Reserved.
  16.  */
  17.  
  18. /* ===== spBuddyOverlay.css ============================================
  19.    == Styles for the sidebar panel Buddy List overlay.
  20.    ===================================================================== */
  21.  
  22. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  23.  
  24. /* ::::: toolbar buttons ::::: */
  25.  
  26. #btnbuddyorgsendim[sessionMode="Aim"] {
  27.   list-style-image: url("chrome://aim/skin/btn2/sendim-sm.gif");
  28. }
  29.  
  30. #btnbuddyorgsendim[sessionMode="Aim"]:hover {
  31.   list-style-image: url("chrome://aim/skin/btn2/sendim-sm-hov.gif");
  32. }
  33.  
  34. #btnbuddyorgsendim[sessionMode="Aim"]:hover:active {
  35.   list-style-image: url("chrome://aim/skin/btn2/sendim-sm-act.gif");
  36. }
  37.  
  38. #btnbuddyorgsendim[sessionMode="Aim"][disabled="true"],
  39. #btnbuddyorgsendim[sessionMode="Aim"][disabled="true"]:hover:active {
  40.   list-style-image: url("chrome://aim/skin/btn2/sendim-sm-dis.gif");
  41. }
  42.  
  43.  
  44. #btnbuddyorgsendim[sessionMode="Icq"] {
  45.   list-style-image: url("chrome://aim/skin/btn2/sendicq-sm.gif");
  46. }
  47.  
  48. #btnbuddyorgsendim[sessionMode="Icq"]:hover {
  49.   list-style-image: url("chrome://aim/skin/btn2/sendicq-sm-hov.gif");
  50. }
  51.  
  52. #btnbuddyorgsendim[sessionMode="Icq"]:hover:active {
  53.   list-style-image: url("chrome://aim/skin/btn2/sendicq-sm-act.gif");
  54. }
  55.  
  56. #btnbuddyorgsendim[sessionMode="Icq"][disabled="true"],
  57. #btnbuddyorgsendim[sessionMode="Icq"][disabled="true"]:hover:active {
  58.   list-style-image: url("chrome://aim/skin/btn2/sendicq-sm-dis.gif");
  59. }
  60. #btnbuddyorgchat {
  61.   list-style-image: url("chrome://aim/skin/btn2/chat-sm.gif");
  62. }
  63.  
  64. #btnbuddyorgchat:hover {
  65.   list-style-image: url("chrome://aim/skin/btn2/chat-sm-hov.gif");
  66. }
  67.  
  68. #btnbuddyorgchat:hover:active {
  69.   list-style-image: url("chrome://aim/skin/btn2/chat-sm-act.gif");
  70. }
  71.  
  72. #btnbuddyorgchat[disabled="true"],
  73. #btnbuddyorgchat[disabled="true"]:hover:active {
  74.   list-style-image: url("chrome://aim/skin/btn2/chat-sm-dis.gif");
  75. }
  76.  
  77. #mailcompose {
  78.   list-style-image: url("chrome://aim/skin/btn2/mailcompose.gif");
  79. }
  80.  
  81. #mailcompose:hover {
  82.   list-style-image: url("chrome://aim/skin/btn2/mailcompose-hov.gif");
  83. }
  84.  
  85. #mailcompose:hover:active {
  86.   list-style-image: url("chrome://aim/skin/btn2/mailcompose-act.gif");
  87. }
  88.  
  89. #mailcompose[disabled="true"],
  90. #mailcompose[disabled="true"]:hover:active {
  91.   list-style-image: url("chrome://aim/skin/btn2/mailcompose-dis.gif");
  92. }
  93.  
  94. /* Tree modern changes */
  95.  
  96. treechildren:-moz-tree-cell-text(BuddiesCol, OfflineItalic) {
  97.   color: gray;
  98.   font-style: italic;
  99. }
  100.  
  101. treechildren:-moz-tree-cell-text(BuddiesCol, buddygroupname, open),
  102. treechildren:-moz-tree-cell-text(BuddiesCol, BuddyStateString-GoOnline) {
  103.   font-weight: bold;
  104. }
  105.  
  106. treechildren:-moz-tree-cell-text(BuddiesCol, BuddyStateString-GoOffline) {
  107.   font-style: italic;
  108.   color : gray;
  109. }
  110.  
  111. treechildren:-moz-tree-cell-text(BuddiesCol, BuddyStateString-AwayAndIdle),
  112. treechildren:-moz-tree-cell-text(BuddiesCol, BuddyStateString-Idle) {
  113.   color: gray;
  114. }
  115.  
  116. treechildren:-moz-tree-image(BuddiesCol, BuddyStateString-ActiveOnline),
  117. treechildren:-moz-tree-image(BuddiesCol, BuddyStateString-GoOnline),
  118. treechildren:-moz-tree-image(BuddiesCol, BuddyStateString-GoOffline),
  119. treechildren:-moz-tree-image(BuddiesCol, BuddyStateString-Idle),
  120. treechildren:-moz-tree-image(BuddiesCol, BuddyStateString-Away),
  121. treechildren:-moz-tree-image(BuddiesCol, BuddyStateString-AwayAndIdle),
  122. treechildren:-moz-tree-image(BuddiesCol, BuddyStateString-MobileUser),
  123. treechildren:-moz-tree-image(BuddiesCol, BuddyStateString-AOLUser),
  124. treechildren:-moz-tree-image(BuddiesCol, BuddyAlertStateString-BuddyAlertSet)
  125. {
  126.    padding-right: 4px;
  127. }
  128.  
  129.  
  130. treechildren:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-ActiveOnline) {
  131.   list-style-image: url("chrome://aim/skin/icons/biActive.gif");
  132. }
  133.  
  134. treechildren:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-GoOnline) {
  135.   list-style-image: url("chrome://aim/skin/icons/biGoingOnline.gif");
  136. }
  137.  
  138. treechildren:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-GoOffline) {
  139.   list-style-image: url("chrome://aim/skin/icons/biGoingOffline.gif");
  140. }
  141.  
  142. treechildren:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-Idle) {
  143.   list-style-image: url("chrome://aim/skin/icons/biIdle.gif");
  144. }
  145.  
  146. treechildren:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-Away) {
  147.   list-style-image: url("chrome://aim/skin/icons/biAway.gif");
  148. }
  149.  
  150. treechildren:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-AwayAndIdle) {
  151.   list-style-image: url("chrome://aim/skin/icons/biAway.gif");
  152. }
  153.  
  154. treechildren:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-MobileUser) {
  155.   list-style-image: url("chrome://aim/skin/icons/biMobile.gif");
  156. }
  157.  
  158. treechildren:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-AOLUser) {
  159.   list-style-image: url("chrome://aim/skin/icons/biAOLUser.gif");
  160. }
  161.  
  162. treechildren:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyAlertStateString-BuddyAlertSet) {
  163.   list-style-image: url("chrome://aim/skin/icons/biBuddyAlertSet.gif");
  164. }
  165.  
  166. treechildren:-moz-tree-image(BuddiesCol,IcqUser-true, BuddyStateString-ActiveOnline) {
  167.   list-style-image: url("chrome://aim/skin/icons/biIcqActive.gif");
  168. }
  169.  
  170. treechildren:-moz-tree-image(BuddiesCol, IcqUser-true, BuddyStateString-Away) {
  171.   list-style-image: url("chrome://aim/skin/icons/biIcqAway.gif");
  172. }
  173.  
  174. treechildren:-moz-tree-image(BuddiesCol, IcqUser-true, BuddyStateString-Idle) {
  175.   list-style-image: url("chrome://aim/skin/icons/biIcqAway.gif");
  176. }
  177.  
  178. treechildren:-moz-tree-image(BuddiesCol, IcqUser-true, BuddyStateString-GoOffline) {
  179.   color: gray;
  180.   list-style-image: url("chrome://aim/skin/icons/biIcqOffline.gif");
  181. }
  182.  
  183. treechildren:-moz-tree-line {
  184.   visibility: hidden;
  185. }
  186.  
  187. treechildren:-moz-tree-indentation {
  188.   width: 4px;
  189. }
  190.  
  191. /* Auth Awaiting*/
  192.  
  193. .authgroup-treeitem, .authgroup-name, .authbuddy-treeitem {
  194.     color: gray;
  195. }
  196.  
  197. .authgroup-name {
  198.   visibility:hidden;
  199. }
  200.  
  201. .Hide-in-AimTest{
  202.   display:none!important;
  203. }
  204.  
  205. treechildren[sessionMode="Aim"]:-moz-tree-cell-text(BuddiesCol, authgroup-name) {
  206.  display : none;
  207. }
  208.  
  209. /* ICQ rules */
  210.  
  211. treechildren[sessionMode="Icq"]:-moz-tree-image(BuddiesCol, BuddyStateString-GoOnline) {
  212.   list-style-image: url("chrome://aim/skin/icons/biIcqActive.gif");
  213. }
  214.  
  215. treechildren[sessionMode="Icq"]:-moz-tree-cell-text(BuddiesCol, BuddyStateString-GoOnline) {
  216.   font-weight: bold;
  217. }
  218.  
  219. treechildren[sessionMode="Icq"]:-moz-tree-cell-text(BuddiesCol, BuddyStateString-GoOffline) {
  220.   font-style: italic;
  221.   color : gray;
  222. }
  223.  
  224. treechildren[sessionMode="Icq"]:-moz-tree-image(BuddiesCol, BuddyStateString-ActiveOnline) {
  225.   list-style-image: url("chrome://aim/skin/icons/biIcqActive.gif");
  226. }
  227.  
  228. treechildren[sessionMode="Icq"]:-moz-tree-image(BuddiesCol, BuddyStateString-Away) {
  229.   list-style-image: url("chrome://aim/skin/icons/biIcqAway.gif");
  230. }
  231.  
  232. treechildren[sessionMode="Icq"]:-moz-tree-image(BuddiesCol, BuddyStateString-GoOffline) {
  233.   list-style-image: url("chrome://aim/skin/icons/biIcqOffline.gif");
  234. }
  235.  
  236. treechildren[sessionMode="Icq"]:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-ActiveOnline) {
  237.   list-style-image: url("chrome://aim/skin/icons/biActive.gif");
  238. }
  239.  
  240. treechildren[sessionMode="Icq"]:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-Away) {
  241.   list-style-image: url("chrome://aim/skin/icons/biAway.gif");
  242. }
  243.  
  244. treechildren[sessionMode="Icq"]:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-Idle) {
  245.   list-style-image: url("chrome://aim/skin/icons/biIdle.gif");
  246. }
  247.  
  248. treechildren[sessionMode="Icq"]:-moz-tree-image(BuddiesCol, IcqUser-false, BuddyStateString-GoOffline) {
  249.   list-style-image: url("chrome://aim/skin/icons/biIdle.gif");
  250. }
  251.  
  252. .Hide-in-Icq[sessionMode="Icq"] {
  253.   display:none;
  254. }
  255.  
  256. .Hide-in-Aim[sessionMode="Aim"] {
  257.   display:none;
  258. }
  259.  
  260. treechildren[sessionMode="Icq"]:-moz-tree-cell-text(BuddiesCol, authgroup-item){
  261.   color:gray !important;
  262. }
  263.  
  264. /* Mail columns
  265. treechildren:-moz-tree-image(NewMailCol, EmailState-NoEmailAddress) {
  266.   list-style-image: url("chrome://aim/skin/btn2/question.gif");
  267. }
  268.  
  269. treechildren:-moz-tree-image(NewMailCol, EmailState-HasNoEmail) {
  270.   list-style-image: none;
  271.   list-style-image: url("chrome://aim/skin/icons/biBuddyAlertSet.gif");
  272. }
  273.  
  274. treechildren:-moz-tree-image(NewMailCol, EmailState-HasEmail) {
  275.   list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
  276. } */
  277.  
  278. treechildren:-moz-tree-image(NewMailCol, EmailState-HasNewEmail) {
  279.   list-style-image: url("chrome://messenger/skin/icons/message-mail-new.gif");
  280. }
  281.  
  282. treechildren:-moz-tree-twisty(NewMailCol) {
  283.   width: 0px;
  284.   list-style-image: none;
  285. }
  286.  
  287. treecol.NewMailColumnHeader {
  288.   list-style-image: url("chrome://messenger/skin/icons/message-mail.gif");
  289. }
  290.  
  291. #BuddiesCol[session="Icq"] {
  292.   margin: 0px;
  293.   padding: 0px;
  294.   min-height: 0px;
  295.   height: 0px;
  296.   max-height: 0px;
  297. }
  298.  
  299.