Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
tianyazhichiC
algorithm-visualizer
提交
cdb9104e
A
algorithm-visualizer
项目概览
tianyazhichiC
/
algorithm-visualizer
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
algorithm-visualizer
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
cdb9104e
编写于
7月 07, 2016
作者:
K
Kevin Nadro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixing css
上级
8d32b475
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
6 deletion
+12
-6
css/stylesheet.css
css/stylesheet.css
+5
-0
index.html
index.html
+5
-5
js/dom/add_files.js
js/dom/add_files.js
+2
-1
未找到文件。
css/stylesheet.css
浏览文件 @
cdb9104e
...
@@ -63,6 +63,7 @@ button {
...
@@ -63,6 +63,7 @@ button {
.btn
:hover
,
.btn
:hover
,
button
:hover
{
button
:hover
{
background
:
rgba
(
0
,
0
,
0
,
.15
);
background
:
rgba
(
0
,
0
,
0
,
.15
);
border-bottom
:
0px
solid
#505050
;
}
}
.btn.active
,
.btn.active
,
...
@@ -90,6 +91,10 @@ button input {
...
@@ -90,6 +91,10 @@ button input {
border
:
none
;
border
:
none
;
}
}
.tab_button
{
border-bottom
:
1px
solid
#505050
;
}
.divider
{
.divider
{
position
:
absolute
!important
;
position
:
absolute
!important
;
z-index
:
3
;
z-index
:
3
;
...
...
index.html
浏览文件 @
cdb9104e
...
@@ -117,9 +117,9 @@
...
@@ -117,9 +117,9 @@
<div
class=
"workspace"
>
<div
class=
"workspace"
>
<div
class=
"viewer_container"
>
<div
class=
"viewer_container"
>
<section
class=
"tab_bar"
>
<section
class=
"tab_bar"
>
<button
id=
"btn_doc"
data-target=
"#tab_doc"
>
Tracer API
</button>
<button
class=
"tab_button"
id=
"btn_doc"
data-target=
"#tab_doc"
>
Tracer API
</button>
<button
class=
"active"
id=
"btn_desc"
data-target=
"#tab_desc"
>
Description
</button>
<button
class=
"
tab_button
active"
id=
"btn_desc"
data-target=
"#tab_desc"
>
Description
</button>
<button
id=
"btn_trace"
data-target=
"#tab_module"
>
Trace
</button>
<button
class=
"tab_button"
id=
"btn_trace"
data-target=
"#tab_module"
>
Trace
</button>
</section>
</section>
<section
class=
"tab_container"
>
<section
class=
"tab_container"
>
<div
class=
"tab"
id=
"tab_doc"
>
<div
class=
"tab"
id=
"tab_doc"
>
...
@@ -136,8 +136,8 @@
...
@@ -136,8 +136,8 @@
</div>
</div>
<div
class=
"editor_container"
>
<div
class=
"editor_container"
>
<section
class=
"files_bar"
>
<section
class=
"files_bar"
>
<button
class=
"btn-left"
><i
class=
"fa fa-angle-left"
aria-hidden=
"true"
></i></button>
<button
class=
"
tab_button
btn-left"
><i
class=
"fa fa-angle-left"
aria-hidden=
"true"
></i></button>
<button
class=
"btn-right"
><i
class=
"fa fa-angle-right"
aria-hidden=
"true"
></i></button>
<button
class=
"
tab_button
btn-right"
><i
class=
"fa fa-angle-right"
aria-hidden=
"true"
></i></button>
<div
class=
"wrapper"
></div>
<div
class=
"wrapper"
></div>
</section>
</section>
<section
class=
"explanation_container"
>
<section
class=
"explanation_container"
>
...
...
js/dom/add_files.js
浏览文件 @
cdb9104e
...
@@ -24,9 +24,10 @@ module.exports = (category, algorithm, files, requestedFile) => {
...
@@ -24,9 +24,10 @@ module.exports = (category, algorithm, files, requestedFile) => {
each
(
files
,
(
file
,
explanation
)
=>
{
each
(
files
,
(
file
,
explanation
)
=>
{
var
$file
=
addFileToDOM
(
category
,
algorithm
,
file
,
explanation
);
var
$file
=
addFileToDOM
(
category
,
algorithm
,
file
,
explanation
);
$file
.
addClass
(
'
tab_button
'
);
if
(
requestedFile
&&
requestedFile
==
file
)
$file
.
click
();
if
(
requestedFile
&&
requestedFile
==
file
)
$file
.
click
();
});
});
if
(
!
requestedFile
)
$
(
'
.files_bar > .wrapper > button
'
).
first
().
click
();
if
(
!
requestedFile
)
$
(
'
.files_bar > .wrapper > button
'
).
first
().
click
();
$
(
'
.files_bar > .wrapper
'
).
scroll
();
$
(
'
.files_bar > .wrapper
'
).
scroll
();
};
};
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录