Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
8b8c66a6
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,发现更多精彩内容 >>
提交
8b8c66a6
编写于
1月 13, 2017
作者:
C
Christof Marti
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Separate walk-through CSS from welcome page
上级
c7b5f1bf
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
42 addition
and
38 deletion
+42
-38
src/vs/workbench/parts/walkThrough/electron-browser/walkThroughPart.css
...ch/parts/walkThrough/electron-browser/walkThroughPart.css
+34
-34
src/vs/workbench/parts/walkThrough/electron-browser/walkThroughPart.ts
...nch/parts/walkThrough/electron-browser/walkThroughPart.ts
+1
-2
src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.css
...kbench/parts/welcomePage/electron-browser/welcomePage.css
+6
-1
src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.html
...bench/parts/welcomePage/electron-browser/welcomePage.html
+0
-1
src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.ts
...rkbench/parts/welcomePage/electron-browser/welcomePage.ts
+1
-0
未找到文件。
src/vs/workbench/parts/walkThrough/electron-browser/walkThroughPart.css
浏览文件 @
8b8c66a6
...
...
@@ -3,124 +3,124 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
{
box-sizing
:
border-box
;
padding
:
10px
20px
;
line-height
:
22px
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
img
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
img
{
max-width
:
100%
;
max-height
:
100%
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
a
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
a
{
color
:
#4080D0
;
text-decoration
:
none
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
a
:focus
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
input
:focus
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
select
:focus
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
textarea
:focus
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
a
:focus
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
input
:focus
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
select
:focus
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
textarea
:focus
{
outline
:
1px
solid
-webkit-focus-ring-color
;
outline-offset
:
-1px
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
hr
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
hr
{
border
:
0
;
height
:
2px
;
border-bottom
:
2px
solid
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
h1
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
h1
{
padding-bottom
:
0.3em
;
line-height
:
1.2
;
border-bottom-width
:
1px
;
border-bottom-style
:
solid
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
h1
,
h2
,
h3
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
h1
,
h2
,
h3
{
font-weight
:
normal
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
a
:hover
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
a
:hover
{
color
:
#4080D0
;
text-decoration
:
underline
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
table
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
table
{
border-collapse
:
collapse
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
table
>
thead
>
tr
>
th
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
table
>
thead
>
tr
>
th
{
text-align
:
left
;
border-bottom
:
1px
solid
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
table
>
thead
>
tr
>
th
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
table
>
thead
>
tr
>
td
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
table
>
tbody
>
tr
>
th
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
table
>
tbody
>
tr
>
td
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
table
>
thead
>
tr
>
th
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
table
>
thead
>
tr
>
td
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
table
>
tbody
>
tr
>
th
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
table
>
tbody
>
tr
>
td
{
padding
:
5px
10px
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
table
>
tbody
>
tr
+
tr
>
td
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
table
>
tbody
>
tr
+
tr
>
td
{
border-top
:
1px
solid
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
blockquote
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
blockquote
{
margin
:
0
7px
0
5px
;
padding
:
0
16px
0
10px
;
border-left
:
5px
solid
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
code
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
code
{
font-family
:
Menlo
,
Monaco
,
Consolas
,
"Droid Sans Mono"
,
"Courier New"
,
monospace
,
"Droid Sans Fallback"
;
font-size
:
14px
;
line-height
:
19px
;
}
.monaco-workbench.mac
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
code
{
.monaco-workbench.mac
>
.part.editor
>
.content
.walkThroughContent
code
{
font-size
:
12px
;
line-height
:
18px
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
code
>
div
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
code
>
div
{
padding
:
16px
;
border-radius
:
3px
;
overflow
:
auto
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.monaco-tokenized-source
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
.monaco-tokenized-source
{
white-space
:
pre
;
}
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.mac-only
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.windows-only
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.linux-only
{
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
.mac-only
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
.windows-only
,
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
.linux-only
{
display
:
none
;
}
.monaco-workbench.mac
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.mac-only
{
.monaco-workbench.mac
>
.part.editor
>
.content
.walkThroughContent
.mac-only
{
display
:
initial
;
}
.monaco-workbench.windows
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.windows-only
{
.monaco-workbench.windows
>
.part.editor
>
.content
.walkThroughContent
.windows-only
{
display
:
initial
;
}
.monaco-workbench.linux
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.linux-only
{
.monaco-workbench.linux
>
.part.editor
>
.content
.walkThroughContent
.linux-only
{
display
:
initial
;
}
.vs
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.monaco-editor-background
,
.vs
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.glyph-margin
{
.vs
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
.monaco-editor-background
,
.vs
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
.glyph-margin
{
background-color
:
#eee
;
}
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.monaco-editor-background
,
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.glyph-margin
{
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
.monaco-editor-background
,
.vs-dark
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
.glyph-margin
{
background-color
:
#111
;
}
.hc-black
.monaco-workbench
>
.part.editor
>
.content
.walkThroughCont
ainer
.walkThroughCont
ent
.monaco-editor
{
.hc-black
.monaco-workbench
>
.part.editor
>
.content
.walkThroughContent
.monaco-editor
{
border
:
1px
white
solid
}
src/vs/workbench/parts/walkThrough/electron-browser/walkThroughPart.ts
浏览文件 @
8b8c66a6
...
...
@@ -61,10 +61,8 @@ export class WalkThroughPart extends BaseEditor {
createEditor
(
parent
:
Builder
):
void
{
const
container
=
parent
.
getHTMLElement
();
container
.
classList
.
add
(
'
walkThroughContainer
'
);
this
.
content
=
document
.
createElement
(
'
div
'
);
this
.
content
.
classList
.
add
(
'
walkThroughContent
'
);
this
.
scrollbar
=
new
DomScrollableElement
(
this
.
content
,
{
canUseTranslate3d
:
false
,
...
...
@@ -149,6 +147,7 @@ export class WalkThroughPart extends BaseEditor {
return
`<div id=
${
id
}
class="walkThroughEditorContainer" ></div>`
;
};
this
.
content
.
classList
.
add
(
'
walkThroughContent
'
);
// only for markdown files
this
.
content
.
innerHTML
=
marked
(
content
.
value
,
{
renderer
});
this
.
decorateContent
();
...
...
src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.css
浏览文件 @
8b8c66a6
...
...
@@ -3,10 +3,15 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.monaco-workbench
>
.part.editor
>
.content
.
monaco-workbench
>
.part.editor
>
.content
.
welcomePage
{
.monaco-workbench
>
.part.editor
>
.content
.welcomePage
{
font-family
:
"Lucida Grande"
,
sans-serif
;
}
.monaco-workbench
>
.part.editor
>
.content
.welcomePage
a
{
color
:
#4080D0
;
text-decoration
:
none
;
}
.monaco-workbench
>
.part.editor
>
.content
.welcomePage
.splash
{
position
:
absolute
;
top
:
50%
;
...
...
src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.html
浏览文件 @
8b8c66a6
<link
href=
"../../parts/welcomePage/electron-browser/welcomePage.css"
rel=
"stylesheet"
></link>
<div
class=
"welcomePage"
>
<div
class=
"splash"
>
<div
class=
"title"
>
...
...
src/vs/workbench/parts/welcomePage/electron-browser/welcomePage.ts
浏览文件 @
8b8c66a6
...
...
@@ -4,6 +4,7 @@
*--------------------------------------------------------------------------------------------*/
'
use strict
'
;
import
'
vs/css!./welcomePage
'
;
import
URI
from
'
vs/base/common/uri
'
;
import
*
as
path
from
'
path
'
;
import
{
WalkThroughInput
}
from
'
vs/workbench/parts/walkThrough/common/walkThroughInput
'
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录