Update paremeter hint chevrons (ref #86708)

This commit is contained in:
Miguel Solorio
2020-01-02 14:13:16 -08:00
parent 958ff7a741
commit b8667fa107
6 changed files with 3 additions and 23 deletions
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#E8E8E8" d="M5.1 5l-.9.9 3.6 3.6 3.9-3.6-1-.9-3 2.7L5.1 5z"/></svg>

Before

Width:  |  Height:  |  Size: 139 B

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#424242" d="M5.1 5l-.9.9 3.6 3.6 3.9-3.6-1-.9-3 2.7L5.1 5z"/></svg>

Before

Width:  |  Height:  |  Size: 139 B

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#E8E8E8" d="M10.8 9.5l.9-.9L8.1 5 4.2 8.6l.9.9 3-2.7 2.7 2.7z"/></svg>

Before

Width:  |  Height:  |  Size: 142 B

@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#424242" d="M10.8 9.5l.9-.9L8.1 5 4.2 8.6l.9.9 3-2.7 2.7 2.7z"/></svg>

Before

Width:  |  Height:  |  Size: 142 B

@@ -89,11 +89,7 @@
.monaco-editor .parameter-hints-widget .button.previous {
bottom: 24px;
background-image: url('arrow-up.svg');
}
.monaco-editor .parameter-hints-widget .button.next {
background-image: url('arrow-down.svg');
/* background-image: url('arrow-up.svg'); */
}
.monaco-editor .parameter-hints-widget .overloads {
@@ -113,15 +109,3 @@
font-weight: bold;
margin-right: 0.5em;
}
/*** VS Dark & High Contrast*/
.monaco-editor.hc-black .parameter-hints-widget .button.previous,
.monaco-editor.vs-dark .parameter-hints-widget .button.previous {
background-image: url('arrow-up-dark.svg');
}
.monaco-editor.hc-black .parameter-hints-widget .button.next,
.monaco-editor.vs-dark .parameter-hints-widget .button.next {
background-image: url('arrow-down-dark.svg');
}
@@ -78,9 +78,9 @@ export class ParameterHintsWidget extends Disposable implements IContentWidget {
wrapper.tabIndex = -1;
const controls = dom.append(wrapper, $('.controls'));
const previous = dom.append(controls, $('.button.previous'));
const previous = dom.append(controls, $('.button.codicon.codicon-chevron-up'));
const overloads = dom.append(controls, $('.overloads'));
const next = dom.append(controls, $('.button.next'));
const next = dom.append(controls, $('.button.codicon.codicon-chevron-down'));
const onPreviousClick = stop(domEvent(previous, 'click'));
this._register(onPreviousClick(this.previous, this));