fix dark themed spreadsheets

This commit is contained in:
Craig Raw 2023-04-04 09:22:49 +02:00
parent 4bec71e7c4
commit 4ed8550f1d

View file

@ -54,12 +54,15 @@
} }
.list-cell:even, .list-cell:even,
.list-cell:odd, .table-row-cell:even{
.table-row-cell:even,
.table-row-cell:odd{
-fx-control-inner-background: derive(-fx-base, 15%); -fx-control-inner-background: derive(-fx-base, 15%);
} }
.list-cell:odd,
.table-row-cell:odd{
-fx-control-inner-background: derive(-fx-base, 20%);
}
.list-cell:empty, .list-cell:empty,
.table-row-cell:empty { .table-row-cell:empty {
-fx-background-color: transparent; -fx-background-color: transparent;
@ -67,10 +70,28 @@
.list-cell, .list-cell,
.table-row-cell{ .table-row-cell{
-fx-border-color: transparent;
-fx-table-cell-border-color:transparent; -fx-table-cell-border-color:transparent;
} }
.spreadsheet-cell {
-fx-background-color: -fx-table-cell-border-color, derive(-fx-base, 25%);
-fx-text-fill: -fx-text-inner-color;
}
VerticalHeader > Label{
-fx-background-color: derive(-fx-box-border, 15%), -fx-base;
}
HorizontalHeaderColumn > TableColumnHeader.column-header.table-column{
-fx-background-color: derive(-fx-box-border, 15%), -fx-base;
}
.root #grid .spreadsheet-cell:selected,
.root #grid .spreadsheet-cell:focused:selected,
.root #grid .spreadsheet-cell:focused:selected:hover {
-fx-background-color: rgb(159, 142, 0);
}
.status-bar { .status-bar {
-fx-background-color: derive(-fx-color,-15%), -fx-body-color; -fx-background-color: derive(-fx-color,-15%), -fx-body-color;
} }