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

            this.addCss(css.setBottom(0));
            this.addCss(css.setLeft(0));
            this.addCss(css.setOverflow("auto"));
            this.addCss(css.setRight(0));
            this.addCss(css.setPaddingBottom(50));
            this.addCss(css.setPaddingTop(50));
            this.addCss(css.setZIndex(1));

            this.divMarkdown.addCss(css.setDisplay("none"));
            this.divMarkdown.addCss(css.setMargin("auto"));
            this.divMarkdown.addCss(css.setMaxWidth(640));
            this.divMarkdown.addCss(css.setPadding(15));
        }
Ejemplo n.º 3
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));
        }
Ejemplo n.º 4
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("rgba(0,0,0,0.75)"));
            this.addCss(css.setDisplay("none"));
            this.addCss(css.setHeight(100, "%"));
            this.addCss(css.setPosition("fixed"));
            this.addCss(css.setTop(0));
            this.addCss(css.setWidth(100, "%"));

            this.divCabecalho.addCss(css.setBackgroundColor(AppWebBase.i.objTema.corTema));
            this.divCabecalho.addCss(css.setBoxShadow(0, 0, 15, 0, "black"));
            this.divCabecalho.addCss(css.setHeight(150));
            this.divCabecalho.addCss(css.setMarginBottom(25));
            this.divCabecalho.addCss(css.setWidth(100, "%"));

            this.divConteudo.addCss(css.setBackgroundColor("white"));
            this.divConteudo.addCss(css.setHeight(100, "%"));
            this.divConteudo.addCss(css.setMaxWidth(250));
            this.divConteudo.addCss(css.setMinWidth(250));

            this.divItemConteudo.addCss(css.setPadding(10));
        }