From ec4d4f7fdcb02eaa2294ec84382603e6ed833843 Mon Sep 17 00:00:00 2001 From: AIC BV <89913092+AIC-BV@users.noreply.github.com> Date: Mon, 26 Feb 2024 10:27:20 +0100 Subject: [PATCH] [fix] switch_field preview Currently has 1 opacity. Needs 0.5 for default WinterCMS disabled state --- modules/system/assets/ui/less/checkbox.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/system/assets/ui/less/checkbox.less b/modules/system/assets/ui/less/checkbox.less index a48a6818d0..ac66ff1f8b 100644 --- a/modules/system/assets/ui/less/checkbox.less +++ b/modules/system/assets/ui/less/checkbox.less @@ -211,6 +211,10 @@ // .switch-field { + .disabled { + opacity: .5; + } + .field-switch { padding-left: 85px; float: left;