Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
021e75c7
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,发现更多精彩内容 >>
提交
021e75c7
编写于
6月 12, 2016
作者:
B
Benjamin Pasero
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
share more css between title controls
上级
63d84ffd
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
64 addition
and
96 deletion
+64
-96
src/vs/workbench/browser/parts/editor/media/notabstitle.css
src/vs/workbench/browser/parts/editor/media/notabstitle.css
+0
-43
src/vs/workbench/browser/parts/editor/media/tabstitle.css
src/vs/workbench/browser/parts/editor/media/tabstitle.css
+4
-53
src/vs/workbench/browser/parts/editor/media/titlecontrol.css
src/vs/workbench/browser/parts/editor/media/titlecontrol.css
+60
-0
未找到文件。
src/vs/workbench/browser/parts/editor/media/notabstitle.css
浏览文件 @
021e75c7
...
...
@@ -27,42 +27,12 @@
/* Title Label */
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-label
{
line-height
:
35px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
position
:
relative
;
flex
:
1
;
font-style
:
italic
;
padding-left
:
2px
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title.pinned
.title-label
{
font-style
:
normal
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-label
a
{
text-decoration
:
none
;
font-size
:
13px
;
cursor
:
default
;
}
.vs
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-label
a
{
color
:
rgba
(
51
,
51
,
51
,
0.5
);
}
.vs
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title.active
.title-label
a
{
color
:
#333333
;
}
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-label
a
{
color
:
rgba
(
255
,
255
,
255
,
0.5
);
}
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title.active
.title-label
a
{
color
:
white
;
}
/* Title Description */
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-label
span
{
...
...
@@ -88,17 +58,4 @@
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title.active
.title-actions
{
opacity
:
1
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-actions
.action-label
{
display
:
block
;
height
:
35px
;
width
:
28px
;
background-size
:
16px
;
background-position
:
center
center
;
background-repeat
:
no-repeat
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-actions
.action-label
.label
{
display
:
none
;
}
\ No newline at end of file
src/vs/workbench/browser/parts/editor/media/tabstitle.css
浏览文件 @
021e75c7
...
...
@@ -67,6 +67,10 @@
opacity
:
0.4
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title
>
.tabs-container
>
.tab
>
.tab-close
.action-label
{
width
:
20px
;
}
.vs
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.tabs-container
>
.tab.dirty
.close-editor-action
{
background
:
url('close-dirty.svg')
center
center
no-repeat
;
}
...
...
@@ -106,63 +110,10 @@
width
:
16px
;
}
/* Editor Label */
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
>
.tabs-container
>
.tab
.tab-label
{
line-height
:
35px
;
white-space
:
nowrap
;
flex
:
1
;
font-style
:
italic
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
>
.tabs-container
>
.tab.pinned
.tab-label
{
font-style
:
normal
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
>
.tabs-container
>
.tab
.tab-label
a
{
text-decoration
:
none
;
font-size
:
13px
;
cursor
:
pointer
;
}
.vs
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
>
.tabs-container
>
.tab
.tab-label
a
{
color
:
rgba
(
51
,
51
,
51
,
0.5
);
}
.vs
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title.active
>
.tabs-container
>
.tab
.tab-label
a
{
color
:
#333333
;
}
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
>
.tabs-container
>
.tab
.tab-label
a
{
color
:
rgba
(
255
,
255
,
255
,
0.5
);
}
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title.active
>
.tabs-container
>
.tab
.tab-label
a
{
color
:
white
;
}
/* Group Actions */
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.group-actions
{
flex
:
initial
;
padding-left
:
4px
;
background-color
:
rgba
(
128
,
128
,
128
,
0.2
);
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.group-actions
.action-label
,
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title
>
.tabs-container
>
.tab
>
.tab-close
.action-label
{
display
:
block
;
height
:
35px
;
width
:
28px
;
background-size
:
16px
;
background-position
:
center
center
;
background-repeat
:
no-repeat
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title
>
.tabs-container
>
.tab
>
.tab-close
.action-label
{
width
:
20px
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.group-actions
.action-label
.label
{
display
:
none
;
}
\ No newline at end of file
src/vs/workbench/browser/parts/editor/media/titlecontrol.css
浏览文件 @
021e75c7
...
...
@@ -3,6 +3,66 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/* Editor Label */
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-label
,
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
>
.tabs-container
>
.tab
.tab-label
{
line-height
:
35px
;
white-space
:
nowrap
;
flex
:
1
;
font-style
:
italic
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title.pinned
.title-label
,
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
>
.tabs-container
>
.tab.pinned
.tab-label
{
font-style
:
normal
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-label
a
,
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
>
.tabs-container
>
.tab
.tab-label
a
{
text-decoration
:
none
;
font-size
:
13px
;
cursor
:
pointer
;
}
.vs
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-label
a
,
.vs
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
>
.tabs-container
>
.tab
.tab-label
a
{
color
:
rgba
(
51
,
51
,
51
,
0.5
);
}
.vs
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title.active
.title-label
a
,
.vs
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title.active
>
.tabs-container
>
.tab
.tab-label
a
{
color
:
#333333
;
}
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-label
a
,
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
>
.tabs-container
>
.tab
.tab-label
a
{
color
:
rgba
(
255
,
255
,
255
,
0.5
);
}
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title.active
.title-label
a
,
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title.active
>
.tabs-container
>
.tab
.tab-label
a
{
color
:
white
;
}
/* Title Actions */
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-actions
.action-label
,
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.group-actions
.action-label
,
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
.title
>
.tabs-container
>
.tab
>
.tab-close
.action-label
{
display
:
block
;
height
:
35px
;
width
:
28px
;
background-size
:
16px
;
background-position
:
center
center
;
background-repeat
:
no-repeat
;
}
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.group-actions
.action-label
.label
,
.monaco-workbench
>
.part.editor
>
.content
>
.one-editor-container
>
.title
.title-actions
.action-label
.label
{
display
:
none
;
}
/* Drag Cursor */
.monaco-workbench
>
.part.editor
>
.content.multiple-editors
.one-editor-container
.title
,
.monaco-workbench
>
.part.editor
>
.content.multiple-editors
.one-editor-container
.title
.title-label
a
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录