home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 January / 01_02.iso / software / netscape62win / skinclas.xpi / bin / chrome / classic.jar / skin / classic / global / menu.css < prev    next >
Cascading Style Sheet File  |  2001-08-09  |  6KB  |  235 lines

  1. menu, menuitem  
  2.   {
  3.     font                  : menu;
  4.     color                 : MenuText;
  5.     list-style-image      : none;
  6.   }
  7.  
  8. menuitem 
  9.   {
  10.     padding               : 0px !important; 
  11.     cursor                : default !important;    
  12.   }
  13.  
  14. menu[disabled="true"], menuitem[disabled="true"],
  15. menu[menuactive="true"][disabled="true"],
  16. menuitem[menuactive="true"][disabled="true"]
  17.   {
  18.       color                 : GrayText;
  19.   }
  20.  
  21. menuitem[default="true"]
  22.   {
  23.     font-weight           : bold;
  24.   }  
  25.   
  26. menupopup > menu,
  27. menupopup > menuitem,
  28. popup > menu,
  29. popup > menuitem
  30.   {
  31.     max-width             : 42em; /* should move to content */
  32.     margin                : 0px;
  33.   }
  34.  
  35. menuseparator 
  36.   {
  37.     border-top            : 1px solid ThreeDShadow;
  38.     border-bottom         : 1px solid ThreeDHighlight;
  39.     margin                : 2px 0px 2px 0px;
  40.     cursor                : default !important;
  41.   }
  42.  
  43. menubar > menu 
  44.   {
  45.     padding               : 2px 5px 2px 7px;
  46.     margin                : 0px 0px 1px 0px;
  47.     border                : 1px solid transparent;
  48.   }
  49.  
  50. menubar > menu[menuactive="true"] 
  51.   {
  52.     border-left           : 1px solid ThreeDHighlight;
  53.     border-top            : 1px solid ThreeDHighlight;
  54.     border-right          : 1px solid ThreeDShadow;
  55.     border-bottom         : 1px solid ThreeDShadow;
  56.   }
  57.  
  58. menubar > menu[menuactive="true"][open="true"] 
  59.   {
  60.     border-left           : 1px solid ThreeDShadow;
  61.     border-top            : 1px solid ThreeDShadow;
  62.     border-right          : 1px solid ThreeDHighlight;
  63.     border-bottom         : 1px solid ThreeDHighlight;
  64.     padding               : 3px 4px 1px 8px;
  65.   }
  66.  
  67. menupopup > menu[menuactive="true"],
  68. menupopup > menuitem[menuactive="true"],
  69. popup > menu[menuactive="true"],
  70. popup > menuitem[menuactive="true"]
  71.   {
  72.     background-color      : Highlight;
  73.     color                 : HighlightText;
  74.   }
  75.  
  76. /** 
  77.  * Atomic sub-parts of standard menus
  78.  **/
  79. .menu-right 
  80.   {
  81.     margin                : 0px 4px 0px 6px;
  82.     width                 : 8px;
  83.     list-style-image      : url("chrome://global/skin/menu-arrow.gif");
  84.   }
  85.  
  86. .menu-iconic-left 
  87.   {
  88.     color                 : inherit;
  89.     margin                : 0px 4px 0px 3px;
  90.     width                 : 16px;
  91.     list-style-image      : inherit;
  92.   }
  93.  
  94. .menubar-left 
  95.   {
  96.     color                 : inherit;
  97.     margin                : 0px 2px 0px 0px;
  98.   }
  99.  
  100. .menu-iconic-text, .menu-iconic-accel, .menu-text, .menu-accel
  101.   {
  102.     color                 : inherit;
  103.   }
  104.  
  105. .menu-iconic-text
  106.   {
  107.     margin                : 2px 2px 2px 0px;
  108.   }
  109.  
  110. .menu-text 
  111.   {
  112.     margin                : 2px 2px 2px 23px;
  113.   }
  114.  
  115. .menu-accel 
  116.   {
  117.     margin                : 2px 14px 2px 6px;
  118.   }
  119.  
  120. .menu-iconic-accel 
  121.   {
  122.     margin                : 2px 14px 2px 4px;
  123.   }
  124.  
  125. .menubar-text 
  126.   {
  127.     color                 : inherit;
  128.     margin-right          : 2px;
  129.   }
  130.  
  131. menuitem[checked="true"] 
  132.   {
  133.     list-style-image      : url("chrome://global/skin/menu-check.gif");
  134.   }
  135.  
  136. menuitem[checked="true"][menuactive="true"]
  137.   {
  138.       list-style-image      : url("chrome://global/skin/menu-check-hover.gif");
  139.   }
  140.  
  141. menuitem[checked="true"][disabled="true"] 
  142.   {
  143.     list-style-image      : url("chrome://global/skin/menu-check-disabled.gif");
  144.   }
  145.  
  146. menuitem[checked="true"][type="radio"] 
  147.   {
  148.     list-style-image      : url("chrome://global/skin/menu-radio.gif");
  149.   }
  150.  
  151. menuitem[checked="true"][type="radio"][disabled="true"] 
  152.   {
  153.     list-style-image      : url("chrome://global/skin/menu-radio-disabled.gif");
  154.   }
  155.  
  156. menuitem[checked="true"][type="radio"][menuactive="true"] 
  157.   {
  158.     list-style-image      : url("chrome://global/skin/menu-radio-hover.gif");
  159.   }
  160.  
  161. .menu-right[disabled="true"] 
  162.   {
  163.     list-style-image      : url("chrome://global/skin/menu-arrow-disabled.gif");
  164.   }
  165.  
  166. .menu-right[menuactive="true"][disabled="true"] 
  167.   {
  168.     list-style-image      : url("chrome://global/skin/menu-arrow-disabled.gif");
  169.   }
  170.  
  171. .menu-right[menuactive="true"] 
  172.   {
  173.     list-style-image      : url("chrome://global/skin/menu-arrow-hover.gif");
  174.   }
  175.  
  176. /* ::::: autocomplete menuitems ::::: */
  177.  
  178. .autocomplete-history-popup > menuitem
  179.   {
  180.     max-width              : none !important;
  181.     font-size              : smaller;
  182.   }
  183.  
  184. /* ::::: menu/menuitems in a menulist popup ::::: */
  185.  
  186.   menulist > menupopup > menuitem,
  187.   menulist > menupopup > menu
  188.     {
  189.       border              : 1px solid transparent;
  190.       padding             : 0px 7px !important;
  191.       min-width           : 0px;  /* should be in content*/
  192.       max-width           : none; /* should be in content*/
  193.       font                : message-box;
  194.       color               : -moz-FieldText;
  195.     }
  196.  
  197.   menulist > menupopup > menuitem > .menu-iconic-accel,
  198.   menulist > menupopup > menuitem > .menu-accel,
  199.   menulist > menupopup > menuitem > .menu-text,
  200.   menulist > menupopup > menuitem > .menu-iconic-text,
  201.   menulist > menupopup > menu > .menu-text,
  202.   menulist > menupopup > menu > .menu-accel,
  203.   menulist > menupopup > menu > .menu-iconic-text,
  204.   menulist > menupopup > menu > .menu-iconic-accel
  205.     {
  206.       margin-top          : 0px;
  207.       margin-bottom       : 0px;
  208.     }
  209.  
  210.   menulist > menupopup > menuitem[menuactive="true"]
  211.     {
  212.       border              : 1px dotted #F5DB95;
  213.     }
  214.  
  215.   menulist > menupopup > menuitem > .menu-iconic-left,
  216.   menulist > menupopup > menuitem > .menu-iconic-left[menuactive="true"]
  217.     {
  218.       list-style-image    : inherit;
  219.       width               : 0px;
  220.       border              : none;
  221.     }
  222.  
  223.   menulist > menupopup > menuseparator
  224.     {
  225.       border-top: none;
  226.       border-bottom: 1px solid WindowText;
  227.     }
  228.     
  229. /* ::::: tree column picker ::::: */
  230.  
  231.   .treecell-popupcell-menu 
  232.     {
  233.       margin-left: -4px;
  234.       list-style-image: url("chrome://global/skin/columnselect.gif");
  235.     }