示例#1
0
文件: JnlConsulta.cs 项目: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corFundo));
            this.addCss(css.setBottom(0));
            this.addCss(css.setLeft(0));
            this.addCss(css.setPosition("absolute"));
            this.addCss(css.setRight(0));
            this.addCss(css.setTop(0));

            this.btnFavorito.addCss(css.setFloat("left"));

            this.divTableConteudo.addCss(css.setBottom(0));
            this.divTableConteudo.addCss(css.setLeft(0));
            this.divTableConteudo.addCss(css.setOverflow("auto"));
            this.divTableConteudo.addCss(css.setPosition("absolute"));
            this.divTableConteudo.addCss(css.setRight(0));
            this.divTableConteudo.addCss(css.setTop(190));

            this.pnlAcaoConsulta.addCss(css.setBottom(25));
            this.pnlAcaoConsulta.addCss(css.setDisplay("none"));
            this.pnlAcaoConsulta.addCss(css.setRight(50));

            this.setCssCmbStrViewNome(css);
        }
示例#2
0
文件: DivComando.cs 项目: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.btnEsquerda.addCss(css.setBackgroundImage("/res/media/png/btn_voltar_30x30.png"));
            this.btnEsquerda.addCss(css.setDisplay("none"));
            this.btnEsquerda.addCss(css.setLeft(10));
            this.btnEsquerda.addCss(css.setPosition("absolute"));
            this.btnEsquerda.addCss(css.setTop(10));

            this.btnDireita.addCss(css.setBackgroundImage("/res/media/png/btn_avancar_30x30.png"));
            this.btnDireita.addCss(css.setDisplay("none"));
            this.btnDireita.addCss(css.setLeft(50));
            this.btnDireita.addCss(css.setPosition("absolute"));
            this.btnDireita.addCss(css.setTop(10));

            this.btnAdicionar.addCss(css.setBackgroundImage("/res/media/png/btn_adicionar_30x30.png"));
            this.btnAdicionar.addCss(css.setDisplay("none"));
            this.btnAdicionar.addCss(css.setPosition("absolute"));
            this.btnAdicionar.addCss(css.setRight(55));
            this.btnAdicionar.addCss(css.setTop(10));

            this.btnSalvar.addCss(css.setBackgroundImage("/res/media/png/btn_salvar_40x40.png"));
            this.btnSalvar.addCss(css.setPosition("absolute"));
            this.btnSalvar.addCss(css.setRight(5));
            this.btnSalvar.addCss(css.setTop(5));

            this.btnTag.addCss(css.setBackgroundImage("/res/media/png/btn_tag_30x30.png"));
            this.btnTag.addCss(css.setDisplay("none"));
            this.btnTag.addCss(css.setPosition("absolute"));
            this.btnTag.addCss(css.setRight(95));
            this.btnTag.addCss(css.setTop(10));
        }
示例#3
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

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

            this.divCabecalho.addCss(css.setHeight(25));

            this.divNodeContainer.addCss(css.setMarginLeft(10));

            this.divIcone.addCss(css.setBackgroundImage("/res/media/png/tree_view_icon_default.png"));
            this.divIcone.addCss(css.setHeight(25));
            this.divIcone.addCss(css.setLeft(10));
            this.divIcone.addCss(css.setPosition("absolute"));
            this.divIcone.addCss(css.setWidth(25));

            this.divSeta.addCss(css.setHeight(100, "%"));
            this.divSeta.addCss(css.setPosition("absolute"));
            this.divSeta.addCss(css.setWidth(10));

            this.divTitulo.addCss(css.setLineHeight(25));
            this.divTitulo.addCss(css.setLeft(35));
            this.divTitulo.addCss(css.setPosition("absolute"));
        }
示例#4
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));
        }
示例#5
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.divContainer.addCss(css.setHeight(150));
            this.divContainer.addCss(css.setPadding(10));
            this.divContainer.addCss(css.setPosition("relative"));
            this.divContainer.addCss(css.setWidth(380));

            this.divTagConteudo.addCss(css.setBackgroundColor("white"));
            this.divTagConteudo.addCss(css.setBorder(1, "solid", AppWebBase.i.objTema.corFundoBorda));
            this.divTagConteudo.addCss(css.setBottom(10));
            this.divTagConteudo.addCss(css.setLeft(10));
            this.divTagConteudo.addCss(css.setOverflowX("auto"));
            this.divTagConteudo.addCss(css.setPadding(5));
            this.divTagConteudo.addCss(css.setPosition("absolute"));
            this.divTagConteudo.addCss(css.setRight(10));
            this.divTagConteudo.addCss(css.setTop(10));

            this.tagInputTag.addCss(css.setBorder(0));
            this.tagInputTag.addCss(css.setHeight(15));
            this.tagInputTag.addCss(css.setMinWidth(50));
            this.tagInputTag.addCss(css.setOutline("none"));
            this.tagInputTag.addCss(css.setPadding(7));
            this.tagInputTag.addCss(css.setPaddingLeft(10));
            this.tagInputTag.addCss(css.setPaddingRight(10));
        }
示例#6
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setMinHeight(10));
            this.addCss(css.setPosition("relative"));

            this.divBarra.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTema));
            this.divBarra.addCss(css.setBackgroundImage("/res/media/png/btn_ocultar_filtro_40x40.png"));
            this.divBarra.addCss(css.setBackgroundPosition("center"));
            this.divBarra.addCss(css.setBackgroundRepeat("no-repeat"));
            this.divBarra.addCss(css.setBackgroundSize("contain"));
            this.divBarra.addCss(css.setBottom(0));
            this.divBarra.addCss(css.setCursor("pointer"));
            this.divBarra.addCss(css.setHeight(10));
            this.divBarra.addCss(css.setLineHeight(10));
            this.divBarra.addCss(css.setPosition("absolute"));
            this.divBarra.addCss(css.setWidth(100, "%"));

            this.pnlCondicao.addCss(css.setLeft(220));
            this.pnlCondicao.addCss(css.setPosition("absolute"));
            this.pnlCondicao.addCss(css.setRight(0));

            this.pnlSelecao.addCss(css.setFloat("left"));
        }
示例#7
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));
        }
示例#8
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, "%"));
        }
示例#9
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));
        }
示例#10
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.divCadastro.addCss(css.setBackgroundColor("rgba(0,0,0,.5)"));
            this.divCadastro.addCss(css.setBottom(0));
            this.divCadastro.addCss(css.setDisplay("none"));
            this.divCadastro.addCss(css.setLeft(0));
            this.divCadastro.addCss(css.setPosition("absolute"));
            this.divCadastro.addCss(css.setRight(0));
            this.divCadastro.addCss(css.setTop(50));

            this.divConsulta.addCss(css.setBottom(0));
            this.divConsulta.addCss(css.setDisplay("none"));
            this.divConsulta.addCss(css.setLeft(0));
            this.divConsulta.addCss(css.setPosition("absolute"));
            this.divConsulta.addCss(css.setRight(0));
            this.divConsulta.addCss(css.setTop(50));
        }
示例#11
0
文件: DivFavorito.cs 项目: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBottom(0));
            this.addCss(css.setLeft(0));
            this.addCss(css.setPosition("absolute"));
            this.addCss(css.setRight(0));
            this.addCss(css.setTop(0));
            this.addCss(css.setZIndex(-1));

            this.divContainer.addCss(css.setBottom(0));
            this.divContainer.addCss(css.setCenter());
            this.divContainer.addCss(css.setHeight(380));
            this.divContainer.addCss(css.setLeft(0));
            this.divContainer.addCss(css.setPosition("absolute"));
            this.divContainer.addCss(css.setRight(0));
            this.divContainer.addCss(css.setTop(0));
            this.divContainer.addCss(css.setWidth(380));
        }
示例#12
0
文件: PainelModal.cs 项目: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("rgba(0,0,0,.5)"));
            this.addCss(css.setBottom(0));
            this.addCss(css.setDisplay("none"));
            this.addCss(css.setLeft(0));
            this.addCss(css.setPosition("fixed"));
            this.addCss(css.setRight(0));
            this.addCss(css.setTop(0));
            this.addCss(css.setZIndex(1000));
        }
示例#13
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor(AppPicPay.i.objTema.corPrimariaEscura));
            this.addCss(css.setBottom(0));
            this.addCss(css.setLeft(0));
            this.addCss(css.setPosition("absolute"));
            this.addCss(css.setRight(0));
            this.addCss(css.setZIndex(-1));

            this.divCopyright.addCss(css.setColor(AppPicPay.i.objTema.corTextoPrimaria));
            this.divCopyright.addCss(css.setFontSizeSmall());
            this.divCopyright.addCss(css.setLineHeight(30));
            this.divCopyright.addCss(css.setMarginRight(10));
            this.divCopyright.addCss(css.setTextAlign("center"));
        }
示例#14
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBottom(0));
            this.addCss(css.setLeft(0));
            this.addCss(css.setOverflow("auto"));
            this.addCss(css.setRight(0));
            this.addCss(css.setPaddingBottom(50));
            this.addCss(css.setPaddingTop(50));
            this.addCss(css.setZIndex(1));

            this.divMarkdown.addCss(css.setDisplay("none"));
            this.divMarkdown.addCss(css.setMargin("auto"));
            this.divMarkdown.addCss(css.setMaxWidth(640));
            this.divMarkdown.addCss(css.setPadding(15));
        }
示例#15
0
文件: Notificacao.cs 项目: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("#c5e1a5"));
            this.addCss(css.setBottom(0));
            this.addCss(css.setColor("black"));
            this.addCss(css.setDisplay("none"));
            this.addCss(css.setLeft(0));
            this.addCss(css.setPadding(10));
            this.addCss(css.setPosition("fixed"));
            this.addCss(css.setRight(0));

            this.divOk.addCss(css.setBackground("none"));
            this.divOk.addCss(css.setFloat("right"));
            this.divOk.addCss(css.setFontWeight("bold"));
            this.divOk.addCss(css.setHeight(100, "%"));
            this.divOk.addCss(css.setPaddingLeft(10));
            this.divOk.addCss(css.setPaddingRight(10));
        }
示例#16
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setFloat("left"));
            this.addCss(css.setHeight(32, "%"));
            this.addCss(css.setPosition("relative"));
            this.addCss(css.setWidth(32, "%"));

            this.divTitulo.addCss(css.setBottom(0));
            this.divTitulo.addCss(css.setColor(AppWebBase.i.objTema.corTelaFundo));
            this.divTitulo.addCss(css.setCursor("pointer"));
            this.divTitulo.addCss(css.setLeft(0));
            this.divTitulo.addCss(css.setPosition("absolute"));
            this.divTitulo.addCss(css.setRight(0));
            this.divTitulo.addCss(css.setTextAlign("center"));

            this.imgIcone.addCss(css.setCursor("pointer"));
            this.imgIcone.addCss(css.setHeight(75, "%"));
            this.imgIcone.addCss(css.setMargin(12.5m, "%"));
            this.imgIcone.addCss(css.setWidth(75, "%"));
        }
示例#17
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));
        }
示例#18
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            //this.addCss(css.setBackgroundImage("url(http://media.gtanet.com/gta-5/images/content/gta-v-facts-4.jpg)"));
            //this.addCss(css.setBackgroundRepeat("no-repeat"));
            this.addCss(css.setColor("white"));
            //this.addCss(css.setFontSize(20));
            this.addCss(css.setFontWeight("bold"));

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

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

            this.divConteudo.addCss(css.setBottom(INT_ESPACAMENTO));
            this.divConteudo.addCss(css.setLeft(INT_ESPACAMENTO));
            this.divConteudo.addCss(css.setPosition("absolute"));
            this.divConteudo.addCss(css.setRight(INT_ESPACAMENTO));
            this.divConteudo.addCss(css.setTop(INT_ESPACAMENTO));
        }
示例#19
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"));
        }
示例#20
0
 private void setCssWidthTotal(CssArquivoBase css)
 {
     this.addCss(css.setLeft(0));
     this.addCss(css.setRight(0));
 }