Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
359018f5
Commit
359018f5
authored
Jul 18, 2018
by
Annabel Gray
Committed by
Clement Ho
Jul 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Fix arrow for popovers on monitoring graph"
parent
6c6988cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
8 deletions
+40
-8
app/assets/javascripts/monitoring/components/graph/flag.vue
app/assets/javascripts/monitoring/components/graph/flag.vue
+1
-0
app/assets/stylesheets/pages/environments.scss
app/assets/stylesheets/pages/environments.scss
+34
-8
changelogs/unreleased/41784-monitoring-graph-popovers.yml
changelogs/unreleased/41784-monitoring-graph-popovers.yml
+5
-0
No files found.
app/assets/javascripts/monitoring/components/graph/flag.vue
View file @
359018f5
...
...
@@ -125,6 +125,7 @@ export default {
:class=
"flagOrientation"
class=
"prometheus-graph-flag popover"
>
<div
class=
"arrow-shadow"
></div>
<div
class=
"arrow"
></div>
<div
class=
"popover-title"
>
<h5
v-if=
"deploymentFlagData"
>
...
...
app/assets/stylesheets/pages/environments.scss
View file @
359018f5
...
...
@@ -293,6 +293,8 @@
.prometheus-graph-flag
{
display
:
block
;
min-width
:
160px
;
border
:
0
;
box-shadow
:
0
1px
4px
0
$black-transparent
;
h5
{
padding
:
0
;
...
...
@@ -312,7 +314,6 @@
&
.popover
{
padding
:
0
;
border
:
1px
solid
$border-color
;
&
.left
{
left
:
auto
;
...
...
@@ -320,12 +321,19 @@
margin-right
:
10px
;
>
.arrow
{
right
:
-1
6
px
;
right
:
-1
4
px
;
border-left-color
:
$border-color
;
}
> .
arrow
:
:
after
{
border-left-color
:
$theme-gray-50
;
border-top
:
6px
solid
transparent
;
border-bottom
:
6px
solid
transparent
;
border-left
:
4px
solid
$theme-gray-50
;
}
.arrow-shadow
{
right
:
-3px
;
box-shadow
:
1px
0
9px
0
$black-transparent
;
}
}
...
...
@@ -335,19 +343,35 @@
margin-left
:
10px
;
>
.arrow
{
left
:
-
16
px
;
left
:
-
7
px
;
border-right-color
:
$border-color
;
}
> .
arrow
:
:
after
{
border-right-color
:
$theme-gray-50
;
border-top
:
6px
solid
transparent
;
border-bottom
:
6px
solid
transparent
;
border-right
:
4px
solid
$theme-gray-50
;
}
.arrow-shadow
{
left
:
-3px
;
box-shadow
:
1px
0
8px
0
$black-transparent
;
}
}
>
.arrow
{
top
:
16px
;
margin-top
:
-8px
;
border-width
:
8px
;
top
:
10px
;
margin
:
0
;
}
.arrow-shadow
{
content
:
""
;
position
:
absolute
;
width
:
7px
;
height
:
7px
;
background-color
:
transparent
;
transform
:
rotate
(
45deg
);
top
:
13px
;
}
>
.popover-title
,
...
...
@@ -355,10 +379,12 @@
padding
:
8px
;
font-size
:
12px
;
white-space
:
nowrap
;
position
:
relative
;
}
>
.popover-title
{
background-color
:
$theme-gray-50
;
border-radius
:
$border-radius-default
$border-radius-default
0
0
;
}
}
...
...
changelogs/unreleased/41784-monitoring-graph-popovers.yml
0 → 100644
View file @
359018f5
---
title
:
Update design for system metrics popovers
merge_request
:
20655
author
:
type
:
fixed
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