Custom styles for File-Browser V 2.0. The stylesheet aims to style the service to look similar to Finder in macOS. Dark mode support has been added, padding, margins, colors, & layout have been modified to resemble Finder's icon view & list view.
Instructions found On
Custom branding configuration can be set using the CLI or through the settings page while filebrowser is running. Click Settings in the navigation menu, and click the Global Settings tab, and specify the absolute file path pointing to where custom.css is stored.
Custom branding configuration can be set through the settings page while filebrowser is running, or through the CLI. Using the CLI issue the command to point to the location where custom.css is located
filebrowser config set --branding.name "My Name" \
--branding.files "/abs/path/to/my/dir" \
--branding.disableExternal
The stylesheet can be used as is by placing the custom.css file inside of the folder designated to be the custom branding directory for File-Browser.
Compile the main.scss file using any sass compiler & name the output file custom.css or use the custom.css file located in the css folder. The package.json file calls for node-sass.
npm install
- Installs the required node modules to compile the scss files & output the custom.css file.
npm run build
- Compiles the scss files & outputs a readable, fully expanded custom.css file to the css folder with all the style declarations fully expanded.
npm run production
- Compiles the scss files & outputs a minified & compact custom.css file to the css folder.
- 1.0.1 - Bug Fixes
- Fixed Background Showing White If File List Was Not Long Enough While In Dark Mode
- Fixed Search Input Placeholder Color Displaying As Black In Firefox In Dark Mode
- Fixed Text Selection Styles Not Rendering In Firefox
- 1.0.0 - Initial Release
This will likely never be completed because I do not know how to modify the page being served without recompiling the File-Browser service. If I could modify the page being served without the extra steps, I would make these modifications
- Polyfill Backdrop Blur For Mozilla
- Change Side Bar From Menu Items To Specific Folders Like Finder
- Rework / Restyle The Breadcrumb Links
- Fix Text Selection Styles Not Rendering In Chrome Due To A Browser Bug
This project is licensed under the MIT License - see the LICENSE file for details.