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
90a5a85e
Unverified
Commit
90a5a85e
authored
Jul 01, 2020
by
Ryan McKinley
Committed by
GitHub
Jul 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Panel Loading: spin clockwise, not counter clockwise (#25998)
* spin clockwise * spin clockwise
parent
5789f80e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
public/app/features/dashboard/dashgrid/PanelHeader/PanelHeader.tsx
+1
-1
public/sass/mixins/_animations.scss
+5
-5
No files found.
public/app/features/dashboard/dashgrid/PanelHeader/PanelHeader.tsx
View file @
90a5a85e
...
...
@@ -95,7 +95,7 @@ export class PanelHeader extends Component<Props, State> {
return
(
<
div
className=
"panel-loading"
onClick=
{
this
.
onCancelQuery
}
>
<
Tooltip
content=
"Cancel query"
>
<
Icon
className=
"panel-loading__spinner spin-c
ounter-clock
"
name=
"sync"
/>
<
Icon
className=
"panel-loading__spinner spin-c
lockwise
"
name=
"sync"
/>
</
Tooltip
>
</
div
>
);
...
...
public/sass/mixins/_animations.scss
View file @
90a5a85e
...
...
@@ -35,15 +35,15 @@
}
}
@keyframes
spin-c
ounter-clock
{
@keyframes
spin-c
lockwise
{
0
%
{
transform
:
rotate
(
359deg
);
transform
:
rotate
(
0deg
)
scaleX
(
-1
);
// scaleX flips the `sync` icon so arrows point the correct way
}
100
%
{
transform
:
rotate
(
0deg
);
transform
:
rotate
(
359deg
)
scaleX
(
-1
);
}
}
.spin-c
ounter-clock
{
animation
:
spin-c
ounter-clock
3s
infinite
linear
;
.spin-c
lockwise
{
animation
:
spin-c
lockwise
3s
infinite
linear
;
}
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