mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-05 06:46:25 -06:00
Closes #20122: Improve text contrast on highlighted changes (#20161)
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
* Closes #20122: Improve text contrast on highlighted changes * Fix indentation
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -12,11 +12,13 @@ pre.change-data {
|
|||||||
min-width: fit-content;
|
min-width: fit-content;
|
||||||
|
|
||||||
&.added {
|
&.added {
|
||||||
background-color: $green;
|
color: var(--tblr-dark);
|
||||||
|
background-color: $green-300;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.removed {
|
&.removed {
|
||||||
background-color: $red;
|
color: var(--tblr-dark);
|
||||||
|
background-color: $red-300;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -26,11 +28,13 @@ pre.change-diff {
|
|||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
|
|
||||||
&.change-added {
|
&.change-added {
|
||||||
background-color: $green;
|
color: var(--tblr-dark);
|
||||||
|
background-color: $green-300;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.change-removed {
|
&.change-removed {
|
||||||
background-color: $red;
|
color: var(--tblr-dark);
|
||||||
|
background-color: $red-300;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user