Adjusted several style elements for better layout and presentation.
svn: r18592
This commit is contained in:
parent
f210c0ea4f
commit
e3227d6374
@ -598,7 +598,6 @@ class BasePage(object):
|
|||||||
|
|
||||||
lnk = (self.report.cur_fname, self.page_title, self.gid)
|
lnk = (self.report.cur_fname, self.page_title, self.gid)
|
||||||
text = ""
|
text = ""
|
||||||
|
|
||||||
for citation_handle in citation_handle_list:
|
for citation_handle in citation_handle_list:
|
||||||
citation = self.report.database.get_citation_from_handle(
|
citation = self.report.database.get_citation_from_handle(
|
||||||
citation_handle)
|
citation_handle)
|
||||||
@ -691,7 +690,6 @@ class BasePage(object):
|
|||||||
|
|
||||||
@param: notelist -- list of notes
|
@param: notelist -- list of notes
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if not notelist:
|
if not notelist:
|
||||||
return Html("div")
|
return Html("div")
|
||||||
|
|
||||||
@ -5168,7 +5166,7 @@ class IndividualPage(BasePage):
|
|||||||
Html("th", label, class_ =colclass, inline =True)
|
Html("th", label, class_ =colclass, inline =True)
|
||||||
for (label, colclass) in [
|
for (label, colclass) in [
|
||||||
(_("Date"), "ColumnDate"),
|
(_("Date"), "ColumnDate"),
|
||||||
(_("Place Title"), "ColumnName"),
|
(_("Place Title"), "ColumnPlace"),
|
||||||
(_("Event Type"), "ColumnType")
|
(_("Event Type"), "ColumnType")
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
@ -5184,7 +5182,7 @@ class IndividualPage(BasePage):
|
|||||||
Html("td", data, class_ =colclass, inline =True)
|
Html("td", data, class_ =colclass, inline =True)
|
||||||
for data, colclass in [
|
for data, colclass in [
|
||||||
(date, "ColumnDate"),
|
(date, "ColumnDate"),
|
||||||
(self.place_link(handle, placetitle, up =True), "ColumnName"),
|
(self.place_link(handle, placetitle, up =True), "ColumnPlace"),
|
||||||
(etype, "ColumnType")
|
(etype, "ColumnType")
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
@ -372,6 +372,9 @@ table.infolist tr td.ColumnLetter {
|
|||||||
width: 3%;
|
width: 3%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
table.infolist tbody tr td.ColumnDate {
|
||||||
|
width: 12%;
|
||||||
|
}
|
||||||
table.infolist tbody tr td.ColumnBirth {
|
table.infolist tbody tr td.ColumnBirth {
|
||||||
font-size:.9em;
|
font-size:.9em;
|
||||||
width: 10%;
|
width: 10%;
|
||||||
@ -561,7 +564,7 @@ div#Relationships table.infolist tbody tr td {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Places
|
/* Places
|
||||||
================================================= */
|
=================================================----- */
|
||||||
div#Places, div#PlaceDetail {
|
div#Places, div#PlaceDetail {
|
||||||
font: normal 1em sans;
|
font: normal 1em sans;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -610,7 +613,7 @@ div#PlaceDetail h5 {
|
|||||||
|
|
||||||
|
|
||||||
/* EventList and EventDetail
|
/* EventList and EventDetail
|
||||||
----------------------------------------------------- */
|
------------------------------------------------------ */
|
||||||
div#EventList, div#EventDetail {
|
div#EventList, div#EventDetail {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -619,10 +622,7 @@ table.eventlist tbody tr td {
|
|||||||
border-bottom: dashed 1px #000;
|
border-bottom: dashed 1px #000;
|
||||||
}
|
}
|
||||||
table.eventlist tbody tr td.ColumnEvent {
|
table.eventlist tbody tr td.ColumnEvent {
|
||||||
width: 15%;
|
width: 10%;
|
||||||
}
|
|
||||||
table.eventlist tbody tr td.ColumnDate {
|
|
||||||
width: 12%;
|
|
||||||
}
|
}
|
||||||
table.eventlist tbody tr td.ColumnPlace {
|
table.eventlist tbody tr td.ColumnPlace {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
@ -631,7 +631,7 @@ table.eventlist tbody tr td.ColumnNotes {
|
|||||||
width: 20%;
|
width: 20%;
|
||||||
}
|
}
|
||||||
table.eventlist tbody tr td.ColumnSources {
|
table.eventlist tbody tr td.ColumnSources {
|
||||||
width: 10%;
|
width: 17%;
|
||||||
}
|
}
|
||||||
table.eventlist tbody tr td.ColumnPerson {
|
table.eventlist tbody tr td.ColumnPerson {
|
||||||
width: 35%;
|
width: 35%;
|
||||||
@ -667,9 +667,6 @@ div#EventList table.alphaevent tbody tr td.ColumnType a:hover {
|
|||||||
div#EventList table.alphaevent tbody tr td.ColumnGRAMPSID {
|
div#EventList table.alphaevent tbody tr td.ColumnGRAMPSID {
|
||||||
width: 10%;
|
width: 10%;
|
||||||
}
|
}
|
||||||
div#EventList table.alphaevent tbody tr td.ColumnDate {
|
|
||||||
width: 20%;
|
|
||||||
}
|
|
||||||
div#EventList table.alphaevent tbody tr td.ColumnPerson {
|
div#EventList table.alphaevent tbody tr td.ColumnPerson {
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
@ -744,9 +741,6 @@ div#EventDetail table.eventlist tbody tr td.ColumnDate {
|
|||||||
display: block;
|
display: block;
|
||||||
padding: .2em 10px .4em 10px;
|
padding: .2em 10px .4em 10px;
|
||||||
}
|
}
|
||||||
#Gallery table.infolist tbody tr td.ColumnDate {
|
|
||||||
width: 20%;
|
|
||||||
}
|
|
||||||
#Gallery table.infolist tbody tr td.ColumnMime {
|
#Gallery table.infolist tbody tr td.ColumnMime {
|
||||||
width: 20%;
|
width: 20%;
|
||||||
}
|
}
|
||||||
@ -1251,9 +1245,6 @@ div#Addresses {
|
|||||||
div#Addresses table.infolist {
|
div#Addresses table.infolist {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
div#Addresses table.infolist tbody tr td.ColumnDate {
|
|
||||||
width: 15%;
|
|
||||||
}
|
|
||||||
div#Addresses table.infolist tbody tr td.ColumnStreetAddress {
|
div#Addresses table.infolist tbody tr td.ColumnStreetAddress {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
@ -63,16 +63,14 @@ div#FamilyMapDetail div#references table.infolist {
|
|||||||
div#FamilyMapDetail div#references table.infolist thead tr th {
|
div#FamilyMapDetail div#references table.infolist thead tr th {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: .9em;
|
font-size: .9em;
|
||||||
}
|
margin-left: 5%;
|
||||||
div#FamilyMapDetail div#references table.infolist thead tr th.ColumnDate {
|
|
||||||
width: 8%;
|
|
||||||
}
|
|
||||||
div#FamilyMapDetail div#references table.infolist thead tr th.ColumnName {
|
|
||||||
width: 55%;
|
|
||||||
}
|
|
||||||
div#FamilyMapDetail div#references table.infolist thead tr th.ColumnType {
|
|
||||||
width: 10%;
|
|
||||||
}
|
}
|
||||||
div#FamilyMapDetail div#references table.infolist tbody tr td {
|
div#FamilyMapDetail div#references table.infolist tbody tr td {
|
||||||
font-size: .9em;
|
font-size: .9em;
|
||||||
}
|
}
|
||||||
|
div#FamilyMapDetail div#references table.infolist tbody tr td.ColumnPlace {
|
||||||
|
width: 55%;
|
||||||
|
}
|
||||||
|
div#FamilyMapDetail div#references table.infolist tbody tr td.ColumnType {
|
||||||
|
width: 10%;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user