Skip to main content

Lightbox

These styles define the look and feel of lightboxes.

Common​

AttributeTypeDefaultDescription
lightbox.widthpercent0.94Lightbox width
lightbox.heightpercent0.94Lightbox height
lightbox.verticalpaddinginteger0Vertical padding

In pixels

lightbox.horizontalpaddinginteger0Horizontal padding

In pixels

Transitions​

Showing the lightbox​

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

In seconds. Use 0 for no transition.

Border​

info

Inherit from common.theme.border

AttributeTypeDefaultDescription
lightbox.border.colorcolorBorder color
lightbox.border.sizeinteger0Border thickness

In pixels

lightbox.border.alphapercent0Border opacity
lightbox.border.radiusinteger0Corner radius

In pixels

Background​

info

Inherit from common.theme.background

AttributeTypeDefaultDescription
lightbox.background.colorcolorBackground color
lightbox.background.alphapercent0Background opacity

Shadow​

info

Inherit from common.theme.shadow

AttributeTypeDefaultDescription
lightbox.shadow.colorcolorShadow color
lightbox.shadow.sizeinteger0Shadow size

In pixels

lightbox.shadow.anglerange0Shadow angle

In degrees starting from the right and going clockwise.

lightbox.shadow.alphapercent0Shadow opacity

Close button​

The lightbox close button

warning

Coming soon