From 05600380fdc58a5b4e5c9c6bbe64d3f5d8c875cb Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Sat, 26 Apr 2008 15:42:13 -0500 Subject: [PATCH] Changes to improve compatibility with Internet Explorer 6 and 7 Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 25 ++++++++++++++----- .../opac-tmpl/prog/en/includes/masthead.inc | 2 +- koha-tmpl/opac-tmpl/prog/en/js/basket.js | 3 ++- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 0aa1211fe4..06d96297e1 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -1380,8 +1380,6 @@ span.starMT { width: 50px; } - - #cartmenulink, #listsmenulink { display : block; position : relative; @@ -1417,6 +1415,9 @@ span.starMT { padding : 0 0 5px 10px; margin-bottom : -5px; } +/* For IE7 */ + *:first-child+html #cartmenulink span { padding-top : 3px; padding-bottom : 7px; } + *:first-child+html #listsmenulink span { padding-top : 5px; } #cartmenulink span i, #listsmenulink span i { background-position : bottom right; @@ -1443,7 +1444,9 @@ span.starMT { background-image : none; cursor : pointer; } - +* html #cartmenulink span, * html #listsmenulink span { + padding-top : 5px; +} #listsmenulink { background : #9FBFFF; } @@ -1502,9 +1505,6 @@ span.starMT { top : auto; } -*html #cartmenulink span#basket, *html #cartmenulink span#basket span { -} - a#listsmenulink, a#listsmenulink:hover { color : #006699; font-size : 105%; @@ -1520,6 +1520,19 @@ a#cartmenulink, a#cartmenulink:hover { line-height : 185%; margin-left : 1.5em; } +* html a#cartmenulink { + padding-top: 0; +} + * html a#cartmenulink:hover { + padding-top : 0; +} +/* For IE7 */ +*:first-child+html a#listsmenulink { padding-top : 0; } +*:first-child+html a#listsmenulink:hover { padding-top : 0; } +*:first-child+html a#cartmenulink { padding-top : 0; } +*:first-child+html a#cartmenulink:hover { padding-top : 0; } +*:first-child+html #cartmenulink span i{ top : -4px; } +*:first-child+html #listsmenulink span i { top : -5px; } #listsmenulink img { background-image : none; diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index 8d126bed28..68344c9bd9 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -80,7 +80,7 @@ - +
Your cart is empty.