Review feedback for node borders

This commit is contained in:
David Kaltschmidt
2016-03-07 13:44:29 +01:00
parent 53d873124f
commit 9163846c5a
3 changed files with 9 additions and 4 deletions
+1
View File
@@ -84,6 +84,7 @@ export default class Node extends React.Component {
classNames.push('pseudo');
}
if (this.props.shape === 'cloud') {
// need to identify cloud in CSS because it's stroke is not set via CSS
classNames.push('cloud');
}
+3 -3
View File
@@ -1,7 +1,7 @@
const contrastMode = window.location.pathname.indexOf('contrast') > -1;
export const contrastModeUrl = 'contrast.html';
const contrastMode = window.location.pathname.indexOf(contrastModeUrl) > -1;
export function isContrastMode() {
return contrastMode;
}
export const contrastModeUrl = 'contrast.html';
+5 -1
View File
@@ -328,7 +328,6 @@ h2 {
}
&.pseudo {
opacity: @node-pseudo-opacity;
cursor: default;
.node-label {
@@ -339,7 +338,12 @@ h2 {
fill: @text-tertiary-color;
}
.node {
opacity: @node-pseudo-opacity;
}
.border {
opacity: @node-pseudo-opacity;
stroke: @text-tertiary-color;
}
}