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 / global / menu.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-01-05  |  5.7 KB  |  232 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.  *   Joe Hewitt (hewitt@netscape.com)
  22.  *
  23.  */
  24.  
  25. /* Modified for IE Skin by Bamm Gabriana, Jan 2004 */
  26.  
  27. /* ===== menu.css =======================================================
  28.   == Styles used by XUL menu-related elements.
  29.   ======================================================================= */
  30.  
  31. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  32.  
  33. /* ::::: menu/menuitem ::::: */
  34.  
  35. menu,
  36. menuitem {
  37.   -moz-box-align: center;
  38.   list-style-image: none;
  39.   color: MenuText;
  40.   font: menu;
  41. }
  42.  
  43. menuitem[default="true"] {
  44.   font-weight: bold;
  45. }  
  46.   
  47. menu[disabled="true"],
  48. menuitem[disabled="true"],
  49. menu[_moz-menuactive="true"][disabled="true"],
  50. menuitem[_moz-menuactive="true"][disabled="true"] {
  51.   color: GrayText;
  52. }
  53.  
  54. /* ..... internal content .... */
  55.  
  56. .menu-text,
  57. .menu-iconic-left,
  58. .menu-iconic-text {
  59.   margin: 0px 2px 0px 0px !important;
  60.   color: inherit;
  61. }
  62.  
  63. .menu-text {
  64.   margin-left: 19px !important;
  65.   font-weight: inherit;
  66. }
  67.  
  68. .menu-accel,
  69. .menu-iconic-accel {
  70.   margin: 0px 2px 0px 7px !important;
  71.   padding-right: 14px;
  72.   color: inherit;
  73. }
  74.  
  75. .menu-iconic-icon {
  76.   width: 16px;
  77.   height: 16px;
  78.   list-style-image: inherit;
  79.   margin-right: 1px;
  80. }
  81.  
  82. /* ..... menu arrow box ..... */
  83.  
  84. .menu-right {
  85.   margin: 0px 0px 0px 6px;
  86.   width: 8px;
  87.   list-style-image: url("chrome://global/skin/menu/menu-arrow.gif");
  88. }
  89.  
  90. .menu-right[_moz-menuactive="true"] {
  91.   list-style-image: url("chrome://global/skin/menu/menu-arrow-hover.gif");
  92. }
  93.  
  94. .menu-right[disabled="true"] {
  95.   list-style-image: url("chrome://global/skin/menu/menu-arrow-disabled.gif") !important;
  96. }
  97.  
  98. /* ::::: menu/menuitems in menubar ::::: */
  99.  
  100. menubar > menu {
  101.   border: 1px solid transparent;
  102.   padding: 1px 5px 1px 7px;
  103.   min-height: 22px;
  104. }
  105.  
  106. menubar > menu[_moz-menuactive="true"] {
  107.   border-top: 1px solid ThreeDHighlight;
  108.   border-right: 1px solid ThreeDShadow;
  109.   border-bottom: 1px solid ThreeDShadow;
  110.   border-left: 1px solid ThreeDHighlight;
  111.   padding: 1px 5px 1px 7px;
  112. }
  113.  
  114. menubar > menu[_moz-menuactive="true"][open="true"] {
  115.   border-top: 1px solid ThreeDShadow;
  116.   border-right: 1px solid ThreeDHighlight;
  117.   border-bottom: 1px solid ThreeDHighlight;
  118.   border-left: 1px solid ThreeDShadow;
  119.   padding: 2px 4px 0px 8px;
  120. }
  121.  
  122. /* ..... internal content .... */
  123.  
  124. .menubar-left {
  125.   margin: 0px 2px 0px 0px;
  126.   color: inherit;
  127. }
  128.  
  129. .menubar-text {
  130.   margin: 0px 2px 2px 0px !important;
  131.   color: inherit;
  132. }
  133.  
  134. /* ::::: menu/menuitems in popups ::::: */
  135.  
  136. menupopup > menu,
  137. popup > menu,
  138. menupopup > menuitem,
  139. popup > menuitem {
  140.   padding: 2px;
  141.   max-width: 42em;
  142. }
  143.  
  144. menupopup > menu[_moz-menuactive="true"],
  145. menupopup > menuitem[_moz-menuactive="true"],
  146. popup > menu[_moz-menuactive="true"],
  147. popup > menuitem[_moz-menuactive="true"] {
  148.   background-color: Highlight;
  149.   color: HighlightText;
  150. }
  151.  
  152. /* ::::: menu/menuitems in menulist popups ::::: */
  153.  
  154. .menulist-menupopup > menuitem,
  155. menulist > menupopup > menuitem,
  156. .menulist-menupopup > menu,
  157. menulist > menupopup > menu {
  158.   border: 1px solid transparent;
  159.   padding: 1px 16px 1px 5px;
  160.   max-width: none;
  161.   font: inherit;
  162.   color: -moz-FieldText
  163. }
  164.     
  165. .menulist-menupopup > menuitem > .menu-iconic-left,
  166. menulist > menupopup > menuitem > .menu-iconic-left,
  167. .menulist-menupopup > menu > .menu-iconic-left,
  168. menulist > menupopup > menu > .menu-iconic-left {
  169.   display: none;
  170. }
  171.     
  172. menulist > menupopup > menuitem[_moz-menuactive="true"] {
  173.   border: 1px dotted #F5DB95;
  174. }
  175.  
  176. /* ::::: checkbox menuitem ::::: */
  177.  
  178. menuitem[checked="true"] {
  179.   list-style-image: url("chrome://global/skin/menu/menu-check.gif");
  180. }
  181.  
  182. menuitem[checked="true"][disabled="true"] {
  183.   list-style-image: url("chrome://global/skin/menu/menu-check-disabled.gif");
  184. }
  185.  
  186. menuitem[checked="true"][_moz-menuactive="true"] {
  187.   list-style-image: url("chrome://global/skin/menu/menu-check-hover.gif");
  188. }
  189.  
  190. /* ::::: radio menuitem ::::: */
  191.  
  192. menuitem[checked="true"][type="radio"] {
  193.   list-style-image: url("chrome://global/skin/menu/menu-radio.gif");
  194. }
  195.  
  196. menuitem[checked="true"][type="radio"][disabled="true"] {
  197.   list-style-image: url("chrome://global/skin/menu/menu-radio-disabled.gif");
  198. }
  199.  
  200. menuitem[checked="true"][type="radio"][_moz-menuactive="true"] {
  201.   list-style-image: url("chrome://global/skin/menu/menu-radio-hover.gif");
  202. }
  203.  
  204. /* ::::: menuseparator ::::: */
  205.  
  206. menuseparator {
  207.   margin: 2px 3px;
  208.   border-top: 1px solid ThreeDShadow;
  209.   border-bottom: 1px solid ThreeDHighlight;
  210. }
  211.  
  212. menulist > menupopup > menuseparator,
  213. .menulist-menupopup > menuseparator {
  214.   margin: 2px 0;
  215.   border-top: 1px solid #000000;
  216.   border-bottom: none;
  217. }
  218.  
  219. /* ::::: autocomplete ::::: */
  220.  
  221. .autocomplete-history-popup > menuitem {
  222.   max-width: none !important;
  223.   font: inherit;
  224. }
  225.  
  226. /* ::::: tree column picker ::::: */
  227.  
  228. .treecell-popupcell-menu {
  229.   margin-left: -2px;
  230.   list-style-image: url("chrome://global/skin/columnselect.gif");
  231. }
  232.