mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2024-12-22 09:00:14 +00:00
Harvey Tindall
ade935da4e
Now uses a customized bootstrap that looks something like Jellyfin. Some small ui changes were needed. This be overridden by downloading bs5's css and using the custom_css option if you don't like it. sass file is included for your own modification. Changes made to master have been added also. |
||
---|---|---|
.. | ||
bs5-jf.css | ||
bs5-jf.min.css | ||
bs5-jf.min.css.map | ||
bs5-jf.scss | ||
compile.sh | ||
README.md |
SCSS
bs5-jf.scss
contains the source for the customizations to bootstrap. To customize the UI, you can make modifications to this file and then compile it.
Note: assumes that bootstrap is installed in ../node_modules/bootstrap
relative to itself.
- Compilation requires a sass compiler of your choice, and
postcss-cli
,autoprefixer
+clean-css-cli
from npm. - If you're using
sassc
, run./compile.sh bs5-jf.scss
in this directory. This will create a .css file, and minified .css file. - For
node-sass
, replace thesassc
line incompile.sh
with
node-sass --output-style expanded --precision 6 $1 $css_file
and run as above.
- If you're building from source, copy the minified css to
<jf-accounts git directory>/jellyfin_accounts/data/static/bs5-jf.css
. - If you're just customizing your install, set
custom_css
in your config as the path to your minified css.