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

            this.addCss(css.setDisplay("none"));
            this.addCss(css.setMinWidth(500));
        }
Ejemplo n.º 3
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, "%"));
        }
Ejemplo n.º 4
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"));
        }
Ejemplo n.º 5
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            //this.addCss(css.setDisplay("none"));
            this.addCss(css.setMarginBottom(5, "vh"));
        }
Ejemplo n.º 6
0
        private void setCssCln(CssArquivoBase css)
        {
            if (this.cln == null)
            {
                return;
            }

            if (this.cln.lstKvpOpcao.Count > 0)
            {
                this.setCssClnAlfanumerico(css);
                return;
            }

            switch (this.cln.enmGrupo)
            {
            case Coluna.EnmGrupo.ALFANUMERICO:
                this.setCssClnAlfanumerico(css);
                return;

            case Coluna.EnmGrupo.NUMERICO_INTEIRO:
            case Coluna.EnmGrupo.NUMERICO_PONTO_FLUTUANTE:
                this.setCssClnNumerico(css);
                return;
            }
        }
Ejemplo n.º 7
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));
        }
Ejemplo n.º 8
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setDisplay("inline-flex"));
            this.addCss(css.setLineHeight(DivGridBase.INT_LINHA_TAMANHO_VERTICAL));
        }
Ejemplo n.º 9
0
        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);
        }
Ejemplo n.º 10
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));
        }
Ejemplo n.º 11
0
        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));
        }
Ejemplo n.º 12
0
        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));
        }
Ejemplo n.º 13
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));
        }
Ejemplo n.º 14
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, "%"));
        }
Ejemplo n.º 15
0
Archivo: Card.cs Proyecto: 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)"));
        }
Ejemplo n.º 16
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setHeight(200));
            this.addCss(css.setPosition("relative"));

            this.btnAdicionar.addCss(css.setBackgroundImage("/res/media/png/btn_adicionar_30x30.png"));

            this.btnAlterar.addCss(css.setBackgroundImage("/res/media/png/btn_alterar_30x30.png"));
            this.btnAlterar.addCss(css.setBottom(40));
            this.btnAlterar.addCss(css.setDisplay("none"));
            this.btnAlterar.addCss(css.setPosition("absolute"));
            this.btnAlterar.addCss(css.setRight(0));

            this.divCabecalho.addCss(css.setHeight(0));
            this.divCabecalho.addCss(css.setPosition("absolute"));
            this.divCabecalho.addCss(css.setTop(0));

            this.divComando.addCss(css.setBottom(10));
            this.divComando.addCss(css.setDisplay("none"));
            this.divComando.addCss(css.setPosition("absolute"));
            this.divComando.addCss(css.setRight(5));

            this.divConteudo.addCss(css.setBottom(0));
            this.divConteudo.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corFundo));
            this.divConteudo.addCss(css.setOverflow("auto"));
            this.divConteudo.addCss(css.setPosition("absolute"));
            this.divConteudo.addCss(css.setTop(30));
            this.divConteudo.addCss(css.setWidth(100, "%"));
        }
Ejemplo n.º 17
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"));
        }
Ejemplo n.º 18
0
 private void setCssLstBtnMini(CssArquivoBase css)
 {
     foreach (BotaoCircular btnAcaoSecundaria in this.lstBtnAcaoSecundaria)
     {
         this.setCss(css, btnAcaoSecundaria);
     }
 }
Ejemplo n.º 19
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("white"));
            this.addCss(css.setBorder(1, "solid", "grey"));
            this.addCss(css.setHeight(10, "vh"));
        }
Ejemplo n.º 20
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));
        }
Ejemplo n.º 21
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setFontSize(12));
            this.addCss(css.setPaddingTop(8));
            this.addCss(css.setTextAlign("center"));
        }
Ejemplo n.º 22
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("#AFAFAF"));
            this.addCss(css.setHeight(70));
            this.addCss(css.setWidth(70));
        }
Ejemplo n.º 23
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"));
        }
Ejemplo n.º 24
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.divTitulo.addCss(css.setVisibility("hidden"));

            this.ckb.addCss(css.setBorderBottom(0, "solid", AppWebBase.i.objTema.corTema));
        }
Ejemplo n.º 25
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setFloat("left"));
            this.addCss(css.setHeight(20));
            this.addCss(css.setMarginRight(5));
            this.addCss(css.setWidth(20));
        }
Ejemplo n.º 26
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setMinHeight(50));
            this.addCss(css.setPaddingLeft(0));
            this.addCss(css.setPaddingRight(0));
            this.addCss(css.setPosition("relative"));
        }
Ejemplo n.º 27
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("rgba(0,0,0,0)"));
            this.addCss(css.setBackgroundPosition("center"));
            this.addCss(css.setBackgroundRepeat("no-repeat"));
            this.addCss(css.setBackgroundSize("35px"));
        }
Ejemplo n.º 28
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.btnAdicionar.addCss(css.setBackgroundImage("/res/media/png/btn_adicionar_30x30.png"));

            this.btnAlterar.addCss(css.setBackgroundImage("/res/media/png/btn_alterar_30x30.png"));
            this.btnAlterar.addCss(css.setDisplay("none"));
        }
Ejemplo n.º 29
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            if (this.booLayoutFixo)
            {
                this.setCssLayoutFixo(css);
            }
        }
Ejemplo n.º 30
0
Archivo: Tag.cs Proyecto: digovc/Web
        private void setCssBooMostrarGrade(CssArquivoBase css)
        {
            if (!AppWebBase.i.booMostrarGrade)
            {
                return;
            }

            this.addCss(css.setBorder(1, "dashed", "#ababab"));
        }