CSS cleanup
authorMichael Ang <mang@archive.org>
Thu, 30 Sep 2010 21:16:19 +0000 (21:16 +0000)
committerMichael Ang <mang@archive.org>
Thu, 30 Sep 2010 21:16:19 +0000 (21:16 +0000)
BookReader/BookReader.css
BookReader/BookReader.js

index cf59dc8..b923a40 100644 (file)
@@ -346,15 +346,18 @@ a.BRgrey:visited   { color: #666; }
     background-image: url(images/transparent.png); # Required to capture mouse on IE
 }
 
-/* XXXmang still needed? */
 .BRtwoPagePopUp {
-    border: 1px solid black;
-    padding: 2px 6px;
+    padding: 6px;
     position: absolute;
-    font-family: sans-serif;
-    font-size: 14px;
-    background-color: rgb(255, 255, 238);
-    opacity: 0.85;
+    font-family: Arial, sans-serif;
+    font-size: 11px;
+    color: white;
+    background-color: #939598;
+    opacity: 0.85,
+    -webkit-border-radius: 4px;
+    -moz-border-radius: 4px;
+    border-radius: 4px;
+    white-space: nowrap;
 }
 
 /* COLORBOX POP-UP */
index 726f713..2082923 100644 (file)
@@ -1529,20 +1529,7 @@ BookReader.prototype.prepareTwoPagePopUp = function() {
     this.twoPagePopUp = document.createElement('div');
     this.twoPagePopUp.className = 'BRtwoPagePopUp';
     $(this.twoPagePopUp).css({
-        zIndex: '1000',
-        // XXXmang move to CSS
-        padding: '6px',
-        position: 'absolute',
-        fontFamily: 'Arial,sans-serif',
-        fontSize: '11px',
-        color: 'white',
-        zIndex: '1000',
-        backgroundColor: '#939598',
-        opacity: 0.85,
-        webkitBorderRadius: '4px',
-        mozBorderRadius: '4px',
-        borderRadius: '4px',
-        whiteSpace: 'nowrap'
+        zIndex: '1000'
     }).appendTo('#BRcontainer');
     $(this.twoPagePopUp).hide();