enable triple-pane theme; fix theme system not working

This commit is contained in:
Andrew Dolgov
2010-11-17 13:39:30 +03:00
parent 500943a45b
commit 8d3cb8c0a9
7 changed files with 56 additions and 16 deletions
+11 -2
View File
@@ -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 {
+2 -2
View File
@@ -1,5 +1,5 @@
[theme]
name=Triple-Pane
author=seeker
version=1.0
options=horiz_resize,hide_footer
version=1.1
options=
+14
View File
@@ -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',
});
}