<?xml version="1.0" encoding="UTF-8"?> <?import com.jfoenix.controls.JFXButton?> <?import com.jfoenix.controls.JFXCheckBox?> <?import com.jfoenix.controls.JFXPasswordField?> <?import com.jfoenix.controls.JFXSpinner?> <?import com.jfoenix.controls.JFXTextField?> <?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView?> <?import de.jensd.fx.glyphs.materialdesignicons.MaterialDesignIconView?> <?import java.lang.String?> <?import javafx.scene.control.Label?> <?import javafx.scene.effect.DropShadow?> <?import javafx.scene.effect.Reflection?> <?import javafx.scene.image.Image?> <?import javafx.scene.image.ImageView?> <?import javafx.scene.layout.AnchorPane?> <?import javafx.scene.paint.RadialGradient?> <?import javafx.scene.paint.Stop?> <?import javafx.scene.text.Font?> <AnchorPane fx:id="mainContainer" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onKeyPressed="#onEnter" prefHeight="769.0" prefWidth="939.0" styleClass="background-1" stylesheets="@../css/light-theme.css" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="info.cortestudios.controllers.LoginController"> <children> <AnchorPane layoutX="339.0" layoutY="91.0" prefHeight="600.0" prefWidth="521.0" styleClass="background-5"> <children> <JFXTextField fx:id="username" focusColor="#40a7e3" labelFloat="true" layoutX="180.0" layoutY="269.0" prefHeight="31.0" prefWidth="254.0" promptText="Usuario" styleClass="jfx-text-field" /> <JFXPasswordField fx:id="password" focusColor="#40a7e3" labelFloat="true" layoutX="180.0" layoutY="346.0" prefHeight="31.0" prefWidth="254.0" promptText="Contraseña" styleClass="jfx-text-field" /> <JFXTextField fx:id="password2" focusColor="#40a7e3" labelFloat="true" layoutX="180.0" layoutY="346.0" prefHeight="31.0" prefWidth="254.0" promptText="Contraseña" styleClass="jfx-text-field" visible="false" /> <JFXButton fx:id="loginButton" buttonType="RAISED" contentDisplay="CENTER" layoutX="192.0" layoutY="486.0" onAction="#actionLogin" prefHeight="42.0" prefWidth="230.0" text="Entrar"> <styleClass> <String fx:value="button-0" /> <String fx:value="hand-mode" /> </styleClass> <ripplerFill> <RadialGradient centerX="0.5227272727272727" centerY="0.5" radius="0.5"> <stops> <Stop color="#57a2cd" /> <Stop color="#ffffff2f" offset="1.0" /> </stops> </RadialGradient> </ripplerFill></JFXButton> <JFXCheckBox fx:id="rememberCreds" checkedColor="#40a7e3" layoutX="350.0" layoutY="411.0" text="Recordar" textFill="WHITE"> <font> <Font size="12.0" /> </font> <styleClass> <String fx:value="label-small" /> <String fx:value="check-box" /> </styleClass> </JFXCheckBox> <Label contentDisplay="CENTER" layoutX="204.0" layoutY="188.0" prefHeight="51.0" prefWidth="206.0" styleClass="label-large" text="Iniciar Sesión"> <effect> <Reflection fraction="0.52" topOffset="-10.0" topOpacity="0.18" /> </effect> </Label> <FontAwesomeIconView glyphName="USER" layoutX="159.0" layoutY="291.0" size="20" styleClass="icons-1" /> <FontAwesomeIconView glyphName="LOCK" layoutX="159.0" layoutY="369.0" size="23" styleClass="icons-1" wrappingWidth="15.71428618580103" /> <FontAwesomeIconView fx:id="passEye" glyphName="EYE" layoutX="414.0" layoutY="369.0" onMouseClicked="#seePassword" size="18" wrappingWidth="15.71428618580103"> <styleClass> <String fx:value="icons-1" /> <String fx:value="hand-mode" /> </styleClass> </FontAwesomeIconView> <JFXButton alignment="TOP_CENTER" buttonType="RAISED" layoutX="476.0" layoutY="14.0" minWidth="30.0" onAction="#onClose" prefHeight="21.0" prefWidth="33.0" text=" " textFill="#f1f1f1"> <graphic> <MaterialDesignIconView fill="WHITE" glyphName="CLOSE" size="22" styleClass="icons-1" translateX="-5.0" wrappingWidth="18.0" /> </graphic> <styleClass> <String fx:value="button-2" /> <String fx:value="hand-mode" /> </styleClass> <ripplerFill> <RadialGradient centerX="0.5" centerY="0.5" radius="0.5"> <stops> <Stop color="#57a2cd" /> <Stop color="WHITE" offset="1.0" /> </stops> </RadialGradient> </ripplerFill> </JFXButton> <JFXButton alignment="TOP_CENTER" buttonType="RAISED" layoutX="434.0" layoutY="14.0" minWidth="30.0" onAction="#onMin" prefHeight="23.0" prefWidth="33.0" text=" " textFill="#f1f1f1"> <ripplerFill> <RadialGradient centerX="0.5" centerY="0.5" radius="0.5"> <stops> <Stop color="#57a2cd" /> <Stop color="WHITE" offset="1.0" /> </stops> </RadialGradient> </ripplerFill> <graphic> <MaterialDesignIconView fill="WHITE" glyphName="WINDOW_MINIMIZE" size="22" styleClass="icons-1" translateX="-5.0" wrappingWidth="18.0" /> </graphic> <styleClass> <String fx:value="hand-mode" /> <String fx:value="button-2" /> </styleClass> </JFXButton> <JFXSpinner fx:id="spinner" layoutX="300.0" layoutY="473.0" radius="30.0" visible="false" /> <ImageView fitHeight="50.0" fitWidth="57.0" layoutX="275.0" layoutY="99.0" pickOnBounds="true" preserveRatio="true"> <image> <Image url="@../drawable/logo.png" /> </image> </ImageView> </children> <effect> <DropShadow color="#276899" /> </effect> </AnchorPane> <AnchorPane layoutX="86.0" layoutY="41.0" prefHeight="701.0" prefWidth="360.0" styleClass="background-4"> <effect> <DropShadow color="#276899" /> </effect></AnchorPane> </children> </AnchorPane>