Skip to content

Commit

Permalink
Add color picker to groups dialog (#4492)
Browse files Browse the repository at this point in the history
* Add color picker to groups dialog

* Improve layout of group edit window

* Fix build
  • Loading branch information
tobiasdiez authored Nov 19, 2018
1 parent 64f3209 commit c695230
Show file tree
Hide file tree
Showing 4 changed files with 193 additions and 203 deletions.
21 changes: 20 additions & 1 deletion src/main/java/org/jabref/gui/Base.css
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@
.check-box > .box,
.menu-button,
.choice-box,
.color-picker.split-button > .color-picker-label,
.combo-box-base,
.combo-box-base:editable > .arrow-button {
-fx-background-color: transparent;
Expand Down Expand Up @@ -956,3 +955,23 @@ We want to have a look that matches our icons in the tool-bar */
.progress-bar > .track {
-fx-background-color: -jr-accent;
}

.jfx-color-picker:armed,
.jfx-color-picker:hover,
.jfx-color-picker:focused,
.jfx-color-picker {
-fx-background-color: transparent, transparent, transparent, transparent;
-fx-background-radius: 0px;
-fx-background-insets: 0px;
-fx-effect: null;
}

.color-palette {
-fx-background-color: -fx-background;
-fx-background-radius: 0px;
-fx-background-insets: 0px;
}

.color-palette-region .button {
-fx-border-width: 0px;
}
Loading

0 comments on commit c695230

Please sign in to comment.