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) {
|
static getComponentClass(tech_id, techniques) {
|
||||||
switch (techniques[tech_id].status) {
|
switch (techniques[tech_id].status) {
|
||||||
case ScanStatus.SCANNED:
|
case ScanStatus.SCANNED:
|
||||||
return 'collapse-info';
|
return 'collapse-warning';
|
||||||
case ScanStatus.USED:
|
case ScanStatus.USED:
|
||||||
return 'collapse-danger';
|
return 'collapse-danger';
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
$transition: 300ms cubic-bezier(0.6, 0.3, 0.3, 0.6);
|
$transition: 300ms cubic-bezier(0.6, 0.3, 0.3, 0.6);
|
||||||
|
|
||||||
$danger-color: #d9acac;
|
$danger-color: #ebbcba;
|
||||||
$info-color: #ade3eb;
|
$info-color: #ade3eb;
|
||||||
$default-color: #e0ddde;
|
$default-color: #e0ddde;
|
||||||
|
$warning-color: #ffe28d;
|
||||||
|
|
||||||
.collapse-item button {
|
.collapse-item button {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
|
@ -41,6 +42,10 @@ $default-color: #e0ddde;
|
||||||
background-color: $danger-color !important;
|
background-color: $danger-color !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.collapse-warning {
|
||||||
|
background-color: $warning-color !important;
|
||||||
|
}
|
||||||
|
|
||||||
.collapse-info {
|
.collapse-info {
|
||||||
background-color: $info-color !important;
|
background-color: $info-color !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// colors
|
// colors
|
||||||
$not-attempted: #e0ddde;
|
$not-attempted: #e0ddde;
|
||||||
$attempted: #ffe28d;
|
$attempted: #ffe28d;
|
||||||
$used: #ff8585;
|
$used: #ebbcba;
|
||||||
$black: #3a3a3a;
|
$black: #3a3a3a;
|
||||||
|
|
||||||
.attack-matrix .status-0 {
|
.attack-matrix .status-0 {
|
||||||
|
|
Loading…
Reference in New Issue