diff --git a/app/assets/css/bootstrap-override.css b/app/assets/css/bootstrap-override.css index 6e940fd69..d81de6a5c 100644 --- a/app/assets/css/bootstrap-override.css +++ b/app/assets/css/bootstrap-override.css @@ -71,6 +71,10 @@ .switch input[type='checkbox']:disabled + .slider { background-color: var(--ui-gray-3); + @apply th-dark:before:bg-gray-warm-8; + @apply th-highcontrast:before:bg-gray-warm-8; + @apply th-dark:bg-gray-warm-9; + @apply th-highcontrast:bg-gray-warm-9; } .switch-values { @@ -91,6 +95,8 @@ background-color: var(--bg-switch-box-color); -webkit-transition: 0.4s; transition: 0.4s; + @apply th-dark:bg-gray-warm-9; + @apply th-highcontrast:bg-gray-warm-9; } .slider:before { @@ -107,6 +113,8 @@ input:checked + .slider { background-color: var(--ui-blue-8); + @apply th-dark:bg-blue-9; + @apply th-highcontrast:bg-blue-9; } input:focus + .slider { diff --git a/app/portainer/settings/authentication/ldap/ldap-custom-admin-group/ldap-custom-admin-group.html b/app/portainer/settings/authentication/ldap/ldap-custom-admin-group/ldap-custom-admin-group.html index fc0a09f54..fcfafe3ff 100644 --- a/app/portainer/settings/authentication/ldap/ldap-custom-admin-group/ldap-custom-admin-group.html +++ b/app/portainer/settings/authentication/ldap/ldap-custom-admin-group/ldap-custom-admin-group.html @@ -109,7 +109,7 @@ diff --git a/app/react/components/form-components/SwitchField/Switch.tsx b/app/react/components/form-components/SwitchField/Switch.tsx index c5770d469..9673242bf 100644 --- a/app/react/components/form-components/SwitchField/Switch.tsx +++ b/app/react/components/form-components/SwitchField/Switch.tsx @@ -49,7 +49,7 @@ export function Switch({ disabled={disabled || limitedToBE} onChange={({ target: { checked } }) => onChange(checked)} /> - + {limitedToBE && }