From: Andrew Dolgov Date: Tue, 20 May 2008 01:20:40 +0000 (+0100) Subject: graycube, compat: make compatible with grabber X-Git-Tag: 1.2.23-final~36 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=228e167bbe0c17a708144ca042b1635f030832dd;p=tt-rss.git graycube, compat: make compatible with grabber --- 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 {