Frontend created and rewritten a few times, with some backend fixes #1

Merged
leo merged 110 commits from plaintable into main 2023-11-08 20:38:40 +00:00
Showing only changes of commit 8114d679ef - Show all commits

View File

@ -303,10 +303,15 @@ table {
width: 100%; width: 100%;
table-layout: fixed; table-layout: fixed;
} }
table input[type='checkbox'] { table thead input[type='checkbox'] {
position: inherit;
width: 1rem; width: 1rem;
height: 1rem; height: 1rem;
} }
table tbody input[type='checkbox'] {
width: 2rem;
height: 2rem;
}
table .selection { table .selection {
width: 1rem; width: 1rem;
} }
@ -392,11 +397,23 @@ tbody tr.cursor {
.name a { .name a {
text-decoration: none; text-decoration: none;
} }
.file .name::before { tr {
height: 2.5rem;
}
tbody .selection input {
z-index: 1;
position: absolute;
opacity: 0;
left: 0;
}
.selection input:checked {
opacity: 1;
}
.file .selection::before {
content: '📄 '; content: '📄 ';
font-size: 1.5em; font-size: 1.5em;
} }
.folder .name::before { .folder .selection::before {
content: '📁 '; content: '📁 ';
font-size: 1.5em; font-size: 1.5em;
} }