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

            this.divTextoMissao.addCss(css.setColor("grey"));
            this.divTextoMissao.addCss(css.setFontSize(5, "vw"));

            this.divResultado.addCss(css.setFontSize(7, "vw"));
            this.divResultado.addCss(css.setMarginTop(-5, "vh"));
            this.divResultado.addCss(css.setPaddingLeft(5, "vw"));
        }
예제 #2
0
파일: CampoHtmlBase.cs 프로젝트: digovc/Web
        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);
        }
예제 #3
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setZIndex(2));

            this.addCss(css.setBackgroundColor("#e3e3e3"));
            this.addCss(css.setBottom(0));
            this.addCss(css.setMaxWidth(250));
            this.addCss(css.setMinWidth(250));
            this.addCss(css.setPosition("fixed"));
            this.addCss(css.setTop(50));

            this.divConteudo.addCss(css.setBottom(75));
            this.divConteudo.addCss(css.setOverflow("auto"));
            this.divConteudo.addCss(css.setPosition("absolute"));
            this.divConteudo.addCss(css.setTop(40));
            this.divConteudo.addCss(css.setWidth(100, "%"));

            this.divTitulo.addCss(css.setBackgroundColor("#cecece"));
            this.divTitulo.addCss(css.setFontSize(20));
            this.divTitulo.addCss(css.setFontWeight("bold"));
            this.divTitulo.addCss(css.setHeight(40));
            this.divTitulo.addCss(css.setLineHeight(36));
            this.divTitulo.addCss(css.setPaddingLeft(10));
        }
예제 #4
0
파일: CampoConsulta.cs 프로젝트: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.btnLimpar.addCss(this.btnAcao);

            this.btnPesquisar.addCss(this.btnAcao);

            this.btnPesquisar.addCss(css.setBackgroundImage(AppWebBase.DIR_MEDIA_SVG + "search.svg"));
            this.btnPesquisar.addCss(css.setDisplay("block"));

            this.cmb.addCss(css.setDisplay("none"));

            this.divIntId.addCss(css.setBorder("none"));
            this.divIntId.addCss(css.setBorderRight(1, "solid", "white"));
            this.divIntId.addCss(css.setDisplay("none"));
            this.divIntId.addCss(css.setLineHeight(30));
            this.divIntId.addCss(css.setMarginTop(5));
            this.divIntId.addCss(css.setOverflow("hidden"));
            this.divIntId.addCss(css.setPaddingLeft(15));
            this.divIntId.addCss(css.setPaddingRight(5));
            this.divIntId.addCss(css.setTextAlign("right"));
            this.divIntId.addCss(css.setWidth(50));

            this.txtPesquisa.addCss(css.setBackground("none"));
            this.txtPesquisa.addCss(css.setBorder(0));
            this.txtPesquisa.addCss(css.setColor("grey"));
            this.txtPesquisa.addCss(css.setColor(AppWebBase.i.objTema.corFonte));
            this.txtPesquisa.addCss(css.setFontSize(15));
            this.txtPesquisa.addCss(css.setLineHeight(37));
            this.txtPesquisa.addCss(css.setOutline("none"));
            this.txtPesquisa.addCss(css.setTextIndent(5));
            this.txtPesquisa.addCss(css.setWidth(245));
        }
예제 #5
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));
        }
예제 #6
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, "%"));
        }
예제 #7
0
파일: DivDica.cs 프로젝트: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setFontSize(12));
            this.addCss(css.setPaddingTop(8));
            this.addCss(css.setTextAlign("center"));
        }
예제 #8
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setFontFamily("monospace"));
            this.addCss(css.setFontSize(1, "vw"));
            this.addCss(css.setOverflow("hidden"));
        }
예제 #9
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"));
        }
예제 #10
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));
        }
예제 #11
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"));
        }
예제 #12
0
파일: CampoAnexo.cs 프로젝트: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.btnDownload.addCss(css.setBackgroundImage("/res/media/png/btn_download_30x30.png"));

            this.btnPesquisar.addCss(css.setBackgroundImage("/res/media/png/btn_pesquisar_30x30.png"));

            this.divArquivoTamanho.addCss(css.setFontSize(12));

            this.divIcone.addCss(css.setBackgroundImage("/res/media/png/file_100x100.png"));
            this.divIcone.addCss(css.setBackgroundPosition("center"));
            this.divIcone.addCss(css.setBackgroundRepeat("no-repeat"));
            this.divIcone.addCss(css.setColor(AppWebBase.i.objTema.corTema));
            this.divIcone.addCss(css.setDisplay("none"));
            this.divIcone.addCss(css.setFontSize(20));
            this.divIcone.addCss(css.setFontWeight("bold"));
            this.divIcone.addCss(css.setHeight(170));
            this.divIcone.addCss(css.setLineHeight(170));

            this.divProgressBar.addCss(css.setDisplay("none"));
            this.divProgressBar.addCss(css.setMarginLeft(150));
            this.divProgressBar.addCss(css.setMarginRight(150));
        }
예제 #13
0
파일: MenuItem.cs 프로젝트: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setCursor("pointer"));
            this.addCss(css.setFontFamily("ubuntu"));
            this.addCss(css.setFontStyle("ligth"));
            this.addCss(css.setOutline("none"));

            this.setCssPai(css);
            this.setCssFilho(css);

            this.divItemConteudo.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTelaFundo));
            this.divItemConteudo.addCss(css.setDisplay("none"));
            this.divItemConteudo.addCss(css.setFontSize(14));
        }
예제 #14
0
파일: Mensagem.cs 프로젝트: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setColor("white"));
            this.addCss(css.setTextAlign("left"));

            this.btnCancelar.addCss(css.setBackgroundImage("/res/media/png/btn_cancelar_30x30.png"));
            this.btnCancelar.addCss(css.setDisplay("none"));
            this.btnCancelar.addCss(css.setFloat("right"));
            this.btnCancelar.addCss(css.setMarginRight(10));
            this.btnCancelar.addCss(css.setMarginTop(7));

            this.btnConfirmar.addCss(css.setBackgroundImage("/res/media/png/btn_salvar_40x40.png"));
            this.btnConfirmar.addCss(css.setFloat("right"));

            this.divComando.addCss(css.setBottom(0));
            this.divComando.addCss(css.setHeight(50));
            this.divComando.addCss(css.setLeft(15));
            this.divComando.addCss(css.setPosition("absolute"));
            this.divComando.addCss(css.setRight(15));

            this.divContainer.addCss(css.setCenter());
            this.divContainer.addCss(css.setHeight(250));
            this.divContainer.addCss(css.setMaxWidth(500));
            this.divContainer.addCss(css.setPaddingLeft(15));
            this.divContainer.addCss(css.setPaddingRight(15));
            this.divContainer.addCss(css.setPosition("relative"));

            this.divContainerFaixa.addCss(css.setBackgroundColor("#607C60"));
            this.divContainerFaixa.addCss(css.setHeight(250));
            this.divContainerFaixa.addCss(css.setLeft(0));
            this.divContainerFaixa.addCss(css.setPosition("absolute"));
            this.divContainerFaixa.addCss(css.setRight(0));
            this.divContainerFaixa.addCss(css.setTop(35, "vh"));

            this.divMensagem.addCss(css.setHeight(125));
            this.divMensagem.addCss(css.setOverflow("auto"));
            this.divMensagem.addCss(css.setPadding(10));
            this.divMensagem.addCss(css.setWordWrap("break-word"));

            this.divTitulo.addCss(css.setFontSize(25));
            this.divTitulo.addCss(css.setPaddingBottom(10));
            this.divTitulo.addCss(css.setPaddingTop(10));
        }
예제 #15
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));
        }