colouring-montreal/app/src/frontend/styles/forms.css
2021-03-16 19:02:11 +00:00

51 lines
876 B
CSS

/**
* Forms
*/
input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"] {
border-color: #999;
padding: 0.25rem 0.5rem;
border-radius: 0;
}
input[type="number"] {
padding-right: 0.25rem;
}
/* Only show number input controls on hover in Firefox */
input[type="number"] {
-moz-appearance: textfield;
}
input[type="number"]:hover:not(:disabled) {
-moz-appearance: unset;
}
form .alert {
margin: 0.5rem 0;
}
.form-check-input {
margin-top: 0.6rem;
margin-left: 0;
left: 0;
}
label {
margin: 0.5em 0 0;
}
.buttons-container {
margin-bottom: 0.75rem;
}
.buttons-container.with-space {
margin-top: 1rem;
/* padding: 0 0.75rem; */
}
.buttons-container .btn {
margin-bottom: 0.25rem;
margin-right: 0.25rem;
}
.buttons-container.btn-center {
margin-right: 0;
text-align: center;
}