Exemple #1
0
        protected override void setCss(CssArquivoBase css)
        {
            base.setCss(css);

            this.addCss(css.setBackgroundColor("grey"));
            this.addCss(css.setDisplay("none"));
            this.addCss(css.setMaxHeight(250));
            this.addCss(css.setOverflowY("auto"));
            this.addCss(css.setPosition("absolute"));
            this.addCss(css.setWidth(275));
            this.addCss(css.setZIndex(1000));
        }
Exemple #2
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"));
        }