The Seafile server comes with a standard template that does not look bad, but does not like everyone. This can be changed by overwriting desired parts of the template with own values.
With the custom.css from this repository, the default color orange of the elements is changed to green.
Copy the file custom.css to seahub-data/custom and add the following line to conf/seahub-settings.py:
BRANDING_CSS = 'custom/custom.css'
Finally, the Seafile server (and Seahub) must be restarted. For example in Debian Jessie this can be done with:
sudo systemctl stop seahub.service
sudo systemctl stop seafile.service
sudo systemctl start seafile.service
sudo systemctl start seahub.service
- the icons for folders are not changed and still have the color orange. I'm currently looking for a way to change the folder icon color so that the changes will be kept within a server update.
- custom.css tested with Seafile Server 6.0.7 and 6.0.8
You will find a very eraly alpha version of a dark theme in the branch dark of this repo.
Der Seafile-Server mit mit einem Standard-Template ausgeliefert, das grundsätzlich nicht schlecht aussieht, aber doch nicht jedem gefällt. Das kann man ändern, in dem man gewünschte Teile des Templates mit eigenen Werten überschreibt.
Mit Hilfe der custom.css aus diesem Repository wird die Standardfarbe orange der Elemente in grün geändert.
Dazu muss man die Datei namens custom.css in den Ordner seahub-data/custom kopieren und im conf-Ordner des Seafile-Servers die Datei seahub_settings.py angepassen, in dem folgender Eintrag hinzugefügt wird:
BRANDING_CSS = 'custom/custom.css'
Zuletzt muss noch der Seafile-Server (und Seahub) neugestartet werden. Das erfolgt zum Beispiel bei Debian Jessie mit:
sudo systemctl stop seahub.service
sudo systemctl stop seafile.service
sudo systemctl start seafile.service
sudo systemctl start seahub.service
- die Icons'für Ordner und ähnliches sind nich nicht geändert und haben noch die Farbe orange. Ich suche zur Zeit noch eine Möglichkeit, dass so zu ändern, dass die Änderung bei einem Server-Update erhalten bleibt.
- custom.css getestet mit Seafile Server 6.0.7 und 6.0.8
Eine frühe Alpha-Version des dunklen Themes ist im Branch dark dieses Repos zu finden.