1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-02-22 22:25:26 +01:00

(gui) Inline stage transparency (loading css can take some time)

This commit is contained in:
dpad85 2017-02-22 12:12:15 +01:00
parent 5255d68f13
commit 9835bd6b52
3 changed files with 3 additions and 7 deletions

View file

@ -5,7 +5,7 @@
<?import javafx.scene.layout.VBox?> <?import javafx.scene.layout.VBox?>
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" <Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
styleClass="notifications-box" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"> style="-fx-background-color: transparent" styleClass="notifications-box" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<stylesheets> <stylesheets>
<URL value="@../commons/globals.css" /> <URL value="@../commons/globals.css" />
<URL value="@main.css" /> <URL value="@main.css" />

View file

@ -1,7 +1,3 @@
.transparent {
-fx-background-color: transparent;
}
.label.splash-error-label { .label.splash-error-label {
-fx-padding: .25em; -fx-padding: .25em;
} }
@ -9,6 +5,6 @@
.error-box { .error-box {
-fx-padding: 2em; -fx-padding: 2em;
-fx-border-width: 1px; -fx-border-width: 1px;
-fx-background-color: white; -fx-background-color: #f6f6f6;
-fx-border-color: rgb(80,80,80); -fx-border-color: rgb(80,80,80);
} }

View file

@ -10,7 +10,7 @@
<?import java.lang.String?> <?import java.lang.String?>
<?import java.net.URL?> <?import java.net.URL?>
<Pane fx:id="splash" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" <Pane fx:id="splash" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity"
prefHeight="457.0" prefWidth="760.0" styleClass="transparent" prefHeight="457.0" prefWidth="760.0" style="-fx-background-color: transparent"
xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.acinq.eclair.gui.controllers.SplashController"> xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.acinq.eclair.gui.controllers.SplashController">
<children> <children>
<ImageView fx:id="imgBlurred" fitHeight="0" fitWidth="409.0" layoutX="176.0" layoutY="115.0" pickOnBounds="true" preserveRatio="true"> <ImageView fx:id="imgBlurred" fitHeight="0" fitWidth="409.0" layoutX="176.0" layoutY="115.0" pickOnBounds="true" preserveRatio="true">