зеркало из https://github.com/mozilla/pjs.git
55727 - file menubutton, r=ben, sr=alecf
This commit is contained in:
Родитель
96d31de97c
Коммит
9bc25c447a
|
@ -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");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче