Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue 5522 and some UI changes. #7547

Merged
merged 3 commits into from
Mar 17, 2021
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions src/main/java/org/jabref/gui/Dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-jr-theme: #2c9490;
-jr-accent: #255652;
-jr-selected: -jr-accent;
-jr-hover: #fff1;
-jr-hover: #212330;


-jr-red: #b71c1f;
Expand Down Expand Up @@ -66,6 +66,22 @@
-fx-background-color: -fx-control-inner-background;
}

.table-row-cell: odd{
-fx-background-color:#272b38 ;
-fx-background-insets: 0, 0 0 1 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the insets and padding don't need to be set here again, as they are controlled by the light theme, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you are right. I'll change it.

-fx-padding: 0.0em;
}
.table-row-cell: even{
-fx-background-color: #fff1 ;
-fx-background-insets: 0, 0 0 1 0;
-fx-padding: 0.0em;
}

.table-row-cell:hover,
.tree-table-row-cell:hover {
-fx-background-color: -jr-hover;
}

.table-view .groupColumnBackground {
-fx-stroke: -jr-gray-3;
}
Expand All @@ -84,7 +100,7 @@
}

.numberColumn > .hits:any-selected {
-fx-background-color: derive(-jr-gray-3, 70%);
-fx-background-color: derive(-jr-gray-3, 25%);
}

.numberColumn > .hits:all-selected {
Expand Down