Exemplo n.º 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));
        }
Exemplo n.º 2
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corFundo));
            this.addCss(css.setBorder(1, "solid", "#2e2e2e"));
            this.addCss(css.setBoxShadow(0, 5, 10, 0, AppWebBase.i.objTema.corSombra));
            this.addCss(css.setCenter());
            this.addCss(css.setPosition("absolute"));

            this.divBtnFechar.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTelaFundo));
            this.divBtnFechar.addCss(css.setBackgroundImage("/res/media/png/btn_fechar_25x25.png"));
            this.divBtnFechar.addCss(css.setBackgroundPosition("center"));
            this.divBtnFechar.addCss(css.setBackgroundRepeat("no-repeat"));
            this.divBtnFechar.addCss(css.setBorderBottom(1, "solid", AppWebBase.i.objTema.corTema));
            this.divBtnFechar.addCss(css.setBorderLeft(1, "solid", AppWebBase.i.objTema.corTema));
            this.divBtnFechar.addCss(css.setBorderRadius(0, 0, 5, 5));
            this.divBtnFechar.addCss(css.setBorderRight(1, "solid", AppWebBase.i.objTema.corTema));
            this.divBtnFechar.addCss(css.setBoxShadow(0, 1, 5, 0, AppWebBase.i.objTema.corSombra));
            this.divBtnFechar.addCss(css.setCursor("pointer"));
            this.divBtnFechar.addCss(css.setHeight(25));
            this.divBtnFechar.addCss(css.setMarginRight(8));
            this.divBtnFechar.addCss(css.setTextAlign("center"));
            this.divBtnFechar.addCss(css.setWidth(55));

            this.divAcao.addCss(css.setBottom(0));
            this.divAcao.addCss(css.setPosition("absolute"));
            this.divAcao.addCss(css.setRight(0));
            this.divAcao.addCss(css.setTop(0));

            this.divCabecalho.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTelaFundo));
            this.divCabecalho.addCss(css.setCursor("default"));
            this.divCabecalho.addCss(css.setHeight(40));
            this.divCabecalho.addCss(css.setPosition("relative"));

            this.divInativa.addCss(css.setDisplay("none"));
            this.divInativa.addCss(css.setHeight(100, "%"));
            this.divInativa.addCss(css.setPosition("absolute"));
            this.divInativa.addCss(css.setTop(0));
            this.divInativa.addCss(css.setWidth(100, "%"));

            this.divTitulo.addCss(css.setColor("white"));
            this.divTitulo.addCss(css.setLineHeight(40));
            this.divTitulo.addCss(css.setPaddingLeft(10));
        }
Exemplo n.º 3
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("white"));
            this.addCss(css.setBorderLeft());
            this.addCss(css.setBorderRight());
            this.addCss(css.setBorderTop());
            this.addCss(css.setMarginTop(1, "vh"));
            this.addCss(css.setTextAlign("center"));

            this.divTabContaCadastro.addCss(css.setFloat("right"));
            this.divTabContaCadastro.addCss(css.setWidth(50, "%"));

            this.divTabLoginEntrar.addCss(css.setFloat("left"));
            this.divTabLoginEntrar.addCss(css.setFontWeight("bold"));
            this.divTabLoginEntrar.addCss(css.setWidth(50, "%"));
        }
Exemplo n.º 4
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.divGaveta.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTelaFundo));
            this.divGaveta.addCss(css.setBorderBottom(1, "solid", AppWebBase.i.objTema.corSombra));
            this.divGaveta.addCss(css.setBorderLeft(1, "solid", AppWebBase.i.objTema.corSombra));
            this.divGaveta.addCss(css.setBorderRight(1, "solid", AppWebBase.i.objTema.corSombra));
            this.divGaveta.addCss(css.setBoxShadow(0, 3, 5, -1, "rgba(80, 80, 80,0.8)"));
            this.divGaveta.addCss(css.setCenter());
            this.divGaveta.addCss(css.setColor(AppWebBase.i.objTema.corFonte));
            this.divGaveta.addCss(css.setDisplay("none"));
            this.divGaveta.addCss(css.setMaxHeight(650));
            this.divGaveta.addCss(css.setMinWidth(370));
            this.divGaveta.addCss(css.setOverflow("hidden"));
            this.divGaveta.addCss(css.setPadding(10, "px"));
            this.divGaveta.addCss(css.setWidth(25, "%"));
            this.divGaveta.addCss(css.setZIndex(10));

            this.divGavetaContainer.addCss(css.setPosition("absolute"));
            this.divGavetaContainer.addCss(css.setTop(50));
            this.divGavetaContainer.addCss(css.setWidth(100, "%"));

            this.divPesquisa.addCss(css.setPosition("absolute"));
            this.divPesquisa.addCss(css.setTop(0));
            this.divPesquisa.addCss(css.setWidth(100, "%"));

            this.txtPesquisa.limparClass();

            this.txtPesquisa.addCss(css.setBorder(0));
            this.txtPesquisa.addCss(css.setCenter());
            this.txtPesquisa.addCss(css.setDisplay("block"));
            this.txtPesquisa.addCss(css.setFontSize(18));
            this.txtPesquisa.addCss(css.setHeight(29));
            this.txtPesquisa.addCss(css.setPaddingLeft(10));
            this.txtPesquisa.addCss(css.setPaddingRight(10));
            this.txtPesquisa.addCss(css.setPosition("relative"));
            this.txtPesquisa.addCss(css.setTop(9));
            this.txtPesquisa.addCss(css.setWidth(350));
        }
Exemplo n.º 5
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("#f7f7f7"));
            this.addCss(css.setBorder(1, "solid", AppWebBase.i.objTema.corFundoBorda));
            this.addCss(css.setDisplay("none"));
            this.addCss(css.setFloat("left"));
            this.addCss(css.setMarginBottom(5));
            this.addCss(css.setMarginRight(5));

            this.divFechar.addCss(css.setBackgroundColor("#dddddd"));
            this.divFechar.addCss(css.setBackgroundImage("/res/media/png/btn_limpar_25x25.png"));
            this.divFechar.addCss(css.setBorderLeft(1, "solid", AppWebBase.i.objTema.corFundoBorda));
            this.divFechar.addCss(css.setCursor("pointer"));
            this.divFechar.addCss(css.setFloat("right"));
            this.divFechar.addCss(css.setHeight(25));
            this.divFechar.addCss(css.setWidth(25));

            this.divTagNome.addCss(css.setFloat("left"));
            this.divTagNome.addCss(css.setLineHeight(22));
            this.divTagNome.addCss(css.setPaddingLeft(10));
            this.divTagNome.addCss(css.setPaddingRight(10));
        }