From 90d465275113ddf3d33216486c05ebc8f89f7b03 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 10 Jul 2023 21:22:57 +0300 Subject: (file-lists) Reworked to use characters --- src/styles.css | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index 1b3b204..6964102 100644 --- a/src/styles.css +++ b/src/styles.css @@ -468,19 +468,10 @@ dt, dd { /* File tables */ .file-wrapper { margin: 0.5em 0; } - .file-wrapper > summary { - background: url('/img/folder-plus.svg') no-repeat left top; - list-style: none; - padding-left: 1.5em; - user-select: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - } - .file-wrapper[open] > summary { - background: url('/img/folder-minus.svg') no-repeat left top; - } - .file-wrapper > summary:hover { cursor: pointer; } + .file-wrapper > summary { list-style: none; } + .file-wrapper > summary::before { content: '\FF0B'; } + .file-wrapper[open] > summary::before { content: '\FF0D'; } + .file-wrapper > summary:hover { cursor: pointer; } .file-wrapper > .file-list { margin-left: 1.5em; } .file-list { -- cgit v1.3.1-23-gd82d