home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / chrome / qute.jar / skin / classic / messenger / addressbook / addressbook.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-12-14  |  10.5 KB  |  389 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.  */
  23.  
  24. /* ===== addressbook.css ================================================
  25.   == Styles for the main Address Book window.
  26.   ======================================================================= */
  27.  
  28. @import url("chrome://messenger/skin/");
  29.  
  30. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  31. @namespace html url("http://www.w3.org/1999/xhtml");
  32.  
  33. /* ::::: tools menu icon ::::: */
  34.  
  35. .icon-mail16 {
  36.   list-style-image: url("chrome://messenger/skin/icons/message-mail.png");
  37. }
  38.  
  39. /* ::::: primary toolbar buttons ::::: */
  40.  
  41. .toolbarbutton-1 {
  42.   -moz-box-orient: vertical;
  43.   min-width: 0px;
  44.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar.png");
  45. }
  46.  
  47. .toolbarbutton-1[type="menu-button"]
  48. {
  49.   min-width: 57px;
  50. }
  51.  
  52. toolbar[mode="icons"] .toolbarbutton-text {
  53.   display: none;
  54. }
  55.  
  56. toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
  57. toolbar[mode="text"] .toolbarbutton-icon {
  58.   display: none;
  59. }
  60.  
  61. toolbar[mode="text"] .toolbarbutton-text {
  62.   padding: 0 !important;
  63.   margin: 3px 5px !important;
  64. }
  65.  
  66. #button-newcard {
  67.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar.png");
  68.   -moz-image-region: rect(0px 30px 30px 0px);
  69. }
  70.  
  71. #button-newcard:hover {
  72.   -moz-image-region: rect(30px 30px 60px 0px);
  73.  
  74. #button-newcard:hover:active {
  75.   -moz-image-region: rect(30px 30px 60px 0px);
  76. }
  77.  
  78. #button-newcard[disabled="true"] {
  79.   -moz-image-region: rect(60px 30px 90px 0px) !important;
  80.  
  81. #button-newlist {
  82.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar.png");
  83.   -moz-image-region: rect(0px 60px 30px 30px);
  84. }
  85.  
  86. #button-newlist:hover {
  87.   -moz-image-region: rect(30px 60px 60px 30px);
  88.  
  89. #button-newlist[disabled="true"] {
  90.   -moz-image-region: rect(60px 60px 90px 30px) !important;
  91.  
  92. #button-editcard {
  93.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar.png");
  94.   -moz-image-region: rect(0px 90px 30px 60px);
  95. }
  96.  
  97. #button-editcard:hover {
  98.   -moz-image-region: rect(30px 90px 60px 60px);
  99. }
  100.  
  101. #button-editcard[disabled="true"] {
  102.   -moz-image-region: rect(60px 90px 90px 60px) !important;
  103. }
  104.  
  105. #button-newmessage {
  106.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar.png");
  107.   -moz-image-region: rect(0px 120px 30px 90px);
  108. }
  109.  
  110. #button-newmessage:hover {
  111.    -moz-image-region: rect(30px 120px 60px 90px);
  112.  
  113. #button-newmessage[disabled] {
  114.   -moz-image-region: rect(60px 120px 90px 90px) !important;
  115. }
  116.  
  117. #button-newim {
  118.  list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar.png");
  119.  -moz-image-region: rect(0px 150px 30px 120px);
  120. }
  121.  
  122. #button-newim:hover {
  123.  -moz-image-region: rect(30px 150px 60px 120px);
  124.  
  125. #button-newim[disabled] {
  126.  -moz-image-region: rect(60px 150px 90px 120px) !important;
  127.  
  128. #button-abdelete {
  129.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar.png");
  130.   -moz-image-region: rect(0px 180px 30px 150px);
  131. }
  132.  
  133. #button-abdelete:hover {
  134.   -moz-image-region: rect(30px 180px 60px 150px);
  135.  
  136. #button-abdelete[disabled] {
  137.   -moz-image-region: rect(60px 180px 90px 150px) !important;
  138. }
  139.  
  140. /* ::::: small primary toolbar buttons ::::: */
  141.  
  142. toolbar[iconsize="small"] .toolbarbutton-1 {
  143.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar-small.png");
  144. }
  145.  
  146. toolbar[iconsize="small"] #button-newcard {
  147.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar-small.png");
  148.   -moz-image-region: rect(0px 20px 20px 0px);
  149. }
  150.  
  151. toolbar[iconsize="small"] #button-newcard:hover {
  152.   -moz-image-region: rect(20px 20px 40px 0px);
  153.  
  154. toolbar[iconsize="small"] #button-newcard[disabled] {
  155.   -moz-image-region: rect(40px 20px 60px 0px) !important;
  156.  
  157. toolbar[iconsize="small"] #button-newlist {
  158.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar-small.png");
  159.   -moz-image-region: rect(0px 40px 20px 20px);
  160. }
  161.  
  162. toolbar[iconsize="small"] #button-newlist:hover {
  163.   -moz-image-region: rect(20px 40px 40px 20px);
  164.  
  165. toolbar[iconsize="small"] #button-newlist[disabled] {
  166.    -moz-image-region: rect(40px 40px 60px 20px) !important;
  167.  
  168. toolbar[iconsize="small"] #button-editcard {
  169.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar-small.png");
  170.   -moz-image-region: rect(0px 60px 20px 40px);
  171. }
  172.  
  173. toolbar[iconsize="small"] #button-editcard:hover {
  174.   -moz-image-region: rect(20px 60px 40px 40px);
  175.  
  176. toolbar[iconsize="small"] #button-editcard[disabled="true"] {
  177.   -moz-image-region: rect(40px 60px 60px 40px) !important;
  178.  
  179. toolbar[iconsize="small"] #button-newmessage {
  180.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar-small.png");
  181.   -moz-image-region: rect(0px 80px 20px 60px);
  182. }
  183.  
  184. toolbar[iconsize="small"] #button-newmessage:hover {
  185.   -moz-image-region: rect(20px 80px 40px 60px);
  186.  
  187. toolbar[iconsize="small"] #button-newmessage[disabled] {
  188.   -moz-image-region: rect(40px 80px 60px 60px) !important;
  189.  
  190. toolbar[iconsize="small"] #button-newim {
  191.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar-small.png");
  192.   -moz-image-region: rect(0px 100px 20px 80px);
  193. }
  194.  
  195. toolbar[iconsize="small"] #button-newim:hover {
  196.   -moz-image-region: rect(20px 100px 40px 80px);
  197.  
  198. toolbar[iconsize="small"] #button-newim[disabled] {
  199.   -moz-image-region: rect(40px 100px 60px 80px) !important;
  200.  
  201. toolbar[iconsize="small"] #button-abdelete {
  202.    list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbook-toolbar-small.png");
  203.   -moz-image-region: rect(0px 120px 20px 100px);
  204. }
  205.  
  206. toolbar[iconsize="small"] #button-abdelete:hover {
  207.   -moz-image-region: rect(20px 120px 40px 100px);
  208.  
  209. toolbar[iconsize="small"] #button-abdelete[disabled] {
  210.   -moz-image-region: rect(40px 120px 60px 100px) !important;
  211.  
  212. toolbar[iconsize="small"] .toolbarbutton-1 {
  213.   padding: 2px;
  214. }
  215.  
  216. toolbar[iconsize="small"] .toolbarbutton-1:hover:active,
  217. toolbar[iconsize="small"] .toolbarbutton-1[open="true"] {
  218.   padding: 3px 1px 1px 3px;
  219. }
  220.  
  221. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"],
  222. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover,
  223. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover:active,
  224. toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] {
  225.   padding: 2px;
  226. }
  227.  
  228. toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] {
  229.   padding: 3px 1px 1px 3px !important;
  230. }
  231.  
  232. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"],
  233. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover,
  234. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active,
  235. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"],
  236. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"],
  237. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover,
  238. toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover:active {
  239.   padding: 0;
  240. }
  241.  
  242. /* ::::: directory pane icons ::::: */
  243.  
  244. treechildren::-moz-tree-image(DirCol) {
  245.   margin-right: 2px;
  246.   list-style-image: url("chrome://messenger/skin/addressbook/icons/addrbook.png");
  247. }
  248.  
  249. treechildren::-moz-tree-image(DirCol, IsMailList-true) {
  250.   list-style-image: url("chrome://messenger/skin/addressbook/icons/ablist.png");
  251. }
  252.  
  253. treechildren::-moz-tree-image(DirCol, IsRemote-true) {
  254.   list-style-image: url("chrome://messenger/skin/addressbook/icons/remote-addrbook.gif");
  255. }
  256.  
  257. treechildren::-moz-tree-image(DirCol, IsRemote-true, IsSecure-true) {
  258.   list-style-image: url("chrome://messenger/skin/addressbook/icons/secure-remote-addrbook.gif");
  259. }
  260.  
  261. #dirTree [sortDirection="ascending"],
  262. #dirTree [sortDirection="descending"] {
  263.   list-style-image: none;
  264. }
  265.  
  266. /* ::::: splitters ::::: */
  267.  
  268. #dirTree-splitter,
  269. #results-splitter {
  270.   border: none;
  271.   min-height: 5px;
  272. }
  273.  
  274. /* ::::: results pane ::::: */
  275.  
  276. treechildren::-moz-tree-image(GeneratedName) {
  277.   margin-right: 2px;
  278.   list-style-image: url("chrome://messenger/skin/addressbook/icons/abcard.png");
  279. }
  280.  
  281. treechildren::-moz-tree-image(GeneratedName, MailList) {
  282.   margin-right: 2px;
  283.   list-style-image: url("chrome://messenger/skin/addressbook/icons/ablist.png");
  284. }
  285.  
  286. /* ::::: card view pane ::::: */
  287.  
  288. #CardViewOuterBox {
  289.   border: 1px solid ThreeDShadow;
  290. }
  291.  
  292. #CardViewBox {
  293.   -moz-user-focus: ignore;
  294.   overflow: auto;
  295.   min-width: 150px;
  296.   background-color: #FFFFFF;
  297. }
  298.  
  299. #CardViewInnerBox {
  300.   margin-top: 2px;
  301.   margin-bottom: 2px;
  302.   padding-left: 8px;
  303.   padding-right: 8px;
  304. }
  305.  
  306. #CardTitle {
  307.   font-size: 150%;
  308.   font-weight: bold;
  309.   border-bottom: 2px solid black;
  310.   min-width: 120px;
  311.   margin: 0px;
  312. }
  313.  
  314. .cardViewGroup {
  315.   margin-top: 8px;
  316.   padding-bottom: 5px;
  317.   min-width: 50px;
  318. }
  319.  
  320. .CardViewHeading {
  321.   padding: 1px;
  322.   padding-left: 5px;
  323.   background-color: Highlight;
  324.   color: HighlightText;
  325.   font-weight: bold;
  326.   min-width: 30px;
  327. }
  328.  
  329. #cvBuddyIcon {
  330.   padding-left: 20px;
  331.   padding-top: 2px;
  332. }
  333.  
  334. .CardViewText,
  335. .CardViewLink {
  336.   padding-left: 20px;
  337.   padding-right: 2px;
  338.   min-width: 30px;
  339.   margin: 0px;
  340. }
  341.  
  342. .CardViewLink {
  343.   color: blue;
  344.   text-decoration: underline;
  345.   cursor: pointer;
  346. }
  347.  
  348. #cvHomeMapIt, #cvWorkMapIt {
  349.   margin-bottom: 0px;
  350. }
  351.  
  352. html|a {
  353.   padding-left: 0px;
  354.   padding-right: 2px;
  355.   border: none !important;
  356. }
  357.  
  358. html|p {
  359.   border: none !important;
  360. }
  361.  
  362. /* ::::: Search Bar  ::::: */
  363.  
  364. #searchBox {
  365.   border-top: 1px solid transparent;
  366.   border-right: 1px solid ThreeDShadow;
  367.   border-bottom: 1px solid transparent;
  368. }
  369.