diff options
| Commit | 90d465275113ddf3d33216486c05ebc8f89f7b03 (patch) | |
|---|---|---|
| Author | 2023-07-10 21:22:57 +0300 | |
| Committer | 2023-07-10 21:22:57 +0300 | |
| Files | f7f0ef79b7580a58ad10f370707ce3e159682fb5 /src/styles.css | |
| syndamia.com-90d465275113ddf3d33216486c05ebc8f89f7b03.tar syndamia.com-90d465275113ddf3d33216486c05ebc8f89f7b03.tar.gz syndamia.com-90d465275113ddf3d33216486c05ebc8f89f7b03.zip | ||
| Parent | b03df02e27292bfbe13e2efb4becb721684a4719 (diff) | |
(file-lists) Reworked to use characters
1 files changed, 4 insertions, 13 deletions
| -rw-r--r-- | src/styles.css | 17 |
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 { |