Exemple #1
0
        public static HTMLDivElement BuildElement()
        {
            var element = DefaultHtmlBuilder.BuildElement();
            var style   = element.Style;

            style.ZIndex          = "0";
            style.Left            = "18em";
            style.Width           = "calc(100% - 18em)";
            style.BackgroundColor = "#222";
            style.Color           = "#eee";

            return(element);
        }
Exemple #2
0
        public static HTMLDivElement BuildElement()
        {
            var htmlElement = DefaultHtmlBuilder.BuildElement();
            var style       = htmlElement.Style;

            style.ZIndex          = "50";
            style.Left            = "0";
            style.Width           = "18em";
            style.BackgroundColor = "#111";
            style.BorderRight     = "1px solid #444";
            style.OverflowY       = "auto";

            htmlElement.AppendChild(BuildButtonBackWard());
            htmlElement.AppendChild(BuildButtonForward());
            htmlElement.AppendChild(BuildLabel());

            return(htmlElement);
        }