From 3a67845aaf128fe718b27a89635fb33810ba7e41 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 28 Aug 2008 01:26:26 +0000 Subject: - removed and moved (from common to admin) some CSS rules - upgraded jQuery and accordion to latest version (and reorganised a bit their location) git-svn-id: http://piwigo.org/svn/trunk@2489 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/yoga/default-layout.css | 41 +- admin/template/yoga/theme/admin/themeconf.inc.php | 8 +- include/template.class.php | 8 +- template-common/default-layout.css | 30 - template-common/jquery.accordion.js | 311 -- template-common/jquery.accordion.min.js | 14 - template-common/jquery.accordion.pack.js | 15 - template-common/lib/chili-1.7.pack.js | 1 - template-common/lib/jquery.dimensions.js | 116 - template-common/lib/jquery.easing.js | 102 - template-common/lib/jquery.js | 3542 ++++++++++++++++++++- template-common/lib/jquery.packed.js | 11 + template-common/lib/ui/ui.accordion.js | 294 ++ template-common/lib/ui/ui.accordion.packed.js | 2 + template-common/lib/ui/ui.core.js | 312 ++ template-common/lib/ui/ui.core.packed.js | 2 + template/yoga/default-layout.css | 14 +- template/yoga/popuphelp.tpl | 9 +- template/yoga/redirect.tpl | 8 +- template/yoga/search_rules.tpl | 12 +- 20 files changed, 4229 insertions(+), 623 deletions(-) delete mode 100644 template-common/jquery.accordion.js delete mode 100644 template-common/jquery.accordion.min.js delete mode 100644 template-common/jquery.accordion.pack.js delete mode 100644 template-common/lib/chili-1.7.pack.js delete mode 100644 template-common/lib/jquery.dimensions.js delete mode 100644 template-common/lib/jquery.easing.js create mode 100644 template-common/lib/jquery.packed.js create mode 100644 template-common/lib/ui/ui.accordion.js create mode 100644 template-common/lib/ui/ui.accordion.packed.js create mode 100644 template-common/lib/ui/ui.core.js create mode 100644 template-common/lib/ui/ui.core.packed.js diff --git a/admin/template/yoga/default-layout.css b/admin/template/yoga/default-layout.css index a51cc706d..f7e9edb4a 100644 --- a/admin/template/yoga/default-layout.css +++ b/admin/template/yoga/default-layout.css @@ -178,7 +178,7 @@ background-color: transparent; z-index: 50; } -.over span{ /*CSS for enlarged image*/ +.over SPAN{ /*CSS for enlarged image*/ position: absolute; background-color: #eee; padding: 5px; @@ -189,17 +189,49 @@ color: black; text-decoration: none; } -.over span img{ /*CSS for enlarged image*/ +.over SPAN IMG{ /*CSS for enlarged image*/ border-width: 0; padding: 2px; } -.over:hover span{ /*CSS for enlarged image on hover*/ +.over:hover SPAN{ /*CSS for enlarged image on hover*/ visibility: visible; top: 0; left: 60px; /*position where enlarged image should offset horizontally */ } + +/* Tooltips*/ +.tooltip { + position: relative; +} + +.tooltip SPAN { + display: none; +} + +.tooltip:hover { + cursor: pointer; + z-index: 500; +} + +.tooltip:hover SPAN { + display: inline; + position: absolute; + top: 30px; + left: -50px; + width: 400px; + + font-size: 11px; + text-decoration: none; + text-align: justify; + background-color: #FFFFCC; + color: #444444; + + padding: 10px; + border: 1px solid Black; +} + BODY { margin: 5px; padding: 0; @@ -461,9 +493,6 @@ BODY#thePopuphelpPage .content UL LI margin-bottom: 0.5em; } -BODY#thePopuphelpPage P#pageBottomActions A { - border: none; -} TR.tagLine { border-bottom: 1px solid #ddd; diff --git a/admin/template/yoga/theme/admin/themeconf.inc.php b/admin/template/yoga/theme/admin/themeconf.inc.php index 6a87b0f4e..8ba054ec9 100644 --- a/admin/template/yoga/theme/admin/themeconf.inc.php +++ b/admin/template/yoga/theme/admin/themeconf.inc.php @@ -58,11 +58,9 @@ $themeconf = array( 'local_head' => ' - - - - - + + +