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
6fde0e09
Commit
6fde0e09
authored
Dec 15, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CSS: dropdown on hover
parent
83ebc97b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
5 deletions
+58
-5
pipelines.scss
app/assets/stylesheets/pages/pipelines.scss
+52
-0
_mini_graph_badge.html.haml
app/views/ci/status/_mini_graph_badge.html.haml
+1
-2
_pipeline.html.haml
app/views/projects/ci/pipelines/_pipeline.html.haml
+5
-3
No files found.
app/assets/stylesheets/pages/pipelines.scss
View file @
6fde0e09
...
...
@@ -22,6 +22,7 @@
.table.ci-table
{
min-width
:
1200px
;
table-layout
:
fixed
;
.pipeline-id
{
color
:
$black
;
...
...
@@ -795,3 +796,54 @@
}
}
}
.mini-pipeline-graph-icon-container
.ci-status-icon
{
display
:
inline-block
;
border
:
1px
solid
;
border-radius
:
20px
;
margin-right
:
1px
;
width
:
20px
;
height
:
20px
;
position
:
relative
;
svg
{
top
:
-1px
;
position
:
relative
;
}
}
.builds-dropdown
{
&
:focus
{
margin-right
:
-6px
;
.ci-status-icon
{
width
:
27px
;
padding
:
0px
6px
0px
0px
;
+
.dropdown-caret
{
display
:
inline-block
;
}
}
}
.mini-pipeline-graph-icon-container
{
.ci-status-icon
:hover
,
.ci-status-icon
:focus
{
width
:
27px
;
padding
:
0px
6px
0px
0px
;
+
.dropdown-caret
{
display
:
inline-block
;
}
}
.dropdown-caret
{
font-size
:
12px
;
position
:
relative
;
top
:
3px
;
left
:
-11px
;
margin-right
:
-6px
;
display
:
none
;
}
}
}
app/views/ci/status/_mini_graph_badge.html.haml
View file @
6fde0e09
...
...
@@ -2,5 +2,4 @@
-
icon
=
"
#{
status
.
icon
}
_borderless"
-
klass
=
"ci-status-icon ci-status-icon-
#{
status
}
"
%span
.mini-pipeline-graph-icon-container
%span
{
class:
klass
}=
custom_icon
(
icon
)
%span
{
class:
klass
}=
custom_icon
(
icon
)
app/views/projects/ci/pipelines/_pipeline.html.haml
View file @
6fde0e09
...
...
@@ -54,8 +54,9 @@
.dropdown.inline.build-content
%button
.has-tooltip.builds-dropdown
{
type:
'button'
,
data:
{
toggle:
'dropdown'
,
title:
tooltip
}
}
%span
{
class:
klass
}
=
render
'ci/status/mini_graph_badge'
,
subject:
stage
%span
=
icon
(
'caret-down'
,
class:
'dropdown-caret'
)
%span
.mini-pipeline-graph-icon-container
=
render
'ci/status/mini_graph_badge'
,
subject:
stage
=
icon
(
'caret-down'
,
class:
'dropdown-caret'
)
.dropdown-menu.grouped-pipeline-dropdown
.arrow-up
%ul
...
...
@@ -65,7 +66,8 @@
-
else
-
if
details_path
=
link_to
details_path
,
class:
klass
,
title:
tooltip
do
=
render
'ci/status/mini_graph_badge'
,
subject:
stage
%span
.mini-pipeline-graph-icon-container
=
render
'ci/status/mini_graph_badge'
,
subject:
stage
%td
-
if
pipeline
.
duration
...
...
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