Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
tianyazhichiC
algorithm-visualizer
提交
856798b6
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
856798b6
编写于
7月 08, 2016
作者:
N
Nemanja Stojanovic
提交者:
GitHub
7月 08, 2016
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #206 from nadr0/tab-css-fix
Tab button css fix
上级
a516827d
db033eee
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
14 addition
and
9 deletion
+14
-9
css/stylesheet.css
css/stylesheet.css
+7
-3
index.html
index.html
+5
-5
js/dom/add_files.js
js/dom/add_files.js
+2
-1
未找到文件。
css/stylesheet.css
浏览文件 @
856798b6
...
...
@@ -67,12 +67,12 @@ button:hover {
.btn.active
,
button
.active
{
background
:
rgb
(
3
8
,
38
,
38
);
background
:
rgb
(
3
6
,
36
,
36
);
}
.btn.active
:hover
,
button
.active
:hover
{
background
:
rgba
(
3
8
,
38
,
38
);
background
:
rgba
(
3
6
,
36
,
36
);
color
:
rgba
(
187
,
187
,
187
,
.8
);
}
...
...
@@ -90,6 +90,10 @@ button input {
border
:
none
;
}
.tab_button
{
border-bottom
:
1px
solid
#505050
;
}
.divider
{
position
:
absolute
!important
;
z-index
:
3
;
...
...
@@ -396,7 +400,7 @@ section {
border
:
none
;
top
:
30px
;
height
:
30px
;
background
:
rgb
(
3
8
,
38
,
38
);
background
:
rgb
(
3
6
,
36
,
36
);
padding
:
8px
;
font-size
:
12px
;
}
...
...
index.html
浏览文件 @
856798b6
...
...
@@ -117,9 +117,9 @@
<div
class=
"workspace"
>
<div
class=
"viewer_container"
>
<section
class=
"tab_bar"
>
<button
id=
"btn_doc"
data-target=
"#tab_doc"
>
Tracer API
</button>
<button
class=
"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_doc"
data-target=
"#tab_doc"
>
Tracer API
</button>
<button
class=
"
tab_button
active"
id=
"btn_desc"
data-target=
"#tab_desc"
>
Description
</button>
<button
class=
"tab_button"
id=
"btn_trace"
data-target=
"#tab_module"
>
Trace
</button>
</section>
<section
class=
"tab_container"
>
<div
class=
"tab"
id=
"tab_doc"
>
...
...
@@ -136,8 +136,8 @@
</div>
<div
class=
"editor_container"
>
<section
class=
"files_bar"
>
<button
class=
"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-left"
><i
class=
"fa fa-angle-left"
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>
</section>
<section
class=
"explanation_container"
>
...
...
js/dom/add_files.js
浏览文件 @
856798b6
...
...
@@ -24,6 +24,7 @@ module.exports = (category, algorithm, files, requestedFile) => {
each
(
files
,
(
file
,
explanation
)
=>
{
var
$file
=
addFileToDOM
(
category
,
algorithm
,
file
,
explanation
);
$file
.
addClass
(
'
tab_button
'
);
if
(
requestedFile
&&
requestedFile
==
file
)
$file
.
click
();
});
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录