diff --git a/examples/mobile-viewer/viewer.css b/examples/mobile-viewer/viewer.css index bd0b7790c..3135c4c63 100644 --- a/examples/mobile-viewer/viewer.css +++ b/examples/mobile-viewer/viewer.css @@ -81,7 +81,7 @@ footer { border-width: 0; background-position: center center; background-repeat: no-repeat; - background-color: transparent; + background-color: rgba(0, 0, 0, 0); } .toolbarButton.pageUp { @@ -110,7 +110,7 @@ footer { left: 36%; text-align: center; border: 0; - background-color: transparent; + background-color: rgba(0, 0, 0, 0); font-size: 1.2rem; color: #FFF; background-image: url(images/div_line_left.png), url(images/div_line_right.png); @@ -230,7 +230,7 @@ canvas { #errorWrapper { background: none repeat scroll 0 0 #FF5555; - color: white; + color: rgba(255, 255, 255, 1); left: 0; position: absolute; right: 0; @@ -250,7 +250,7 @@ canvas { #errorMoreInfo { background-color: #FFFFFF; - color: black; + color: rgba(0, 0, 0, 1); padding: 0.3rem; margin: 0.3rem; width: 98%; diff --git a/web/pdf_viewer.css b/web/pdf_viewer.css index 28f9f79a7..845c2683c 100644 --- a/web/pdf_viewer.css +++ b/web/pdf_viewer.css @@ -29,7 +29,7 @@ border: 9px solid transparent; background-clip: content-box; border-image: url(images/shadow.png) 9 9 repeat; - background-color: white; + background-color: rgba(255, 255, 255, 1); } .pdfViewer.removePageBorders .page { diff --git a/web/viewer.css b/web/viewer.css index 32be338fb..f344335aa 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -64,7 +64,7 @@ select { #viewerContainer.pdfPresentationMode:fullscreen { top: 0px; - border-top: 2px solid transparent; + border-top: 2px solid rgba(0, 0, 0, 0); background-color: #000; width: 100%; height: 100%; @@ -408,7 +408,7 @@ html[dir='rtl'] .secondaryToolbar { .doorHanger:after, .doorHanger:before, .doorHangerRight:after, .doorHangerRight:before { bottom: 100%; - border: solid transparent; + border: solid rgba(0, 0, 0, 0); content: " "; height: 0; width: 0; @@ -581,7 +581,7 @@ html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child { margin-right: -1px; border-top-left-radius: 2px; border-bottom-left-radius: 2px; - border-right-color: transparent; + border-right-color: rgba(0, 0, 0, 0); } html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child, html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child { @@ -590,7 +590,7 @@ html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child { margin-left: -1px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; - border-left-color: transparent; + border-left-color: rgba(0, 0, 0, 0); } .splitToolbarButtonSeparator { padding: 8px 0; @@ -623,7 +623,7 @@ html[dir='rtl'] .splitToolbarButtonSeparator { .overlayButton { min-width: 16px; padding: 2px 6px 0; - border: 1px solid transparent; + border: 1px solid rgba(0, 0, 0, 0); border-radius: 2px; color: rgba(255, 255, 255, 0.8); font-size: 12px; @@ -1083,7 +1083,7 @@ html[dir='rtl'] .verticalToolbarSeparator { min-width: 16px; padding: 3px 6px 3px 2px; margin: 4px 2px 4px 0; - border: 1px solid transparent; + border: 1px solid rgba(0, 0, 0, 0); border-radius: 2px; color: rgba(217, 217, 217, 1); font-size: 12px; @@ -1132,11 +1132,11 @@ html[dir='rtl'] .thumbnail { } .thumbnailImage { - border: 1px solid transparent; + border: 1px solid rgba(0, 0, 0, 0); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3); opacity: 0.8; z-index: 99; - background-color: white; + background-color: rgba(255, 255, 255, 1); background-clip: content-box; } @@ -1318,7 +1318,7 @@ html[dir='rtl'] .outlineItemToggler::before { #errorWrapper { background: none repeat scroll 0 0 #FF5555; - color: white; + color: rgba(255, 255, 255, 1); left: 0; position: absolute; right: 0; @@ -1340,7 +1340,7 @@ html[dir='rtl'] .outlineItemToggler::before { #errorMoreInfo { background-color: #FFFFFF; - color: black; + color: rgba(0, 0, 0, 1); padding: 3px; margin: 3px; width: 98%; @@ -1413,7 +1413,7 @@ html[dir='rtl'] .outlineItemToggler::before { } .dialog :link { - color: white; + color: rgba(255, 255, 255, 1); } #passwordOverlay > .dialog { @@ -1452,8 +1452,8 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { } .fileInput { - background: white; - color: black; + background: rgba(255, 255, 255, 1); + color: rgba(0, 0, 0, 1); margin-top: 5px; visibility: hidden; position: fixed; @@ -1462,7 +1462,7 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { } #PDFBug { - background: none repeat scroll 0 0 white; + background: none repeat scroll 0 0 rgba(255, 255, 255, 1); border: 1px solid #666666; position: fixed; top: 32px; @@ -1490,11 +1490,11 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { font-weight: bold; } .debuggerShowText { - background: none repeat scroll 0 0 yellow; - color: blue; + background: none repeat scroll 0 0 rgba(255, 255, 0, 1); + color: rgba(0, 0, 255, 1); } .debuggerHideText:hover { - background: none repeat scroll 0 0 yellow; + background: none repeat scroll 0 0 rgba(255, 255, 0, 1); } #PDFBug .stats { font-family: courier; @@ -1522,19 +1522,19 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { #viewer.textLayer-visible .textLayer > span { background-color: rgba(255, 255, 0, 0.1); - color: black; + color: rgba(0, 0, 0, 1); border: solid 1px rgba(255, 0, 0, 0.5); box-sizing: border-box; } #viewer.textLayer-hover .textLayer > span:hover { - background-color: white; - color: black; + background-color: rgba(255, 255, 255, 1); + color: rgba(0, 0, 0, 1); } #viewer.textLayer-shadow .textLayer > span { background-color: rgba(255, 255, 255, 0.6); - color: black; + color: rgba(0, 0, 0, 1); } .grab-to-pan-grab { @@ -1548,9 +1548,8 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { .grab-to-pan-grabbing { cursor: url("images/grabbing.cur"), move !important; cursor: grabbing !important; - position: fixed; - background: transparent; + background: rgba(0, 0, 0, 0); display: block; top: 0; left: 0; @@ -1771,7 +1770,7 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { @media print { /* General rules for printing. */ body { - background: transparent none; + background: rgba(0, 0, 0, 0) none; } /* Rules for browsers that don't support mozPrintCallback. */ @@ -1794,7 +1793,7 @@ html[dir='rtl'] #documentPropertiesOverlay .row > * { border: none; box-shadow: none; background-clip: content-box; - background-color: white; + background-color: rgba(255, 255, 255, 1); } .page[data-loaded] {