From f09772f3d3822fb0f236b58f62da4f5f67236b89 Mon Sep 17 00:00:00 2001
From: rhenck <richard.henck@iqb.hu-berlin.de>
Date: Thu, 9 Dec 2021 19:07:27 +0100
Subject: [PATCH] Set green color to checked checkboxes

---
 projects/common/ui-elements/checkbox/checkbox.component.ts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/projects/common/ui-elements/checkbox/checkbox.component.ts b/projects/common/ui-elements/checkbox/checkbox.component.ts
index 63f48f9a0..df36ec7b0 100644
--- a/projects/common/ui-elements/checkbox/checkbox.component.ts
+++ b/projects/common/ui-elements/checkbox/checkbox.component.ts
@@ -29,8 +29,9 @@ import { CheckboxElement } from './checkbox-element';
     </div>
   `,
   styles: [
-    '::ng-deep .mat-checkbox-layout {white-space: normal !important}',
-    '.error-message { position: absolute; display: block; margin-top: 5px; font-size: 75% }'
+    ':host ::ng-deep .mat-checkbox-layout {white-space: normal !important}',
+    '.error-message { position: absolute; display: block; margin-top: 5px; font-size: 75% }',
+    ':host ::ng-deep mat-checkbox.mat-checkbox-checked .mat-checkbox-background {background-color: #006064}'
   ]
 })
 export class CheckboxComponent extends FormElementComponent {
-- 
GitLab