From 228e167bbe0c17a708144ca042b1635f030832dd Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 20 May 2008 02:20:40 +0100 Subject: [PATCH] graycube, compat: make compatible with grabber --- themes/compat/theme.css | 4 ++++ themes/graycube/theme.css | 5 +++++ tt-rss.js | 7 ++++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/themes/compat/theme.css b/themes/compat/theme.css index 79059321..fb639899 100644 --- a/themes/compat/theme.css +++ b/themes/compat/theme.css @@ -912,3 +912,7 @@ table.headlinesList tr.feedTitle td a, div.cdmFeedTitle a { color : #5050aa; } +#resize-grabber { + border-color : #c0c0c0; +} + diff --git a/themes/graycube/theme.css b/themes/graycube/theme.css index 43957da1..5ea3b769 100644 --- a/themes/graycube/theme.css +++ b/themes/graycube/theme.css @@ -499,3 +499,8 @@ div.tagCloudContainer { border : 1px solid #999999; } +#resize-grabber { + right : 40px; + border-color : gray; +} + diff --git a/tt-rss.js b/tt-rss.js index b8ee2bb1..aff147cb 100644 --- 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 { -- 2.39.5