mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 398874 copy bug 184841 addressingwidget appearance r=Mano,mscott a=mconnor
This commit is contained in:
parent
fc77db304b
commit
800d4aa821
@ -62,7 +62,7 @@ menulist > menupopup,
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menulist-compact {
|
.menulist-compact {
|
||||||
-moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-compact");
|
-moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
|
||||||
}
|
}
|
||||||
|
|
||||||
progressmeter[mode="undetermined"] {
|
progressmeter[mode="undetermined"] {
|
||||||
|
@ -105,30 +105,41 @@ html|*.menulist-editable-input {
|
|||||||
/* ::::: compact menulists ::::: */
|
/* ::::: compact menulists ::::: */
|
||||||
|
|
||||||
.menulist-compact {
|
.menulist-compact {
|
||||||
-moz-appearance: button;
|
-moz-appearance: none;
|
||||||
-moz-box-align: center;
|
-moz-box-align: center;
|
||||||
-moz-box-pack: center;
|
-moz-box-pack: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: -moz-DialogText;
|
-moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
|
||||||
}
|
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
|
||||||
|
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
|
||||||
.menulist-compact > .menulist-dropmarker {
|
-moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
|
||||||
-moz-appearance: none;
|
background-color: ThreeDFace;
|
||||||
display: -moz-box;
|
color: ButtonText;
|
||||||
-moz-margin-start: 2px;
|
|
||||||
padding: 0 !important;
|
|
||||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
||||||
}
|
}
|
||||||
|
|
||||||
.menulist-compact[disabled="true"] > .menulist-dropmarker {
|
.menulist-compact > .menulist-label-box > .menulist-label {
|
||||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
|
|
||||||
}
|
|
||||||
|
|
||||||
.menulist-compact > .menulist-label {
|
|
||||||
margin: 0 3px !important;
|
margin: 0 3px !important;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menulist-compact[open="true"] {
|
.menulist-compact > .menulist-label-box > .menulist-icon {
|
||||||
color: ThreeDHighlight;
|
-moz-margin-start: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menulist-compact[open="true"] {
|
||||||
|
-moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
|
||||||
|
-moz-border-right-colors: ThreeDDarkShadow ThreeDHighlight;
|
||||||
|
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDHighlight;
|
||||||
|
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menulist-compact[disabled="true"] {
|
||||||
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
.menulist-compact:focus > .menulist-label-box {
|
||||||
|
border: 1px dotted;
|
||||||
|
background-color: transparent;
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ menulist > menupopup,
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menulist-compact {
|
.menulist-compact {
|
||||||
-moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-compact");
|
-moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
|
||||||
}
|
}
|
||||||
|
|
||||||
progressmeter[mode="undetermined"] {
|
progressmeter[mode="undetermined"] {
|
||||||
|
@ -72,4 +72,16 @@
|
|||||||
</xul:stack>
|
</xul:stack>
|
||||||
</content>
|
</content>
|
||||||
</binding>
|
</binding>
|
||||||
|
|
||||||
|
<binding id="menulist-compact" display="xul:menu"
|
||||||
|
extends="chrome://global/content/bindings/menulist.xml#menulist">
|
||||||
|
<content sizetopopup="false">
|
||||||
|
<xul:hbox class="menulist-label-box" flex="1">
|
||||||
|
<xul:image class="menulist-icon" xbl:inherits="src"/>
|
||||||
|
<xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/>
|
||||||
|
</xul:hbox>
|
||||||
|
<children includes="menupopup"/>
|
||||||
|
</content>
|
||||||
|
</binding>
|
||||||
|
|
||||||
</bindings>
|
</bindings>
|
||||||
|
@ -144,34 +144,41 @@ html|*.menulist-editable-input {
|
|||||||
/* ::::: compact menulists ::::: */
|
/* ::::: compact menulists ::::: */
|
||||||
|
|
||||||
.menulist-compact {
|
.menulist-compact {
|
||||||
|
-moz-appearance: none;
|
||||||
-moz-box-align: center;
|
-moz-box-align: center;
|
||||||
-moz-box-pack: center;
|
-moz-box-pack: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
-moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
|
-moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
|
||||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
|
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
|
||||||
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
|
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
|
||||||
-moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
|
-moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
|
||||||
background-color: -moz-Dialog;
|
background-color: ThreeDFace;
|
||||||
color: -moz-DialogText;
|
color: ButtonText;
|
||||||
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
||||||
}
|
}
|
||||||
|
|
||||||
.menulist-compact > .menulist-label {
|
.menulist-compact > .menulist-label-box > .menulist-label {
|
||||||
margin: 0 3px !important;
|
margin: 0 3px !important;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menulist-compact > .menulist-dropmarker {
|
.menulist-compact > .menulist-label-box > .menulist-icon {
|
||||||
-moz-margin-start: 2px;
|
-moz-margin-start: 2px;
|
||||||
border: none;
|
|
||||||
padding: 0 !important;
|
|
||||||
background: transparent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menulist-compact[open="true"] {
|
.menulist-compact[open="true"] {
|
||||||
-moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
|
-moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
|
||||||
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
|
-moz-border-right-colors: ThreeDDarkShadow ThreeDHighlight;
|
||||||
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
|
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDHighlight;
|
||||||
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
|
-moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
|
||||||
background-color: ThreeDShadow;
|
}
|
||||||
color: ThreeDHighlight;
|
|
||||||
|
.menulist-compact[disabled="true"] {
|
||||||
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
.menulist-compact:focus > .menulist-label-box {
|
||||||
|
border: 1px dotted;
|
||||||
|
background-color: transparent;
|
||||||
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user