Skip to content

Commit

Permalink
Entry color changes when dragging (JabRef#12294)
Browse files Browse the repository at this point in the history
  • Loading branch information
ar-rana authored Dec 16, 2024
1 parent a3b2efb commit 617b47b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/org/jabref/gui/Base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1207,10 +1207,7 @@ We want to have a look that matches our icons in the tool-bar */
-fx-padding: 0 0 -2 0;
}

.table-row-cell:dragOver-center {
-fx-border-color: -jr-drag-target;
-fx-border-width: 1 1 1 1;
-fx-padding: -1 -1 -1 -1;
.table-row-cell:dragOver-center > .table-cell {
-fx-background-color: -jr-drag-target-hover;
}

Expand Down
6 changes: 6 additions & 0 deletions src/main/java/org/jabref/gui/Dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@
-fx-background-color: -jr-hover;
}

/* Drag and drop colored indicator */

.table-row-cell:dragOver-center {
-fx-background-color: -jr-drag-target-hover;
}

.merge-field-value .action-icon {
-fx-blend-mode: none;
-fx-opacity: 90%;
Expand Down

0 comments on commit 617b47b

Please sign in to comment.