Fixed a type in webstuff.py and a little bit of separation of lines.

* Fixed the Vertical menu placement on the page.
* Removed margin-top element from Basic-Blue style sheet.

svn: r18737
This commit is contained in:
Rob G. Healey 2012-01-12 08:29:13 +00:00
parent e010e38203
commit 67888772bb
3 changed files with 21 additions and 19 deletions

View File

@ -231,7 +231,6 @@ div#footer {
font-size: 12px; font-size: 12px;
line-height: 130%; line-height: 130%;
color: #FFF; color: #FFF;
margin-top: 0.5cm;
background-color: #00029D; background-color: #00029D;
border-top: solid 8px #13A926; border-top: solid 8px #13A926;
} }

View File

@ -32,7 +32,7 @@ Style Name: Web_Navigation-Vertical.css Stylesheet
body { background: -webkit-gradient body { background: -webkit-gradient
(linear, left top, left bottom, from(#ccc), to(#fff)); (linear, left top, left bottom, from(#ccc), to(#fff));
color: #000; color: #000;
padding: 60px 0px 0px 120px; padding: 60px 0px 0px 146px;
} }
/* Header /* Header
@ -56,7 +56,7 @@ div#nav {
div#nav ul { div#nav ul {
list-style-type: none; list-style-type: none;
display: block; display: block;
width: 320px; width: 330px;
position: fixed; position: fixed;
top: 53px; top: 53px;
left: 0px; left: 0px;
@ -71,7 +71,7 @@ div#nav ul li a {
padding: 7px 15px 7px 15px; padding: 7px 15px 7px 15px;
-webkit-border-top-right-radius: 10px; -webkit-border-top-right-radius: 10px;
-webkit-border-bottom-right-radius: 10px; -webkit-border-bottom-right-radius: 10px;
width: 100px; width: 120px;
display: block; display: block;
text-decoration: none; text-decoration: none;
-webkit-box-shadow: 2px 2px 4px #888; -webkit-box-shadow: 2px 2px 4px #888;
@ -81,6 +81,10 @@ div#nav ul li a:hover {
color: #67a5cd; color: #67a5cd;
padding: 7px 0px 7px 30px; padding: 7px 0px 7px 30px;
} }
div#nav ul li.CurrentSection a {
background-color: #000;
color: #FFF;
}
/* SubNavigation /* SubNavigation
----------------------------------------------------- */ ----------------------------------------------------- */

View File

@ -58,27 +58,27 @@ def load_on_reg(dbstate, uistate, plugin):
# Basic Ash style sheet # Basic Ash style sheet
["Basic-Ash", 1, _("Basic-Ash"), ["Basic-Ash", 1, _("Basic-Ash"),
path_css('Web_Basic-Ash.css'), None, [], []], path_css('Web_Basic-Ash.css'), None, [], [] ],
# Basic Blue style sheet with navigation menus # Basic Blue style sheet with navigation menus
["Basic-Blue", 1, _("Basic-Blue"), ["Basic-Blue", 1, _("Basic-Blue"),
path_css('Web_Basic-Blue.css'), "narrative-menus.css", [], []], path_css('Web_Basic-Blue.css'), "narrative-menus.css", [], [] ],
# Basic Cypress style sheet # Basic Cypress style sheet
["Basic-Cypress", 1, _("Basic-Cypress"), ["Basic-Cypress", 1, _("Basic-Cypress"),
path_css('Web_Basic-Cypress.css'), None, [], []], path_css('Web_Basic-Cypress.css'), None, [], [] ],
# basic Lilac style sheet # basic Lilac style sheet
["Basic-Lilac", 1, _("Basic-Lilac"), ["Basic-Lilac", 1, _("Basic-Lilac"),
path_css('Web_Basic-Lilac.css'), None, [], []], path_css('Web_Basic-Lilac.css'), None, [], [] ],
# basic Peach style sheet # basic Peach style sheet
["Basic-Peach", 1, _("Basic-Peach"), ["Basic-Peach", 1, _("Basic-Peach"),
path_css('Web_Basic-Peach.css'), None, [], []], path_css('Web_Basic-Peach.css'), None, [], [] ],
# basic Spruce style sheet # basic Spruce style sheet
["Basic-Spruce", 1, _("Basic-Spruce"), ["Basic-Spruce", 1, _("Basic-Spruce"),
path_css('Web_Basic-Spruce.css'), None, [], []], path_css('Web_Basic-Spruce.css'), None, [], [] ],
# Mainz style sheet with its images # Mainz style sheet with its images
["Mainz", 1, _("Mainz"), ["Mainz", 1, _("Mainz"),
@ -86,11 +86,11 @@ def load_on_reg(dbstate, uistate, plugin):
[path_img("Web_Mainz_Bkgd.png"), [path_img("Web_Mainz_Bkgd.png"),
path_img("Web_Mainz_Header.png"), path_img("Web_Mainz_Header.png"),
path_img("Web_Mainz_Mid.png"), path_img("Web_Mainz_Mid.png"),
path_img("Web_Mainz_MidLight.png")], []], path_img("Web_Mainz_MidLight.png")], [] ],
# Nebraska style sheet # Nebraska style sheet
["Nebraska", 1, _("Nebraska"), ["Nebraska", 1, _("Nebraska"),
path_css('Web_Nebraska.css'), None, [], []], path_css('Web_Nebraska.css'), None, [], [] ],
# Visually Impaired style sheet with its navigation menus # Visually Impaired style sheet with its navigation menus
["Visually Impaired", 1, _("Visually Impaired"), ["Visually Impaired", 1, _("Visually Impaired"),
@ -119,12 +119,12 @@ def load_on_reg(dbstate, uistate, plugin):
path_css('Web_Print-Default.css'), None, [], [] ], path_css('Web_Print-Default.css'), None, [], [] ],
# vertical navigation style sheet # vertical navigation style sheet
["Vertica-Menusl", 0, "", ["Vertical-Menus", 0, "",
path_css('Web_Vertical-Menus.css'), None, [], [] ], path_css('Web_Vertical-Menus.css'), None, [], [] ],
# horizontal navigation style sheet # horizontal navigation style sheet
["Horizontal-Menus", 0, "", ["Horizontal-Menus", 0, "",
path_css('Web_Horizontal-Menus.css'), None, [], []], path_css('Web_Horizontal-Menus.css'), None, [], [] ],
# GeoView style sheet with its image # GeoView style sheet with its image
["GeoView", 0, "GeoView", ["GeoView", 0, "GeoView",
@ -142,21 +142,20 @@ def load_on_reg(dbstate, uistate, plugin):
# all other images for use in NarrativeWeb # all other images for use in NarrativeWeb
['All Images', 0, 'All Images', None, None, ['All Images', 0, 'All Images', None, None,
[path_img("blank.gif"), [path_img("blank.gif"),
path_img("document.png")], []], path_img("document.png")], [] ],
# Gramps Fav icon #2 # Gramps Fav icon #2
["favicon2", 0, "favicon2", ["favicon2", 0, "favicon2",
path_img("favicon2.ico"), None, [], []], path_img("favicon2.ico"), None, [], [] ],
# copyright image # copyright image
['Copyright', 0, 'Copyright', ['Copyright', 0, 'Copyright',
path_img("somerights20.gif"), None, [], []], path_img("somerights20.gif"), None, [], [] ],
# document image in case the media object is not an image # document image in case the media object is not an image
['Document', 0, 'Document', ['Document', 0, 'Document',
path_img("document.png"), None, [], []], path_img("document.png"), None, [], [] ],
] ]
return CSS_FILES return CSS_FILES
def process_list(data): def process_list(data):