mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
form.less: Adjust remove & cancel button style sheets
This commit is contained in:
parent
a34dc9a8cf
commit
fb54ed9b37
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user