/base4kids2-roundcube-skin

Kolab Roundcube Webmail Skin for Base4Kids2

Primary LanguageCSS

Roundcube Webmail Skin for "Base4Kids (2)"

This skin is a white-labeled version of the Roundcube upstream Elastic skin. It can be used, modified and redistributed according to the terms described in the LICENSE section.

For information about building or modifying Roundcube skins please visit https://github.com/roundcube/roundcubemail/wiki/Skins

LICENSE

The contents of this folder can be redistributed and/or modified under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

INSTALLATION

Provided the following conditions are met, use ./autogen.sh. Please review this script for individual steps.

  1. Ensure the elastic skin for Roundcube is installed. There should be a complete hierarchy in /usr/share/roundcubemail/skins/elastic/ containing sources of the elastic skin.

  2. Ensure that the libkolab plugin is installed. This should create a complete hierarchy in /usr/share/roundcubemail/plugins/libkolab/skins/elastic/ containing the sources of the elastic skin for the libkolab plugin.

  3. Ensure lessc is available; the package would be called nodejs-less.

./autogen.sh

The result of executing ./autogen.sh should consist of a directory ./skins/base4kids/, and the directories ./public_html/assets/skins/base4kids/ and ./public_html/assets/plugins/libkolab/skins/base4kids/.

These directories need to be moved or copied over to the installed Roundcube; before you do, please ensure there's no left-overs from previous iterations:

$ rm -rf /usr/share/roundcubemail/skins/base4kids/
$ cp -a ./skins/base4kids/ /usr/share/roundcubemail/skins/.

$ rm -rf /usr/share/roundcubemail/public_html/assets/skins/base4kids/
$ cp -a ./public_html/assets/skins/base4kids/ /usr/share/roundcubemail/public_html/assets/skins/.

$ rm -rf /usr/share/roundcubemail/public_html/assets/plugins/libkolab/skins/base4kids/
$ cp -a ./public_html/assets/plugins/libkolab/skins/base4kids/ \
    /usr/share/roundcubemail/public_html/assets/plugins/libkolab/skins/.

In more detail, executing ./autogen.sh will;

  • Copy sources from the elasic skin in to ./skins/base4kids/ (both core and libkolab plugin).

  • Copy the base4kids skin sources in to ./skins/base4kids/. This supplies additional sources, assets and overwrites elastic skin compoments where applicable.

  • Compile the stylesheets from .less files.

  • If python-cssmin is available, the stylesheets are compressed and put in the assets location.

  • If python-cssmin is not available, the uncompressed stylesheets are put in the assets location.

  • If uglifyjs is available, the compressed version of javascript files are put in the assets location.

  • If uglifyjs is not available, the uncompressed version of javascript files are put in the assets location.