提交 41974bf9 编写于 作者: M Miguel Solorio

Update suggest widget

上级 13b37654
......@@ -5,10 +5,10 @@
@font-face {
font-family: "codicon";
src: url("./codicon.ttf?9431c76cc66628e62a4309ed1a2d1e51") format("truetype");
src: url("./codicon.ttf?8bc0a4b799630e62a8ac4e66fd0f64c4") format("truetype");
}
.codicon[class*='codicon-']:before {
.codicon[class*='codicon-']::before {
font: normal normal normal 16px/1 codicon;
display: inline-block;
text-decoration: none;
......@@ -139,6 +139,13 @@
.codicon-symbol-type-parameter:before { content: "\ea92" }
.codicon-symbol-key:before { content: "\ea93" }
.codicon-symbol-string:before { content: "\ea93" }
.codicon-symbol-text:before { content: "\ea93" }
.codicon-symbol-reference:before { content: "\ea94" }
.codicon-go-to-file:before { content: "\ea94" }
.codicon-symbol-enum:before { content: "\ea95" }
.codicon-symbol-value:before { content: "\ea95" }
.codicon-symbol-ruler:before { content: "\ea96" }
.codicon-symbol-unit:before { content: "\ea96" }
.codicon-activate-breakpoints:before { content: "\f101" }
.codicon-archive:before { content: "\f102" }
.codicon-arrow-both:before { content: "\f103" }
......@@ -247,133 +254,129 @@
.codicon-github-action:before { content: "\f16a" }
.codicon-github-alt:before { content: "\f16b" }
.codicon-globe:before { content: "\f16c" }
.codicon-go-to-file:before { content: "\f16d" }
.codicon-grabber:before { content: "\f16e" }
.codicon-graph:before { content: "\f16f" }
.codicon-gripper:before { content: "\f170" }
.codicon-heart:before { content: "\f171" }
.codicon-home:before { content: "\f172" }
.codicon-horizontal-rule:before { content: "\f173" }
.codicon-hubot:before { content: "\f174" }
.codicon-inbox:before { content: "\f175" }
.codicon-issue-closed:before { content: "\f176" }
.codicon-issue-reopened:before { content: "\f177" }
.codicon-issues:before { content: "\f178" }
.codicon-italic:before { content: "\f179" }
.codicon-jersey:before { content: "\f17a" }
.codicon-json:before { content: "\f17b" }
.codicon-kebab-vertical:before { content: "\f17c" }
.codicon-key:before { content: "\f17d" }
.codicon-law:before { content: "\f17e" }
.codicon-lightbulb-autofix:before { content: "\f17f" }
.codicon-link-external:before { content: "\f180" }
.codicon-link:before { content: "\f181" }
.codicon-list-ordered:before { content: "\f182" }
.codicon-list-unordered:before { content: "\f183" }
.codicon-live-share:before { content: "\f184" }
.codicon-loading:before { content: "\f185" }
.codicon-location:before { content: "\f186" }
.codicon-mail-read:before { content: "\f187" }
.codicon-mail:before { content: "\f188" }
.codicon-markdown:before { content: "\f189" }
.codicon-megaphone:before { content: "\f18a" }
.codicon-mention:before { content: "\f18b" }
.codicon-milestone:before { content: "\f18c" }
.codicon-mortar-board:before { content: "\f18d" }
.codicon-move:before { content: "\f18e" }
.codicon-multiple-windows:before { content: "\f18f" }
.codicon-mute:before { content: "\f190" }
.codicon-no-newline:before { content: "\f191" }
.codicon-note:before { content: "\f192" }
.codicon-octoface:before { content: "\f193" }
.codicon-open-preview:before { content: "\f194" }
.codicon-package:before { content: "\f195" }
.codicon-paintcan:before { content: "\f196" }
.codicon-pin:before { content: "\f197" }
.codicon-play:before { content: "\f198" }
.codicon-plug:before { content: "\f199" }
.codicon-preserve-case:before { content: "\f19a" }
.codicon-preview:before { content: "\f19b" }
.codicon-project:before { content: "\f19c" }
.codicon-pulse:before { content: "\f19d" }
.codicon-question:before { content: "\f19e" }
.codicon-quote:before { content: "\f19f" }
.codicon-radio-tower:before { content: "\f1a0" }
.codicon-reactions:before { content: "\f1a1" }
.codicon-references:before { content: "\f1a2" }
.codicon-refresh:before { content: "\f1a3" }
.codicon-regex:before { content: "\f1a4" }
.codicon-remote:before { content: "\f1a5" }
.codicon-remove:before { content: "\f1a6" }
.codicon-replace-all:before { content: "\f1a7" }
.codicon-replace:before { content: "\f1a8" }
.codicon-repo-clone:before { content: "\f1a9" }
.codicon-repo-force-push:before { content: "\f1aa" }
.codicon-repo-pull:before { content: "\f1ab" }
.codicon-repo-push:before { content: "\f1ac" }
.codicon-report:before { content: "\f1ad" }
.codicon-request-changes:before { content: "\f1ae" }
.codicon-rocket:before { content: "\f1af" }
.codicon-root-folder-opened:before { content: "\f1b0" }
.codicon-root-folder:before { content: "\f1b1" }
.codicon-rss:before { content: "\f1b2" }
.codicon-ruby:before { content: "\f1b3" }
.codicon-save-all:before { content: "\f1b4" }
.codicon-save-as:before { content: "\f1b5" }
.codicon-save:before { content: "\f1b6" }
.codicon-screen-full:before { content: "\f1b7" }
.codicon-screen-normal:before { content: "\f1b8" }
.codicon-search-stop:before { content: "\f1b9" }
.codicon-selection:before { content: "\f1ba" }
.codicon-server:before { content: "\f1bb" }
.codicon-settings:before { content: "\f1bc" }
.codicon-shield:before { content: "\f1bd" }
.codicon-smiley:before { content: "\f1be" }
.codicon-sort-precedence:before { content: "\f1bf" }
.codicon-split-horizontal:before { content: "\f1c0" }
.codicon-split-vertical:before { content: "\f1c1" }
.codicon-squirrel:before { content: "\f1c2" }
.codicon-star-full:before { content: "\f1c3" }
.codicon-star-half:before { content: "\f1c4" }
.codicon-symbol-class:before { content: "\f1c5" }
.codicon-symbol-color:before { content: "\f1c6" }
.codicon-symbol-constant:before { content: "\f1c7" }
.codicon-symbol-enum-member:before { content: "\f1c8" }
.codicon-symbol-enum:before { content: "\f1c9" }
.codicon-symbol-field:before { content: "\f1ca" }
.codicon-symbol-file:before { content: "\f1cb" }
.codicon-symbol-interface:before { content: "\f1cc" }
.codicon-symbol-keyword:before { content: "\f1cd" }
.codicon-symbol-misc:before { content: "\f1ce" }
.codicon-symbol-operator:before { content: "\f1cf" }
.codicon-symbol-property:before { content: "\f1d0" }
.codicon-symbol-ruler:before { content: "\f1d1" }
.codicon-symbol-snippet:before { content: "\f1d2" }
.codicon-tasklist:before { content: "\f1d3" }
.codicon-telescope:before { content: "\f1d4" }
.codicon-text-size:before { content: "\f1d5" }
.codicon-three-bars:before { content: "\f1d6" }
.codicon-thumbsdown:before { content: "\f1d7" }
.codicon-thumbsup:before { content: "\f1d8" }
.codicon-tools:before { content: "\f1d9" }
.codicon-triangle-down:before { content: "\f1da" }
.codicon-triangle-left:before { content: "\f1db" }
.codicon-triangle-right:before { content: "\f1dc" }
.codicon-triangle-up:before { content: "\f1dd" }
.codicon-twitter:before { content: "\f1de" }
.codicon-unfold:before { content: "\f1df" }
.codicon-unlock:before { content: "\f1e0" }
.codicon-unmute:before { content: "\f1e1" }
.codicon-unverified:before { content: "\f1e2" }
.codicon-verified:before { content: "\f1e3" }
.codicon-versions:before { content: "\f1e4" }
.codicon-vm-active:before { content: "\f1e5" }
.codicon-vm-outline:before { content: "\f1e6" }
.codicon-vm-running:before { content: "\f1e7" }
.codicon-watch:before { content: "\f1e8" }
.codicon-whitespace:before { content: "\f1e9" }
.codicon-whole-word:before { content: "\f1ea" }
.codicon-window:before { content: "\f1eb" }
.codicon-word-wrap:before { content: "\f1ec" }
.codicon-zoom-in:before { content: "\f1ed" }
.codicon-zoom-out:before { content: "\f1ee" }
.codicon-grabber:before { content: "\f16d" }
.codicon-graph:before { content: "\f16e" }
.codicon-gripper:before { content: "\f16f" }
.codicon-heart:before { content: "\f170" }
.codicon-home:before { content: "\f171" }
.codicon-horizontal-rule:before { content: "\f172" }
.codicon-hubot:before { content: "\f173" }
.codicon-inbox:before { content: "\f174" }
.codicon-issue-closed:before { content: "\f175" }
.codicon-issue-reopened:before { content: "\f176" }
.codicon-issues:before { content: "\f177" }
.codicon-italic:before { content: "\f178" }
.codicon-jersey:before { content: "\f179" }
.codicon-json:before { content: "\f17a" }
.codicon-kebab-vertical:before { content: "\f17b" }
.codicon-law:before { content: "\f17c" }
.codicon-lightbulb-autofix:before { content: "\f17d" }
.codicon-link-external:before { content: "\f17e" }
.codicon-link:before { content: "\f17f" }
.codicon-list-ordered:before { content: "\f180" }
.codicon-list-unordered:before { content: "\f181" }
.codicon-live-share:before { content: "\f182" }
.codicon-loading:before { content: "\f183" }
.codicon-location:before { content: "\f184" }
.codicon-mail-read:before { content: "\f185" }
.codicon-mail:before { content: "\f186" }
.codicon-markdown:before { content: "\f187" }
.codicon-megaphone:before { content: "\f188" }
.codicon-mention:before { content: "\f189" }
.codicon-milestone:before { content: "\f18a" }
.codicon-mortar-board:before { content: "\f18b" }
.codicon-move:before { content: "\f18c" }
.codicon-multiple-windows:before { content: "\f18d" }
.codicon-mute:before { content: "\f18e" }
.codicon-no-newline:before { content: "\f18f" }
.codicon-note:before { content: "\f190" }
.codicon-octoface:before { content: "\f191" }
.codicon-open-preview:before { content: "\f192" }
.codicon-package:before { content: "\f193" }
.codicon-paintcan:before { content: "\f194" }
.codicon-pin:before { content: "\f195" }
.codicon-play:before { content: "\f196" }
.codicon-plug:before { content: "\f197" }
.codicon-preserve-case:before { content: "\f198" }
.codicon-preview:before { content: "\f199" }
.codicon-project:before { content: "\f19a" }
.codicon-pulse:before { content: "\f19b" }
.codicon-question:before { content: "\f19c" }
.codicon-quote:before { content: "\f19d" }
.codicon-radio-tower:before { content: "\f19e" }
.codicon-reactions:before { content: "\f19f" }
.codicon-references:before { content: "\f1a0" }
.codicon-refresh:before { content: "\f1a1" }
.codicon-regex:before { content: "\f1a2" }
.codicon-remote:before { content: "\f1a3" }
.codicon-remove:before { content: "\f1a4" }
.codicon-replace-all:before { content: "\f1a5" }
.codicon-replace:before { content: "\f1a6" }
.codicon-repo-clone:before { content: "\f1a7" }
.codicon-repo-force-push:before { content: "\f1a8" }
.codicon-repo-pull:before { content: "\f1a9" }
.codicon-repo-push:before { content: "\f1aa" }
.codicon-report:before { content: "\f1ab" }
.codicon-request-changes:before { content: "\f1ac" }
.codicon-rocket:before { content: "\f1ad" }
.codicon-root-folder-opened:before { content: "\f1ae" }
.codicon-root-folder:before { content: "\f1af" }
.codicon-rss:before { content: "\f1b0" }
.codicon-ruby:before { content: "\f1b1" }
.codicon-save-all:before { content: "\f1b2" }
.codicon-save-as:before { content: "\f1b3" }
.codicon-save:before { content: "\f1b4" }
.codicon-screen-full:before { content: "\f1b5" }
.codicon-screen-normal:before { content: "\f1b6" }
.codicon-search-stop:before { content: "\f1b7" }
.codicon-selection:before { content: "\f1b8" }
.codicon-server:before { content: "\f1b9" }
.codicon-settings:before { content: "\f1ba" }
.codicon-shield:before { content: "\f1bb" }
.codicon-smiley:before { content: "\f1bc" }
.codicon-sort-precedence:before { content: "\f1bd" }
.codicon-split-horizontal:before { content: "\f1be" }
.codicon-split-vertical:before { content: "\f1bf" }
.codicon-squirrel:before { content: "\f1c0" }
.codicon-star-full:before { content: "\f1c1" }
.codicon-star-half:before { content: "\f1c2" }
.codicon-symbol-class:before { content: "\f1c3" }
.codicon-symbol-color:before { content: "\f1c4" }
.codicon-symbol-constant:before { content: "\f1c5" }
.codicon-symbol-enum-member:before { content: "\f1c6" }
.codicon-symbol-field:before { content: "\f1c7" }
.codicon-symbol-file:before { content: "\f1c8" }
.codicon-symbol-interface:before { content: "\f1c9" }
.codicon-symbol-keyword:before { content: "\f1ca" }
.codicon-symbol-misc:before { content: "\f1cb" }
.codicon-symbol-operator:before { content: "\f1cc" }
.codicon-symbol-property:before { content: "\f1cd" }
.codicon-symbol-snippet:before { content: "\f1ce" }
.codicon-tasklist:before { content: "\f1cf" }
.codicon-telescope:before { content: "\f1d0" }
.codicon-text-size:before { content: "\f1d1" }
.codicon-three-bars:before { content: "\f1d2" }
.codicon-thumbsdown:before { content: "\f1d3" }
.codicon-thumbsup:before { content: "\f1d4" }
.codicon-tools:before { content: "\f1d5" }
.codicon-triangle-down:before { content: "\f1d6" }
.codicon-triangle-left:before { content: "\f1d7" }
.codicon-triangle-right:before { content: "\f1d8" }
.codicon-triangle-up:before { content: "\f1d9" }
.codicon-twitter:before { content: "\f1da" }
.codicon-unfold:before { content: "\f1db" }
.codicon-unlock:before { content: "\f1dc" }
.codicon-unmute:before { content: "\f1dd" }
.codicon-unverified:before { content: "\f1de" }
.codicon-verified:before { content: "\f1df" }
.codicon-versions:before { content: "\f1e0" }
.codicon-vm-active:before { content: "\f1e1" }
.codicon-vm-outline:before { content: "\f1e2" }
.codicon-vm-running:before { content: "\f1e3" }
.codicon-watch:before { content: "\f1e4" }
.codicon-whitespace:before { content: "\f1e5" }
.codicon-whole-word:before { content: "\f1e6" }
.codicon-window:before { content: "\f1e7" }
.codicon-word-wrap:before { content: "\f1e8" }
.codicon-zoom-in:before { content: "\f1e9" }
.codicon-zoom-out:before { content: "\f1ea" }
......@@ -20,7 +20,7 @@
padding-right: 6px;
width: 16px;
height: 22px;
line-height: 22px !important;
line-height: inherit !important;
display: inline-block;
/* fonts icons */
......
......@@ -4,7 +4,8 @@
*--------------------------------------------------------------------------------------------*/
.monaco-list .monaco-list-row.focused.selected .outline-element .monaco-highlighted-label,
.monaco-list .monaco-list-row.focused.selected .outline-element-decoration {
.monaco-list .monaco-list-row.focused.selected .outline-element-decoration,
.monaco-list .monaco-list-row.focused.selected .outline-element .codicon::before {
/* make sure selection color wins when a label is being selected */
color: inherit !important;
}
......
......@@ -198,7 +198,7 @@
display: none;
}
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.suggest-icon::before {
/* .monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.suggest-icon::before {
content: ' ';
background-repeat: no-repeat;
background-position: center;
......@@ -230,7 +230,7 @@
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.reference::before { background-image: url('reference-light.svg'); }
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.snippet::before { background-image: url('snippet-light.svg'); }
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.customcolor::before { background-image: none; }
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.folder::before { background-image: url('folder-light.svg'); }
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon.folder::before { background-image: url('folder-light.svg'); } */
.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {
margin: 0 0 0 0.3em;
......
......@@ -189,7 +189,7 @@ class Renderer implements IListRenderer<CompletionItem, ISuggestionTemplateData>
// normal icon
data.icon.className = 'icon hide';
labelOptions.extraClasses = [
`suggest-icon ${completionKindToCssClass(suggestion.kind)}`
`suggest-icon codicon codicon-symbol-${completionKindToCssClass(suggestion.kind)}`
];
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册