avancé sur l'ecran principale

This commit is contained in:
lucas Muratet 2022-06-01 09:36:07 +02:00 committed by imuny
parent 5c6c91aa81
commit 1cf3459dbe
2 changed files with 16 additions and 16 deletions

View File

@ -20,8 +20,8 @@ public class Controller implements Initializable {
private void initFrance() { private void initFrance() {
france = FranceBuilder.create() france = FranceBuilder.create()
.backgroundColor(Color.web("FFFFFF")) .backgroundColor(Color.web("#f5f0e1"))
.fillColor(Color.web("000000")) .fillColor(Color.web("#1e3d59"))
// .strokeColor(Color.web("#987028")) // .strokeColor(Color.web("#987028"))
// .hoverColor(Color.web("#fec47e")) // .hoverColor(Color.web("#fec47e"))
// .pressedColor(Color.web("#6cee85")) // .pressedColor(Color.web("#6cee85"))

View File

@ -8,39 +8,39 @@
<?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.StackPane?> <?import javafx.scene.layout.StackPane?>
<AnchorPane id="root" prefHeight="749.0" prefWidth="1030.0" style="-fx-background-color: none;" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.univ_amu.iut.fp.Controller"> <AnchorPane id="root" prefHeight="798.0" prefWidth="1365.0" style="-fx-background-color: #f5f0e1#f5f0e1;" xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fr.univ_amu.iut.fp.Controller">
<children> <children>
<StackPane id="stackPaneFrance" fx:id="stackPaneFrance" layoutX="43.0" layoutY="92.0" prefHeight="649.0" prefWidth="642.0" style="-fx-background-color: blue;" /> <StackPane id="stackPaneFrance" fx:id="stackPaneFrance" layoutX="43.0" layoutY="92.0" prefHeight="649.0" prefWidth="642.0" style="-fx-background-color: blue;" />
<AnchorPane prefHeight="80.0" prefWidth="1030.0" style="-fx-background-color: gray;" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"> <AnchorPane layoutX="11.0" prefHeight="80.0" prefWidth="1019.0" style="-fx-background-color: #1e3d59#1e3d59;" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<children> <children>
<TextField id="barreDeRecherche " layoutX="329.0" layoutY="27.0" prefHeight="27.0" prefWidth="372.0" promptText="Search" style="-fx-border-color: blue; -fx-border-width: gray; -fx-border-radius: 5em; -fx-background-radius: 5em;" text="Search" AnchorPane.leftAnchor="329.0" AnchorPane.rightAnchor="329.0"> <TextField id="barreDeRecherche " layoutX="329.0" layoutY="27.0" prefHeight="27.0" prefWidth="372.0" promptText="Search" style="-fx-border-color: #ffc13b#ffc13b; -fx-background-color: #CDD0D4#CDD0D4; -fx-border-radius: 5em; -fx-background-radius: 5em;" text="Search" AnchorPane.leftAnchor="329.0" AnchorPane.rightAnchor="329.0">
<cursor> <cursor>
<Cursor fx:constant="CROSSHAIR" /> <Cursor fx:constant="CROSSHAIR" />
</cursor> </cursor>
</TextField> </TextField>
</children> </children>
</AnchorPane> </AnchorPane>
<StackPane layoutX="740.0" layoutY="92.0" prefHeight="311.0" prefWidth="596.0" style="-fx-background-color: blue;" AnchorPane.topAnchor="92.0"> <StackPane layoutX="740.0" layoutY="92.0" prefHeight="311.0" prefWidth="596.0" style="-fx-background-color: none;" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="92.0">
<children> <children>
<ScrollPane prefHeight="471.0" prefWidth="347.0" style="-fx-background-color: blue;"> <ScrollPane prefHeight="471.0" prefWidth="347.0" style="-fx-background-color: none;">
<content> <content>
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="308.0" prefWidth="642.0"> <AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="308.0" prefWidth="642.0" style="-fx-background-color: #f5f0e1#f5f0e1;">
<children> <children>
<Button layoutX="38.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" text="Button" /> <Button layoutX="38.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" style="-fx-background-radius: 30; -fx-background-color: #ff6e40#ff6e40;" text="Button" />
<Button layoutX="332.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" text="Button" /> <Button layoutX="332.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" style="-fx-background-radius: 30; -fx-background-color: #ff6e40#ff6e40;" text="Button" />
</children> </children>
</AnchorPane> </AnchorPane>
</content> </content>
</ScrollPane> </ScrollPane>
</children></StackPane> </children></StackPane>
<StackPane layoutX="736.0" layoutY="400.0" prefHeight="344.0" prefWidth="599.0" style="-fx-background-color: red;"> <StackPane layoutX="768.0" layoutY="440.0" prefHeight="344.0" prefWidth="599.0" style="-fx-background-color: none;" AnchorPane.rightAnchor="-2.0">
<children> <children>
<ScrollPane prefHeight="335.0" prefWidth="586.0" style="-fx-background-color: red;" /> <ScrollPane prefHeight="335.0" prefWidth="586.0" style="-fx-background-color: none;" />
<AnchorPane prefHeight="200.0" prefWidth="200.0"> <AnchorPane prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: #f5f0e1#f5f0e1;">
<children> <children>
<ScrollBar layoutX="579.0" nodeOrientation="LEFT_TO_RIGHT" orientation="VERTICAL" prefHeight="337.0" prefWidth="13.0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" /> <ScrollBar layoutX="579.0" nodeOrientation="LEFT_TO_RIGHT" orientation="VERTICAL" prefHeight="337.0" prefWidth="13.0" style="-fx-background-color: none;" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
<Button layoutX="38.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" text="Button" /> <Button layoutX="38.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" style="-fx-background-radius: 30; -fx-background-color: #ff6e40#ff6e40;" text="Button" />
<Button layoutX="332.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" text="Button" /> <Button layoutX="332.0" layoutY="31.0" mnemonicParsing="false" prefHeight="115.0" prefWidth="235.0" style="-fx-background-radius: 30; -fx-background-color: #ff6e40#ff6e40;" text="Button" />
</children> </children>
</AnchorPane> </AnchorPane>
</children></StackPane> </children></StackPane>