form.less: Adjust remove & cancel button style sheets

This commit is contained in:
Yonas Habteab 2022-04-12 15:25:29 +02:00
parent a34dc9a8cf
commit fb54ed9b37

View File

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