Fixed a typing error from yesterday's open_file_with_default_application(). Completed work on default printer stylesheet also.

svn: r12702
This commit is contained in:
Rob G. Healey
2009-06-24 20:03:10 +00:00
parent d5ccd93043
commit 22ecedb061
3 changed files with 118 additions and 196 deletions

View File

@@ -34,11 +34,6 @@ Color Palette
White #FFF
black #000
===== Ancestor Graph Color Scheme =====
Males #E5F2FE
Females #FFC0CB
Unknown #000
===== Web Graphics =====
Males Web_Gender_Male.png
Females Web_Gender_Female.png
@@ -82,8 +77,6 @@ img {
width:965px;
margin:0 auto;
padding-bottom:.5em;
background-color:#FFF;
color:#000;
}
.content div.snapshot {
margin:0;
@@ -108,9 +101,6 @@ img {
h1 {
font:normal 2em/1.2em serif;
}
h2 {
display:none;
}
h3 {
font:normal 2em/1.2em serif;
text-align:center;
@@ -120,7 +110,6 @@ h3 {
}
h4 {
font:normal 1.2em/1.2em serif;
color:#000;
margin:0;
padding:.2em 0 .2em 20px;
border-bottom:solid 2px #000;
@@ -152,7 +141,10 @@ span.preposition {
}
.grampsid {
font:normal .8em/1.2em monospace;
}
a {
color:#000;
text-decoration:none;
}
/* Header
@@ -187,8 +179,6 @@ p#user_header {
margin:0;
padding:0;
border-top:solid 2px #000;
background-color:#FFF;
color:#000;
}
#footer img {
border:0;
@@ -240,11 +230,9 @@ table.infolist {
width:100%;
margin:0;
padding:0;
background-color:#FFF;
}
table.infolist thead tr th {
font:normal 1.1em/1.2em serif;
color:#000;
margin:0;
padding:.2em 10px;
border-bottom:solid 1px #000;
@@ -255,7 +243,7 @@ table.infolist tr td {
padding:.1em 10px;
}
table.infolist tr.BeginLetter td, table.infolist tr.BeginSurname td {
border-top:solid 1px #453619;
border-top:solid 1px #000;
}
table.infolist tr td.ColumnLetter {
width:3%;
@@ -263,7 +251,6 @@ table.infolist tr td.ColumnLetter {
}
table.infolist tbody tr td.ColumnBirth {
font-size:.9em;
color:#000;
width:10%;
}
table.infolist tbody tr td.ColumnDeath {
@@ -272,7 +259,6 @@ table.infolist tbody tr td.ColumnDeath {
}
table.infolist tbody tr td.ColumnRowLabel {
width:2%;
color:#000;
padding-left:20px;
}
table.infolist tbody tr td.ColumnType {
@@ -309,28 +295,20 @@ table.surnamelist thead tr th a, table.surnamelist thead tr th a:visited {
text-decoration:none;
padding:.2em 10px;
}
table.surnamelist tr th:hover {
background-color:#C1B398;
}
table.surnamelist thead tr th.ColumnLetter {
padding-left:20px;
padding-right:10px;
}
table#SortByName thead tr th.ColumnSurname, table#SortByCount thead tr th.ColumnQuantity {
background-color:#C1B398;
}
table#SortByName thead tr th.ColumnSurname a:after, table#SortByCount thead tr th.ColumnQuantity a:after {
content:" ↓";
}
table#SortByName tbody tr td.ColumnSurname {
padding:0;
background-color:#FFF;
}
table#SortByCount tbody tr td.ColumnQuantity {
background-color:#FFF;
}
table.surnamelist tbody tr td.ColumnSurname:hover, table#SortByName tbody tr td.ColumnSurname:hover {
background-color:#C1B398;
}
table.surname {
border-bottom:solid 1px #000;
@@ -373,8 +351,6 @@ table.individuallist tbody tr td.ColumnPartner {
/* IndividualDetail
------------------------------------------------------ */
#IndividualDetail {
background-color:#FFF;
color:#000;
}
#IndividualDetail div table.infolist tr td {
font:normal .9em/1.2em sans-serif;
@@ -417,16 +393,7 @@ table.individuallist tbody tr td.ColumnPartner {
padding:0;
}
#GalleryNav {
display:none'
}
#GalleryPages {
margin:0 1em;
}
#GalleryCurrent {
font:bold 1.2em/1em sans-serif;
}
#GalleryTotal {
font-weight:normal;
display:none;
}
#GalleryDisplay {
margin:0 auto;
@@ -507,7 +474,6 @@ table.individuallist tbody tr td.ColumnPartner {
padding-left:.5cm;
padding-right:.5cm;
height:390px;
color:#000;
}
table.download {
border:solid 2px #000;
@@ -548,7 +514,6 @@ table.download td.Filename {
}
table.download td.Modified {
width:17%;
font-weight:bold;
}
/* Subsections
@@ -566,7 +531,6 @@ table.download td.Modified {
}
div.subsection{
padding-bottom:.5em;
background-color:#FFF;
}
div.subsection h4 {
margin-bottom:.5em;
@@ -583,8 +547,6 @@ div.subsection table.infolist {
----------------------------------------------------- */
div#events {
padding-bottom:0;
height:2.5cm;
overflow:auto;
}
div#events h4 {
margin-bottom:0;
@@ -596,10 +558,8 @@ div#events h4 {
line-height:12px;
font-family:sans-serif;
text-transform:uppercase;
color:#000;
padding-top:6px;
padding-bottom:4px;
background-color:#6AF364;
}
#IndividualDetail div#events table.eventtable {
width:100%;
@@ -613,14 +573,13 @@ div#events h4 {
padding-bottom:.8em;
}
#IndividualDetail div#events table.infolist tbody tr td.ColumnAttribute {
border-bottom:solid 1px #453619;
border-bottom:solid 1px #000;
}
#IndividualDetail div#events table.infolist tbody tr td.ColumnValue {
border-bottom:solid 1px #453619;
border-bottom:solid 1px #000;
}
table.infolist tbody tr td.ColumnValue p {
font-family:sans-serif;
color:#696969;
margin:.2em 0 0 2em;
}
@@ -670,10 +629,10 @@ div#addresses table.infolist tbody tr td {
}
div#addresses table.infolist tbody tr td.ColumnAttribute {
width:30%;
border-bottom:solid 1px #453619;
border-bottom:solid 1px #000;
}
div#addresses table.infolist tbody tr td.ColumnValue {
border-bottom:solid 1px #453619;
border-bottom:solid 1px #000;
}
/* Subsections : Gallery
@@ -697,7 +656,7 @@ div#addresses table.infolist tbody tr td.ColumnValue {
#indivgallery .thumbnail tr a img {
margin:0;
padding:0;
border:solid 1px #453619;
border:solid 1px #000;
}
#indivgallery div.thumbnail p {
font:normal .7em/1.4em sans-serif;
@@ -725,8 +684,6 @@ div#narrative {
/* Subsections : Source References
----------------------------------------------------- */
div#sourcerefs {
height:2.5cm;
overflow:auto;
}
div#sourcerefs ol {
list-style-type:decimal;
@@ -743,7 +700,6 @@ div#summaryarea {
div#summaryarea table.infolist {
margin:0;
padding:0;
background:#FFF;
border-bottom:solid .7em #FFF;
}
div#summaryarea table.infolist tr td, div#summaryarea table.infolist tr td p {
@@ -755,7 +711,6 @@ div#summaryarea table.infolist tr td a, div#summaryarea table.infolist tr td p a
}
div#summaryarea table.infolist tbody tr td.ColumnAttribute {
width:14%;
color:#696969;
padding-left:20px;
}
@@ -793,7 +748,6 @@ div#pedigree {
.spouse a {
font-weight:normal;
font-style:normal;
color:#000;
}
.spouse:before {
content: "+ ";
@@ -828,13 +782,11 @@ div#pedigree {
font:normal .7em/1.4em sans-serif;
text-align:center;
text-decoration:none;
color:#542;
width:118px;
padding:5px 20px 7px 20px;
margin-top:-25px;
margin-left:16px;
background-color:#FFF;
border:solid 1px #453619;
border:solid 1px #000;
}
#treeContainer div.boxbg a.noThumb,
#treeContainer div.AncCol3 a,
@@ -861,16 +813,14 @@ div#pedigree {
}
#treeContainer div.male a,
#treeContainer div.male span.unlinked {
background:url(../images/Web_Gender_Male.png) #BCEAF6 no-repeat top right;
background:url(../images/Web_Gender_Male.png) #FFF no-repeat top right;
}
#treeContainer div.female a,
#treeContainer div.female span.unlinked {
background:url(../images/Web_Gender_Female.png) #FFC0CB no-repeat top right;
background:url(../images/Web_Gender_Female.png) #FFF no-repeat top right;
}
#treeContainer div.unknown a,
#treeContainer div.unknown span.unlinked {
background-color:#000;
color:#FAFAFA;
}
.shadow {
display:none;
@@ -881,7 +831,7 @@ div#pedigree {
height:1px;
margin:0 0 0 16px;
padding:0;
background-color:#453619;
background-color:#000;
}
#tree div div.bhline {
position:absolute;
@@ -889,7 +839,7 @@ div#pedigree {
width:1px;
margin:0 0 0 16px;
padding:0;
background-color:#453619;
background-color:#000;
}
.ghline, .gvline {
display:none;
@@ -900,7 +850,6 @@ div#pedigree {
/* Calendar : General */
body#WebCal {
padding:0 14px;
background-color:#542;
}
.calendar {
empty-cells:show;
@@ -926,28 +875,22 @@ body#WebCal {
font-size:2em;
line-height:100%;
text-transform:none;
color:#542;
padding:.3em 0 .2em 0;
background-color:#FFF;
}
#CreatorInfo {
float:right;
color:#FFF;
margin:-24px 10px 0 0;
}
.calendar thead tr th.weekend,
.calendar thead tr th.weekday {
font-style:italic;
color:#000;
background-color:#6AF364;
border:solid 2px #453619;
border:solid 2px #000;
}
.calendar tfoot tr td {
padding:.7em 5% 1em 5%;
border-top:solid 2px #000;
vertical-align:middle;
color:#453619;
background-color:#D8F3D6;
}
/* Calendar : Date Numeral */
@@ -958,10 +901,8 @@ body#WebCal {
font-size:1.2em;
line-height:100%;
text-align:center;
color:#542;
margin:0 0 0 .5em;
padding:.2em 0;
background-color:#D8F3D6;
}
/* Calendar : Date Container */
@@ -971,22 +912,20 @@ body#WebCal {
padding:0;
border-width:1px 0 0 1px;
border-style:solid;
border-color:#453619;
border-color:#000;
}
.calendar tbody tr td.weekday {
background-color:#FFF;
}
.calendar tbody tr td.weekend {
background-color:#D8F3D6;
}
.calendar tbody tr td.saturday {
border-right:solid 1px #453619;
border-right:solid 1px #000;
}
.calendar tbody tr td.sunday {
border-left:solid 1px #453619;
border-left:solid 1px #000;
}
.calendar tbody tr td:first-child {
border-left:solid 1px #453619;
border-left:solid 1px #000;
}
.calendar tbody tr:first-child td {
border-top:none;
@@ -1005,7 +944,7 @@ body#WebCal {
width:92%;
margin:0 4%;
padding:.2em 0 .3em 0;
border-top:dashed 1px #453619;
border-top:dashed 1px #000;
}
.calendar tbody tr td ul li:first-child {
border:none;
@@ -1014,16 +953,12 @@ body#WebCal {
/* Calendar : Birthday, Anniversary, Highlight */
.calendar tbody tr td ul li em {
font-style:normal;
color:#0A65B5;
}
.calendar tbody tr td ul li span.yearsmarried em {
color:#453619;
}
.calendar tbody tr td.highlight { }
.calendar tbody tr td.highlight div.date {
color:#0A65B5;
background-color:#C2E1FE;
}
/* Calendar : Previous-Next Month */
@@ -1031,8 +966,6 @@ body#WebCal {
.calendar tbody tr td.next,
.calendar tbody tr td.previous div.date,
.calendar tbody tr td.next div.date {
color:#333;
background-color:#D8F3D6;
}
/* Calendar : Full Year */
@@ -1045,7 +978,7 @@ body#fullyearlinked table.calendar {
float:left;
width:320px;
height:18em;
border:solid 1px #453619;
border:solid 1px #000;
}
body#fullyearlinked table.calendar thead tr th {
height:2em;