Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
掘金者说
vscode
提交
228ac262
V
vscode
项目概览
掘金者说
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
228ac262
编写于
5月 08, 2017
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
themes - let more specific border colors win over contrastBorder color
上级
7432cfa1
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
61 addition
and
61 deletion
+61
-61
src/vs/workbench/browser/parts/activitybar/activitybarActions.ts
...workbench/browser/parts/activitybar/activitybarActions.ts
+4
-4
src/vs/workbench/browser/parts/activitybar/activitybarPart.ts
...vs/workbench/browser/parts/activitybar/activitybarPart.ts
+8
-8
src/vs/workbench/browser/parts/editor/editorGroupsControl.ts
src/vs/workbench/browser/parts/editor/editorGroupsControl.ts
+17
-17
src/vs/workbench/browser/parts/editor/tabsTitleControl.ts
src/vs/workbench/browser/parts/editor/tabsTitleControl.ts
+8
-8
src/vs/workbench/browser/parts/sidebar/sidebarPart.ts
src/vs/workbench/browser/parts/sidebar/sidebarPart.ts
+7
-7
src/vs/workbench/browser/parts/statusbar/statusbarPart.ts
src/vs/workbench/browser/parts/statusbar/statusbarPart.ts
+4
-4
src/vs/workbench/electron-browser/window.ts
src/vs/workbench/electron-browser/window.ts
+5
-5
src/vs/workbench/parts/debug/browser/debugActionsWidget.ts
src/vs/workbench/parts/debug/browser/debugActionsWidget.ts
+4
-4
src/vs/workbench/parts/extensions/electron-browser/extensionsViewlet.ts
...ch/parts/extensions/electron-browser/extensionsViewlet.ts
+4
-4
未找到文件。
src/vs/workbench/browser/parts/activitybar/activitybarActions.ts
浏览文件 @
228ac262
...
...
@@ -176,14 +176,14 @@ export class ActivityActionItem extends ThemableActivityActionItem {
if
(
this
.
$badgeContent
)
{
const
badgeForeground
=
theme
.
getColor
(
ACTIVITY_BAR_BADGE_FOREGROUND
);
const
badgeBackground
=
theme
.
getColor
(
ACTIVITY_BAR_BADGE_BACKGROUND
);
const
hcBorde
r
=
theme
.
getColor
(
contrastBorder
);
const
contrastBorderColo
r
=
theme
.
getColor
(
contrastBorder
);
this
.
$badgeContent
.
style
(
'
color
'
,
badgeForeground
?
badgeForeground
.
toString
()
:
null
);
this
.
$badgeContent
.
style
(
'
background-color
'
,
badgeBackground
?
badgeBackground
.
toString
()
:
null
);
this
.
$badgeContent
.
style
(
'
border-style
'
,
hcBorde
r
?
'
solid
'
:
null
);
this
.
$badgeContent
.
style
(
'
border-width
'
,
hcBorde
r
?
'
1px
'
:
null
);
this
.
$badgeContent
.
style
(
'
border-color
'
,
hcBorder
?
hcBorde
r
.
toString
()
:
null
);
this
.
$badgeContent
.
style
(
'
border-style
'
,
contrastBorderColo
r
?
'
solid
'
:
null
);
this
.
$badgeContent
.
style
(
'
border-width
'
,
contrastBorderColo
r
?
'
1px
'
:
null
);
this
.
$badgeContent
.
style
(
'
border-color
'
,
contrastBorderColor
?
contrastBorderColo
r
.
toString
()
:
null
);
}
}
...
...
src/vs/workbench/browser/parts/activitybar/activitybarPart.ts
浏览文件 @
228ac262
...
...
@@ -216,15 +216,15 @@ export class ActivitybarPart extends Part implements IActivityBarService {
const
background
=
this
.
getColor
(
ACTIVITY_BAR_BACKGROUND
);
container
.
style
(
'
background-color
'
,
background
);
const
hcBorde
r
=
this
.
getColor
(
contrastBorder
);
const
contrastBorderColo
r
=
this
.
getColor
(
contrastBorder
);
const
isPositionLeft
=
this
.
partService
.
getSideBarPosition
()
===
SideBarPosition
.
LEFT
;
container
.
style
(
'
box-sizing
'
,
hcBorde
r
&&
isPositionLeft
?
'
border-box
'
:
null
);
container
.
style
(
'
border-right-width
'
,
hcBorde
r
&&
isPositionLeft
?
'
1px
'
:
null
);
container
.
style
(
'
border-right-style
'
,
hcBorde
r
&&
isPositionLeft
?
'
solid
'
:
null
);
container
.
style
(
'
border-right-color
'
,
isPositionLeft
?
hcBorde
r
:
null
);
container
.
style
(
'
border-left-width
'
,
hcBorde
r
&&
!
isPositionLeft
?
'
1px
'
:
null
);
container
.
style
(
'
border-left-style
'
,
hcBorde
r
&&
!
isPositionLeft
?
'
solid
'
:
null
);
container
.
style
(
'
border-left-color
'
,
!
isPositionLeft
?
hcBorde
r
:
null
);
container
.
style
(
'
box-sizing
'
,
contrastBorderColo
r
&&
isPositionLeft
?
'
border-box
'
:
null
);
container
.
style
(
'
border-right-width
'
,
contrastBorderColo
r
&&
isPositionLeft
?
'
1px
'
:
null
);
container
.
style
(
'
border-right-style
'
,
contrastBorderColo
r
&&
isPositionLeft
?
'
solid
'
:
null
);
container
.
style
(
'
border-right-color
'
,
isPositionLeft
?
contrastBorderColo
r
:
null
);
container
.
style
(
'
border-left-width
'
,
contrastBorderColo
r
&&
!
isPositionLeft
?
'
1px
'
:
null
);
container
.
style
(
'
border-left-style
'
,
contrastBorderColo
r
&&
!
isPositionLeft
?
'
solid
'
:
null
);
container
.
style
(
'
border-left-color
'
,
!
isPositionLeft
?
contrastBorderColo
r
:
null
);
}
private
showContextMenu
(
e
:
MouseEvent
):
void
{
...
...
src/vs/workbench/browser/parts/editor/editorGroupsControl.ts
浏览文件 @
228ac262
...
...
@@ -1009,19 +1009,19 @@ export class EditorGroupsControl extends Themable implements IEditorGroupsContro
silo
.
style
(
'
background-color
'
,
this
.
getColor
(
editorBackground
));
// Border
silo
.
style
(
'
border-left-color
'
,
index
>
Position
.
ONE
?
(
this
.
getColor
(
contrastBorder
)
||
this
.
getColor
(
EDITOR_GROUP_BORDER_COLOR
))
:
null
);
silo
.
style
(
'
border-top-color
'
,
index
>
Position
.
ONE
?
(
this
.
getColor
(
contrastBorder
)
||
this
.
getColor
(
EDITOR_GROUP_BORDER_COLOR
))
:
null
);
silo
.
style
(
'
border-left-color
'
,
index
>
Position
.
ONE
?
(
this
.
getColor
(
EDITOR_GROUP_BORDER_COLOR
)
||
this
.
getColor
(
contrastBorder
))
:
null
);
silo
.
style
(
'
border-top-color
'
,
index
>
Position
.
ONE
?
(
this
.
getColor
(
EDITOR_GROUP_BORDER_COLOR
)
||
this
.
getColor
(
contrastBorder
))
:
null
);
});
// Title control
POSITIONS
.
forEach
(
position
=>
{
const
container
=
this
.
getTitleAreaControl
(
position
).
getContainer
();
const
hcBorde
r
=
this
.
getColor
(
contrastBorder
);
const
contrastBorderColo
r
=
this
.
getColor
(
contrastBorder
);
container
.
style
.
backgroundColor
=
this
.
getColor
(
this
.
tabOptions
.
showTabs
?
TABS_CONTAINER_BACKGROUND
:
EDITOR_GROUP_HEADER_BACKGROUND
);
container
.
style
.
borderBottomWidth
=
(
hcBorde
r
&&
this
.
tabOptions
.
showTabs
)
?
'
1px
'
:
null
;
container
.
style
.
borderBottomStyle
=
(
hcBorde
r
&&
this
.
tabOptions
.
showTabs
)
?
'
solid
'
:
null
;
container
.
style
.
borderBottomColor
=
this
.
tabOptions
.
showTabs
?
hcBorde
r
:
null
;
container
.
style
.
borderBottomWidth
=
(
contrastBorderColo
r
&&
this
.
tabOptions
.
showTabs
)
?
'
1px
'
:
null
;
container
.
style
.
borderBottomStyle
=
(
contrastBorderColo
r
&&
this
.
tabOptions
.
showTabs
)
?
'
solid
'
:
null
;
container
.
style
.
borderBottomColor
=
this
.
tabOptions
.
showTabs
?
contrastBorderColo
r
:
null
;
});
}
...
...
@@ -1226,15 +1226,15 @@ export class EditorGroupsControl extends Themable implements IEditorGroupsContro
const
containers
=
$this
.
visibleEditors
.
filter
(
e
=>
!!
e
).
map
(
e
=>
e
.
getContainer
());
containers
.
forEach
((
container
,
index
)
=>
{
if
(
container
&&
DOM
.
isAncestor
(
target
,
container
.
getHTMLElement
()))
{
const
hcOutline
=
$this
.
getColor
(
activeContrastBorder
);
const
activeContrastBorderColor
=
$this
.
getColor
(
activeContrastBorder
);
overlay
=
$
(
'
div
'
).
style
({
top
:
$this
.
tabOptions
.
showTabs
?
`
${
EditorGroupsControl
.
EDITOR_TITLE_HEIGHT
}
px`
:
0
,
height
:
$this
.
tabOptions
.
showTabs
?
`calc(100% -
${
EditorGroupsControl
.
EDITOR_TITLE_HEIGHT
}
px`
:
'
100%
'
,
backgroundColor
:
$this
.
getColor
(
EDITOR_DRAG_AND_DROP_BACKGROUND
),
outlineColor
:
hcOutline
,
outlineOffset
:
hcOutline
?
'
-2px
'
:
null
,
outlineStyle
:
hcOutline
?
'
dashed
'
:
null
,
outlineWidth
:
hcOutline
?
'
2px
'
:
null
outlineColor
:
activeContrastBorderColor
,
outlineOffset
:
activeContrastBorderColor
?
'
-2px
'
:
null
,
outlineStyle
:
activeContrastBorderColor
?
'
dashed
'
:
null
,
outlineWidth
:
activeContrastBorderColor
?
'
2px
'
:
null
}).
id
(
overlayId
);
overlay
.
appendTo
(
container
);
...
...
@@ -1555,7 +1555,7 @@ export class EditorGroupsControl extends Themable implements IEditorGroupsContro
if
(
isDragging
)
{
this
.
parent
.
addClass
(
'
dragging
'
);
silo
.
addClass
(
'
dragging
'
);
borderColor
=
(
this
.
getColor
(
contrastBorder
)
||
this
.
getColor
(
EDITOR_GROUP_BORDER_COLOR
)
);
borderColor
=
this
.
getColor
(
EDITOR_GROUP_BORDER_COLOR
)
||
this
.
getColor
(
contrastBorder
);
}
else
{
this
.
parent
.
removeClass
(
'
dragging
'
);
silo
.
removeClass
(
'
dragging
'
);
...
...
@@ -1575,11 +1575,11 @@ export class EditorGroupsControl extends Themable implements IEditorGroupsContro
const
background
=
this
.
getColor
(
isDropping
?
EDITOR_DRAG_AND_DROP_BACKGROUND
:
groupCount
>
0
?
EDITOR_GROUP_BACKGROUND
:
null
);
element
.
style
.
backgroundColor
=
background
;
const
hcOutline
=
this
.
getColor
(
activeContrastBorder
);
element
.
style
.
outlineColor
=
isDropping
?
hcOutline
:
null
;
element
.
style
.
outlineStyle
=
isDropping
&&
hcOutline
?
'
dashed
'
:
null
;
element
.
style
.
outlineWidth
=
isDropping
&&
hcOutline
?
'
2px
'
:
null
;
element
.
style
.
outlineOffset
=
isDropping
&&
hcOutline
?
'
-2px
'
:
null
;
const
activeContrastBorderColor
=
this
.
getColor
(
activeContrastBorder
);
element
.
style
.
outlineColor
=
isDropping
?
activeContrastBorderColor
:
null
;
element
.
style
.
outlineStyle
=
isDropping
&&
activeContrastBorderColor
?
'
dashed
'
:
null
;
element
.
style
.
outlineWidth
=
isDropping
&&
activeContrastBorderColor
?
'
2px
'
:
null
;
element
.
style
.
outlineOffset
=
isDropping
&&
activeContrastBorderColor
?
'
-2px
'
:
null
;
}
private
posSilo
(
pos
:
number
,
leftTop
:
string
|
number
,
rightBottom
?:
string
|
number
,
borderLeftTopWidth
?:
string
|
number
):
void
{
...
...
src/vs/workbench/browser/parts/editor/tabsTitleControl.ts
浏览文件 @
228ac262
...
...
@@ -219,16 +219,16 @@ export class TabsTitleControl extends TitleControl {
element
.
style
.
backgroundColor
=
isDND
?
this
.
getColor
(
EDITOR_DRAG_AND_DROP_BACKGROUND
)
:
noDNDBackgroundColor
;
// Outline
const
hcOutline
=
this
.
getColor
(
activeContrastBorder
);
if
(
hcOutline
&&
isDND
)
{
const
activeContrastBorderColor
=
this
.
getColor
(
activeContrastBorder
);
if
(
activeContrastBorderColor
&&
isDND
)
{
element
.
style
.
outlineWidth
=
'
2px
'
;
element
.
style
.
outlineStyle
=
'
dashed
'
;
element
.
style
.
outlineColor
=
hcOutline
;
element
.
style
.
outlineColor
=
activeContrastBorderColor
;
element
.
style
.
outlineOffset
=
isTab
?
'
-5px
'
:
'
-3px
'
;
}
else
{
element
.
style
.
outlineWidth
=
null
;
element
.
style
.
outlineStyle
=
null
;
element
.
style
.
outlineColor
=
hcOutline
;
element
.
style
.
outlineColor
=
activeContrastBorderColor
;
element
.
style
.
outlineOffset
=
null
;
}
}
...
...
@@ -272,8 +272,8 @@ export class TabsTitleControl extends TitleControl {
// Container
tabContainer
.
setAttribute
(
'
aria-label
'
,
`
${
name
}
, tab`
);
tabContainer
.
title
=
title
;
tabContainer
.
style
.
borderLeftColor
=
(
index
!==
0
)
?
(
this
.
getColor
(
contrastBorder
)
||
this
.
getColor
(
TAB_BORDER
))
:
null
;
tabContainer
.
style
.
borderRightColor
=
(
index
===
editorsOfGroup
.
length
-
1
)
?
(
this
.
getColor
(
contrastBorder
)
||
this
.
getColor
(
TAB_BORDER
))
:
null
;
tabContainer
.
style
.
borderLeftColor
=
(
index
!==
0
)
?
(
this
.
getColor
(
TAB_BORDER
)
||
this
.
getColor
(
contrastBorder
))
:
null
;
;
tabContainer
.
style
.
borderRightColor
=
(
index
===
editorsOfGroup
.
length
-
1
)
?
(
this
.
getColor
(
TAB_BORDER
)
||
this
.
getColor
(
contrastBorder
))
:
null
;
;
tabContainer
.
style
.
outlineColor
=
this
.
getColor
(
activeContrastBorder
);
const
tabOptions
=
this
.
editorGroupService
.
getTabOptions
();
...
...
@@ -763,8 +763,8 @@ class TabActionRunner extends ActionRunner {
registerThemingParticipant
((
theme
:
ITheme
,
collector
:
ICssStyleCollector
)
=>
{
// Styling with Outline color (e.g. high contrast theme)
const
outline
=
theme
.
getColor
(
activeContrastBorder
);
if
(
outline
)
{
const
activeContrastBorderColor
=
theme
.
getColor
(
activeContrastBorder
);
if
(
activeContrastBorderColor
)
{
collector
.
addRule
(
`
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab.active,
.monaco-workbench > .part.editor > .content > .one-editor-silo > .container > .title .tabs-container > .tab.active:hover {
...
...
src/vs/workbench/browser/parts/sidebar/sidebarPart.ts
浏览文件 @
228ac262
...
...
@@ -83,14 +83,14 @@ export class SidebarPart extends CompositePart<Viewlet> {
container
.
style
(
'
background-color
'
,
this
.
getColor
(
SIDE_BAR_BACKGROUND
));
const
hcBorde
r
=
this
.
getColor
(
contrastBorder
);
const
contrastBorderColo
r
=
this
.
getColor
(
contrastBorder
);
const
isPositionLeft
=
this
.
partService
.
getSideBarPosition
()
===
SideBarPosition
.
LEFT
;
container
.
style
(
'
border-right-width
'
,
hcBorde
r
&&
isPositionLeft
?
'
1px
'
:
null
);
container
.
style
(
'
border-right-style
'
,
hcBorde
r
&&
isPositionLeft
?
'
solid
'
:
null
);
container
.
style
(
'
border-right-color
'
,
isPositionLeft
?
hcBorde
r
:
null
);
container
.
style
(
'
border-left-width
'
,
hcBorde
r
&&
!
isPositionLeft
?
'
1px
'
:
null
);
container
.
style
(
'
border-left-style
'
,
hcBorde
r
&&
!
isPositionLeft
?
'
solid
'
:
null
);
container
.
style
(
'
border-left-color
'
,
!
isPositionLeft
?
hcBorde
r
:
null
);
container
.
style
(
'
border-right-width
'
,
contrastBorderColo
r
&&
isPositionLeft
?
'
1px
'
:
null
);
container
.
style
(
'
border-right-style
'
,
contrastBorderColo
r
&&
isPositionLeft
?
'
solid
'
:
null
);
container
.
style
(
'
border-right-color
'
,
isPositionLeft
?
contrastBorderColo
r
:
null
);
container
.
style
(
'
border-left-width
'
,
contrastBorderColo
r
&&
!
isPositionLeft
?
'
1px
'
:
null
);
container
.
style
(
'
border-left-style
'
,
contrastBorderColo
r
&&
!
isPositionLeft
?
'
solid
'
:
null
);
container
.
style
(
'
border-left-color
'
,
!
isPositionLeft
?
contrastBorderColo
r
:
null
);
}
public
openViewlet
(
id
:
string
,
focus
?:
boolean
):
TPromise
<
Viewlet
>
{
...
...
src/vs/workbench/browser/parts/statusbar/statusbarPart.ts
浏览文件 @
228ac262
...
...
@@ -139,10 +139,10 @@ export class StatusbarPart extends Part implements IStatusbarService {
container
.
style
(
'
color
'
,
this
.
getColor
(
STATUS_BAR_FOREGROUND
));
container
.
style
(
'
background-color
'
,
this
.
getColor
(
this
.
contextService
.
hasWorkspace
()
?
STATUS_BAR_BACKGROUND
:
STATUS_BAR_NO_FOLDER_BACKGROUND
));
const
hcBorde
r
=
this
.
getColor
(
contrastBorder
);
container
.
style
(
'
border-top-width
'
,
hcBorde
r
?
'
1px
'
:
null
);
container
.
style
(
'
border-top-style
'
,
hcBorde
r
?
'
solid
'
:
null
);
container
.
style
(
'
border-top-color
'
,
hcBorde
r
);
const
contrastBorderColo
r
=
this
.
getColor
(
contrastBorder
);
container
.
style
(
'
border-top-width
'
,
contrastBorderColo
r
?
'
1px
'
:
null
);
container
.
style
(
'
border-top-style
'
,
contrastBorderColo
r
?
'
solid
'
:
null
);
container
.
style
(
'
border-top-color
'
,
contrastBorderColo
r
);
}
private
doCreateStatusItem
(
alignment
:
StatusbarAlignment
,
priority
:
number
=
0
):
HTMLElement
{
...
...
src/vs/workbench/electron-browser/window.ts
浏览文件 @
228ac262
...
...
@@ -134,17 +134,17 @@ export class ElectronWindow extends Themable {
// Find out if folders are dragged and show the appropiate feedback then
this
.
includesFolder
(
draggedExternalResources
).
done
(
includesFolder
=>
{
if
(
includesFolder
)
{
const
hcOutline
=
this
.
getColor
(
activeContrastBorder
);
const
activeContrastBorderColor
=
this
.
getColor
(
activeContrastBorder
);
dropOverlay
=
$
(
window
.
document
.
getElementById
(
this
.
partService
.
getWorkbenchElementId
()))
.
div
({
id
:
'
monaco-workbench-drop-overlay
'
})
.
style
({
backgroundColor
:
this
.
getColor
(
EDITOR_DRAG_AND_DROP_BACKGROUND
),
outlineColor
:
hcOutline
,
outlineOffset
:
hcOutline
?
'
-2px
'
:
null
,
outlineStyle
:
hcOutline
?
'
dashed
'
:
null
,
outlineWidth
:
hcOutline
?
'
2px
'
:
null
outlineColor
:
activeContrastBorderColor
,
outlineOffset
:
activeContrastBorderColor
?
'
-2px
'
:
null
,
outlineStyle
:
activeContrastBorderColor
?
'
dashed
'
:
null
,
outlineWidth
:
activeContrastBorderColor
?
'
2px
'
:
null
})
.
on
(
DOM
.
EventType
.
DROP
,
(
e
:
DragEvent
)
=>
{
DOM
.
EventHelper
.
stop
(
e
,
true
);
...
...
src/vs/workbench/parts/debug/browser/debugActionsWidget.ts
浏览文件 @
228ac262
...
...
@@ -149,10 +149,10 @@ export class DebugActionsWidget extends Themable implements IWorkbenchContributi
const
widgetShadowColor
=
this
.
getColor
(
widgetShadow
);
this
.
$el
.
style
(
'
box-shadow
'
,
widgetShadowColor
?
`0 5px 8px
${
widgetShadowColor
}
`
:
null
);
const
hcBorde
r
=
this
.
getColor
(
contrastBorder
);
this
.
$el
.
style
(
'
border-style
'
,
hcBorde
r
?
'
solid
'
:
null
);
this
.
$el
.
style
(
'
border-width
'
,
hcBorde
r
?
'
1px
'
:
null
);
this
.
$el
.
style
(
'
border-color
'
,
hcBorde
r
);
const
contrastBorderColo
r
=
this
.
getColor
(
contrastBorder
);
this
.
$el
.
style
(
'
border-style
'
,
contrastBorderColo
r
?
'
solid
'
:
null
);
this
.
$el
.
style
(
'
border-width
'
,
contrastBorderColo
r
?
'
1px
'
:
null
);
this
.
$el
.
style
(
'
border-color
'
,
contrastBorderColo
r
);
}
}
...
...
src/vs/workbench/parts/extensions/electron-browser/extensionsViewlet.ts
浏览文件 @
228ac262
...
...
@@ -146,14 +146,14 @@ export class ExtensionsViewlet extends Viewlet implements IExtensionsViewlet {
public
updateStyles
():
void
{
super
.
updateStyles
();
const
hcBorde
r
=
this
.
getColor
(
contrastBorder
);
const
contrastBorderColo
r
=
this
.
getColor
(
contrastBorder
);
this
.
searchBox
.
style
.
backgroundColor
=
this
.
getColor
(
inputBackground
);
this
.
searchBox
.
style
.
color
=
this
.
getColor
(
inputForeground
);
this
.
searchBox
.
style
.
borderWidth
=
hcBorde
r
?
'
1px
'
:
null
;
this
.
searchBox
.
style
.
borderStyle
=
hcBorde
r
?
'
solid
'
:
null
;
this
.
searchBox
.
style
.
borderColor
=
hcBorde
r
;
this
.
searchBox
.
style
.
borderWidth
=
contrastBorderColo
r
?
'
1px
'
:
null
;
this
.
searchBox
.
style
.
borderStyle
=
contrastBorderColo
r
?
'
solid
'
:
null
;
this
.
searchBox
.
style
.
borderColor
=
contrastBorderColo
r
;
}
setVisible
(
visible
:
boolean
):
TPromise
<
void
>
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录