From 5c9d83873b6f3b325614a934b62bb4cb722b3d4e Mon Sep 17 00:00:00 2001 From: Mike Endale Date: Tue, 18 Sep 2012 18:45:44 -0400 Subject: [PATCH] PT-563: Update style.css to show the home icon. modified: themes/petitions44/css/style.css modified: themes/petitions44/sass/style.scss --- .../petition/themes/petitions44/css/style.css | 13 +++++++++++-- .../petition/themes/petitions44/sass/style.scss | 15 +++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/docroot/profiles/petition/themes/petitions44/css/style.css b/docroot/profiles/petition/themes/petitions44/css/style.css index a44980e5d..3c52a1402 100644 --- a/docroot/profiles/petition/themes/petitions44/css/style.css +++ b/docroot/profiles/petition/themes/petitions44/css/style.css @@ -285,12 +285,21 @@ body.petition #page-inner { border-bottom: 1px #6c8c27 solid; text-shadow: #535353 0px 2px 0px; } +#petition-header ul#main-menu-links li.first a { + background: url("../img/nav-pet.gif") no-repeat; + text-indent: -9999px; + width: 20px; } + #petition-header ul.links li:last-child a { border-right: none; } #petition-header ul.links li a:hover, -#petition-header ul.links li.active a { - background: url("../img/nav-pet-bkg.gif") repeat-x 0 -41px; } +#petition-header ul#main-menu-links li.first a:hover { + background-position: 0 -41px; } + +#petition-header ul.links li a.active, +#petition-header ul#main-menu-links li.first a.active { + background-position: 0 -82px; } #petition-header ul.secondary-links { float: right; diff --git a/docroot/profiles/petition/themes/petitions44/sass/style.scss b/docroot/profiles/petition/themes/petitions44/sass/style.scss index ae66be334..ac645a44c 100644 --- a/docroot/profiles/petition/themes/petitions44/sass/style.scss +++ b/docroot/profiles/petition/themes/petitions44/sass/style.scss @@ -334,13 +334,24 @@ body.petition #page-inner {position: relative;} text-shadow: #535353 0px 2px 0px; } +#petition-header ul#main-menu-links li.first a { + background: url("../img/nav-pet.gif") no-repeat; + text-indent: -9999px; + width: 20px; +} + #petition-header ul.links li:last-child a { border-right: none; } #petition-header ul.links li a:hover, -#petition-header ul.links li.active a { - background: url("../img/nav-pet-bkg.gif") repeat-x 0 -41px; +#petition-header ul#main-menu-links li.first a:hover { + background-position: 0 -41px; +} + +#petition-header ul.links li a.active, +#petition-header ul#main-menu-links li.first a.active { + background-position: 0 -82px; } #petition-header ul.secondary-links {