Slightly improve table style

This commit is contained in:
Matthias 2021-07-04 15:34:28 +02:00
parent c117e20118
commit 4899e1aa57
3 changed files with 10 additions and 19 deletions

View File

@ -56,37 +56,23 @@
formatPriceStake(backtestResult.total_volume)
}}</ValuePair> -->
<b-table
class="table-sm"
borderless
:items="backtestResultSettings"
:fields="backtestsettingFields"
>
<b-table small borderless :items="backtestResultSettings" :fields="backtestsettingFields">
</b-table>
</b-card>
</div>
<div class="col-md-6">
<b-card header="Metrics">
<b-table
class="table-sm"
borderless
:items="backtestResultStats"
:fields="backtestResultFields"
>
<b-table small borderless :items="backtestResultStats" :fields="backtestResultFields">
</b-table>
</b-card>
</div>
<b-card header="Results per Sell-reason" class="mt-2">
<b-table
class="table-sm"
:items="backtestResult.sell_reason_summary"
:fields="perSellReason"
>
<b-table small hover :items="backtestResult.sell_reason_summary" :fields="perSellReason">
</b-table>
</b-card>
<b-card header="Results per pair" class="mt-2">
<b-table class="table-sm" :items="backtestResult.results_per_pair" :fields="perPairFields">
<b-table small hover :items="backtestResult.results_per_pair" :fields="perPairFields">
</b-table>
</b-card>

View File

@ -3,7 +3,8 @@
<div>
<b-table
ref="tradesTable"
class="table-sm"
small
hover
:items="trades"
:fields="tableFields"
show-empty

View File

@ -91,6 +91,10 @@
hr {
border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th{
color: $fg-color;
background: lighten($bg-dark, 5%);
}
.custom-select{
color: $fg-color;
border-color: lighten($bg-dark, 20%);