chore(ui): title gray background.
This commit is contained in:
@@ -158,6 +158,7 @@ public class DecoratorSkin extends SkinBase<Decorator> {
|
|||||||
container.backgroundProperty().unbind();
|
container.backgroundProperty().unbind();
|
||||||
container.setBackground(null);
|
container.setBackground(null);
|
||||||
titleContainer.getStyleClass().remove("background");
|
titleContainer.getStyleClass().remove("background");
|
||||||
|
titleContainer.getStyleClass().add("gray-background");
|
||||||
container.getChildren().remove(drawerPane);
|
container.getChildren().remove(drawerPane);
|
||||||
wrapper.getChildren().add(0, drawerPane);
|
wrapper.getChildren().add(0, drawerPane);
|
||||||
} else {
|
} else {
|
||||||
@@ -165,6 +166,7 @@ public class DecoratorSkin extends SkinBase<Decorator> {
|
|||||||
wrapper.backgroundProperty().unbind();
|
wrapper.backgroundProperty().unbind();
|
||||||
wrapper.setBackground(null);
|
wrapper.setBackground(null);
|
||||||
titleContainer.getStyleClass().add("background");
|
titleContainer.getStyleClass().add("background");
|
||||||
|
titleContainer.getStyleClass().remove("gray-background");
|
||||||
wrapper.getChildren().remove(drawerPane);
|
wrapper.getChildren().remove(drawerPane);
|
||||||
container.getChildren().add(0, drawerPane);
|
container.getChildren().add(0, drawerPane);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -522,6 +522,10 @@
|
|||||||
-fx-text-fill: WHITE;
|
-fx-text-fill: WHITE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.jfx-tool-bar.gray-background Label {
|
||||||
|
-fx-text-fill: BLACK;
|
||||||
|
}
|
||||||
|
|
||||||
.jfx-tool-bar .jfx-options-burger {
|
.jfx-tool-bar .jfx-options-burger {
|
||||||
-fx-padding: 22px;
|
-fx-padding: 22px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user