Skip to main content

Lightbox

These styles define the look and feel of lightboxes.

Common​

AttributeTypeDefaultDescription
lightbox.width
percent0.94Lightbox width
lightbox.height
percent0.94Lightbox height
lightbox.verticalpadding
integer0Vertical padding

In pixels

lightbox.horizontalpadding
integer0Horizontal padding

In pixels

Transitions​

Showing the lightbox​

AttributeTypeDefaultDescription
lightbox.transition.show.duration
float0.3Transition duration

In seconds. Use 0 for no transition.

Border​

info

Inherits from common.theme.border

AttributeTypeDefaultDescription
lightbox.border.color
colorBorder color
lightbox.border.size
integer0Border thickness

In pixels

lightbox.border.alpha
percent0Border opacity
lightbox.border.radius
integer0Corner radius

In pixels

Background​

info

Inherits from common.theme.background

AttributeTypeDefaultDescription
lightbox.background.color
colorBackground color
lightbox.background.alpha
percent0Background opacity

Shadow​

info

Inherits from common.theme.shadow

AttributeTypeDefaultDescription
lightbox.shadow.color
colorShadow color
lightbox.shadow.size
integer0Shadow size

In pixels

lightbox.shadow.angle
range0Shadow angle

In degrees starting from the right and going clockwise.

lightbox.shadow.alpha
percent0Shadow opacity

Close button​

The lightbox close button

warning

Coming soon