55727 - file menubutton, r=ben, sr=alecf

This commit is contained in:
hewitt%netscape.com 2001-01-19 05:16:13 +00:00
Родитель 96d31de97c
Коммит 9bc25c447a
6 изменённых файлов: 39 добавлений и 21 удалений

Просмотреть файл

@ -356,5 +356,14 @@ menubutton.button-toolbar-4[open="true"] > .menubutton-toolbar-single-internal-b
list-style-image : url("chrome://global/skin/dropmarker-up-on.gif");
}
/* menubutton button-toolbar-2 */
menubutton.button-toolbar-2.top {
-moz-binding: url("chrome://global/content/menulistBindings.xml#menubutton-single-top");
}
menubutton.button-toolbar-2.bottom {
-moz-binding: url("chrome://global/content/menulistBindings.xml#menubutton-single-bottom");
}

Просмотреть файл

@ -301,4 +301,13 @@ menubutton.button-toolbar-4[open="true"] > .menubutton-toolbar-single-internal-b
list-style-image : url("chrome://global/skin/scroll-up.gif");
}
/* menubutton button-toolbar-2 */
menubutton.button-toolbar-2.top {
-moz-binding: url("chrome://global/content/menulistBindings.xml#menubutton-single-top");
}
menubutton.button-toolbar-2.bottom {
-moz-binding: url("chrome://global/content/menulistBindings.xml#menubutton-single-bottom");
}

Просмотреть файл

@ -175,13 +175,12 @@
list-style-image : url("chrome://messenger/skin/file-disabled.gif");
}
menu:hover > #button-file
#button-file:hover
{
list-style-image : url("chrome://messenger/skin/file-hover.gif");
}
menu:hover:active > #button-file,
menu[open="true"] > #button-file
#button-file:hover:active
{
list-style-image : url("chrome://messenger/skin/file-hover-active.gif");
}

Просмотреть файл

@ -175,13 +175,12 @@
list-style-image : url("chrome://messenger/skin/file-disabled.gif");
}
menu:hover > #button-file
#button-file:hover
{
list-style-image : url("chrome://messenger/skin/file-hover.gif");
}
menu:hover:active > #button-file,
menu[open="true"] > #button-file
#button-file:hover:active
{
list-style-image : url("chrome://messenger/skin/file-hover-active.gif");
}

Просмотреть файл

@ -143,12 +143,14 @@
margin-bottom : 1em;
}
/*
<xul:box class="button-internal-box" orient="vertical" autostretch="never" flex="1">
<xul:image class="button-icon" inherits="src"/>
<xul:box orient="vertical" class="button-text-container" autostretch="never" flex="1">
<xul:text class="button-text" inherits="value,accesskey,crop"/>
</xul:box>
</xul:box>
menubutton.button-toolbar-2.top {
-moz-binding : url(chrome://global/skin/globalBindings.xml#button-doubletext);
}
menubutton.button-toolbar-2.bottom {
-moz-binding : url(chrome://global/skin/globalBindings.xml#button-doubletext);
}

Просмотреть файл

@ -209,23 +209,23 @@ iframe {
}
#button-file {
list-style-image:url("chrome://messenger/skin/file.gif");
list-style-image: url("chrome://messenger/skin/file.gif");
}
#button-file[disabled="true"],
menu:hover > #button-file[disabled="true"],
menu:hover:active > #button-file[disabled="true"]
#button-file[disabled="true"]:hover,
#button-file[disabled="true"]:hover:active
{
list-style-image : url("chrome://messenger/skin/file-disabled.gif");
}
menu:hover > #button-file
#button-file:hover
{
list-style-image : url("chrome://messenger/skin/file-hover.gif");
}
menu:hover:active > #button-file,
menu[open="true"] > #button-file
#button-file:hover:active,
#button-file[open="true"]
{
list-style-image : url("chrome://messenger/skin/file-clicked.gif");
}