Browse Source

Improves Graph tooltips

main
Eric Amodio 1 year ago
parent
commit
6455ddd189
1 changed files with 8 additions and 27 deletions
  1. +8
    -27
      src/webviews/apps/plus/graph/graph.scss

+ 8
- 27
src/webviews/apps/plus/graph/graph.scss View File

@ -793,40 +793,21 @@ button:not([disabled]),
.tooltip {
font-size: var(--vscode-font-size);
font-family: var(--vscode-font-family);
font-weight: normal;
line-height: 19px;
&.in {
opacity: 1;
}
&.top .tooltip-arrow {
border-top-color: var(--color-hover-border);
}
&.top-left .tooltip-arrow {
border-top-color: var(--color-hover-border);
}
&.top-right .tooltip-arrow {
border-top-color: var(--color-hover-border);
}
&.right .tooltip-arrow {
border-right-color: var(--color-hover-border);
}
&.left .tooltip-arrow {
border-left-color: var(--color-hover-border);
}
&.bottom .tooltip-arrow {
border-bottom-color: var(--color-hover-border);
}
&.bottom-left .tooltip-arrow {
border-bottom-color: var(--color-hover-border);
}
&.bottom-right .tooltip-arrow {
border-bottom-color: var(--color-hover-border);
}
&-inner {
font-size: 1.2rem;
padding: 0.3rem 0.6rem;
font-size: var(--vscode-font-size);
padding: 4px 10px 5px 10px;
color: var(--color-hover-foreground);
background-color: var(--color-hover-background);
border: 0.1rem solid var(--color-hover-border);
border: 1px solid var(--color-hover-border);
border-radius: 0;
box-shadow: 0 2px 8px var(--vscode-widget-shadow);
text-align: start;
white-space: break-spaces;
}
}

Loading…
Cancel
Save