mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-02 21:18:12 +00:00
fix: dark mode for lighter rows background
This commit is contained in:
@@ -34,8 +34,9 @@
|
|||||||
<!-- From 21.10 -->
|
<!-- From 21.10 -->
|
||||||
<tr
|
<tr
|
||||||
v-for="(instruction, i) in store.orderData.instructions.slice(2)"
|
v-for="(instruction, i) in store.orderData.instructions.slice(2)"
|
||||||
:style="{
|
:class="{
|
||||||
'background-color': instruction.key.startsWith('218') ? '#eeece1' : 'inherit'
|
'bg-lighter': instruction.key.startsWith('218'),
|
||||||
|
dark: store.orderDarkMode
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<td width="10%" class="order-instruction-number">
|
<td width="10%" class="order-instruction-number">
|
||||||
@@ -176,6 +177,14 @@ function calculateInputWidthByFieldName(fieldName: string) {
|
|||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tr.bg-lighter {
|
||||||
|
background-color: #eeece1;
|
||||||
|
}
|
||||||
|
|
||||||
|
tr.bg-lighter.dark {
|
||||||
|
background-color: #111;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.order-instruction-number {
|
.order-instruction-number {
|
||||||
|
|||||||
Reference in New Issue
Block a user