diff options
Diffstat (limited to 'themes/xenea')
| -rw-r--r-- | themes/xenea/style.css | 29 | ||||
| -rw-r--r-- | themes/xenea/templates/personbox_template.php | 8 |
2 files changed, 29 insertions, 8 deletions
diff --git a/themes/xenea/style.css b/themes/xenea/style.css index 959dff6977..5c9f387134 100644 --- a/themes/xenea/style.css +++ b/themes/xenea/style.css @@ -996,7 +996,7 @@ html[dir='rtl'] .themesubmenu {margin-right:0;} margin-right:5px; margin-bottom:10px; font-size:13px; - overflow:auto; + overflow:visible; } .blockcontent .list_table { @@ -1626,6 +1626,31 @@ dd { margin:0; } +.itr { + position: absolute; + display: inline-block; + top: 3em; + line-height: 1.05; +} + +.block .itr, #relatives_content .itr { + position: relative; + top: 0; +} + +.popup{ + display: none; +} +.itr:hover .popup{ + display: block; + position: absolute; + width: 16em; + padding: 0.5em; + left: 0.5em; + top: 0.5em; + z-index: 9999; +} + /* styles for FindFacts pop-up */ #layDefinedTags,#tabDefinedTagsShow { width:450px; @@ -1875,7 +1900,7 @@ html[dir='rtl'] .gender, html[dir='rtl'] .aliveinyear, html[dir='rtl'] .years, h /* ========= Sidebar ============== */ #main {min-width:600px; width:100%} #indi_left {float:left; width:98%;} -#tabs {background-color:#FFF; border-color:#DDD; float:left; width:100%; overflow:auto;} +#tabs {background-color:#FFF; border-color:#DDD; float:left; width:100%; overflow:visible;} #sidebar {border-color:#DDD; display:none; margin:5px 2px 0 0; height:auto;} #sidebarAccordion, #sidebarAccordion2 {width:auto;} #sidebarAccordion h3, #sidebarAccordion2 h3 {height:30px; text-align:center; border-color:#999;} diff --git a/themes/xenea/templates/personbox_template.php b/themes/xenea/templates/personbox_template.php index 12b25a3a34..1cb757799a 100644 --- a/themes/xenea/templates/personbox_template.php +++ b/themes/xenea/templates/personbox_template.php @@ -2,12 +2,12 @@ /** * Template for drawing person boxes * This template expects that the following variables will be set - * $pid, $boxID, $personlinks, $icons, $GEDCOM, $style, + * $pid, $boxID, $icons, $GEDCOM, $style, * $name, $classfacts, $genderImage, $BirthDeath, $isF, $outBoxAdd, * $addname, $showid, $float * * webtrees: Web based Family History software - * Copyright (C) 2010 webtrees development team. + * Copyright (C) 2011 webtrees development team. * * Derived from PhpGedView * Copyright (C) 2008 PGV Development Team. All rights reserved. @@ -35,11 +35,7 @@ if (!defined('WT_WEBTREES')) { header('HTTP/1.0 403 Forbidden'); exit; } - ?> -<div id="I<?php echo $boxID; ?>links" - style="position:absolute; left:0px; top:0px; width:<?php echo $lbwidth; ?>px; visibility:hidden; z-index:100;"> -<?php echo $personlinks; ?></div> <div id="out-<?php echo $boxID; ?>" <?php echo $outBoxAdd; ?>> <!-- table helps to maintain spacing --> <table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"> |
