Portal Styles Customization (Logos, Colors, Date Patterns)

Change Logos in Portal

You can change both the top-left corner logo in the menu and the login logo by using Engine Branding.

We have two different logo graphics for the expanded and the collapsed menu. You can use one “pure” logo for the small, quadratic format (default: 42x42 pixels), and a logo with a slogan for the bigger one. The larger logo is intended to have a 4:1 width:height ratio (default: 168x42 pixels).

The best graphics format for logos is SVG (Scalable Vector Graphics) as it allows to scale while retaining proportions - logos are always rendered as good as possible in the current resolution. The resolution is defined by the browser window size and zoom as well as the screen resolution. In addition, SVG files are usually pretty small because they are text files. All modern browsers can render SVG graphics.

On the other hand, PNG logos may blur when expanded, and they result in large file sizes if supplied in high resolution to prevent the blurring.

We recommend using images with a transparent background, if your Corporate Identity does not define a mandatory background color.

To change the logos used in the Portal, please use resources that are described at User Interface Branding and follow the guidelines below.

Favicon

  • Use resource favicon to update the favicon.

    Tip

    • We recommend using an image with size 16x16 or 32x32 pixels.

Change Portal Styles

The Portal uses modern CSS Variable to support style customization.

To customize the Portal styles in an upgrade safe way, we suggest that you copy all CSS variables and styles which you plan to override from the files portal-root-variables.css, portal-variables-light.css, and portal-variables-dark.css to file custom.css.

Refer to Engine Branding for the location of custom.css.

Caution

Please do not modify portal-root-variables.css, portal-variables-light.css, portal-variables-dark.css and portal.css directly because they may change in a future Portal version.

Below is the list of some Portal elements which are using customizable colors:

Variable

Default value

Description

--first-header-bar-color

hsl(195,100%,29%)

Color of the first header bar on the topbar menu

--second-header-bar-color

hsl(195,100%,29%)

Color of the second header bar on the topbar menu

--third-header-bar-color

hsl(195,100%,29%)

Color of the third header bar on the topbar menu

--task-low-priority-color

#90DDE9

Color of the low-priority icon on the task list

--task-normal-priority-color

#49BAD6

Color of the normal priority icon on the task list

--task-high-priority-color

#007095

Color of the high-priority icon on the task list

--task-exception-priority-color

#EE4A52

Color of the exception priority icon on the task list

--task-state-suspended-background

#DADADA

Color of the suspended state indicator on the task, case list

--task-state-resumed-background

#FFE896

Color of the resumed state indicator on the task, case list

--task-state-done-background

#D4EBA2

Color of the done state indicator on the task, case list

--task-state-parked-background

rgba(0, 112, 149, 0.2)

Color of the parked state indicator on the task, case list

--task-state-failed-background

#EE4A52

Color of the failed state indicator on the task, case list

--task-state-failed-text-color

var(–ivy-primary-color-white)

Text color of the failed state indicator on the task, case list

You can customize the Portal styles in custom.css.

For example, to customize the default font-family:

  1. After the START OVERRIDING PORTAL STYLES section, add a new @font-face block with your font-family name, and the URLs of the family member fonts.

  2. Inside the :root tag, change the value of --portal-font-family to your font-family name.

Tip

  • As the size measure unit for font-size, the Portal uses rem. Font sizes of all elements are calculated based on the font size of the html element.

  • If --primary-color is a bright color (such as yellow or light blue), you may want to change --primary-text-color to black. It ensures that text on buttons and other components is legible as it has high contrast.

Tip

If you are using IFrames and you want to customize the colors of the project specific UIs, then refer to this documentation https://developer.axonivy.com/doc/12.0.4/designer-guide/how-to/overrides.html?#override-new-wizard

Warning

  • Do not change font-family property values.