summaryrefslogtreecommitdiff
path: root/themes
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
parent500943a45b3993b28ceee7331ac0bf65ae22b636 (diff)
enable triple-pane theme; fix theme system not working
Diffstat (limited to 'themes')
-rw-r--r--themes/triple-pane/theme.css13
-rw-r--r--themes/triple-pane/theme.ini4
-rw-r--r--themes/triple-pane/theme.js14
3 files changed, 27 insertions, 4 deletions
diff --git a/themes/triple-pane/theme.css b/themes/triple-pane/theme.css
index 4a188a57f..593ff955a 100644
--- a/themes/triple-pane/theme.css
+++ b/themes/triple-pane/theme.css
@@ -1,4 +1,13 @@
-div.headlines_normal {
+#content-insert {
+ border-left-width : 1px;
+ border-bottom-width : 0px;
+}
+
+#headlines-frame {
+ border-right-width : 1px;
+}
+
+/* div.headlines_normal {
position : absolute;
border-width : 1px 1px 0px 0px;
right : 400px;
@@ -66,7 +75,7 @@ span.headlineInnerTitle {
bottom : 0px;
top : 0px;
-}
+} */
/*#footer, #prefFooter {
diff --git a/themes/triple-pane/theme.ini b/themes/triple-pane/theme.ini
index 5e9feb9c3..5aae72442 100644
--- a/themes/triple-pane/theme.ini
+++ b/themes/triple-pane/theme.ini
@@ -1,5 +1,5 @@
[theme]
name=Triple-Pane
author=seeker
-version=1.0
-options=horiz_resize,hide_footer
+version=1.1
+options=
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',
+ });
+}