Still working on it.
svn: r14495
This commit is contained in:
parent
ea86578163
commit
05edffadad
@ -1,32 +1,34 @@
|
|||||||
./*
|
/*
|
||||||
#
|
**************************************************************************************************
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
Copyright Holder and License
|
||||||
#
|
|
||||||
# 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
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
||||||
#
|
|
||||||
|
|
||||||
**************************************************************************************************
|
**************************************************************************************************
|
||||||
GRAMPS Cascading Style Sheet
|
GRAMPS Cascading Style Sheet
|
||||||
Style Name: Visually Impaired Stylesheet
|
Style Name: Web_Alphabet-Vertical.css
|
||||||
Style Author: Jason M. Simanek (2008)
|
**************************************************************************************************
|
||||||
***************************************************************************************************
|
This website was created with GRAMPS
|
||||||
|
http://www.gramps-project.org
|
||||||
|
--------------------------------------------------------------------------------------------------
|
||||||
|
GRAMPS is a Free Software Project for Genealogy, offering a professional genealogy program,
|
||||||
|
and a wiki open to all. It is a community project, created, developed and governed by genealogists.
|
||||||
|
|
||||||
# $Id: Web_Alphabet-Vertical.css 14491 2010-02-25 08:47:00Z robhealey1 $
|
Go to http://gramps-project.org to learn more!
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------------------------
|
||||||
|
Copyright (C) 2009 Rob G. Healey <robhealey1@gmail.com>
|
||||||
|
|
||||||
|
This file is part of the GRAMPS program.
|
||||||
|
|
||||||
|
GRAMPS is free software: you can redistribute it and/or modify it under the terms of the GNU General
|
||||||
|
Public License as published by the Free Software Foundation, version 2 of the License.
|
||||||
|
|
||||||
|
GRAMPS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
||||||
|
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along with GRAMPS. If not,
|
||||||
|
see <http://www.gnu.org/licenses/>.
|
||||||
|
--------------------------------------------------------------------------------------------------
|
||||||
|
# $Id: Web_Alphabet-Vertical.css 14493 2010-02-25 14:12:33Z robhealey1 $
|
||||||
|
|
||||||
Header
|
Header
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
@ -39,9 +41,8 @@ Style Author: Jason M. Simanek (2008)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Body Element
|
/* Body Element
|
||||||
------------------------------------------------------ */
|
----------------------------------------------------- */
|
||||||
body {
|
body {
|
||||||
font-family: Arial, Helvetica, Lucina, sans, serif;
|
|
||||||
color: #000;
|
color: #000;
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
padding: 60px 0px 0px 124px;
|
padding: 60px 0px 0px 124px;
|
||||||
@ -51,9 +52,10 @@ body {
|
|||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
div#navigation {
|
div#navigation {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
top: 66px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
width: 124px;
|
width: 124px;
|
||||||
height: 390px;
|
height: 400px;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
border-width: 2px 4px 2px 4px;
|
border-width: 2px 4px 2px 4px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
@ -66,9 +68,9 @@ div#navigation ul {
|
|||||||
}
|
}
|
||||||
div#navigation ul li {
|
div#navigation ul li {
|
||||||
font: bold 14px/100% sans;
|
font: bold 14px/100% sans;
|
||||||
# padding: 10px 10px 10px 0px;
|
padding: 10px 10px 10px 0px;
|
||||||
margin:0;
|
margin:0;
|
||||||
float: center;
|
float: left;
|
||||||
border-width: 0px 0px 2px 0px;
|
border-width: 0px 0px 2px 0px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
}
|
}
|
||||||
@ -84,14 +86,46 @@ div#navigation ul li a:hover {
|
|||||||
background-color: #C1B398;
|
background-color: #C1B398;
|
||||||
}
|
}
|
||||||
div#navigation ul li.CurrentSection a {
|
div#navigation ul li.CurrentSection a {
|
||||||
font-weight:bold;
|
|
||||||
font-style: italic;
|
|
||||||
background-color: #453619;
|
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
|
background-color: #000;
|
||||||
}
|
}
|
||||||
div#navigation ul li.CurrentSection a:hover {
|
div#navigation ul li.CurrentSection a:hover {
|
||||||
background-color: #000;
|
border: solid 2px #000;
|
||||||
color: #FFF;
|
}
|
||||||
|
|
||||||
|
/* Alphabet Navigation
|
||||||
|
----------------------------------------------------- */
|
||||||
|
div#alphabet {
|
||||||
|
width: 100%;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
border: solid 2px #000;
|
||||||
|
}
|
||||||
|
div#alphabet ul {
|
||||||
|
list-style:none;
|
||||||
|
min-width: 900px;
|
||||||
|
height: 24px;
|
||||||
|
margin:0;
|
||||||
|
padding: 0px 0px 0px 9px;
|
||||||
|
border-bottom: solid 2px #5D835F;
|
||||||
|
}
|
||||||
|
div#alphabet ul li {
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
div#alphabet ul li:after {
|
||||||
|
content: "| ";
|
||||||
|
}
|
||||||
|
div#alphabet ul li a {
|
||||||
|
display: block;
|
||||||
|
padding: 5px 16px 14px 1px;
|
||||||
|
float:left;
|
||||||
|
font: .8em bold italic small-caps verdana, serif;
|
||||||
|
color: #000;
|
||||||
|
text-decoration:none;
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
div#alphabet ul li a:hover {
|
||||||
|
background-color: #C1B398;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SubNavigation
|
/* SubNavigation
|
||||||
@ -100,6 +134,7 @@ div#subnavigation {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
border: solid 2px #000;
|
||||||
}
|
}
|
||||||
div#subnavigation ul {
|
div#subnavigation ul {
|
||||||
list-style:none;
|
list-style:none;
|
||||||
@ -112,6 +147,9 @@ div#subnavigation ul {
|
|||||||
div#subnavigation ul li {
|
div#subnavigation ul li {
|
||||||
float:left;
|
float:left;
|
||||||
}
|
}
|
||||||
|
div#subnavigation ul li:after {
|
||||||
|
content: "| ";
|
||||||
|
}
|
||||||
div#subnavigation ul li a {
|
div#subnavigation ul li a {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 12px 16px 14px 1px;
|
padding: 12px 16px 14px 1px;
|
||||||
@ -130,42 +168,7 @@ div#subnavigation ul li.CurrentSection a {
|
|||||||
background-color: #453619;
|
background-color: #453619;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
div#navigation ul li.CurrentSection a:hover {
|
div#subnavigation ul li.CurrentSection a:hover {
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
div#subnavigation ul li.CurrentSection a {
|
|
||||||
border-width: 0px 0px 2px 0px;
|
|
||||||
border-color: #5D835F;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Alphabet Navigation
|
|
||||||
----------------------------------------------------- */
|
|
||||||
div#alphabet {
|
|
||||||
width: 100%;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
div#alphabet ul {
|
|
||||||
list-style:none;
|
|
||||||
min-width:770px;
|
|
||||||
height:24px;
|
|
||||||
margin:0;
|
|
||||||
padding: 0px 0px 0px 16px;
|
|
||||||
border-width: 2px 0px 4px 0px;
|
|
||||||
border-style: solid;
|
|
||||||
}
|
|
||||||
div#alphabet ul li:after {
|
|
||||||
content:" |";
|
|
||||||
}
|
|
||||||
div#alphabet ul li {
|
|
||||||
margin:0;
|
|
||||||
float:left;
|
|
||||||
}
|
|
||||||
div#alphabet ul li a {
|
|
||||||
display:block;
|
|
||||||
padding: 4px 8px 4px 8px;
|
|
||||||
float:left;
|
|
||||||
font:bold 16px/100% sans;
|
|
||||||
margin:0;
|
|
||||||
text-decoration:none;
|
|
||||||
}
|
|
||||||
|
@ -503,20 +503,10 @@ div#IndividualDetail div.subsection table tr td:first-child {
|
|||||||
}
|
}
|
||||||
#Places table.infolist tbody tr td.ColumnName {
|
#Places table.infolist tbody tr td.ColumnName {
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
width: 25%;
|
|
||||||
}
|
}
|
||||||
#Places table.infolist tbody tr td.ColumnName a {
|
#Places table.infolist tbody tr td.ColumnName a {
|
||||||
padding:.1em 10px .3em 10px;
|
padding:.1em 10px .3em 10px;
|
||||||
}
|
}
|
||||||
#Places table.infolist tbody tr td.ColumnState {
|
|
||||||
width: 7%;
|
|
||||||
}
|
|
||||||
#Places table.infolist tbody tr td.ColumnCountry {
|
|
||||||
width: 7%;
|
|
||||||
}
|
|
||||||
#Places table.infolist tbody tr td.ColumnCoordinates {
|
|
||||||
width: 15%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* EventList and EventDetail
|
/* EventList and EventDetail
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
|
@ -926,9 +926,6 @@ class BasePage(object):
|
|||||||
if self.ext in [".php", ".php3", ".cgi"]:
|
if self.ext in [".php", ".php3", ".cgi"]:
|
||||||
del page[0]
|
del page[0]
|
||||||
|
|
||||||
# add narrative specific body id
|
|
||||||
body.attr = 'id = "NarrativeWeb"'
|
|
||||||
|
|
||||||
# create additional meta tags
|
# create additional meta tags
|
||||||
meta = (Html("meta", attr = _META1) +
|
meta = (Html("meta", attr = _META1) +
|
||||||
Html("meta", attr = _META2, indent = False)
|
Html("meta", attr = _META2, indent = False)
|
||||||
@ -942,10 +939,6 @@ class BasePage(object):
|
|||||||
fname = "/".join(["styles", _NARRATIVESCREEN])
|
fname = "/".join(["styles", _NARRATIVESCREEN])
|
||||||
url2 = self.report.build_url_fname(fname, None, self.up)
|
url2 = self.report.build_url_fname(fname, None, self.up)
|
||||||
|
|
||||||
# Link to Navigation stylesheet
|
|
||||||
fname = "/".join(["styles", "Web_Navigation-Menus.css"])
|
|
||||||
url5 = self.report.build_url_fname(fname, None, self.up)
|
|
||||||
|
|
||||||
# Link to _NARRATIVEPRINT stylesheet
|
# Link to _NARRATIVEPRINT stylesheet
|
||||||
fname = "/".join(["styles", _NARRATIVEPRINT])
|
fname = "/".join(["styles", _NARRATIVEPRINT])
|
||||||
url3 = self.report.build_url_fname(fname, None, self.up)
|
url3 = self.report.build_url_fname(fname, None, self.up)
|
||||||
@ -957,16 +950,17 @@ class BasePage(object):
|
|||||||
# 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") ]
|
||||||
|
|
||||||
if self.report.css in ["Web_Basic-Blue.css", "Web_Visually.css"]:
|
if self.report.css in ["Web_Basic-Blue.css", "Web_Visually.css"]:
|
||||||
links += Html("link", href= url5, type= "text/css", media="screen", rel="stylesheet", indent = True)
|
# Link to Navigation Menus stylesheet
|
||||||
|
fname = "/".join(["styles", "Web_Navigation-Menus.css"])
|
||||||
links += Html("link", href = url3, type = "text/css", media = 'print', rel = "stylesheet", indent = True)
|
url = self.report.build_url_fname(fname, None, self.up)
|
||||||
|
links += 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
|
head += (meta, links)
|
||||||
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user