-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c15a1d
commit 5c34d25
Showing
6 changed files
with
121 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
.pce-ac-icon { | ||
display: flex; | ||
flex-shrink: 0; | ||
align-items: center; | ||
margin-right: -0.25em; | ||
} | ||
|
||
.pce-ac-icon::before { | ||
content: ""; | ||
width: 16px; | ||
height: 16px; | ||
background: currentColor; | ||
-webkit-mask: no-repeat var(--mask); | ||
mask: no-repeat var(--mask); | ||
} | ||
|
||
.pce-ac-row[aria-selected] .pce-ac-icon::before { | ||
color: var(--widget__color-active); | ||
} | ||
|
||
/* Icons from https://github.com/microsoft/vscode-codicons, but rewritten to 28% the size gzipped */ | ||
|
||
.pce-ac-icon-namespace { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="red" fill="none" d="m6 2.5 a2 2 0 0 0-2 2v1.5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v1.5a2 2 0 0 0 2 2m4-11a2 2 0 0 1 2 2v1.5a2 2 0 0 0 2 2 2 2 0 0 0-2 2v1.5a2 2 0 0 1-2 2"/></svg>'); | ||
} | ||
.pce-ac-icon-unit { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="red" fill="none" stroke-linejoin="bevel" d="m3.5 1.5h9v13h-9zm.5 2h4m-4 3h2m-2 3h4m-4 3h2"/></svg>'); | ||
} | ||
.pce-ac-icon-parameter { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" stroke="red" fill="none"><path stroke-linejoin="bevel" d="m3.3 6.2l-1.8 1.8 1.8 1.8m9.4 0l1.8-1.8-1.8-1.8"/><path d="m5.5 6v-1.5h5v1.5m-2.5-1v6.5h1.5-3m.5 0a1 1 0 0 0 1-1 1 1 0 0 0 1 1m1.5-6a1 1 0 0 0-1-1m-3 0a1 1 0 0 0-1 1"/></svg>'); | ||
} | ||
.pce-ac-icon-snippet { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="red" fill="none" stroke-linejoin="bevel" d="m2.5 13v-11.5h12v11.5m-12.5 1.5h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1m1 0h1"/></svg>'); | ||
} | ||
.pce-ac-icon-value, | ||
.pce-ac-icon-enum { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m2 7h6l1 1v5l-1 1h-6l-1-1v-5zv6h6v-5h-6zm1 2h4v1h-4zm0 2h4v1h-4zm4-5v-3l1-1h6l1 1v5l-1 1h-4v-1h4v-5h-6v3zm2-2h4v1h-4zm0 2h4v1h-3.59l-.41-.41z"/></svg>'); | ||
} | ||
.pce-ac-icon-interface { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="red" fill="none" d="m4 8h4.5a3 3 0 0 1 6 0 3 3 0 0 1-6 0"/><circle cx="3" cy="8" r="2"/></svg>'); | ||
} | ||
.pce-ac-icon-constant { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="red" fill="none" stroke-linejoin="bevel" d="m1.5 3.5h13v9h-13zm2.5 3h8m0 3h-8"/></svg>'); | ||
} | ||
.pce-ac-icon-class { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="red" fill="none" stroke-linejoin="bevel" d="m5.5 1.5 l2 2-4 4-2-2 4-4zm0 4v7h5.5m-.5.5l2.5-2.5 1.5 1.5-2.5 2.5zm-5.5-5.5h6m-.5.5l2.5-2.5 1.5 1.5-2.5 2.5z"/></svg>'); | ||
} | ||
.pce-ac-icon-property { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="red" fill="none" d="m7.24 6.86a3.8 3.8 0 0 1 5.02-5.02l-2.8 2.8 1.9 1.9 2.8-2.8a3.8 3.8 0 0 1-5.02 5.02l-5.35 5.35a.95.95 0 0 1-1.9-1.9z"/></svg>'); | ||
} | ||
.pce-ac-icon-variable { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="red" fill="none" stroke-linejoin="bevel" d="m4 4.5h-2.5v8h2.5m8 0h2.5v-8h-2.5m-3 1l2.5 1.5v2.5l-4.5 2-2.5-1.5v-2.5zm-4.5 2l2.5 1.5v2.5m0-2.5l4.5-2"/></svg>'); | ||
} | ||
.pce-ac-icon-function { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="red" fill="none" stroke-linejoin="bevel" d="m8 1.25l5.5 3.3v6.6l-5.5 3.3-5.5-3.3v-6.6zM2.5 4.85l5.5 3v6.5m0-6.5l5.5-3"/></svg>'); | ||
} | ||
.pce-ac-icon-keyword { | ||
--mask: url('data:image/svg+xml,<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="red" fill="none" d="m1.5 2.5h6v2h-6zm8.5 1h5m-14 4h11m-11 3h6m3 0h5m-3 3h2m-13 0h9"/></svg>'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters