From 878b6c7805d8a32b1228d800d0e446c734bccd24 Mon Sep 17 00:00:00 2001 From: bechi Date: Tue, 25 Nov 2014 10:49:07 -0300 Subject: [PATCH 1/4] add style on bottom-bar --- css/src/main.css | 1 + css/src/mobile.css | 11 ++++++----- views/includes/bottombar-mobile.html | 6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index 288b7cb24..584121791 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -557,6 +557,7 @@ a.button-setup { .oh {overflow:hidden;} .vm {vertical-align: middle;} .ma { margin: 0 auto;} +.tu {text-transform: uppercase;} .small { font-size: 60%; diff --git a/css/src/mobile.css b/css/src/mobile.css index e5a32430f..a6002717e 100644 --- a/css/src/mobile.css +++ b/css/src/mobile.css @@ -45,7 +45,7 @@ bottom: 0; width: 100%; z-index: 5; - background: #3C4E60; + background: #2C3E50; } .left-off-canvas-menu { @@ -99,14 +99,15 @@ } .bottombar-item a { - color: #fff; - padding: 4px 0; + color: #7A8C9E; + padding: 0.5rem 0; display: block; } .bottombar-item a.active { - color: #000; - background-color: #fff; + color: #E4E8EC; + background-color: #213140; + border-bottom: 3px solid #1ABC9C; } .box-founds { diff --git a/views/includes/bottombar-mobile.html b/views/includes/bottombar-mobile.html index 08436ba85..aa7925920 100644 --- a/views/includes/bottombar-mobile.html +++ b/views/includes/bottombar-mobile.html @@ -1,8 +1,8 @@ -
+
- -
+ +
{{item.title}} {{$root.pendingTxCount}}
From e75505afcb319a0ad3b551e80d8b9d8da0d18dd6 Mon Sep 17 00:00:00 2001 From: bechi Date: Tue, 25 Nov 2014 13:36:04 -0300 Subject: [PATCH 2/4] add style on Sidebar-mobile --- css/src/main.css | 5 +- css/src/mobile.css | 29 ++++++++--- views/includes/sidebar-mobile.html | 83 +++++++++++++++++++----------- 3 files changed, 79 insertions(+), 38 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index 584121791..6f80eb5c3 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -65,6 +65,7 @@ body, html{ header { background-color: #1ABC9C; overflow: hidden; + height: 56px; } header .creation { @@ -75,6 +76,7 @@ header .creation { header .alt-currency { background: #16A085; + color: #fff; } .panel h3, .box-setup h3 { @@ -534,6 +536,7 @@ a.button-setup { .m20r {margin-right: 20px;} .m15r {margin-right: 15px;} .m20t {margin-top: 20px;} +.m5 {margin: 5px;} .m10 {margin: 10px;} .m15 {margin: 15px;} .m15h {margin: 0 15px;} @@ -564,7 +567,7 @@ a.button-setup { line-height: inherit; } -.line-dashed-setup-v { +.line-dashed-setuph-v { border-left: 1px dashed #415970; } diff --git a/css/src/mobile.css b/css/src/mobile.css index a6002717e..ad690f022 100644 --- a/css/src/mobile.css +++ b/css/src/mobile.css @@ -49,7 +49,8 @@ } .left-off-canvas-menu { - background: #2C3E50; + background: #E4E8EC; + line-height: 24px; } .off-canvas-wrap,.inner-wrap{ @@ -89,9 +90,26 @@ } ul.off-canvas-list li a { + text-transform: uppercase; + font-size: 12px; + vertical-align: middle; + font-weight: 100; border-bottom: transparent; padding: 0.66667rem 1rem; - color: #fff; + color: #7A8C9E; + border-top: 1px solid rgba(255,255,255,0.25); + -moz-box-shadow: 0px -1px 0px 0px rgba(165,178,191,0.15); + box-shadow: 0px -1px 0px 0px rgba(165,178,191,0.15); + } + + ul.off-canvas-list li a i { + vertical-align: middle; + } + + ul.off-canvas-list li a.wallet-item { + border: none; + -moz-box-shadow: none; + box-shadow: none; } ul.off-canvas-list li a i { @@ -166,14 +184,11 @@ margin-bottom: 50px; } - .founds { - color: #8597A7; - } - .side-nav.wallets { padding: 0; - height: auto; + height: 100%; left: 0; + top: 56px; } ul.off-canvas-list li a:hover { diff --git a/views/includes/sidebar-mobile.html b/views/includes/sidebar-mobile.html index bcd29abf4..a243e611f 100644 --- a/views/includes/sidebar-mobile.html +++ b/views/includes/sidebar-mobile.html @@ -1,24 +1,39 @@
-
-
- -
-
- -
-
+
- {{$root.wallet.getName()}} - {{$root.wallet.requiredCopayers}}-of-{{$root.wallet.totalCopayers}} - - - - - - - - - +
+
{{$root.wallet.getName() | limitTo: 1}}
+
+
+
+
[ {{$root.wallet.requiredCopayers}} of {{$root.wallet.totalCopayers}} ]
+
+
{{$root.wallet.getName()}}
+
+
+
+ Waiting for copayers... +
+ +
+ {{totalBalance || 0 |noFractionNumber}} {{$root.wallet.settings.unitName}} + {{totalBalanceAlternative |noFractionNumber:2}} {{alternativeIsoCode}} + N/A +
+
+
+
+
@@ -53,6 +68,8 @@
+
+ -
-
From ab4fc266fe922efc7fc630b3cf7b00f8ac94c6b2 Mon Sep 17 00:00:00 2001 From: bechi Date: Tue, 25 Nov 2014 15:24:11 -0300 Subject: [PATCH 3/4] fix layout bugs --- css/src/main.css | 3 ++- css/src/mobile.css | 1 + views/includes/sidebar-mobile.html | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index 6f80eb5c3..d7f4a0790 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -65,7 +65,7 @@ body, html{ header { background-color: #1ABC9C; overflow: hidden; - height: 56px; + height: 62px; } header .creation { @@ -611,6 +611,7 @@ a.button-setup { width: 72%; float: left; color: #fff; + text-transform: lowercase; } .name-wallet i { diff --git a/css/src/mobile.css b/css/src/mobile.css index ad690f022..708f2306a 100644 --- a/css/src/mobile.css +++ b/css/src/mobile.css @@ -120,6 +120,7 @@ color: #7A8C9E; padding: 0.5rem 0; display: block; + border-bottom: 3px solid transparent; } .bottombar-item a.active { diff --git a/views/includes/sidebar-mobile.html b/views/includes/sidebar-mobile.html index a243e611f..3124628ce 100644 --- a/views/includes/sidebar-mobile.html +++ b/views/includes/sidebar-mobile.html @@ -90,7 +90,7 @@
--> - +
From ae45c42babe54a26d493331b4c740b8207be1fdb Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Tue, 25 Nov 2014 16:24:01 -0300 Subject: [PATCH 4/4] fixes mobile --- css/src/main.css | 8 --- index.html | 2 +- views/includes/sidebar-mobile.html | 98 +++++++++++++----------------- views/includes/sidebar.html | 3 +- 4 files changed, 43 insertions(+), 68 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index d7f4a0790..36b20f2ff 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -1149,14 +1149,6 @@ button.gray:focus, height: 100%; } -.side-nav.wallets.medium { - height: 280px; -} - -.side-nav.wallets.large { - height: 380px; -} - .side-nav.wallets a.wallet-item, .side-nav.wallets a.wallet-item:hover { color: #7A8C9E; diff --git a/index.html b/index.html index 307d2b898..ad80194c2 100644 --- a/index.html +++ b/index.html @@ -65,7 +65,7 @@ -