From 33cc7fc037744e984f82a7222fe5056d9932f26f Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 11 May 2019 12:26:15 +0200 Subject: templates/fluid: Disable index items dimming/highlight on hover Let the album thumbnails shine, no need to dim them as we really want to present the albums. --- templates/fluid/styles.css | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'templates/fluid/styles.css') diff --git a/templates/fluid/styles.css b/templates/fluid/styles.css index b0dc29a..2322f3c 100644 --- a/templates/fluid/styles.css +++ b/templates/fluid/styles.css @@ -638,19 +638,12 @@ div.index_item a { height: 330px; text-align: left; text-decoration: none; - background: linear-gradient(top, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); - background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); - background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); - background: -o-linear-gradient(top, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.05) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); - transition-property: background; - transition-duration: 0.3s; -} - -div.index_item a:hover { background: linear-gradient(top, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.0) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.0) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.0) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); background: -o-linear-gradient(top, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.0) 63%, rgba(0, 0, 0, 0.61) 85%, rgba(0, 0, 0, 0.65) 100%); + transition-property: background; + transition-duration: 0.3s; } div.index_item span.album_text { -- cgit v1.2.3