Fixed Navigation Menus. Updated stylesheets.

svn: r14559
This commit is contained in:
Rob G. Healey 2010-03-02 01:16:46 +00:00
parent 05bceeff35
commit d6e4126cea
4 changed files with 98 additions and 92 deletions

View File

@ -45,7 +45,7 @@ see <http://www.gnu.org/licenses/>.
body { body {
color: #000; color: #000;
background-color: #FFF; background-color: #FFF;
padding: 60px 0px 0px 124px; padding: 60px 0px 0px 128px;
} }
/* Navigation /* Navigation
@ -54,8 +54,8 @@ div#navigation {
position: fixed; position: fixed;
top: 66px; top: 66px;
left: 0px; left: 0px;
width: 124px; width: 128px;
height: 400px; height: 495px;
overflow-x: auto; overflow-x: auto;
border-width: 2px 4px 2px 4px; border-width: 2px 4px 2px 4px;
border-style: solid; border-style: solid;
@ -83,11 +83,11 @@ div#navigation ul li a {
padding: 10px 0px 6px 10px; padding: 10px 0px 6px 10px;
} }
div#navigation ul li a:hover { div#navigation ul li a:hover {
background-color: #C1B398;
} }
div#navigation ul li.CurrentSection a { div#navigation ul li.CurrentSection a {
color: #FFF; color: #FFF;
background-color: #000; background-color: #00029D;
} }
div#navigation ul li.CurrentSection a:hover { div#navigation ul li.CurrentSection a:hover {
border: solid 2px #000; border: solid 2px #000;
@ -107,25 +107,28 @@ div#alphabet ul {
height: 24px; height: 24px;
margin:0; margin:0;
padding: 0px 0px 0px 9px; padding: 0px 0px 0px 9px;
border-bottom: solid 2px #5D835F; border-bottom: solid 2px #000;
} }
div#alphabet ul li { div#alphabet ul li {
float:left; float: left;
}
div#alphabet ul li:first-child {
margin-left: 10px;
} }
div#alphabet ul li:after { div#alphabet ul li:after {
content: "| "; content: "| ";
} }
div#alphabet ul li a { div#alphabet ul li a {
display: block; display: block;
padding: 5px 16px 14px 1px; padding: 4px 8px 8px 8px;
float:left; float: left;
font: .8em bold italic small-caps verdana, serif; font: .8em bold italic small-caps verdana, serif;
color: #000; color: #000;
text-decoration:none; text-decoration:none;
margin:0; margin:0;
} }
div#alphabet ul li a:hover { div#alphabet ul li a:hover {
background-color: #C1B398;
} }
/* SubNavigation /* SubNavigation

View File

@ -3,7 +3,6 @@
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright 2008-2009 Rob G. Healey <robhealey1@gmail.com> # Copyright 2008-2009 Rob G. Healey <robhealey1@gmail.com>
# Copyright 2009 Stephane Charette
# #
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
@ -22,22 +21,21 @@
************************************************************************************************** **************************************************************************************************
GRAMPS Cascading Style Sheet GRAMPS Cascading Style Sheet
Style Name: Visually Impaired Stylesheet Style Name: Basic Blue Stylesheet
Style Author: Jason M. Simanek (2008) Original Style Author: Jason M. Simanek (2008)
*************************************************************************************************** ***************************************************************************************************
-------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------
Color Palette Color Palette
-------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------
brown dark #453619, #542 DK. Blue #00029D
brown light #C1B398 Lt. Blue #70B1ED
gray #696969 Green #13A926
green dark #228A22 Black #000
green #6AF364, #5D835F White #FFF
green lighter #D8F3D6
===== Ancestor Graph Color Scheme ===== ===== Ancestor Graph Color Scheme =====
Males #E5F2FE Males #BCEAF6
Females #FFC0CB Females #FFC0CB
Unknown #000 Unknown #000
@ -45,7 +43,7 @@ Unknown #000
Males Web_Gender_Male.png Males Web_Gender_Male.png
Females Web_Gender_Female.png Females Web_Gender_Female.png
# $Id: Web_Visually.css 14483 2010-02-25 15:52:32Z robhealey1 $ # $Id: Web_Basic-Blue.css 14483 2010-02-25 15:52:32Z robhealey1 $
NarrativeWeb Styles NarrativeWeb Styles
-------------------------------------------------------------------------------------------- */ -------------------------------------------------------------------------------------------- */
@ -118,17 +116,17 @@ h3 {
text-align:center; text-align:center;
margin:0; margin:0;
padding:.5em 20px .2em 20px; padding:.5em 20px .2em 20px;
border-bottom: double 4px #5D835F; border-bottom: double 4px #000;
} }
h4 { h4 {
font: normal 1.2em/1.2em serif; font: normal 1.2em/1.2em serif;
color: #FFF; color: #FFF;
margin-top: .3cm; margin-top: .3cm;
padding:.2em 0 .2em 20px; padding:.2em 0 .2em 20px;
background-color: #453619; background-color: #00029D;
border-width: 4px 0px 4px 0px; border-width: 4px 0px 4px 0px;
border-style: solid; border-style: solid;
border-color: #5D835F; border-color: #13A926;
} }
h5, h6 { h5, h6 {
font:normal 1em/1.2em serif; font:normal 1em/1.2em serif;
@ -141,7 +139,7 @@ p#description {
padding:1em 20px; padding:1em 20px;
} }
p#description:first-letter { p#description:first-letter {
color: #903; color: #13A926;
font-size: 36px; font-size: 36px;
font-weight: bold; font-weight: bold;
font-style: italic; font-style: italic;
@ -167,14 +165,14 @@ ol li a:hover {
text-decoration: none; text-decoration: none;
} }
a { a {
color: #542; color: #000;
} }
a:visited { a:visited {
color: #542; color: #000;
} }
a:hover { a:hover {
color: #000; color: #000;
background-color: #C1B398; background-color: #70B1ED;
text-decoration: none; text-decoration: none;
} }
span.preposition { span.preposition {
@ -189,8 +187,8 @@ span.preposition {
/* Header /* Header
----------------------------------------------------- */ ----------------------------------------------------- */
div#header { div#header {
background-color: #542; background-color: #00029D;
border-bottom: solid 8px #5D835F; border-bottom: solid 8px #13A926;
height: 60px; height: 60px;
width: 100%; width: 100%;
} }
@ -204,7 +202,7 @@ div#header {
p#user_header { p#user_header {
font-size:1.3em; font-size:1.3em;
text-align:left; text-align:left;
color: #6AF364; color: #FFF;
margin:0; margin:0;
padding:.2em 0 .6em 20px; padding:.2em 0 .6em 20px;
} }
@ -219,8 +217,8 @@ div#footer {
font-size: 12px; font-size: 12px;
margin: 0; margin: 0;
color: #FFF; color: #FFF;
background-color: #542; background-color: #00029D;
border-top: solid 8px #5D835F; border-top: solid 8px #13A926;
} }
div#footer a, div#footer a:visited { div#footer a, div#footer a:visited {
text-decoration:none; text-decoration:none;
@ -255,7 +253,7 @@ div#footer p#copyright img {
width:70%; width:70%;
float:left; float:left;
margin:1em; margin:1em;
color: #6AF364; color: #FFF;
} }
#user_footer p { #user_footer p {
font:normal 1em/1.2em serif; font:normal 1em/1.2em serif;
@ -276,8 +274,8 @@ table.infolist thead tr th {
color: #000; color: #000;
margin:0; margin:0;
padding:.2em 10px; padding:.2em 10px;
background-color: #6AF364; background-color: #70B1ED;
border: solid 1px #5D835F; border: solid 1px #000;
} }
table.infolist thead tr th a { table.infolist thead tr th a {
color: #000; color: #000;
@ -296,7 +294,7 @@ table.infolist tr td a {
color: #000; color: #000;
} }
table.infolist tr.BeginLetter td, table.infolist tr.BeginSurname td { table.infolist tr.BeginLetter td, table.infolist tr.BeginSurname td {
border-top: solid 1px #5D835F; border-top: solid 1px #13A815;
} }
table.infolist tr td.ColumnLetter { table.infolist tr td.ColumnLetter {
width:3%; width:3%;
@ -364,7 +362,7 @@ table.surnamelist thead tr th.ColumnLetter {
padding: 0px 10px 0px 20px; padding: 0px 10px 0px 20px;
} }
table.surnamelist tbody tr td { table.surnamelist tbody tr td {
background-color: #D8F3D6; background-color: #70B1ED;
} }
table.surnamelist tbody tr td.ColumnLetter a { table.surnamelist tbody tr td.ColumnLetter a {
background: none; background: none;
@ -389,18 +387,18 @@ table#SortByName tbody tr td.ColumnSurname a {
} }
table.surnamelist tbody tr td.ColumnSurname:hover, table.surnamelist tbody tr td.ColumnSurname:hover,
table#SortByName tbody tr td.ColumnSurname:hover { table#SortByName tbody tr td.ColumnSurname:hover {
background-color: #C1B398; background-color: #70B1ED;
} }
table.surname { table.surname {
border-bottom: solid 1px #5D835F; border-bottom: solid 1px #000;
} }
table.surname thead tr th.ColumnName { table.surname thead tr th.ColumnName {
width:20%; width:20%;
padding-left:20px; padding-left:20px;
} }
table.surname tbody tr td { table.surname tbody tr td {
border-bottom: dashed 1px #5D835F; border-bottom: dashed 1px #000;
background-color: #D8F3D6; background-color: #70B1ED;
} }
table.surname tbody tr td.ColumnName { table.surname tbody tr td.ColumnName {
background-color: #FFF; background-color: #FFF;
@ -436,11 +434,11 @@ div#Individuals {
padding: 0; padding: 0;
} }
div#Individuals table.individuallist { div#Individuals table.individuallist {
border-bottom: solid 1px #5D835F; border-bottom: solid 1px #000;
} }
div#Individuals table.individuallist tbody tr td { div#Individuals table.individuallist tbody tr td {
border-bottom: dashed 1px #5D835F; border-bottom: dashed 1px #000;
background-color: #D8F3D6; background-color: #70B1ED;
} }
div#Individuals table.individuallist tbody tr td a { div#Individuals table.individuallist tbody tr td a {
display: block; display: block;
@ -623,7 +621,7 @@ div#EventDetail table.eventlist tbody tr td.ColumnPerson {
padding: 0; padding: 0;
} }
#Gallery table.infolist tbody tr td { #Gallery table.infolist tbody tr td {
background-colo: #D8F3D6; background-colo: #70B1ED;
} }
#Gallery table.infolist tbody tr td.ColumnRowLabel { #Gallery table.infolist tbody tr td.ColumnRowLabel {
width: 5%; width: 5%;
@ -644,7 +642,7 @@ div#EventDetail table.eventlist tbody tr td.ColumnPerson {
width: 20%; width: 20%;
} }
#Gallery table.gallerylist tbody tr td { #Gallery table.gallerylist tbody tr td {
border-bottom: dashed 1px #5D835F; border-bottom: dashed 1px #000;
} }
#GalleryNav { #GalleryNav {
font:normal 1em/1em sans-serif; font:normal 1em/1em sans-serif;
@ -655,7 +653,7 @@ div#EventDetail table.eventlist tbody tr td.ColumnPerson {
#GalleryNav a { #GalleryNav a {
font-weight:bold; font-weight:bold;
text-decoration:none; text-decoration:none;
border: solid 1px #5D835F; border: solid 1px #000;
} }
#GalleryNav a#Previous { #GalleryNav a#Previous {
padding:.5em .7em .3em .7em; padding:.5em .7em .3em .7em;
@ -678,7 +676,7 @@ div#EventDetail table.eventlist tbody tr td.ColumnPerson {
position:relative; position:relative;
overflow:hidden; overflow:hidden;
text-align:center; text-align:center;
border: solid 1px #5D835F; border: solid 1px #000;
} }
#GalleryDisplay img { #GalleryDisplay img {
margin:0 auto; margin:0 auto;
@ -706,7 +704,7 @@ div#EventDetail table.eventlist tbody tr td.ColumnPerson {
width: 100%; width: 100%;
} }
#GalleryDetail table.exifdata tbody tr { #GalleryDetail table.exifdata tbody tr {
border-top: solid 1px #5D835F; border-top: solid 1px #000;
} }
#GalleryDetail table.exifdata tbody tr td.ColumnExifKeys { #GalleryDetail table.exifdata tbody tr td.ColumnExifKeys {
width: 60%; width: 60%;
@ -718,11 +716,11 @@ div#EventDetail table.eventlist tbody tr td.ColumnPerson {
/* Contact /* Contact
----------------------------------------------------- */ ----------------------------------------------------- */
#Contact #summaryarea { #Contact #summaryarea {
background-color: #D8F3D6; background-color: #70B1ED;
width:500px; width:500px;
margin:0 auto; margin:0 auto;
padding:3em; padding:3em;
border: double 4px #5D835F; border: double 4px #000;
} }
#Contact #summaryarea img { #Contact #summaryarea img {
float:right; float:right;
@ -769,18 +767,18 @@ div#Download {
div#Download table.download { div#Download table.download {
padding: 0; padding: 0;
margin: .5em 0 .5em 0; margin: .5em 0 .5em 0;
border: solid 1px #5D835F; border: solid 1px #000;
width: 100%; width: 100%;
} }
div#Download table.download img { div#Download table.download img {
float:center; float:center;
} }
div#Download table.download tbody tr#Row02 { div#Download table.download tbody tr#Row02 {
border-bottom: solid 2px #5D835F; border-bottom: solid 2px #000;
} }
div#Download table.download tbody tr td { div#Download table.download tbody tr td {
background-color: #D8F3D6; background-color: #70B1ED;
border: solid 1px #5D835F; border: solid 1px #000;
text-align:left; text-align:left;
} }
div#Download table.download td.Filename { div#Download table.download td.Filename {
@ -809,7 +807,7 @@ div#Download table.download td.Modified {
#Sources { } #Sources { }
div#Sources table.infolist tbody tr td { div#Sources table.infolist tbody tr td {
background-color: #D8F3D6; background-color: #70B1ED;
} }
div#Sources table.infolist tbody tr td.ColumnRowLabel { div#Sources table.infolist tbody tr td.ColumnRowLabel {
padding-bottom:0; padding-bottom:0;
@ -836,7 +834,7 @@ div#RepositoryList {
padding: 0; padding: 0;
} }
div#RepositoryList table.repolist tbody tr td { div#RepositoryList table.repolist tbody tr td {
background-color: #D8F3D6; background-color: #70B1ED;
} }
div#RepositoryList table.repolist tbody tr td a { div#RepositoryList table.repolist tbody tr td a {
display: block; display: block;
@ -857,21 +855,22 @@ div#RepositoryList table.repolist tbody tr td.ColumnName {
div#AddressBookList, AddressBookDetail { div#AddressBookList, AddressBookDetail {
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 855px;
} }
div#AddressBookList table.addressbook { div#AddressBookList table.addressbook {
margin: .3em 0 .3em 0; margin: .3em 0 .3em 0;
} }
div#AddressBookList table.addressbook tbody tr.Totals { div#AddressBookList table.addressbook tbody tr.Totals {
border: solid 1px #5D835F; border: solid 1px #000;
} }
div#AddressBookList tble.addressbook tbody tr.Totals td { div#AddressBookList tble.addressbook tbody tr.Totals td {
text-align: left; text-align: left;
background-color: #D8F3D6; background-color: #70B1ED;
} }
div#AddressBookList table.addressbook tbody tr td { div#AddressBookList table.addressbook tbody tr td {
background-color: #D8F3D6; background-color: #70B1ED;
text-align: center; text-align: center;
border: solid 1px #5D835F; border: solid 1px #000;
} }
div#AddressBookList table.addressbook tbody tr td.ColumnRowLabel { div#AddressBookList table.addressbook tbody tr td.ColumnRowLabel {
width: 4%; width: 4%;
@ -879,7 +878,7 @@ div#AddressBookList table.addressbook tbody tr td.ColumnRowLabel {
div#AddressBookList table.addressbook tbody tr td.ColumnName { div#AddressBookList table.addressbook tbody tr td.ColumnName {
background-color: #FFF; background-color: #FFF;
text-align: left; text-align: left;
width: 70%; width: 65%;
} }
div#AddressBookList table.addressbook tbody tr td.ColumnName a { div#AddressBookList table.addressbook tbody tr td.ColumnName a {
display: block; display: block;
@ -949,9 +948,9 @@ div#events h4 {
font-size:10px; font-size:10px;
line-height:12px; line-height:12px;
text-transform:uppercase; text-transform:uppercase;
color: #542; color: #000;
padding-top:6px 0 4px 0; padding-top:6px 0 4px 0;
background-color: #6AF364; background-color: #70B1ED;
} }
#IndividualDetail div#events table.infolist thead tr th:first-child { #IndividualDetail div#events table.infolist thead tr th:first-child {
padding-left:20px; padding-left:20px;
@ -961,10 +960,10 @@ div#events h4 {
padding-bottom:.8em; padding-bottom:.8em;
} }
#IndividualDetail div#events table.infolist tbody tr td.ColumnAttribute { #IndividualDetail div#events table.infolist tbody tr td.ColumnAttribute {
border-bottom: solid 1px #5D835F; border-bottom: solid 1px #000;
} }
#IndividualDetail div#events table.infolist tbody tr td.ColumnValue { #IndividualDetail div#events table.infolist tbody tr td.ColumnValue {
border-bottom:solid 1px #5D835F border-bottom:solid 1px #000;
} }
table.infolist tbody tr td.ColumnValue p { table.infolist tbody tr td.ColumnValue p {
font-family:sans-serif; font-family:sans-serif;
@ -982,10 +981,10 @@ table.attrlist {
width: 100%; width: 100%;
} }
table.attrlist tbody tr { table.attrlist tbody tr {
border: solid 1px #5D835F; border: solid 1px #000;
} }
table.attrlist tbody tr td { table.attrlist tbody tr td {
background-color: #D8F3D6; background-color: #70B1ED;
} }
table.attrlist tbody tr td.ColumnType { table.attrlist tbody tr td.ColumnType {
width: 200px; width: 200px;
@ -1005,7 +1004,7 @@ table.attrlist tbody tr td.ColumnNotes {
} }
div#attributes table.attrlist tbody tr td.ColumnNotes { div#attributes table.attrlist tbody tr td.ColumnNotes {
width: 400px; width: 400px;
background-color: #D8F3D6; background-color: #70B1ED;
} }
/* Subsections : Parents /* Subsections : Parents
@ -1047,8 +1046,10 @@ div#families table.infolist tbody tr td.ColumnValue ol li {
/* Subsection: LDS Ordinance /* Subsection: LDS Ordinance
------------------------------------------------------ */ ------------------------------------------------------ */
div#LDSOrdinance { } div#LDSOrdinance {
margin: 0;
padding: 0;
}
div#LDSOrdinance table.ldsordlist { div#LDSOrdinance table.ldsordlist {
font-size:.35cm; font-size:.35cm;
} }
@ -1056,7 +1057,7 @@ table.ldsordlist {
margin-bottom:.5em; margin-bottom:.5em;
} }
table.ldsordlist tbody tr td { table.ldsordlist tbody tr td {
border-bottom: solid 1px #5D835F; border-bottom: solid 1px #000;
} }
table.ldsordlist tbody tr td.ColumnLDSType { table.ldsordlist tbody tr td.ColumnLDSType {
width:12%; width:12%;
@ -1089,10 +1090,10 @@ div#Addresses {
} }
div#Addresses table.infolist { div#Addresses table.infolist {
font-size: 12px; font-size: 12px;
background- color: #D8F3D6; background-color: #70B1ED;
} }
div#Addresses table.infolist tbody tr td { div#Addresses table.infolist tbody tr td {
border-bottom: solid 1px #5D835F; border-bottom: solid 1px #000;
} }
div#Addresses table.infolist tbody tr td.ColumnDate { div#Addresses table.infolist tbody tr td.ColumnDate {
width: 15%; width: 15%;
@ -1104,7 +1105,7 @@ div#Addresses table.infolist tbody tr td.ColumnCity {
width: 8%; width: 8%;
} }
div#Addresses table.infolist tbody tr td.ColumnCounty { div#Addresses table.infolist tbody tr td.ColumnCounty {
with: 8%; width: 8%;
} }
div#Addresses table.infolist tbody tr td.ColumnState { div#Addresses table.infolist tbody tr td.ColumnState {
width: 12%; width: 12%;
@ -1140,7 +1141,7 @@ div#Addresses table.infolist tbody tr td.ColumnPhone {
#indivgallery div.thumbnail a img { #indivgallery div.thumbnail a img {
margin-bottom:.5cm; margin-bottom:.5cm;
padding:0; padding:0;
border: solid 1px #5D835F; border: solid 1px #000;
} }
#indivgallery div.thumbnail p { #indivgallery div.thumbnail p {
font:normal .7em/1.4em sans-serif; font:normal .7em/1.4em sans-serif;
@ -1187,7 +1188,7 @@ div#summaryarea table.infolist {
margin:0; margin:0;
padding:0; padding:0;
background:#FFF; background:#FFF;
border-bottom: solid .7em #5D835F; border-bottom: solid .7em #000;
} }
div#summaryarea table.infolist tr td, div#summaryarea table.infolist tr td p { div#summaryarea table.infolist tr td, div#summaryarea table.infolist tr td p {
font:normal .9em/1.2em sans-serif; font:normal .9em/1.2em sans-serif;
@ -1278,12 +1279,12 @@ div#pedigree {
font:normal .7em/1.4em sans-serif; font:normal .7em/1.4em sans-serif;
text-align:center; text-align:center;
text-decoration:none; text-decoration:none;
color: #542; color: #00029D;
width:118px; width:118px;
padding:5px 20px 7px 20px; padding:5px 20px 7px 20px;
margin-left:16px; margin-left:16px;
background-color: #FFF; background-color: #FFF;
border: solid 1px #5D835F border: solid 1px #000;
} }
#treeContainer div.boxbg a.noThumb, #treeContainer div.boxbg a.noThumb,
#treeContainer div.AncCol3 a, #treeContainer div.AncCol3 a,
@ -1297,11 +1298,11 @@ div#pedigree {
z-index:999; z-index:999;
font-size:1em; font-size:1em;
text-decoration:none; text-decoration:none;
color: #542; color: #00029D;
width:190px; width:190px;
margin-left:-20px; margin-left:-20px;
padding:10px 25px 12px 25px; padding:10px 25px 12px 25px;
border: solid 2px #5D835F; border: solid 2px #000;
} }
#treeContainer div.boxbg a:hover, #treeContainer div.boxbg a:hover,
#treeContainer div.AncCol3 a:hover, #treeContainer div.AncCol3 a:hover,
@ -1347,7 +1348,7 @@ div#pedigree {
#treeContainer div.unknown a, #treeContainer div.unknown a,
#treeContainer div.unknown span.unlinked { #treeContainer div.unknown span.unlinked {
background-color: #000; background-color: #000;
color: #FAFAFA; color: #FFF;
} }
.shadow { .shadow {
display:none; display:none;
@ -1358,7 +1359,7 @@ div#pedigree {
height:1px; height:1px;
margin:0 0 0 16px; margin:0 0 0 16px;
padding:0; padding:0;
background-color: #228A22; background-color: #00029D;
} }
#tree div div.bhline { #tree div div.bhline {
position:absolute; position:absolute;
@ -1366,7 +1367,7 @@ div#pedigree {
width:1px; width:1px;
margin:0 0 0 16px; margin:0 0 0 16px;
padding:0; padding:0;
background-color: #228A22; background-color: #00029D;
} }
.ghline, .gvline { .ghline, .gvline {
display:none; display:none;

View File

@ -1089,7 +1089,7 @@ div#Addresses {
} }
div#Addresses table.infolist { div#Addresses table.infolist {
font-size: 12px; font-size: 12px;
background- color: #D8F3D6; background-color: #D8F3D6;
} }
div#Addresses table.infolist tbody tr td { div#Addresses table.infolist tbody tr td {
border-bottom: solid 1px #5D835F; border-bottom: solid 1px #5D835F;
@ -1104,7 +1104,7 @@ div#Addresses table.infolist tbody tr td.ColumnCity {
width: 8%; width: 8%;
} }
div#Addresses table.infolist tbody tr td.ColumnCounty { div#Addresses table.infolist tbody tr td.ColumnCounty {
with: 8%; width: 8%;
} }
div#Addresses table.infolist tbody tr td.ColumnState { div#Addresses table.infolist tbody tr td.ColumnState {
width: 12%; width: 12%;

View File

@ -948,19 +948,21 @@ class BasePage(object):
url4 = self.report.build_url_image("favicon.ico", "images", self.up) url4 = self.report.build_url_image("favicon.ico", "images", self.up)
# create stylesheet and favicon links # create stylesheet and favicon links
links = [Html("link", href = url4, type = "image/x-icon", rel = "shortcut icon"), links = Html("link", href = url4, type = "image/x-icon", rel = "shortcut icon") + (
Html("link", href = url1, type = "text/css", media = "screen", rel = "stylesheet"), Html("link", href = url1, type = "text/css", media = "screen", rel = "stylesheet"),
Html("link", href = url2, type = "text/css", media = "screen", rel = "stylesheet"), Html("link", href = url2, type = "text/css", media = "screen", rel = "stylesheet"),
Html("link", href = url3, type = "text/css", media = 'print', rel = "stylesheet") ] Html("link", href = url3, type = "text/css", media = 'print', rel = "stylesheet")
)
if self.report.css in ["Web_Basic-Blue.css", "Web_Visually.css"]: if self.report.css in ["Web_Basic-Blue.css", "Web_Visually.css"]:
# Link to Navigation Menus stylesheet # Link to Navigation Menus stylesheet
fname = "/".join(["styles", "Web_Navigation-Menus.css"]) fname = "/".join(["styles", "Web_Navigation-Menus.css"])
url = self.report.build_url_fname(fname, None, self.up) url = self.report.build_url_fname(fname, None, self.up)
links += Html("link", href = url, type = "text/css", media = "screen", rel = "stylesheet") links.extend( Html("link", href = url, type = "text/css", media = "screen", rel = "stylesheet") )
# add additional meta and link tags # add additional meta and link tags
head += (meta, links) head += meta
head += links
# alpha event pages do not need these things # alpha event pages do not need these things
if key is not _ALPHAEVENT: if key is not _ALPHAEVENT:
@ -1004,8 +1006,8 @@ class BasePage(object):
navs = [ navs = [
(self.report.index_fname, _("Html|Home"), self.report.use_home), (self.report.index_fname, _("Html|Home"), self.report.use_home),
(self.report.intro_fname, _("Introduction"), self.report.use_intro), (self.report.intro_fname, _("Introduction"), self.report.use_intro),
(self.report.surname_fname, _("Surnames"), True),
('individuals', _("Individuals"), True), ('individuals', _("Individuals"), True),
(self.report.surname_fname, _("Surnames"), True),
('places', _("Places"), True), ('places', _("Places"), True),
('events', _("Events"), self.report.inc_events), ('events', _("Events"), self.report.inc_events),
('media', _("Media"), self.create_media), ('media', _("Media"), self.create_media),