Bug 419298 - Dialog icons should be displayed in the native OS theme size without scaling. r=neil

This commit is contained in:
Dão Gottwald 2010-09-15 09:26:02 +02:00
Родитель ba2a472d29
Коммит e2785f5020
4 изменённых файлов: 20 добавлений и 10 удалений

Просмотреть файл

@ -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