gecko-dev/themes/modern/global/menu.css

288 lines
6.1 KiB
CSS
Raw Normal View History

2000-05-02 08:10:42 +00:00
menubar
{
background-color : #B4C3D4;
border-top : 1px solid #82929C;
border-bottom : 1px solid #000000;
/* 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-03 02:19:00 +00:00
}
menubar > .toolbar-holder
{
border-left : 1px solid #D6E7FF;
}
2000-05-02 08:10:42 +00:00
menu, menuitem
{
font : menu;
color : #17222E;
vertical-align : middle;
list-style-image : none;
2000-05-02 08:10:42 +00:00
}
menuitem
{
cursor : default !important;
}
menuitem[default="true"]
{
font-weight : bold;
}
2000-05-02 08:10:42 +00:00
menu[disabled="true"], menuitem[disabled="true"],
menu[menuactive="true"][disabled="true"],
menuitem[menuactive="true"][disabled="true"]
{
color : #838E9B;
2000-05-02 08:10:42 +00:00
}
/* XXX menupopups have to have a color explicitly specified. this is a bug */
menupopup, popup
{
background-color : #B4C3D4;
border: 1px solid #5B7693;
border-right: 1px solid #394B6E;
border-bottom: 1px solid #394B6E;
}
.popup-internal-box
{
border: 1px outset #B4C3D4;
2000-05-02 08:10:42 +00:00
}
menupopup > menu, popup > menu,
menupopup > menuitem, popup > menuitem
{
max-width : 42em;
min-width : 14em;
2000-05-03 02:19:00 +00:00
margin-left : 0px;
margin-right : 0px;
margin-top : 0px;
margin-bottom : 0px;
2000-05-02 08:10:42 +00:00
}
menuseparator
{
border-top : 1px solid #7A8490;
border-bottom : 1px solid #FEFEFE;
margin : 2px 3px;
cursor : default !important;
2000-05-02 08:10:42 +00:00
}
menubar > menu
{
border : 1px solid #B4C3D4;
padding : 1px 3px 2px 3px;
margin : 1px 0px 1px 0px;
2000-05-02 08:10:42 +00:00
}
menupopup > menu, menupopup > menuitem,
popup > menu, popup > menuitem
{
padding : 2px;
}
menubar > menu[menuactive="true"]
{
border : 1px outset #B4C3D4;
2000-05-02 08:10:42 +00:00
}
menubar > menu[menuactive="true"][open="true"]
{
border: 1px inset #B4C3D4;
border-bottom: none;
2000-05-02 08:10:42 +00:00
}
menupopup > menu[menuactive="true"],
menupopup > menuitem[menuactive="true"],
popup > menu[menuactive="true"],
popup > menuitem[menuactive="true"]
{
background-color : #486380;
2000-05-02 08:10:42 +00:00
color : #FFFFFF;
}
2000-05-01 23:36:58 +00:00
2000-05-03 02:19:00 +00:00
2000-05-01 23:36:58 +00:00
/**
* Atomic sub-parts of standard menus
**/
.menu-right
{
margin : 0px 0px 0px 6px;
width : 8px;
text-align : center;
list-style-image : url("chrome://global/skin/menu-arrow.gif");
}
.menu-iconic-left
{
color : inherit;
margin : 0px 2px 0px 0px;
width : 16px;
2000-05-01 23:36:58 +00:00
text-align : center;
list-style-image : inherit;
}
.menubar-left
{
color : inherit;
margin : 0px 2px 0px 0px;
}
.menu-iconic-text
{
margin : 0px 2px 0px 0px;
}
2000-05-01 23:36:58 +00:00
.menu-iconic-text, .menu-iconic-accel, .menu-text, .menu-accel
{
color : inherit;
}
.menu-text
{
padding-left : 18px;
font-weight : inherit;
2000-05-01 23:36:58 +00:00
}
.menu-accel, .menu-iconic-accel
2000-05-01 23:36:58 +00:00
{
margin-left : 4px;
padding-right : 14px;
}
.menubar-text
{
color : inherit;
margin-right : 2px;
}
menuitem[checked="true"]
{
list-style-image : url("chrome://global/skin/menu-check.gif");
}
menuitem[checked="true"][disabled="true"]
{
list-style-image : url("chrome://global/skin/menu-check-disabled.gif");
}
menuitem[checked="true"][menuactive="true"]
{
list-style-image : url("chrome://global/skin/menu-check-hover.gif");
}
menuitem[checked="true"][type="radio"]
{
list-style-image : url("chrome://global/skin/menu-radio.gif");
}
menuitem[checked="true"][type="radio"][disabled="true"]
{
list-style-image : url("chrome://global/skin/menu-radio-disabled.gif");
}
menuitem[checked="true"][type="radio"][menuactive="true"]
{
list-style-image : url("chrome://global/skin/menu-radio-hover.gif");
}
2000-05-01 23:36:58 +00: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");
}
2000-05-05 07:53:52 +00:00
/** Tooltips (tooltip <popup> element)
* class="tooltip"
**/
.tooltip
{
background-color : #FFFFE7;
border : 1px solid #000000;
2000-05-05 07:53:52 +00:00
color : #000000;
padding : 2px;
padding-right : 3px;
2000-05-05 07:53:52 +00:00
}
.tooltip > .popup-internal-box
{
border: none;
}
/*
* Autorepeatbutton
*/
.autorepeatbutton-up {
list-style-image: url("chrome://global/skin/simple-arrow-up.gif")
}
.autorepeatbutton-down {
list-style-image: url("chrome://global/skin/simple-arrow-down.gif")
}
autorepeatbutton {
margin: 1px 2px 2px 1px;
border: 1px solid transparent;
padding: 3px;
height: 1em;
text-align: center;
vertical-align: middle;
}
autorepeatbutton:hover {
margin: 1px;
border: 1px inset #A5B2C2;
padding: 4px 3px 3px 4px;
background-color: #A5B2C2;
}
/*
* Menubar grippy
*/
menubar > toolbargrippy
{
background-image : url("chrome://global/skin/mb-grippy-bg.gif");
}
menubar > toolbargrippy > .toolbargrippy-top
{
background-image : url("chrome://global/skin/mb-grippy-top.gif");
}
menubar > toolbargrippy > .toolbargrippy-btm
{
background-image : url("chrome://global/skin/mb-grippy-btm.gif");
}
2000-05-05 07:53:52 +00:00
menubar > toolbargrippy:hover:active
{
background-image : url("chrome://global/skin/mb-grippy-bg-active.gif");
}
menubar > toolbargrippy:hover:active > .toolbargrippy-top
{
background-image : url("chrome://global/skin/mb-grippy-top-active.gif");
}
menubar > toolbargrippy:hover:active > .toolbargrippy-btm
{
background-image : url("chrome://global/skin/mb-grippy-btm-active.gif");
}