aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/modal.scss
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2018-03-14 06:23:46 +0800
committerGitHub <noreply@github.com>2018-03-14 06:23:46 +0800
commitc83a9ceb04a485149fe65fbb2b44f0adeda696b1 (patch)
treec655ef0d88734a55ade8451ffe5e3032582f3ed3 /ui/app/css/itcss/components/modal.scss
parentd7bf6e36b1f40068eec1d6c3d30207f3fae5cfde (diff)
parent578139be4a048d1709de5c2b4b8db0a8c631d31c (diff)
downloadtangerine-wallet-browser-c83a9ceb04a485149fe65fbb2b44f0adeda696b1.tar.gz
tangerine-wallet-browser-c83a9ceb04a485149fe65fbb2b44f0adeda696b1.tar.zst
tangerine-wallet-browser-c83a9ceb04a485149fe65fbb2b44f0adeda696b1.zip
Merge branch 'master' into i#3509
Diffstat (limited to 'ui/app/css/itcss/components/modal.scss')
-rw-r--r--ui/app/css/itcss/components/modal.scss54
1 files changed, 36 insertions, 18 deletions
diff --git a/ui/app/css/itcss/components/modal.scss b/ui/app/css/itcss/components/modal.scss
index 919e1793b..6c4106f8b 100644
--- a/ui/app/css/itcss/components/modal.scss
+++ b/ui/app/css/itcss/components/modal.scss
@@ -641,32 +641,40 @@
&__buy-rows {
width: 100%;
- padding: 33px;
- padding-top: 0px;
+ padding: 0 30px;
display: flex;
flex-flow: column nowrap;
flex: 1;
- overflow-y: auto;
@media screen and (max-width: 575px) {
height: 0;
}
}
+ &__logo {
+ height: 60px;
+ background-repeat: no-repeat;
+ background-size: contain;
+ background-position: center;
+ width: 100%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ }
+
&__buy-row {
border-bottom: 1px solid $alto;
display: flex;
justify-content: space-between;
align-items: center;
- flex: 1;
- padding-bottom: 25px;
- padding-top: 25px;
+ flex: 1 0 auto;
+ padding: 30px 0 20px;
+ min-height: 170px;
@media screen and (max-width: 575px) {
- min-height: 360px;
+ min-height: 270px;
flex-flow: column;
- justify-content: center;
- padding-top: 45px;
+ justify-content: flex-start;
}
&__back {
@@ -692,30 +700,35 @@
}
}
- &__logo {
+ &__logo-container {
display: flex;
justify-content: center;
- flex: 0.3 1 auto;
+ flex: 0 0 auto;
+ padding: 0 20px;
- @media screen and (min-width: 575px) {
- min-width: 215px;
+ @media screen and (min-width: 576px) {
+ width: 12rem;
+ }
+
+ @media screen and (max-width: 575px) {
+ width: 100%;
+ max-height: 6rem;
+ padding-bottom: 20px;
}
}
&__coinbase-logo {
height: 40px;
- width: 180px;
}
&__shapeshift-logo {
height: 60px;
- width: 174px;
}
&__eth-logo {
border-radius: 50%;
- width: 68px;
height: 68px;
+ width: 68px;
border: 3px solid $tundora;
z-index: 25;
padding: 4px;
@@ -728,10 +741,11 @@
&__description {
color: $cape-cod;
- flex: 0.5 1 auto;
+ padding-bottom: 20px;
+ align-self: flex-start;
@media screen and (min-width: 575px) {
- min-width: 315px;
+ width: 15rem;
}
&__title {
@@ -787,6 +801,10 @@
width: auto;
flex: 1;
}
+
+ @media screen and (max-width: 575px) {
+ width: auto;
+ }
}
}