diff options
author | Olivier Paroz <github@oparoz.com> | 2015-09-16 00:59:36 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-09-16 00:59:36 +0300 |
commit | a480870ced01b6ae8924c61ea14635d83f5d4aa9 (patch) | |
tree | a6258ff2807d9d58b6eaa0bb0a07c7c0372da68c /css | |
parent | 7d58bffe5d42618a217833fff5848c17ccc356f7 (diff) |
[8.2] Make the Gallery button in Files more discreet
Diffstat (limited to 'css')
-rw-r--r-- | css/gallerybutton.css | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/css/gallerybutton.css b/css/gallerybutton.css index 83e45bcf..a120e01a 100644 --- a/css/gallerybutton.css +++ b/css/gallerybutton.css @@ -5,11 +5,31 @@ #controls .button.view-switcher { float: right; - margin-right: 4px; margin-top: 5px; font-weight: normal; width: 40px; - padding: 8px 11px; + padding: 6px 11px; + background-color: transparent; + border: 1px solid transparent; +} + +#controls .button.view-switcher img{ + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; + filter: alpha(opacity=30); + opacity: .3; +} + +#controls .button.view-switcher.gallery { + float: none; + margin-right: 4px; + padding: 7px 11px; + background-color: rgba(240, 240, 240, .9); +} + +#controls .button.view-switcher.gallery img{ + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; + filter: alpha(opacity=50); + opacity: .5; } #controls .button.sorting { @@ -67,6 +87,12 @@ border: 1px solid rgba(240, 240, 240, .9); } +#controls .button.view-switcher:hover { + background-color: rgba(255, 255, 255, .9); + color: #111; + border: 1px solid rgba(240, 240, 240, .9); +} + #controls .button.sorting.active-button { background-color: rgba(255, 255, 255, .9); color: #111; |