Skip to main content

Tooltips

These styles define the look and feel of all contextual tooltips in the viewer.

Common styles​

Common​

All the tooltips inherit from these styles.

AttributeTypeDefaultDescription
tooltips.common.verticalmargin
integer4Vertical padding

In pixels

tooltips.common.horizontalmargin
integer4Horizontal padding

In pixels

tooltips.common.maxwidth
integer150Maximum width for a tooltip

In pixels

tooltips.common.tipsize
integer8Size of the tip

In pixels. Use 0 to remove tip completely.

tooltips.common.delay
float0.5Delay before displaying the tooltip

In seconds

Background​

info

Inherits from common.theme.background

AttributeTypeDefaultDescription
tooltips.common.background.color
colorBackground color
tooltips.common.background.alpha
percent0Background opacity

Border​

info

Inherits from common.theme.border

AttributeTypeDefaultDescription
tooltips.common.border.color
colorBorder color
tooltips.common.border.size
integer0Border thickness

In pixels

tooltips.common.border.alpha
percent0Border opacity
tooltips.common.border.radius
integer0Corner radius

In pixels

Shadow​

info

Inherits from common.theme.shadow

AttributeTypeDefaultDescription
tooltips.common.shadow.color
colorShadow color
tooltips.common.shadow.size
integer0Shadow size

In pixels

tooltips.common.shadow.angle
integer0Shadow angle

In degrees starting from the right and going clockwise

tooltips.common.shadow.alpha
percent0Shadow opacity

Label​

Formats the tooltip label.

info

Inherits from common.text

AttributeTypeDefaultDescription
tooltips.common.text.font
selectText font
tooltips.common.text.size
integer11Text size
tooltips.common.text.color
colorText color
tooltips.common.text.alpha
percent0Text opacity
tooltips.common.text.bold
booleanfalseUse bold text
tooltips.common.text.italic
booleanfalseUse italic text

Transition​

Use these styles to configure the tooltip transitions.

AttributeTypeDefaultDescription
tooltips.common.transition.show.duration
float0.5Duration of the transition

In seconds. Use 0 to remove transition completely.

AttributeTypeDefaultDescription
tooltips.common.transition.move.duration
float0Duration of the transition

In seconds. Use 0 to remove transition completely

Actions​

Action tooltips are shown when the user places the cursor over a <button>.

Common​

info

Inherits from tooltips.common

AttributeTypeDefaultDescription
tooltips.action.verticalmargin
integer0Vertical padding

In pixels

tooltips.action.horizontalmargin
integer0Horizontal padding

In pixels

tooltips.action.maxwidth
integer0Maximum width

In pixels

tooltips.action.tipsize
integer0Size of the tip

In pixels. Use 0 to remove tip completely.

Background​

info

Inherits from tooltips.common.background

AttributeTypeDefaultDescription
tooltips.action.background.color
colorBackground color
tooltips.action.background.alpha
percent0Background opacity

Border​

info

Inherits from tooltips.common.border

AttributeTypeDefaultDescription
tooltips.action.border.color
colorBorder color
tooltips.action.border.size
integer0Border thickness

In pixels

tooltips.action.border.alpha
percent0Border opacity
tooltips.action.border.radius
integer0Corner radius

In pixels

Shadow​

info

Inherits from tooltips.common.shadow

AttributeTypeDefaultDescription
tooltips.action.shadow.color
colorShadow color
tooltips.action.shadow.size
integer0Shadow size

In pixels

tooltips.action.shadow.angle
integer0Shadow angle

In degrees starting from the right and going clockwise

tooltips.action.shadow.alpha
percent0Shadow opacity

Label​

Formats the label.

info

Inherits from tooltips.common.text

AttributeTypeDefaultDescription
tooltips.action.text.font
selectText font
tooltips.action.text.size
integer0Text size
tooltips.action.text.color
colorText color
tooltips.action.text.alpha
percent0.75Text opacity
tooltips.action.text.bold
booleanfalseUse bold text
tooltips.action.text.italic
booleanfalseUse italic text

Page​

Page preview tooltips are shown when the user places the cursor over an internal link or a <button> that triggers a page action (see Button actions ).

Common​

info

Inherits from tooltips.common

AttributeTypeDefaultDescription
tooltips.page.verticalmargin
integer0Vertical padding

In pixels

tooltips.page.horizontalmargin
integer0Horizontal padding

In pixels

tooltips.page.maxwidth
integer0Maximum width

In pixels

tooltips.page.tipsize
integer0Size of the tip

In pixels. Use 0 to remove tip completely.

Background​

info

Inherits from tooltips.common.background

AttributeTypeDefaultDescription
tooltips.page.background.color
colorBackground color
tooltips.page.background.alpha
percent0Background opacity

Border​

info

Inherits from tooltips.common.border

AttributeTypeDefaultDescription
tooltips.page.border.color
colorBorder color
tooltips.page.border.size
integer0Border thickness

In pixels

tooltips.page.border.alpha
percent0Border opacity
tooltips.page.border.radius
integer0Corner radius

In pixels

Shadow​

info

Inherits from tooltips.common.shadow

AttributeTypeDefaultDescription
tooltips.page.shadow.color
colorShadow color
tooltips.page.shadow.size
integer0Shadow size

In pixels

tooltips.page.shadow.angle
integer0Shadow angle

In degrees starting from the right and going clockwise

tooltips.page.shadow.alpha
percent0Shadow opacity

Thumbnail​

Formats the page preview thumbnails.

AttributeTypeDefaultDescription
tooltips.page.thumbnail.size
integer75Thumbnail width

In pixels. The height of the thumbnail will be calculated according to the publication aspect ratio.

info

Inherits from thumbs.border

AttributeTypeDefaultDescription
tooltips.page.thumbnail.border.color
colorBorder color
tooltips.page.thumbnail.border.size
integer0Border thickness

In pixels

tooltips.page.thumbnail.border.alpha
percent0Border opacity
tooltips.page.thumbnail.border.radius
integer0Corner radius

In pixels

info

Inherits from thumbs.background

AttributeTypeDefaultDescription
tooltips.page.thumbnail.background.color
colorBackground color
tooltips.page.thumbnail.background.alpha
percent0.1Background opacity
info

Inherits from thumbs.text

AttributeTypeDefaultDescription
tooltips.page.thumbnail.text.font
selectText font
tooltips.page.thumbnail.text.size
integer0Text size
tooltips.page.thumbnail.text.color
colorText color
tooltips.page.thumbnail.text.alpha
percent0Text opacity
tooltips.page.thumbnail.text.bold
booleanfalseUse bold text
tooltips.page.thumbnail.text.italic
booleanfalseUse italic text

Links tooltips are shown when the user places the cursor over an external link or a <button> that triggers a URL action (see Button actions).

Common​

info

Inherits from tooltips.common

AttributeTypeDefaultDescription
tooltips.link.verticalmargin
integer0Vertical margin

In pixels

tooltips.link.horizontalmargin
integer0Horizontal margin

In pixels

tooltips.link.maxwidth
integer0Maximum width

In pixels

tooltips.link.tipsize
integer0Size of the tip

In pixels. Use 0 to remove tip completely.

Background​

info

Inherits from tooltips.common.background

AttributeTypeDefaultDescription
tooltips.link.background.color
colorBackground color
tooltips.link.background.alpha
percent0Background opacity

Border​

info

Inherits from tooltips.common.border

AttributeTypeDefaultDescription
tooltips.link.border.color
colorBorder color
tooltips.link.border.size
integer0Border thickness

In pixels

tooltips.link.border.alpha
percent0Border opacity
tooltips.link.border.radius
integer0Corner radius

In pixels

Shadow​

info

Inherits from tooltips.common.shadow

AttributeTypeDefaultDescription
tooltips.link.shadow.color
colorShadow color
tooltips.link.shadow.size
integer0Shadow size

In pixels

tooltips.link.shadow.angle
integer0Shadow angle

In degrees starting from the right and going clockwise

tooltips.link.shadow.alpha
percent0Shadow opacity

Label​

Formats the external link label.

info

Inherits from tooltips.common.text

AttributeTypeDefaultDescription
tooltips.link.text.font
selectText font
tooltips.link.text.size
integer12Text size
tooltips.link.text.color
colorText color
tooltips.link.text.alpha
percent0Text opacity
tooltips.link.text.bold
booleantrueUse bold text
tooltips.link.text.italic
booleanfalseUse italic text

URL​

Formats the external link URL.

info

Inherits from tooltips.common.text

AttributeTypeDefaultDescription
tooltips.link.url.font
selectText font
tooltips.link.url.size
integer0Text size
tooltips.link.url.color
colorText color
tooltips.link.url.alpha
percent0.75Text opacity
tooltips.link.url.bold
booleanfalseUse bold text
tooltips.link.url.italic
booleanfalseUse italic text