Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
a58e086d
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,发现更多精彩内容 >>
提交
a58e086d
编写于
5月 24, 2017
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
theming
💄
上级
7e1034c5
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
13 addition
and
155 deletion
+13
-155
src/vs/base/browser/ui/dropdown/dropdown.css
src/vs/base/browser/ui/dropdown/dropdown.css
+1
-20
src/vs/base/browser/ui/dropdown/dropdown.ts
src/vs/base/browser/ui/dropdown/dropdown.ts
+1
-26
src/vs/base/browser/ui/toolbar/toolbar.css
src/vs/base/browser/ui/toolbar/toolbar.css
+1
-1
src/vs/base/parts/tree/browser/tree.css
src/vs/base/parts/tree/browser/tree.css
+0
-2
src/vs/base/parts/tree/browser/treeView.ts
src/vs/base/parts/tree/browser/treeView.ts
+9
-2
src/vs/editor/contrib/referenceSearch/browser/referencesWidget.css
...itor/contrib/referenceSearch/browser/referencesWidget.css
+0
-40
src/vs/workbench/parts/extensions/browser/media/extensionEditor.css
...kbench/parts/extensions/browser/media/extensionEditor.css
+0
-6
src/vs/workbench/parts/extensions/browser/media/extensionsWidgets.css
...ench/parts/extensions/browser/media/extensionsWidgets.css
+0
-18
src/vs/workbench/parts/extensions/electron-browser/media/extensionsViewlet.css
...s/extensions/electron-browser/media/extensionsViewlet.css
+0
-6
src/vs/workbench/parts/feedback/electron-browser/media/feedback.css
...kbench/parts/feedback/electron-browser/media/feedback.css
+0
-4
src/vs/workbench/parts/preferences/browser/media/keybindings.css
...workbench/parts/preferences/browser/media/keybindings.css
+0
-9
src/vs/workbench/parts/preferences/browser/media/keybindingsEditor.css
...nch/parts/preferences/browser/media/keybindingsEditor.css
+1
-16
src/vs/workbench/parts/preferences/browser/media/preferences.css
...workbench/parts/preferences/browser/media/preferences.css
+0
-5
未找到文件。
src/vs/base/browser/ui/dropdown/dropdown.css
浏览文件 @
a58e086d
...
...
@@ -31,25 +31,6 @@
display
:
inline-block
;
}
.dropdown
>
.dropdown-label
:not
(
:empty
)
:not
(
.tick
)
{
.dropdown
>
.dropdown-label
:not
(
:empty
)
{
padding
:
0
.5em
;
}
.dropdown
>
.dropdown-label
:empty
.tick
{
padding
:
0
1em
0
0
;
}
.dropdown
>
.dropdown-label.tick
{
padding
:
0
1em
0
.5em
;
}
.dropdown
>
.dropdown-label.tick
:after
{
content
:
''
;
width
:
0
;
height
:
0
;
position
:
relative
;
top
:
1em
;
left
:
.5em
;
border
:
4px
solid
transparent
;
border-top
:
4px
solid
#fff
;
}
\ No newline at end of file
src/vs/base/browser/ui/dropdown/dropdown.ts
浏览文件 @
a58e086d
...
...
@@ -10,7 +10,7 @@ import { Builder, $ } from 'vs/base/browser/builder';
import
{
TPromise
}
from
'
vs/base/common/winjs.base
'
;
import
{
Gesture
,
EventType
}
from
'
vs/base/browser/touch
'
;
import
{
ActionRunner
,
IAction
}
from
'
vs/base/common/actions
'
;
import
{
ActionItem
,
IActionItem
}
from
'
vs/base/browser/ui/actionbar/actionbar
'
;
import
{
IActionItem
}
from
'
vs/base/browser/ui/actionbar/actionbar
'
;
import
{
EventEmitter
}
from
'
vs/base/common/eventEmitter
'
;
import
{
IDisposable
,
dispose
}
from
'
vs/base/common/lifecycle
'
;
import
{
IContextViewProvider
}
from
'
vs/base/browser/ui/contextview/contextview
'
;
...
...
@@ -22,17 +22,14 @@ export interface ILabelRenderer {
}
export
interface
IBaseDropdownOptions
{
tick
?:
boolean
;
label
?:
string
;
labelRenderer
?:
ILabelRenderer
;
action
?:
IAction
;
}
export
class
BaseDropdown
extends
ActionRunner
{
private
_toDispose
:
IDisposable
[];
private
$el
:
Builder
;
private
$boxContainer
:
Builder
;
private
$action
:
Builder
;
private
$label
:
Builder
;
private
$contents
:
Builder
;
...
...
@@ -45,29 +42,7 @@ export class BaseDropdown extends ActionRunner {
this
.
$label
=
$
(
'
.dropdown-label
'
);
if
(
options
.
tick
||
options
.
action
)
{
this
.
$label
.
addClass
(
'
tick
'
);
}
let
labelRenderer
=
options
.
labelRenderer
;
if
(
!
labelRenderer
&&
options
.
action
)
{
this
.
$action
=
$
(
'
.dropdown-action
'
).
appendTo
(
this
.
$el
);
let
item
=
new
ActionItem
(
null
,
options
.
action
,
{
icon
:
true
,
label
:
true
});
item
.
actionRunner
=
this
;
item
.
render
(
this
.
$action
.
getHTMLElement
());
labelRenderer
=
(
container
:
HTMLElement
):
IDisposable
=>
{
container
.
innerText
=
''
;
return
item
;
};
}
if
(
!
labelRenderer
)
{
labelRenderer
=
(
container
:
HTMLElement
):
IDisposable
=>
{
$
(
container
).
text
(
options
.
label
||
''
);
...
...
src/vs/base/browser/ui/toolbar/toolbar.css
浏览文件 @
a58e086d
...
...
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-toolbar
.dropdown
>
.dropdown-label
:not
(
:empty
)
:not
(
.tick
)
{
.monaco-toolbar
.dropdown
>
.dropdown-label
:not
(
:empty
)
{
padding
:
0
;
}
...
...
src/vs/base/parts/tree/browser/tree.css
浏览文件 @
a58e086d
...
...
@@ -50,8 +50,6 @@
.monaco-tree-drag-image
{
display
:
inline-block
;
padding
:
1px
7px
;
color
:
white
;
background-color
:
#4A4A4A
;
border-radius
:
10px
;
font-size
:
12px
;
position
:
absolute
;
...
...
src/vs/base/parts/tree/browser/treeView.ts
浏览文件 @
a58e086d
...
...
@@ -574,11 +574,17 @@ export class TreeView extends HeightMap {
}
if
(
styles
.
listFocusAndSelectionBackground
)
{
content
.
push
(
`.monaco-tree.monaco-tree-instance-
${
this
.
instance
}
.focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { background-color:
${
styles
.
listFocusAndSelectionBackground
}
; }`
);
content
.
push
(
`
.monaco-tree-drag-image,
.monaco-tree.monaco-tree-instance-
${
this
.
instance
}
.focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { background-color:
${
styles
.
listFocusAndSelectionBackground
}
; }
`
);
}
if
(
styles
.
listFocusAndSelectionForeground
)
{
content
.
push
(
`.monaco-tree.monaco-tree-instance-
${
this
.
instance
}
.focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { color:
${
styles
.
listFocusAndSelectionForeground
}
; }`
);
content
.
push
(
`
.monaco-tree-drag-image,
.monaco-tree.monaco-tree-instance-
${
this
.
instance
}
.focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { color:
${
styles
.
listFocusAndSelectionForeground
}
; }
`
);
}
if
(
styles
.
listInactiveSelectionBackground
)
{
...
...
@@ -606,6 +612,7 @@ export class TreeView extends HeightMap {
if
(
styles
.
listFocusOutline
)
{
content
.
push
(
`
.monaco-tree-drag-image { border: 1px solid
${
styles
.
listFocusOutline
}
; background: #000; }
.monaco-tree.monaco-tree-instance-
${
this
.
instance
}
.monaco-tree-rows > .monaco-tree-row { border: 1px solid transparent; }
.monaco-tree.monaco-tree-instance-
${
this
.
instance
}
.focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { border: 1px dotted
${
styles
.
listFocusOutline
}
; }
.monaco-tree.monaco-tree-instance-
${
this
.
instance
}
.focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { border: 1px solid
${
styles
.
listFocusOutline
}
; }
...
...
src/vs/editor/contrib/referenceSearch/browser/referencesWidget.css
浏览文件 @
a58e086d
...
...
@@ -19,13 +19,6 @@
vertical-align
:
top
;
}
.monaco-editor
.reference-zone-widget
.label
{
font-size
:
0.9em
;
text-align
:
center
;
color
:
#646465
;
margin-top
:
6px
;
}
.monaco-editor
.reference-zone-widget
.messages
{
height
:
100%
;
width
:
100%
;
...
...
@@ -38,19 +31,6 @@
font-size
:
13px
;
}
.monaco-editor
.reference-zone-widget
.ref-tree
.monaco-tree.focused
.monaco-tree-rows
>
.monaco-tree-row.selected.has-children
>
.content
:before
{
border-left-color
:
#A6A6A6
;
}
.monaco-editor
.reference-zone-widget
.ref-tree
.monaco-tree.focused
.monaco-tree-rows
>
.monaco-tree-row.selected.has-children
>
.content
:after
{
border-left-color
:
rgba
(
51
,
153
,
255
,
.2
);
}
.monaco-editor
.reference-zone-widget
.ref-tree
.monaco-tree.focused
.monaco-tree-rows
>
.monaco-tree-row.selected.expanded
>
.content
:before
{
border-right-color
:
#646465
;
border-left-color
:
transparent
;
}
.monaco-editor
.reference-zone-widget
.ref-tree
.reference
{
text-overflow
:
ellipsis
;
overflow
:
hidden
;
...
...
@@ -65,26 +45,6 @@
margin-right
:
12px
;
}
/* dark room */
.monaco-editor.vs-dark
.reference-zone-widget
.ref-tree
.block
,
.monaco-editor.vs-dark
.reference-zone-widget
.overlay
{
background-color
:
#1e1e1e
;
}
.monaco-editor.vs-dark
.reference-zone-widget
.ref-tree
.monaco-tree.focused
.monaco-tree-rows
>
.monaco-tree-row.selected.has-children
>
.content
:before
{
border-left-color
:
white
;
}
.monaco-editor.vs-dark
.reference-zone-widget
.ref-tree
.monaco-tree.focused
.monaco-tree-rows
>
.monaco-tree-row.selected.has-children
>
.content
:after
{
border-left-color
:
rgba
(
51
,
153
,
255
,
.2
);
}
.monaco-editor.vs-dark
.reference-zone-widget
.ref-tree
.monaco-tree.focused
.monaco-tree-rows
>
.monaco-tree-row.selected.expanded
>
.content
:before
{
border-right-color
:
white
;
border-left-color
:
transparent
;
}
/* High Contrast Theming */
.monaco-editor.hc-black
.reference-zone-widget
.ref-tree
.reference-file
{
...
...
src/vs/workbench/parts/extensions/browser/media/extensionEditor.css
浏览文件 @
a58e086d
...
...
@@ -58,12 +58,6 @@
white-space
:
nowrap
;
}
.extension-editor
>
.header
>
.details
>
.title
.extension-status
{
width
:
10px
;
height
:
10px
;
margin-left
:
10px
;
}
.extension-editor
>
.header
>
.details
>
.subtitle
{
padding-top
:
10px
;
white-space
:
nowrap
;
...
...
src/vs/workbench/parts/extensions/browser/media/extensionsWidgets.css
浏览文件 @
a58e086d
...
...
@@ -46,22 +46,4 @@
.extension-ratings.small
>
.count
{
margin-left
:
2px
;
}
.extension-status
{
display
:
none
;
}
.extension-status.active
,
.extension-status.disabled
{
border-radius
:
50%
;
display
:
inline-block
;
}
.extension-status.active
{
background
:
#478E4B
;
}
.extension-status.disabled
{
background
:
#5f5f5f
;
}
\ No newline at end of file
src/vs/workbench/parts/extensions/electron-browser/media/extensionsViewlet.css
浏览文件 @
a58e086d
...
...
@@ -123,12 +123,6 @@
display
:
none
;
}
.extensions-viewlet
>
.extensions
.extension
>
.details
>
.header-container
.extension-status
{
width
:
8px
;
height
:
8px
;
margin-left
:
6px
;
}
.extensions-viewlet
>
.extensions
.extension
>
.details
>
.footer
{
display
:
flex
;
justify-content
:
flex-end
;
...
...
src/vs/workbench/parts/feedback/electron-browser/media/feedback.css
浏览文件 @
a58e086d
...
...
@@ -118,10 +118,6 @@
width
:
20%
;
}
.monaco-shell
.feedback-form
.feedback-sentiment
span
{
color
:
rgb
(
111
,
111
,
111
);
}
.monaco-shell
.feedback-form
.sentiment
{
height
:
32px
;
width
:
32px
;
...
...
src/vs/workbench/parts/preferences/browser/media/keybindings.css
浏览文件 @
a58e086d
...
...
@@ -63,13 +63,4 @@
.monaco-editor
.keybindingError
{
box-shadow
:
inset
0
0
0
1px
#B9B9B9
;
background-color
:
rgba
(
250
,
100
,
100
,
0.2
);
}
/* launcher widget */
.monaco-editor
.defineKeybindingLauncher
{
background
:
#007ACC
;
color
:
white
;
padding
:
10px
;
border-radius
:
5px
;
cursor
:
pointer
;
}
\ No newline at end of file
src/vs/workbench/parts/preferences/browser/media/keybindingsEditor.css
浏览文件 @
a58e086d
...
...
@@ -38,10 +38,6 @@
height
:
30px
;
}
.keybindings-editor
>
.keybindings-header
.search-container
>
.settings-search-input
>
.monaco-inputbox
{
border
:
1px
solid
#ddd
;
}
.keybindings-editor
>
.keybindings-header
.search-container
>
.settings-search-input
>
.monaco-inputbox
.input
{
font-size
:
14px
;
padding-left
:
10px
;
...
...
@@ -49,7 +45,7 @@
.keybindings-editor
>
.keybindings-header
.open-keybindings-container
{
margin-top
:
10px
;
color
:
#aaa
;
opacity
:
0.7
;
display
:
flex
;
}
...
...
@@ -59,17 +55,6 @@
margin-left
:
4px
;
}
/* body styling */
.keybindings-editor
>
.keybindings-body
{
border-top
:
1px
solid
#efeff2
;
}
.vs-dark
.keybindings-editor
>
.keybindings-body
{
border-top
:
1px
solid
#2d2d2d
;
}
/** List based styling **/
.keybindings-editor
>
.keybindings-body
.keybindings-list-container
{
...
...
src/vs/workbench/parts/preferences/browser/media/preferences.css
浏览文件 @
a58e086d
...
...
@@ -4,7 +4,6 @@
*--------------------------------------------------------------------------------------------*/
.preferences-editor
>
.preferences-header
{
border-bottom
:
1px
solid
#efeff2
;
display
:
flex
;
flex-wrap
:
wrap
;
padding-left
:
27px
;
...
...
@@ -19,10 +18,6 @@
padding-bottom
:
5px
;
}
.vs-dark
.preferences-editor
>
.preferences-header
{
border-bottom
:
1px
solid
#2d2d2d
;
}
.preferences-editor
>
.preferences-editors-container.side-by-side-preferences-editor
{
position
:
relative
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录