]> git.parisson.com Git - pdf.js.git/commitdiff
Fix the error box.
authorBrendan Dahl <brendan.dahl@gmail.com>
Thu, 26 Apr 2012 00:20:13 +0000 (17:20 -0700)
committerBrendan Dahl <brendan.dahl@gmail.com>
Thu, 26 Apr 2012 00:20:13 +0000 (17:20 -0700)
web/viewer.css
web/viewer.html

index 42de239cb0458227f216b404dfd654fe0e1ea3ff..6b666855a7dd8257d89ebd9ad8731e98623212eb 100644 (file)
@@ -14,6 +14,13 @@ body {
   font-family: Segoe UI, Verdana, sans-serif;
 }
 
+.hidden {
+  display: none;
+}
+[hidden] {
+  display: none !important;
+}
+
 /* outer/inner center provides horizontal center */
 .outerCenter {
   float: right;
@@ -474,9 +481,6 @@ body {
   padding: 10px 40px 0;
   overflow: auto;
 }
-#thumbnailView.hidden {
-  display:none;
-}
 
 .thumbnail {
   margin-bottom: 15px;
@@ -542,9 +546,6 @@ body {
   -moz-user-select:none;
   -webkit-user-select:none;
 }
-#outlineView.hidden {
-  display:none;
-}
 
 .outlineItem > .outlineItems {
   margin-left: 20px;
@@ -732,9 +733,9 @@ canvas {
   background: none repeat scroll 0 0 #FF5555;
   color: white;
   left: 0;
-  position: fixed;
+  position: absolute;
   right: 0;
-  top: 30px;
+  top: 32px;
   z-index: 1000;
   padding: 3px;
   font-size: 0.8em;
index 04eb878d9563138b6b2fbe1618edd957fd2060c2..00e09cd6852d82c73fbccbf5654336d89eadf483 100644 (file)
         </div>
 
         <div id="viewerContainer">
-          <div id="viewer" />
+          <div id="viewer"></div>
         </div>
 
         <div id="loadingBox">
             <div id="loading">Loading... 0%</div>
             <div id="loadingBar"><div class="progress"></div></div>
         </div>
+
+        <div id="errorWrapper" hidden='true'>
+          <div id="errorMessageLeft">
+            <span id="errorMessage"></span>
+            <button id="errorShowMore" onclick="" oncontextmenu="return false;">
+              More Information
+            </button>
+            <button id="errorShowLess" onclick="" oncontextmenu="return false;" hidden='true'>
+              Less Information
+            </button>
+          </div>
+          <div id="errorMessageRight">
+            <button id="errorClose" oncontextmenu="return false;">
+              Close
+            </button>
+          </div>
+          <div class="clearBoth"></div>
+          <textarea id="errorMoreInfo" hidden='true' readonly="readonly"></textarea>
+        </div>
       </div> <!-- mainContainer -->
 
     </div> <!-- outerContainer -->
-
-    <div id="errorWrapper" hidden='true'>
-      <div id="errorMessageLeft">
-        <span id="errorMessage"></span>
-        <button id="errorShowMore" onclick="" oncontextmenu="return false;">
-          More Information
-        </button>
-        <button id="errorShowLess" onclick="" oncontextmenu="return false;" hidden='true'>
-          Less Information
-        </button>
-      </div>
-      <div id="errorMessageRight">
-        <button id="errorClose" oncontextmenu="return false;">
-          Close
-        </button>
-      </div>
-      <div class="clearBoth"></div>
-      <textarea id="errorMoreInfo" hidden='true' readonly="readonly"></textarea>
-    </div>
-
   </body>
 </html>