From: Brendan Dahl Date: Wed, 25 Apr 2012 23:48:01 +0000 (-0700) Subject: Add disabled style for buttons. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=71efba48bb67b08e8e37a3b4728ed3e635bd772b;p=pdf.js.git Add disabled style for buttons. --- diff --git a/web/viewer.css b/web/viewer.css index 45f8a72..42de239 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -161,6 +161,10 @@ body { background-color: rgba(0, 0, 0, 0); } +.toolbarButton[disabled] { + opacity: .5; +} + .splitToolbarButton:hover > .toolbarButton, .splitToolbarButton.toggled > .toolbarButton { background-color: hsla(0,0%,0%,.12);