aboutsummaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
authorAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 16:27:47 +0200
committerAlex Vitkov <alexvitkov98@gmail.com>2021-02-12 16:27:47 +0200
commite9d94ce6144746fe69a3d9f26e12a8fab9d4a534 (patch)
treee29bc7533a7e8c2f2dfdcec8e40cb38bcee147ac /css
parentd682faeaeea940ab8ab6bcb59245a2116bcc80b1 (diff)
downloadfileup-e9d94ce6144746fe69a3d9f26e12a8fab9d4a534.tar.gz
right click context menu on files
Diffstat (limited to 'css')
-rw-r--r--css/style.css28
1 files changed, 28 insertions, 0 deletions
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;
+}