]> git.wh0rd.org - tt-rss.git/blame - themes/triple-pane/theme.js
triple-pane: do not try to rework UI using javascript while in CDM
[tt-rss.git] / themes / triple-pane / theme.js
CommitLineData
8d3cb8c0 1function themeBeforeLayout() {
f52df691
AD
2 if ($("content-insert")) {
3 $("headlines-wrap-inner").setAttribute("design", 'sidebar');
4 $("content-insert").setAttribute("region", "trailing");
5 $("content-insert").setStyle({
6 width: '50%',
7 height: 'auto'});
8 }
8d3cb8c0
AD
9}
10
11function themeAfterLayout() {
f52df691
AD
12 if ($("content-insert")) {
13 $("headlines-toolbar").setStyle({
14 'border-right-width': '1px',
15 'border-color': '#88b0f0',
16 });
17 }
8d3cb8c0 18}