Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
f3a5409c
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
f3a5409c
编写于
12月 22, 2016
作者:
F
Fatih Acet
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix-hover-pipeline' into 'master'
Fix hover pipeline See merge request !8253
上级
66e7f126
87b89c05
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
51 addition
and
14 deletion
+51
-14
app/assets/stylesheets/pages/pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+49
-12
app/views/projects/stage/_in_stage_group.html.haml
app/views/projects/stage/_in_stage_group.html.haml
+2
-2
未找到文件。
app/assets/stylesheets/pages/pipelines.scss
浏览文件 @
f3a5409c
...
...
@@ -597,6 +597,27 @@
}
}
}
.grouped-pipeline-dropdown
{
.dropdown-build
{
.build-content
{
width
:
100%
;
&
:hover
{
background-color
:
$stage-hover-bg
;
color
:
$gl-text-color
;
}
}
.ci-action-icon-container
{
padding
:
0
;
font-size
:
11px
;
position
:
absolute
;
top
:
1px
;
right
:
8px
;
}
}
}
}
.dropdown-counter-badge
{
...
...
@@ -607,9 +628,11 @@
margin-right
:
2px
;
}
.grouped-pipeline-dropdown
{
padding
:
0
;
width
:
191px
;
min-width
:
191px
;
left
:
auto
;
right
:
-195px
;
top
:
-4px
;
...
...
@@ -619,11 +642,22 @@
display
:
inline-block
;
}
.build-content
{
width
:
138px
;
.dropdown-build
{
.build-content
{
width
:
100%
;
&
:hover
{
background-color
:
$stage-hover-bg
;
&
:hover
{
background-color
:
$stage-hover-bg
;
color
:
$gl-text-color
;
}
}
.ci-action-icon-container
{
padding
:
0
;
font-size
:
11px
;
position
:
absolute
;
margin-top
:
3px
;
right
:
7px
;
}
}
...
...
@@ -633,12 +667,10 @@
margin
:
3px
0
;
li
{
padding-top
:
2px
;
margin
:
4px
7px
;
padding
:
0
3px
;
padding-left
:
0
;
padding-bottom
:
0
;
line-height
:
0
;
margin
:
4px
8px
4px
9px
;
padding
:
0
;
line-height
:
1
.1
;
position
:
relative
;
.ci-action-icon-container
:hover
{
background-color
:
transparent
;
...
...
@@ -652,6 +684,11 @@
}
}
.pipeline-graph
.dropdown-build
.ci-status-icon
svg
{
width
:
18px
;
height
:
18px
;
}
.ci-status-text
{
max-width
:
110px
;
white-space
:
nowrap
;
...
...
@@ -660,7 +697,7 @@
vertical-align
:
bottom
;
display
:
inline-block
;
position
:
relative
;
font-weight
:
1
00
;
font-weight
:
2
00
;
}
// Action Icons
...
...
@@ -697,7 +734,7 @@
color
:
$gl-text-color-light
;
.build-content
{
padding
:
3px
7px
6
px
;
padding
:
4px
7px
8
px
;
}
.ci-action-icon-container
{
...
...
app/views/projects/stage/_in_stage_group.html.haml
浏览文件 @
f3a5409c
-
group_status
=
CommitStatus
.
where
(
id:
subject
).
status
%button
.dropdown-menu-toggle.build-content.has-tooltip
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
%button
.dropdown-menu-toggle.build-content.has-tooltip
{
type:
'button'
,
data:
{
toggle:
'dropdown'
,
title:
"#{name} - #{group_status}"
}
}
%span
{
class:
"ci-status-icon ci-status-icon-#{group_status}"
}
=
ci_icon_for_status
(
group_status
)
%span
.ci-status-text
{
'data-toggle'
=>
'tooltip'
,
'data-title'
=>
"#{name} - #{group_status}"
}
%span
.ci-status-text
=
name
%span
.dropdown-counter-badge
=
subject
.
size
.dropdown-menu.grouped-pipeline-dropdown
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录