Пример #1
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, "%"));
        }
Пример #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));
        }
Пример #3
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);
        }
Пример #4
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);
        }
Пример #5
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"));
        }
Пример #6
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, "%"));
        }
Пример #7
0
        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));
        }
Пример #8
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("white"));
            this.addCss(css.setBorderLeft());
            this.addCss(css.setBorderRight());
            this.addCss(css.setBorderTop());
            this.addCss(css.setMarginTop(1, "vh"));
            this.addCss(css.setTextAlign("center"));

            this.divTabContaCadastro.addCss(css.setFloat("right"));
            this.divTabContaCadastro.addCss(css.setWidth(50, "%"));

            this.divTabLoginEntrar.addCss(css.setFloat("left"));
            this.divTabLoginEntrar.addCss(css.setFontWeight("bold"));
            this.divTabLoginEntrar.addCss(css.setWidth(50, "%"));
        }
Пример #9
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));
        }
Пример #10
0
        private void setCssBtnVoltar(CssArquivoBase css)
        {
            if (!this.booMostrarVoltar)
            {
                return;
            }

            this.btnVoltar.addCss(css.setBackgroundImage(AppWebBase.DIR_MEDIA_SVG + "return.svg"));
            this.btnVoltar.addCss(css.setFloat("left"));
        }
Пример #11
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBorderRight(1, "solid", AppWebBase.i.objTema.corFundoBorda));
            this.addCss(css.setCursor("pointer"));
            this.addCss(css.setFloat("left"));
            this.addCss(css.setLineHeight(30));
            this.addCss(css.setOverflow("hide"));
            this.addCss(css.setWidth(130));
        }
Пример #12
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setFloat("left"));
            this.addCss(css.setOverflowX("hidden"));
            this.addCss(css.setPaddingLeft(5));
            this.addCss(css.setPaddingRight(5));
            this.addCss(css.setWhiteSpace("nowrap"));
            this.addCss(css.setWidth(150));
        }
Пример #13
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

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

            this.imgLateral.addCss(css.setBackgroundColor("white"));
            this.imgLateral.addCss(css.setBorderRight(1, "solid", AppWebBase.i.objTema.corBorda));
            this.imgLateral.addCss(css.setFloat("left"));
            this.imgLateral.addCss(css.setHeight(250));
            this.imgLateral.addCss(css.setPosition("relative"));
            this.imgLateral.addCss(css.setTop(-50));
            this.imgLateral.addCss(css.setWidth(200));
        }
Пример #14
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));
        }
Пример #15
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("white"));
            this.addCss(css.setCursor("pointer"));
            this.addCss(css.setHeight(50));
            this.addCss(css.setMarginBottom(10));
            this.addCss(css.setWidth(100, "%"));

            this.divIcone.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTema));
            this.divIcone.addCss(css.setBorderRadius(50, "%"));
            this.divIcone.addCss(css.setFloat("left"));
            this.divIcone.addCss(css.setHeight(50));
            this.divIcone.addCss(css.setMarginRight(10));
            this.divIcone.addCss(css.setWidth(50));

            this.divTitulo.addCss(css.setLineHeight(50));
        }
Пример #16
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"));
        }
Пример #17
0
        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));
        }
Пример #18
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"));
        }
Пример #19
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, "%"));
        }
Пример #20
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"));
        }
Пример #21
0
        protected override void setCssLayoutFixo(CssArquivoBase css)
        {
            base.setCssLayoutFixo(css);

            this.addCss(css.setFloat("right"));
        }