diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-07 05:03:44 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-07 05:03:44 +0800 |
commit | 966b25573b04cc9562ba7eb5d345cf48789ddfd9 (patch) | |
tree | 4034610e73681cc348354f842d91937f9818c450 /ui/app/css/itcss/trumps | |
parent | f73e4dd6041bb9edf2dfa06ed79249b5bdbe241e (diff) | |
download | tangerine-wallet-browser-966b25573b04cc9562ba7eb5d345cf48789ddfd9.tar tangerine-wallet-browser-966b25573b04cc9562ba7eb5d345cf48789ddfd9.tar.gz tangerine-wallet-browser-966b25573b04cc9562ba7eb5d345cf48789ddfd9.tar.bz2 tangerine-wallet-browser-966b25573b04cc9562ba7eb5d345cf48789ddfd9.tar.lz tangerine-wallet-browser-966b25573b04cc9562ba7eb5d345cf48789ddfd9.tar.xz tangerine-wallet-browser-966b25573b04cc9562ba7eb5d345cf48789ddfd9.tar.zst tangerine-wallet-browser-966b25573b04cc9562ba7eb5d345cf48789ddfd9.zip |
Move remaining debug, fonts, reset, and transitions into inverted triangle
Diffstat (limited to 'ui/app/css/itcss/trumps')
-rw-r--r-- | ui/app/css/itcss/trumps/index.scss | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/ui/app/css/itcss/trumps/index.scss b/ui/app/css/itcss/trumps/index.scss index e69de29bb..6b0c999be 100644 --- a/ui/app/css/itcss/trumps/index.scss +++ b/ui/app/css/itcss/trumps/index.scss @@ -0,0 +1,53 @@ +/* + Trumps + */ + + +// Transitions + +/* universal */ +.app-primary .main-enter { + position: absolute; + width: 100%; +} + +/* center position */ +.app-primary.from-right .main-enter-active, +.app-primary.from-left .main-enter-active { + overflow-x: hidden; + transform: translateX(0px); + transition: transform 300ms ease-in; +} + +/* exited positions */ +.app-primary.from-left .main-leave-active { + transform: translateX(360px); + transition: transform 300ms ease-in; +} +.app-primary.from-right .main-leave-active { + transform: translateX(-360px); + transition: transform 300ms ease-in; +} + +.sidebar.from-left { + transform: translateX(-320px); + transition: transform 300ms ease-in; +} + +/* loader transitions */ +.loader-enter, .loader-leave-active { + opacity: 0.0; + transition: opacity 150 ease-in; +} +.loader-enter-active, .loader-leave { + opacity: 1.0; + transition: opacity 150 ease-in; +} + +/* entering positions */ +.app-primary.from-right .main-enter:not(.main-enter-active) { + transform: translateX(360px); +} +.app-primary.from-left .main-enter:not(.main-enter-active) { + transform: translateX(-360px); +} |