From 9716e5b65e0eb6ee663939b5f3c772aded52827b Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sun, 5 Feb 2017 08:44:55 -0800 Subject: [PATCH] Only show item action buttons on hover --- frontend/css/style.css | 15 ++++++++++++++- frontend/index.html | 9 +++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/frontend/css/style.css b/frontend/css/style.css index 05336ab..ff1dc84 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css @@ -63,4 +63,17 @@ footer { footer:hover { opacity: 1; -} \ No newline at end of file +} + +th { + overflow: hidden; +} + +.entry-toolbar { + opacity: 0; + transition: opacity .25s; +} + +tr:hover .entry-toolbar { + opacity: 1; +} diff --git a/frontend/index.html b/frontend/index.html index 4c16ed5..c0a6a4e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -148,7 +148,7 @@ Name Size Modified - Action +   @@ -166,7 +166,12 @@ {{ entry.filePath }} {{ entry.size | prettyFileSize }} {{ entry.mtime | prettyDate }} - + + + + + + -- 2.41.0