1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Add edit label

This commit is contained in:
Frankie 2016-06-06 03:14:10 -04:00
parent d90943dc61
commit 40338571fa
2 changed files with 23 additions and 1 deletions

View File

@ -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)
]),
]),

View File

@ -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 {