зеркало из https://github.com/mozilla/gecko-dev.git
Bug 427029 – about:robots looks bad on RTL
This commit is contained in:
Родитель
94bbe69787
Коммит
8820fa245c
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 7.7 KiB |
|
@ -29,6 +29,7 @@
|
|||
# Jeff Walden <jwalden+code@mit.edu>
|
||||
# Johnathan Nightingale <johnath@mozilla.com>
|
||||
# Justin Dolske <dolske@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
|
||||
|
@ -80,13 +81,32 @@
|
|||
}
|
||||
}
|
||||
]]></script>
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
#errorPageContainer {
|
||||
background: url('chrome://browser/content/aboutRobots-icon.png') left 0 no-repeat -moz-Field;
|
||||
-moz-background-origin: content;
|
||||
}
|
||||
|
||||
#errorTrailerDescText {
|
||||
float: right;
|
||||
}
|
||||
|
||||
body[dir=rtl] #errorPageContainer {
|
||||
background-image: url('chrome://browser/content/aboutRobots-icon-rtl.png');
|
||||
background-position: right 0;
|
||||
}
|
||||
|
||||
body[dir=rtl] #errorTrailerDescText {
|
||||
float: left;
|
||||
}
|
||||
]]></style>
|
||||
</head>
|
||||
|
||||
<body dir="&locale.dir;">
|
||||
|
||||
<!-- PAGE CONTAINER (for styling purposes only) -->
|
||||
<div id="errorPageContainer"
|
||||
style="background: url('chrome://browser/content/aboutRobots-icon.png') left 0 no-repeat -moz-Field; -moz-background-origin: content;">
|
||||
<div id="errorPageContainer">
|
||||
|
||||
<!-- Error Title -->
|
||||
<div id="errorTitle">
|
||||
|
@ -113,7 +133,7 @@
|
|||
|
||||
<!-- Short Description -->
|
||||
<div id="errorTrailerDesc">
|
||||
<p id="errorTrailerDescText" style="float: right;">&robots.errorTrailerDescText;</p>
|
||||
<p id="errorTrailerDescText">&robots.errorTrailerDescText;</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -15,6 +15,7 @@ browser.jar:
|
|||
content/browser/aboutDialog.css (content/aboutDialog.css)
|
||||
* content/browser/aboutRobots.xhtml (content/aboutRobots.xhtml)
|
||||
content/browser/aboutRobots-icon.png (content/aboutRobots-icon.png)
|
||||
content/browser/aboutRobots-icon-rtl.png (content/aboutRobots-icon-rtl.png)
|
||||
content/browser/aboutRobots-widget-left.png (content/aboutRobots-widget-left.png)
|
||||
content/browser/aboutRobots-widget-right.png (content/aboutRobots-widget-right.png)
|
||||
* content/browser/browser.css (content/browser.css)
|
||||
|
|
Загрузка…
Ссылка в новой задаче