Exemple #1
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.addCss("flex-direction", "column"));
            this.addCss(css.setAlignItems("center"));
            this.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corPrimaria));
            this.addCss(css.setDisplayFlex());
            this.addCss(css.setOverflowHidden());

            this.btnEntrar.addCss(css.setBackgroundColor(AppPicPay.i.objTema.corPrimaria));
            this.btnEntrar.addCss(css.setBackgroundImageSvg("seta-direita"));
            this.btnEntrar.addCss(css.setPosition("relative"));
            this.btnEntrar.addCss(css.setRight(21));
            this.btnEntrar.addCss(css.setTop(14));

            this.tagBody.addCss(css.setColor(AppPicPay.i.objTema.corTextoPrimaria));
            this.tagBody.addCss(css.setTextAlign("center"));

            this.divConteudo.addCss(css.setPosition("absolute"));
            this.divConteudo.addCss(css.setWidth(300));

            this.divLoginInfo.addCss(css.setDisplayNone());
            this.divLoginInfo.addCss(css.setMarginTop(50));

            this.divLogo.addCss(css.setBackgroundImagePng("favicon"));
            this.divLogo.addCss(css.setBackgroundPosition("center"));
            this.divLogo.addCss(css.setBackgroundRepeat("no-repeat"));
            this.divLogo.addCss(css.setBackgroundSize("100% 100%"));
            this.divLogo.addCss(css.setBackgroundSize("contain"));
            this.divLogo.addCss(css.setBorderRadius(2));
            this.divLogo.addCss(css.setBoxShadow(5, 5, 10, 0, AppWebBase.i.objTema.corPrimariaEscura));
            this.divLogo.addCss(css.setHeight(30, "vh"));
            this.divLogo.addCss(css.setMarginBottom(50));
            this.divLogo.addCss(css.setMarginTop(50));
            this.divLogo.addCss(css.setMinHeight(150));

            this.frmLogin.addCss(css.setPosition("relative"));

            this.txtLogin.addCss(css.setBackgroundColor(AppPicPay.i.objTema.corSecundariaClara));
            this.txtLogin.addCss(css.setBorderBottom(1, "solid", AppPicPay.i.objTema.corSecundaria));
            this.txtLogin.addCss(css.setBorderLeft(0, "solid", AppPicPay.i.objTema.corSecundaria));
            this.txtLogin.addCss(css.setBorderRadius(2));
            this.txtLogin.addCss(css.setBorderRight(0, "solid", AppPicPay.i.objTema.corSecundaria));
            this.txtLogin.addCss(css.setBorderTop(0, "solid", AppPicPay.i.objTema.corSecundaria));
            this.txtLogin.addCss(css.setFontSize(16));
            this.txtLogin.addCss(css.setHeight(40));
            this.txtLogin.addCss(css.setOutline("none"));
            this.txtLogin.addCss(css.setPosition("relative"));
            this.txtLogin.addCss(css.setTextAlign("center"));
            this.txtLogin.addCss(css.setWidth(250));

            this.txtSenha.addCss(this.txtLogin);
            this.txtSenha.addCss(css.setRight(-20));
        }