From 4ee072d4c16e87eb221adc6fdc68ea64b7a45668 Mon Sep 17 00:00:00 2001 From: Max Burri Date: Wed, 13 Dec 2023 14:02:01 +0100 Subject: [PATCH 1/2] fix: apply colors to table cells instead of the row and use bootstrap colors values --- AMW_angular/io/src/app/app.component.scss | 4 ++-- .../io/src/app/deployments/deployments.scss | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/AMW_angular/io/src/app/app.component.scss b/AMW_angular/io/src/app/app.component.scss index 150ba40f5..500321790 100644 --- a/AMW_angular/io/src/app/app.component.scss +++ b/AMW_angular/io/src/app/app.component.scss @@ -1,7 +1,7 @@ $icon-font-path: '~bootstrap-sass/assets/fonts/bootstrap/'; -@import 'auditview/auditview.scss'; -@import 'deployments/deployments.scss'; +@import './auditview/auditview.scss'; +@import './deployments/deployments.scss'; /* Move down content because we have a fixed navbar that is 50px tall */ /* diff --git a/AMW_angular/io/src/app/deployments/deployments.scss b/AMW_angular/io/src/app/deployments/deployments.scss index aca15ce50..02b523a3e 100644 --- a/AMW_angular/io/src/app/deployments/deployments.scss +++ b/AMW_angular/io/src/app/deployments/deployments.scss @@ -17,30 +17,30 @@ span.reject:hover { span.confirm, span.confirm:hover { - color: #008400; + color: var(--bs-success) } span.delayed, span.delayed:hover { - color: #db4a4a; + color: var(--bs-danger); } span.reject, span.reject:hover { - color: #db4a4a; + color: var(--bs-danger); } tr.deploy-pre_deploy, -tr.deploy-progress { - background-color: #e9ecef; +tr.deploy-progress > td { + background-color: var(--bs-light) } -tr.deploy-failed { - background-color: #f2dede; +tr.deploy-failed > td { + background-color: var(--bs-danger-bg-subtle); } -tr.deploy-success { - background-color: #dff0d8; +tr.deploy-success > td { + background-color: var(--bs-success-subtle) } span.action, span.delayed, From 4520468aaae31c3d321928b4d4c6afbcf8792ce3 Mon Sep 17 00:00:00 2001 From: Yves Peter Date: Fri, 15 Dec 2023 19:11:46 +0100 Subject: [PATCH 2/2] deployments.scss: fix deploy-success --- AMW_angular/io/src/app/deployments/deployments.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMW_angular/io/src/app/deployments/deployments.scss b/AMW_angular/io/src/app/deployments/deployments.scss index 02b523a3e..7e9daf757 100644 --- a/AMW_angular/io/src/app/deployments/deployments.scss +++ b/AMW_angular/io/src/app/deployments/deployments.scss @@ -40,7 +40,7 @@ tr.deploy-failed > td { } tr.deploy-success > td { - background-color: var(--bs-success-subtle) + background-color: var(--bs-success-bg-subtle) } span.action, span.delayed,