fixed and improved attribute lists layout
This commit is contained in:
@ -592,7 +592,7 @@ function getWaypoints($cacheid)
|
||||
|
||||
if ($bBeginLine == true)
|
||||
{
|
||||
$cache_attrib_list .= '<div id="attribs1">';
|
||||
$cache_attrib_list .= '<div class="attribswide">';
|
||||
$bBeginLine = false;
|
||||
}
|
||||
|
||||
|
@ -43,10 +43,10 @@
|
||||
$cache_attrib_pic = '<img id="attr{attrib_id}" src="{attrib_pic}" border="0" onmousedown="toggleAttr({attrib_id})" onmouseover="Tip(\'{html_desc}\', TITLE, \'{name}\', TITLEBGCOLOR, \'{color}\', TITLEFONTCOLOR, \'#000000\', BGCOLOR, \'#FFFFFF\', BORDERCOLOR, \'{color}\', CLICKCLOSE, true, DELAY, 0, FADEIN, false, FADEOUT, false, FONTCOLOR, \'#000080\', WIDTH, 500)" onmouseout="UnTip()" /> ';
|
||||
|
||||
$cache_attrib_group =
|
||||
'<table cellspacing="0" style="display:inline;border-spacing:0px;">
|
||||
'<div class="attribgroup"><table cellspacing="0" style="display:inline;border-spacing:0px;">
|
||||
<tr><td bgcolor="{color}" style="line-height:9px;padding-top:2px;margin:0 0 0 0;border-left:1px solid gray;border-right:1px solid gray;border-top:1px solid gray;"><font size="1">{name}</font></td></tr>
|
||||
<tr><td bgcolor="#F8F8F8" style="margin:0 0 0 0;border-left:1px solid gray;border-right:1px solid gray;border-bottom:1px solid gray;">{attribs}</td></tr>
|
||||
</table> ';
|
||||
</table></div>';
|
||||
|
||||
$default_lang = t('EN');
|
||||
|
||||
|
@ -43,8 +43,8 @@
|
||||
$cache_attrib_pic = '<img id="attr{attrib_id}" src="{attrib_pic}" border="0" onmousedown="toggleAttr({attrib_id})" onmouseover="Tip(\'{html_desc}\', TITLE, \'{name}\', TITLEBGCOLOR, \'{color}\', TITLEFONTCOLOR, \'#000000\', BGCOLOR, \'#FFFFFF\', BORDERCOLOR, \'{color}\', CLICKCLOSE, true, DELAY, 0, FADEIN, false, FADEOUT, false, FONTCOLOR, \'#000080\', WIDTH, 500)" onmouseout="UnTip()" /> ';
|
||||
|
||||
$cache_attrib_group =
|
||||
'<table cellspacing="0" style="display:inline;border-spacing:0px;">
|
||||
'<div class="attribgroup"><table cellspacing="0" style="display:inline;border-spacing:0px;">
|
||||
<tr><td bgcolor="{color}" style="line-height:9px;padding-top:2px;margin:0 0 0 0;border-left:1px solid gray;border-right:1px solid gray;border-top:1px solid gray;"><font size="1">{name}</font></td></tr>
|
||||
<tr><td bgcolor="#F8F8F8" style="margin:0 0 0 0;border-left:1px solid gray;border-right:1px solid gray;border-bottom:1px solid gray;">{attribs}</td></tr>
|
||||
</table> ';
|
||||
</table></div>';
|
||||
?>
|
@ -502,7 +502,7 @@
|
||||
|
||||
if ($bBeginLine == true)
|
||||
{
|
||||
$cache_attrib_list .= '<div id="attribs1">';
|
||||
$cache_attrib_list .= '<div class="attribswide">';
|
||||
$bBeginLine = false;
|
||||
}
|
||||
|
||||
|
@ -976,18 +976,31 @@ ul.nodot li {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
/* Attribute auf der Suchseite */
|
||||
/* attributes on search page */
|
||||
|
||||
div#attribs1 {
|
||||
max-width: 670px; /* MSIE needs this */
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div#attribs2 {
|
||||
max-width: 670px; /* MSIE needs this */
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* attributes on cache page */
|
||||
div.attribswide {
|
||||
max-width: 770px; /* MSIE needs this */
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
div.attribgroup td {padding: 3px 5px 2px 5px; text-align: left; font-size: 120%;}
|
||||
|
||||
|
||||
/* CSS-Hack for Firefox */
|
||||
|
||||
:root div.attribgroup {
|
||||
|
Reference in New Issue
Block a user