зеркало из https://github.com/mozilla/pjs.git
Bug 430904: Use identity error icons on ssl error pages (all platforms), icons by the Tango and Proto teams, patch by Ehsan Akhgari <ehsan.akhgari@gmail.com>, r=mconnor, sr=jst, a=mconnor
This commit is contained in:
Родитель
491124a9a9
Коммит
35f47c0916
|
@ -39,6 +39,7 @@
|
|||
- Henrik Skupin <mozilla@hskupin.info>
|
||||
- Jeff Walden <jwalden+code@mit.edu>
|
||||
- Johnathan Nightingale <johnath@mozilla.com>
|
||||
- Ehsan Akhgari <ehsan.akhgari@gmail.com>
|
||||
-
|
||||
- Alternatively, the contents of this file may be used under the terms of
|
||||
- either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
|
@ -131,6 +132,7 @@
|
|||
// Remove the "Try again" button for security exceptions, since it's
|
||||
// almost certainly useless.
|
||||
document.getElementById("errorTryAgain").style.display = "none";
|
||||
document.getElementById("errorPageContainer").setAttribute("class", "certerror");
|
||||
}
|
||||
else {
|
||||
// Remove the override block for non-certificate errors. CSS-hiding
|
||||
|
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 3.1 KiB |
|
@ -38,6 +38,7 @@ classic.jar:
|
|||
+ skin/classic/global/icons/loading_16.png (icons/loading_16.png)
|
||||
+ skin/classic/global/icons/notloading_16.png (icons/notloading_16.png)
|
||||
+ skin/classic/global/icons/notfound.png (icons/notfound.png)
|
||||
+ skin/classic/global/icons/sslWarning.png (icons/sslWarning.png)
|
||||
+ skin/classic/global/icons/wrap.png (icons/wrap.png)
|
||||
+ skin/classic/global/menu/Menu-arrow.png (menu/Menu-arrow.png)
|
||||
+ skin/classic/global/menu/Menu-arrow-rtl.png (menu/Menu-arrow-rtl.png)
|
||||
|
|
|
@ -50,6 +50,10 @@ ul {
|
|||
-moz-background-origin: content;
|
||||
}
|
||||
|
||||
#errorPageContainer.certerror {
|
||||
background-image: url("chrome://global/skin/icons/sslWarning.png");
|
||||
}
|
||||
|
||||
body[dir="rtl"] #errorPageContainer {
|
||||
background-position: right 0;
|
||||
}
|
||||
|
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 4.0 KiB |
|
@ -160,6 +160,7 @@ classic.jar:
|
|||
+ skin/classic/global/icons/round-button-leftcap.png (icons/round-button-leftcap.png)
|
||||
+ skin/classic/global/icons/round-button-middle.png (icons/round-button-middle.png)
|
||||
+ skin/classic/global/icons/round-button-right.png (icons/round-button-right.png)
|
||||
+ skin/classic/global/icons/sslWarning.png (icons/sslWarning.png)
|
||||
+ skin/classic/global/icons/white-checkbox-active.png (icons/white-checkbox-active.png)
|
||||
+ skin/classic/global/icons/white-checkbox-checked.png (icons/white-checkbox-checked.png)
|
||||
+ skin/classic/global/icons/white-checkbox.png (icons/white-checkbox.png)
|
||||
|
|
|
@ -51,6 +51,10 @@ ul {
|
|||
-moz-background-origin: content;
|
||||
}
|
||||
|
||||
#errorPageContainer.certerror {
|
||||
background-image: url("chrome://global/skin/icons/sslWarning.png");
|
||||
}
|
||||
|
||||
body[dir="rtl"] #errorPageContainer {
|
||||
background-position: right 0;
|
||||
}
|
||||
|
|
|
@ -51,6 +51,10 @@ ul {
|
|||
-moz-background-origin: content;
|
||||
}
|
||||
|
||||
#errorPageContainer.certerror {
|
||||
background-image: url("chrome://global/skin/icons/sslWarning.png");
|
||||
}
|
||||
|
||||
body[dir="rtl"] #errorPageContainer {
|
||||
background-position: right 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче