Simple question. How can I change the FormFunction
submit button color? It's possible to do that?
I didn't find any way to do that in the documentation.
The close I got was using PageTheme
option, but there are just 4 pre-defined options.
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityYou can inspect elements of interest and add css with EmbeddedHTML
:
CloudDeploy[
FormFunction[{
EmbeddedHTML["<style> .btn.btn-primary.form-submit{background: #000080;}</style>"],
"first" -> "String",
"second" -> "Number"
},
f
],
Permissions -> "Public"
]
"<style> .btn.btn-primary.form-submit{background: #5bb85b;border: #5bb85b}</style>"
to changer border too.
$\endgroup$