forked from p15670423/monkey
Changed UI colours
This commit is contained in:
parent
372e05eb13
commit
fa83eeb258
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// colors
|
||||
$not-attempted: #e0ddde;
|
||||
$attempted: #ffe28d;
|
||||
$used: #ff8585;
|
||||
$used: #ebbcba;
|
||||
$black: #3a3a3a;
|
||||
|
||||
.attack-matrix .status-0 {
|
||||
|
|
Loading…
Reference in New Issue