Basic styles for budget balances
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
<table>
|
||||
<table class="token-balances">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Token</td>
|
||||
<td>Amount</td>
|
||||
<td>Fiat value</td>
|
||||
<th>Token</th>
|
||||
<th>Amount</th>
|
||||
<th>Fiat value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>WBTC</td>
|
||||
<td>{{this.communityFunds.balanceWBTC.balance}}</td>
|
||||
<td>{{this.communityFunds.balanceWBTC.balanceUsd}} USD</td>
|
||||
<th>ETH</th>
|
||||
<td class="amount">{{fmt-crypto-currency this.communityFunds.balanceETH.balance 'ETH'}}</td>
|
||||
<td class="fiat-amount">{{this.communityFunds.balanceETH.balanceUsd}} USD</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ETH</td>
|
||||
<td>{{this.communityFunds.balanceETH.balance}}</td>
|
||||
<td>{{this.communityFunds.balanceETH.balanceUsd}} USD</td>
|
||||
<th>WBTC</th>
|
||||
<td class="amount">{{fmt-crypto-currency this.communityFunds.balanceWBTC.balance 'WBTC'}}</td>
|
||||
<td class="fiat-amount">{{this.communityFunds.balanceWBTC.balanceUsd}} USD</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -91,6 +91,7 @@ section {
|
||||
@import "sugar";
|
||||
@import "item-list";
|
||||
|
||||
@import "components/budget-balances";
|
||||
@import "components/contribution-details";
|
||||
@import "components/contribution-list";
|
||||
@import "components/contributor-list";
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
section#funds {
|
||||
table.token-balances {
|
||||
thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
th, td {
|
||||
font-size: 1.2rem;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: left;
|
||||
padding-right: 1.2rem;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: right;
|
||||
|
||||
&.amount {
|
||||
font-size: 1.6rem;
|
||||
padding-right: 1.2rem;
|
||||
}
|
||||
|
||||
&.fiat-amount {
|
||||
color: rgba(255,255,255,0.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user