Form Style 3
This option is to style your forms by adding "form-style-3" to any form you'd like to style.
Step 1
Add the following code to the header of your app.
<style>
.form-style-3 .af-form h3 {
font-weight: 500;
font-size: 2rem;
color: #181C32;
margin: 0rem -3rem 2rem -3rem;
background: #f3f6f9;
padding: 3rem;
}
.form-style-3 .form-submit.row {
background: #f3f6f9;
margin-left: -3rem;
margin-right: -3rem;
padding-left: 14px;
}
.form-style-3 .form-submit.row .col-md-12 {
padding-top: 2rem;
padding-bottom: 2rem;
}
.form-style-3 .af-form form {
padding: 0rem 3rem;
background: #ffffff;
border-radius: 1rem;
display: grid;
webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.form-style-3 span.lbl {
font-weight: 400;
}
.form-style-3 .form-control {
color: #3F4254;
background-color: #ffffff;
border: 1px solid #E4E6EF;
border-radius: 0.42rem;
box-shadow: none;
}
.form-style-3 .af-form-submit {
border-radius: 0.8rem;
color: #ffffff;
background-color: #1BC5BD;
border-color: #1BC5BD;
}
.form-style-3 .af-form-submit:hover {
color: #ffffff;
background-color: #0BB7AF;
border-color: #0BB7AF;
}
/* hide form field title */
.field-hide-title span.lbl {
display: none;
}
/* button round border */
.btn-round-border .af-form-submit {
background: none;
color: #1BC5BD;
border: 2px solid #1BC5BD;
}
.btn-round-border .af-form-submit:hover {
color: #ffffff;
background-color: #0BB7AF;
border-color: #0BB7AF;
}
</style>
Step 2
Add the class selector "form-style-3" to any form you'd like to style.
Original Community Post:
UI/UX CSS works - Community Discussions / Getting Started - Tadabase Community
We'd love to hear your feedback.