From bb4b53e90cc28ec345ecb32fa16fbb086a96f3b5 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 17 Oct 2022 10:45:29 +0200 Subject: [PATCH] css: Optimize performance I don't quite understand why exactly this rule exposes such an issue. We have several other rules that are similar. But they don't reference form elements on the left. I suspect a different issue somewhere else, this only exaggerated it. fixes #4929 --- public/css/icinga/forms.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/css/icinga/forms.less b/public/css/icinga/forms.less index aa1087204..1b2fc8851 100644 --- a/public/css/icinga/forms.less +++ b/public/css/icinga/forms.less @@ -560,7 +560,8 @@ form.icinga-form .form-info { box-shadow: 0 0 .25em 0 rgba(0,0,0,.4); } - &[disabled] ~ * { + &[disabled] ~ img, + &[disabled] ~ span { opacity: .25; }