From 40338571fafbc956f46a7f1c7c8d6a6d7fdd3425 Mon Sep 17 00:00:00 2001 From: Frankie Date: Mon, 6 Jun 2016 03:14:10 -0400 Subject: [PATCH] Add edit label --- ui/app/account-detail.js | 3 ++- ui/app/css/index.css | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index 2f412c5be..d4ed88013 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -100,7 +100,8 @@ AccountDetailScreen.prototype.render = function() { }, [ // What is shown when not editing: - h('h2.font-medium.color-forest', identity && identity.name) + h('label.editing-label',[h('.edit-text','edit')]), + h('h2.font-medium.color-forest', {title: 'edit'}, identity && identity.name) ]), ]), diff --git a/ui/app/css/index.css b/ui/app/css/index.css index f56e9fbc4..484b89f56 100644 --- a/ui/app/css/index.css +++ b/ui/app/css/index.css @@ -352,7 +352,28 @@ input.large-input { .account-detail-section { } +.editing-label{ + /* visibility: hidden; + border-color: #F7861C; + border-style: solid; + border-width: 1px;*/ +} +.edit-text { + visibility: hidden; +} +.editing-label { + width: 60px; + height: 40px; + position: absolute; + text-align: right; + font-size: small; + padding-top: 15px; + color: #F7861C; +} +.editing-label:hover div{ + visibility: visible; +} /* tx confirm */ .unconftx-section {