diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-14 16:31:27 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-14 16:31:27 +0800 |
commit | 2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453 (patch) | |
tree | d7fc03550944151b6a057d08b7a6361612ba6ca7 /ui/app/css/itcss/trumps | |
parent | b8aa529d29434978f511e67211d8a5ff9e2f553c (diff) | |
download | tangerine-wallet-browser-2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453.tar tangerine-wallet-browser-2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453.tar.gz tangerine-wallet-browser-2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453.tar.bz2 tangerine-wallet-browser-2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453.tar.lz tangerine-wallet-browser-2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453.tar.xz tangerine-wallet-browser-2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453.tar.zst tangerine-wallet-browser-2eadf72fb772b5b6bd32f04c9d439cc0f1ab0453.zip |
Lint and cleanup all scss
Diffstat (limited to 'ui/app/css/itcss/trumps')
-rw-r--r-- | ui/app/css/itcss/trumps/index.scss | 52 |
1 files changed, 13 insertions, 39 deletions
diff --git a/ui/app/css/itcss/trumps/index.scss b/ui/app/css/itcss/trumps/index.scss index a1ed9d172..e09642aa8 100644 --- a/ui/app/css/itcss/trumps/index.scss +++ b/ui/app/css/itcss/trumps/index.scss @@ -2,7 +2,6 @@ Trumps */ - // Transitions /* universal */ @@ -15,7 +14,7 @@ .app-primary.from-right .main-enter-active, .app-primary.from-left .main-enter-active { overflow-x: hidden; - transform: translateX(0px); + transform: translateX(0); transition: transform 300ms ease-in; } @@ -24,6 +23,7 @@ transform: translateX(360px); transition: transform 300ms ease-in; } + .app-primary.from-right .main-leave-active { transform: translateX(-360px); transition: transform 300ms ease-in; @@ -35,12 +35,15 @@ } /* loader transitions */ -.loader-enter, .loader-leave-active { - opacity: 0.0; +.loader-enter, +.loader-leave-active { + opacity: 0; transition: opacity 150 ease-in; } -.loader-enter-active, .loader-leave { - opacity: 1.0; + +.loader-enter-active, +.loader-leave { + opacity: 1; transition: opacity 150 ease-in; } @@ -48,6 +51,7 @@ .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); } @@ -56,43 +60,13 @@ i.fa.fa-question-circle.fa-lg.menu-icon { font-size: 18px; } -/* - Hacky breakpoint fix for account + tab sections - Resolves issue from @frankiebee in - https://github.com/MetaMask/metamask-extension/pull/1835 - Please remove this when integrating new designs - */ - -// This is commented out, because it's not needed in NewUI. -// We will have a new css architecture w/ different breakpoints. - -// @media screen and (min-width: 575px) and (max-width: 800px) { -// .account-data-subsection { -// flex: 0 0 auto !important; // reset flex -// margin-left: 10px !important; // create additional horizontal space -// margin-right: 10px !important; -// width: 40%; -// } - -// .tabSection { -// flex: 0 0 auto !important; -// margin-left: 10px !important; -// margin-right: 10px !important; -// min-width: 285px; -// width: 49%; -// } - -// .name-label { -// width: 80%; -// } -// } - - - // This text is contained inside a div. // ID needed to override user agent stylesheet. // See components/modal.scss + +/* stylelint-disable */ #modal-content-footer-text { font-family: 'DIN OT'; font-size: 16px; } +/* stylelint-enable */ |