home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd1.bin / tema / mozilla / skin / MozCurveBlue-1.4-0.99.jar / communicator / button.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2003-12-06  |  3.2 KB  |  121 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.   -moz-box-orient: vertical;
  35. }
  36.  
  37. .toolbarbutton-1[type="menu-button"] {
  38.   -moz-box-orient: horizontal;
  39. }
  40.  
  41. .toolbarbutton-1,
  42. .toolbarbutton-1 > .toolbarbutton-menubutton-button,
  43. .toolbarbutton-1[disabled="true"]:hover:active {
  44.   padding: 2px 7px 2px 6px;
  45. }
  46.  
  47. .toolbarbutton-1:hover:active,
  48. .toolbarbutton-1[open="true"],
  49. .toolbarbutton-1[buttondown="true"] > .toolbarbutton-menubutton-button {
  50.   padding: 3px 6px 1px 7px;
  51. }
  52.  
  53. .toolbarbutton-1[type="menu-button"],
  54. .toolbarbutton-1[type="menu-button"]:hover:active,
  55. .toolbarbutton-1[type="menu-button"][open="true"] {
  56.   padding: 0;
  57. }
  58.  
  59. .toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
  60.   display: none;
  61. }
  62.  
  63. .toolbarbutton-1[buttonstyle="pictures"],
  64. .toolbarbutton-menubutton-button[buttonstyle="pictures"] {
  65.   min-width: 0px;
  66. }
  67.  
  68. .toolbarbutton-text[buttonstyle="pictures"],
  69. .toolbarbutton-icon[buttonstyle="text"] {
  70.   display: none;
  71. }
  72.  
  73. /* ::::: standard toolbar buttons ::::: */
  74.  
  75. .button-toolbar {
  76.   -moz-user-focus: ignore;
  77.   border: 1px solid;
  78.   -moz-border-radius: 0;
  79.   min-width: 0;
  80.   background-color: transparent;
  81. }  
  82.   
  83. .button-toolbar > .button-box  {
  84.   margin: 0;
  85.   padding: 1px 2px;
  86. }
  87.  
  88. .button-toolbar:hover:active > .button-box  {
  89.   padding: 2px 1px 0px 3px;
  90. }
  91.  
  92. .button-toolbar > .button-box > .button-icon,
  93. .button-toolbar > .button-box > .button-text {
  94.   margin-right: 2px;
  95. }  
  96.  
  97. .button-toolbar, 
  98. .button-toolbar[disabled="true"]:hover,
  99. .button-toolbar[disabled="true"]:hover:active {
  100.   border: 1px solid;
  101.   -moz-border-top-colors: transparent;
  102.   -moz-border-right-colors: transparent;
  103.   -moz-border-bottom-colors: transparent;
  104.   -moz-border-left-colors: transparent;
  105. }
  106.   
  107. .button-toolbar:hover {
  108.   -moz-border-top-colors: ThreeDHighlight;
  109.   -moz-border-right-colors: ThreeDShadow;
  110.   -moz-border-bottom-colors: ThreeDShadow;
  111.   -moz-border-left-colors: ThreeDHighlight;
  112. }
  113.   
  114. .button-toolbar:hover:active {
  115.   -moz-border-top-colors: ThreeDShadow;
  116.   -moz-border-right-colors: ThreeDHighlight;
  117.   -moz-border-bottom-colors: ThreeDHighlight;
  118.   -moz-border-left-colors: ThreeDShadow;
  119. }
  120.  
  121.