Various small report improvements
This commit is contained in:
parent
28bb6356c2
commit
f5f0a60cb4
|
@ -20,7 +20,7 @@ class MatrixComponent extends React.Component {
|
||||||
}
|
}
|
||||||
let tech_type = this.state.schema.properties[type_key];
|
let tech_type = this.state.schema.properties[type_key];
|
||||||
columns.push({
|
columns.push({
|
||||||
Header: () => (<a href={tech_type.link}>{tech_type.title}</a>),
|
Header: () => (<a href={tech_type.link} target="_blank">{tech_type.title}</a>),
|
||||||
id: type_key,
|
id: type_key,
|
||||||
accessor: x => this.renderTechnique(x[tech_type.title]),
|
accessor: x => this.renderTechnique(x[tech_type.title]),
|
||||||
style: {'whiteSpace': 'unset'}
|
style: {'whiteSpace': 'unset'}
|
||||||
|
|
|
@ -12,6 +12,7 @@ $black: #000000;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -39,6 +40,7 @@ $black: #000000;
|
||||||
background-color: $dark-green;
|
background-color: $dark-green;
|
||||||
color: $light-grey;
|
color: $light-grey;
|
||||||
fill: $light-grey;
|
fill: $light-grey;
|
||||||
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.is-checked {
|
&.is-checked {
|
||||||
|
@ -127,7 +129,7 @@ $black: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-mandatory {
|
.icon-mandatory {
|
||||||
color: $dark-green
|
color: $dark-green;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-unchecked {
|
.icon-unchecked {
|
||||||
|
|
|
@ -36,7 +36,8 @@
|
||||||
padding: 2em 2em 0 2em;
|
padding: 2em 2em 0 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ReactTable .rt-td{
|
.ReactTable .rt-td,.rt-resizable-header-content{
|
||||||
white-space: pre-line !important;
|
white-space: pre-line !important;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,3 +18,9 @@ $black: #3a3a3a;
|
||||||
background-color: $light-red !important;
|
background-color: $light-red !important;
|
||||||
color: $black;
|
color: $black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.attack-matrix div.rt-td:hover {
|
||||||
|
transform: scale(1.08);
|
||||||
|
filter: brightness(110%);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,3 +9,7 @@
|
||||||
.report-nav > li > a{
|
.report-nav > li > a{
|
||||||
height: 50px !important;
|
height: 50px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.report-nav > li.active{
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue