BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
65e482e7
Commit
65e482e7
authored
Sep 16, 2016
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change size of pipeline status icons and dropdowns
parent
ff0f70c0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
21 deletions
+41
-21
pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+31
-16
_build_pipeline.html.haml
app/views/projects/ci/builds/_build_pipeline.html.haml
+4
-2
_pipeline_status_group.html.haml
app/views/projects/commit/_pipeline_status_group.html.haml
+2
-1
_generic_commit_status_pipeline.html.haml
...commit_statuses/_generic_commit_status_pipeline.html.haml
+4
-2
No files found.
app/assets/stylesheets/pages/pipelines.scss
View file @
65e482e7
...
...
@@ -331,9 +331,9 @@
}
.stage-name
{
margin
-bottom
:
15
px
;
margin
:
0
0
15px
10
px
;
font-weight
:
bold
;
width
:
1
50
px
;
width
:
1
76
px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
...
...
@@ -364,12 +364,17 @@
.build-content
{
width
:
164px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
.ci-status-icon
{
svg
{
height
:
20px
;
width
:
20px
;
}
}
.ci-status-text
{
width
:
1
10
px
;
width
:
1
35
px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
...
...
@@ -397,27 +402,37 @@
color
:
$layout-link-gray
;
.ci-status-text
{
width
:
80
px
;
width
:
112
px
;
}
}
.grouped-pipeline-dropdown
{
padding
:
8px
0
;
width
:
200
px
;
width
:
168
px
;
left
:
auto
;
right
:
-
214
px
;
right
:
-
180
px
;
top
:
-9px
;
max-height
:
245px
;
overflow-y
:
scroll
;
a
:hover
{
.ci-status-text
{
text-decoration
:
none
;
a
{
padding
:
7px
8px
;
margin
:
0
8px
;
&
:hover
{
.ci-status-text
{
text-decoration
:
none
;
}
}
}
svg
{
width
:
14px
;
height
:
14px
;
}
.ci-status-text
{
width
:
1
45
px
;
width
:
1
12
px
;
}
.arrow
{
...
...
@@ -482,7 +497,7 @@
position
:
absolute
;
border-bottom
:
2px
solid
$border-color
;
width
:
25px
;
height
:
6
5
px
;
height
:
6
9
px
;
}
// Right connecting curves
...
...
@@ -504,7 +519,7 @@
&
:nth-child
(
2
)
{
&
:
:
after
,
&::
before
{
height
:
29px
;
top
:
-
10
px
;
top
:
-
7
px
;
}
.curve
{
display
:
block
;
...
...
@@ -562,7 +577,7 @@
width
:
21px
;
height
:
25px
;
position
:
absolute
;
top
:
-3
0
px
;
top
:
-3
1
.5
px
;
border-top
:
2px
solid
$border-color
;
}
...
...
app/views/projects/ci/builds/_build_pipeline.html.haml
View file @
65e482e7
...
...
@@ -5,8 +5,10 @@
.ci-status-text
=
subject
.
name
-
elsif
can?
(
current_user
,
:read_build
,
@project
)
=
link_to
namespace_project_build_path
(
subject
.
project
.
namespace
,
subject
.
project
,
subject
)
do
=
render_status_with_link
(
'build'
,
subject
.
status
)
%span
.ci-status-icon
=
render_status_with_link
(
'build'
,
subject
.
status
)
.ci-status-text
=
subject
.
name
-
else
=
render_status_with_link
(
'build'
,
subject
.
status
)
%span
.ci-status-icon
=
render_status_with_link
(
'build'
,
subject
.
status
)
=
ci_icon_for_status
(
subject
.
status
)
app/views/projects/commit/_pipeline_status_group.html.haml
View file @
65e482e7
-
group_status
=
CommitStatus
.
where
(
id:
subject
).
status
=
render_status_with_link
(
'build'
,
group_status
)
%span
.ci-status-icon
=
render_status_with_link
(
'build'
,
group_status
)
.dropdown.inline
%button
.dropdown-menu-toggle
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
%span
.ci-status-text
...
...
app/views/projects/generic_commit_statuses/_generic_commit_status_pipeline.html.haml
View file @
65e482e7
-
if
subject
.
target_url
=
link_to
subject
.
target_url
do
=
render_status_with_link
(
'commit status'
,
subject
.
status
)
%span
.ci-status-icon
=
render_status_with_link
(
'commit status'
,
subject
.
status
)
%span
.ci-status-text
=
subject
.
name
-
else
=
render_status_with_link
(
'commit status'
,
subject
.
status
)
%span
.ci-status-icon
=
render_status_with_link
(
'commit status'
,
subject
.
status
)
%span
.ci-status-text
=
subject
.
name
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment