Esempio n. 1
0
        private static void RegisterStyleBundles(BundleCollection bundles)
        {
            // App css
            var coreBundle = new StyleBundle(StyleBundleNames.App);

            coreBundle.IncludeWithUrlTransform("~/Assets/css/bootstrap.css");
            coreBundle.IncludeWithUrlTransform("~/Assets/css/bootstrap-switch.css");
            coreBundle.IncludeWithUrlTransform("~/Assets/css/font-awesome.css");
            coreBundle.IncludeWithUrlTransform("~/Assets/css/flaticon.css");
            coreBundle.IncludeWithUrlTransform("~/Assets/css/admin.css");
            bundles.Add(coreBundle);

            // Kendo css
            var kendoBundle = new StyleBundle(StyleBundleNames.Kendo);

            kendoBundle.IncludeWithUrlTransform("~/Assets/Kendo/kendo.common.css");
            kendoBundle.IncludeWithUrlTransform("~/Assets/Kendo/kendo.default.css");
            bundles.Add(kendoBundle);
        }
Esempio n. 2
0
        private static void RegisterStyleBundles(BundleCollection bundles)
        {
            // Core css
            var coreBundle = new StyleBundle(StyleBundleNames.Core);

            coreBundle.IncludeWithUrlTransform("~/Assets/css/normalize.css");
            coreBundle.IncludeWithUrlTransform("~/Assets/css/bootstrap.css");
            coreBundle.IncludeWithUrlTransform("~/Assets/css/font-awesome.css");
            coreBundle.IncludeWithUrlTransform("~/Assets/css/icomoon.css");
            coreBundle.IncludeWithUrlTransform("~/Assets/css/flaticon.css");
            coreBundle.IncludeWithUrlTransform("~/Assets/css/jquery.mmenu.all.css");
            //coreBundle.IncludeWithUrlTransform("~/Assets/css/source-sans-pro.css");
            coreBundle.IncludeWithUrlTransform("~/Assets/css/flextext.css");
            bundles.Add(coreBundle);

            // Portal css
            var portalBundle = new StyleBundle(StyleBundleNames.Portal);

            portalBundle.IncludeWithUrlTransform("~/Assets/css/nanoscroller.css");
            portalBundle.IncludeWithUrlTransform("~/Assets/css/portal.css");
            bundles.Add(portalBundle);

            // Admin css
            var adminBundle = new StyleBundle(StyleBundleNames.Admin);

            adminBundle.IncludeWithUrlTransform("~/Assets/css/admin.css");
            bundles.Add(adminBundle);

            // Kendo css
            var kendoBundle = new StyleBundle(StyleBundleNames.Kendo);

            kendoBundle.IncludeWithUrlTransform("~/Assets/Kendo/kendo.common.css");
            kendoBundle.IncludeWithUrlTransform("~/Assets/Kendo/kendo.default.css");
            kendoBundle.IncludeWithUrlTransform("~/Assets/Css/kendo-overrides.css");
            //kendoBundle.IncludeWithUrlTransform("~/Assets/Kendo/kendo.dataviz.css");
            //kendoBundle.IncludeWithUrlTransform("~/Assets/Kendo/kendo.dataviz.default.css");
            bundles.Add(kendoBundle);
        }