зеркало из https://github.com/mozilla/pjs.git
Bug 419298 - Dialog icons should be displayed in the native OS theme size without scaling. r=neil
This commit is contained in:
Родитель
e070143134
Коммит
c9433a8856
|
@ -51,7 +51,7 @@
|
|||
|
||||
<rows>
|
||||
<row>
|
||||
<hbox align="start">
|
||||
<hbox id="iconContainer" align="start">
|
||||
<image id="info.icon" class="spaced"/>
|
||||
</hbox>
|
||||
<vbox id="infoContainer">
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
#filler {
|
||||
-moz-margin-start: -8px;
|
||||
-moz-margin-end: -10px;
|
||||
}
|
||||
|
||||
#iconContainer {
|
||||
-moz-box-pack: center;
|
||||
min-height: 55px; /* maximum icon height + icon margin */
|
||||
min-width: 58px; /* maximum icon width + icon margin */
|
||||
}
|
||||
|
||||
#info\.icon {
|
||||
max-width: 48px;
|
||||
max-height: 48px;
|
||||
/* The 'spaced' class does this already. It's repeated here to make it clearer
|
||||
what margin values the #iconContainer's min-height and max-height depend on: */
|
||||
margin: 3px 5px 4px;
|
||||
}
|
|
@ -94,15 +94,6 @@ window.dialog {
|
|||
|
||||
/* ::::: alert icons :::::*/
|
||||
|
||||
.message-icon,
|
||||
.alert-icon,
|
||||
.error-icon,
|
||||
.question-icon,
|
||||
.authentication-icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.message-icon {
|
||||
list-style-image: url("moz-icon://stock/gtk-dialog-info?size=dialog");
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@ toolkit.jar:
|
|||
+ skin/classic/global/autocomplete.css
|
||||
+ skin/classic/global/button.css
|
||||
+ skin/classic/global/checkbox.css
|
||||
+ skin/classic/global/commonDialog.css
|
||||
+ skin/classic/global/dropmarker.css
|
||||
+ skin/classic/global/filefield.css
|
||||
+ skin/classic/global/filepicker.css
|
||||
|
|
Загрузка…
Ссылка в новой задаче