예제 #1
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, "%"));
        }
예제 #2
0
파일: EmailRegistro.cs 프로젝트: digovc/Web
        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));
        }
예제 #3
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            //this.addCss(css.setDisplay("none"));
            this.addCss(css.setMarginBottom(5, "vh"));
        }
예제 #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));
        }
예제 #5
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));
        }
예제 #6
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBorder());

            if (!this.booUltimo)
            {
                this.addCss(css.setMarginBottom(1, "vh"));
            }

            this.divInputContainer.addCss(css.setBorderTop());

            this.divNome.addCss(css.setPaddingLeft(1, "vh"));

            this.txt.addCss(css.setBorder(0));
            this.txt.addCss(css.setOutline("none"));
            this.txt.addCss(css.setTextAlign("center"));
            this.txt.addCss(css.setWidth(100, "%"));
        }
예제 #7
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

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

            this.divConteudo.addCss(css.setBackgroundColor("rgba(0,0,0,0.75)"));
            this.divConteudo.addCss(css.setHeight(12, "vw"));
            this.divConteudo.addCss(css.setMarginBottom(-12, "vw"));

            this.divNome.addCss(css.setColor("white"));
            this.divNome.addCss(css.setFontSize(5, "vw"));
            this.divNome.addCss(css.setMarginLeft(7, "vw"));
            this.divNome.addCss(css.setMarginTop(-4, "vw"));

            this.divTextoMissao.addCss(css.setColor("grey"));
            this.divTextoMissao.addCss(css.setFontSize(7, "vw"));
            this.divTextoMissao.addCss(css.setMarginLeft(5, "vw"));
        }
예제 #8
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));
        }
예제 #9
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("rgba(0,0,0,0.75)"));
            this.addCss(css.setDisplay("none"));
            this.addCss(css.setHeight(100, "%"));
            this.addCss(css.setPosition("fixed"));
            this.addCss(css.setTop(0));
            this.addCss(css.setWidth(100, "%"));

            this.divCabecalho.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTema));
            this.divCabecalho.addCss(css.setBoxShadow(0, 0, 15, 0, "black"));
            this.divCabecalho.addCss(css.setHeight(150));
            this.divCabecalho.addCss(css.setMarginBottom(25));
            this.divCabecalho.addCss(css.setWidth(100, "%"));

            this.divConteudo.addCss(css.setBackgroundColor("white"));
            this.divConteudo.addCss(css.setHeight(100, "%"));
            this.divConteudo.addCss(css.setMaxWidth(250));
            this.divConteudo.addCss(css.setMinWidth(250));

            this.divItemConteudo.addCss(css.setPadding(10));
        }