mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +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();
|
.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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user