From 8d3cb8c0a95e21bda7d4b35b41d32ea5eb4084bc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Nov 2010 13:39:30 +0300 Subject: enable triple-pane theme; fix theme system not working --- themes/triple-pane/theme.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 themes/triple-pane/theme.js (limited to 'themes/triple-pane/theme.js') diff --git a/themes/triple-pane/theme.js b/themes/triple-pane/theme.js new file mode 100644 index 000000000..088055306 --- /dev/null +++ b/themes/triple-pane/theme.js @@ -0,0 +1,14 @@ +function themeBeforeLayout() { + $("headlines-wrap-inner").setAttribute("design", 'sidebar'); + $("content-insert").setAttribute("region", "trailing"); + $("content-insert").setStyle({ + width: '50%', + height: 'auto'}); +} + +function themeAfterLayout() { + $("headlines-toolbar").setStyle({ + 'border-right-width': '1px', + 'border-color': '#88b0f0', + }); +} -- cgit v1.2.3