From fe121a81f154fea54fb40fe58b56cf3848455106 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Wed, 13 Jan 2016 15:47:39 -0800 Subject: [PATCH] [Fixes #5728] Adding default grid system to TheThemeMachine Breaking change: Existing themes relying on Layout and TheThemeMachine will need to add a reference to this css. --- .../Views/EditorTemplates/LayoutEditor.cshtml | 3 + .../Orchard.Layouts/Views/Parts.Layout.cshtml | 5 +- .../TheThemeMachine/Styles/default-grid.css | 304 ++++++++++++++++++ .../TheThemeMachine/Views/Layout.cshtml | 3 +- src/Orchard.Web/Themes/Themes.csproj | 1 + src/Rebracer.xml | 13 + 6 files changed, 324 insertions(+), 5 deletions(-) create mode 100644 src/Orchard.Web/Themes/TheThemeMachine/Styles/default-grid.css diff --git a/src/Orchard.Web/Modules/Orchard.Layouts/Views/EditorTemplates/LayoutEditor.cshtml b/src/Orchard.Web/Modules/Orchard.Layouts/Views/EditorTemplates/LayoutEditor.cshtml index c83465d73..73c2f9fd1 100644 --- a/src/Orchard.Web/Modules/Orchard.Layouts/Views/EditorTemplates/LayoutEditor.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Layouts/Views/EditorTemplates/LayoutEditor.cshtml @@ -26,6 +26,9 @@ Style.Include("LayoutEditor.css", "LayoutEditor.min.css"); Script.Include("LayoutDesignerHost.js"); + // The grid system + Style.Include("default-grid.css"); + using (Script.Foot()) {