From 50ebb2757bfad6e264946117ebebaea3b61a50be Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Tue, 29 Apr 2014 14:24:26 -0300 Subject: [PATCH 1/2] Fixes header. Mobile support --- css/main.css | 9 +++++++++ css/tpl-default.css | 4 ++++ index.html | 20 +++++++++++--------- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/css/main.css b/css/main.css index d3e74daed..a164c55d3 100644 --- a/css/main.css +++ b/css/main.css @@ -29,6 +29,13 @@ html, body {height: 100%;} height: 51px; } +@media (max-width: 640px) { + .logo { + margin: 0 auto; + margin-bottom: 10px; + } +} + .top-bar-section li:not(.has-form) a:not(.button) { line-height: 60px; } @@ -60,6 +67,7 @@ html, body {height: 100%;} .header a.button.small-icon { padding: 0.1rem 0.3rem; font-size: 0.9rem; + margin-left: 5px; } .header h1, h5, p { @@ -237,6 +245,7 @@ hr { margin: 2.25rem 0;} .m10h {margin:0 10px;} .m30a {margin: 30px auto;} .br100 {border-radius: 100%;} +.oh {overflow:hidden;} .signin input.ng-dirty.ng-invalid { border: 2px red solid; diff --git a/css/tpl-default.css b/css/tpl-default.css index f4dddaf31..e18e6fc66 100644 --- a/css/tpl-default.css +++ b/css/tpl-default.css @@ -87,6 +87,10 @@ body { color: #fff; } +.header-content a { + color: #fff; +} + .panel { color: #333; background: #FFFFFF; diff --git a/index.html b/index.html index 1d6a72641..c13093ecb 100644 --- a/index.html +++ b/index.html @@ -14,19 +14,21 @@
-
+
-
-
- {{$root.wallet.id}} - Wallet: {{$root.wallet.name}} <{{$root.wallet.id}}> - -
-
+
+ +
Balance: {{totalBalance || 0}}
-
+
Available to Spend: {{availableBalance || 0}}
From cf2a0103072df9167660f7a78be51817ddcf5bd4 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Tue, 29 Apr 2014 15:17:14 -0300 Subject: [PATCH 2/2] Addresses TAB: if no address, show only button. --- css/main.css | 4 ++++ index.html | 36 ++++++++++++++++++------------------ 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/css/main.css b/css/main.css index a164c55d3..4dbac797c 100644 --- a/css/main.css +++ b/css/main.css @@ -215,6 +215,10 @@ small.has-error { } } +.new-address { + width: 220px; +} + hr { margin: 2.25rem 0;} [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak { diff --git a/index.html b/index.html index c13093ecb..e25c6e2b1 100644 --- a/index.html +++ b/index.html @@ -255,24 +255,24 @@