예제 #1
0
파일: TableHtml.cs 프로젝트: digovc/Web
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.tagTable.addCss(css.addCss("border-spacing", "0"));
            this.tagTable.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corFundo));
            this.tagTable.addCss(css.setBorderBottom(1, "solid", AppWebBase.i.objTema.corFundoBorda));
            this.tagTable.addCss(css.setCenter());
            this.tagTable.addCss(css.setWhiteSpace("nowrap"));

            this.tagTrHead.addCss(css.setHeight(INT_LINHA_TAMANHO));
        }
예제 #2
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));
        }
예제 #3
0
파일: JanelaHtml.cs 프로젝트: digovc/Web
        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));
        }
예제 #4
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));
        }
예제 #5
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));
        }