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:
parent
d90943dc61
commit
40338571fa
@ -100,7 +100,8 @@ AccountDetailScreen.prototype.render = function() {
|
|||||||
}, [
|
}, [
|
||||||
|
|
||||||
// What is shown when not editing:
|
// 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)
|
||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
|
@ -352,7 +352,28 @@ input.large-input {
|
|||||||
.account-detail-section {
|
.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 */
|
/* tx confirm */
|
||||||
|
|
||||||
.unconftx-section {
|
.unconftx-section {
|
||||||
|
Loading…
Reference in New Issue
Block a user