home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd1.bin / tema / mozilla / skin / MozCurveBlue-1.4-0.99.jar / messenger / addressbook / addressbook.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-12-06  |  4.9 KB  |  236 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.  
  32. /* ::::: primary toolbar buttons ::::: */
  33.  
  34. .toolbarbutton-1 {
  35.   list-style-image: url("chrome://messenger/skin/icons/btn1.png");
  36. }
  37.  
  38. #button-newcard {
  39.   -moz-image-region: rect(360px 24px 384px 0px);
  40. }
  41.  
  42. #button-newcard:hover {
  43.   -moz-image-region: rect(360px 48px 384px 24px);
  44.  
  45. #button-newcard:hover:active {
  46.   -moz-image-region: rect(360px 72px 384px 48px);
  47. }
  48.  
  49. #button-newcard[disabled] {
  50.   -moz-image-region: rect(360px 96px 384px 72px) !important;
  51.  
  52. #button-newlist {
  53.   -moz-image-region: rect(384px 24px 408px 0px);
  54. }
  55.  
  56. #button-newlist:hover {
  57.   -moz-image-region: rect(384px 48px 408px 24px);
  58.  
  59. #button-newlist:hover:active {
  60.   -moz-image-region: rect(384px 72px 408px 48px);
  61. }
  62.  
  63. #button-newlist[disabled] {
  64.   -moz-image-region: rect(384px 96px 408px 72px) !important;
  65.  
  66. #button-editcard {
  67.   -moz-image-region: rect(408px 24px 432px 0px);
  68. }
  69.  
  70. #button-editcard:hover {
  71.   -moz-image-region: rect(408px 48px 432px 24px);
  72.  
  73. #button-editcard:hover:active {
  74.   -moz-image-region: rect(408px 72px 432px 48px);
  75. }
  76.  
  77. #button-editcard[disabled] {
  78.   -moz-image-region: rect(408px 96px 432px 72px) !important;
  79.  
  80. #button-newmessage {
  81.   -moz-image-region: rect(24px 24px 48px 0px);
  82. }
  83.  
  84. #button-newmessage:hover {
  85.   -moz-image-region: rect(24px 48px 48px 24px);
  86.  
  87. #button-newmessage:hover:active {
  88.   -moz-image-region: rect(24px 72px 48px 48px);
  89.  
  90. #button-newmessage[disabled] {
  91.   -moz-image-region: rect(24px 96px 48px 72px) !important;
  92. }
  93.  
  94. #button-newim {
  95.  list-style-image: url("chrome://messenger/skin/addressbook/icons/im.png");
  96. }
  97.  
  98. #button-newim:hover {
  99.  list-style-image: url("chrome://messenger/skin/addressbook/icons/im-hov.png");
  100.  
  101. button-newim:hover:active {
  102.  list-style-image: url("chrome://messenger/skin/addressbook/icons/im-act.png");
  103.  
  104. #button-newim[disabled] {
  105.  list-style-image: url("chrome://messenger/skin/addressbook/icons/im-dis.png");
  106.  
  107. #button-delete {
  108.   -moz-image-region: rect(216px 24px 240px 0px);
  109. }
  110.  
  111. #button-delete:hover {
  112.   -moz-image-region: rect(216px 48px 240px 24px);
  113.  
  114. #button-delete:hover:active {
  115.   -moz-image-region: rect(216px 72px 240px 48px);
  116. }
  117.  
  118. #button-delete[disabled] {
  119.   -moz-image-region: rect(216px 96px 240px 72px) !important;
  120. }
  121.  
  122. /* CardView styles - used in the Card View Pane */
  123.  
  124. #CardViewOuterBox {
  125.   border-left: 1px solid ThreeDShadow;
  126.   border-top: 1px solid ThreeDShadow;
  127.   border-right: 1px solid ThreeDHighlight;
  128. }
  129.  
  130. #CardViewBox {
  131.   -moz-user-focus: ignore;
  132.   overflow: auto;
  133.   min-width: 150px;
  134.   border-left: 1px solid ThreeDDarkShadow;
  135.   border-top: 1px solid ThreeDDarkShadow;
  136.   border-bottom: 1px solid ThreeDLightShadow;
  137.   border-right: 1px solid ThreeDLightShadow;
  138.   background-color: #FFFFFF;
  139. }
  140.  
  141. #CardViewInnerBox {
  142.   margin-top: 2px;
  143.   margin-bottom: 2px;
  144.   padding-left: 8px;
  145.   padding-right: 8px;
  146. }
  147.  
  148. #CardTitle {
  149.   font-size: 150%;
  150.   font-weight: bold;
  151.   border-bottom: 2px solid black;
  152.   min-width: 120px;
  153.   margin: 0px;
  154. }
  155.  
  156. .cardViewGroup {
  157.   margin-top: 8px;
  158.   padding-bottom: 5px;
  159.   min-width: 50px;
  160. }
  161.  
  162. .CardViewHeading {
  163.   padding: 1px;
  164.   padding-left: 5px;
  165.   margin: 0px 0px 1px 0px;
  166.   background-color: #CCCCFF;
  167.   color: black;
  168.   font-weight: bold;
  169.   min-width: 30px;
  170. }
  171.  
  172. #cvBuddyIcon {
  173.   padding-left: 20px;
  174.   padding-top: 2px;
  175. }
  176.  
  177. .CardViewText,
  178. .CardViewLink {
  179.   padding-left: 20px;
  180.   padding-right: 2px;
  181.   min-width: 30px;
  182.   margin: 0px;
  183. }
  184.  
  185. .CardViewLink {
  186.   color: blue;
  187.   text-decoration: underline;
  188.   cursor: pointer;
  189. }
  190.  
  191.  
  192. #cvHomeMapIt, #cvWorkMapIt {
  193.   margin-bottom: 0px;
  194. }
  195.  
  196. html|a {
  197.   padding-left: 0px;
  198.   padding-right: 2px;
  199.   border: none !important;
  200. }
  201.  
  202. html|p {
  203.   border: none !important;
  204. }
  205.  
  206. /* ::::: border adjustments ::::: */
  207.  
  208. #dirTree,
  209. #resultsTree { 
  210.   border: none;
  211.   margin: 0px 0px 0px 0px !important;
  212. }
  213.  
  214. #resultsTree {
  215.   border-left: 1px solid ThreeDShadow;
  216. }
  217.  
  218. /* ::::: Search Bar  ::::: */
  219.  
  220. #searchBox {
  221.   border-top: 1px solid ThreeDHighlight;
  222.   border-bottom: 1px solid ThreeDShadow;
  223. }
  224.