mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Merge pull request #304 from MetaMask/buttons
use key as export and unify the copy to clipboard icon.
This commit is contained in:
commit
03550b7e9a
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
## Current Master
|
## Current Master
|
||||||
|
|
||||||
|
- Change out export icon for key.
|
||||||
|
- Unify copy to clipboard icon
|
||||||
|
|
||||||
## 2.4.0 2016-06-20
|
## 2.4.0 2016-06-20
|
||||||
|
|
||||||
- Clean up UI.
|
- Clean up UI.
|
||||||
|
BIN
app/images/key-32.png
Normal file
BIN
app/images/key-32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -128,10 +128,15 @@ AccountDetailScreen.prototype.render = function () {
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
h('img.cursor-pointer.color-orange', {
|
h('img.cursor-pointer.color-orange', {
|
||||||
src: 'images/download.svg',
|
src: 'images/key-32.png',
|
||||||
onClick: () => this.requestAccountExport(selected),
|
onClick: () => this.requestAccountExport(selected),
|
||||||
style: {
|
style: {
|
||||||
margin: '0px 5px',
|
margin: '0px 5px',
|
||||||
|
width: '20px',
|
||||||
|
height: '20px',
|
||||||
|
position: 'relative',
|
||||||
|
top: '3px',
|
||||||
|
right: '4px',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
@ -60,7 +60,8 @@ NewComponent.prototype.render = function () {
|
|||||||
margin: '0 20px',
|
margin: '0 20px',
|
||||||
},
|
},
|
||||||
}, [
|
}, [
|
||||||
h('i.fa.fa-clipboard.fa-md.cursor-pointer.color-orange', {
|
h('img.cursor-pointer.color-orange', {
|
||||||
|
src: 'images/copy.svg',
|
||||||
onClick: (event) => {
|
onClick: (event) => {
|
||||||
event.stopPropagation()
|
event.stopPropagation()
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
|
@ -36,6 +36,7 @@ button {
|
|||||||
font-family: 'Transat Black';
|
font-family: 'Transat Black';
|
||||||
outline: none;
|
outline: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
box-shadow: 0px 3px 6px rgba(247, 134, 28, 0.36);
|
||||||
/*margin: 10px;*/
|
/*margin: 10px;*/
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
border: none;
|
border: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user