Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
57080fa8
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,发现更多精彩内容 >>
提交
57080fa8
编写于
3月 02, 2018
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
debt - clean up and polish some CSS rules in base
上级
03d70412
变更
30
展开全部
隐藏空白更改
内联
并排
Showing
30 changed file
with
243 addition
and
256 deletion
+243
-256
src/vs/base/browser/builder.css
src/vs/base/browser/builder.css
+2
-2
src/vs/base/browser/builder.ts
src/vs/base/browser/builder.ts
+5
-5
src/vs/base/browser/ui/aria/aria.css
src/vs/base/browser/ui/aria/aria.css
+1
-1
src/vs/base/browser/ui/dropdown/dropdown.css
src/vs/base/browser/ui/dropdown/dropdown.css
+7
-8
src/vs/base/browser/ui/dropdown/dropdown.ts
src/vs/base/browser/ui/dropdown/dropdown.ts
+1
-1
src/vs/base/browser/ui/findinput/findInput.css
src/vs/base/browser/ui/findinput/findInput.css
+0
-8
src/vs/base/browser/ui/progressbar/progressbar.css
src/vs/base/browser/ui/progressbar/progressbar.css
+7
-9
src/vs/base/browser/ui/progressbar/progressbar.ts
src/vs/base/browser/ui/progressbar/progressbar.ts
+1
-1
src/vs/base/browser/ui/selectBox/selectBox.css
src/vs/base/browser/ui/selectBox/selectBox.css
+1
-1
src/vs/base/browser/ui/selectBox/selectBoxCustom.css
src/vs/base/browser/ui/selectBox/selectBoxCustom.css
+8
-10
src/vs/base/browser/ui/selectBox/selectBoxCustom.ts
src/vs/base/browser/ui/selectBox/selectBoxCustom.ts
+11
-11
src/vs/base/browser/ui/selectBox/selectBoxNative.ts
src/vs/base/browser/ui/selectBox/selectBoxNative.ts
+1
-1
src/vs/base/parts/quickopen/browser/quickOpenWidget.ts
src/vs/base/parts/quickopen/browser/quickOpenWidget.ts
+1
-1
src/vs/base/parts/quickopen/browser/quickopen.css
src/vs/base/parts/quickopen/browser/quickopen.css
+23
-23
src/vs/base/test/browser/builder.test.ts
src/vs/base/test/browser/builder.test.ts
+7
-7
src/vs/editor/standalone/browser/quickOpen/gotoLine.css
src/vs/editor/standalone/browser/quickOpen/gotoLine.css
+1
-1
src/vs/editor/standalone/browser/quickOpen/quickOutline.css
src/vs/editor/standalone/browser/quickOpen/quickOutline.css
+42
-42
src/vs/workbench/browser/media/part.css
src/vs/workbench/browser/media/part.css
+2
-2
src/vs/workbench/browser/parts/editor/media/editorpicker.css
src/vs/workbench/browser/parts/editor/media/editorpicker.css
+1
-1
src/vs/workbench/browser/parts/panel/media/panelpart.css
src/vs/workbench/browser/parts/panel/media/panelpart.css
+1
-1
src/vs/workbench/browser/parts/quickopen/media/quickopen.css
src/vs/workbench/browser/parts/quickopen/media/quickopen.css
+6
-6
src/vs/workbench/electron-browser/media/workbench.css
src/vs/workbench/electron-browser/media/workbench.css
+2
-2
src/vs/workbench/parts/debug/browser/media/debugActionsWidget.css
...orkbench/parts/debug/browser/media/debugActionsWidget.css
+1
-1
src/vs/workbench/parts/debug/browser/media/debugViewlet.css
src/vs/workbench/parts/debug/browser/media/debugViewlet.css
+2
-2
src/vs/workbench/parts/feedback/electron-browser/feedbackStatusbarItem.ts
.../parts/feedback/electron-browser/feedbackStatusbarItem.ts
+1
-1
src/vs/workbench/parts/feedback/electron-browser/media/feedback.css
...kbench/parts/feedback/electron-browser/media/feedback.css
+2
-2
src/vs/workbench/parts/quickopen/browser/media/gotoSymbolHandler.css
...bench/parts/quickopen/browser/media/gotoSymbolHandler.css
+102
-102
test/smoke/src/areas/debug/debug.ts
test/smoke/src/areas/debug/debug.ts
+1
-1
test/smoke/src/areas/quickopen/quickopen.ts
test/smoke/src/areas/quickopen/quickopen.ts
+2
-2
test/smoke/src/areas/statusbar/statusbar.ts
test/smoke/src/areas/statusbar/statusbar.ts
+1
-1
未找到文件。
src/vs/base/browser/builder.css
浏览文件 @
57080fa8
...
...
@@ -3,12 +3,12 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.builder-hidden
{
.
monaco-
builder-hidden
{
display
:
none
!important
;
visibility
:
hidden
!important
;
}
.builder-visible
{
.
monaco-
builder-visible
{
display
:
inherit
;
visibility
:
visible
;
}
src/vs/base/browser/builder.ts
浏览文件 @
57080fa8
...
...
@@ -974,8 +974,8 @@ export class Builder implements IDisposable {
* Shows the current element of the builder.
*/
public
show
():
Builder
{
if
(
this
.
hasClass
(
'
builder-hidden
'
))
{
this
.
removeClass
(
'
builder-hidden
'
);
if
(
this
.
hasClass
(
'
monaco-
builder-hidden
'
))
{
this
.
removeClass
(
'
monaco-
builder-hidden
'
);
}
this
.
attr
(
'
aria-hidden
'
,
'
false
'
);
...
...
@@ -1013,8 +1013,8 @@ export class Builder implements IDisposable {
* Hides the current element of the builder.
*/
public
hide
():
Builder
{
if
(
!
this
.
hasClass
(
'
builder-hidden
'
))
{
this
.
addClass
(
'
builder-hidden
'
);
if
(
!
this
.
hasClass
(
'
monaco-
builder-hidden
'
))
{
this
.
addClass
(
'
monaco-
builder-hidden
'
);
}
this
.
attr
(
'
aria-hidden
'
,
'
true
'
);
...
...
@@ -1028,7 +1028,7 @@ export class Builder implements IDisposable {
* Returns true if the current element of the builder is hidden.
*/
public
isHidden
():
boolean
{
return
this
.
hasClass
(
'
builder-hidden
'
)
||
this
.
currentElement
.
style
.
display
===
'
none
'
;
return
this
.
hasClass
(
'
monaco-
builder-hidden
'
)
||
this
.
currentElement
.
style
.
display
===
'
none
'
;
}
private
cancelVisibilityPromise
():
void
{
...
...
src/vs/base/browser/ui/aria/aria.css
浏览文件 @
57080fa8
...
...
@@ -4,6 +4,6 @@
*--------------------------------------------------------------------------------------------*/
.monaco-aria-container
{
position
:
absolute
;
/* try to hide from w
orkbench
but not from screen readers */
position
:
absolute
;
/* try to hide from w
indow
but not from screen readers */
left
:
-999em
;
}
\ No newline at end of file
src/vs/base/browser/ui/dropdown/dropdown.css
浏览文件 @
57080fa8
...
...
@@ -3,30 +3,29 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.dropdown
{
.
monaco-
dropdown
{
height
:
100%
;
}
.dropdown
,
.dropdown-group
{
display
:
inline-block
;
padding
:
0
;
}
.dropdown
>
.dropdown-label
,
.dropdown
>
.dropdown-action
{
.monaco-dropdown
>
.dropdown-label
,
.monaco-dropdown
>
.dropdown-action
{
display
:
inline-block
;
cursor
:
pointer
;
height
:
100%
;
}
.dropdown
>
.dropdown-action
{
.
monaco-
dropdown
>
.dropdown-action
{
vertical-align
:
top
;
}
.dropdown
>
.dropdown-action
>
.action-label
:hover
{
.
monaco-
dropdown
>
.dropdown-action
>
.action-label
:hover
{
color
:
inherit
;
text-decoration
:
none
;
}
.dropdown
>
.dropdown-action
,
.dropdown
>
.dropdown-action
>
.action-label
{
.monaco-dropdown
>
.dropdown-action
,
.monaco-dropdown
>
.dropdown-action
>
.action-label
{
display
:
inline-block
;
}
\ No newline at end of file
src/vs/base/browser/ui/dropdown/dropdown.ts
浏览文件 @
57080fa8
...
...
@@ -39,7 +39,7 @@ export class BaseDropdown extends ActionRunner {
this
.
_toDispose
=
[];
this
.
$el
=
$
(
'
.dropdown
'
).
appendTo
(
container
);
this
.
$el
=
$
(
'
.
monaco-
dropdown
'
).
appendTo
(
container
);
this
.
$label
=
$
(
'
.dropdown-label
'
);
...
...
src/vs/base/browser/ui/findinput/findInput.css
浏览文件 @
57080fa8
...
...
@@ -14,14 +14,6 @@
height
:
25px
;
}
.fl
:after
{
clear
:
both
;
content
:
''
;
display
:
block
;
visibility
:
hidden
;
height
:
0
;
}
.monaco-findInput
>
.controls
{
position
:
absolute
;
top
:
3px
;
...
...
src/vs/base/browser/ui/progressbar/progressbar.css
浏览文件 @
57080fa8
...
...
@@ -2,12 +2,12 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.progress-container
{
.
monaco-
progress-container
{
width
:
100%
;
height
:
5px
;
}
.progress-container
.progress-bit
{
.
monaco-
progress-container
.progress-bit
{
width
:
2%
;
height
:
5px
;
position
:
absolute
;
...
...
@@ -15,11 +15,11 @@
display
:
none
;
}
.progress-container.active
.progress-bit
{
.
monaco-
progress-container.active
.progress-bit
{
display
:
inherit
;
}
.progress-container.discrete
.progress-bit
{
.
monaco-
progress-container.discrete
.progress-bit
{
left
:
0
;
transition
:
width
100ms
linear
;
-webkit-transition
:
width
100ms
linear
;
...
...
@@ -28,11 +28,11 @@
-ms-transition
:
width
100ms
linear
;
}
.progress-container.discrete.done
.progress-bit
{
.
monaco-
progress-container.discrete.done
.progress-bit
{
width
:
100%
;
}
.progress-container.infinite
.progress-bit
{
.
monaco-
progress-container.infinite
.progress-bit
{
animation-name
:
progress
;
animation-duration
:
4s
;
animation-iteration-count
:
infinite
;
...
...
@@ -54,6 +54,4 @@
@keyframes
progress
{
from
{
left
:
0
;
width
:
2%
;
}
50
%
{
left
:
50%
;
width
:
5%
;
}
to
{
left
:
98%
;
width
:
2%
;
}
}
@-ms-keyframes
progress
{
from
{
left
:
0
;
width
:
2%
;
}
50
%
{
left
:
50%
;
width
:
5%
;
}
to
{
left
:
98%
;
width
:
2%
;
}
}
@-webkit-keyframes
progress
{
from
{
left
:
0
;
width
:
2%
;
}
50
%
{
left
:
50%
;
width
:
5%
;
}
to
{
left
:
98%
;
width
:
2%
;
}
}
@-moz-keyframes
progress
{
from
{
left
:
0
;
width
:
2%
;
}
50
%
{
left
:
50%
;
width
:
5%
;
}
to
{
left
:
98%
;
width
:
2%
;
}
}
@-moz-keyframes
progress
{
from
{
left
:
0
;
width
:
2%
;
}
50
%
{
left
:
50%
;
width
:
5%
;
}
to
{
left
:
98%
;
width
:
2%
;
}
}
\ No newline at end of file
src/vs/base/browser/ui/progressbar/progressbar.ts
浏览文件 @
57080fa8
...
...
@@ -18,7 +18,7 @@ const css_done = 'done';
const
css_active
=
'
active
'
;
const
css_infinite
=
'
infinite
'
;
const
css_discrete
=
'
discrete
'
;
const
css_progress_container
=
'
progress-container
'
;
const
css_progress_container
=
'
monaco-
progress-container
'
;
const
css_progress_bit
=
'
progress-bit
'
;
export
interface
IProgressBarOptions
extends
IProgressBarStyles
{
...
...
src/vs/base/browser/ui/selectBox/selectBox.css
浏览文件 @
57080fa8
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-
workbench
.
select-box
{
.monaco-select-box
{
width
:
100%
;
height
:
20px
;
}
\ No newline at end of file
src/vs/base/browser/ui/selectBox/selectBoxCustom.css
浏览文件 @
57080fa8
...
...
@@ -3,13 +3,11 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/* Require .monaco-shell for ContextView dropdown */
.monaco-shell
.select-box-dropdown-container
{
.monaco-select-box-dropdown-container
{
display
:
none
;
}
.monaco-s
hell
.s
elect-box-dropdown-container.visible
{
.monaco-select-box-dropdown-container.visible
{
display
:
flex
;
flex-direction
:
column
;
text-align
:
left
;
...
...
@@ -17,7 +15,7 @@
overflow
:
hidden
;
}
.monaco-s
hell
.s
elect-box-dropdown-container
>
.select-box-dropdown-list-container
{
.monaco-select-box-dropdown-container
>
.select-box-dropdown-list-container
{
flex
:
0
0
auto
;
align-self
:
flex-start
;
padding-bottom
:
1px
;
...
...
@@ -33,30 +31,30 @@
box-sizing
:
border-box
;
}
.
monaco-shell.hc-black
.
select-box-dropdown-container
>
.select-box-dropdown-list-container
{
.
hc-black
.monaco-
select-box-dropdown-container
>
.select-box-dropdown-list-container
{
padding-bottom
:
4px
;
padding-top
:
3px
;
}
.monaco-s
hell
.s
elect-box-dropdown-container
>
.select-box-dropdown-list-container
.monaco-list
.monaco-list-row
>
.option-text
{
.monaco-select-box-dropdown-container
>
.select-box-dropdown-list-container
.monaco-list
.monaco-list-row
>
.option-text
{
text-overflow
:
ellipsis
;
overflow
:
hidden
;
padding-left
:
3.5px
;
white-space
:
nowrap
;
}
.monaco-s
hell
.s
elect-box-dropdown-container
>
.select-box-dropdown-container-width-control
{
.monaco-select-box-dropdown-container
>
.select-box-dropdown-container-width-control
{
flex
:
1
1
auto
;
align-self
:
flex-start
;
opacity
:
0
;
}
.monaco-s
hell
.s
elect-box-dropdown-container
>
.select-box-dropdown-container-width-control
>
.width-control-div
{
.monaco-select-box-dropdown-container
>
.select-box-dropdown-container-width-control
>
.width-control-div
{
overflow
:
hidden
;
max-height
:
0px
;
}
.monaco-s
hell
.s
elect-box-dropdown-container
>
.select-box-dropdown-container-width-control
>
.width-control-div
>
.option-text-width-control
{
.monaco-select-box-dropdown-container
>
.select-box-dropdown-container-width-control
>
.width-control-div
>
.option-text-width-control
{
padding-left
:
4px
;
padding-right
:
8px
;
white-space
:
nowrap
;
...
...
src/vs/base/browser/ui/selectBox/selectBoxCustom.ts
浏览文件 @
57080fa8
...
...
@@ -96,7 +96,7 @@ export class SelectBoxList implements ISelectBoxDelegate, IDelegate<ISelectOptio
this
.
_isVisible
=
false
;
this
.
selectElement
=
document
.
createElement
(
'
select
'
);
this
.
selectElement
.
className
=
'
select-box
'
;
this
.
selectElement
.
className
=
'
monaco-
select-box
'
;
this
.
_onDidSelect
=
new
Emitter
<
ISelectData
>
();
this
.
styles
=
styles
;
...
...
@@ -121,7 +121,7 @@ export class SelectBoxList implements ISelectBoxDelegate, IDelegate<ISelectOptio
// SetUp ContextView container to hold select Dropdown
this
.
contextViewProvider
=
contextViewProvider
;
this
.
selectDropDownContainer
=
dom
.
$
(
'
.select-box-dropdown-container
'
);
this
.
selectDropDownContainer
=
dom
.
$
(
'
.
monaco-
select-box-dropdown-container
'
);
// Setup list for drop-down select
this
.
createSelectList
(
this
.
selectDropDownContainer
);
...
...
@@ -270,33 +270,33 @@ export class SelectBoxList implements ISelectBoxDelegate, IDelegate<ISelectOptio
// Style non-native select mode
if
(
this
.
styles
.
listFocusBackground
)
{
content
.
push
(
`.monaco-s
hell .s
elect-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { background-color:
${
this
.
styles
.
listFocusBackground
}
!important; }`
);
content
.
push
(
`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { background-color:
${
this
.
styles
.
listFocusBackground
}
!important; }`
);
}
if
(
this
.
styles
.
listFocusForeground
)
{
content
.
push
(
`.monaco-s
hell .s
elect-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused:not(:hover) { color:
${
this
.
styles
.
listFocusForeground
}
!important; }`
);
content
.
push
(
`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused:not(:hover) { color:
${
this
.
styles
.
listFocusForeground
}
!important; }`
);
}
// Hover foreground - ignore for disabled options
if
(
this
.
styles
.
listHoverForeground
)
{
content
.
push
(
`.monaco-s
hell .s
elect-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:hover { color:
${
this
.
styles
.
listHoverForeground
}
!important; }`
);
content
.
push
(
`.monaco-s
hell .s
elect-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color:
${
this
.
styles
.
listActiveSelectionForeground
}
!important; }`
);
content
.
push
(
`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:hover { color:
${
this
.
styles
.
listHoverForeground
}
!important; }`
);
content
.
push
(
`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color:
${
this
.
styles
.
listActiveSelectionForeground
}
!important; }`
);
}
// Hover background - ignore for disabled options
if
(
this
.
styles
.
listHoverBackground
)
{
content
.
push
(
`.monaco-s
hell .s
elect-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { background-color:
${
this
.
styles
.
listHoverBackground
}
!important; }`
);
content
.
push
(
`.monaco-s
hell .s
elect-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color:
${
this
.
styles
.
selectBackground
}
!important; }`
);
content
.
push
(
`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:not(.option-disabled):not(.focused):hover { background-color:
${
this
.
styles
.
listHoverBackground
}
!important; }`
);
content
.
push
(
`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { background-color:
${
this
.
styles
.
selectBackground
}
!important; }`
);
}
// Match quickOpen outline styles - ignore for disabled options
if
(
this
.
styles
.
listFocusOutline
)
{
content
.
push
(
`.monaco-s
hell .s
elect-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { outline: 1.6px dotted
${
this
.
styles
.
listFocusOutline
}
!important; outline-offset: -1.6px !important; }`
);
content
.
push
(
`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.focused { outline: 1.6px dotted
${
this
.
styles
.
listFocusOutline
}
!important; outline-offset: -1.6px !important; }`
);
}
if
(
this
.
styles
.
listHoverOutline
)
{
content
.
push
(
`.monaco-s
hell .s
elect-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:hover:not(.focused) { outline: 1.6px dashed
${
this
.
styles
.
listHoverOutline
}
!important; outline-offset: -1.6px !important; }`
);
content
.
push
(
`.monaco-s
hell .s
elect-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { outline: none !important; }`
);
content
.
push
(
`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row:hover:not(.focused) { outline: 1.6px dashed
${
this
.
styles
.
listHoverOutline
}
!important; outline-offset: -1.6px !important; }`
);
content
.
push
(
`.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row.option-disabled:hover { outline: none !important; }`
);
}
this
.
styleElement
.
innerHTML
=
content
.
join
(
'
\n
'
);
...
...
src/vs/base/browser/ui/selectBox/selectBoxNative.ts
浏览文件 @
57080fa8
...
...
@@ -25,7 +25,7 @@ export class SelectBoxNative implements ISelectBoxDelegate {
this
.
toDispose
=
[];
this
.
selectElement
=
document
.
createElement
(
'
select
'
);
this
.
selectElement
.
className
=
'
select-box
'
;
this
.
selectElement
.
className
=
'
monaco-
select-box
'
;
this
.
_onDidSelect
=
new
Emitter
<
ISelectData
>
();
...
...
src/vs/base/parts/quickopen/browser/quickOpenWidget.ts
浏览文件 @
57080fa8
...
...
@@ -327,7 +327,7 @@ export class QuickOpenWidget implements IModelProvider {
})
// Widget Attributes
.
addClass
(
'
quick-open-widget
'
)
.
addClass
(
'
monaco-
quick-open-widget
'
)
.
build
(
this
.
container
);
// Support layout
...
...
src/vs/base/parts/quickopen/browser/quickopen.css
浏览文件 @
57080fa8
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.quick-open-widget
{
.
monaco-
quick-open-widget
{
position
:
absolute
;
width
:
600px
;
z-index
:
2000
;
...
...
@@ -12,7 +12,7 @@
margin-left
:
-300px
;
}
.
quick-open-widget
.
progress-container
{
.
monaco-quick-open-widget
.monaco-
progress-container
{
position
:
absolute
;
left
:
0
;
top
:
38px
;
...
...
@@ -20,34 +20,34 @@
height
:
2px
;
}
.
quick-open-widget
.
progress-container
.progress-bit
{
.
monaco-quick-open-widget
.monaco-
progress-container
.progress-bit
{
height
:
2px
;
}
.quick-open-widget
.quick-open-input
{
.
monaco-
quick-open-widget
.quick-open-input
{
width
:
588px
;
border
:
none
;
margin
:
6px
;
}
.quick-open-widget
.quick-open-input
.monaco-inputbox
{
.
monaco-
quick-open-widget
.quick-open-input
.monaco-inputbox
{
width
:
100%
;
height
:
25px
;
}
.quick-open-widget
.quick-open-tree
{
.
monaco-
quick-open-widget
.quick-open-tree
{
line-height
:
22px
;
}
.quick-open-widget
.quick-open-tree
.monaco-tree-row
>
.content
>
.sub-content
{
.
monaco-
quick-open-widget
.quick-open-tree
.monaco-tree-row
>
.content
>
.sub-content
{
overflow
:
hidden
;
}
.quick-open-widget.content-changing
.quick-open-tree
.monaco-scrollable-element
.slider
{
.
monaco-
quick-open-widget.content-changing
.quick-open-tree
.monaco-scrollable-element
.slider
{
display
:
none
;
/* scrollbar slider causes some hectic updates when input changes quickly, so hide it while quick open changes */
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
{
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
flex
;
...
...
@@ -55,12 +55,12 @@
height
:
100%
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
>
.quick-open-row
{
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
>
.quick-open-row
{
display
:
flex
;
align-items
:
center
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon
{
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon
{
overflow
:
hidden
;
width
:
16px
;
height
:
16px
;
...
...
@@ -70,39 +70,39 @@
flex-shrink
:
0
;
}
.quick-open-widget
.quick-open-tree
.monaco-icon-label
,
.quick-open-widget
.quick-open-tree
.monaco-icon-label
.monaco-icon-label-description-container
{
.
monaco-
quick-open-widget
.quick-open-tree
.monaco-icon-label
,
.
monaco-
quick-open-widget
.quick-open-tree
.monaco-icon-label
.monaco-icon-label-description-container
{
flex
:
1
;
/* make sure the icon label grows within the row */
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.monaco-highlighted-label
span
{
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.monaco-highlighted-label
span
{
opacity
:
1
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry-meta
{
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry-meta
{
opacity
:
0.7
;
line-height
:
normal
;
}
.quick-open-widget
.quick-open-tree
.content.has-group-label
.quick-open-entry-keybinding
{
.
monaco-
quick-open-widget
.quick-open-tree
.content.has-group-label
.quick-open-entry-keybinding
{
margin-right
:
8px
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry-keybinding
.monaco-keybinding-key
{
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry-keybinding
.monaco-keybinding-key
{
vertical-align
:
text-bottom
;
}
.quick-open-widget
.quick-open-tree
.results-group
{
.
monaco-
quick-open-widget
.quick-open-tree
.results-group
{
margin-right
:
18px
;
}
.quick-open-widget
.quick-open-tree
.monaco-tree-row.focused
>
.content.has-actions
>
.results-group
,
.quick-open-widget
.quick-open-tree
.monaco-tree-row
:hover:not
(
.highlighted
)
>
.content.has-actions
>
.results-group
,
.quick-open-widget
.quick-open-tree
.focused
.monaco-tree-row.focused
>
.content.has-actions
>
.results-group
{
.
monaco-
quick-open-widget
.quick-open-tree
.monaco-tree-row.focused
>
.content.has-actions
>
.results-group
,
.
monaco-
quick-open-widget
.quick-open-tree
.monaco-tree-row
:hover:not
(
.highlighted
)
>
.content.has-actions
>
.results-group
,
.
monaco-
quick-open-widget
.quick-open-tree
.focused
.monaco-tree-row.focused
>
.content.has-actions
>
.results-group
{
margin-right
:
0px
;
}
.quick-open-widget
.quick-open-tree
.results-group-separator
{
.
monaco-
quick-open-widget
.quick-open-tree
.results-group-separator
{
border-top-width
:
1px
;
border-top-style
:
solid
;
box-sizing
:
border-box
;
...
...
@@ -154,6 +154,6 @@
height
:
16px
;
}
.quick-open-widget
.quick-open-tree
.monaco-highlighted-label
.highlight
{
.
monaco-
quick-open-widget
.quick-open-tree
.monaco-highlighted-label
.highlight
{
font-weight
:
bold
;
}
\ No newline at end of file
src/vs/base/test/browser/builder.test.ts
浏览文件 @
57080fa8
...
...
@@ -627,14 +627,14 @@ suite('Builder', () => {
b
.
div
();
b
.
show
();
assert
(
!
b
.
hasClass
(
'
builder-hidden
'
));
assert
(
!
b
.
hasClass
(
'
monaco-
builder-hidden
'
));
assert
(
!
b
.
isHidden
());
b
.
hide
();
assert
(
b
.
isHidden
());
assert
(
!
b
.
hasClass
(
'
builder-visible
'
));
assert
(
!
b
.
hasClass
(
'
monaco-
builder-visible
'
));
b
.
show
();
b
.
hide
();
assert
(
b
.
hasClass
(
'
builder-hidden
'
));
assert
(
b
.
hasClass
(
'
monaco-
builder-hidden
'
));
assert
(
b
.
isHidden
());
});
...
...
@@ -643,10 +643,10 @@ suite('Builder', () => {
b
.
div
().
hide
();
b
.
showDelayed
(
20
);
assert
(
b
.
hasClass
(
'
builder-hidden
'
));
assert
(
b
.
hasClass
(
'
monaco-
builder-hidden
'
));
TPromise
.
timeout
(
30
).
then
(()
=>
{
assert
(
!
b
.
hasClass
(
'
builder-hidden
'
));
assert
(
!
b
.
hasClass
(
'
monaco-
builder-hidden
'
));
done
();
});
});
...
...
@@ -656,12 +656,12 @@ suite('Builder', () => {
b
.
div
().
hide
();
b
.
showDelayed
(
20
);
assert
(
b
.
hasClass
(
'
builder-hidden
'
));
assert
(
b
.
hasClass
(
'
monaco-
builder-hidden
'
));
b
.
hide
();
// Should cancel the visibility promise
TPromise
.
timeout
(
30
).
then
(()
=>
{
assert
(
b
.
hasClass
(
'
builder-hidden
'
));
assert
(
b
.
hasClass
(
'
monaco-
builder-hidden
'
));
done
();
});
});
...
...
src/vs/editor/standalone/browser/quickOpen/gotoLine.css
浏览文件 @
57080fa8
...
...
@@ -3,6 +3,6 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.quick-open-widget
{
.
monaco-
quick-open-widget
{
font-size
:
13px
;
}
\ No newline at end of file
src/vs/editor/standalone/browser/quickOpen/quickOutline.css
浏览文件 @
57080fa8
...
...
@@ -3,93 +3,93 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.quick-open-widget
{
.
monaco-
quick-open-widget
{
font-size
:
13px
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon
,
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon
{
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon
,
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon
{
background-image
:
url('symbol-sprite.svg')
;
background-repeat
:
no-repeat
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.method
,
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.function
,
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.constructor
{
background-position
:
0
-4px
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.field
,
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.variable
{
background-position
:
-22px
-4px
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.class
{
background-position
:
-43px
-3px
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.interface
{
background-position
:
-63px
-4px
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.module
{
background-position
:
-82px
-4px
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.property
{
background-position
:
-102px
-3px
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.enum
{
background-position
:
-122px
-3px
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.rule
{
background-position
:
-242px
-4px
;
}
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.file
{
background-position
:
-262px
-4px
;
}
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.method
,
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.function
,
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.constructor
{
background-position
:
0
-4px
;
}
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.field
,
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.variable
{
background-position
:
-22px
-4px
;
}
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.class
{
background-position
:
-43px
-3px
;
}
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.interface
{
background-position
:
-63px
-4px
;
}
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.module
{
background-position
:
-82px
-4px
;
}
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.property
{
background-position
:
-102px
-3px
;
}
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.enum
{
background-position
:
-122px
-3px
;
}
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.rule
{
background-position
:
-242px
-4px
;
}
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.file
{
background-position
:
-262px
-4px
;
}
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.method
,
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.function
,
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.constructor
{
background-position
:
0
-24px
;
}
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.field
,
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.variable
{
background-position
:
-22px
-24px
;
}
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.class
{
background-position
:
-43px
-23px
;
}
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.interface
{
background-position
:
-63px
-24px
;
}
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.module
{
background-position
:
-82px
-24px
;
}
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.property
{
background-position
:
-102px
-23px
;
}
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.enum
{
background-position
:
-122px
-23px
;
}
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.rule
{
background-position
:
-242px
-24px
;
}
.vs-dark
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.file
{
background-position
:
-262px
-24px
;
}
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.method
,
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.function
,
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.constructor
{
background-position
:
0
-24px
;
}
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.field
,
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.variable
{
background-position
:
-22px
-24px
;
}
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.class
{
background-position
:
-43px
-23px
;
}
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.interface
{
background-position
:
-63px
-24px
;
}
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.module
{
background-position
:
-82px
-24px
;
}
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.property
{
background-position
:
-102px
-23px
;
}
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.enum
{
background-position
:
-122px
-23px
;
}
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.rule
{
background-position
:
-242px
-24px
;
}
.vs-dark
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.file
{
background-position
:
-262px
-24px
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon
{
background
:
none
;
display
:
inline
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon
:before
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon
:before
{
height
:
16px
;
width
:
16px
;
display
:
inline-block
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.method
:before
,
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.function
:before
,
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.constructor
:before
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.method
:before
,
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.function
:before
,
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.constructor
:before
{
content
:
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0IxODBENyIgZD0iTTUuNSAzbC00LjUgMi44NTd2NC4yODVsNC41IDIuODU4IDQuNS0yLjg1N3YtNC4yODZsLTQuNS0yLjg1N3ptLS41IDguNDk4bC0zLTEuOTA1di0yLjgxNmwzIDEuOTA1djIuODE2em0tMi4zNTgtNS40OThsMi44NTgtMS44MTUgMi44NTggMS44MTUtMi44NTggMS44MTUtMi44NTgtMS44MTV6bTYuMzU4IDMuNTkzbC0zIDEuOTA1di0yLjgxNWwzLTEuOTA1djIuODE1eiIvPjwvc3ZnPg==")
;
margin-left
:
2px
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.field
:before
,
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.variable
:before
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.field
:before
,
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.variable
:before
{
content
:
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iIzc1QkVGRiIgZD0iTTEgNnY0bDQgMiA2LTN2LTRsLTQtMi02IDN6bTQgMWwtMi0xIDQtMiAyIDEtNCAyeiIvPjwvc3ZnPg==")
;
margin-left
:
2px
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.class
:before
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.class
:before
{
content
:
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBvbHlnb24gZmlsbD0iI0U4QUI1MyIgcG9pbnRzPSIxMS45OTgsMTEuMDAyIDksMTEgOSw3IDExLDcgMTAsOCAxMiwxMCAxNSw3IDEzLDUgMTIsNiA3LDYgOSw0IDYsMSAxLDYgNCw5IDYsNyA4LDcgOCwxMiAxMSwxMiAxMCwxMyAxMiwxNSAxNSwxMiAxMywxMCIvPjwvc3ZnPg==")
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.interface
:before
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.interface
:before
{
content
:
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iIzc1QkVGRiIgZD0iTTExLjUgNGMtMS43NTkgMC0zLjIwNCAxLjMwOC0zLjQ0OSAzaC0zLjEyMmMtLjIyMy0uODYxLS45OTgtMS41LTEuOTI5LTEuNS0xLjEwNCAwLTIgLjg5NS0yIDIgMCAxLjEwNC44OTYgMiAyIDIgLjkzMSAwIDEuNzA2LS42MzkgMS45MjktMS41aDMuMTIyYy4yNDUgMS42OTEgMS42OSAzIDMuNDQ5IDMgMS45MyAwIDMuNS0xLjU3IDMuNS0zLjUgMC0xLjkzMS0xLjU3LTMuNS0zLjUtMy41em0wIDVjLS44MjcgMC0xLjUtLjY3NC0xLjUtMS41IDAtLjgyOC42NzMtMS41IDEuNS0xLjVzMS41LjY3MiAxLjUgMS41YzAgLjgyNi0uNjczIDEuNS0xLjUgMS41eiIvPjwvc3ZnPg==")
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.module
:before
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.module
:before
{
content
:
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTkgMTF2LTFjMC0uODM0LjQ5Ni0xLjczOCAxLTItLjUwNC0uMjctMS0xLjE2OC0xLTJ2LTFjMC0uODQtLjU4NC0xLTEtMXYtMWMyLjA4MyAwIDIgMS4xNjYgMiAydjFjMCAuOTY5LjcwMy45OCAxIDF2MmMtLjMyMi4wMi0xIC4wNTMtMSAxdjFjMCAuODM0LjA4MyAyLTIgMnYtMWMuODMzIDAgMS0xIDEtMXptLTYgMHYtMWMwLS44MzQtLjQ5Ni0xLjczOC0xLTIgLjUwNC0uMjcgMS0xLjE2OCAxLTJ2LTFjMC0uODQuNTg0LTEgMS0xdi0xYy0yLjA4MyAwLTIgMS4xNjYtMiAydjFjMCAuOTY5LS43MDMuOTgtMSAxdjJjLjMyMi4wMiAxIC4wNTMgMSAxdjFjMCAuODM0LS4wODMgMiAyIDJ2LTFjLS44MzMgMC0xLTEtMS0xeiIvPjwvc3ZnPg==")
;
margin-left
:
2px
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.property
:before
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.property
:before
{
content
:
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTEyLjA5IDQuMzU5bC0yLjY0MSAyLjY0MS0yLTIgMi42NDEtMi42NDFjLS41MDItLjIyNi0xLjA1NS0uMzU5LTEuNjQxLS4zNTktMi4yMDkgMC00IDEuNzkxLTQgNCAwIC41ODYuMTMzIDEuMTM5LjM1OSAxLjY0bC0zLjM1OSAzLjM2cy0xIDEgMCAyaDJsMy4zNTktMy4zNmMuNTAzLjIyNiAxLjA1NS4zNiAxLjY0MS4zNiAyLjIwOSAwIDQtMS43OTEgNC00IDAtLjU4Ni0uMTMzLTEuMTM5LS4zNTktMS42NDF6Ii8+PC9zdmc+")
;
margin-left
:
1px
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.value
:before
,
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.enum
:before
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.value
:before
,
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.enum
:before
{
content
:
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgZmlsbD0iIzc1QkVGRiI+PHBhdGggZD0iTTEyIDNoLTRsLTEgMXYyaDV2MWgtMnYxaDJsMS0xdi0zbC0xLTF6bTAgMmgtNHYtMWg0djF6TTMgMTJoNnYtNWgtNnY1em0xLTNoNHYxaC00di0xeiIvPjwvZz48L3N2Zz4=")
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.rule
:before
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.rule
:before
{
content
:
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTEwIDVoLTh2LTJoOHYyem0wIDFoLTZ2MWg2di0xem0wIDJoLTZ2MWg2di0xeiIvPjwvc3ZnPg==")
;
}
.hc-black
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.file
:before
{
.hc-black
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.file
:before
{
content
:
url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PHBhdGggZmlsbD0iI0M1QzVDNSIgZD0iTTkuNjc2IDJoLTYuNjc2djEyaDEwdi05bC0zLjMyNC0zem0yLjMyNCAxMWgtOHYtMTBoNXYzaDN2N3oiLz48L3N2Zz4=")
;
}
\ No newline at end of file
src/vs/workbench/browser/media/part.css
浏览文件 @
57080fa8
...
...
@@ -68,7 +68,7 @@
font-size
:
13px
;
}
.monaco-workbench
>
.part
>
.content
.progress-container
{
.monaco-workbench
>
.part
>
.content
.
monaco-
progress-container
{
position
:
absolute
;
left
:
0
;
top
:
33px
;
/* at the bottom of the 35px height title container */
...
...
@@ -76,6 +76,6 @@
height
:
2px
;
}
.monaco-workbench
>
.part
>
.content
.progress-container
.progress-bit
{
.monaco-workbench
>
.part
>
.content
.
monaco-
progress-container
.progress-bit
{
height
:
2px
;
}
\ No newline at end of file
src/vs/workbench/browser/parts/editor/media/editorpicker.css
浏览文件 @
57080fa8
...
...
@@ -3,6 +3,6 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-workbench
.quick-open-widget
.quick-open-tree
.quick-open-entry.editor-preview
{
.monaco-workbench
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry.editor-preview
{
font-style
:
italic
;
}
\ No newline at end of file
src/vs/workbench/browser/parts/panel/media/panelpart.css
浏览文件 @
57080fa8
...
...
@@ -90,7 +90,7 @@
cursor
:
default
;
}
.monaco-workbench
.panel
.monaco-action-bar
.action-item
.select-box
{
.monaco-workbench
.panel
.monaco-action-bar
.action-item
.
monaco-
select-box
{
cursor
:
pointer
;
min-width
:
110px
;
}
...
...
src/vs/workbench/browser/parts/quickopen/media/quickopen.css
浏览文件 @
57080fa8
...
...
@@ -3,22 +3,22 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.vs
.monaco-workbench
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.none
,
.vs-dark
.monaco-workbench
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.none
{
.vs
.monaco-workbench
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.none
,
.vs-dark
.monaco-workbench
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.none
{
width
:
16px
;
background
:
none
;
}
.monaco-workbench
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.dirty
{
.monaco-workbench
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.dirty
{
width
:
14px
;
height
:
18px
;
}
.vs
.monaco-workbench
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.dirty
{
.vs
.monaco-workbench
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.dirty
{
background-image
:
url('dirty.svg')
;
}
.hc-black
.monaco-workbench
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.dirty
,
.vs-dark
.monaco-workbench
.quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.dirty
{
.hc-black
.monaco-workbench
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.dirty
,
.vs-dark
.monaco-workbench
.
monaco-
quick-open-widget
.quick-open-tree
.quick-open-entry
.quick-open-entry-icon.dirty
{
background-image
:
url('dirty-inverse.svg')
;
}
\ No newline at end of file
src/vs/workbench/electron-browser/media/workbench.css
浏览文件 @
57080fa8
...
...
@@ -20,11 +20,11 @@
box-sizing
:
border-box
;
}
.monaco-workbench
.monaco-action-bar
.select-box
{
.monaco-workbench
.monaco-action-bar
.
monaco-
select-box
{
margin-top
:
8px
;
/* Center the select box */
}
.monaco-workbench.windows
.monaco-action-bar
.select-box
{
.monaco-workbench.windows
.monaco-action-bar
.
monaco-
select-box
{
margin-top
:
7px
;
/* Center the select box */
}
...
...
src/vs/workbench/parts/debug/browser/media/debugActionsWidget.css
浏览文件 @
57080fa8
...
...
@@ -17,7 +17,7 @@
margin-right
:
7px
;
}
.monaco-workbench
.debug-actions-widget
.monaco-action-bar
.action-item
.select-box
{
.monaco-workbench
.debug-actions-widget
.monaco-action-bar
.action-item
.
monaco-
select-box
{
margin-top
:
6px
;
}
...
...
src/vs/workbench/parts/debug/browser/media/debugViewlet.css
浏览文件 @
57080fa8
...
...
@@ -78,13 +78,13 @@
background
:
url('continue-inverse.svg')
center
center
no-repeat
;
}
.monaco-workbench
.monaco-action-bar
.start-debug-action-item
.configuration
.select-box
{
.monaco-workbench
.monaco-action-bar
.start-debug-action-item
.configuration
.
monaco-
select-box
{
border
:
none
;
margin-top
:
0px
;
cursor
:
pointer
;
}
.monaco-workbench
.monaco-action-bar
.start-debug-action-item
.configuration.disabled
.select-box
{
.monaco-workbench
.monaco-action-bar
.start-debug-action-item
.configuration.disabled
.
monaco-
select-box
{
opacity
:
0.7
;
font-style
:
italic
;
cursor
:
initial
;
...
...
src/vs/workbench/parts/feedback/electron-browser/feedbackStatusbarItem.ts
浏览文件 @
57080fa8
...
...
@@ -167,6 +167,6 @@ class HideAction extends Action {
registerThemingParticipant
((
theme
:
ITheme
,
collector
:
ICssStyleCollector
)
=>
{
const
statusBarItemHoverBackground
=
theme
.
getColor
(
STATUS_BAR_ITEM_HOVER_BACKGROUND
);
if
(
statusBarItemHoverBackground
)
{
collector
.
addRule
(
`.monaco-workbench > .part.statusbar > .statusbar-item .dropdown.send-feedback:hover { background-color:
${
statusBarItemHoverBackground
}
; }`
);
collector
.
addRule
(
`.monaco-workbench > .part.statusbar > .statusbar-item .
monaco-
dropdown.send-feedback:hover { background-color:
${
statusBarItemHoverBackground
}
; }`
);
}
});
src/vs/workbench/parts/feedback/electron-browser/media/feedback.css
浏览文件 @
57080fa8
...
...
@@ -131,11 +131,11 @@
}
/* Statusbar */
.monaco-shell
.statusbar-item
>
.dropdown.send-feedback
{
.monaco-shell
.statusbar-item
>
.
monaco-
dropdown.send-feedback
{
display
:
inline-block
;
}
.monaco-shell
.statusbar-item
>
.dropdown.send-feedback
>
.dropdown-label.send-feedback
{
.monaco-shell
.statusbar-item
>
.
monaco-
dropdown.send-feedback
>
.dropdown-label.send-feedback
{
-webkit-mask
:
url('smiley.svg')
no-repeat
50%
50%
;
/* use mask to be able to change color dynamically */
width
:
26px
;
}
...
...
src/vs/workbench/parts/quickopen/browser/media/gotoSymbolHandler.css
浏览文件 @
57080fa8
此差异已折叠。
点击以展开。
test/smoke/src/areas/debug/debug.ts
浏览文件 @
57080fa8
...
...
@@ -20,7 +20,7 @@ const BREAKPOINT_GLYPH = '.debug-breakpoint';
const
PAUSE
=
`.debug-actions-widget .debug-action.pause`
;
const
DEBUG_STATUS_BAR
=
`.statusbar.debugging`
;
const
NOT_DEBUG_STATUS_BAR
=
`.statusbar:not(debugging)`
;
const
TOOLBAR_HIDDEN
=
`.debug-actions-widget.builder-hidden`
;
const
TOOLBAR_HIDDEN
=
`.debug-actions-widget.
monaco-
builder-hidden`
;
const
STACK_FRAME
=
`
${
VIEWLET
}
.monaco-tree-row .stack-frame`
;
const
VARIABLE
=
`
${
VIEWLET
}
.debug-variables .monaco-tree-row .expression`
;
const
CONSOLE_OUTPUT
=
`.repl .output.expression`
;
...
...
test/smoke/src/areas/quickopen/quickopen.ts
浏览文件 @
57080fa8
...
...
@@ -7,8 +7,8 @@ import { SpectronApplication } from '../../spectron/application';
export
class
QuickOpen
{
static
QUICK_OPEN_HIDDEN
=
'
div.quick-open-widget[aria-hidden="true"]
'
;
static
QUICK_OPEN
=
'
div.quick-open-widget[aria-hidden="false"]
'
;
static
QUICK_OPEN_HIDDEN
=
'
div.
monaco-
quick-open-widget[aria-hidden="true"]
'
;
static
QUICK_OPEN
=
'
div.
monaco-
quick-open-widget[aria-hidden="false"]
'
;
static
QUICK_OPEN_INPUT
=
`
${
QuickOpen
.
QUICK_OPEN
}
.quick-open-input input`
;
static
QUICK_OPEN_FOCUSED_ELEMENT
=
`
${
QuickOpen
.
QUICK_OPEN
}
.quick-open-tree .monaco-tree-row.focused .monaco-highlighted-label`
;
static
QUICK_OPEN_ENTRY_SELECTOR
=
'
div[aria-label="Quick Picker"] .monaco-tree-rows.show-twisties .monaco-tree-row .quick-open-entry
'
;
...
...
test/smoke/src/areas/statusbar/statusbar.ts
浏览文件 @
57080fa8
...
...
@@ -61,7 +61,7 @@ export class StatusBar {
case
StatusBarElement
.
LANGUAGE_STATUS
:
return
`
${
this
.
mainSelector
}
${
this
.
rightSelector
}
.editor-status-mode`
;
case
StatusBarElement
.
FEEDBACK_ICON
:
return
`
${
this
.
mainSelector
}
${
this
.
rightSelector
}
.dropdown.send-feedback`
;
return
`
${
this
.
mainSelector
}
${
this
.
rightSelector
}
.
monaco-
dropdown.send-feedback`
;
default
:
throw
new
Error
(
element
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录