Bug 1427865 - Restore the dialogheader binding and its styling after the removal in bug 1419600. rs=jorgk
This commit is contained in:
Родитель
4051bf8992
Коммит
0872dacfbe
|
@ -38,4 +38,15 @@
|
|||
onset="this.setAttribute('src',val); return val;"/>
|
||||
</implementation>
|
||||
</binding>
|
||||
|
||||
<binding id="dialogheader">
|
||||
<resources>
|
||||
<stylesheet src="chrome://global/skin/dialog.css"/>
|
||||
</resources>
|
||||
<content>
|
||||
<xul:label class="dialogheader-title" xbl:inherits="value=title,crop" crop="right" flex="1"/>
|
||||
<xul:label class="dialogheader-description" xbl:inherits="value=description"/>
|
||||
</content>
|
||||
</binding>
|
||||
|
||||
</bindings>
|
||||
|
|
|
@ -76,3 +76,20 @@ treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-im) {
|
|||
#archiveTree > treechildren {
|
||||
background-color: -moz-Field;
|
||||
}
|
||||
|
||||
/* ::::: dialog header ::::: */
|
||||
|
||||
dialogheader {
|
||||
-moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader");
|
||||
margin: 0 5px 5px;
|
||||
border: 1px solid ThreeDDarkShadow;
|
||||
padding: 5px 8px;
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
}
|
||||
|
||||
.dialogheader-title {
|
||||
margin: 0 !important;
|
||||
font-size: larger;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
@ -87,3 +87,22 @@ description {
|
|||
#archiveTree > treechildren {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
/* ::::: dialog header ::::: */
|
||||
|
||||
dialogheader {
|
||||
-moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader");
|
||||
margin: 0 5px 5px;
|
||||
padding: 5px 8px;
|
||||
}
|
||||
|
||||
.dialogheader-title {
|
||||
margin: 0 !important;
|
||||
font-size: larger;
|
||||
font-weight: bold;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dialogheader-description {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
|
|
@ -76,3 +76,20 @@ treechildren::-moz-tree-image(folderNameCol, isServer-true, serverType-im) {
|
|||
#archiveTree > treechildren {
|
||||
background-color: -moz-Field;
|
||||
}
|
||||
|
||||
/* ::::: dialog header ::::: */
|
||||
|
||||
dialogheader {
|
||||
-moz-binding: url("chrome://messenger/content/generalBindings.xml#dialogheader");
|
||||
margin: 0 5px 5px;
|
||||
border: 1px solid ThreeDDarkShadow;
|
||||
padding: 5px 8px;
|
||||
background-color: Highlight;
|
||||
color: HighlightText;
|
||||
}
|
||||
|
||||
.dialogheader-title {
|
||||
margin: 0 !important;
|
||||
font-size: larger;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче