]> git.wh0rd.org Git - tt-rss.git/commitdiff
graycube, compat: make compatible with grabber
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 20 May 2008 01:20:40 +0000 (02:20 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 20 May 2008 01:20:40 +0000 (02:20 +0100)
themes/compat/theme.css
themes/graycube/theme.css
tt-rss.js

index 79059321482ebf45180763cb337e6e8da893b05e..fb639899b2d4138fd32e5edac58ae65573201d13 100644 (file)
@@ -912,3 +912,7 @@ table.headlinesList tr.feedTitle td a, div.cdmFeedTitle a {
        color : #5050aa;
 }
 
+#resize-grabber {
+       border-color : #c0c0c0;
+}
+
index 43957da191b41771c7c3a0d3029dc9b76d20ea23..5ea3b7692bf59f3fa3a51ce27d76bf950c7d2562 100644 (file)
@@ -499,3 +499,8 @@ div.tagCloudContainer {
        border : 1px solid #999999;
 }
 
+#resize-grabber {
+       right : 40px;
+       border-color : gray;
+}
+
index b8ee2bb14bd1673ec914c7498b86aa90aaa1448b..aff147cb082c8c09872ab5850e3c6dd42b9aa22a 100644 (file)
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -394,7 +394,12 @@ function resize_headlines(delta_x, delta_y) {
                        c_frame.style.top = (h_frame.offsetTop + h_frame.offsetHeight + 1) + "px";
                        h_frame.style.height = h_frame.offsetHeight + "px";
 
-                       resize_grab.style.top = (h_frame.offsetTop + h_frame.offsetHeight - 4) + "px";
+                       var theme_c = 0;
+
+                       if (getInitParam("theme") == "graycube") theme_c = 1;
+
+                       resize_grab.style.top = (h_frame.offsetTop + h_frame.offsetHeight - 
+                               4 - theme_c) + "px";
                        resize_grab.style.display = "block";
 
                } else {