Changed UI colours

This commit is contained in:
VakarisZ 2020-03-23 14:01:02 +02:00
parent 372e05eb13
commit fa83eeb258
3 changed files with 8 additions and 3 deletions

View File

@ -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:

View File

@ -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;
}

View File

@ -1,7 +1,7 @@
// colors
$not-attempted: #e0ddde;
$attempted: #ffe28d;
$used: #ff8585;
$used: #ebbcba;
$black: #3a3a3a;
.attack-matrix .status-0 {