Form (Create digital order)
In this documentation, you will be able to style directly key components in the creation view.
Under the "resources/settings" directory you can add a form.json file:
Important to have the name of the file correctly spelled otherwise the changes will be ignored.
KEY | REQUIRED | DESCRIPTION TEXT | TYPE |
---|---|---|---|
root | false | Adding default styles for the particular ui item. | Object |
active | false | Adding active styles for the particular ui item. If the item has an active state it will use these properties. |
Object |
disabled |
false |
Adding disabled styles for the particular ui item. |
Object |
hover |
false |
Adding styles for the particular ui item when hovering over with the mouse cursor. |
Object |
focus |
false |
Adding focus styles for the particular ui item. When tabbing in element view |
Object |
Buttons - Navigation changes
Below you will see how to change the navigation buttons to a different color.
<p>{
"buttons": {
"navigation": {
"root": { "background": "#CCC", "color": "black" },
"active": {},
"disabled": {},
"hover": {},
"focus": {}
}
}
}</p>
Click to copy