diff options
Diffstat (limited to 'themes/clouds')
| -rw-r--r-- | themes/clouds/style.css | 29 | ||||
| -rw-r--r-- | themes/clouds/templates/personbox_template.php | 8 |
2 files changed, 29 insertions, 8 deletions
diff --git a/themes/clouds/style.css b/themes/clouds/style.css index 94dfe6e2de..ec5615037f 100644 --- a/themes/clouds/style.css +++ b/themes/clouds/style.css @@ -433,7 +433,7 @@ margin-left:auto; margin-right:2px; /* changed from auto for right side match to header */ margin-bottom:10px; font-size: 13px; -overflow:auto; +overflow:visible; padding: 5px; } @@ -1591,6 +1591,31 @@ display: inline; 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; @@ -1840,7 +1865,7 @@ html[dir='rtl'] .gender, html[dir='rtl'] .aliveinyear, html[dir='rtl'] .years, h #main {min-width:600px; width:100%} #separator {background:#ACF url('images/general_sprite.png') no-repeat -26px 100px; float:right; display:block; width:0.75%; min-width: 6px; max-width:10px; border:1px solid #8FBCFF; border-top-left-radius:3px; border-top-right-radius:3px; margin-top:5px;} #sidebar {border-color:#8FBCFF; display:none; margin:5px 2px 0 0; height:auto;} -#tabs {background-color:#FFF; border-color:#8FBCFF; float:left; width:100%; overflow:auto;} +#tabs {background-color:#FFF; border-color:#8FBCFF; float:left; width:100%; overflow:visible;} .sidebar-at-right #sidebar {width:20%;} .use-sidebar #indi_left {width:77%;} diff --git a/themes/clouds/templates/personbox_template.php b/themes/clouds/templates/personbox_template.php index 2f3137171c..bdd3dfc4eb 100644 --- a/themes/clouds/templates/personbox_template.php +++ b/themes/clouds/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) 2010 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"> |
