Esempio n. 1
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, "%"));
        }
Esempio n. 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));
        }
Esempio n. 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"));
        }
Esempio n. 4
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("rgba(255,255,255,.15)"));
            this.addCss(css.setBorderRadius(5));
            this.addCss(css.setDisplay("none"));
            this.addCss(css.setMarginLeft(5));
            this.addCss(css.setMarginRight(5));
        }
Esempio n. 5
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);
        }
Esempio n. 6
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"));
        }
Esempio n. 7
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTelaFundo));
            this.addCss(css.setBackgroundImage("/res/media/png/bnt_favorito_desmarcado_30x30.png"));
            this.addCss(css.setBackgroundPosition("center"));
            this.addCss(css.setBackgroundRepeat("no-repeat"));
            this.addCss(css.setBackgroundSize("20px 20px"));
            this.addCss(css.setBoxShadow(0, 0, 0, 0, null));
            this.addCss(css.setMarginLeft(5));
            this.addCss(css.setMarginRight(5));
            this.addCss(css.setMarginTop(4));
        }
Esempio n. 8
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

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

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

            this.divIndice.addCss(css.setDisplay("none"));
            this.divIndice.addCss(css.setFontStyle("italic"));
            this.divIndice.addCss(css.setMarginLeft(30));

            this.divTitulo.addCss(css.setPadding(10));
            this.divTitulo.addCss(css.setPaddingLeft(20));
        }
Esempio n. 9
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"));
        }
Esempio n. 10
0
        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));
        }