Fields
These styles apply to all the viewer input fields such as pageNumbers or the search query field.
View
| Attribute | Type | Default | Description |
|---|---|---|---|
| fields.margin | integer | 4 | Internal padding In pixels |
Text format
info
Inherit from common.theme.background
| Attribute | Type | Default | Description |
|---|---|---|---|
| fields.text.font | select | Text font | |
| fields.text.size | integer | 14 | Text size |
| fields.text.color | color | Text color | |
| fields.text.alpha | percent | 0 | Text opacity |
| fields.text.bold | boolean | false | Use bold text |
| fields.text.italic | boolean | false | Use italic text |
Border
info
Inherit from common.theme.border
| Attribute | Type | Default | Description |
|---|---|---|---|
| fields.border.color | color | Border color | |
| fields.border.size | integer | 0 | Border thickness In pixels |
| fields.border.alpha | percent | 0 | Border opacity |
| fields.border.radius | integer | 4 | Corner radius In pixels |
Background
info
Inherit from common.theme.background
| Attribute | Type | Default | Description |
|---|---|---|---|
| fields.background.color | color | Background color | |
| fields.background.alpha | percent | 0.1 | Background opacity |
Disabled
info
Inherit from fields.text
| Attribute | Type | Default | Description |
|---|---|---|---|
| fields.disabled.font | select | Text font | |
| fields.disabled.size | integer | 0 | Text size |
| fields.disabled.color | color | Text color | |
| fields.disabled.alpha | percent | 0.3 | Text opacity |
| fields.disabled.bold | boolean | false | Use bold text |
| fields.disabled.italic | boolean | false | Use italic text |
Placeholder
info
Inherit from fields.text
| Attribute | Type | Default | Description |
|---|---|---|---|
| fields.placeholder.font | select | Text font | |
| fields.placeholder.size | integer | 0 | Text size |
| fields.placeholder.color | color | Text color | |
| fields.placeholder.alpha | percent | 0.5 | Text opacity |
| fields.placeholder.bold | boolean | false | Use bold text |
| fields.placeholder.italic | boolean | false | Use italic text |