376 lines
21 KiB
XML
376 lines
21 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.Cursor?>
|
|
<?import javafx.scene.control.ScrollPane?>
|
|
<?import javafx.scene.image.Image?>
|
|
<?import javafx.scene.image.ImageView?>
|
|
<?import javafx.scene.layout.AnchorPane?>
|
|
<?import javafx.scene.layout.FlowPane?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.Pane?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.text.Font?>
|
|
<?import javafx.scene.text.Text?>
|
|
|
|
<AnchorPane fx:id="root" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="700.0" prefWidth="1280.0" style="-fx-background-color: #edf0f5;" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1">
|
|
<children>
|
|
<AnchorPane id="header" fx:id="header" layoutX="200.0" maxHeight="40.0" maxWidth="1280.0" prefHeight="40.0" prefWidth="1080.0" stylesheets="@../css/header.css" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<FlowPane id="header_menu" fx:id="header_menu" alignment="CENTER_RIGHT" layoutX="791.0" layoutY="-80.0" maxHeight="40.0" maxWidth="1240.0" minHeight="40.0" minWidth="40.0" prefHeight="40.0" AnchorPane.bottomAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
</children>
|
|
</AnchorPane>
|
|
<AnchorPane id="menu_wrapper" fx:id="menu_wrapper" maxHeight="700.0" maxWidth="251.0" minHeight="680.0" minWidth="40.0" prefHeight="700.0" prefWidth="234.0" stylesheets="@../css/menu.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<Pane id="header_icon" fx:id="header_icon" maxHeight="40.0" minHeight="40.0" minWidth="40.0" prefHeight="40.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
<children>
|
|
<ImageView fitHeight="35.0" fitWidth="32.0" layoutX="10.0" layoutY="9.0" pickOnBounds="true" preserveRatio="true">
|
|
<image>
|
|
<Image url="@../src/icon.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children></Pane>
|
|
<VBox id="menu" fx:id="menu" layoutX="50.0" layoutY="40.0" prefHeight="600.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="50.0">
|
|
<children>
|
|
<FlowPane id="profile" alignment="CENTER_LEFT" prefHeight="114.0" prefWidth="234.0" style="-fx-border-width: 0 0 1 0; -fx-border-color: #eeeeee;">
|
|
<children>
|
|
<ImageView fitHeight="57.0" fitWidth="56.0" pickOnBounds="true" preserveRatio="true">
|
|
<image>
|
|
<Image url="@../src/menu_profile_1.png" />
|
|
</image>
|
|
<FlowPane.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</FlowPane.margin>
|
|
</ImageView>
|
|
<Pane prefHeight="56.0" prefWidth="125.0">
|
|
<children>
|
|
<Text fill="#838383" layoutX="4.0" layoutY="40.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Niveau B2">
|
|
<font>
|
|
<Font name="Lato Regular" size="11.0" />
|
|
</font></Text>
|
|
<Text fill="#545454" layoutX="4.0" layoutY="23.0" strokeType="OUTSIDE" strokeWidth="0.0" text="nom utilisateur" wrappingWidth="120.7770004272461">
|
|
<font>
|
|
<Font name="Lato Regular" size="13.0" />
|
|
</font>
|
|
</Text>
|
|
</children>
|
|
</Pane>
|
|
</children>
|
|
</FlowPane>
|
|
<FlowPane id="dictionary" alignment="CENTER" columnHalignment="CENTER" layoutX="10.0" layoutY="124.0" prefHeight="58.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets right="20.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Dictionnaire" />
|
|
</children>
|
|
</FlowPane>
|
|
<FlowPane id="exercises" alignment="CENTER" columnHalignment="CENTER" layoutX="10.0" layoutY="182.0" prefHeight="58.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets right="20.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/exercises.png" />
|
|
</image>
|
|
</ImageView>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Excercices" />
|
|
</children>
|
|
</FlowPane>
|
|
<FlowPane id="translator" alignment="CENTER" columnHalignment="CENTER" layoutX="10.0" layoutY="240.0" prefHeight="58.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets right="20.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/translator.png" />
|
|
</image>
|
|
</ImageView>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Traducteur" />
|
|
</children>
|
|
</FlowPane>
|
|
<FlowPane id="magazines" alignment="CENTER" columnHalignment="CENTER" layoutX="10.0" layoutY="240.0" prefHeight="58.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<ImageView fitHeight="20.0" fitWidth="20.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets right="20.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/magazines.png" />
|
|
</image>
|
|
</ImageView>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Magazines" />
|
|
</children>
|
|
</FlowPane>
|
|
</children>
|
|
</VBox>
|
|
</children>
|
|
</AnchorPane>
|
|
<VBox id="submenu" fx:id="submenu" layoutX="234.0" layoutY="50.0" prefHeight="650.0" prefWidth="166.0" style="-fx-background-color: #F3F3F3;" AnchorPane.bottomAnchor="0.0" AnchorPane.topAnchor="50.0">
|
|
<children>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Tout afficher" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" top="25.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="30.0" layoutY="60.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Science" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="30.0" layoutY="95.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Business" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="30.0" layoutY="130.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Entertainement" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="10.0" layoutY="165.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Gaming" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="10.0" layoutY="200.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Health" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="30.0" layoutY="235.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Music" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="10.0" layoutY="270.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Sport" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="10.0" layoutY="305.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Nature" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="10.0" layoutY="340.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Economics" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="10.0" layoutY="375.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Politics" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
<FlowPane alignment="CENTER_RIGHT" columnHalignment="CENTER" layoutX="10.0" layoutY="410.0" prefHeight="35.0" prefWidth="234.0" styleClass="menu_item">
|
|
<children>
|
|
<Text fill="#656565" strokeType="OUTSIDE" strokeWidth="0.0" text="Technology" />
|
|
<ImageView fitHeight="15.0" fitWidth="15.0" pickOnBounds="true" preserveRatio="true">
|
|
<FlowPane.margin>
|
|
<Insets left="15.0" />
|
|
</FlowPane.margin>
|
|
<image>
|
|
<Image url="@../src/menu/dictionary.png" />
|
|
</image>
|
|
</ImageView>
|
|
</children>
|
|
<VBox.margin>
|
|
<Insets left="20.0" right="20.0" />
|
|
</VBox.margin>
|
|
</FlowPane>
|
|
</children></VBox>
|
|
<ScrollPane hbarPolicy="NEVER" pickOnBounds="false" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: transparent;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="400.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="50.0">
|
|
<content>
|
|
<FlowPane id="container" fx:id="container" alignment="TOP_CENTER" columnHalignment="CENTER" prefHeight="650.0" prefWidth="880.0" prefWrapLength="1000.0">
|
|
<children>
|
|
<AnchorPane fx:id="card1" prefHeight="118.0" style="-fx-border-insets: 10; -fx-background-insets: 10; -fx-background-color: #fff; -fx-background-radius: 3; -fx-border-radius: 3; -fx-border-color: #ddd;">
|
|
<opaqueInsets>
|
|
<Insets />
|
|
</opaqueInsets>
|
|
<children>
|
|
<ImageView fitHeight="56.0" fitWidth="56.0" layoutX="-28.0" layoutY="38.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="20.0" AnchorPane.leftAnchor="20.0" AnchorPane.topAnchor="20.0">
|
|
<image>
|
|
<Image url="@../src/menu_profile_1.png" />
|
|
</image>
|
|
</ImageView>
|
|
<Text fill="#808080" fontSmoothingType="LCD" layoutX="118.0" layoutY="78.8439998626709" strokeType="OUTSIDE" strokeWidth="0.0" text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam posuere odio ut sem vestibulum, at tempus neque luctus. Curabitur quis tortor bibendum" wrappingWidth="653.0" AnchorPane.leftAnchor="96.0" AnchorPane.topAnchor="50.0">
|
|
<font>
|
|
<Font name="Lato Regular" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<Text fill="#757575" layoutX="611.0" layoutY="37.0" strokeType="OUTSIDE" strokeWidth="0.0" text="10 days ago" textAlignment="RIGHT" AnchorPane.rightAnchor="20.0" AnchorPane.topAnchor="20.0">
|
|
<font>
|
|
<Font name="Lato Bold" size="12.0" />
|
|
</font>
|
|
</Text>
|
|
<HBox layoutX="118.0" layoutY="39.0" prefHeight="21.0" prefWidth="200.0" AnchorPane.leftAnchor="96.0" AnchorPane.topAnchor="20.0">
|
|
<children>
|
|
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Some Article Title">
|
|
<font>
|
|
<Font name="Lato Bold" size="17.0" />
|
|
</font>
|
|
</Text>
|
|
<FlowPane alignment="CENTER" columnHalignment="CENTER" prefHeight="20.0" style="-fx-background-color: red; -fx-background-radius: 3;">
|
|
<children>
|
|
<Text fill="WHITE" fontSmoothingType="LCD" strokeType="OUTSIDE" strokeWidth="0.0" text="nature">
|
|
<font>
|
|
<Font name="Lato Regular" size="14.0" />
|
|
</font>
|
|
<FlowPane.margin>
|
|
<Insets />
|
|
</FlowPane.margin>
|
|
</Text>
|
|
</children>
|
|
<HBox.margin>
|
|
<Insets left="10.0" />
|
|
</HBox.margin>
|
|
<padding>
|
|
<Insets left="5.0" right="5.0" />
|
|
</padding>
|
|
</FlowPane>
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
<cursor>
|
|
<Cursor fx:constant="HAND" />
|
|
</cursor>
|
|
</AnchorPane>
|
|
</children>
|
|
<opaqueInsets>
|
|
<Insets />
|
|
</opaqueInsets>
|
|
</FlowPane>
|
|
</content>
|
|
</ScrollPane>
|
|
</children>
|
|
</AnchorPane>
|