Make it look nice

This commit is contained in:
2024-08-02 12:44:17 -06:00
parent b80242b74b
commit 71d2e537dd
5 changed files with 3966 additions and 17 deletions

View File

@ -1,26 +1,35 @@
.filepicker {
details:has(input[type=radio]:checked)>summary,
label:has(input[type=radio]:checked) {
background-color: lightblue;
}
.directories {
margin-left: 0.7em;
}
.files>li {
list-style-type: none;
}
.directories+.files {
margin-top: 0;
}
.directories:has(+ .files) {
.files, .directories {
margin-bottom: 0;
margin-top: 0.3em;
}
input[type="radio"] {
display: none;
}
details {
margin: 0 0 0.3em;
}
li {
list-style-type: "📄";
}
summary {
display: list-item;
list-style-position: outside;
details[open] > & {
list-style-type: "📂";
}
details:not([open]) > & {
list-style-type: "📁";
}
}
li, summary {
padding-left: 0.5em;
cursor: pointer;
}
max-height: 30em;
overflow-y: scroll;
}

3937
assets/static/css/picnic.css Normal file

File diff suppressed because it is too large Load Diff