mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-18 03:46:45 +00:00
Review feedback for node borders
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user