code refactor

This commit is contained in:
MaysWind
2023-07-22 23:17:13 +08:00
parent b45900e5bc
commit ebee6273b0
4 changed files with 13 additions and 7 deletions
+10 -4
View File
@@ -110,11 +110,13 @@ input[type=number] {
background: rgb(var(--v-table-header-background)) !important; background: rgb(var(--v-table-header-background)) !important;
} }
tr:nth-child(even) { tr.even-row {
background: #fcfcfc; background: #fcfcfc;
} }
}
tr.even-row { .v-table.table-striped {
tr:nth-child(even) {
background: #fcfcfc; background: #fcfcfc;
} }
@@ -125,11 +127,15 @@ input[type=number] {
.v-theme--dark { .v-theme--dark {
.v-table { .v-table {
tr:nth-child(even) { tr.even-row {
background: #161616; background: #161616;
} }
}
}
tr.even-row { .v-theme--dark {
.v-table.table-striped {
tr:nth-child(even) {
background: #161616; background: #161616;
} }
} }
+1 -1
View File
@@ -64,7 +64,7 @@
</div> </div>
</template> </template>
<v-table> <v-table class="table-striped">
<thead> <thead>
<tr> <tr>
<th class="text-uppercase">{{ $t('Currency') }}</th> <th class="text-uppercase">{{ $t('Currency') }}</th>
+1 -1
View File
@@ -35,7 +35,7 @@
</div> </div>
</template> </template>
<v-table class="transaction-tags-table"> <v-table class="transaction-tags-table table-striped">
<thead> <thead>
<tr> <tr>
<th class="text-uppercase" style="width: 50%">{{ $t('Tag Title') }}</th> <th class="text-uppercase" style="width: 50%">{{ $t('Tag Title') }}</th>
@@ -87,7 +87,7 @@
</div> </div>
</template> </template>
<v-table class="text-no-wrap"> <v-table class="table-striped text-no-wrap">
<thead> <thead>
<tr> <tr>
<th class="text-uppercase">{{ $t('Type') }}</th> <th class="text-uppercase">{{ $t('Type') }}</th>