From 4336531d788f86a7442c12733b77cf0542a6598d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Feb 2010 13:28:31 +0300 Subject: add updated triple-pane theme --- themes/triple-pane/images/resize_handle_horiz.png | Bin 0 -> 104 bytes themes/triple-pane/images/resize_handle_vert.png | Bin 0 -> 104 bytes themes/triple-pane/images/resize_vert.png | Bin 0 -> 109 bytes themes/triple-pane/theme.css | 83 ++++++++++++++++++++++ themes/triple-pane/theme.ini | 5 ++ tt-rss.js | 2 +- 6 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 themes/triple-pane/images/resize_handle_horiz.png create mode 100644 themes/triple-pane/images/resize_handle_vert.png create mode 100644 themes/triple-pane/images/resize_vert.png create mode 100644 themes/triple-pane/theme.css create mode 100644 themes/triple-pane/theme.ini diff --git a/themes/triple-pane/images/resize_handle_horiz.png b/themes/triple-pane/images/resize_handle_horiz.png new file mode 100644 index 000000000..18d045159 Binary files /dev/null and b/themes/triple-pane/images/resize_handle_horiz.png differ diff --git a/themes/triple-pane/images/resize_handle_vert.png b/themes/triple-pane/images/resize_handle_vert.png new file mode 100644 index 000000000..18d045159 Binary files /dev/null and b/themes/triple-pane/images/resize_handle_vert.png differ diff --git a/themes/triple-pane/images/resize_vert.png b/themes/triple-pane/images/resize_vert.png new file mode 100644 index 000000000..763d42b56 Binary files /dev/null and b/themes/triple-pane/images/resize_vert.png differ diff --git a/themes/triple-pane/theme.css b/themes/triple-pane/theme.css new file mode 100644 index 000000000..4a188a57f --- /dev/null +++ b/themes/triple-pane/theme.css @@ -0,0 +1,83 @@ +div.headlines_normal { + position : absolute; + border-width : 1px 1px 0px 0px; + right : 400px; + overflow : hidden; + bottom : 0px; + height : auto; +} + +#content-frame { + width : 400px; + right : 0px; + top : 0px; + left : auto; + border-width : 0px 0px 0px 1px; + bottom : 0px; +} + +#feeds-frame, #dispSwitch { + padding-top : 30px; +} + +#feeds-holder { + top : 0px; + border-width : 0px 1px 0px 0px; +} + +#toolbar { + top : 3px; +} + +#headlines-frame { + top : 30px; +} + +div.postHeader div.postDate { + text-align : left; + color : gray; + float : none; +} + +div.postHeader div.postDateRTL { + text-align : left; + color : gray; + float : none; +} + +span.headlineInnerTitle { + display : none; +} + +#resize-grabber { + height : 100%; + width : 5px; + border-width : 0px 1px 0px 0px; + cursor : move; + text-align : center; + float : left; + background : url("images/resize_vert.png") top left; +} + +#content-insert { + position : absolute; + left : 6px; + right : 0px; + bottom : 0px; + top : 0px; + +} + + +/*#footer, #prefFooter { + display : none; +} + +#header, #prefHeader { + display : none; +} + + +#prefContent { + bottom : 0px; +} */ diff --git a/themes/triple-pane/theme.ini b/themes/triple-pane/theme.ini new file mode 100644 index 000000000..5e9feb9c3 --- /dev/null +++ b/themes/triple-pane/theme.ini @@ -0,0 +1,5 @@ +[theme] +name=Triple-Pane +author=seeker +version=1.0 +options=horiz_resize,hide_footer diff --git a/tt-rss.js b/tt-rss.js index 85f335b28..6d3cc7377 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -416,7 +416,7 @@ function resize_headlines(delta_x, delta_y) { 4) + "px"; resize_grab.style.display = "block"; - resize_handle.src = "themes/"+getInitParam('theme')+"/images/resize_handle_vert.png"; + //resize_handle.src = "themes/"+getInitParam('theme')+"/images/resize_handle_vert.png"; resize_handle.style.paddingTop = (resize_grab.offsetHeight / 2 - 7) + "px"; } else { -- cgit v1.2.3