Giter Site home page Giter Site logo

mcbeav / finder.css Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 0.0 49 KB

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.

Home Page: https://github.com/mcbeav/Finder.css

License: MIT License

CSS 43.39% SCSS 56.61%
css stylesheet stylesheets scss self-hosted filesystem files

finder.css's Introduction

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.

finder.css's People

Contributors

mcbeav avatar

Stargazers

immateria avatar COxDE avatar  avatar Elevons J. Keloids avatar  avatar Nick S. Knutov avatar Baraka avatar BDR avatar

Watchers

 avatar  avatar

finder.css's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.