From: Brendan Dahl Date: Tue, 19 Jun 2012 16:02:23 +0000 (-0700) Subject: Merge upstream. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8b0fd2a8f9d847d7b91ec65597c660c7f0856b71;p=pdf.js.git Merge upstream. --- 8b0fd2a8f9d847d7b91ec65597c660c7f0856b71 diff --cc web/viewer.css index 7c7d4f6,0337323..b8e86f2 --- a/web/viewer.css +++ b/web/viewer.css @@@ -146,7 -176,9 +176,9 @@@ html[dir='rtl'] #sidebarContent #toolbarSidebar { width: 200px; - height: 32px; + height: 29px; + background-image: url(images/texture.png), + -webkit-linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95)); background-image: url(images/texture.png), -moz-linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95)); background-image: url(images/texture.png), @@@ -242,17 -284,15 +284,20 @@@ html[dir='rtl'] .splitToolbarButton > . margin-right:0; } +.splitToolbarButton.toggled .toolbarButton { + margin: 0; +} + .splitToolbarButton:hover > .toolbarButton, .splitToolbarButton:focus > .toolbarButton, -.splitToolbarButton.toggled > .toolbarButton { +.splitToolbarButton.toggled > .toolbarButton, +.toolbarButton.textButton { background-color: hsla(0,0%,0%,.12); - background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); + background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); + background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); + background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); + background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); background-clip: padding-box; border: 1px solid hsla(0,0%,0%,.35); border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42); @@@ -855,14 -940,15 +957,15 @@@ canvas float: left; background: #666; - background: -moz-linear-gradient(top, #b2b2b2 0%, #898989 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#999), color-stop(50%,#666), color-stop(100%,#999)); - background: -webkit-linear-gradient(top, #999 0%,#666 50%,#999 100%); - background: -moz-linear-gradient(top, #999 0%, #666 50%, #999 100%); - background: -ms-linear-gradient(top, #999 0%,#666 50%,#999 100%); - background: -o-linear-gradient(top, #999 0%,#666 50%,#999 100%); - background: linear-gradient(top, #999 0%,#666 50%,#999 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b2b2b2), color-stop(100%,#898989)); + background: -webkit-linear-gradient(top, #b2b2b2 0%,#898989 100%); - background: -o-linear-gradient(top, #b2b2b2 0%,#898989 100%); ++ background: -moz-linear-gradient(top, #b2b2b2 0%,#898989 100%); + background: -ms-linear-gradient(top, #b2b2b2 0%,#898989 100%); - background: linear-gradient(top, #b2b2b2 0%,#898989 100%); ++ background: -o-linear-gradient(top, #b2b2b2 0%,#898989 100%); ++ background: linear-gradient(top, #b2b2b2 0%,#898989 100%); + - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; + border-top-left-radius: 2px; + border-bottom-left-radius: 2px; width: 0%; height: 100%;