Beispiel #1
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));
        }
Beispiel #2
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));
        }
Beispiel #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, "%"));
        }
Beispiel #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));
        }
Beispiel #5
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"));
        }
Beispiel #6
0
Datei: Tag.cs Projekt: digovc/Web
        private void setCssBooMostrarGrade(CssArquivoBase css)
        {
            if (!AppWebBase.i.booMostrarGrade)
            {
                return;
            }

            this.addCss(css.setBorder(1, "dashed", "#ababab"));
        }
Beispiel #7
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBorder(0));
            this.addCss(css.setCursor("pointer"));
            this.addCss(css.setOutline("none"));

            this.setCssHeight(css);
            this.setCssWidth(css);
        }
Beispiel #8
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, "%"));
        }
Beispiel #9
0
        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);
        }
Beispiel #10
0
        private void setCssCmbStrViewNome(CssArquivoBase css)
        {
            if (this.tbl.lstViw.Count < 2)
            {
                return;
            }

            this.cmbStrViewNome.addCss(css.setBackgroundColor("rgba(0,0,0,0)"));
            this.cmbStrViewNome.addCss(css.setBorder(0));
            this.cmbStrViewNome.addCss(css.setHeight(100, "%"));
            this.cmbStrViewNome.addCss(css.setMinWidth(255));
        }
Beispiel #11
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setAlignItems("center"));
            this.addCss(css.setDisplay("flex"));
            this.addCss(css.setHeight(100, "vh"));
            this.addCss(css.setJustifyContent("center"));

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

            this.divConteudo2.addCss(css.setBackgroundColor("white"));
            this.divConteudo2.addCss(css.setBorder());
        }
Beispiel #12
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));
        }
Beispiel #13
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setHeight(250));
            this.addCss(css.setWidth(500));

            this.divComando.addCss(css.setBottom(8));
            this.divComando.addCss(css.setPadding(10));
            this.divComando.addCss(css.setPosition("absolute"));
            this.divComando.addCss(css.setRight(10));

            this.divContent.addCss(css.setBorder(1, "solid", AppWebBase.i.objTema.corFundoBorda));
            this.divContent.addCss(css.setHeight(210));
            this.divContent.addCss(css.setMarginTop(5));

            this.tagInput.addCss(css.setDisplay("none"));
        }
Beispiel #14
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));
        }
Beispiel #15
0
        private void setCssPai(CssArquivoBase css)
        {
            if (this.booFilho)
            {
                return;
            }

            this.addCss(css.setLineHeight(50));
            this.addCss(css.setMinHeight(50));

            this.divIcone.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTelaFundo));
            this.divIcone.addCss(css.setBorder(1, "solid", AppWebBase.i.objTema.corTema));
            this.divIcone.addCss(css.setFloat("left"));
            this.divIcone.addCss(css.setMarginLeft(5));
            this.divIcone.addCss(css.setMarginRight(15));
            this.divIcone.addCss(css.setMarginTop(4));

            this.divTitulo.addCss(css.setLineHeight(50));

            this.divItemConteudo.addCss(css.setMaxHeight(50, "vh"));
            this.divItemConteudo.addCss(css.setOverflowY("auto"));
        }
Beispiel #16
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));
        }