Skip to content

Custom Stylesheet For The Filebrowser Self-Hosted Service Aimed At Bringing A macOS Finder Like Experience With Dark Mode Support To The Service. Colors, Spacing, Sizes, etc. Have Been Changed, & Dark Mode Support Has Been Added.

License

Notifications You must be signed in to change notification settings

mcbeav/Finder.css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finder

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.

Screenshots

  • Desktop

Finder Custom.css Style On Desktop

  • Mobile

Finder Custom.css Style On Mobile

Installation

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.

  • CLI

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
  • Using Custom.css

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.

  • Compiling SCSS

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.

Versions

  • 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

To Do

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

Author

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Custom Stylesheet For The Filebrowser Self-Hosted Service Aimed At Bringing A macOS Finder Like Experience With Dark Mode Support To The Service. Colors, Spacing, Sizes, etc. Have Been Changed, & Dark Mode Support Has Been Added.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published