Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
aca3eaa9
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,发现更多精彩内容 >>
提交
aca3eaa9
编写于
1月 13, 2017
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
.hidden should not be in global css space
上级
d05bb700
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
35 addition
and
9 deletion
+35
-9
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
+6
-6
src/vs/editor/contrib/quickFix/browser/lightBulbWidget.css
src/vs/editor/contrib/quickFix/browser/lightBulbWidget.css
+5
-1
src/vs/workbench/parts/extensions/electron-browser/media/extensionsViewlet.css
...s/extensions/electron-browser/media/extensionsViewlet.css
+6
-0
src/vs/workbench/parts/files/browser/media/explorerviewlet.css
...s/workbench/parts/files/browser/media/explorerviewlet.css
+5
-0
src/vs/workbench/parts/markers/browser/media/markers.css
src/vs/workbench/parts/markers/browser/media/markers.css
+6
-0
src/vs/workbench/parts/preferences/browser/media/preferences.css
...workbench/parts/preferences/browser/media/preferences.css
+5
-0
未找到文件。
src/vs/base/browser/builder.css
浏览文件 @
aca3eaa9
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
*--------------------------------------------------------------------------------------------*/
/* ---------- Builder ---------- */
.hidden
{
.
builder-
hidden
{
display
:
none
!important
;
display
:
none
!important
;
visibility
:
hidden
!important
;
visibility
:
hidden
!important
;
}
}
...
...
src/vs/base/browser/builder.ts
浏览文件 @
aca3eaa9
...
@@ -1280,8 +1280,8 @@ export class Builder implements IDisposable {
...
@@ -1280,8 +1280,8 @@ export class Builder implements IDisposable {
* Shows the current element of the builder.
* Shows the current element of the builder.
*/
*/
public
show
():
Builder
{
public
show
():
Builder
{
if
(
this
.
hasClass
(
'
hidden
'
))
{
if
(
this
.
hasClass
(
'
builder-
hidden
'
))
{
this
.
removeClass
(
'
hidden
'
);
this
.
removeClass
(
'
builder-
hidden
'
);
}
}
this
.
attr
(
'
aria-hidden
'
,
'
false
'
);
this
.
attr
(
'
aria-hidden
'
,
'
false
'
);
...
@@ -1319,8 +1319,8 @@ export class Builder implements IDisposable {
...
@@ -1319,8 +1319,8 @@ export class Builder implements IDisposable {
* Hides the current element of the builder.
* Hides the current element of the builder.
*/
*/
public
hide
():
Builder
{
public
hide
():
Builder
{
if
(
!
this
.
hasClass
(
'
hidden
'
))
{
if
(
!
this
.
hasClass
(
'
builder-
hidden
'
))
{
this
.
addClass
(
'
hidden
'
);
this
.
addClass
(
'
builder-
hidden
'
);
}
}
this
.
attr
(
'
aria-hidden
'
,
'
true
'
);
this
.
attr
(
'
aria-hidden
'
,
'
true
'
);
...
@@ -1334,7 +1334,7 @@ export class Builder implements IDisposable {
...
@@ -1334,7 +1334,7 @@ export class Builder implements IDisposable {
* Returns true if the current element of the builder is hidden.
* Returns true if the current element of the builder is hidden.
*/
*/
public
isHidden
():
boolean
{
public
isHidden
():
boolean
{
return
this
.
hasClass
(
'
hidden
'
)
||
this
.
currentElement
.
style
.
display
===
'
none
'
;
return
this
.
hasClass
(
'
builder-
hidden
'
)
||
this
.
currentElement
.
style
.
display
===
'
none
'
;
}
}
/**
/**
...
@@ -1345,7 +1345,7 @@ export class Builder implements IDisposable {
...
@@ -1345,7 +1345,7 @@ export class Builder implements IDisposable {
// Cancel any pending showDelayed() invocation
// Cancel any pending showDelayed() invocation
this
.
cancelVisibilityPromise
();
this
.
cancelVisibilityPromise
();
this
.
swapClass
(
'
builder-visible
'
,
'
hidden
'
);
this
.
swapClass
(
'
builder-visible
'
,
'
builder-
hidden
'
);
if
(
this
.
isHidden
())
{
if
(
this
.
isHidden
())
{
this
.
attr
(
'
aria-hidden
'
,
'
true
'
);
this
.
attr
(
'
aria-hidden
'
,
'
true
'
);
...
...
src/vs/editor/contrib/quickFix/browser/lightBulbWidget.css
浏览文件 @
aca3eaa9
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
*--------------------------------------------------------------------------------------------*/
.monaco-editor
.lightbulb-glyph
{
.monaco-editor
.lightbulb-glyph
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -12,6 +11,11 @@
...
@@ -12,6 +11,11 @@
width
:
16px
;
width
:
16px
;
}
}
.monaco-editor
.lightbulb-glyph.hidden
{
display
:
none
;
visibility
:
hidden
;
}
.monaco-editor
.lightbulb-glyph
:hover
{
.monaco-editor
.lightbulb-glyph
:hover
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
...
...
src/vs/workbench/parts/extensions/electron-browser/media/extensionsViewlet.css
浏览文件 @
aca3eaa9
...
@@ -27,6 +27,12 @@
...
@@ -27,6 +27,12 @@
height
:
calc
(
100%
-
38px
);
height
:
calc
(
100%
-
38px
);
}
}
.extensions-viewlet
>
.extensions.hidden
,
.extensions-viewlet
>
.message.hidden
{
display
:
none
;
visibility
:
hidden
;
}
.extensions-viewlet
>
.message
{
.extensions-viewlet
>
.message
{
padding
:
5px
9px
5px
16px
;
padding
:
5px
9px
5px
16px
;
cursor
:
default
;
cursor
:
default
;
...
...
src/vs/workbench/parts/files/browser/media/explorerviewlet.css
浏览文件 @
aca3eaa9
...
@@ -48,6 +48,11 @@
...
@@ -48,6 +48,11 @@
visibility
:
hidden
;
visibility
:
hidden
;
}
}
.explorer-viewlet
.header
.monaco-count-badge.hidden
{
display
:
none
;
visibility
:
hidden
;
}
.explorer-folders-view
.monaco-tree-row
>
.content
{
.explorer-folders-view
.monaco-tree-row
>
.content
{
display
:
inline-block
;
display
:
inline-block
;
}
}
...
...
src/vs/workbench/parts/markers/browser/media/markers.css
浏览文件 @
aca3eaa9
...
@@ -41,6 +41,12 @@
...
@@ -41,6 +41,12 @@
height
:
100%
;
height
:
100%
;
}
}
.markers-panel
.markers-panel-container
.tree-container.hidden
,
.markers-panel
.markers-panel-container
.message-box-container.hidden
{
display
:
none
;
visibility
:
hidden
;
}
.markers-panel
.markers-panel-container
.tree-container
.markers-panel-tree-entry
{
.markers-panel
.markers-panel-container
.tree-container
.markers-panel-tree-entry
{
display
:
flex
;
display
:
flex
;
line-height
:
22px
;
line-height
:
22px
;
...
...
src/vs/workbench/parts/preferences/browser/media/preferences.css
浏览文件 @
aca3eaa9
...
@@ -156,6 +156,11 @@
...
@@ -156,6 +156,11 @@
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.monaco-editor
.edit-preferences-widget.hidden
{
display
:
none
;
visibility
:
hidden
;
}
.monaco-editor.hc-black
.edit-preferences-widget
,
.monaco-editor.hc-black
.edit-preferences-widget
,
.monaco-editor.vs-dark
.edit-preferences-widget
{
.monaco-editor.vs-dark
.edit-preferences-widget
{
background
:
url('edit_inverse.svg')
center
center
no-repeat
;
background
:
url('edit_inverse.svg')
center
center
no-repeat
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录