Skip to content

Commit f8932e3

Browse files
committed
Tweak styles a bit
1 parent eb831e2 commit f8932e3

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

src/main/java/sh/adelessfox/psarc/AppWindow.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ private ToolBar buildToolBar() {
223223
aboutButton.setOnAction(_ -> showAboutDialog());
224224

225225
ToolBar toolBar = new ToolBar(openButton, extractButton, new Spacer(), aboutButton);
226+
toolBar.getStyleClass().add("border-bottom");
226227
Mica.installStyle(toolBar);
227228

228229
return toolBar;
@@ -234,6 +235,7 @@ private StatusBar buildStatusBar() {
234235
stopButton.setOnMouseClicked(_ -> service.cancel());
235236

236237
StatusBar statusBar = new StatusBar();
238+
statusBar.getStyleClass().add("border-top");
237239
statusBar.messageProperty().bind(Bindings.when(exporting).then(status).otherwise((String) null));
238240
statusBar.graphicProperty().bind(Bindings.when(exporting).then(stopButton).otherwise((ImageView) null));
239241

src/main/resources/styles.css

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,20 @@
1515
-fx-padding: 6px 10px 6px 8px;
1616
}
1717

18-
.status-bar {
19-
-fx-background-color: -color-base-0;
18+
.border-top {
2019
-fx-border-color: -color-border-default;
2120
-fx-border-width: 1 0 0 0;
2221
-fx-border-style: solid;
22+
}
23+
24+
.border-bottom {
25+
-fx-border-color: -color-border-default;
26+
-fx-border-width: 0 0 1 0;
27+
-fx-border-style: solid;
28+
}
29+
30+
.status-bar {
31+
-fx-background-color: -color-base-0;
2332
-fx-padding: 4px 12px 4px 6px;
2433
-fx-spacing: 5;
2534
}
@@ -70,11 +79,6 @@
7079
-fx-padding: 0 0.5em 0 0.5em;
7180
}
7281

73-
.tree-table-view.mica > .column-header-background,
74-
.tree-table-view.mica .tree-table-row-cell {
75-
-fx-background-color: transparent;
76-
}
77-
7882
.mica {
7983
-fx-background-color: transparent;
8084
}

0 commit comments

Comments
 (0)