Merge pull request #1885 from cmgustavo/bug/ux-safari-01

Bug/ux safari 01
This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-28 10:36:39 -03:00
commit 226b6b7af4
7 changed files with 10 additions and 45 deletions

View file

@ -1402,29 +1402,6 @@ a.text-warning:hover {color: #FD7262;}
border: none;
}
/**** Copy to clipboard ****/
.btn-copy {
color: #9b9b9b;
display: inline-block;
height: 16px;
width: 16px;
outline: none;
vertical-align: sub;
background: transparent url('../img/icons/copy.png') center center no-repeat;
}
.btn-copied {
display: inline-block;
width: auto;
color: #16A085;
font-weight: bold;
font-size: 11px;
}
.btn-copy.zeroclipboard-is-hover { color: #000; }
.btn-copy.zeroclipboard-is-active { opacity: 1; }
.copayer-list-small-height {
display: none;
}

View file

@ -168,10 +168,6 @@
padding: 0.5rem;
}
.btn-copy {
display: none;
}
.addresses .list-addr contact {
margin-left: 0;
font-size: 14px;

View file

@ -22,7 +22,6 @@
</div>
<div class="secret m20t">
{{secret}}
<span class="btn-copy" clip-copy="secret"></span>
</div>
</div>
</div>

View file

@ -44,7 +44,7 @@
<qrcode size="220" data="bitcoin:{{$root.addrInfos[0].addressStr}}"></qrcode>
<div class="m10t">
<h4 class="size-12" clip-copy>{{$root.addrInfos[0].addressStr}} </h4>
<h4 class="size-12">{{$root.addrInfos[0].addressStr}} </h4>
<span ng-if="$root.updatingBalance">
<i class="fi-bitcoin-circle icon-rotate spinner"></i>
</span>

View file

@ -1,14 +1,10 @@
<div class="text-center">
<h1>Copy backup in a safe place</h1>
<div class="show-for-large-up">
<textarea readonly rows="7">{{backupWalletPlainText}}</textarea>
<span translate class="size-12">Copy to clipboard</span>
<span class="btn-copy" clip-copy="backupWalletPlainText"> </span>
<textarea class="show-for-large-up" readonly rows="7">{{backupWalletPlainText}}</textarea>
<textarea class="hide-for-large-up" rows="12">{{backupWalletPlainText}}</textarea>
<div translate class="m10t size-12 text-gray text-right">
Copy this text as it is in a safe place (notepad or email)
</div>
<div class="hide-for-large-up">
<textarea rows="12">{{backupWalletPlainText}}</textarea>
</div>
<div translate class="m10t size-12 text-gray text-right">Copy this text as it is in a safe place (notepad or email)</div>
</div>
<a class="close-reveal-modal" ng-click="cancel()">&#215;</a>

View file

@ -27,13 +27,10 @@
</div>
<div class="row" ng-show="backupProfilePlainText">
<div class="large-12 columns">
<textarea rows="5">{{backupProfilePlainText}}</textarea>
<div class="show-for-large-up">
<span translate class="size-12">Copy to clipboard</span> <span
class="btn-copy" clip-copy="backupProfilePlainText"> </span>
</div>
<div class="hide-for-large-up">
<span translate class="size-12">Copy this text as it is in a safe place (notepad or email)</span>
<textarea class="show-for-large-up" readonly rows="5">{{backupProfilePlainText}}</textarea>
<textarea class="hide-for-large-up" rows="5">{{backupProfilePlainText}}</textarea>
<div translate class="size-12 m10t text-gray text-right">
Copy this text as it is in a safe place (notepad or email)
</div>
</div>
</div>

View file

@ -207,7 +207,7 @@
ng-repeat="(addr, info) in $root.wallet.addressBook"
ng-class="{'addressbook-disabled': info.hidden}">
<td><a ng-click="copyAddress(addr)" title="Copy address">{{info.label}}</a></td>
<td class="size-12">{{addr}} <span class="btn-copy" clip-copy="addr"></span></td>
<td class="size-12">{{addr}}</td>
<td ng-show="$root.wallet.isShared()" ng-class="{'hide-for-small-only' : $root.wallet.isShared()}">{{$root.wallet.publicKeyRing.nicknameForCopayer(info.copayerId)}}</td>
<td class="hide-for-small-only"><time>{{info.createdTs | amCalendar}}</time></td>
<td class="hide-for-small-only">