form.less: Adjust remove & cancel button style sheets

This commit is contained in:
Yonas Habteab 2022-04-12 15:25:29 +02:00
parent 443a963307
commit 5da7d62913

View File

@ -316,12 +316,15 @@ form.icinga-form .form-controls {
.button(); .button();
} }
input[type="submit"].btn-remove { input[type="submit"].btn-remove,
.button(@body-bg-color, @color-critical, @color-critical-accentuated); button[type="submit"].btn-remove {
margin-right: auto;
.cancel-button();
} }
input[type="submit"].btn-cancel { input[type="submit"].btn-cancel,
.button(@body-bg-color, @gray, @black); button[type="button"].btn-cancel {
.button(@body-bg-color, @icinga-blue, @icinga-blue);
} }
button.noscript-apply { button.noscript-apply {
@ -340,6 +343,16 @@ 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 {