Add a dropmarker to Mail's File button b=282189 p=gautheri@noos.fr r+sr=me
This commit is contained in:
Родитель
6de04b00cb
Коммит
f3ce023686
|
@ -72,8 +72,8 @@
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker {
|
||||
display: none;
|
||||
.toolbarbutton-1[type="menu"] {
|
||||
-moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-vertical");
|
||||
}
|
||||
|
||||
.toolbarbutton-1[buttonstyle="pictures"],
|
||||
|
|
|
@ -30,6 +30,21 @@
|
|||
</content>
|
||||
</binding>
|
||||
|
||||
<binding id="menu-vertical" display="xul:menu"
|
||||
extends="chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton">
|
||||
<content>
|
||||
<children includes="observes|template|menupopup|tooltip"/>
|
||||
<xul:hbox flex="1" align="center">
|
||||
<xul:vbox flex="1" align="center">
|
||||
<xul:image class="toolbarbutton-icon" xbl:inherits="validate,src=image,toolbarmode,buttonstyle"/>
|
||||
<xul:label class="toolbarbutton-text" crop="right" flex="1"
|
||||
xbl:inherits="value=label,accesskey,crop,dragover-top,toolbarmode,buttonstyle"/>
|
||||
</xul:vbox>
|
||||
<xul:dropmarker type="menu" class="toolbarbutton-menu-dropmarker" xbl:inherits="disabled"/>
|
||||
</xul:hbox>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
<binding id="menu-button" display="xul:menu"
|
||||
extends="chrome://global/content/bindings/button.xml#menu-button-base">
|
||||
<resources>
|
||||
|
@ -72,4 +87,4 @@
|
|||
</implementation>
|
||||
</binding>
|
||||
|
||||
</bindings>
|
||||
</bindings>
|
||||
|
|
Загрузка…
Ссылка в новой задаче