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

            this.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTema));
            this.addCss(css.setBoxShadow(0, 2, 2, 0, "rgba(0,0,0,.5)"));
            this.addCss(css.setColor(AppWebBase.i.objTema.corFonteTema));
            this.addCss(css.setHeight(50, "px"));
            this.addCss(css.setLeft(0));
            this.addCss(css.setPosition("fixed"));
            this.addCss(css.setRight(0));
            this.addCss(css.setTop(0));
            this.addCss(css.setWidth(100, "%"));
            this.addCss(css.setZIndex(1000));

            this.btnSubMenu.addCss(css.setBackgroundImage(this.getUrlBtnSubMenuIcon()));
            this.btnSubMenu.addCss(css.setDisplay("none"));
            this.btnSubMenu.addCss(css.setFloat("right"));

            this.setCssBtnMenu(css);

            this.setCssBtnVoltar(css);

            this.divLinha.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corFonteTema));
            this.divLinha.addCss(css.setFloat("left"));
            this.divLinha.addCss(css.setHeight(30));
            this.divLinha.addCss(css.setMarginLeft(5));
            this.divLinha.addCss(css.setMarginTop(10));
            this.divLinha.addCss(css.setWidth(1));

            this.divTitulo.addCss(css.setFloat("left"));
            this.divTitulo.addCss(css.setFontSize(25));
            this.divTitulo.addCss(css.setLineHeight(50));
            this.divTitulo.addCss(css.setPaddingLeft(10));
        }
Exemplo n.º 3
0
Arquivo: Card.cs Projeto: digovc/Web
        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)"));
        }
Exemplo n.º 4
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.º 5
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.º 6
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTelaFundo));
            this.addCss(css.setBackgroundImage("/res/media/png/bnt_favorito_desmarcado_30x30.png"));
            this.addCss(css.setBackgroundPosition("center"));
            this.addCss(css.setBackgroundRepeat("no-repeat"));
            this.addCss(css.setBackgroundSize("20px 20px"));
            this.addCss(css.setBoxShadow(0, 0, 0, 0, null));
            this.addCss(css.setMarginLeft(5));
            this.addCss(css.setMarginRight(5));
            this.addCss(css.setMarginTop(4));
        }
Exemplo n.º 7
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()));
        }
Exemplo n.º 8
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.º 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));
        }