forms.less: Undo changed button styles

This commit is contained in:
Yonas Habteab 2022-04-13 12:28:22 +02:00
parent c635102d4e
commit f7f93ca25e

View File

@ -304,6 +304,10 @@ form.icinga-form .form-controls {
.btn-primary { .btn-primary {
order: 99; order: 99;
} }
.btn-remove {
margin-right: auto;
}
} }
// Button styles // Button styles
@ -318,13 +322,12 @@ form.icinga-form .form-controls {
input[type="submit"].btn-remove, input[type="submit"].btn-remove,
button[type="submit"].btn-remove { button[type="submit"].btn-remove {
margin-right: auto; .button(@body-bg-color, @color-critical, @color-critical-accentuated);
.cancel-button();
} }
input[type="submit"].btn-cancel, input[type="submit"].btn-cancel,
button[type="button"].btn-cancel { button[type="button"].btn-cancel {
.button(@body-bg-color, @icinga-blue, @icinga-blue); .button(@body-bg-color, @gray, @black);
} }
button.noscript-apply { button.noscript-apply {
@ -343,16 +346,6 @@ form.icinga-form {
button[type="button"] { button[type="button"] {
line-height: normal; line-height: normal;
} }
// Button elements of type button inside a form controls
.form-controls button[type="button"] {
.button();
}
.control-group button[type="button"]:hover {
color: @text-color-on-icinga-blue;
background-color: @icinga-blue;
}
} }
form.inline { form.inline {