mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 10:57:40 +02:00
form.less: Adjust remove & cancel button style sheets
This commit is contained in:
parent
443a963307
commit
5da7d62913
@ -316,12 +316,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 {
|
||||
@ -340,6 +343,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