home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / Chip_2004-04_cd1.bin / tema / mozilla / skin / ieskin-0.0.3-IE5.5-skinVersion1.5.xpi / ieskin.jar / communicator / button.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-01-05  |  3.4 KB  |  128 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. /* Modified for IE Skin by Bamm Gabriana, Jan 2004 */
  25.  
  26. /* ==== button.css ==========================================================
  27.    == Styles for special buttons in the Communicator suite.
  28.    ========================================================================== */
  29.  
  30. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  31.  
  32.  
  33. /* ::::: large toolbar buttons ::::: */
  34.  
  35. .toolbarbutton-1,
  36. .toolbarbutton-1 > .toolbarbutton-menubutton-button {
  37.   -moz-box-orient: vertical;
  38.   min-width: 0;
  39.   margin: 0;
  40.   padding: 0;
  41. }
  42.  
  43. .toolbarbutton-1 > .toolbarbutton-icon {
  44.   margin: 0;
  45.   padding: 0;
  46. }
  47.  
  48. .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
  49.   margin: 0 2px;
  50.   padding: 0;
  51. }
  52.  
  53. .toolbarbutton-1 > .toolbarbutton-text,
  54. .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text {
  55.   margin: 0px 1px 1px 1px !important;
  56.   padding: 0;
  57. }
  58.  
  59. .toolbarbutton-1[type="menu-button"] {
  60.   -moz-box-orient: horizontal;
  61. }
  62.  
  63. .toolbarbutton-1,
  64. .toolbarbutton-1 > .toolbarbutton-menubutton-button,
  65. .toolbarbutton-1[disabled="true"]:hover:active {
  66.   padding: 0px 1px 1px 0px;
  67. }
  68.  
  69. .toolbarbutton-1:hover:active,
  70. .toolbarbutton-1[open="true"],
  71. .toolbarbutton-1[buttondown="true"] > .toolbarbutton-menubutton-button {
  72.   padding: 1px 0px 0px 1px;
  73. }
  74.  
  75. .toolbarbutton-1[type="menu-button"],
  76. .toolbarbutton-1[type="menu-button"]:hover:active,
  77. .toolbarbutton-1[type="menu-button"][open="true"] {
  78.   padding: 0;
  79. }
  80.  
  81. .toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
  82.   display: none;
  83. }
  84.  
  85. /* ::::: standard toolbar buttons ::::: */
  86.  
  87. .button-toolbar {
  88.   -moz-user-focus: ignore;
  89.   -moz-border-radius: 0;
  90.   min-width: 0;
  91.   border: 1px solid transparent;
  92.   background-color: transparent;
  93. }  
  94.   
  95. .button-toolbar > .button-box  {
  96.   margin: 0;
  97.   padding: 0px 1px 1px 0px;
  98. }
  99.  
  100. .button-toolbar:hover:active > .button-box  {
  101.   padding: 1px 0px 0px 1px;
  102. }
  103.  
  104. .button-toolbar > .button-box > .button-icon,
  105. .button-toolbar > .button-box > .button-text {
  106.   margin: 0px;
  107. }
  108.  
  109. .button-toolbar[disabled="true"],
  110. .button-toolbar[disabled="true"]:hover,
  111. .button-toolbar[disabled="true"]:hover:active {
  112.   border: 1px solid transparent;
  113. }
  114.  
  115. .button-toolbar:hover {
  116.   border-top-color: ThreeDHighlight;
  117.   border-right-color: ThreeDShadow;
  118.   border-bottom-color: ThreeDShadow;
  119.   border-left-color: ThreeDHighlight;
  120. }
  121.   
  122. .button-toolbar:hover:active {
  123.   border-top-color: ThreeDShadow;
  124.   border-right-color: ThreeDHighlight;
  125.   border-bottom-color: ThreeDHighlight;
  126.   border-left-color: ThreeDShadow;
  127. }
  128.