From 35c2aeca68298ec24a4e7cdb0912b7c6573f7766 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 24 Jul 2008 01:30:12 +0000 Subject: - remove functions_group.inc.php (empty for some years; avoid unnecessary include_file) - thumbnails-fix-ie5-ie6.css merged into fix-ie5-ie6.css (avoid 2 IE6 css file requests) - removed unused css git-svn-id: http://piwigo.org/svn/trunk@2456 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 1 - include/functions_group.inc.php | 26 -------------------------- template/yoga/default-layout.css | 10 ---------- template/yoga/fix-ie5-ie6.css | 28 +++++++++++++++++++++++++++- template/yoga/thumbnails-fix-ie5-ie6.css | 27 --------------------------- 5 files changed, 27 insertions(+), 65 deletions(-) delete mode 100644 include/functions_group.inc.php delete mode 100644 template/yoga/thumbnails-fix-ie5-ie6.css diff --git a/include/functions.inc.php b/include/functions.inc.php index a1b589999..29a973466 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -26,7 +26,6 @@ include_once( PHPWG_ROOT_PATH .'include/functions_cookie.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_session.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_category.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_xml.inc.php' ); -include_once( PHPWG_ROOT_PATH .'include/functions_group.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_html.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_tag.inc.php' ); include_once( PHPWG_ROOT_PATH .'include/functions_url.inc.php' ); diff --git a/include/functions_group.inc.php b/include/functions_group.inc.php deleted file mode 100644 index a5c07b5b5..000000000 --- a/include/functions_group.inc.php +++ /dev/null @@ -1,26 +0,0 @@ - diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css index ea0524a94..f5c6fb116 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -8,9 +8,6 @@ BODY { text-align: center; /* be nice to IE5 */ } -#the_page { - /* Just in case another template needs an inner frame */ -} H1 { text-align: center; @@ -81,10 +78,6 @@ FORM FIELDSET P { margin-bottom: 0; } -.small { - font-size: 80%; -} - TEXTAREA.description { height: 6em; width: 40em; @@ -273,9 +266,6 @@ TR.tagLine { border-bottom: 1px solid #ddd; text-align: left; } -TR.tagLine:hover { - background-color: #fff; -} TD.nbEntries { text-align: right; font-style: italic; diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css index b78bc7bf4..7574363b3 100644 --- a/template/yoga/fix-ie5-ie6.css +++ b/template/yoga/fix-ie5-ie6.css @@ -1,7 +1,33 @@ /* $Id$ */ /* Issues in IE from 5 to 6 only not to be used with IE7 */ -@import "thumbnails-fix-ie5-ie6.css"; +/* fix IE with another layout for thumbnails */ +.content UL.thumbnails SPAN.wrap2 { + display: block; + position: relative; + text-align: left; +} +.content UL.thumbnails SPAN.wrap2 A, +.content UL.thumbnails SPAN.wrap2 SPAN { + overflow: visible; + position: absolute; + top: 50%; + text-align: center; +} + +.content UL.thumbnails IMG.thumbnail { + position: relative; + top: -50%; + /*\*//*/ + margin-top: -40%; + /**/ +} +.content UL.thumbnails INPUT { + position: absolute; + left: 2px; + top: 2px; /* same as other browsers but not so pretty */ +} + /* to avoid vanishing objects in IE6 */ H1, #theHeader { diff --git a/template/yoga/thumbnails-fix-ie5-ie6.css b/template/yoga/thumbnails-fix-ie5-ie6.css deleted file mode 100644 index dbffaefc9..000000000 --- a/template/yoga/thumbnails-fix-ie5-ie6.css +++ /dev/null @@ -1,27 +0,0 @@ -/* $Id$ */ -/* fix IE with another layout for thumbnails */ -.content UL.thumbnails SPAN.wrap2 { - display: block; - position: relative; - text-align: left; -} -.content UL.thumbnails SPAN.wrap2 A, -.content UL.thumbnails SPAN.wrap2 SPAN { - overflow: visible; - position: absolute; - top: 50%; - text-align: center; -} - -.content UL.thumbnails IMG.thumbnail { - position: relative; - top: -50%; - /*\*//*/ - margin-top: -40%; - /**/ -} -.content UL.thumbnails INPUT { - position: absolute; - left: 2px; - top: 2px; /* same as other browsers but not so pretty */ -} -- cgit v1.2.3