diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-06-29 18:01:45 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-15 17:52:08 +0300 |
commit | 8804378bbd651586921c47b328383bda322fedcd (patch) | |
tree | 08b77cd6521e1858b08f702dc5729ee8696a46b6 /css | |
parent | 7cb55cb86af2e7b6e9d69520225555e38de015dd (diff) |
fix style for disabled and active view, adjust to expectations
Diffstat (limited to 'css')
-rw-r--r-- | css/gallerybutton.css | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/css/gallerybutton.css b/css/gallerybutton.css index 430b184a..9e1152a6 100644 --- a/css/gallerybutton.css +++ b/css/gallerybutton.css @@ -37,28 +37,25 @@ opacity: 0.6; } -#controls .inactive-button { +#controls .disabled-button { + pointer-events: none; background-color: rgb(230, 230, 230); } -#controls .inactive-button img { +#controls .disabled-button img { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=25)"; filter: alpha(opacity=25); opacity: 0.25; } -#controls .inactive-button:hover, -#controls .inactive-button:focus, -#controls .inactive-button a:focus, -#controls .inactive-button.loading { +#controls .disabled-button:hover, +#controls .disabled-button:focus, +#controls .disabled-button a:focus, +#controls .disabled-button.loading { background-color: rgba(255, 255, 255, .95); color: #111; } -#controls .disabled-button { - pointer-events: none; -} - #share-button img, .button.left-switch-button img, .button.right-switch-button img { |