2000-05-23 08:04:02 +04:00
|
|
|
|
|
|
|
menubar
|
|
|
|
{
|
|
|
|
background-color : white;
|
2001-03-10 06:16:10 +03:00
|
|
|
/* DON'T DELETE. Removes disappearance of scrollbars
|
|
|
|
* in content pane when window is made smaller.
|
|
|
|
* Talk to evaughan@netscape.com for details.
|
|
|
|
*/
|
|
|
|
min-width : 1px;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menubar > toolbargrippy
|
|
|
|
{
|
|
|
|
display : none;
|
|
|
|
}
|
|
|
|
|
|
|
|
menu, menuitem
|
|
|
|
{
|
2000-12-13 08:48:40 +03:00
|
|
|
color : MenuText;
|
2001-01-19 05:35:34 +03:00
|
|
|
vertical-align : middle;
|
2001-03-09 02:27:37 +03:00
|
|
|
list-style-image : none;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
2000-08-03 04:46:17 +04:00
|
|
|
menuitem
|
|
|
|
{
|
2001-01-19 05:35:34 +03:00
|
|
|
padding : 0px !important;
|
|
|
|
cursor : default !important;
|
2000-08-03 04:46:17 +04:00
|
|
|
}
|
|
|
|
|
2000-05-23 08:04:02 +04:00
|
|
|
menu[disabled="true"], menuitem[disabled="true"],
|
|
|
|
menu[menuactive="true"][disabled="true"],
|
|
|
|
menuitem[menuactive="true"][disabled="true"]
|
|
|
|
{
|
2000-12-13 08:48:40 +03:00
|
|
|
color : GrayText;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* XXX menupopups have to have a color explicitly specified. this is a bug */
|
|
|
|
menupopup, popup
|
|
|
|
{
|
2000-12-13 08:48:40 +03:00
|
|
|
background-color : Menu;
|
2001-04-05 01:44:26 +04:00
|
|
|
border-left : thin solid black;
|
|
|
|
border-top : thin solid black;
|
2000-07-07 02:22:19 +04:00
|
|
|
border-right : 3px ridge black;
|
|
|
|
border-bottom : 3px ridge black;
|
2000-09-06 06:17:26 +04:00
|
|
|
-moz-user-focus : ignore;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menupopup > menu, popup > menu,
|
|
|
|
menupopup > menuitem, popup > menuitem
|
|
|
|
{
|
2001-02-23 03:39:02 +03:00
|
|
|
font : menu;
|
2001-02-02 04:38:24 +03:00
|
|
|
max-width : 42em;
|
|
|
|
min-width : 14em;
|
2000-07-07 02:22:19 +04:00
|
|
|
padding : 0px;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
2000-07-07 02:22:19 +04:00
|
|
|
/* Don't display grayed items in the contextual popup menus */
|
2000-07-22 04:48:29 +04:00
|
|
|
/* BUGGY: DON'T UNCOMMENT UNTIL BUG #46005 IS RESOLVED (7/20/00)
|
2000-07-07 02:22:19 +04:00
|
|
|
popup > menuitem[disabled="true"], popup > menu[disabled="true"]
|
|
|
|
{
|
|
|
|
display : none;
|
|
|
|
}
|
2000-07-22 04:48:29 +04:00
|
|
|
*/
|
2000-07-07 02:22:19 +04:00
|
|
|
|
2000-05-23 08:04:02 +04:00
|
|
|
menuseparator
|
|
|
|
{
|
2001-01-19 05:35:34 +03:00
|
|
|
border-top : 1px solid -moz-mac-menushadow;
|
2000-12-13 08:48:40 +03:00
|
|
|
border-bottom : 1px solid ThreeDHighlight;
|
2000-05-23 08:04:02 +04:00
|
|
|
margin : 2px 0px 2px 0px;
|
2001-01-19 05:35:34 +03:00
|
|
|
cursor : default !important;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
2000-12-13 08:48:40 +03:00
|
|
|
/*I don't believe this does anything on MacOS (lordpixel@mac.com)*/
|
2000-05-23 08:04:02 +04:00
|
|
|
menubar > menu
|
|
|
|
{
|
2000-12-13 08:48:40 +03:00
|
|
|
border : 1px solid ActiveBorder;
|
2000-05-23 08:04:02 +04:00
|
|
|
padding : 2px 3px 2px 3px;
|
|
|
|
margin : 2px 0px 2px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
menubar > menu[menuactive="true"]
|
|
|
|
{
|
|
|
|
border : 1px solid #CCCCCC;
|
|
|
|
background-color : #CCCCCC;
|
|
|
|
-moz-border-radius : 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
menubar > menu[menuactive="true"][open="true"]
|
|
|
|
{
|
2000-07-18 03:00:45 +04:00
|
|
|
border : 1px solid #DDDDDD;
|
2000-05-23 08:04:02 +04:00
|
|
|
border-bottom : 1px solid #CCCCCC;
|
|
|
|
background-color : #CCCCCC;
|
|
|
|
-moz-border-radius : 4px 4px 0px 0px;
|
|
|
|
}
|
2000-12-13 08:48:40 +03:00
|
|
|
/*end of ineffective stuff*/
|
|
|
|
|
2000-05-23 08:04:02 +04:00
|
|
|
|
|
|
|
menupopup > menu[menuactive="true"],
|
|
|
|
menupopup > menuitem[menuactive="true"],
|
|
|
|
popup > menu[menuactive="true"],
|
|
|
|
popup > menuitem[menuactive="true"]
|
|
|
|
{
|
2000-12-13 08:48:40 +03:00
|
|
|
background-color : -moz-mac-menuselect;
|
|
|
|
color : -moz-mac-menutextselect;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
2000-12-13 08:48:40 +03:00
|
|
|
/*Mac menu's don't highlight disabled items at all*/
|
|
|
|
menupopup > menu[menuactive="true"][disabled="true"],
|
|
|
|
menupopup > menuitem[menuactive="true"][disabled="true"],
|
|
|
|
popup > menu[menuactive="true"][disabled="true"],
|
|
|
|
popup > menuitem[menuactive="true"][disabled="true"]
|
|
|
|
{
|
|
|
|
background-color: inherit;
|
|
|
|
color: GrayText;
|
|
|
|
}
|
2000-05-23 08:04:02 +04:00
|
|
|
/**
|
|
|
|
* Atomic sub-parts of standard menus
|
|
|
|
**/
|
|
|
|
.menu-right
|
|
|
|
{
|
2000-08-03 04:46:17 +04:00
|
|
|
margin : -1px 3px 1px 6px;
|
2000-05-23 08:04:02 +04:00
|
|
|
width : 8px;
|
|
|
|
text-align : center;
|
|
|
|
list-style-image : url("chrome://global/skin/menu-arrow.gif");
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-iconic-left
|
|
|
|
{
|
|
|
|
color : inherit;
|
2000-08-03 04:46:17 +04:00
|
|
|
margin : 0px 5px 0px 1px;
|
|
|
|
width : 11px;
|
|
|
|
text-align : center;
|
|
|
|
list-style-image : inherit;
|
|
|
|
padding-left : 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**This is a workaround for bug 46231 and should be removed when that bug is fixed*/
|
|
|
|
menuitem[type="checkbox"] > .menu-iconic-left, menuitem[type="radio"] > .menu-iconic-left
|
|
|
|
{
|
|
|
|
color : inherit;
|
|
|
|
margin : 0px 10px 0px 0px;
|
2000-07-18 03:00:45 +04:00
|
|
|
width : 11px;
|
2000-05-23 08:04:02 +04:00
|
|
|
text-align : center;
|
|
|
|
list-style-image : inherit;
|
2000-08-03 04:46:17 +04:00
|
|
|
padding-left : 2px;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
2000-08-03 04:46:17 +04:00
|
|
|
/**end of workaround*/
|
2000-05-23 08:04:02 +04:00
|
|
|
|
|
|
|
.menubar-left
|
|
|
|
{
|
|
|
|
color : inherit;
|
|
|
|
margin : 0px 2px 0px 0px;
|
|
|
|
}
|
|
|
|
|
2001-01-19 05:35:34 +03:00
|
|
|
.menu-iconic-text
|
|
|
|
{
|
|
|
|
margin : 0px 2px 0px 0px;
|
|
|
|
}
|
|
|
|
|
2000-05-23 08:04:02 +04:00
|
|
|
.menu-iconic-text, .menu-iconic-accel, .menu-text, .menu-accel
|
|
|
|
{
|
|
|
|
color : inherit;
|
|
|
|
}
|
2000-07-18 03:00:45 +04:00
|
|
|
|
2000-05-23 08:04:02 +04:00
|
|
|
.menu-text
|
|
|
|
{
|
2000-07-18 03:00:45 +04:00
|
|
|
padding-left : 20px;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
2001-01-19 05:35:34 +03:00
|
|
|
.menu-accel, .menu-iconic-accel
|
2000-05-23 08:04:02 +04:00
|
|
|
{
|
|
|
|
margin-left : 4px;
|
|
|
|
padding-right : 14px;
|
|
|
|
}
|
|
|
|
|
2001-01-19 05:35:34 +03:00
|
|
|
menuitem > .menu-accel, menuitem > .menu-iconic-accel
|
2000-07-07 02:22:19 +04:00
|
|
|
{
|
2001-01-19 05:35:34 +03:00
|
|
|
margin : 0px;
|
|
|
|
padding-right : 9px;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.menubar-text
|
|
|
|
{
|
|
|
|
color : inherit;
|
|
|
|
margin-right : 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
menuitem[checked="true"]
|
|
|
|
{
|
|
|
|
list-style-image : url("chrome://global/skin/menu-check.gif");
|
2000-07-07 02:22:19 +04:00
|
|
|
margin-right : 3px;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menuitem[checked="true"][disabled="true"]
|
|
|
|
{
|
|
|
|
list-style-image : url("chrome://global/skin/menu-check-disabled.gif");
|
2000-07-07 02:22:19 +04:00
|
|
|
margin-right : 3px;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
menuitem[checked="true"][menuactive="true"]
|
|
|
|
{
|
|
|
|
list-style-image : url("chrome://global/skin/menu-check-hover.gif");
|
2000-07-07 02:22:19 +04:00
|
|
|
margin-right : 3px;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-right[disabled="true"]
|
|
|
|
{
|
|
|
|
list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif");
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-right[menuactive="true"][disabled="true"]
|
|
|
|
{
|
|
|
|
list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif");
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-right[menuactive="true"]
|
|
|
|
{
|
|
|
|
list-style-image : url("chrome://global/skin/menu-arrow-hover.gif");
|
|
|
|
}
|
|
|
|
|
|
|
|
/** Tooltips (tooltip <popup> element)
|
|
|
|
* class="tooltip"
|
|
|
|
**/
|
|
|
|
.tooltip
|
|
|
|
{
|
2001-01-11 09:29:55 +03:00
|
|
|
background-color : InfoBackground;
|
2001-04-05 01:44:26 +04:00
|
|
|
border : 1px solid #000000;
|
2000-12-13 08:48:40 +03:00
|
|
|
color : InfoText;
|
2001-02-23 03:39:02 +03:00
|
|
|
font : message-box;
|
2001-04-05 01:44:26 +04:00
|
|
|
padding : 2px 3px 2px 3px;
|
2000-07-18 03:00:45 +04:00
|
|
|
margin : 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip > .popup-internal-box
|
|
|
|
{
|
|
|
|
border: none;
|
|
|
|
padding: 0px;
|
2000-05-23 08:04:02 +04:00
|
|
|
}
|
|
|
|
|
2000-06-23 09:15:04 +04:00
|
|
|
/*
|
|
|
|
* Autorepeatbutton
|
|
|
|
*/
|
|
|
|
.autorepeatbutton-up {
|
2000-07-18 03:00:45 +04:00
|
|
|
list-style-image: url("chrome://global/skin/arrow-med-up.gif")
|
2000-06-23 09:15:04 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.autorepeatbutton-down {
|
2000-07-18 03:00:45 +04:00
|
|
|
list-style-image: url("chrome://global/skin/arrow-med-down.gif")
|
2000-06-23 09:15:04 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
autorepeatbutton {
|
2001-01-19 07:32:11 +03:00
|
|
|
margin: 1px 2px 2px 1px;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
padding: 1px;
|
|
|
|
height: 1em;
|
2000-08-03 04:46:17 +04:00
|
|
|
text-align: left;
|
2000-06-23 09:15:04 +04:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
autorepeatbutton:hover {
|
2001-01-19 07:32:11 +03:00
|
|
|
margin: 1px;
|
|
|
|
border: 1px inset #DDDDDD;
|
|
|
|
padding: 2px 1px 1px 2px;
|
2000-06-23 09:15:04 +04:00
|
|
|
}
|
|
|
|
|
2000-08-03 04:46:17 +04:00
|
|
|
autorepeatbutton > .autorepeatbutton-up {
|
|
|
|
padding: 2px 0px 4px 17px;
|
|
|
|
}
|
|
|
|
|
2000-07-20 05:21:15 +04:00
|
|
|
autorepeatbutton:hover > .autorepeatbutton-up {
|
2000-07-18 03:00:45 +04:00
|
|
|
list-style-image: url("chrome://global/skin/arrow-med-up-hover.gif")
|
|
|
|
}
|
|
|
|
|
2000-08-03 04:46:17 +04:00
|
|
|
autorepeatbutton > .autorepeatbutton-down {
|
|
|
|
padding: 4px 0px 2px 17px;
|
|
|
|
}
|
|
|
|
|
2000-07-20 05:21:15 +04:00
|
|
|
autorepeatbutton:hover > .autorepeatbutton-down {
|
2000-07-18 03:00:45 +04:00
|
|
|
list-style-image: url("chrome://global/skin/arrow-med-down-hover.gif")
|
|
|
|
}
|