diff options
author | vdigital <vdigital@piwigo.org> | 2008-06-22 08:45:28 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-06-22 08:45:28 +0000 |
commit | fda524253d89292ad5a3ec9bfed291495a72572e (patch) | |
tree | cd2b2aae0c1e38e7be85094e0776d0f0ea3980d4 /admin/template/yoga/theme | |
parent | 7d3d91e95abed9af3ad29e0bce8d2a8a67923d44 (diff) |
Admin isolation: Copy of admin templates in admin folder.
(Before previous admin templates removal).
Some of css simplification (in admin only currently.
git-svn-id: http://piwigo.org/svn/trunk@2390 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template/yoga/theme')
38 files changed, 444 insertions, 0 deletions
diff --git a/admin/template/yoga/theme/admin/images/active_tab.png b/admin/template/yoga/theme/admin/images/active_tab.png Binary files differnew file mode 100644 index 000000000..a94c47eae --- /dev/null +++ b/admin/template/yoga/theme/admin/images/active_tab.png diff --git a/admin/template/yoga/theme/admin/images/admin_v2_menuBox-bottom.png b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-bottom.png Binary files differnew file mode 100644 index 000000000..005e615bf --- /dev/null +++ b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-bottom.png diff --git a/admin/template/yoga/theme/admin/images/admin_v2_menuBox-left.png b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-left.png Binary files differnew file mode 100644 index 000000000..66e3448ef --- /dev/null +++ b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-left.png diff --git a/admin/template/yoga/theme/admin/images/admin_v2_menuBox-right.png b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-right.png Binary files differnew file mode 100644 index 000000000..9b360d80f --- /dev/null +++ b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-right.png diff --git a/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top.png b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top.png Binary files differnew file mode 100644 index 000000000..3b351cebe --- /dev/null +++ b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top.png diff --git a/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top_Y.png b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top_Y.png Binary files differnew file mode 100644 index 000000000..3f64ad582 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top_Y.png diff --git a/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top_Y_n2.png b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top_Y_n2.png Binary files differnew file mode 100644 index 000000000..9007922cd --- /dev/null +++ b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top_Y_n2.png diff --git a/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top_Y_n3.png b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top_Y_n3.png Binary files differnew file mode 100644 index 000000000..d0a37b608 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/admin_v2_menuBox-top_Y_n3.png diff --git a/admin/template/yoga/theme/admin/images/admin_v2_screenshot.png b/admin/template/yoga/theme/admin/images/admin_v2_screenshot.png Binary files differnew file mode 100644 index 000000000..a919af754 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/admin_v2_screenshot.png diff --git a/admin/template/yoga/theme/admin/images/admin_v2_tabActive.png b/admin/template/yoga/theme/admin/images/admin_v2_tabActive.png Binary files differnew file mode 100644 index 000000000..a94c47eae --- /dev/null +++ b/admin/template/yoga/theme/admin/images/admin_v2_tabActive.png diff --git a/admin/template/yoga/theme/admin/images/admin_v2_tabInactive.png b/admin/template/yoga/theme/admin/images/admin_v2_tabInactive.png Binary files differnew file mode 100644 index 000000000..568150a1c --- /dev/null +++ b/admin/template/yoga/theme/admin/images/admin_v2_tabInactive.png diff --git a/admin/template/yoga/theme/admin/images/bottom-left-bg.png b/admin/template/yoga/theme/admin/images/bottom-left-bg.png Binary files differnew file mode 100644 index 000000000..ce611dfed --- /dev/null +++ b/admin/template/yoga/theme/admin/images/bottom-left-bg.png diff --git a/admin/template/yoga/theme/admin/images/content-bg.png b/admin/template/yoga/theme/admin/images/content-bg.png Binary files differnew file mode 100644 index 000000000..74ccf81bc --- /dev/null +++ b/admin/template/yoga/theme/admin/images/content-bg.png diff --git a/admin/template/yoga/theme/admin/images/fillet.png b/admin/template/yoga/theme/admin/images/fillet.png Binary files differnew file mode 100644 index 000000000..dd63b2e49 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/fillet.png diff --git a/admin/template/yoga/theme/admin/images/header_bottom.png b/admin/template/yoga/theme/admin/images/header_bottom.png Binary files differnew file mode 100644 index 000000000..e4d049881 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/header_bottom.png diff --git a/admin/template/yoga/theme/admin/images/inactive_tab.png b/admin/template/yoga/theme/admin/images/inactive_tab.png Binary files differnew file mode 100644 index 000000000..568150a1c --- /dev/null +++ b/admin/template/yoga/theme/admin/images/inactive_tab.png diff --git a/admin/template/yoga/theme/admin/images/index.php b/admin/template/yoga/theme/admin/images/index.php new file mode 100644 index 000000000..547a117bf --- /dev/null +++ b/admin/template/yoga/theme/admin/images/index.php @@ -0,0 +1,54 @@ +<?php +// +-----------------------------------------------------------------------+ +// | Piwigo - a PHP based picture gallery | +// +-----------------------------------------------------------------------+ +// | Copyright(C) 2008 Piwigo Team http://piwigo.org | +// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | +// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | +// +-----------------------------------------------------------------------+ +// | This program is free software; you can redistribute it and/or modify | +// | it under the terms of the GNU General Public License as published by | +// | the Free Software Foundation | +// | | +// | This program is distributed in the hope that it will be useful, but | +// | WITHOUT ANY WARRANTY; without even the implied warranty of | +// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | +// | General Public License for more details. | +// | | +// | You should have received a copy of the GNU General Public License | +// | along with this program; if not, write to the Free Software | +// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | +// | USA. | +// +-----------------------------------------------------------------------+ +// +-----------------------------------------------------------------------+ +// | PhpWebGallery - a PHP based picture gallery | +// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | +// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | +// +-----------------------------------------------------------------------+ +// | file : $Id$ +// | last update : $Date$ +// | last modifier : $Author$ +// | revision : $Revision$ +// +-----------------------------------------------------------------------+ +// | This program is free software; you can redistribute it and/or modify | +// | it under the terms of the GNU General Public License as published by | +// | the Free Software Foundation | +// | | +// | This program is distributed in the hope that it will be useful, but | +// | WITHOUT ANY WARRANTY; without even the implied warranty of | +// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | +// | General Public License for more details. | +// | | +// | You should have received a copy of the GNU General Public License | +// | along with this program; if not, write to the Free Software | +// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | +// | USA. | +// +-----------------------------------------------------------------------+ + +// Recursive call +$url = '../'; +header( 'Request-URI: '.$url ); +header( 'Content-Location: '.$url ); +header( 'Location: '.$url ); +exit(); +?> diff --git a/admin/template/yoga/theme/admin/images/internal_onglet.png b/admin/template/yoga/theme/admin/images/internal_onglet.png Binary files differnew file mode 100644 index 000000000..dd7b1e218 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/internal_onglet.png diff --git a/admin/template/yoga/theme/admin/images/list-hover.png b/admin/template/yoga/theme/admin/images/list-hover.png Binary files differnew file mode 100644 index 000000000..73b600269 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/list-hover.png diff --git a/admin/template/yoga/theme/admin/images/list-image.png b/admin/template/yoga/theme/admin/images/list-image.png Binary files differnew file mode 100644 index 000000000..1acdf67e4 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/list-image.png diff --git a/admin/template/yoga/theme/admin/images/menubar-bg.jpg b/admin/template/yoga/theme/admin/images/menubar-bg.jpg Binary files differnew file mode 100644 index 000000000..f99114277 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/menubar-bg.jpg diff --git a/admin/template/yoga/theme/admin/images/menubar-bg.png b/admin/template/yoga/theme/admin/images/menubar-bg.png Binary files differnew file mode 100644 index 000000000..6e5f3ae84 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/menubar-bg.png diff --git a/admin/template/yoga/theme/admin/images/menubar-bottom.png b/admin/template/yoga/theme/admin/images/menubar-bottom.png Binary files differnew file mode 100644 index 000000000..be74ddca1 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/menubar-bottom.png diff --git a/admin/template/yoga/theme/admin/images/menubar-detail.png b/admin/template/yoga/theme/admin/images/menubar-detail.png Binary files differnew file mode 100644 index 000000000..bdc024d55 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/menubar-detail.png diff --git a/admin/template/yoga/theme/admin/images/menubar-top.png b/admin/template/yoga/theme/admin/images/menubar-top.png Binary files differnew file mode 100644 index 000000000..0e4b26cb1 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/menubar-top.png diff --git a/admin/template/yoga/theme/admin/images/onglet_actif.png b/admin/template/yoga/theme/admin/images/onglet_actif.png Binary files differnew file mode 100644 index 000000000..476edb31b --- /dev/null +++ b/admin/template/yoga/theme/admin/images/onglet_actif.png diff --git a/admin/template/yoga/theme/admin/images/onglet_actif_transp.png b/admin/template/yoga/theme/admin/images/onglet_actif_transp.png Binary files differnew file mode 100644 index 000000000..fe4b18275 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/onglet_actif_transp.png diff --git a/admin/template/yoga/theme/admin/images/onglet_inactif.png b/admin/template/yoga/theme/admin/images/onglet_inactif.png Binary files differnew file mode 100644 index 000000000..8411ed119 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/onglet_inactif.png diff --git a/admin/template/yoga/theme/admin/images/onglet_inactif_transp.png b/admin/template/yoga/theme/admin/images/onglet_inactif_transp.png Binary files differnew file mode 100644 index 000000000..9ad96c14e --- /dev/null +++ b/admin/template/yoga/theme/admin/images/onglet_inactif_transp.png diff --git a/admin/template/yoga/theme/admin/images/piwigo_logo_sombre_214x100.png b/admin/template/yoga/theme/admin/images/piwigo_logo_sombre_214x100.png Binary files differnew file mode 100644 index 000000000..106f20add --- /dev/null +++ b/admin/template/yoga/theme/admin/images/piwigo_logo_sombre_214x100.png diff --git a/admin/template/yoga/theme/admin/images/pre-menubar-bg.png b/admin/template/yoga/theme/admin/images/pre-menubar-bg.png Binary files differnew file mode 100644 index 000000000..f691a288b --- /dev/null +++ b/admin/template/yoga/theme/admin/images/pre-menubar-bg.png diff --git a/admin/template/yoga/theme/admin/images/tableh1_bg.png b/admin/template/yoga/theme/admin/images/tableh1_bg.png Binary files differnew file mode 100644 index 000000000..38f356b83 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/tableh1_bg.png diff --git a/admin/template/yoga/theme/admin/images/tableh2_bg.png b/admin/template/yoga/theme/admin/images/tableh2_bg.png Binary files differnew file mode 100644 index 000000000..be06ee428 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/tableh2_bg.png diff --git a/admin/template/yoga/theme/admin/images/top-left-bg.png b/admin/template/yoga/theme/admin/images/top-left-bg.png Binary files differnew file mode 100644 index 000000000..afe4eabd9 --- /dev/null +++ b/admin/template/yoga/theme/admin/images/top-left-bg.png diff --git a/admin/template/yoga/theme/admin/index.php b/admin/template/yoga/theme/admin/index.php new file mode 100644 index 000000000..547a117bf --- /dev/null +++ b/admin/template/yoga/theme/admin/index.php @@ -0,0 +1,54 @@ +<?php +// +-----------------------------------------------------------------------+ +// | Piwigo - a PHP based picture gallery | +// +-----------------------------------------------------------------------+ +// | Copyright(C) 2008 Piwigo Team http://piwigo.org | +// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | +// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | +// +-----------------------------------------------------------------------+ +// | This program is free software; you can redistribute it and/or modify | +// | it under the terms of the GNU General Public License as published by | +// | the Free Software Foundation | +// | | +// | This program is distributed in the hope that it will be useful, but | +// | WITHOUT ANY WARRANTY; without even the implied warranty of | +// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | +// | General Public License for more details. | +// | | +// | You should have received a copy of the GNU General Public License | +// | along with this program; if not, write to the Free Software | +// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | +// | USA. | +// +-----------------------------------------------------------------------+ +// +-----------------------------------------------------------------------+ +// | PhpWebGallery - a PHP based picture gallery | +// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | +// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net | +// +-----------------------------------------------------------------------+ +// | file : $Id$ +// | last update : $Date$ +// | last modifier : $Author$ +// | revision : $Revision$ +// +-----------------------------------------------------------------------+ +// | This program is free software; you can redistribute it and/or modify | +// | it under the terms of the GNU General Public License as published by | +// | the Free Software Foundation | +// | | +// | This program is distributed in the hope that it will be useful, but | +// | WITHOUT ANY WARRANTY; without even the implied warranty of | +// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | +// | General Public License for more details. | +// | | +// | You should have received a copy of the GNU General Public License | +// | along with this program; if not, write to the Free Software | +// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | +// | USA. | +// +-----------------------------------------------------------------------+ + +// Recursive call +$url = '../'; +header( 'Request-URI: '.$url ); +header( 'Content-Location: '.$url ); +header( 'Location: '.$url ); +exit(); +?> diff --git a/admin/template/yoga/theme/admin/mail-css.tpl b/admin/template/yoga/theme/admin/mail-css.tpl new file mode 100644 index 000000000..5b3e53c3d --- /dev/null +++ b/admin/template/yoga/theme/admin/mail-css.tpl @@ -0,0 +1,19 @@ +{* $Id$ *} +/* Theme wipi mail css */ + +body {ldelim} background-color:#111; color:#69c;} +#the_page {ldelim} background: #111 url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top;} +#content {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;} +#copyright {ldelim} background: transparent url({$ROOT_URL}template/{$themeconf.template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; +color: #69c;} +h2 {ldelim} background-color: #222;color:#eee;background-image: url({$ROOT_URL}template/{$themeconf.template}/theme/{$themeconf.theme}/images/tableh1_bg.png);} +img {ldelim} margin: 16px; padding:15px;border:1px solid #eee; -moz-border-radius: 4px; border-radius: 4px 4px; } +img:hover {ldelim} border:1px solid #69c; -moz-border-radius: 4px; border-radius: 4px 4px; } +a {ldelim} color: #69c; background: transparent; } +a:hover {ldelim} color: #f92; } +a.PWG {ldelim} border: 0px; } +a.PWG .P {ldelim} color : #f92; } +a.PWG .W {ldelim} color : #aaa; } +a.PWG .G {ldelim} color : #69c; } +a.PWG:hover .P {ldelim} color : #69c; } +a.PWG:hover .G {ldelim} color : #f92; } diff --git a/admin/template/yoga/theme/admin/theme.css b/admin/template/yoga/theme/admin/theme.css new file mode 100644 index 000000000..a6bbf1e21 --- /dev/null +++ b/admin/template/yoga/theme/admin/theme.css @@ -0,0 +1,243 @@ +/* $Id$ */ +/* text color */ +BODY, H3, DT, +INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { + color:#e0e0e0; +} +H2, .throw { + color: #eee; +} +.content .infos { + background-color: #69c; + color: #036; +} +.content .errors { + background-color: #fc5; + border-color: #f92; + color: #900; +} +/* backgrounds */ +body { + background:#111111 url(images/top-left-bg.png) no-repeat scroll left top; + margin: 0; padding: 0; +} +H3, #imageToolBar A:hover, .row1 { + background-color: #222; +} +#theAdminPage h2, #theAdminPage h3 { color: #777; } +A { + border-color: #69c; +} +A:hover { + border-color: #f92; +} +.content { + background-color: #181818; + border: 1px solid #eee; + padding: 5px; +} +H2, .throw, TD H3, #theAdminPage H3 { + background-image: url(images/fillet.png); + background-repeat: repeat-x; +} +.content H2 { + background: none; + border: 0; + letter-spacing: -0.05em; + text-indent: 1em; + text-transform: uppercase; + font-weight: lighter; + margin-bottom: 20px; +} +.content h3 { text-align: center; } +.browsePath A { + color: #eee; +} +/* borders */ +#comments DIV.comment BLOCKQUOTE { + border: 1px solid #000; +} +#imageHeaderBar { + border-top: 1px solid #000; + padding: 8px 0 3px 0; +} +H2, #imageToolBar { + border-bottom: 1px solid #000; +} + +#theImage IMG { + border-color: #fff; +} + +.content UL.thumbnail IMG { + border: 1px solid #a0a0a0; +} +.illustration A { + border: 0; +} +FIELDSET, INPUT, SELECT, TEXTAREA, +.content DIV.comment A.illustration IMG, +#comments DIV.comment BLOCKQUOTE { + border-left: 2px solid #696969; +} + +.content UL.thumbnails SPAN.wrap2 { + border: 1px solid #aaaaaa; /* thumbnails border color and style */ + border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ +} + +.content UL.thumbnails SPAN.wrap2:hover { + margin: 0 2px; + width: auto; + padding: 0; + text-indent: 0; + list-style: none; + text-align: center; + float: left; +} +A:hover { + color: #f92; +} + +#imageToolBar A, #imageToolBar A:hover { + border-bottom: none; +} +A.navThumb, A.navThumb:hover { + border-bottom: none; +} +#copyright { +color:#777; +margin:60px 0; +text-align:center; +} + +label { + cursor:pointer +} +input#qsearchInput { + color: #58c; + background-color: #222; + border: 1px solid #333; + padding: 1px 3px; +} +.zero { display: none } +.nb-hits { color: #69c; } +.nb-comments { color: #f92; } + +FORM#quickconnect, +FORM#quickconnect FIELDSET, +FORM#quickconnect P, +FORM#quickconnect UL.actions, +FORM#quickconnect FIELDSET>UL.actions, +FORM#quickconnect UL.actions, +FORM#quickconnect P, +FORM#quickconnect LABEL { + color: #69c; +} +FORM#quickconnect P INPUT, +FORM#quickconnect INPUT[type=text], +FORM#quickconnect INPUT[type=password] { + width: 85%; + color: #58c; + background-color: #222; + border: 1px solid #333; + padding: 1px 3px; +} + +.virtual_cat { background: #222 !important; } + +.Piwigo { + font-family: verdana, arial, helvetica, sans-serif !important; + font-size: 0.9em; + font-weight: normal; + letter-spacing: 0; +} +a.Piwigo { border: 0; color : #f36; text-decoration: none; border: 0; color: #f36; } + +.statBar { background-color: #e60; } +#imageToolBar .randomButtons a:hover, +#imageToolBar .navButtons a:hover { background-color: transparent; } +* { outline-width: 0; } + + +/* New in 1.8 : Special Admin */ + +a, input.rateButton, legend { color:#777; } +#theHeader { + background:transparent url(images/piwigo_logo_sombre_214x100.png) no-repeat scroll 245px top; height:105px; +} + +.content h2:before, .content h2:after, +.content h2 { /*theme.css (line 100)*/ +letter-spacing:0.1em; margin-right:45px; text-align:right; color: #777777; +text-transform:none; } +.content dl, dd { /*content.css (line 52) */ margin:5px; } +.content h2 { /* default-layout.cs... (line 6) */ +font-weight:bold; margin-right:30px; padding-left:2em; } +#theAdminPage h3 { /* theme.css (line 96) */ +background: transparent none; margin-right:30px; font-weight: lighter;} +#theAdminPage h2 { border:0; color:#333; display:block; +font-size:36px; margin:0pt 20px 0pt 220px; +min-height:95px; overflow:hidden; padding:0pt; position:relative; +right:0pt; text-align:right; top:-100px; width:770px; } +#the_page { +background:transparent url(images/bottom-left-bg.png) no-repeat fixed left bottom; +border:0; display:block; margin: 0; padding-bottom: 0; +padding-top: 0; min-height: 100%; position:relative; +} +.content { + background: #222 url(images/fillet.png) repeat-x top left; min-height: 424px; + border-width: 0; padding: 0 5px 0 0; list-style-type:none; margin: 0 10px 0 248px; } +.header_notes { +background: transparent url(../../../../../template/yoga/icon/note.png) no-repeat right top; +border:0; font-weight:bold; +padding:5px 60px 0 0; position:absolute; right:0; +text-align:right; top:90px; width:550px; } + +fieldset#uploadConf input { margin-left:5%; width:160px; } +table.table2 th { padding:3px 30px; } +table.table2 tr.throw { text-align: center; } +html, body { height:100%; } + +/* tabsheets are often used in admin pages => No specific css files */ +.tabsheet { +background-color:transparent; border:0; display:table; +float:right; font-family:verdana,arial,helvetica,sans-serif; +font-size:8px; line-height:14px; list-style-image:none; +margin: 0; padding: 0; position:relative; text-decoration:none; +top:-2px; white-space:nowrap; width:730px; } +.tabsheet li { +float:right; margin: 0; padding: 0; text-align:right; overflow: hidden; +width:136px !important; border: 0; } +.tabsheet a { +background:transparent url(images/inactive_tab.png) no-repeat scroll left 3px; +border: 0 none; color:#777777; display:block; font-size:8px; text-transform:capitalize; +font-weight:bold; height:33px; overflow:hidden; padding:18px 30px 5px 0; line-height: 18px; +text-align:right; text-decoration:none; width:122px !important; } +.tabsheet a:hover, .tabsheet li.selected_tab a { +background:transparent url(images/active_tab.png) no-repeat scroll left 1px; +color: #F36; } + +/* menubar is on all admin pages => No specific css file */ +#menubar { +background:transparent url(images/admin_v2_menuBox-bottom.png) no-repeat scroll left bottom; +border: 0; float:none; left: 0; margin:100px 5px 5px 35px; min-height:423px; padding: 0; +position:absolute; top: 0; width:190px; display: inline; +text-align: left; /* "be nice to IE5" rule */ } +#menubar .selected a { color: #f70; border-bottom: 1px dotted #a72; } +#menubar .selected a:hover { color: #f36; border-bottom: 1px solid #f36;} +#menubar dd { +background: transparent url(images/menubar-detail.png) repeat-y top left; +margin: 0; padding: 0; height:232px; display:block; } +#menubar dl { +background:transparent url(images/menubar-top.png) no-repeat scroll left top; +width: 207px; border:0; margin: 0; padding: 0; display: block; } +#menubar dt { margin: 0; display: block; background: none; left:10px; +position:relative; padding: 5px; top:-15px; font-size: 14px; } +#menubar a { border-bottom:0; text-decoration:none; font-size: 12px; +color: #555; border-bottom: 1px dotted #777;} +#menubar li { margin: 0 0 0 6px; } +#menubar li:hover { color: #F36; } +#menubar ul { color: #333; margin:9px 0pt 3px 9px; + list-style-type: square; list-style-position: inside; padding: 0 0 0 2px; } +#menubar ul:hover { color: #850; }
\ No newline at end of file diff --git a/admin/template/yoga/theme/admin/themeconf.inc.php b/admin/template/yoga/theme/admin/themeconf.inc.php new file mode 100644 index 000000000..9629b274f --- /dev/null +++ b/admin/template/yoga/theme/admin/themeconf.inc.php @@ -0,0 +1,74 @@ +<?php +/** + * Accordion menus need to be stable + */ +function selected_admin_menu() +{ + if (isset($_GET['page'])) + { + switch ($_GET['page']) { + case 'configuration': + return 1; + case 'site_manager': + case 'site_update': + case 'cat_list': + case 'cat_modify': + case 'cat_move': + case 'cat_options': + case 'element_set': + case 'cat_perm': + case 'permalinks': + case 'picture_modify': + if (isset($_GET['cat']) and $_GET['cat']=='caddie') { + return 3; + } + return 2; + case 'comments': + case 'upload': + case 'thumbnail': + case 'rating': + case 'tags': + return 3; + case 'user_list': + case 'group_list': + case 'notification_by_mail': + return 4; + case 'stats': + case 'history': + case 'maintenance': + case 'advanced_feature': + case 'ws_checker': + case 'plugins_list': + case 'plugin': + return 5; + } + } + return 0; +} + +$themeconf = array( + 'template' => 'yoga', + 'theme' => 'admin', + 'template_dir' => 'admin/template/yoga', + 'icon_dir' => 'template/yoga/icon', + 'admin_icon_dir' => 'template/yoga/icon/admin', + 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', + 'local_head' => ' +<!-- New template location for admin --> +<!-- Admin Accordion Menus --> + <script type="text/javascript" src="template-common/lib/jquery.js"></script> + <script type="text/javascript" src="template-common/lib/chili-1.7.pack.js"></script> + <script type="text/javascript" src="template-common/lib/jquery.easing.js"></script> + <script type="text/javascript" src="template-common/lib/jquery.dimensions.js"></script> + <script type="text/javascript" src="template-common/jquery.accordion.js"></script> + <script type="text/javascript"> + jQuery().ready(function(){ + jQuery(\'#menubar\').accordion({ + header: "dt.rdion", + event: "click", + active: '. selected_admin_menu() . ' + }); + }); + </script>' +); +?> |