UNPKG

web-common-design

Version:

This package provides basic style sheet files, which may be useful for all projects and may help to publish a consistent design.

29 lines (24 loc) 1.09 kB
Diese Paket bietet allgemeine Stylesheet Dateien #WICHTIG# - #EXAMPLES# search for all examples (CTRL + SHIFT + F or WebCommonDsn-example) 1. - #TODOS# check for all todo (CTRL + SHIFT + F for todo-WebCommonDsn): 1. Import CSS files to BundleConfig.cs as StyleBundle List<string> bundleCss = new List<string>(); bundleCss.Add("~/Content/Arealayout.css"); bundleCss.Add("~/Content/Buttons.css"); bundleCss.Add("~/Content/Colors.css"); bundleCss.Add("~/Content/CommonView.css"); bundleCss.Add("~/Content/Container.css"); bundleCss.Add("~/Content/Layout.css"); bundleCss.Add("~/Content/Menu.css"); bundleCss.Add("~/Content/SessionTimeout.css"); bundleCss.Add("~/Content/Tooltip.css"); bundleCss.Add("~/Content/Workflow.css"); bundles.Add(new StyleBundle("~/Content/css").Include(bundleCss.ToArray())); 2. Add CSS bundle to _Layout file in header section @Styles.Render("~/Content/css") 3. App_GlobalResources (ApplicationLabels.resx) - Properties anpassen * Build Action: Embedded Resource * Custom Tool: PublicResXFileCodeGenerator