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

            this.addCss(css.setCursor("pointer"));

            this.divContainer.addCss(css.setBackgroundColor("white"));
            this.divContainer.addCss(css.setBorder(1, "solid", "gray"));
            this.divContainer.addCss(css.setBorderRadius(20));
            this.divContainer.addCss(css.setFloat("left"));
            this.divContainer.addCss(css.setHeight(34));
            this.divContainer.addCss(css.setMarginLeft(-18));
            this.divContainer.addCss(css.setMarginRight(10));
            this.divContainer.addCss(css.setMarginTop(2));
            this.divContainer.addCss(css.setPosition("relative"));
            this.divContainer.addCss(css.setWidth(70));

            this.divSeletor.addCss(css.setBackgroundColor("rgb(160,160,160)"));
            this.divSeletor.addCss(css.setBorderRadius(50, "%"));
            this.divSeletor.addCss(css.setHeight(32));
            this.divSeletor.addCss(css.setLeft(1));
            this.divSeletor.addCss(css.setPosition("absolute"));
            this.divSeletor.addCss(css.setTop(1));
            this.divSeletor.addCss(css.setWidth(32));

            this.divTitulo.addCss(css.setLineHeight(34));
            this.divTitulo.addCss(css.setPaddingLeft(25));
            this.divTitulo.addCss(css.setPaddingTop(2));
            this.divTitulo.addCss(css.setTextAlign("left"));
            this.divTitulo.addCss(css.setWidth(100, "%"));
        }
Exemple #2
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("lightgrey"));
            this.addCss(css.setBorderRadius(1, "vw"));
            this.addCss(css.setHeight(5, "vh"));

            this.divNivelAtual.addCss(css.setBackgroundColor("rgba(95,95,95,0.5)"));
            this.divNivelAtual.addCss(css.setBorderRadius(50, "%"));
            this.divNivelAtual.addCss(css.setFontSize(3, "vw"));
            this.divNivelAtual.addCss(css.setHeight(5, "vw"));
            this.divNivelAtual.addCss(css.setLineHeight(5, "vw"));
            this.divNivelAtual.addCss(css.setTextAlign("center"));
            this.divNivelAtual.addCss(css.setWidth(5, "vw"));

            this.divNivelProximo.addCss(this.divNivelAtual);

            this.divNivelAtual.addCss(css.setFloat("left"));
            this.divNivelProximo.addCss(css.setFloat("right"));

            this.divProgresso.addCss(css.setBackgroundColor("gray"));
            this.divProgresso.addCss(css.setBorderRadius(1, "vw"));
            this.divProgresso.addCss(css.setHeight(100, "%"));
            this.divProgresso.addCss(css.setMarginBottom(2, "vh"));
            this.divProgresso.addCss(css.setWidth(10, "%"));
        }
Exemple #3
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("#cecece"));
            this.addCss(css.setBottom(0));
            this.addCss(css.setLeft(0));
            this.addCss(css.setPadding(10));
            this.addCss(css.setPosition("absolute"));
            this.addCss(css.setRight(0));

            this.btnRegistrar.addCss(css.setBorderRadius(0, 15, 15, 0));
            this.btnRegistrar.addCss(css.setBottom(10));
            this.btnRegistrar.addCss(css.setBoxShadow(0, 0, 0, 0));
            this.btnRegistrar.addCss(css.setHeight(27));
            this.btnRegistrar.addCss(css.setOutline("none"));
            this.btnRegistrar.addCss(css.setPosition("absolute"));
            this.btnRegistrar.addCss(css.setRight(12));

            this.divTitulo.addCss(css.setMarginBottom(10));
            this.divTitulo.addCss(css.setTextAlign("center"));

            this.txtEmail.addCss(css.setBorder(0));
            this.txtEmail.addCss(css.setBorderRadius(15));
            this.txtEmail.addCss(css.setBoxShadow(0, 0, 5, 0));
            this.txtEmail.addCss(css.setLineHeight(25));
            this.txtEmail.addCss(css.setOutline("none"));
            this.txtEmail.addCss(css.setPaddingLeft(10));
            this.txtEmail.addCss(css.setWidth(218));
        }
Exemple #4
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));
        }
Exemple #5
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.setCssWidth(css);

            this.addCss(css.setFloat(this.booDireita ? "right" : "left"));
            this.addCss(css.setHeight(100, "%"));
            this.addCss(css.setMaxHeight(65));
            this.addCss(css.setPaddingLeft(10));
            this.addCss(css.setPaddingRight(10));
            this.addCss(css.setPosition((EnmTamanho.TOTAL.Equals(this.enmTamanho)) ? "absolute" : "relative"));

            this.btnAcao.addCss(css.setBackgroundColor("rgba(255,255,255,.5)"));
            this.btnAcao.addCss(css.setBackgroundPosition("center"));
            this.btnAcao.addCss(css.setBackgroundPositionX(-2));
            this.btnAcao.addCss(css.setBorderRadius(0, 20, 20, 0));
            this.btnAcao.addCss(css.setDisplay("none"));
            this.btnAcao.addCss(css.setHeight(100, "%"));
            this.btnAcao.addCss(css.setWidth(40));

            this.divAreaDireita.addCss(css.setFloat("right"));
            this.divAreaDireita.addCss(css.setHeight(100, "%"));
            this.divAreaDireita.addCss(css.setMinWidth(20));

            this.divAreaEsquerda.addCss(css.setFloat("left"));
            this.divAreaEsquerda.addCss(css.setHeight(100, "%"));
            this.divAreaEsquerda.addCss(css.setMinWidth(20));

            this.divConteudo.addCss(css.setBackgroundColor("rgba(255,255,255,.15)"));
            this.divConteudo.addCss(css.setBorderRadius(20));
            this.divConteudo.addCss(css.setBorderRadius(20));
            this.divConteudo.addCss(css.setFontSize(15));
            this.divConteudo.addCss(css.setHeight(40));
            this.divConteudo.addCss(css.setMarginLeft(10));
            this.divConteudo.addCss(css.setMarginRight(10));
            this.divConteudo.addCss(css.setTextAlign("left"));

            this.divTitulo.addCss(css.setFontSize(14));
            this.divTitulo.addCss(css.setLineHeight(20));
            this.divTitulo.addCss(css.setOpacity(0));
            this.divTitulo.addCss(css.setTextAlign("left"));
            this.divTitulo.addCss(css.setTextIndent(15));

            this.tagInput.addCss(css.setBackground("none"));
            this.tagInput.addCss(css.setBorder(0));
            this.tagInput.addCss(css.setColor(AppWebBase.i.objTema.corFonte));
            this.tagInput.addCss(css.setFontSize(15));
            this.tagInput.addCss(css.setOutline("none"));

            this.setCssTagInputHeight(css);
            this.setCssTagInputWidth(css);
        }
Exemple #6
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corFundo1));
            this.addCss(css.setBorderRadius(5));
            this.addCss(css.setHeight(5));

            this.divProgresso.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTema));
            this.divProgresso.addCss(css.setBorderRadius(5));
            this.divProgresso.addCss(css.setHeight(100, "%"));
        }
Exemple #7
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBorderRadius(2));
            this.addCss(css.setBoxShadow(0, 2, 2, 0, "rgba(0,0,0,.5)"));
        }
Exemple #8
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("rgba(255,255,255,.15)"));
            this.addCss(css.setBorderRadius(0, 0, 5, 5));
            this.addCss(css.setHeight(DivGridBase.INT_LINHA_TAMANHO_VERTICAL));
        }
Exemple #9
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBorderRadius(50, "%"));
            this.addCss(css.setOutline("none"));

            this.setCssEnmTamanho(css);
        }
Exemple #10
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("rgba(255,255,255,.15)"));
            this.addCss(css.setBorderRadius(5));
            this.addCss(css.setDisplay("none"));
            this.addCss(css.setMarginLeft(5));
            this.addCss(css.setMarginRight(5));
        }
Exemple #11
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundPosition("center"));
            this.addCss(css.setBackgroundRepeat("no-repeat"));
            this.addCss(css.setBackgroundSize((this.getIntTamanho() * .75).ToString("0px")));
            this.addCss(css.setBorderRadius(50, "%"));
            this.addCss(css.setBoxShadow(0, 2, 2, 0, "rgba(0,0,0,.5)"));
            this.addCss(css.setHeight(this.getIntTamanho()));
            this.addCss(css.setOutline("none"));
            this.addCss(css.setTextAlign("center"));
            this.addCss(css.setWidth(this.getIntTamanho()));
        }
Exemple #12
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setMarginTop(1, "vh"));
            this.addCss(css.setPosition("relative"));
            this.addCss(css.setTextAlign("right"));

            this.divConteudo.addCss(css.setBackgroundColor("rgba(0,0,0,0.5)"));
            this.divConteudo.addCss(css.setBorderRadius(50));
            this.divConteudo.addCss(css.setFloat("right"));
            this.divConteudo.addCss(css.setHeight(4, "vh"));
            this.divConteudo.addCss(css.setLineHeight(2, "vh"));
            this.divConteudo.addCss(css.setPaddingLeft(3, "vw"));
            this.divConteudo.addCss(css.setPaddingRight(2, "vw"));
            this.divConteudo.addCss(css.setPosition("relative"));

            this.divIcone.addCss(css.setBackgroundColor("rgba(0,0,0,0.25)"));
            this.divIcone.addCss(css.setBorderRadius(50, "%"));
            this.divIcone.addCss(css.setHeight(100, "%"));
            this.divIcone.addCss(css.setLeft(0));
            this.divIcone.addCss(css.setPosition("absolute"));
            this.divIcone.addCss(css.setWidth(4, "vh"));
        }
Exemple #13
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));
        }
Exemple #14
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("white"));
            this.addCss(css.setCursor("pointer"));
            this.addCss(css.setHeight(50));
            this.addCss(css.setMarginBottom(10));
            this.addCss(css.setWidth(100, "%"));

            this.divIcone.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTema));
            this.divIcone.addCss(css.setBorderRadius(50, "%"));
            this.divIcone.addCss(css.setFloat("left"));
            this.divIcone.addCss(css.setHeight(50));
            this.divIcone.addCss(css.setMarginRight(10));
            this.divIcone.addCss(css.setWidth(50));

            this.divTitulo.addCss(css.setLineHeight(50));
        }
Exemple #15
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.divCirculo.addCss(css.setBackgroundColor(this.getStrDivCor()));
            this.divCirculo.addCss(css.setBorderRadius(50, "%"));
            this.divCirculo.addCss(css.setFloat("left"));
            this.divCirculo.addCss(css.setFontSize(this.getIntDivCirculoFontSize(), "vw"));
            this.divCirculo.addCss(css.setHeight(8, "vw"));
            this.divCirculo.addCss(css.setLineHeight(8, "vw"));
            this.divCirculo.addCss(css.setMarginRight(5, "vw"));
            //this.divCirculo.addCss(css.setPadding(10));
            this.divCirculo.addCss(css.setTextAlign("center"));
            this.divCirculo.addCss(css.setWidth(8, "vw"));

            this.divValor.addCss(css.setColor(this.getStrDivCor()));
            this.divValor.addCss(css.setFontSize(8, "vw"));
            this.divValor.addCss(css.setLineHeight(8, "vw"));
        }
Exemple #16
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setHeight(INT_TAMANHO));
            this.addCss(css.setMarginTop(10));
            this.addCss(css.setPosition("relative"));

            this.divUsuarioNome.addCss(css.setBackgroundColor("#58b296"));
            this.divUsuarioNome.addCss(css.setCursor("pointer"));
            this.divUsuarioNome.addCss(css.setHeight(100, "%"));
            this.divUsuarioNome.addCss(css.setLeft(25));
            this.divUsuarioNome.addCss(css.setPosition("absolute"));
            this.divUsuarioNome.addCss(css.setRight(0));

            this.imgPerfil.addCss(css.setBackgroundColor("#009688"));
            this.imgPerfil.addCss(css.setBorderRadius(50, "%"));
            this.imgPerfil.addCss(css.setCursor("pointer"));
            this.imgPerfil.addCss(css.setHeight(INT_TAMANHO));
            this.imgPerfil.addCss(css.setPosition("absolute"));
            this.imgPerfil.addCss(css.setWidth(INT_TAMANHO));
            this.imgPerfil.addCss(css.setZIndex(1));
        }