Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
bf2fcbed
Commit
bf2fcbed
authored
Jan 15, 2019
by
Luke Schoen
Browse files
refactor: Remove use of styled-components css from animation
parent
a34decc0
Pipeline
#28319
passed with stage
in 3 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
packages/fether-react/src/Send/TxForm/TxDetails/TxDetails.styles.js
View file @
bf2fcbed
...
...
@@ -3,10 +3,10 @@
//
// SPDX-License-Identifier: BSD-3-Clause
import
styled
,
{
css
}
from
'
styled-components
'
;
import
styled
from
'
styled-components
'
;
import
{
SlideLeftIn
}
from
'
../../../assets/theme/shared/animations/SlideLeftIn.styles
'
;
const
animationRuleSlideLeftIn
=
css
`
const
DivTxForm
=
styled
.
div
`
animation-name:
${
SlideLeftIn
}
; /* required */
animation-duration: 0.25s; /* required */
animation-timing-function: ease-in;
...
...
@@ -15,10 +15,6 @@ const animationRuleSlideLeftIn = css`
animation-direction: normal;
animation-fill-mode: normal;
animation-play-state: playing;
`
;
const
DivTxForm
=
styled
.
div
`
${
animationRuleSlideLeftIn
}
;
border-radius: 0.25rem;
background: rgba(
${
props
=>
props
.
theme
.
faint
}
, 0.25);
margin: 0.5rem 0;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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