Popups
These styles define the look and feel of popups, including table of contents, related publications and search.
Common
| Attribute | Type | Default | Description |
|---|---|---|---|
| integer | 8 | Vertical padding In pixels |
| integer | 8 | Horizontal padding In pixels |
| integer | 0 | Space between items In pixels |
| integer | 8 | Tip size In pixels. Use 0 to remove tip completely. |
Lightmode
| Attribute | Type | Default | Description |
|---|---|---|---|
| integer | 300 | Light mode width threshold In pixels |
| integer | 300 | Light mode height threshold In pixels |
Content text format
Formats the popup text content.
Inherits from common.text
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
Popup title format
Formats the popup title.
Inherits from popups.text
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 14 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | true | Use bold text |
| boolean | false | Use italic text |
Items
| Attribute | Type | Default | Description |
|---|---|---|---|
| integer | 8 | Vertical padding In pixels |
| integer | 8 | Horizontal padding In pixels |
Transitions
Showing
| Attribute | Type | Default | Description |
|---|---|---|---|
| float | 0.5 | Transition duration In seconds. Use 0 for no transition. |
Resizing
| Attribute | Type | Default | Description |
|---|---|---|---|
| float | 0.5 | Transition duration In seconds. Use 0 for no transition. |
Highlighting
Displayed to highlight the popup content element below the cursor. You can specify a resource from a loaded library. If no resource is specified, a rectangle of the element's size will be displayed.
Inherits from popups.text
| Attribute | Type | Default | Description |
|---|---|---|---|
| color | Rectangle color | |
| percent | 0.15 | Rectangle opacity |
| integer | 0 | Corner radius In pixels |
Border
Inherits from common.theme.border
| Attribute | Type | Default | Description |
|---|---|---|---|
| color | Border color | |
| integer | 0 | Border thickness In pixels |
| percent | 0 | Border opacity |
| integer | 0 | Corner radius In pixels |
Background
Inherits from common.theme.background
| Attribute | Type | Default | Description |
|---|---|---|---|
| color | Background color | |
| percent | 0 | Background opacity |
Shadow
Inherits from common.theme.shadow
| Attribute | Type | Default | Description |
|---|---|---|---|
| color | Shadow color | |
| integer | 0 | Shadow size In pixels |
| integer | 0 | Shadow angle In degrees starting from the right and going clockwise |
| percent | 0 | Shadow opacity |
No result snippet
Common
Coming soon
Label
Formats the text displayed by the "No result" snippet.
Inherits from popups.text
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | No result color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
"Loading" snippet
Common
Coming soon
Label
Inherits from popups.text
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | Text color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
"Load more" snippet
Common
Coming soon
Label
Inherits from popups.text
| Attribute | Type | Default | Description |
|---|---|---|---|
| select | Text font | |
| integer | 0 | Text size |
| color | Load more label color | |
| percent | 0 | Text opacity |
| boolean | false | Use bold text |
| boolean | false | Use italic text |
Close button
The popup close button is displayed when the popup is displayed in "light" mode.
Coming soon
Separator
Inherits from popups.text
Line that separates content elements in a popup.
| Attribute | Type | Default | Description |
|---|---|---|---|
| color | Line color | |
| integer | 1 | Line thickness In pixels |
| percent | 0.1 | Line opacity |