Skip to content

Custom css file (green as main color) for Seafile Server

Notifications You must be signed in to change notification settings

42p/seafile_custom_css_green

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content/Inhalt

English README: Custom css file for the Seafile server

Intro

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.

Installation

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

Notes

  • 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

Dark theme

You will find a very eraly alpha version of a dark theme in the branch dark of this repo.

Deutsche README: Eigene css-Datei für den Seafile-Server

Intro

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.

Installation

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

Sonstiges

  • 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

Dunkles Thema

Eine frühe Alpha-Version des dunklen Themes ist im Branch dark dieses Repos zu finden.

Screenshots

Login Navbar Main

About

Custom css file (green as main color) for Seafile Server

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages