Fixed problems in Basic-Blue style sheet. Cleaned up page layout for PlacePage.
svn: r15553
This commit is contained in:
parent
5cdccef384
commit
f509249c59
@ -25,7 +25,6 @@ GRAMPS Cascading Style Sheet
|
|||||||
Style Name: Basic Blue Stylesheet
|
Style Name: Basic Blue Stylesheet
|
||||||
Original Style Author: Jason M. Simanek (2008)
|
Original Style Author: Jason M. Simanek (2008)
|
||||||
***************************************************************************************************
|
***************************************************************************************************
|
||||||
|
|
||||||
--------------------------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------------------------
|
||||||
Color Palette
|
Color Palette
|
||||||
--------------------------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------------------------
|
||||||
@ -43,20 +42,22 @@ Unknown #000
|
|||||||
===== Web Graphics =====
|
===== Web Graphics =====
|
||||||
Males Web_Gender_Male.png
|
Males Web_Gender_Male.png
|
||||||
Females Web_Gender_Female.png
|
Females Web_Gender_Female.png
|
||||||
|
*/
|
||||||
|
|
||||||
NarrativeWeb Styles
|
/* NarrativeWeb Styles
|
||||||
-------------------------------------------------------------------------------------------- */
|
================================================= */
|
||||||
body {
|
body {
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Menu Elements
|
/* Menu Elements
|
||||||
-------------------------------------------------------------------------------------------- */
|
================================================= */
|
||||||
div#alphabet ul, div#navigation ul, div#subnavigation ul {
|
div#alphabet ul, div#navigation ul, div#subnavigation ul {
|
||||||
background-color: #000;
|
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;
|
border-color: #13A926;
|
||||||
}
|
}
|
||||||
div#alphabet ul li a {
|
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 {
|
div#subnavigation ul li a:hover {
|
||||||
color: #000;
|
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;
|
background-color: #13A926;
|
||||||
font: bold 16px sans;
|
font: bold 16px sans;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
div#navigation ul li.CurrentSection a:hover {
|
div#navigation ul li.CurrentSection a:hover {
|
||||||
background-color: #BCEAF6;
|
background-color: #BCEAF6;
|
||||||
@ -86,37 +87,37 @@ div#subnavigation ul li.CurrentSection a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* General Elements
|
/* General Elements
|
||||||
----------------------------------------------------- */
|
================================================= */
|
||||||
div {
|
div {
|
||||||
margin:0;
|
margin: 0;
|
||||||
padding:0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
border:none;
|
border: none;
|
||||||
border-collapse:collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
th {
|
th {
|
||||||
font-weight:bold;
|
font-weight: bold;
|
||||||
text-align:left;
|
text-align: left;
|
||||||
padding:1px 3em 1px 0.5em;
|
padding: 1px 3em 1px 0.5em;
|
||||||
}
|
}
|
||||||
td {
|
td {
|
||||||
vertical-align:top;
|
vertical-align: top;
|
||||||
padding:0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
border:none;
|
border: none;
|
||||||
margin:0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
.thumbnail a:hover {
|
.thumbnail a:hover {
|
||||||
background:none;
|
background: none;
|
||||||
}
|
}
|
||||||
.content {
|
.content {
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
color: #000;
|
color: #000;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
width:965px;
|
width: 965px;
|
||||||
margin:0 auto;
|
margin: 0 auto;
|
||||||
padding-bottom: .2em;
|
padding-bottom: .2em;
|
||||||
}
|
}
|
||||||
.content div.snapshot {
|
.content div.snapshot {
|
||||||
@ -135,11 +136,11 @@ img {
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
.fullclear {
|
.fullclear {
|
||||||
width:100%;
|
width: 100%;
|
||||||
height:1px;
|
height: 1px;
|
||||||
margin:0;
|
margin: 0;
|
||||||
padding:0;
|
padding: 0;
|
||||||
clear:both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Gramps Styled Notes
|
/* Gramps Styled Notes
|
||||||
@ -461,7 +462,7 @@ table.surname tbody tr td.ColumnParents {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Individuals
|
/* Individuals
|
||||||
----------------------------------------------------- */
|
================================================= */
|
||||||
div#Individuals {
|
div#Individuals {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -511,51 +512,45 @@ div#IndividualDetail div.subsection table tr td:first-child {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Places
|
/* Places
|
||||||
----------------------------------------------------- */
|
================================================= */
|
||||||
div#Places {
|
div#Places, div#PlaceDetail {
|
||||||
|
font: normal 1em sans;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
div#Places table.infolist tbody tr td.ColumnLetter {
|
div#Places table.infolist tbody tr td.ColumnLetter {
|
||||||
width: 6%;
|
width: 3%;
|
||||||
}
|
}
|
||||||
div#Places table.infolist tbody tr td.ColumnLetter a:hover {
|
div#Places table.infolist tbody tr td.ColumnLetter a:hover {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
div#Places table.infolist tbody tr td.ColumnName {
|
div#Places table.infolist tbody tr td.ColumnName {
|
||||||
width: 45%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
div#Places table.infolist tbody tr td.ColumnState {
|
div#Places table.infolist tbody tr td.ColumnState {
|
||||||
width: 8%;
|
width: 7%;
|
||||||
}
|
}
|
||||||
div#Places table.infolist tbody tr td.ColumnCountry {
|
div#Places table.infolist tbody tr td.ColumnCountry {
|
||||||
width: 8%;
|
width: 10%;
|
||||||
}
|
}
|
||||||
div#Places table.infolist tbody tr td.ColumnCoordinates {
|
div#Places table.infolist tbody tr td.ColumnLatitude {
|
||||||
width: 25%;
|
width: 10%;
|
||||||
}
|
}
|
||||||
div#PlaceDetail {
|
div#Places table.infolist tbody tr td.ColumnLongitude {
|
||||||
margin: 0;
|
width: 10%;
|
||||||
padding: 0;
|
}
|
||||||
|
#div#PlaceDetail table.infolist tbody tr td.ColumnAttribute,
|
||||||
|
div#PlaceDetail table.infolist tbody tr td.ColumnValue {
|
||||||
|
color: #000;
|
||||||
}
|
}
|
||||||
div#PlaceDetail h5 {
|
div#PlaceDetail h5 {
|
||||||
font: normal .9em serif;
|
font: bold .7cm serif;
|
||||||
color: #FFF;
|
|
||||||
margin-top: .3cm;
|
|
||||||
background-color: #00029D;
|
|
||||||
border-width: 2px 0px 2px 0px;
|
|
||||||
border-style: solid;
|
|
||||||
border-color: #13A926;
|
|
||||||
text-align: center;
|
|
||||||
float: center;
|
float: center;
|
||||||
vertical-align: middle;
|
text-align: center;
|
||||||
}
|
border-bottom: double 4px #13A926;
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* EventList and EventDetail
|
/* EventList and EventDetail
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
div#EventList, div#EventDetail {
|
div#EventList, div#EventDetail {
|
||||||
@ -983,9 +978,6 @@ div#parents {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
div#parents table.infolist {
|
|
||||||
margin-top:.5em;
|
|
||||||
}
|
|
||||||
div#parents table.infolist tbody tr td {
|
div#parents table.infolist tbody tr td {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
@ -1007,9 +999,6 @@ div#families {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
div#families table.infolist {
|
|
||||||
margin: .3cm 0 .3cm 0;
|
|
||||||
}
|
|
||||||
div#families table.infolist tbody tr td {
|
div#families table.infolist tbody tr td {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
@ -2371,6 +2371,7 @@ class PlacePage(BasePage):
|
|||||||
var m;
|
var m;
|
||||||
var h = 'y';
|
var h = 'y';
|
||||||
var p = 'googlev3';
|
var p = 'googlev3';
|
||||||
|
|
||||||
function initialize() {
|
function initialize() {
|
||||||
// create mxn object
|
// create mxn object
|
||||||
m = new mxn.Mapstraction('googlev3','googlev3');
|
m = new mxn.Mapstraction('googlev3','googlev3');
|
||||||
@ -2386,6 +2387,7 @@ class PlacePage(BasePage):
|
|||||||
var marker = new mxn.Marker(latlon);
|
var marker = new mxn.Marker(latlon);
|
||||||
m.addMarker(marker,true);
|
m.addMarker(marker,true);
|
||||||
}
|
}
|
||||||
|
|
||||||
function changetohybrid() {
|
function changetohybrid() {
|
||||||
if ( h == 'y' ) {
|
if ( h == 'y' ) {
|
||||||
h = 'n'
|
h = 'n'
|
||||||
@ -2405,7 +2407,7 @@ class PlacePage(BasePage):
|
|||||||
m.swap(p,p);
|
m.swap(p,p);
|
||||||
}
|
}
|
||||||
//]]>
|
//]]>
|
||||||
</script>"""
|
</script> """
|
||||||
head += inline_script
|
head += inline_script
|
||||||
|
|
||||||
# add javascript function to body element
|
# add javascript function to body element
|
||||||
|
Loading…
x
Reference in New Issue
Block a user