Merge pull request #198 from cmgustavo/bug/01tx-buttons

tx pages: flat design for buttons
This commit is contained in:
Mario Colque 2014-02-07 17:40:10 -02:00
commit 37a5b311bb
2 changed files with 28 additions and 4 deletions

View File

@ -267,6 +267,30 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
border: 2px solid #6C0000;
}
.label {
padding: .7em 2em;
font-size: 13px;
text-transform: uppercase;
font-weight:100;
}
.label-primary {
background-color: #8DC429;
}
.label-default {
background-color: #ffffff;
color: #333;
}
.label-success {
background-color: #2FA4D7;
}
.label-danger {
background-color: #AC0015;
}
.progress-bar-info { background-color: #8DC429; }
/* Set the fixed height of the footer here */

View File

@ -109,11 +109,11 @@
</div>
<div class="line-top row">
<div class="col-xs-4 col-md-6">
<button data-ng-show="!tx.isCoinBase" class="btn btn-default">Fees: {{$root.currency.getConvertion(tx.fees)}}</button>
<span data-ng-show="!tx.isCoinBase" class="label label-default">Fees: {{$root.currency.getConvertion(tx.fees)}}</span>
</div>
<div class="col-xs-8 col-md-6 text-right">
<button data-ng-show="tx.confirmations" class="btn btn-success">{{tx.confirmations}} Confirmations</button>
<button data-ng-show="!tx.confirmations" class="btn btn-danger">Unconfirmed Transaction!</button>
<button class="btn btn-primary">{{$root.currency.getConvertion(tx.valueOut)}}</button>
<span data-ng-show="tx.confirmations" class="label label-success">{{tx.confirmations}} Confirmations</span>
<span data-ng-show="!tx.confirmations" class="label label-danger">Unconfirmed Transaction!</span>
<span class="label label-primary">{{$root.currency.getConvertion(tx.valueOut)}}</span>
</div>
</div>