diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-15 00:56:40 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-09-15 00:56:40 +0800 |
commit | 35d8671843ff15822488ae39310c8c12818fb1a3 (patch) | |
tree | e4a3f8c878731aa7af4f412c7a6329c9d8192e68 /ui/app/css/itcss/components | |
parent | 4bcc62500f6f77131a21be823e3169b91d1dbf80 (diff) | |
download | tangerine-wallet-browser-35d8671843ff15822488ae39310c8c12818fb1a3.tar tangerine-wallet-browser-35d8671843ff15822488ae39310c8c12818fb1a3.tar.gz tangerine-wallet-browser-35d8671843ff15822488ae39310c8c12818fb1a3.tar.bz2 tangerine-wallet-browser-35d8671843ff15822488ae39310c8c12818fb1a3.tar.lz tangerine-wallet-browser-35d8671843ff15822488ae39310c8c12818fb1a3.tar.xz tangerine-wallet-browser-35d8671843ff15822488ae39310c8c12818fb1a3.tar.zst tangerine-wallet-browser-35d8671843ff15822488ae39310c8c12818fb1a3.zip |
Add responsive UI to send ether modal
Diffstat (limited to 'ui/app/css/itcss/components')
-rw-r--r-- | ui/app/css/itcss/components/header.scss | 15 | ||||
-rw-r--r-- | ui/app/css/itcss/components/newui-sections.scss | 8 | ||||
-rw-r--r-- | ui/app/css/itcss/components/send.scss | 20 |
3 files changed, 33 insertions, 10 deletions
diff --git a/ui/app/css/itcss/components/header.scss b/ui/app/css/itcss/components/header.scss index 160476d58..ed569cb08 100644 --- a/ui/app/css/itcss/components/header.scss +++ b/ui/app/css/itcss/components/header.scss @@ -2,20 +2,22 @@ align-items: center; visibility: visible; background: $gallery; - height: 14.4vh; - max-height: 97px; position: relative; z-index: $header-z-index; display: flex; flex-flow: column nowrap; @media screen and (max-width: 575px) { - position: fixed; - height: 34px; + padding: 0 12px; width: 100%; box-shadow: 0 2px 2px 1px rgba(0, 0, 0, .08); z-index: $mobile-header-z-index; } + + @media screen and (min-width: 576px) { + height: 14.4vh; + max-height: 97px; + } } .app-header-contents { @@ -25,13 +27,16 @@ width: 100%; height: 6.9vh; + @media screen and (max-width: 575px) { + height: 100%; + } + @media screen and (min-width: 576px) { width: 85vw; } @media screen and (min-width: 769px) { width: 80vw; - height: 6.9vh; } @media screen and (min-width: 1281px) { diff --git a/ui/app/css/itcss/components/newui-sections.scss b/ui/app/css/itcss/components/newui-sections.scss index b576e5ca5..ae6ee6311 100644 --- a/ui/app/css/itcss/components/newui-sections.scss +++ b/ui/app/css/itcss/components/newui-sections.scss @@ -70,7 +70,7 @@ $wallet-view-bg: $wild-sand; background: rgb(250, 250, 250); z-index: $sidebar-z-index; position: fixed; - top: 35px; + top: 41px; left: 0; right: 0; bottom: 0; @@ -86,7 +86,7 @@ $wallet-view-bg: $wild-sand; .sidebar-overlay { z-index: $sidebar-overlay-z-index; position: fixed; - top: 35px; + top: 41px; left: 0; right: 0; bottom: 0; @@ -142,8 +142,8 @@ $wallet-view-bg: $wild-sand; } .main-container { - margin-top: 35px; - height: calc(100% - 34px); + margin-top: 41px; + height: calc(100% - 41px); width: 100%; overflow-y: auto; background-color: $white; diff --git a/ui/app/css/itcss/components/send.scss b/ui/app/css/itcss/components/send.scss index d4b77fae1..3c30c3b2a 100644 --- a/ui/app/css/itcss/components/send.scss +++ b/ui/app/css/itcss/components/send.scss @@ -5,7 +5,12 @@ font-family: 'DIN OT'; @media screen and (max-width: $break-small) { - top: 33px; + width: 100%; + overflow-y: auto; + + section { + flex: 0 0 auto; + } } } @@ -19,6 +24,14 @@ display: flex; flex-flow: column nowrap; width: 498px; + + @media screen and (max-width: $break-small) { + top: 0; + width: 100%; + box-shadow: none; + padding: 12px; + flex: 1 0 auto; + } } /* Send Screen */ @@ -43,6 +56,11 @@ z-index: 25; padding: 4px; background-color: $white; + + @media screen and (max-width: $break-small) { + position: relative; + top: 0; + } } .send-screen-input-wrapper { |