From fa83eeb258217ec7612f61e23729ca6adc172a05 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Mon, 23 Mar 2020 14:01:02 +0200 Subject: [PATCH] Changed UI colours --- .../cc/ui/src/components/report-components/AttackReport.js | 2 +- monkey/monkey_island/cc/ui/src/styles/Collapse.scss | 7 ++++++- .../cc/ui/src/styles/report/ReportAttackMatrix.scss | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js b/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js index d0d445e1e..5f8e40455 100644 --- a/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js +++ b/monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js @@ -57,7 +57,7 @@ class AttackReport extends React.Component { static getComponentClass(tech_id, techniques) { switch (techniques[tech_id].status) { case ScanStatus.SCANNED: - return 'collapse-info'; + return 'collapse-warning'; case ScanStatus.USED: return 'collapse-danger'; default: diff --git a/monkey/monkey_island/cc/ui/src/styles/Collapse.scss b/monkey/monkey_island/cc/ui/src/styles/Collapse.scss index 30ebaf789..5d49b13a0 100644 --- a/monkey/monkey_island/cc/ui/src/styles/Collapse.scss +++ b/monkey/monkey_island/cc/ui/src/styles/Collapse.scss @@ -1,8 +1,9 @@ $transition: 300ms cubic-bezier(0.6, 0.3, 0.3, 0.6); -$danger-color: #d9acac; +$danger-color: #ebbcba; $info-color: #ade3eb; $default-color: #e0ddde; +$warning-color: #ffe28d; .collapse-item button { font-size: inherit; @@ -41,6 +42,10 @@ $default-color: #e0ddde; background-color: $danger-color !important; } +.collapse-warning { + background-color: $warning-color !important; +} + .collapse-info { background-color: $info-color !important; } diff --git a/monkey/monkey_island/cc/ui/src/styles/report/ReportAttackMatrix.scss b/monkey/monkey_island/cc/ui/src/styles/report/ReportAttackMatrix.scss index e285e2524..f6eedf353 100644 --- a/monkey/monkey_island/cc/ui/src/styles/report/ReportAttackMatrix.scss +++ b/monkey/monkey_island/cc/ui/src/styles/report/ReportAttackMatrix.scss @@ -1,7 +1,7 @@ // colors $not-attempted: #e0ddde; $attempted: #ffe28d; -$used: #ff8585; +$used: #ebbcba; $black: #3a3a3a; .attack-matrix .status-0 {