summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-02-16 13:28:31 +0300
committerAndrew Dolgov <[email protected]>2010-02-16 13:28:31 +0300
commit4336531d788f86a7442c12733b77cf0542a6598d (patch)
treeb79cbd37dfc6875f73fa3bde215c6f019886a716
parent78bcd2c44cef66adbd377943f2a45dd9d289a892 (diff)
add updated triple-pane theme
-rw-r--r--themes/triple-pane/images/resize_handle_horiz.pngbin0 -> 104 bytes
-rw-r--r--themes/triple-pane/images/resize_handle_vert.pngbin0 -> 104 bytes
-rw-r--r--themes/triple-pane/images/resize_vert.pngbin0 -> 109 bytes
-rw-r--r--themes/triple-pane/theme.css83
-rw-r--r--themes/triple-pane/theme.ini5
-rw-r--r--tt-rss.js2
6 files changed, 89 insertions, 1 deletions
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
--- /dev/null
+++ b/themes/triple-pane/images/resize_handle_horiz.png
Binary files 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
--- /dev/null
+++ b/themes/triple-pane/images/resize_handle_vert.png
Binary files 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
--- /dev/null
+++ b/themes/triple-pane/images/resize_vert.png
Binary files 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 {