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
b8bfe51b
Commit
b8bfe51b
authored
Dec 13, 2017
by
Johannes Schill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: wip - Login animation POC (#9879)
parent
0be97893
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
109 additions
and
2 deletions
+109
-2
public/app/core/angular_wrappers.ts
+2
-0
public/app/core/components/Login/Login.tsx
+0
-0
public/sass/pages/_login.scss
+107
-2
No files found.
public/app/core/angular_wrappers.ts
View file @
b8bfe51b
...
@@ -2,9 +2,11 @@ import { react2AngularDirective } from 'app/core/utils/react2angular';
...
@@ -2,9 +2,11 @@ import { react2AngularDirective } from 'app/core/utils/react2angular';
import
{
PasswordStrength
}
from
'./components/PasswordStrength'
;
import
{
PasswordStrength
}
from
'./components/PasswordStrength'
;
import
PageHeader
from
'./components/PageHeader/PageHeader'
;
import
PageHeader
from
'./components/PageHeader/PageHeader'
;
import
EmptyListCTA
from
'./components/EmptyListCTA/EmptyListCTA'
;
import
EmptyListCTA
from
'./components/EmptyListCTA/EmptyListCTA'
;
// import { Login } from './components/Login/Login';
export
function
registerAngularDirectives
()
{
export
function
registerAngularDirectives
()
{
react2AngularDirective
(
'passwordStrength'
,
PasswordStrength
,
[
'password'
]);
react2AngularDirective
(
'passwordStrength'
,
PasswordStrength
,
[
'password'
]);
react2AngularDirective
(
'pageHeader'
,
PageHeader
,
[
'model'
,
'noTabs'
]);
react2AngularDirective
(
'pageHeader'
,
PageHeader
,
[
'model'
,
'noTabs'
]);
react2AngularDirective
(
'emptyListCta'
,
EmptyListCTA
,
[
'model'
]);
react2AngularDirective
(
'emptyListCta'
,
EmptyListCTA
,
[
'model'
]);
// react2AngularDirective('login', Login, []);
}
}
public/app/core/components/Login/Login.tsx
0 → 100644
View file @
b8bfe51b
This diff is collapsed.
Click to expand it.
public/sass/pages/_login.scss
View file @
b8bfe51b
...
@@ -324,4 +324,110 @@ select:-webkit-autofill:focus {
...
@@ -324,4 +324,110 @@ select:-webkit-autofill:focus {
.login-form-input
{
.login-form-input
{
min-width
:
300px
;
min-width
:
300px
;
}
}
}
}
\ No newline at end of file
login-bg
{
position
:
absolute
;
top
:
0
;
left
:
0
;
right
:
0
;
perspective
:
1000px
;
.login-bg
{
width
:
4%
;
height
:
10px
;
// background: hotpink;
// border:1px solid #0F1926;
float
:
left
;
transition
:
1s
ease-in-out
;
z-index
:
1
;
transform-style
:
preserve-3d
;
&
.login-bg-flip
{
transform
:
rotateY
(
180deg
);
}
&
:before
,
&
:after
{
backface-visibility
:
hidden
;
position
:
absolute
;
top
:
0
;
left
:
0
;
right
:
0
;
height
:
100%
;
content
:
''
;
display
:
block
;
}
&
:before
{
z-index
:
2
;
transform
:
rotateY
(
0deg
);
background-color
:
#215392
;
}
&
:after
{
transform
:
rotateY
(
180deg
);
background-color
:
rgb
(
25
,
50
,
80
);
}
&
:nth-child
(
3n
+
0
)
{
&
:before
{
background-color
:
#0f253c
;
}
&
:after
{
background-color
:
blue
;
}
}
&
:nth-child
(
3n
+
1
)
{
&
:before
{
background-color
:
#102438
;
}
&
:after
{
background-color
:
blue
;
}
}
&
:nth-child
(
3n
+
2
)
{
&
:before
{
background-color
:
#19314e
;
}
&
:after
{
background-color
:
blue
;
}
}
&
:nth-child
(
3n
+
3
)
{
&
:before
{
background-color
:
#215392
;
}
&
:after
{
background-color
:
blue
;
}
}
// &:nth-child(3n+5) {
// &:before {
// background-color: hotpink;
// }
// &:after {
// background-color: blue;
// }
// }
}
}
login-bg-fx
{
position
:
absolute
;
top
:
0
;
left
:
0
;
right
:
0
;
height
:
100%
;
background-image
:
-webkit-radial-gradient
(
center
center
,
ellipse
farthest-corner
,
transparent
0%
,
transparent
10%
,
rgba
(
18
,
22
,
29
,
1
)
100%
);
z-index
:
2
;
}
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