Make .form-horizontal simple with less CSS classes

This commit is contained in:
djmaze 2021-11-16 16:22:05 +01:00
parent dff89ea4e0
commit 071dab01a7
48 changed files with 351 additions and 463 deletions

View file

@ -28,16 +28,16 @@ label.inline, span.inline {
padding: 4px 7px;
}
.alert a {
.alert a:not(.close) {
text-decoration: underline;
color: @warningText;
}
.alert.alert-info a {
.alert.alert-info a:not(.close) {
color: @infoText;
}
.alert.alert-error a {
.alert.alert-error a:not(.close) {
color: @errorText;
}
@ -45,11 +45,13 @@ label.inline, span.inline {
@media screen and (max-width: 999px) {
.form-horizontal {
.control-group {
.control-label {
> label {
text-align: left;
}
.controls {
margin-left: 10px;
// Move over all input controls and content
> *:not(label) {
margin-left: 20px;
}
}
}