dashboards.less: Add styles for disabled input fields

This commit is contained in:
Yonas Habteab 2022-05-30 11:31:32 +02:00
parent 4a32ee7b60
commit da98bb2bf1

View File

@ -26,7 +26,7 @@
justify-content: space-around;
}
input[name="btn_use_defaults"] {
input[name="btn_use_defaults"]:not([disabled]) {
background-color: @icinga-blue;
color: @text-color-on-icinga-blue;
@ -34,6 +34,16 @@
background-color: @icinga-blue-dark;
}
}
input[disabled] {
cursor: default;
border: 1px solid @control-disabled-color;
}
input[disabled], input[disabled]:hover {
background: @body-bg-color;
color: @control-disabled-color;
}
}
// Sortable dashboard styles