Bug 1160577 - Set styles on #reader-message div instead of wrapper div. r=MattN
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Fri, 01 May 2015 16:10:38 -0700
changeset 273515 15e2e3b21f7447c4891a6197f6c58d5b7e6da71f
parent 273501 a2bcc5840bd0d7cab902989bbc2ceb54d7d7be93
child 273516 6ca86602ed8d2ede097e6b30a37d4923ac174b6d
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN
bugs1160577
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1160577 - Set styles on #reader-message div instead of wrapper div. r=MattN
mobile/android/themes/core/aboutReaderControls.css
toolkit/components/reader/content/aboutReader.html
toolkit/themes/shared/aboutReaderControls.css
--- a/mobile/android/themes/core/aboutReaderControls.css
+++ b/mobile/android/themes/core/aboutReaderControls.css
@@ -1,13 +1,13 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-.message {
+#reader-message {
   margin-top: 40px;
   display: none;
   text-align: center;
   width: 100%;
   font-size: 0.9em;
 }
 
 .header {
--- a/toolkit/components/reader/content/aboutReader.html
+++ b/toolkit/components/reader/content/aboutReader.html
@@ -24,17 +24,17 @@
 
     <div class="content">
       <style scoped>
         @import url("chrome://global/skin/aboutReaderContent.css");
       </style>
       <div id="moz-reader-content"></div>
     </div>
 
-    <div class="message">
+    <div>
       <style scoped>
         @import url("chrome://global/skin/aboutReaderControls.css");
       </style>
       <div id="reader-message"></div>
     </div>
 
     <div id="reader-footer" class="footer">
       <style scoped>
--- a/toolkit/themes/shared/aboutReaderControls.css
+++ b/toolkit/themes/shared/aboutReaderControls.css
@@ -22,17 +22,17 @@
 }
 
 .serif-button {
   font-family: Georgia, "Times New Roman", serif;
 }
 
 /* Loading/error message */
 
-.message {
+#reader-message {
   margin-top: 40px;
   display: none;
   text-align: center;
   width: 100%;
   font-size: 0.9em;
 }
 
 /* Header */