Added Navigation style sheets and Basic Blue to src/data directory in preparation to getting trunk NarrativeWeb up to speed with gramps32. NarrativeWeb has NOT been modified for these changes yet.

svn: r15145
This commit is contained in:
Rob G. Healey 2010-04-15 14:34:54 +00:00
parent d54e4dadbe
commit 9de60a586a
5 changed files with 1925 additions and 74 deletions

View File

@ -14,11 +14,14 @@ dist_pkgdata_DATA = \
behaviour.css\
GeoView.css \
Web_Basic-Ash.css\
Web_Basic-Blue.css \
Web_Basic-Cypress.css\
Web_Basic-Lilac.css\
Web_Basic-Peach.css\
Web_Basic-Spruce.css\
Web_Mainz.css\
Web_Navigation-Horizontal.css \
Web_Navigation-Vertical.css \
Web_Nebraska.css\
Web_Print-Default.css\
Web_Visually.css

1623
src/data/Web_Basic-Blue.css Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,124 @@
/*
# encoding: utf-8
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright 2008-2010 Rob G. Healey <robhealey1@gmail.com>
#
# 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
Style Name: Web_Navigation-Horizontal Stylesheet
***************************************************************************************************
# $Id: Web_Alphabet-Horizontal.css 14559 2010-03-02 01:16:46Z robhealey1 $
Header
----------------------------------------------------- */
div#header {
overflow: auto;
width: 100%;
margin: 0;
padding: 0;
}
/* Body Element
--------------------------------------------------------------------------------------- */
body {
color: #000;
background-color: #FFF;
margin: 0;
width: 100%;
}
/* 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;
}
/* Navigation
----------------------------------------------------- */
div#navigation, div#subnavigation {
width: 100%;
margin: 0;
padding: 0;
border: solid 2px #000;
}
div#navigation ul, div#subnavigation ul {
list-style:none;
min-width: 900px;
height: 24px;
margin:0;
padding: 0px 0px 0px 9px;
border-bottom: solid 2px #000;
}
div#navigation ul li, div#subnavigation ul li {
float: left;
}
div#navigation ul li:first-child, div#subnavigation ul li:first-child {
margin-left: 4px;
}
div#navigation ul li:after, div#subnavigation ul li:after {
content: "| ";
}
div#navigation ul li a, div#subnavigation ul li a {
display: block;
padding: 4px;
float: left;
font: .8em bold italic small-caps verdana, serif;
color: #000;
text-decoration:none;
margin:0;
}
div#navigation ul li a:hover, div#subnavigation ul li a:hover {
}
div#navigation ul li.CurrentSection a,
div#subnavigation ul li.CurrentSection a {
background-color: #00029D;
color: #FFF;
}
div#navigation ul li.CurrentSection a:hover,
div#subnavigation ul li.CurrentSection a:hover {
background-color: #000;
}

View File

@ -0,0 +1,168 @@
/*
# encoding: utf-8
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright 2008-2010 Rob G. Healey <robhealey1@gmail.com>
#
# 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
Style Name: Web_Navigation-Vertical Stylesheet
***************************************************************************************************
# $Id: Web_Alphabet-Vertical.css 14559 2010-03-02 01:16:46Z robhealey1 $
Header
----------------------------------------------------- */
#header {
position: fixed;
top: 0px;
left: 0px;
overflow: auto;
width: 100%;
}
/* Body Element
----------------------------------------------------- */
body {
color: #000;
background-color: #FFF;
padding: 60px 0px 0px 128px;
}
/* Navigation
----------------------------------------------------- */
div#navigation {
position: fixed;
top: 66px;
left: 0px;
width: 128px;
height: 495px;
overflow-x: auto;
border-width: 2px 4px 2px 4px;
border-style: solid;
}
div#navigation ul {
display: inline;
list-style: none;
height: 24px;
padding: 0px 9px 0px 9px;
margin: 0;
}
div#navigation ul li {
font: bold 14px/100% sans;
margin: 0;
float: left;
border-width: 0px 0px 2px 0px;
border-style: solid;
}
div#navigation ul li:first-child {
border-top: 0;
margin-top: 10px;
}
div#navigation ul li a {
text-decoration: none;
display: block;
padding: 8px 8px 8px 8px;
}
div#navigation ul li a:hover {
}
/* 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 #000;
}
div#alphabet ul li {
float: left;
}
div#alphabet ul li:first-child {
margin-left: 10px;
}
div#alphabet ul li:after {
content: "| ";
}
div#alphabet ul li a {
display: block;
padding: 4px 8px 4px 8px;
float: left;
font: .8em bold italic small-caps verdana, serif;
color: #000;
text-decoration:none;
margin:0;
}
div#alphabet ul li a:hover {
}
/* SubNavigation
----------------------------------------------------- */
div#subnavigation {
width: 100%;
margin: 0;
padding: 0;
border: solid 2px #000;
}
div#subnavigation ul {
list-style:none;
min-width: 900px;
height: 40px;
margin:0;
padding: 0px 0px 0px 16px;
border-bottom: solid 2px #5D835F;
}
div#subnavigation ul li {
float:left;
}
div#subnavigation ul li:after {
content: "| ";
}
div#subnavigation ul li a {
display: block;
padding: 12px 16px 14px 1px;
float:left;
font: .8em bold italic small-caps verdana, serif;
color: #000;
text-decoration:none;
margin:0;
}
div#subnavigation ul li a:hover {
background-color: #C1B398;
}
div#subnavigation ul li.CurrentSection a {
font-weight:bold;
font-style: italic;
background-color: #453619;
color: #FFF;
}
div#subnavigation ul li.CurrentSection a:hover {
background-color: #000;
color: #FFF;
}

View File

@ -49,83 +49,15 @@ Females Web_Gender_Female.png
NarrativeWeb Styles
-------------------------------------------------------------------------------------------- */
/* 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;
background-color: #6AF364;
}
div#alphabet ul li a {
display:block;
padding: 4px 8px 4px 8px;
float:left;
font:bold 16px/100% sans;
margin:0;
text-decoration:none;
}
/* Navigation
----------------------------------------------------- */
div#navigation, div#subnavigation {
width: 100%;
margin: 0;
padding: 0;
border: solid 2px #000;
}
div#navigation ul, div#subnavigation ul {
list-style:none;
min-width: 900px;
height: 24px;
margin:0;
padding: 0px 0px 0px 9px;
border-bottom: solid 2px #000;
}
div#navigation ul li, div#subnavigation ul li {
float: left;
}
div#navigation ul li:first-child, div#subnavigation ul li:first-child {
margin-left: 4px;
}
div#navigation ul li:after, div#subnavigation ul li:after {
content: "| ";
}
div#navigation ul li a, div#subnavigation ul li a {
display: block;
padding: 4px;
float: left;
font: .8em bold italic small-caps verdana, serif;
color: #000;
text-decoration:none;
margin:0;
}
div#navigation ul li a:hover, div#subnavigation ul li a:hover {
}
div#navigation ul li.CurrentSection a,
div#subnavigation ul li.CurrentSection a {
background-color: #00029D;
div#navigation ul li.CurrentSection a {
background-color: #000;
color: #FFF;
}
div#navigation ul li.CurrentSection a:hover,
div#subnavigation ul li.CurrentSection a:hover {
background-color: #000;
div#navigation ul li.CurrentSection a:hover {
background-color: 696969;
}
/* General Elements
@ -1300,7 +1232,7 @@ table.weblinks tr td {
border-bottom: dashed 1px #000;
}
table.weblinks tr td.ColumnRowLabel {
width: 5%;
width: 8%;
}
table.weblinks tr td.ColumnType {
width: 30%;
@ -1310,6 +1242,7 @@ table.weblinks tr td.ColumnDescription {
width: 30%;
}
/* Subsections : Pedigree
----------------------------------------------------- */
div#pedigree {