From 4de2f0290845c6b1bb992d1d3d4a07c8f1cd14de Mon Sep 17 00:00:00 2001 From: Wim Brand Date: Mon, 8 Oct 2018 15:10:55 +0200 Subject: [PATCH] tweak file button hover effect --- res/static/res/style/layout.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/res/static/res/style/layout.css b/res/static/res/style/layout.css index 48be0e0..b501bf6 100644 --- a/res/static/res/style/layout.css +++ b/res/static/res/style/layout.css @@ -208,7 +208,7 @@ pre{ overflow-y: scroll; } -.file_button, .file_button:hover{ +.file_button{ position: relative; box-sizing: border-box; width: 310px; @@ -225,6 +225,11 @@ pre{ line-height: 120%; display: inline-block; } +.file_button:hover{ + box-shadow: 0px 0px 10px 3px var(--highlight_color); + text-decoration: none; + color: var(--text_color); +} .file_button > img{ max-height: 60px; max-width: 120px;