From 14a86ecccc4b271487c487fa7e925d9887b15819 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Sat, 22 Nov 2014 15:53:18 -0300 Subject: [PATCH] Fix mobile/desktop notifications. Fix popup QR-Code --- css/src/main.css | 31 ++++++++++++++----------------- css/src/mobile.css | 36 ++++++++++++++++++++++++++++++++++++ views/modals/qr-address.html | 31 +++++++++++++++---------------- 3 files changed, 65 insertions(+), 33 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index 238d2b2e6..2055ae555 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -140,7 +140,8 @@ header .alt-currency { right: 14px; width: 220px; list-style-type: none; - top: 47px;nt + top: 47px; + z-index: 10001; } .head .menu ul li.divider { @@ -666,7 +667,7 @@ input[type=number]::-webkit-outer-spin-button { } .dr-notification-container.top { - top: 20px; + top: 60px; } .dr-notification-container.center { @@ -675,15 +676,14 @@ input[type=number]::-webkit-outer-spin-button { } .dr-notification-wrapper { - width: 360px; + width: 400px; position: relative; - margin: 10px 0; + margin: 0 0 1px 0; } .dr-notification { - width: 360px; + width: 400px; clear: both; - height: 90px; overflow: hidden; } @@ -694,17 +694,15 @@ input[type=number]::-webkit-outer-spin-button { border-radius: 20px; display: inline-block; padding: 5px; - font-size: 12px; + font-size: 18px; position: absolute; - right: 350px; - top: -8px; + right: 5px; + top: 5px; cursor: pointer; z-index: 10; } .dr-notification-image { - width: 80px; - height: 90px; float: left; display: block; font-size: 40px; @@ -715,7 +713,7 @@ input[type=number]::-webkit-outer-spin-button { .dr-notification-image i { display: block; width: 100%; - padding-top: 20px; + padding: 20px; } .dr-notification-image img { margin: 15px; @@ -724,15 +722,16 @@ input[type=number]::-webkit-outer-spin-button { } .dr-notification-content { - padding-left: 90px; - padding-right: 10px; + padding-left: 80px; + padding-right: 30px; padding-top: 5px; + padding-bottom: 5px; } .dr-notification-title { color: white; padding: 0px; - font-size: 18px; + font-size: 16px; margin-top: 0; } @@ -740,8 +739,6 @@ input[type=number]::-webkit-outer-spin-button { background-color: #34495E; color: #eee; border: 1px solid #2C3E50; - opacity: 0.9; - } .dr-notification-close-btn { background-color: #34495E; diff --git a/css/src/mobile.css b/css/src/mobile.css index e8143b0b4..098bb79c8 100644 --- a/css/src/mobile.css +++ b/css/src/mobile.css @@ -183,5 +183,41 @@ margin-top: 10px; } + /* notifications */ + + .dr-notification { + width: 100%; + } + + .dr-notification-container { + width: 100%; + } + + .dr-notification-container.top { + top: 2.813rem; + } + + .dr-notification-wrapper { + width: 100%; + margin: 0; + } + + .dr-notification-close-btn { + font-size: 20px; + } + + .dr-notification-image { + font-size: 30px; + } + + .dr-notification-text { + font-size: 10px; + line-height: 100%; + } + + .dr-notification-image i { + padding: 15px; + } + } diff --git a/views/modals/qr-address.html b/views/modals/qr-address.html index 5f7d990c3..fb82d6b03 100644 --- a/views/modals/qr-address.html +++ b/views/modals/qr-address.html @@ -1,22 +1,21 @@
- + -
-

{{address.address}}

- - - -

- {{address.balance || 0|noFractionNumber}} {{$root.wallet.settings.unitName}} +

+
+ {{address.address}} change +
+ + ({{label}}) + +

+ + + + + {{address.balance || 0|noFractionNumber}} {{$root.wallet.settings.unitName}} +

-
- - - Open in external application - -
×