summaryrefslogtreecommitdiff
path: root/themes/triple-pane/theme.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-17 13:39:30 +0300
committerAndrew Dolgov <[email protected]>2010-11-17 13:40:38 +0300
commit8d3cb8c0a95e21bda7d4b35b41d32ea5eb4084bc (patch)
tree6c241dc9de78c98b88bb22f687024a6fb3965ff8 /themes/triple-pane/theme.js
parent500943a45b3993b28ceee7331ac0bf65ae22b636 (diff)
enable triple-pane theme; fix theme system not working
Diffstat (limited to 'themes/triple-pane/theme.js')
-rw-r--r--themes/triple-pane/theme.js14
1 files changed, 14 insertions, 0 deletions
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',
+ });
+}