Skip to content

Commit c695230

Browse files
authored
Add color picker to groups dialog (#4492)
* Add color picker to groups dialog * Improve layout of group edit window * Fix build
1 parent 64f3209 commit c695230

File tree

4 files changed

+193
-203
lines changed

4 files changed

+193
-203
lines changed

src/main/java/org/jabref/gui/Base.css

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@
291291
.check-box > .box,
292292
.menu-button,
293293
.choice-box,
294-
.color-picker.split-button > .color-picker-label,
295294
.combo-box-base,
296295
.combo-box-base:editable > .arrow-button {
297296
-fx-background-color: transparent;
@@ -956,3 +955,23 @@ We want to have a look that matches our icons in the tool-bar */
956955
.progress-bar > .track {
957956
-fx-background-color: -jr-accent;
958957
}
958+
959+
.jfx-color-picker:armed,
960+
.jfx-color-picker:hover,
961+
.jfx-color-picker:focused,
962+
.jfx-color-picker {
963+
-fx-background-color: transparent, transparent, transparent, transparent;
964+
-fx-background-radius: 0px;
965+
-fx-background-insets: 0px;
966+
-fx-effect: null;
967+
}
968+
969+
.color-palette {
970+
-fx-background-color: -fx-background;
971+
-fx-background-radius: 0px;
972+
-fx-background-insets: 0px;
973+
}
974+
975+
.color-palette-region .button {
976+
-fx-border-width: 0px;
977+
}

0 commit comments

Comments
 (0)