From e9d94ce6144746fe69a3d9f26e12a8fab9d4a534 Mon Sep 17 00:00:00 2001 From: Alex Vitkov Date: Fri, 12 Feb 2021 16:27:47 +0200 Subject: right click context menu on files --- css/style.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'css/style.css') diff --git a/css/style.css b/css/style.css index 39a545c..bbd2035 100644 --- a/css/style.css +++ b/css/style.css @@ -331,3 +331,31 @@ input[type=submit]:hover { .pathentry:hover { text-decoration: underline; } + +.context { + background: white; + position: absolute; + z-index: 1000; + list-style-type: none; + margin: 0; + padding: 0; + top: 0; + left: 0; + + border: 1px solid #ccc; + box-shadow: 0 0.3rem 0.5rem rgba(0,0,0,0.2); +} + +.context > li { + padding: 0.4rem 1.5rem; + margin: 0; + + user-select: none; + -webkit-user-select: none; + -ms-user-select: none; +} + +.context > li:hover { + background: #2e91db; + color: white; +} -- cgit v1.2.3