From: Steffen Märcker Date: Tue, 27 Dec 2011 10:49:11 +0000 (+0100) Subject: fixed viewer.css to support Opera's linear gradients and transitions X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=440a47e5934d85b945ebc0da78a7ef7d59325136;p=pdf.js.git fixed viewer.css to support Opera's linear gradients and transitions --- diff --git a/web/viewer.css b/web/viewer.css index 0b64d9d..072b2c0 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -15,6 +15,7 @@ body { /* === Toolbar === */ #controls { background-color: #eee; + background: -o-linear-gradient(bottom,#eee 0%,#fff 100%); background: -moz-linear-gradient(center bottom, #eee 0%, #fff 100%); background: -webkit-gradient(linear, left bottom, left top, color-stop(0.0, #ddd), color-stop(1.0, #fff)); border-bottom: 1px solid #666; @@ -82,6 +83,7 @@ span#info { bottom: 18px; left: -290px; transition: left 0.25s ease-in-out 1s; + -o-transition: left 0.25s ease-in-out 1s; -moz-transition: left 0.25s ease-in-out 1s; -webkit-transition: left 0.25s ease-in-out 1s; z-index: 1; @@ -90,6 +92,7 @@ span#info { #sidebar:hover { left: 0px; transition: left 0.25s ease-in-out 0s; + -o-transition: left 0.25s ease-in-out 0s; -moz-transition: left 0.25s ease-in-out 0s; -webkit-transition: left 0.25s ease-in-out 0s; }