mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 07:25:57 +00:00
infoBox display tweaks
This commit is contained in:
25
functions.js
25
functions.js
@@ -1290,13 +1290,9 @@ function closeInfoBox(cleanup) {
|
|||||||
|
|
||||||
if (Element.visible("infoBoxShadow")) {
|
if (Element.visible("infoBoxShadow")) {
|
||||||
Element.hide("dialog_overlay");
|
Element.hide("dialog_overlay");
|
||||||
|
Element.hide("infoBoxShadow");
|
||||||
|
|
||||||
var shadow = $('infoBoxShadow');
|
if (cleanup) $("infoBoxShadow").innerHTML = " ";
|
||||||
var box = $('infoBoxShadow');
|
|
||||||
|
|
||||||
Element.hide(shadow);
|
|
||||||
|
|
||||||
if (cleanup) box.innerHTML = " ";
|
|
||||||
|
|
||||||
enableHotkeys();
|
enableHotkeys();
|
||||||
}
|
}
|
||||||
@@ -1342,20 +1338,19 @@ function infobox_callback2(transport) {
|
|||||||
|
|
||||||
debug("infobox_callback2");
|
debug("infobox_callback2");
|
||||||
|
|
||||||
|
var box = $('infoBox');
|
||||||
|
|
||||||
|
if (box) {
|
||||||
|
|
||||||
if (!getInitParam("infobox_disable_overlay")) {
|
if (!getInitParam("infobox_disable_overlay")) {
|
||||||
Element.show("dialog_overlay");
|
Element.show("dialog_overlay");
|
||||||
}
|
}
|
||||||
|
|
||||||
var box = $('infoBox');
|
|
||||||
var shadow = $('infoBoxShadow');
|
|
||||||
if (box) {
|
|
||||||
|
|
||||||
box.innerHTML=transport.responseText;
|
box.innerHTML=transport.responseText;
|
||||||
if (shadow) {
|
Element.show("infoBoxShadow");
|
||||||
shadow.style.display = "block";
|
//Effect.SlideDown("infoBoxShadow", {duration : 1.0});
|
||||||
} else {
|
|
||||||
box.style.display = "block";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME this needs to be moved out somewhere */
|
/* FIXME this needs to be moved out somewhere */
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 2.7 KiB |
@@ -149,7 +149,7 @@
|
|||||||
$active_feed_id = sprintf("%d", $params[0]);
|
$active_feed_id = sprintf("%d", $params[0]);
|
||||||
$is_cat = $params[1] == "true";
|
$is_cat = $params[1] == "true";
|
||||||
|
|
||||||
print "<div class=\"dlgSec\">".__('Search')."</div>";
|
print "<div class=\"dlgSec\">".__('Look for')."</div>";
|
||||||
|
|
||||||
print "<div class=\"dlgSecCont\">";
|
print "<div class=\"dlgSecCont\">";
|
||||||
|
|
||||||
|
|||||||
12
tt-rss.css
12
tt-rss.css
@@ -582,14 +582,15 @@ div.helpResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#infoBoxTitle {
|
#infoBoxTitle {
|
||||||
border-width : 1px 1px 1px 1px;
|
border-width : 0px 0px 1px 0px;
|
||||||
border-style : solid;
|
border-style : solid;
|
||||||
border-color : #99d67a;
|
border-color : #659a4c;
|
||||||
background-color : #99d67a;
|
background-color : #99d67a;
|
||||||
padding : 4px 2px 4px 10px;
|
padding : 4px 2px 4px 10px;
|
||||||
color : white;
|
color : white;
|
||||||
font-weight : bold;
|
font-weight : bold;
|
||||||
font-size : 12px;
|
font-size : 16px;
|
||||||
|
text-shadow : #659a4c 0px 1px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* shadow stuff from http://www.sixapart.com/pronet/articles/ydsf_-_robust_c.html */
|
/* shadow stuff from http://www.sixapart.com/pronet/articles/ydsf_-_robust_c.html */
|
||||||
@@ -597,12 +598,13 @@ div.helpResponse {
|
|||||||
#infoBox {
|
#infoBox {
|
||||||
border-width : 1px 1px 1px 1px;
|
border-width : 1px 1px 1px 1px;
|
||||||
border-style : solid;
|
border-style : solid;
|
||||||
border-color : #99d67a;
|
border-color : #659a4c;
|
||||||
background-color : #f8fcf5;
|
background-color : #f8fcf5;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow : hidden;
|
overflow : hidden;
|
||||||
left : -4px;
|
left : -4px;
|
||||||
top : -4px;
|
top : -4px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div#errorBox {
|
div#errorBox {
|
||||||
@@ -649,7 +651,7 @@ html>body #infoBox, html>body #errorBox {
|
|||||||
background-image : url("images/shadow.png");
|
background-image : url("images/shadow.png");
|
||||||
background-position : bottom right;
|
background-position : bottom right;
|
||||||
left : 25%;
|
left : 25%;
|
||||||
top : 70px;
|
top : 50px;
|
||||||
width : 50%;
|
width : 50%;
|
||||||
position : absolute;
|
position : absolute;
|
||||||
min-width : 600px;
|
min-width : 600px;
|
||||||
|
|||||||
Reference in New Issue
Block a user