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
77f9b152
Commit
77f9b152
authored
Aug 30, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: minor fixes to loading screen
parent
f916add0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
34 deletions
+15
-34
public/views/index.template.html
+15
-34
No files found.
public/views/index.template.html
View file @
77f9b152
...
...
@@ -38,28 +38,32 @@
align-items
:
center
;
}
.
preloader--light
{
.
theme-light
.preloader
{
background
:
linear-gradient
(
-60deg
,
#f7f8fa
,
#f5f6f9
70%
,
#f7f8fa
98%
);
}
.
preloader--dark
{
.
theme-dark
.preloader
{
background
:
linear-gradient
(
180deg
,
#222426
10px
,
#161719
100px
);
}
.preloader__enter
{
animation-name
:
first-bounce
;
animation-
duration
:
.9s
;
opacity
:
0
;
animation-
name
:
preloader-fade-in
;
animation-iteration-count
:
1
;
animation-duration
:
2s
;
animation-delay
:
2s
;
animation-fill-mode
:
forwards
;
}
.preloader__bounce
{
text-align
:
center
;
animation-name
:
preloader-bounce
;
animation-duration
:
.9s
;
animation-iteration-count
:
infinite
;
}
.preloader__logo
{
display
:
block
;
display
:
inline-
block
;
animation-name
:
preloader-squash
;
animation-duration
:
.9s
;
animation-iteration-count
:
infinite
;
...
...
@@ -75,43 +79,20 @@
font-weight
:
500
;
font-size
:
14px
;
font-family
:
'Roboto'
;
opacity
:
0
;
animation-name
:
text-fade-in
;
animation-duration
:
1.35s
;
animation-iteration-count
:
1
;
animation-delay
:
.45s
;
animation-fill-mode
:
forwards
;
}
.
preloader__text--ligh
t
{
.
theme-light
.preloader__tex
t
{
color
:
#52545c
;
}
.
preloader__text--dark
{
.
theme-dark
.preloader__text
{
color
:
#d8d9da
;
}
@keyframes
first-bounce
{
0
%
{
transform
:
translateY
(
100px
);
opacity
:
0
;
animation-timing-function
:
cubic-bezier
(
0.3
,
0.0
,
0.1
,
1
)
}
50
%
{
transform
:
translateY
(
-50px
);
opacity
:
.8
;
animation-timing-function
:
cubic-bezier
(
.9
,
0
,
.7
,
1
)
}
100
%
{
transform
:
translateY
(
0px
);
opacity
:
1
;
}
}
@keyframes
text-fade-in
{
@keyframes
preloader-fade-in
{
0
%
{
opacity
:
0
;
animation-timing-function
:
cubic-bezier
(
0
,
0
,
.2
,
.9
)
animation-timing-function
:
linear
;
}
100
%
{
opacity
:
1
;
...
...
@@ -165,14 +146,14 @@
}
</style>
<div
class=
"preloader
preloader--[[ .Theme ]]
"
>
<div
class=
"preloader"
>
<div
class=
"preloader__enter"
>
<div
class=
"preloader__bounce"
>
<div
class=
"preloader__logo"
>
</div>
</div>
<div
class=
"preloader__text"
>
Loading Grafana
</div>
</div>
<div
class=
"preloader__text preloader__text--[[ .Theme ]]"
>
Loading Grafana
</div>
</div>
<grafana-app
class=
"grafana-app"
ng-cloak
>
...
...
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