Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
ae97e9a9
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,发现更多精彩内容 >>
提交
ae97e9a9
编写于
3月 23, 2017
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
theming - editorSideBySideBorder
上级
209f12a0
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
18 addition
and
15 deletion
+18
-15
extensions/theme-abyss/themes/abyss-color-theme.json
extensions/theme-abyss/themes/abyss-color-theme.json
+1
-0
src/vs/workbench/browser/parts/editor/media/sidebysideEditor.css
...workbench/browser/parts/editor/media/sidebysideEditor.css
+0
-14
src/vs/workbench/browser/parts/editor/sideBySideEditor.ts
src/vs/workbench/browser/parts/editor/sideBySideEditor.ts
+11
-1
src/vs/workbench/common/theme.ts
src/vs/workbench/common/theme.ts
+6
-0
未找到文件。
extensions/theme-abyss/themes/abyss-color-theme.json
浏览文件 @
ae97e9a9
...
...
@@ -275,6 +275,7 @@
"editorGroupBorder"
:
"#2b2b4a"
,
"editorGroupBackground"
:
"#1c1c2a"
,
"editorDragAndDropBackground"
:
"#25375daa"
,
"editorSideBySideBorder"
:
"#10192c"
,
"panelBorderTopColor"
:
"#2b2b4a"
,
"statusBarBackground"
:
"#10192c"
,
"activityBarBackground"
:
"#051336"
,
...
...
src/vs/workbench/browser/parts/editor/media/sidebysideEditor.css
已删除
100644 → 0
浏览文件 @
209f12a0
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/* TODO@theme */
.vs
.monaco-workbench
.side-by-side-editor
>
.master-editor-container
{
box-shadow
:
-6px
0
5px
-5px
#DDD
;
}
.vs-dark
.monaco-workbench
.side-by-side-editor
>
.master-editor-container
{
box-shadow
:
-6px
0
5px
-5px
black
;
}
\ No newline at end of file
src/vs/workbench/browser/parts/editor/sideBySideEditor.ts
浏览文件 @
ae97e9a9
...
...
@@ -3,7 +3,6 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import
'
vs/css!./media/sidebysideEditor
'
;
import
{
TPromise
}
from
'
vs/base/common/winjs.base
'
;
import
*
as
strings
from
'
vs/base/common/strings
'
;
import
*
as
DOM
from
'
vs/base/browser/dom
'
;
...
...
@@ -18,6 +17,7 @@ import { VSash } from 'vs/base/browser/ui/sash/sash';
import
{
ITelemetryService
}
from
'
vs/platform/telemetry/common/telemetry
'
;
import
{
IInstantiationService
}
from
'
vs/platform/instantiation/common/instantiation
'
;
import
{
IThemeService
}
from
'
vs/platform/theme/common/themeService
'
;
import
{
EDITOR_SIDE_BY_SIDE_BORDER
}
from
'
vs/workbench/common/theme
'
;
export
class
SideBySideEditor
extends
BaseEditor
{
...
...
@@ -157,6 +157,16 @@ export class SideBySideEditor extends BaseEditor {
this
.
detailsEditorContainer
.
style
.
position
=
'
absolute
'
;
this
.
masterEditorContainer
=
DOM
.
append
(
parentElement
,
DOM
.
$
(
'
.master-editor-container
'
));
this
.
masterEditorContainer
.
style
.
position
=
'
absolute
'
;
this
.
updateStyles
();
}
protected
updateStyles
():
void
{
super
.
updateStyles
();
if
(
this
.
masterEditorContainer
)
{
this
.
masterEditorContainer
.
style
.
boxShadow
=
`-6px 0 5px -5px
${
this
.
getColor
(
EDITOR_SIDE_BY_SIDE_BORDER
)}
`
;
}
}
private
createSash
(
parentElement
:
HTMLElement
):
void
{
...
...
src/vs/workbench/common/theme.ts
浏览文件 @
ae97e9a9
...
...
@@ -97,6 +97,12 @@ export const EDITOR_DRAG_AND_DROP_BACKGROUND = registerColor('editorDragAndDropB
hc
:
null
},
nls
.
localize
(
'
editorDragAndDropBackground
'
,
"
Background color when dragging editors around.
"
));
export
const
EDITOR_SIDE_BY_SIDE_BORDER
=
registerColor
(
'
editorSideBySideBorder
'
,
{
dark
:
'
#000000
'
,
light
:
'
#DDDDDD
'
,
hc
:
null
},
nls
.
localize
(
'
editorSideBySideBorder
'
,
"
Border color to separate the details from the master side for side by side editors.
"
));
// < --- Panels --- >
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录