Integrated branding with Themes management

In Abiquo 6.1 you can now brand the platform in the UI to make branding much easier for resellers and platform owners.

With this feature, from the new Themes management tabs, you can create and apply branding for the whole platform, or for resellers and their customers. You can also manage themes for reseller domains and subdomains.

This feature simplifies the previous branding functionality where developers created branding files for all custom themes and administrators loaded them in the operating system and configured them for use in the UI.

The previous Abiquo branding feature is still available and you can use it, as before, to create advanced theme customizations using CSS.

Abiquo will load themes in the following order:

  1. Default theme from CSS file

  2. Domain theme (on the login screen)

  3. Default theme from themes management tab (after login)

 

Default themes and reseller themes

There are two types of themes: the default theme and reseller themes.

The Default theme will load if no others themes (for resellers) are active.

Reseller themes are for resellers and their customer enterprises. The platform will display the reseller theme when it is active. You can also set a reseller theme for domains and subdomains.

There are two new privileges to work with branding for the platform and resellers.

Privileges: Manage default themes, Manage reseller themes

To manage branding themes:

  1. Go to Users view → Themes management tab.

  2. To access the default theme, in the Enterprises list, select All; OR
    To access a reseller theme, in the Enterprises list, select a reseller enterprise. Reseller enterprises have an (R) before their name in the UI.

Screenshots of Themes management

Default themes management view
Default themes management view
Reseller themes management view
Reseller themes management view

Create or modify a theme

The steps to create a default theme and a reseller theme are very similar, but for a reseller you can also configure domains and subdomains. You can create multiple themes of each type, but you can set one default theme as active and one theme per reseller only.

  1. Go to Users view → Themes management tab.

  2. To access the default theme, in the Enterprises list, select All; OR
    To access a reseller theme, in the Enterprises list, select a reseller enterprise. Reseller enterprises have an (R) before their name in the UI

  3. To create a new theme, click + add; OR
    To clone an existing theme, click the clipboard clone button

  4. Enter a unique Name for the theme

  5. Optionally, for a reseller theme, enter the domains and/or subdomains that will use the theme.
    Do not add protocols. For each domain or subdomain you can only add one theme

  6. To make the platform load the theme, select Active

  7. Edit the CSS in basic mode (by default) or advanced mode. If you use advanced mode, you can customize more theme elements

  8. Optionally, perform advanced manual customizations as described in the https://abiquo.atlassian.net/wiki/spaces/ABI61/pages/652347422 :

    1. Customize the theme loader for the platform

    2. Add your own CSS file for advanced customizations such as adjustments to the corners of the popups


Theme CSS sections and element configuration

This section describes all the sections and elements that you can configure when creating or editing a theme.

For some images, you can set a value of none to use no image or remove the default image.

For improved theme rendering, some values must be a tint value of the main color. For color values marked with “**”, use the helper tool to set the recommended value.

Element

UI element

Element

UI element

Main CSS configuration
(basic/advanced)

 

Colors

  • Main color

  • Secondary color

These two colors will be used to set different elements in CSS classes.

In basic mode, colors will be assigned automatically.

In advanced mode, user clicks the Apply buttons to assign colors.

Enterprise logo

  • Recommended size:
    50 px x 50px

 

Login CSS configuration
(basic/advanced)

 

Main login logo path

  • background-image

  • padding-bottom

 

Main login background

  • background-image

  • background-color

 

Left section background

  • background-image

  • background-color

  • color (text color)

 

Cookies bar configuration
(advanced)

 

Bottom cookies bar

  • background-color

  • color (text color)

 

Bottom cookies ‘I understand’ button

  • background-color

  • color (text color)

 

Bottom cookies ‘I understand’ button (hover)

  • background-color

  • color (text color)

 

Bottom cookies ‘policy’ buttons

  • background-color

  • color (text color)

 

Bottom cookies ‘policy’ buttons (hover)

  • background-color

  • color (text color)

 

Buttons, checkboxes and links CSS configuration
(advanced)

 

Main button

  • background-color

  • border-color

 

Main button (disabled)

  • background-color

  • border-color

 

Main button (hover)

  • background-color

  • border-color

 

Active button

  • background-color **

 

Link button

  • color

 

Checkbox

  • background-color

  • border-color

 

Lists, pagination and grids CSS configuration
(advanced)

 

Pagination number color

  • color

 

Main list selected item

  • background-color **

  • color

 

Grid header

  • background-color

  • color

 

Grid selected row

  • background-color

  • color

 

Popup CSS configuration (advanced)

 

Popup header color

  • background-color

 

Popup left menu

  • background-color

  • color

 

Other elements CSS configuration
(advanced)

 

Selected tab underline color

  • border-color

 

Scroll CHROME THUMB

  • background-color

  • border-radius

 

Scroll CHROME HOVER

  • background-color

 

Scroll Firefox - General style

  • background-color

 

 

 


Themes workflow

This feature is a complete solution to customize themes and the workflow provides an overview of the theme management process.


Customize the preloader

You cannot customize the preloader with this new UI feature because it’s the first element loaded before API communication is ready. But, you can customize the preloader for your whole platform with CSS.

To customize the preloader:

  1. Log in to the UI server

  2. Edit the loading-bar CSS file. By default this file is located at /var/www/html/ui/lib/pace/loading-bar.css

  3. In the :root section, change the main-color attribute

    :root { --main-color: #4B0F1E; //Replace this value with your value }
  4. Optionally, make other advanced modifications as required

  5. Save the file

  6. Users should clear their browser cache to load the new UI

Adding an extra level of customization is at your own risk. If the CSS file is not well formatted or if the definitions are not correct, the user interface will not load


Advanced CSS configuration

If you need an extra level of customization (rounded buttons, change login section position, and so on), you can use another physical CSS file to define these changes.

Adding this extra level of customization is at your own risk. If the CSS file is not well formatted or if the definitions are not correct, the user interface will not load

To add an advanced CSS configuration:

  1. Use the old Abiquo CSS branding process to edit the CSS file for a theme.
    See https://abiquo.atlassian.net/wiki/spaces/ABI61/pages/652347422

  2. Add the CSS file to your theme folder. Remember to check the file ownership and access settings because the Abiquo Tomcat server will need to access the branding files

  3. To get Abiquo to load the changes for the whole platform, make the new theme the default theme.
    See https://abiquo.atlassian.net/wiki/spaces/ABI61/pages/652347422/Abiquo+branding+guide#Set-a-default-theme-for-login-and-enterprises-without-themes

 

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved