mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-11-05 11:56:37 +00:00
-adjustment for light theme
This commit is contained in:
parent
4f1c44e517
commit
e6e90c4f88
5 changed files with 22 additions and 14 deletions
|
|
@ -552,7 +552,7 @@ public class AppController implements Initializable {
|
|||
}
|
||||
|
||||
Stage stage = new Stage(StageStyle.DECORATED);
|
||||
stage.setTitle("Joinstr with " + getSelectedWalletForm().getWallet().getFullName());
|
||||
stage.setTitle("Coinjoin with " + getSelectedWalletForm().getWallet().getFullName());
|
||||
stage.initOwner(tabs.getScene().getWindow());
|
||||
|
||||
JoinstrController controller = loader.getController();
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
package com.sparrowwallet.sparrow.joinstr;
|
||||
|
||||
public enum JoinstrAction {
|
||||
JOIN,
|
||||
CREATE,
|
||||
REMOVE
|
||||
}
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
package com.sparrowwallet.sparrow.joinstr.control;
|
||||
|
||||
import com.sparrowwallet.sparrow.joinstr.JoinstrAction;
|
||||
import com.sparrowwallet.sparrow.joinstr.OtherPoolsController.JoinstrPool;
|
||||
|
||||
import javafx.collections.FXCollections;
|
||||
|
|
@ -81,7 +80,7 @@ public class JoinstrPoolList extends VBox {
|
|||
public void configureWithJoinButtons() {
|
||||
TableColumn<JoinstrPool, Void> joinButtonColumn = new TableColumn<>("");
|
||||
joinButtonColumn.setPrefWidth(100);
|
||||
|
||||
joinButtonColumn.setStyle("-fx-alignment:CENTER;");
|
||||
joinButtonColumn.setCellFactory(new Callback<>() {
|
||||
@Override
|
||||
public TableCell<JoinstrPool, Void> call(final TableColumn<JoinstrPool, Void> param) {
|
||||
|
|
|
|||
|
|
@ -105,6 +105,22 @@ HorizontalHeaderColumn > TableColumnHeader.column-header.table-column{
|
|||
-fx-background-color: rgb(159, 142, 0);
|
||||
}
|
||||
|
||||
.search-pool {
|
||||
-fx-background-color: #444444;
|
||||
-fx-text-fill: white;
|
||||
-fx-prompt-text-fill: #888888;
|
||||
}
|
||||
|
||||
.title {
|
||||
-fx-font-size: 24px;
|
||||
-fx-text-fill: white;
|
||||
}
|
||||
|
||||
.sub-title {
|
||||
-fx-font-size: 14px;
|
||||
-fx-text-fill: #aaaaaa;
|
||||
}
|
||||
|
||||
.joinstr-balance-container {
|
||||
-fx-padding:30, 0, 30, 0;
|
||||
-fx-background-color: #164768;
|
||||
|
|
|
|||
|
|
@ -6,18 +6,18 @@
|
|||
|
||||
<HBox xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" fx:controller="com.sparrowwallet.sparrow.joinstr.OtherPoolsController">
|
||||
|
||||
<BorderPane HBox.hgrow="ALWAYS" style="-fx-background-color: #333333;">
|
||||
<BorderPane HBox.hgrow="ALWAYS" styleClass="wallet-pane">
|
||||
<padding>
|
||||
<Insets top="20" right="20" bottom="20" left="20"/>
|
||||
</padding>
|
||||
<top>
|
||||
<VBox spacing="10">
|
||||
<HBox alignment="CENTER_LEFT" spacing="20">
|
||||
<Label text="Available Pools" style="-fx-font-size: 24px; -fx-text-fill: white;"/>
|
||||
<Label text="Available Pools" styleClass="title"/>
|
||||
<Region HBox.hgrow="ALWAYS" />
|
||||
<TextField fx:id="searchTextField" promptText="Search pools..." prefWidth="250" style="-fx-background-color: #444444; -fx-text-fill: white; -fx-prompt-text-fill: #888888;" onAction="#handleSearchButton"/>
|
||||
<TextField fx:id="searchTextField" styleClass="search-pool" promptText="Search pools..." prefWidth="250" onAction="#handleSearchButton"/>
|
||||
</HBox>
|
||||
<Label text="Select a pool to join" style="-fx-font-size: 14px; -fx-text-fill: #aaaaaa;"/>
|
||||
<Label styleClass="sub-title" text="Select a pool to join"/>
|
||||
</VBox>
|
||||
</top>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue