Skip to content

Commit e7c0460

Browse files
committed
Fix color for focused entry
1 parent 87cd3bc commit e7c0460

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: src/main/java/org/jabref/gui/maintable/MainTable.css

+12
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
.table-row-cell:matching-search-and-groups > .table-cell {
4949
-fx-text-fill: -jr-match-1-text-color;
5050
}
51+
.table-row-cell:matching-search-and-groups:focused > .table-cell {
52+
-fx-text-fill: -fx-focused-text-base-color;
53+
}
5154
.table-row-cell:matching-search-and-groups:hover > .table-cell {
5255
-fx-text-fill: -jr-match-1-text-color-hover;
5356
}
@@ -73,6 +76,9 @@
7376
.table-row-cell:matching-search-not-groups > .table-cell {
7477
-fx-text-fill: -jr-match-2-text-color;
7578
}
79+
.table-row-cell:matching-search-not-groups:focused > .table-cell {
80+
-fx-text-fill: -fx-focused-text-base-color;
81+
}
7682
.table-row-cell:matching-search-not-groups:hover > .table-cell {
7783
-fx-text-fill: -jr-match-2-text-color-hover;
7884
}
@@ -98,6 +104,9 @@
98104
.table-row-cell:matching-groups-not-search > .table-cell {
99105
-fx-text-fill: -jr-match-3-text-color;
100106
}
107+
.table-row-cell:matching-groups-not-search:focused > .table-cell {
108+
-fx-text-fill: -fx-focused-text-base-color;
109+
}
101110
.table-row-cell:matching-groups-not-search:hover > .table-cell {
102111
-fx-text-fill: -jr-match-3-text-color-hover;
103112
}
@@ -123,6 +132,9 @@
123132
.table-row-cell:not-matching-search-and-groups > .table-cell {
124133
-fx-text-fill: -jr-match-4-text-color;
125134
}
135+
.table-row-cell:not-matching-search-and-groups:focused > .table-cell {
136+
-fx-text-fill: -fx-focused-text-base-color;
137+
}
126138
.table-row-cell:not-matching-search-and-groups:hover > .table-cell {
127139
-fx-text-fill: -jr-match-4-text-color-hover;
128140
}

0 commit comments

Comments
 (0)