2010-08-20 08:04:43 +05:30
|
|
|
/*
|
|
|
|
#
|
|
|
|
# Gramps - a GTK+/GNOME based genealogy program
|
|
|
|
#
|
|
|
|
# Copyright (C) 2010 Rob G. Healey <robhealey1@gmail.com>
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
2019-10-17 05:47:31 +05:30
|
|
|
# This program is distributed in the hope that it will be useful,
|
2010-08-20 08:04:43 +05:30
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2014-08-09 07:59:07 +05:30
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2010-08-20 08:04:43 +05:30
|
|
|
#
|
|
|
|
# $Id: $
|
|
|
|
#
|
2019-10-17 05:47:31 +05:30
|
|
|
*******************************************************************************
|
2010-08-20 08:04:43 +05:30
|
|
|
GRAMPS Cascading Style Sheet
|
|
|
|
Style Name: Combined Ancestor Tree Style Sheet
|
2019-10-17 05:47:31 +05:30
|
|
|
*******************************************************************************
|
2010-08-20 08:04:43 +05:30
|
|
|
#
|
|
|
|
===== Ancestor Graph Color Scheme =====
|
|
|
|
Males #BCEAF6
|
|
|
|
Females #FFC0CB
|
|
|
|
Unknown #000
|
|
|
|
#
|
|
|
|
===== Web Graphics =====
|
|
|
|
Males Web_Gender_Male.png
|
|
|
|
Females Web_Gender_Female.png
|
2019-10-17 05:47:31 +05:30
|
|
|
# -------------------------------------------------------------------------- #
|
|
|
|
/* Subsections : Ancestors Tree -------------------------------------------- */
|
2010-08-20 08:04:43 +05:30
|
|
|
#tree {
|
|
|
|
page-break-before:always;
|
|
|
|
margin:0;
|
|
|
|
padding:0;
|
|
|
|
background:none;
|
|
|
|
}
|
|
|
|
#treeContainer {
|
|
|
|
position:relative;
|
2017-11-22 14:57:40 +05:30
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
overflow: visible;
|
2010-08-20 08:04:43 +05:30
|
|
|
z-index:1;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg {
|
|
|
|
position:absolute;
|
2019-10-17 05:47:31 +05:30
|
|
|
margin:0px;
|
|
|
|
padding:0px;
|
2010-08-20 08:04:43 +05:30
|
|
|
background:none;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a,
|
|
|
|
#treeContainer div.boxbg span.unlinked {
|
|
|
|
position:relative;
|
|
|
|
z-index:10;
|
|
|
|
display:block;
|
2019-10-17 05:47:31 +05:30
|
|
|
font:normal 1.1em/1.4em sans-serif;
|
2010-08-20 08:04:43 +05:30
|
|
|
text-align:center;
|
2019-10-17 05:47:31 +05:30
|
|
|
word-break:break-word;
|
|
|
|
word-wrap:break-word;
|
2010-08-20 08:04:43 +05:30
|
|
|
text-decoration:none;
|
2010-09-15 11:08:05 +05:30
|
|
|
color: #00029D;
|
2019-10-17 05:47:31 +05:30
|
|
|
width:280px;
|
|
|
|
min-height: 70px;
|
2010-08-20 08:04:43 +05:30
|
|
|
margin-left:16px;
|
2019-10-17 05:47:31 +05:30
|
|
|
border: solid 2px #000;
|
|
|
|
border-radius: 10px;
|
2010-08-20 08:04:43 +05:30
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a.noThumb,
|
2019-10-17 05:47:31 +05:30
|
|
|
#treeContainer div.AncCol4 a,
|
2010-08-20 08:04:43 +05:30
|
|
|
#treeContainer div.AncCol4 span.unlinked {
|
|
|
|
margin-top:10px;
|
2019-10-17 05:47:31 +05:30
|
|
|
float: right;
|
2010-08-20 08:04:43 +05:30
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a:hover {
|
|
|
|
position:relative;
|
|
|
|
z-index:999;
|
2019-10-17 05:47:31 +05:30
|
|
|
font-size:1.3em;
|
|
|
|
word-break:break-word;
|
|
|
|
word-wrap:break-word;
|
2010-08-20 08:04:43 +05:30
|
|
|
text-decoration:none;
|
2010-09-15 11:08:05 +05:30
|
|
|
color: #00029D;
|
2019-10-17 05:47:31 +05:30
|
|
|
width:400px;
|
2010-08-20 08:04:43 +05:30
|
|
|
margin-left:-20px;
|
2019-10-17 05:47:31 +05:30
|
|
|
padding: 0px 0px 0px 40px;
|
2010-08-20 08:04:43 +05:30
|
|
|
}
|
2019-10-17 05:47:31 +05:30
|
|
|
#treeContainer div.boxbg a:hover,
|
2010-08-20 08:04:43 +05:30
|
|
|
#treeContainer div.AncCol4 a:hover {
|
|
|
|
margin-top:-44px;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a.noThumb:hover {
|
|
|
|
margin-top:0;
|
2019-10-17 05:47:31 +05:30
|
|
|
padding-left: 10px;
|
2010-08-20 08:04:43 +05:30
|
|
|
}
|
|
|
|
#treeContainer div.AncCol0 a:hover {
|
|
|
|
margin-left:12px;
|
|
|
|
}
|
|
|
|
#treeContainer div.AncCol4 a:hover {
|
|
|
|
margin-left:-60px;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg span.thumbnail {
|
|
|
|
display:block;
|
2019-10-17 05:47:31 +05:30
|
|
|
position: absolute;
|
|
|
|
max-width:85px;
|
|
|
|
max-height:75px;
|
|
|
|
left: 3px;
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a.thumbnail table td.img {
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a.thumbnail:hover table td.img {
|
|
|
|
padding-right: 9px;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a.thumbnail table td.name {
|
|
|
|
padding-top:3px;
|
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 23px;
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a.thumbnail img {
|
|
|
|
margin-left:0px;
|
|
|
|
padding-left: 0px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a.thumbnail:hover img {
|
|
|
|
max-height:90%;
|
|
|
|
margin-left:5px;
|
|
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
|
|
top: 4px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg table td:first-child, table th:first-child {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
#IndividualDetail div.subsection table tr td:first-child {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
#treeContainer #treeContainer div.AncCol4 span.thumbnail {
|
2010-08-20 08:04:43 +05:30
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a:hover span.thumbnail {
|
|
|
|
display:block;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg span.fullname {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg span.shortname {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a:hover span.fullname {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
#treeContainer div.boxbg a:hover span.shortname {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-10-17 05:47:31 +05:30
|
|
|
#treeContainer div.boxbg a:hover {
|
|
|
|
float: right;
|
|
|
|
margin-top: 10px;
|
|
|
|
border: solid 4px #000;
|
|
|
|
}
|
2010-08-20 08:04:43 +05:30
|
|
|
#treeContainer div.male a,
|
|
|
|
#treeContainer div.male span.unlinked {
|
|
|
|
background:url(../images/Web_Gender_Male.png) #BCEAF6 no-repeat top right;
|
|
|
|
}
|
2019-10-17 05:47:31 +05:30
|
|
|
#treeContainer div.female a,
|
2010-08-20 08:04:43 +05:30
|
|
|
#treeContainer div.female span.unlinked {
|
|
|
|
background:url(../images/Web_Gender_Female.png) #FFC0CB no-repeat top right;
|
|
|
|
}
|
|
|
|
#treeContainer div.unknown a,
|
|
|
|
#treeContainer div.unknown span.unlinked {
|
|
|
|
background-color: #000;
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
.shadow {
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
#tree div div.bvline {
|
|
|
|
position:absolute;
|
|
|
|
z-index:2;
|
|
|
|
height:1px;
|
|
|
|
margin:0 0 0 16px;
|
|
|
|
padding:0;
|
|
|
|
background-color: #00029D;
|
|
|
|
}
|
|
|
|
#tree div div.bhline {
|
|
|
|
position:absolute;
|
|
|
|
z-index:2;
|
|
|
|
width:1px;
|
|
|
|
margin:0 0 0 16px;
|
|
|
|
padding:0;
|
|
|
|
background-color: #00029D;
|
|
|
|
}
|
|
|
|
.ghline, .gvline {
|
|
|
|
display:none;
|
|
|
|
}
|