diff --git a/client/.eslintrc b/client/.eslintrc index 40a61398c..956aef223 100644 --- a/client/.eslintrc +++ b/client/.eslintrc @@ -37,7 +37,6 @@ "react/sort-comp": 0, "react/prop-types": 0, - "jsx-a11y/anchor-is-valid": 0, "jsx-a11y/click-events-have-key-events": 0, "jsx-a11y/label-has-for": 0, "jsx-a11y/mouse-events-have-key-events": 0, diff --git a/client/app/scripts/components/footer.js b/client/app/scripts/components/footer.js index 82cbf9a3a..a7a37a5c3 100644 --- a/client/app/scripts/components/footer.js +++ b/client/app/scripts/components/footer.js @@ -65,25 +65,25 @@ class Footer extends React.Component {
- - - + + +
diff --git a/client/app/scripts/components/node-details/node-details-image-status.js b/client/app/scripts/components/node-details/node-details-image-status.js index 5ad13701b..083de02b8 100644 --- a/client/app/scripts/components/node-details/node-details-image-status.js +++ b/client/app/scripts/components/node-details/node-details-image-status.js @@ -90,11 +90,11 @@ class NodeDetailsImageStatus extends React.PureComponent { Container Image Status {containers &&
- View in Deploy - +
} diff --git a/client/app/scripts/components/time-travel-component.js b/client/app/scripts/components/time-travel-component.js index 6c0d7c8a9..505cf6a7f 100644 --- a/client/app/scripts/components/time-travel-component.js +++ b/client/app/scripts/components/time-travel-component.js @@ -145,7 +145,7 @@ const DisabledRange = styled.rect` fill-opacity: 0.15; `; -const TimestampLabel = styled.a` +const TimestampLabel = styled.button` margin-left: 2px; padding: 3px; @@ -155,7 +155,7 @@ const TimestampLabel = styled.a` } `; -const TimelinePanButton = styled.a` +const TimelinePanButton = styled.button` pointer-events: all; padding: 2px; `; @@ -236,7 +236,9 @@ export default class TimeTravelComponent extends React.Component { this.instantUpdateTimestamp = this.instantUpdateTimestamp.bind(this); this.debouncedUpdateTimestamp = debounce( - this.instantUpdateTimestamp.bind(this), TIMELINE_DEBOUNCE_INTERVAL); + this.instantUpdateTimestamp.bind(this), + TIMELINE_DEBOUNCE_INTERVAL + ); } componentDidMount() { diff --git a/client/app/scripts/components/troubleshooting-menu.js b/client/app/scripts/components/troubleshooting-menu.js index 3babf9a7c..8d2d4dee8 100644 --- a/client/app/scripts/components/troubleshooting-menu.js +++ b/client/app/scripts/components/troubleshooting-menu.js @@ -42,8 +42,7 @@ class DebugMenu extends React.Component {
- Save canvas as SVG (does not include search highlighting) - +
- Reset your local view state and reload the page - +
- + - +
); } diff --git a/client/app/styles/_base.scss b/client/app/styles/_base.scss index 25822eda3..dd13c7992 100644 --- a/client/app/styles/_base.scss +++ b/client/app/styles/_base.scss @@ -109,16 +109,19 @@ a { position: absolute; bottom: 11px; - a { + button { @extend .btn-opacity; + background-color: transparent; border: 1px solid transparent; border-radius: 4px; color: $text-secondary-color; cursor: pointer; + line-height: 20px; padding: 1px 3px; + outline: 0; .fa { - font-size: 150%; + font-size: 125%; position: relative; top: 2px; } @@ -1135,6 +1138,14 @@ a { } } + .node-details-table-node-link { + background-color: transparent; + border: 0; + cursor: pointer; + padding: 0; + outline: 0; + } + .node-details-table-node-link, .node-details-table-node-label, .node-details-table-node-value { @@ -2118,6 +2129,22 @@ a { height: 40px; } + button { + border: 0; + background-color: transparent; + cursor: pointer; + padding: 0; + outline: 0; + } + + button, a { + color: $weave-charcoal-blue; + + &:hover { + color: $text-color; + } + } + .fa { width: 20px; text-align: center;