]> git.parisson.com Git - pdf.js.git/commitdiff
fixed viewer.css to support Opera's linear gradients and transitions
authorSteffen Märcker <merkste@web.de>
Tue, 27 Dec 2011 10:49:11 +0000 (11:49 +0100)
committerSteffen Märcker <merkste@web.de>
Tue, 27 Dec 2011 10:49:11 +0000 (11:49 +0100)
web/viewer.css

index 0b64d9d86a59cea294f4f82ae159258aaa61abd6..072b2c0335b8639589a3625103eb69d3c4518669 100644 (file)
@@ -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;
 }