mirror of
https://github.com/gtsteffaniak/filebrowser.git
synced 2026-11-26 16:39:41 -05:00
+5








8f2e8add9a
Co-authored-by: Kevin B. <kurami32_kbm@proton.me> Co-authored-by: spatiumstas <79056064+spatiumstas@users.noreply.github.com> Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Andreas Fehn <fehnomenal@fehn.systems> Co-authored-by: Matt Van Horn <mvanhorn@users.noreply.github.com> Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com> Co-authored-by: Takahiro Shimizu <anatofuz@gmail.com> Co-authored-by: Graham Steffaniak <gtsteffaniak@users.noreply.github.com> Co-authored-by: Joel Town Road <13539685+hippi345@users.noreply.github.com> Co-authored-by: beemines <3083452174@qq.com> Co-authored-by: Bee mines <Beemines82@gmail.com> Co-authored-by: dweebzxx <134675545+dweebzxx@users.noreply.github.com> Co-authored-by: Stephan Paternotte <Stephan-P@users.noreply.github.com>
91 lines
2.1 KiB
CSS
91 lines
2.1 KiB
CSS
@media (width <= 768px) {
|
|
/* Narrower list/compact columns (see listing.css) so the name keeps its space */
|
|
:root {
|
|
--listing-col-gap: 0.5rem;
|
|
--listing-col-size: 5rem;
|
|
--listing-col-modified: 8rem;
|
|
}
|
|
|
|
/* .name-related rules, ordered by ascending specificity */
|
|
.list .listing-item .name {
|
|
width: 50%;
|
|
}
|
|
.compact .listing-item .name {
|
|
width: 42%;
|
|
padding-left: 0.5em;
|
|
}
|
|
.listing-item-header .duration,
|
|
.listing-item-header .kind,
|
|
.listing-item-header .created {
|
|
display: none !important;
|
|
}
|
|
.list .listing-item .text .name,
|
|
.list .listing-item .text .modified,
|
|
.list .listing-item .text .size,
|
|
.list .listing-item .text .duration {
|
|
width: 100% !important;
|
|
}
|
|
.list .listing-item .text .modified,
|
|
.list .listing-item .text .size,
|
|
.list .listing-item .text .duration {
|
|
padding-left: 0;
|
|
padding-right: 1em;
|
|
}
|
|
#listingView .header .name {
|
|
width: 50%;
|
|
}
|
|
|
|
/* Other mobile styles */
|
|
.compact .listing-item div:first-of-type {
|
|
width: unset !important;
|
|
}
|
|
.list .listing-item .text {
|
|
flex-direction: column;
|
|
align-items: flex-start !important;
|
|
padding-left: 0.5em;
|
|
width: 100%;
|
|
}
|
|
.list .listing-item .text .created,
|
|
.list .listing-item .text .kind,
|
|
.compact .listing-item .text .created,
|
|
.compact .listing-item .text .kind,
|
|
.compact .listing-item .text .duration {
|
|
display: none !important;
|
|
}
|
|
body {
|
|
padding-bottom: 5em;
|
|
}
|
|
#more {
|
|
display: inherit;
|
|
}
|
|
body.rtl #dropdown {
|
|
right: unset;
|
|
left: 1em;
|
|
transform-origin: top left;
|
|
}
|
|
#listingView {
|
|
margin-bottom: 5em;
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
/* Don't override width for gallery and icons views - they use CSS variables */
|
|
#listingView.list .listing-item,
|
|
#listingView.compact .listing-item,
|
|
#listingView.normal .listing-item {
|
|
width: 100%;
|
|
}
|
|
.listing-items.list .pinned-indicator,
|
|
.listing-items.compact .pinned-indicator {
|
|
margin-right: 0.5em;
|
|
}
|
|
body.rtl #listingView {
|
|
margin-right: unset;
|
|
}
|
|
body.rtl #nav .wrapper {
|
|
margin-right: unset;
|
|
}
|
|
body.rtl .dashboard .row {
|
|
margin-right: unset;
|
|
}
|
|
}
|