Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
0da60a8b
Commit
0da60a8b
authored
Nov 03, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(dashboard): minor tweak to row menu animation, it hides in a better way now after click #6442
parent
98be1734
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
public/app/core/components/grafana_app.ts
+4
-3
public/sass/components/_row.scss
+1
-6
No files found.
public/app/core/components/grafana_app.ts
View file @
0da60a8b
...
@@ -120,10 +120,11 @@ export function grafanaAppDirective(playlistSrv, contextSrv) {
...
@@ -120,10 +120,11 @@ export function grafanaAppDirective(playlistSrv, contextSrv) {
// hide it right away
// hide it right away
var
clickAutoHide
=
target
.
closest
(
'[data-click-hide]'
);
var
clickAutoHide
=
target
.
closest
(
'[data-click-hide]'
);
if
(
clickAutoHide
.
length
)
{
if
(
clickAutoHide
.
length
)
{
clickAutoHide
.
toggleClass
(
'transition-hide'
);
var
clickAutoHideParent
=
clickAutoHide
.
parent
();
clickAutoHide
.
detach
();
setTimeout
(
function
()
{
setTimeout
(
function
()
{
clickAutoHide
.
toggleClass
(
'transition-hide'
);
clickAutoHide
Parent
.
append
(
clickAutoHide
);
},
100
0
);
},
100
);
}
}
if
(
target
.
parents
(
'.dash-playlist-actions'
).
length
===
0
)
{
if
(
target
.
parents
(
'.dash-playlist-actions'
).
length
===
0
)
{
...
...
public/sass/components/_row.scss
View file @
0da60a8b
...
@@ -110,7 +110,7 @@ $dash-row-menu-animation-speed: 0.20s;
...
@@ -110,7 +110,7 @@ $dash-row-menu-animation-speed: 0.20s;
position
:
absolute
;
position
:
absolute
;
top
:
0px
;
top
:
0px
;
transform
:
translate
(
-131px
,
0
);
transform
:
translate
(
-131px
,
0
);
transition
:
$dash-row-menu-animation-speed
ease-out
0
.5
s
;
transition
:
0
.1s
ease-out
0
.4
s
;
z-index
:
100
;
z-index
:
100
;
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
...
@@ -124,11 +124,6 @@ $dash-row-menu-animation-speed: 0.20s;
...
@@ -124,11 +124,6 @@ $dash-row-menu-animation-speed: 0.20s;
opacity
:
0
;
opacity
:
0
;
transition
:
$dash-row-menu-animation-speed
ease-in
0
.05s
;
transition
:
$dash-row-menu-animation-speed
ease-in
0
.05s
;
}
}
&
.transition-hide
{
transform
:
translate
(
-131px
,
0
);
transition
:
0
.0s
ease-in
0s
;
}
}
}
}
}
...
...
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