Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
后端镜像
Tabby
提交
53ac3923
T
Tabby
项目概览
后端镜像
/
Tabby
通知
41
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,发现更多精彩内容 >>
提交
53ac3923
编写于
10月 08, 2017
作者:
E
Eugene Pankov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
a compact theme
上级
f68e06c9
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
30 addition
and
7 deletion
+30
-7
terminus-core/src/components/tabHeader.component.scss
terminus-core/src/components/tabHeader.component.scss
+3
-3
terminus-core/src/index.ts
terminus-core/src/index.ts
+2
-1
terminus-core/src/theme.compact.scss
terminus-core/src/theme.compact.scss
+15
-0
terminus-core/src/theme.scss
terminus-core/src/theme.scss
+1
-2
terminus-core/src/theme.ts
terminus-core/src/theme.ts
+7
-0
terminus-plugin-manager/src/components/pluginsSettingsTab.component.pug
...n-manager/src/components/pluginsSettingsTab.component.pug
+2
-1
未找到文件。
terminus-core/src/components/tabHeader.component.scss
浏览文件 @
53ac3923
$tabs-height
:
36px
;
$tabs-height
:
36px
;
:host
{
:host
{
line-height
:
$tabs-height
-
2px
;
cursor
:
pointer
;
cursor
:
pointer
;
flex
:
1000
1
200px
;
flex
:
1000
1
200px
;
...
@@ -24,9 +23,9 @@ $tabs-height: 36px;
...
@@ -24,9 +23,9 @@ $tabs-height: 36px;
margin-left
:
10px
;
margin-left
:
10px
;
width
:
20px
;
width
:
20px
;
border-radius
:
10px
;
border-radius
:
10px
;
line-height
:
35px
;
text-align
:
center
;
text-align
:
center
;
transition
:
0
.25s
all
;
transition
:
0
.25s
all
;
align-self
:
center
;
}
}
.name
{
.name
{
...
@@ -36,6 +35,7 @@ $tabs-height: 36px;
...
@@ -36,6 +35,7 @@ $tabs-height: 36px;
white-space
:
nowrap
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
min-width
:
0
;
min-width
:
0
;
align-self
:
center
;
}
}
button
{
button
{
...
@@ -49,7 +49,7 @@ $tabs-height: 36px;
...
@@ -49,7 +49,7 @@ $tabs-height: 36px;
height
:
$button-size
;
height
:
$button-size
;
border-radius
:
$button-size
/
2
;
border-radius
:
$button-size
/
2
;
line-height
:
$button-size
*
0
.87
;
line-height
:
$button-size
*
0
.87
;
margin-top
:
(
$tabs-height
-
$button-size
)
*
0
.5
;
align-self
:
center
;
margin-right
:
10px
;
margin-right
:
10px
;
text-align
:
center
;
text-align
:
center
;
...
...
terminus-core/src/index.ts
浏览文件 @
53ac3923
...
@@ -29,7 +29,7 @@ import { HotkeyProvider } from './api/hotkeyProvider'
...
@@ -29,7 +29,7 @@ import { HotkeyProvider } from './api/hotkeyProvider'
import
{
ConfigProvider
}
from
'
./api/configProvider
'
import
{
ConfigProvider
}
from
'
./api/configProvider
'
import
{
Theme
}
from
'
./api/theme
'
import
{
Theme
}
from
'
./api/theme
'
import
{
StandardTheme
}
from
'
./theme
'
import
{
StandardTheme
,
StandardCompactTheme
}
from
'
./theme
'
import
{
CoreConfigProvider
}
from
'
./config
'
import
{
CoreConfigProvider
}
from
'
./config
'
import
'
perfect-scrollbar/dist/css/perfect-scrollbar.css
'
import
'
perfect-scrollbar/dist/css/perfect-scrollbar.css
'
...
@@ -47,6 +47,7 @@ const PROVIDERS = [
...
@@ -47,6 +47,7 @@ const PROVIDERS = [
UpdaterService
,
UpdaterService
,
{
provide
:
HotkeyProvider
,
useClass
:
AppHotkeyProvider
,
multi
:
true
},
{
provide
:
HotkeyProvider
,
useClass
:
AppHotkeyProvider
,
multi
:
true
},
{
provide
:
Theme
,
useClass
:
StandardTheme
,
multi
:
true
},
{
provide
:
Theme
,
useClass
:
StandardTheme
,
multi
:
true
},
{
provide
:
Theme
,
useClass
:
StandardCompactTheme
,
multi
:
true
},
{
provide
:
ConfigProvider
,
useClass
:
CoreConfigProvider
,
multi
:
true
},
{
provide
:
ConfigProvider
,
useClass
:
CoreConfigProvider
,
multi
:
true
},
]
]
...
...
terminus-core/src/theme.compact.scss
0 → 100644
浏览文件 @
53ac3923
@import
'./theme.scss'
;
app-root
{
.tab-bar
{
height
:
27px
!
important
;
.btn-tab-bar
{
line-height
:
29px
!
important
;
}
}
terminaltab
.content
{
margin
:
5px
!
important
;
}
}
terminus-core/src/theme.scss
浏览文件 @
53ac3923
...
@@ -131,6 +131,7 @@ app-root {
...
@@ -131,6 +131,7 @@ app-root {
background
:
$body-bg2
;
background
:
$body-bg2
;
border-left
:
1px
solid
transparent
;
border-left
:
1px
solid
transparent
;
border-right
:
1px
solid
transparent
;
border-right
:
1px
solid
transparent
;
border-top
:
1px
solid
transparent
;
.index
{
.index
{
color
:
#555
;
color
:
#555
;
...
@@ -162,7 +163,6 @@ app-root {
...
@@ -162,7 +163,6 @@ app-root {
&
.active
{
&
.active
{
border-top
:
1px
solid
$teal
;
border-top
:
1px
solid
$teal
;
margin-bottom
:
-1px
;
}
}
&
.has-activity
:not
(
.active
)
{
&
.has-activity
:not
(
.active
)
{
...
@@ -179,7 +179,6 @@ app-root {
...
@@ -179,7 +179,6 @@ app-root {
&
.active
{
&
.active
{
border-bottom
:
1px
solid
$teal
;
border-bottom
:
1px
solid
$teal
;
margin-top
:
-1px
;
}
}
&
.has-activity
:not
(
.active
)
{
&
.has-activity
:not
(
.active
)
{
...
...
terminus-core/src/theme.ts
浏览文件 @
53ac3923
...
@@ -7,3 +7,10 @@ export class StandardTheme extends Theme {
...
@@ -7,3 +7,10 @@ export class StandardTheme extends Theme {
css
=
require
(
'
./theme.scss
'
)
css
=
require
(
'
./theme.scss
'
)
terminalBackground
=
'
#1D272D
'
terminalBackground
=
'
#1D272D
'
}
}
@
Injectable
()
export
class
StandardCompactTheme
extends
Theme
{
name
=
'
Compact
'
css
=
require
(
'
./theme.compact.scss
'
)
terminalBackground
=
'
#1D272D
'
}
terminus-plugin-manager/src/components/pluginsSettingsTab.component.pug
浏览文件 @
53ac3923
...
@@ -78,7 +78,8 @@ div(*ngIf='npmInstalled')
...
@@ -78,7 +78,8 @@ div(*ngIf='npmInstalled')
.d-flex.w-100
.d-flex.w-100
.mr-auto.d-flex.flex-column
.mr-auto.d-flex.flex-column
strong {{plugin.name}}
strong {{plugin.name}}
small.text-muted.mb-0 {{plugin.description}}
a.text-muted.mb-0((click)='showPluginInfo(plugin)')
small {{plugin.description}}
.d-flex.flex-column.align-items-end.mr-3
.d-flex.flex-column.align-items-end.mr-3
div {{plugin.version}}
div {{plugin.version}}
small.text-muted {{plugin.author}}
small.text-muted {{plugin.author}}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录