home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Complet / thunderbird / chrome / qute.jar / skin / classic / communicator / button.css next >
Encoding:
Cascading Style Sheet File  |  2002-09-24  |  3.5 KB  |  122 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-1999 Netscape Communications Corporation. All
  18.  * Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *
  22.  */
  23.  
  24. /* ==== button.css ==========================================================
  25.    == Styles for special buttons in the Communicator suite.
  26.    ========================================================================== */
  27.  
  28. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  29.  
  30. /* ::::: large toolbar buttons ::::: */
  31.  
  32. .toolbarbutton-1,
  33. .toolbarbutton-1 > .toolbarbutton-menubutton-button {
  34.   min-width: 47px;
  35.   -moz-box-orient: vertical;
  36. }
  37.  
  38. .toolbarbutton-1[type="menu-button"] {
  39.   -moz-box-orient: horizontal;
  40. }
  41.  
  42. .toolbarbutton-1,
  43. .toolbarbutton-1 > .toolbarbutton-menubutton-button,
  44. .toolbarbutton-1[disabled="true"]:hover:active {
  45.   padding: 2px 7px 2px 6px;
  46. }
  47.  
  48. .toolbarbutton-1:hover:active,
  49. .toolbarbutton-1[open="true"],
  50. .toolbarbutton-1[buttondown="true"] > .toolbarbutton-menubutton-button {
  51.   padding: 3px 6px 1px 7px;
  52. }
  53.  
  54. .toolbarbutton-1[type="menu-button"],
  55. .toolbarbutton-1[type="menu-button"]:hover:active,
  56. .toolbarbutton-1[type="menu-button"][open="true"] {
  57.   padding: 0;
  58. }
  59.  
  60. .toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
  61.   display: none;
  62. }
  63.  
  64. .toolbarbutton-1[buttonstyle="pictures"],
  65. .toolbarbutton-menubutton-button[buttonstyle="pictures"] {
  66.   min-width: 0px;
  67. }
  68.  
  69. .toolbarbutton-text[buttonstyle="pictures"],
  70. .toolbarbutton-icon[buttonstyle="text"] {
  71.   display: none;
  72. }
  73.  
  74. /* ::::: standard toolbar buttons ::::: */
  75.  
  76. .button-toolbar {
  77.   -moz-user-focus: ignore;
  78.   border: 2px solid;
  79.   -moz-border-radius: 0;
  80.   min-width: 0;
  81.   background-color: transparent;
  82. }  
  83.   
  84. .button-toolbar > .button-box  {
  85.   margin: 0;
  86.   padding: 1px 2px;
  87. }
  88.  
  89. .button-toolbar:hover:active > .button-box  {
  90.   padding: 2px 1px 0px 3px;
  91. }
  92.  
  93. .button-toolbar > .button-box > .button-icon,
  94. .button-toolbar > .button-box > .button-text {
  95.   margin-right: 2px;
  96. }  
  97.  
  98. .button-toolbar, 
  99. .button-toolbar[disabled="true"]:hover,
  100. .button-toolbar[disabled="true"]:hover:active {
  101.   border: 2px solid;
  102.   -moz-border-top-colors: transparent ThreeDHighlight;
  103.   -moz-border-right-colors: transparent ThreeDShadow;
  104.   -moz-border-bottom-colors: transparent ThreeDShadow;
  105.   -moz-border-left-colors: transparent ThreeDHighlight;
  106. }
  107.   
  108. .button-toolbar:hover {
  109.   -moz-border-top-colors: ThreeDDarkShadow ThreeDHighlight;
  110.   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  111.   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
  112.   -moz-border-left-colors: ThreeDDarkShadow ThreeDHighlight;
  113. }
  114.   
  115. .button-toolbar:hover:active {
  116.   -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
  117.   -moz-border-right-colors: ThreeDDarkShadow ThreeDHighlight;
  118.   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDHighlight;
  119.   -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
  120. }
  121.  
  122.