Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
后端镜像
Tabby
提交
c7828e55
T
Tabby
项目概览
后端镜像
/
Tabby
通知
27
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Tabby
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c7828e55
编写于
4月 28, 2017
作者:
E
Eugene Pankov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
.
上级
8be70110
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
55 addition
and
30 deletion
+55
-30
terminus-core/src/components/appRoot.component.pug
terminus-core/src/components/appRoot.component.pug
+28
-26
terminus-core/src/components/appRoot.component.scss
terminus-core/src/components/appRoot.component.scss
+7
-2
terminus-core/src/theme.scss
terminus-core/src/theme.scss
+19
-1
webpack.config.js
webpack.config.js
+1
-1
未找到文件。
terminus-core/src/components/appRoot.component.pug
浏览文件 @
c7828e55
...
...
@@ -16,37 +16,39 @@ title-bar(*ngIf='config.store.appearance.frame == "full" && config.store.appeara
(closeClicked)='app.closeTab(tab)',
)
button.btn.btn-secondary(
*ngFor='let button of getLeftToolbarButtons()',
[title]='button.title',
(click)='button.click()',
)
i.fa([class]='"fa fa-" + button.icon')
.btn-group
button.btn.btn-secondary.btn-tab-bar(
*ngFor='let button of getLeftToolbarButtons()',
[title]='button.title',
(click)='button.click()',
)
i.fa([class]='"fa fa-" + button.icon')
.drag-space
.btn-group
button.btn.btn-secondary.btn-tab-bar(
*ngFor='let button of getRightToolbarButtons()',
[title]='button.title',
(click)='button.click()',
)
i.fa([class]='"fa fa-" + button.icon')
button.btn.btn-secondary(
*ngFor='let button of getRightToolbarButtons()',
[title]='button.title',
(click)='button.click()',
)
i.fa([class]='"fa fa-" + button.icon')
button.btn.btn-secondary.btn-minimize(
*ngIf='config.store.appearance.frame == "thin"',
(click)='hostApp.minimize()',
)
i.fa.fa-window-minimize
button.btn.btn-secondary.btn-maximize(
*ngIf='config.store.appearance.frame == "thin"',
(click)='hostApp.toggleMaximize()',
)
i.fa.fa-window-maximize
button.btn.btn-secondary.btn-close(
.btn-group.window-controls(
*ngIf='config.store.appearance.frame == "thin"',
(click)='hostApp.quit()',
)
i.fa.fa-close
button.btn.btn-secondary.btn-minimize.btn-tab-bar(
(click)='hostApp.minimize()',
)
i.fa.fa-window-minimize
button.btn.btn-secondary.btn-maximize.btn-tab-bar(
(click)='hostApp.toggleMaximize()',
)
i.fa.fa-window-maximize
button.btn.btn-secondary.btn-close.btn-tab-bar(
(click)='hostApp.quit()',
)
i.fa.fa-close
start-page(*ngIf='app.tabs.length == 0')
...
...
terminus-core/src/components/appRoot.component.scss
浏览文件 @
c7828e55
...
...
@@ -5,6 +5,7 @@
flex-direction
:
column
;
overflow
:
hidden
;
-webkit-user-select
:
none
;
-webkit-user-drag
:
none
;
-webkit-font-smoothing
:
antialiased
;
cursor
:
default
;
animation
:
0
.5s
ease-out
fadeIn
;
...
...
@@ -29,7 +30,7 @@ $tab-border-radius: 4px;
height
:
$tabs-height
;
display
:
flex
;
&
>
button
{
.btn-tab-bar
{
line-height
:
$tabs-height
+
2px
;
cursor
:
pointer
;
...
...
@@ -48,7 +49,7 @@ $tab-border-radius: 4px;
&
.btn-minimize
{
margin-left
:
10px
;
}
&
.btn-minimize
,
&
.btn-maximize
{
font-size
:
8px
;
}
...
...
@@ -69,6 +70,10 @@ $tab-border-radius: 4px;
flex
:
1
0
25%
;
-webkit-app-region
:
drag
;
}
&
.window-controls
{
flex
:
0
0
none
;
}
}
.tabs-content
{
...
...
terminus-core/src/theme.scss
浏览文件 @
c7828e55
...
...
@@ -82,13 +82,14 @@ title-bar {
}
}
$border-color
:
#141414
;
app-root
{
&
>
.content
{
background
:
$body-bg2
;
.tab-bar
{
&
>
button
{
.btn-tab-bar
{
&
:not
(
:hover
)
:not
(
:active
)
{
background
:
$body-bg2
;
}
...
...
@@ -105,6 +106,9 @@ app-root {
tab-header
{
background
:
$body-bg2
;
border-left
:
1px
solid
transparent
;
border-right
:
1px
solid
transparent
;
margin-bottom
:
-1px
;
.index
{
color
:
#555
;
...
...
@@ -121,6 +125,8 @@ app-root {
&
.active
{
background
:
$body-bg
;
border-left
:
1px
solid
$border-color
;
border-right
:
1px
solid
$border-color
;
}
}
}
...
...
@@ -129,15 +135,21 @@ app-root {
&
.tabs-on-top
.tab-bar
{
tab-header
{
border-top
:
1px
solid
transparent
;
border-bottom
:
1px
solid
$border-color
;
&
.active
{
border-top
:
1px
solid
$teal
;
border-bottom
:
1px
solid
transparent
;
}
&
.has-activity
:not
(
.active
)
{
border-top
:
1px
solid
$green
;
}
}
&
>
.btn-group
,
.drag-space
{
border-bottom
:
1px
solid
$border-color
;
}
}
&
:not
(
.tabs-on-top
)
.tab-bar
{
...
...
@@ -145,15 +157,21 @@ app-root {
tab-header
{
border-bottom
:
1px
solid
transparent
;
border-top
:
1px
solid
$border-color
;
&
.active
{
border-bottom
:
1px
solid
$teal
;
border-top
:
1px
solid
transparent
;
}
&
.has-activity
:not
(
.active
)
{
border-bottom
:
1px
solid
$green
;
}
}
&
>
.btn-group
,
.drag-space
{
border-top
:
1px
solid
$border-color
;
}
}
}
}
...
...
webpack.config.js
浏览文件 @
c7828e55
...
...
@@ -5,6 +5,6 @@ module.exports = [
require
(
'
./terminus-terminal/webpack.config.js
'
),
require
(
'
./terminus-clickable-links/webpack.config.js
'
),
require
(
'
./terminus-community-color-schemes/webpack.config.js
'
),
require
(
'
./terminus-plugin-manager/webpack.config.js
'
),
//
require('./terminus-plugin-manager/webpack.config.js'),
require
(
'
./terminus-theme-hype/webpack.config.js
'
),
]
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录