Fixed problems in Basic-Blue style sheet. Cleaned up page layout for PlacePage.

svn: r15553
This commit is contained in:
Rob G. Healey 2010-06-11 00:10:53 +00:00
parent 5cdccef384
commit f509249c59
2 changed files with 92 additions and 101 deletions

View File

@ -25,7 +25,6 @@ GRAMPS Cascading Style Sheet
Style Name: Basic Blue Stylesheet
Original Style Author: Jason M. Simanek (2008)
***************************************************************************************************
--------------------------------------------------------------------------------------------------
Color Palette
--------------------------------------------------------------------------------------------------
@ -43,20 +42,22 @@ Unknown #000
===== Web Graphics =====
Males Web_Gender_Male.png
Females Web_Gender_Female.png
*/
NarrativeWeb Styles
-------------------------------------------------------------------------------------------- */
/* NarrativeWeb Styles
================================================= */
body {
background-color: #000;
color: #FFF;
}
/* Menu Elements
-------------------------------------------------------------------------------------------- */
================================================= */
div#alphabet ul, div#navigation ul, div#subnavigation ul {
background-color: #000;
}
div#alphabet ul li, div#navigation ul li, div#subnavigation ul li {
div#alphabet ul li, div#navigation ul li,
div#subnavigation ul li {
border-color: #13A926;
}
div#alphabet ul li a {
@ -70,11 +71,11 @@ div#alphabet ul li a:hover, div#navigation ul li a:hover,
div#subnavigation ul li a:hover {
color: #000;
}
div#navigation ul li.CurrentSection a, div#subnavigation ul li.CurrentSection a {
div#navigation ul li.CurrentSection a,
div#subnavigation ul li.CurrentSection a {
background-color: #13A926;
font: bold 16px sans;
color: #FFF;
font-weight: bold;
}
div#navigation ul li.CurrentSection a:hover {
background-color: #BCEAF6;
@ -86,7 +87,7 @@ div#subnavigation ul li.CurrentSection a:hover {
}
/* General Elements
----------------------------------------------------- */
================================================= */
div {
margin: 0;
padding: 0;
@ -461,7 +462,7 @@ table.surname tbody tr td.ColumnParents {
}
/* Individuals
----------------------------------------------------- */
================================================= */
div#Individuals {
margin: 0;
padding: 0;
@ -511,51 +512,45 @@ div#IndividualDetail div.subsection table tr td:first-child {
}
/* Places
----------------------------------------------------- */
div#Places {
================================================= */
div#Places, div#PlaceDetail {
font: normal 1em sans;
margin: 0;
padding: 0;
}
div#Places table.infolist tbody tr td.ColumnLetter {
width: 6%;
width: 3%;
}
div#Places table.infolist tbody tr td.ColumnLetter a:hover {
background: none;
}
div#Places table.infolist tbody tr td.ColumnName {
width: 45%;
width: 50%;
}
div#Places table.infolist tbody tr td.ColumnState {
width: 8%;
width: 7%;
}
div#Places table.infolist tbody tr td.ColumnCountry {
width: 8%;
width: 10%;
}
div#Places table.infolist tbody tr td.ColumnCoordinates {
width: 25%;
div#Places table.infolist tbody tr td.ColumnLatitude {
width: 10%;
}
div#PlaceDetail {
margin: 0;
padding: 0;
div#Places table.infolist tbody tr td.ColumnLongitude {
width: 10%;
}
#div#PlaceDetail table.infolist tbody tr td.ColumnAttribute,
div#PlaceDetail table.infolist tbody tr td.ColumnValue {
color: #000;
}
div#PlaceDetail h5 {
font: normal .9em serif;
color: #FFF;
margin-top: .3cm;
background-color: #00029D;
border-width: 2px 0px 2px 0px;
border-style: solid;
border-color: #13A926;
text-align: center;
font: bold .7cm serif;
float: center;
vertical-align: middle;
}
div#PlaceDetail table.infolist tbody tr td.ColumnRowLabel,
div#PlaceDetail table.infolist tbody tr td.ColumnType,
div#PlaceDetail table.infolist tbody tr td.ColumnValue {
color: Navy;
text-align: center;
border-bottom: double 4px #13A926;
}
/* EventList and EventDetail
----------------------------------------------------- */
div#EventList, div#EventDetail {
@ -983,9 +978,6 @@ div#parents {
margin: 0;
padding: 0;
}
div#parents table.infolist {
margin-top:.5em;
}
div#parents table.infolist tbody tr td {
border: none;
}
@ -1007,9 +999,6 @@ div#families {
margin: 0;
padding: 0;
}
div#families table.infolist {
margin: .3cm 0 .3cm 0;
}
div#families table.infolist tbody tr td {
border: none;
}

View File

@ -2371,6 +2371,7 @@ class PlacePage(BasePage):
var m;
var h = 'y';
var p = 'googlev3';
function initialize() {
// create mxn object
m = new mxn.Mapstraction('googlev3','googlev3');
@ -2386,6 +2387,7 @@ class PlacePage(BasePage):
var marker = new mxn.Marker(latlon);
m.addMarker(marker,true);
}
function changetohybrid() {
if ( h == 'y' ) {
h = 'n'