[dw-free] Styles: add option to customize side margins in all styles
[commit: http://hg.dwscoalition.org/dw-free/rev/fd79f3fbf5de]
http://bugs.dwscoalition.org/show_bug.cgi?id=3398
Add suitable properties to be used by layouts.
Patch by
ninetydegrees.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3398
Add suitable properties to be used by layouts.
Patch by
Files modified:
- bin/upgrading/s2layers/core2.s2
--------------------------------------------------------------------------------
diff -r 476e15fbfc76 -r fd79f3fbf5de bin/upgrading/s2layers/core2.s2
--- a/bin/upgrading/s2layers/core2.s2 Fri Apr 08 18:30:30 2011 +0800
+++ b/bin/upgrading/s2layers/core2.s2 Fri Apr 08 19:14:55 2011 +0800
@@ -1367,9 +1367,21 @@ property string sidebar_width_doubled {
example = "30em";
}
+property string margins_size {
+ des = "Size of left and right margins";
+ size = 5;
+}
+
+property string margins_unit {
+ des = "Unit for margins size";
+ values = "em|em|%|%|px|px";
+}
+
set layout_type = "";
set sidebar_width = "";
-set sidebar_width = "";
+set sidebar_width_doubled = "";
+set margins_size = "0";
+set margins_unit = "em";
property string module_layout_sections {
des = "Map module sections to user-friendly names for the wizard. Layouts may want to override this";
--------------------------------------------------------------------------------
