Skip to content

Commit

Permalink
Merge pull request jaegertracing#483 from everett980/ddg-node-vis-int…
Browse files Browse the repository at this point in the history
…eractions

Ddg node vis interactions
  • Loading branch information
everett980 authored Nov 22, 2019
2 parents 6e02cb0 + ebf616e commit 5ee8da1
Show file tree
Hide file tree
Showing 16 changed files with 2,040 additions and 488 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

/*
* Because .plexus-Digraph--MeasurableHtmlNode is `position: absolute`, adding a z-index to DdgNodeContent
* would have no effect on layering.
*/
.plexus-Digraph--MeasurableHtmlNode:hover {
z-index: 1;
}

.DdgNodeContent--core {
background: #eee;
border-radius: 100%;
Expand Down Expand Up @@ -52,16 +60,7 @@ limitations under the License.
bottom: 100%;
box-shadow: 0 0px 4px 1px rgba(0, 0, 0, 0.1);
left: 1em;
opacity: 0;
pointer-events: none;
position: absolute;
transition: opacity 0.1s;
white-space: nowrap;
}

.DdgNodeContent:hover > .DdgNodeContent--actionsWrapper {
opacity: 1;
pointer-events: all;
}

.DdgNodeContent--actionsItem {
Expand All @@ -74,6 +73,23 @@ limitations under the License.
color: inherit;
}

.DdgNodeContent--actionsItemIconWrapper {
flex: none;
height: 16px;
width: 16px;
}

.DdgNodeContent--actionsItemIconWrapper > * {
height: 16px;
position: absolute;
width: 16px;
}

.DdgNodeContent--actionsItemIconWrapper > * > .ant-checkbox {
vertical-align: unset;
top: unset;
}

.DdgNodeContent--actionsItemText {
font-size: 0.9em;
line-height: normal;
Expand Down
Loading

0 comments on commit 5ee8da1

Please sign in to comment.