зеркало из https://github.com/mozilla/pjs.git
Bug 443410 – filefield author doesn't know how to write efficient CSS. r=gavin
This commit is contained in:
Родитель
83fa94611c
Коммит
e730fe7f6a
|
@ -103,11 +103,11 @@ filefield {
|
|||
margin: 1px;
|
||||
}
|
||||
|
||||
filefield[disabled="true"] .fileFieldContentBox {
|
||||
.fileFieldContentBox[disabled="true"] {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
filefield[disabled="true"] .fileFieldIcon {
|
||||
.fileFieldIcon[disabled="true"] {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
|
|
|
@ -130,11 +130,11 @@ filefield {
|
|||
margin: 1px;
|
||||
}
|
||||
|
||||
filefield[disabled="true"] .fileFieldContentBox {
|
||||
.fileFieldContentBox[disabled="true"] {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
filefield[disabled="true"] .fileFieldIcon {
|
||||
.fileFieldIcon[disabled="true"] {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
<binding id="fileField" extends="chrome://global/content/bindings/general.xml#control-item">
|
||||
<content>
|
||||
<xul:stringbundle anonid="bundle" src="chrome://mozapps/locale/preferences/preferences.properties"/>
|
||||
<xul:hbox class="fileFieldContentBox" align="center" flex="1">
|
||||
<xul:image class="fileFieldIcon" xbl:inherits="src=image"/>
|
||||
<xul:hbox class="fileFieldContentBox" align="center" flex="1" xbl:inherits="disabled">
|
||||
<xul:image class="fileFieldIcon" xbl:inherits="src=image,disabled"/>
|
||||
<xul:textbox class="fileFieldLabel" xbl:inherits="value=label,disabled,accesskey,tabindex" flex="1" readonly="true"/>
|
||||
</xul:hbox>
|
||||
</content>
|
||||
|
|
Загрузка…
Ссылка в новой задаче