Added option to choose which layout the user wants for the Source Page Citation Referents section as either Outline or Drop Down.

svn: r18997
This commit is contained in:
Rob G. Healey
2012-03-03 08:25:12 +00:00
parent 26bbb654d0
commit f76a460b28
13 changed files with 148 additions and 185 deletions

View File

@@ -9,13 +9,14 @@ DATAFILES = \
ancestortree.css \
behaviour.css \
narrative-maps.css \
Web_Animated-Dropdown.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_Citations-Animated.css \
Web_Citations-Outline.css \
Web_DropDown-Menus.css \
Web_Fade-Menus.css \
Web_Horizontal-Menus.css \

View File

@@ -367,21 +367,6 @@ table.IndividualList td.ColumnSurname {
div#SourceDetail {
margin: 0 auto;
}
div#SourceCitationReferents ul.Col1 {
list-style-type: decimal
}
div#SourceCitationReferents ul.Col2 {
list-style-type: upper-alpha
}
div#SourceCitationReferents ul.Col3 {
list-style-type: lower-alpha
}
div#SourceCitationReferents ul.Col4 {
list-style-type: lower-roman
}
div#SourceCitationReferents ul.Col5 {
list-style-type: disc
}
/* Contact
----------------------------------------------------- */

View File

@@ -405,21 +405,6 @@ table.IndividualList td.ColumnSurname {
div#SourceDetail {
margin: 0 auto;
}
div#SourceCitationReferents ul.Col1 {
list-style-type: decimal
}
div#SourceCitationReferents ul.Col2 {
list-style-type: upper-alpha
}
div#SourceCitationReferents ul.Col3 {
list-style-type: lower-alpha
}
div#SourceCitationReferents ul.Col4 {
list-style-type: upper-roman
}
div#SourceCitationReferents ul.Col5 {
list-style-type: disc
}
/* Contact
----------------------------------------------------- */

View File

@@ -406,21 +406,6 @@ table.IndividualList td.ColumnSurname {
div#SourceDetail {
margin: 0 auto;
}
div#SourceCitationReferents ul.Col1 {
list-style-type: decimal
}
div#SourceCitationReferents ul.Col2 {
list-style-type: upper-alpha
}
div#SourceCitationReferents ul.Col3 {
list-style-type: lower-alpha
}
div#SourceCitationReferents ul.Col4 {
list-style-type: upper-roman
}
div#SourceCitationReferents ul.Col5 {
list-style-type: disc
}
/* Contact
----------------------------------------------------- */

View File

@@ -406,21 +406,6 @@ table.IndividualList td.ColumnSurname {
div#SourceDetail {
margin: 0 auto;
}
div#SourceCitationReferents ul.Col1 {
list-style-type: decimal
}
div#SourceCitationReferents ul.Col2 {
list-style-type: upper-alpha
}
div#SourceCitationReferents ul.Col3 {
list-style-type: lower-alpha
}
div#SourceCitationReferents ul.Col4 {
list-style-type: upper-roman
}
div#SourceCitationReferents ul.Col5 {
list-style-type: disc
}
/* Contact
----------------------------------------------------- */

View File

@@ -406,21 +406,6 @@ table.IndividualList td.ColumnSurname {
div#SourceDetail {
margin: 0 auto;
}
div#SourceCitationReferents ul.Col1 {
list-style-type: decimal
}
div#SourceCitationReferents ul.Col2 {
list-style-type: upper-alpha
}
div#SourceCitationReferents ul.Col3 {
list-style-type: lower-alpha
}
div#SourceCitationReferents ul.Col4 {
list-style-type: upper-roman
}
div#SourceCitationReferents ul.Col5 {
list-style-type: disc
}
/* Contact
----------------------------------------------------- */

View File

@@ -0,0 +1,46 @@
/*
# encoding: utf-8
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright 2012 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_Citations-Outline.css
******************************************************
# $Id$
Source Citations Outline styles
------------------------------------------------------ */
div#SourceCitationReferents ul.Col1 {
list-style-type: decimal
}
div#SourceCitationReferents ul.Col2 {
list-style-type: upper-alpha
}
div#SourceCitationReferents ul.Col3 {
list-style-type: lower-alpha
}
div#SourceCitationReferents ul.Col4 {
list-style-type: upper-roman
}
div#SourceCitationReferents ul.Col5 {
list-style-type: disc
}

View File

@@ -41,7 +41,7 @@ div#header {
/* Drop Down Navigation Menu
------------------------------------------------------ */
#dropmenu {
ul#dropmenu {
width: 100%;
margin: 0 auto;
padding: 10px 0 0 0;
@@ -59,12 +59,12 @@ div#header {
-webkit-box-shadow: 0 2px 1px #9c9c9c;
box-shadow: 0 2px 1px #9c9c9c;
}
#dropmenu li {
ul#dropmenu li {
float: left;
padding: 0 0 10px 0;
position: relative;
}
#dropmenu a {
ul#dropmenu a {
float: left;
height: 25px;
padding: 0 25px;
@@ -74,21 +74,21 @@ div#header {
text-decoration: none;
text-shadow: 0 1px 0 #000;
}
#dropmenu li:hover > a {
ul#dropmenu li:hover > a {
color: #fafafa
}
*html #dropmenu li a:hover /* IE6 */
*html ul#dropmenu li a:hover /* IE6 */
{
color: #fafafa
}
#dropmenu li:hover > ul {
ul#dropmenu li:hover > ul {
display: block
}
/* Sub-menu
------------------------------------------------------ */
#dropmenu ul {
ul#dropmenu ul {
list-style: none;
margin: 0;
padding: 0;
@@ -107,7 +107,7 @@ div#header {
-moz-border-radius: 5px;
border-radius: 5px;
}
#dropmenu ul li {
ul#dropmenu ul li {
float: none;
margin: 0;
padding: 0;
@@ -116,12 +116,12 @@ div#header {
-webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}
#dropmenu ul li:last-child {
ul#dropmenu ul li:last-child {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
#dropmenu ul a {
ul#dropmenu ul a {
padding: 10px;
height: auto;
line-height: 1;
@@ -130,17 +130,17 @@ div#header {
float: none;
text-transform: none;
}
*html #dropmenu ul a /* IE6 */
*html ul#dropmenu ul a /* IE6 */
{
height: 10px;
width: 150px;
}
*:first-child+html #dropmenu ul a /* IE7 */
*:first-child+html ul#dropmenu ul a /* IE7 */
{
height: 10px;
width: 150px;
}
#dropmenu ul a:hover {
ul#dropmenu ul a:hover {
background: #0186ba;
background: -moz-linear-gradient(#04acec, #0186ba);
background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
@@ -149,11 +149,11 @@ div#header {
background: -ms-linear-gradient(#04acec, #0186ba);
background: linear-gradient(#04acec, #0186ba);
}
#dropmenu ul li:first-child a {
ul#dropmenu ul li:first-child a {
-moz-border-radius: 5px 5px 0 0;
border-radius: 5px 5px 0 0;
}
#dropmenu ul li:first-child a:after {
ul#dropmenu ul li:first-child a:after {
content: '';
position: absolute;
left: 30px;
@@ -164,17 +164,17 @@ div#header {
border-right: 5px solid transparent;
border-bottom: 8px solid #444;
}
#dropmenu ul li:first-child a:hover:after {
ul#dropmenu ul li:first-child a:hover:after {
border-bottom-color: #04acec
}
#dropmenu ul li:last-child a {
ul#dropmenu ul li:last-child a {
-moz-border-radius: 0 0 5px 5px;
border-radius: 0 0 5px 5px;
}
/* Clear floated elements
------------------------------------------------------ */
#dropmenu:after {
ul#dropmenu:after {
visibility: hidden;
display: block;
font-size: 0;
@@ -183,8 +183,8 @@ div#header {
height: 0;
}
* html #dropmenu { zoom: 1; } /* IE6 */
*:first-child+html #dropmenu { zoom: 1; } /* IE7 */
* html ul#dropmenu { zoom: 1; } /* IE6 */
*:first-child+html ul#dropmenu { zoom: 1; } /* IE7 */
/* Alphabet Navigation and Year Menu
------------------------------------------------------ */

View File

@@ -358,21 +358,6 @@ table#SortByCount thead th.ColumnQuantity a:after {
div#SourceDetail {
margin: 0 auto;
}
div#SourceCitationReferents ul.Col1 {
list-style-type: decimal
}
div#SourceCitationReferents ul.Col2 {
list-style-type: upper-alpha
}
div#SourceCitationReferents ul.Col3 {
list-style-type: lower-alpha
}
div#SourceCitationReferents ul.Col4 {
list-style-type: upper-roman
}
div#SourceCitationReferents ul.Col5 {
list-style-type: disc
}
/* Contact
-----------------------------------------------------------------*/

View File

@@ -508,21 +508,6 @@ table.attrlist tbody tr td.ColumnSources {
div#SourceDetail {
margin: 0 auto;
}
div#SourceCitationReferents ul.Col1 {
list-style-type: decimal
}
div#SourceCitationReferents ul.Col2 {
list-style-type: upper-alpha
}
div#SourceCitationReferents ul.Col3 {
list-style-type: lower-alpha
}
div#SourceCitationReferents ul.Col4 {
list-style-type: upper-roman
}
div#SourceCitationReferents ul.Col5 {
list-style-type: disc
}
/* Relationships
================================================= */