Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
dd37f5b5
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
dd37f5b5
编写于
7月 18, 2018
作者:
J
Johannes Rieken
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
breadcrumbs - use darker drop shadow in dark theme
上级
a44fcb8e
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
4 addition
and
4 deletion
+4
-4
src/vs/workbench/browser/parts/editor/breadcrumbsPicker.ts
src/vs/workbench/browser/parts/editor/breadcrumbsPicker.ts
+4
-4
未找到文件。
src/vs/workbench/browser/parts/editor/breadcrumbsPicker.ts
浏览文件 @
dd37f5b5
...
@@ -20,7 +20,7 @@ import { localize } from 'vs/nls';
...
@@ -20,7 +20,7 @@ import { localize } from 'vs/nls';
import
{
FileKind
,
IFileService
,
IFileStat
}
from
'
vs/platform/files/common/files
'
;
import
{
FileKind
,
IFileService
,
IFileStat
}
from
'
vs/platform/files/common/files
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
HighlightingWorkbenchTree
,
IHighlightingTreeConfiguration
,
IHighlightingRenderer
}
from
'
vs/platform/list/browser/listService
'
;
import
{
HighlightingWorkbenchTree
,
IHighlightingTreeConfiguration
,
IHighlightingRenderer
}
from
'
vs/platform/list/browser/listService
'
;
import
{
IThemeService
}
from
'
vs/platform/theme/common/themeService
'
;
import
{
IThemeService
,
DARK
}
from
'
vs/platform/theme/common/themeService
'
;
import
{
FileLabel
}
from
'
vs/workbench/browser/labels
'
;
import
{
FileLabel
}
from
'
vs/workbench/browser/labels
'
;
import
{
BreadcrumbElement
,
FileElement
}
from
'
vs/workbench/browser/parts/editor/breadcrumbsModel
'
;
import
{
BreadcrumbElement
,
FileElement
}
from
'
vs/workbench/browser/parts/editor/breadcrumbsModel
'
;
import
{
onUnexpectedError
}
from
'
vs/base/common/errors
'
;
import
{
onUnexpectedError
}
from
'
vs/base/common/errors
'
;
...
@@ -45,10 +45,10 @@ export abstract class BreadcrumbsPicker {
...
@@ -45,10 +45,10 @@ export abstract class BreadcrumbsPicker {
)
{
)
{
this
.
_domNode
=
document
.
createElement
(
'
div
'
);
this
.
_domNode
=
document
.
createElement
(
'
div
'
);
this
.
_domNode
.
className
=
'
monaco-breadcrumbs-picker show-file-icons
'
;
this
.
_domNode
.
className
=
'
monaco-breadcrumbs-picker show-file-icons
'
;
const
color
=
this
.
_themeService
.
getTheme
().
getColor
(
breadcrumbsActiveSelectionBackground
);
const
theme
=
this
.
_themeService
.
getTheme
();
const
color
=
theme
.
getColor
(
breadcrumbsActiveSelectionBackground
);
this
.
_domNode
.
style
.
background
=
color
.
toString
();
this
.
_domNode
.
style
.
background
=
color
.
toString
();
this
.
_domNode
.
style
.
boxShadow
=
`0px 5px 8px
${
color
.
darken
(.
2
)}
`
;
this
.
_domNode
.
style
.
boxShadow
=
`0px 5px 8px
${(
theme
.
type
===
DARK
?
color
.
darken
(.
6
)
:
color
.
darken
(.
2
))}
`
;
this
.
_domNode
.
style
.
zIndex
=
'
1000
'
;
container
.
appendChild
(
this
.
_domNode
);
container
.
appendChild
(
this
.
_domNode
);
this
.
_focus
=
dom
.
trackFocus
(
this
.
_domNode
);
this
.
_focus
=
dom
.
trackFocus
(
this
.
_domNode
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录