Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
1cc1122d
T
three.js
项目概览
车家大少爷
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1cc1122d
编写于
5月 12, 2019
作者:
Y
Yuin Chien
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Changed view source button to icon button
上级
e9b9c912
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
37 addition
and
17 deletion
+37
-17
docs/page.css
docs/page.css
+1
-1
examples/index.html
examples/index.html
+17
-15
files/ic_code_black_24dp.svg
files/ic_code_black_24dp.svg
+4
-0
files/ic_github_black_24dp.svg
files/ic_github_black_24dp.svg
+15
-0
files/main.css
files/main.css
+0
-1
未找到文件。
docs/page.css
浏览文件 @
1cc1122d
...
...
@@ -166,7 +166,7 @@ strong {
padding
:
8px
;
border-radius
:
50%
;
margin-bottom
:
0px
;
/* TODO div sets it to 20px */
margin-bottom
:
0px
;
background-color
:
#E5E5E5
;
opacity
:
.9
;
...
...
examples/index.html
浏览文件 @
1cc1122d
...
...
@@ -9,24 +9,28 @@
<style>
#panel
#content
.link
{
display
:
block
;
text-decoration
:
none
;
cursor
:
pointer
;
}
#viewSrcButton
{
#button
{
position
:
fixed
;
bottom
:
20px
;
right
:
20px
;
bottom
:
16px
;
right
:
16px
;
padding
:
8px
;
color
:
#fff
;
background-color
:
#555
;
opacity
:
0.7
;
border-radius
:
50%
;
margin-bottom
:
0px
;
/* TODO div sets it to 20px */
background-color
:
#E5E5E5
;
opacity
:
.9
;
}
#
viewSrcB
utton
:hover
{
#
b
utton
:hover
{
cursor
:
pointer
;
opacity
:
1
;
}
#button
img
{
display
:
block
;
}
</style>
</head>
<body>
...
...
@@ -61,6 +65,8 @@
<iframe
id=
"viewer"
name=
"viewer"
allowfullscreen
allowvr
onmousewheel=
""
></iframe>
<a
id=
"button"
target=
"_blank"
><img
src=
"../files/ic_code_black_24dp.svg"
></a>
<script
src=
"files.js"
></script>
<script>
...
...
@@ -106,12 +112,8 @@
var
container
=
document
.
createElement
(
'
div
'
);
content
.
appendChild
(
container
);
var
viewSrcButton
=
document
.
createElement
(
'
a
'
);
viewSrcButton
.
id
=
'
viewSrcButton
'
;
viewSrcButton
.
target
=
'
_blank
'
;
viewSrcButton
.
textContent
=
'
View source
'
;
var
viewSrcButton
=
document
.
getElementById
(
'
button
'
);
viewSrcButton
.
style
.
display
=
'
none
'
;
document
.
body
.
appendChild
(
viewSrcButton
);
var
links
=
{};
var
selected
=
null
;
...
...
files/ic_code_black_24dp.svg
0 → 100644
浏览文件 @
1cc1122d
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"24px"
height=
"24px"
viewBox=
"0 0 24 24"
fill=
"#000000"
>
<path
fill=
"none"
d=
"M0 0h24v24H0V0z"
/>
<path
d=
"M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"
/>
</svg>
files/ic_github_black_24dp.svg
0 → 100644
浏览文件 @
1cc1122d
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
version=
"1.1"
id=
"Layer_1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
width=
"24px"
height=
"24px"
viewBox=
"0 0 24 24"
enable-background=
"new 0 0 24 24"
xml:space=
"preserve"
fill=
"#000000"
>
<g
id=
"XMLID_399_"
>
<path
id=
"XMLID_290_"
fill-rule=
"evenodd"
clip-rule=
"evenodd"
d=
"M12,2C6.48,2,2,6.59,2,12.25c0,4.53,2.87,8.37,6.84,9.73
c0.5,0.09,0.68-0.22,0.68-0.49c0-0.24-0.01-0.89-0.01-1.74c-2.78,0.62-3.37-1.37-3.37-1.37c-0.45-1.18-1.11-1.5-1.11-1.5
c-0.91-0.64,0.07-0.62,0.07-0.62c1,0.07,1.53,1.06,1.53,1.06c0.89,1.57,2.34,1.11,2.91,0.85c0.09-0.66,0.35-1.11,0.63-1.37
c-2.22-0.26-4.56-1.14-4.56-5.07c0-1.12,0.39-2.03,1.03-2.75c-0.1-0.26-0.45-1.3,0.1-2.71c0,0,0.84-0.28,2.75,1.05
c0.8-0.23,1.65-0.34,2.5-0.34c0.85,0,1.7,0.12,2.5,0.34c1.91-1.33,2.75-1.05,2.75-1.05c0.55,1.41,0.2,2.45,0.1,2.71
c0.64,0.72,1.03,1.63,1.03,2.75c0,3.94-2.34,4.81-4.57,5.06c0.36,0.32,0.68,0.94,0.68,1.9c0,1.37-0.01,2.48-0.01,2.81
c0,0.27,0.18,0.59,0.69,0.49c3.97-1.36,6.83-5.2,6.83-9.73C22,6.59,17.52,2,12,2"
/>
<rect
id=
"XMLID_289_"
fill-rule=
"evenodd"
clip-rule=
"evenodd"
fill=
"none"
width=
"24"
height=
"24"
/>
</g>
</svg>
files/main.css
浏览文件 @
1cc1122d
...
...
@@ -204,7 +204,6 @@ iframe {
overflow
:
auto
;
}
/* mobile */
@media
all
and
(
max-width
:
640px
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录