Demo only. Everything you upload is visible to every other visitor of this demo, and is deleted again within minutes. Actions are logged, including your IP address. Do not upload anything private, unlawful, or that you are not entitled to share.
The folder tree, the icons and some controls are hidden, and the accent colour is changed — by a stylesheet and a handful of tokens layered over the shipped theme, not by forking it.
Two options put your own CSS into the manager's document, both inserted after
the shipped theme so a rule of equal specificity wins without !important:
new Dosiero({
mode: 'iframe',
endpoint: window.location.origin + '/endpoint/index.php',
iframe: document.getElementById('iframe1'),
stylesheets: ['/custom-theme.css'], // urls, loaded in order
styles: ` // string or string[], inserted last
:root {
--dsr-files-background-selected: #0b5fff;
--dsr-icon-color: #0b5fff;
}
`,
}).open();
Overriding a token is the cheap path and reaches everything derived from it,
icons included — they are masks tinted by --dsr-icon-color, not images with a colour
baked in. Overriding a rule works too; that is what
custom-theme.css does to hide the folder tree, the icons and a few
buttons:
/* one column instead of two - hiding the tree alone would leave its column behind */
body {
grid-template-columns: 1fr;
grid-template-areas: "header" "files" "footer";
}
.dsr-folders { display: none; }
.dsr-header button[data-action="mkdir"],
.dsr-header button[data-action="copy"],
.dsr-header button[data-action="move"] { display: none; }
The token and class names are public API, so this survives upgrades. Use theme
instead of stylesheets to replace the shipped stylesheet outright rather than layer
over it.