diff options
Diffstat (limited to '')
25 files changed, 667 insertions, 0 deletions
diff --git a/BSF/template/yoga/theme/admin/images/bottom-left-bg.png b/BSF/template/yoga/theme/admin/images/bottom-left-bg.png Binary files differnew file mode 100644 index 000000000..ce611dfed --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/bottom-left-bg.png diff --git a/BSF/template/yoga/theme/admin/images/content-bg.png b/BSF/template/yoga/theme/admin/images/content-bg.png Binary files differnew file mode 100644 index 000000000..74ccf81bc --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/content-bg.png diff --git a/BSF/template/yoga/theme/admin/images/header_bottom.png b/BSF/template/yoga/theme/admin/images/header_bottom.png Binary files differnew file mode 100644 index 000000000..e4d049881 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/header_bottom.png diff --git a/BSF/template/yoga/theme/admin/images/index.php b/BSF/template/yoga/theme/admin/images/index.php new file mode 100644 index 000000000..547a117bf --- /dev/null +++ b/BSF/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/BSF/template/yoga/theme/admin/images/internal_onglet.png b/BSF/template/yoga/theme/admin/images/internal_onglet.png Binary files differnew file mode 100644 index 000000000..dd7b1e218 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/internal_onglet.png diff --git a/BSF/template/yoga/theme/admin/images/list-hover.png b/BSF/template/yoga/theme/admin/images/list-hover.png Binary files differnew file mode 100644 index 000000000..73b600269 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/list-hover.png diff --git a/BSF/template/yoga/theme/admin/images/list-image.png b/BSF/template/yoga/theme/admin/images/list-image.png Binary files differnew file mode 100644 index 000000000..1acdf67e4 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/list-image.png diff --git a/BSF/template/yoga/theme/admin/images/menubar-bg.jpg b/BSF/template/yoga/theme/admin/images/menubar-bg.jpg Binary files differnew file mode 100644 index 000000000..f99114277 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/menubar-bg.jpg diff --git a/BSF/template/yoga/theme/admin/images/menubar-bg.png b/BSF/template/yoga/theme/admin/images/menubar-bg.png Binary files differnew file mode 100644 index 000000000..eb998d35c --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/menubar-bg.png diff --git a/BSF/template/yoga/theme/admin/images/menubar-bottom.png b/BSF/template/yoga/theme/admin/images/menubar-bottom.png Binary files differnew file mode 100644 index 000000000..be74ddca1 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/menubar-bottom.png diff --git a/BSF/template/yoga/theme/admin/images/menubar-detail.png b/BSF/template/yoga/theme/admin/images/menubar-detail.png Binary files differnew file mode 100644 index 000000000..e2d411e95 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/menubar-detail.png diff --git a/BSF/template/yoga/theme/admin/images/menubar-top.png b/BSF/template/yoga/theme/admin/images/menubar-top.png Binary files differnew file mode 100644 index 000000000..7a1195c5f --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/menubar-top.png diff --git a/BSF/template/yoga/theme/admin/images/onglet_actif.png b/BSF/template/yoga/theme/admin/images/onglet_actif.png Binary files differnew file mode 100644 index 000000000..476edb31b --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/onglet_actif.png diff --git a/BSF/template/yoga/theme/admin/images/onglet_actif_transp.png b/BSF/template/yoga/theme/admin/images/onglet_actif_transp.png Binary files differnew file mode 100644 index 000000000..fe4b18275 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/onglet_actif_transp.png diff --git a/BSF/template/yoga/theme/admin/images/onglet_inactif.png b/BSF/template/yoga/theme/admin/images/onglet_inactif.png Binary files differnew file mode 100644 index 000000000..8411ed119 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/onglet_inactif.png diff --git a/BSF/template/yoga/theme/admin/images/onglet_inactif_transp.png b/BSF/template/yoga/theme/admin/images/onglet_inactif_transp.png Binary files differnew file mode 100644 index 000000000..9ad96c14e --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/onglet_inactif_transp.png diff --git a/BSF/template/yoga/theme/admin/images/piwigo_logo_sombre_214x100.png b/BSF/template/yoga/theme/admin/images/piwigo_logo_sombre_214x100.png Binary files differnew file mode 100644 index 000000000..106f20add --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/piwigo_logo_sombre_214x100.png diff --git a/BSF/template/yoga/theme/admin/images/pre-menubar-bg.png b/BSF/template/yoga/theme/admin/images/pre-menubar-bg.png Binary files differnew file mode 100644 index 000000000..f691a288b --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/pre-menubar-bg.png diff --git a/BSF/template/yoga/theme/admin/images/tableh1_bg.png b/BSF/template/yoga/theme/admin/images/tableh1_bg.png Binary files differnew file mode 100644 index 000000000..38f356b83 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/tableh1_bg.png diff --git a/BSF/template/yoga/theme/admin/images/tableh2_bg.png b/BSF/template/yoga/theme/admin/images/tableh2_bg.png Binary files differnew file mode 100644 index 000000000..be06ee428 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/tableh2_bg.png diff --git a/BSF/template/yoga/theme/admin/images/top-left-bg.png b/BSF/template/yoga/theme/admin/images/top-left-bg.png Binary files differnew file mode 100644 index 000000000..2650367b0 --- /dev/null +++ b/BSF/template/yoga/theme/admin/images/top-left-bg.png diff --git a/BSF/template/yoga/theme/admin/index.php b/BSF/template/yoga/theme/admin/index.php new file mode 100644 index 000000000..547a117bf --- /dev/null +++ b/BSF/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/BSF/template/yoga/theme/admin/mail-css.tpl b/BSF/template/yoga/theme/admin/mail-css.tpl new file mode 100644 index 000000000..5b3e53c3d --- /dev/null +++ b/BSF/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/BSF/template/yoga/theme/admin/theme.css b/BSF/template/yoga/theme/admin/theme.css new file mode 100644 index 000000000..7b8e63e9a --- /dev/null +++ b/BSF/template/yoga/theme/admin/theme.css @@ -0,0 +1,468 @@ +/* $Id$ */ + +/* text color */ +BODY, H1, H3, DT, +INPUT.rateButtonSelected /* <= why IE doesn't inherit this ? */ { + color:#e0e0e0; +} +#menubar { + margin : 0px; + background-color: transparent; + border: 0px; +} +H2, .throw { + color: #eee; +} +#menubar DT, #menubar DT A { + color: #eee; + font-weight: lighter; +} +#menubar DT A:hover { + color: #69c; + font-weight: lighter; +} +#menubar .selected A { + color: #eee; +} +#menubar .selected A:hover { + color: #f92; +} +#menubar DT:before { + content: "__\\_ "; + color: #f92; +} +#menubar DT:after { + content: " _/__"; + color: #69c; +} +#menubar .button { + margin: 0 2px 0px 8px; + width: auto; + padding: 0; + text-indent: 0; + list-style: none; + text-align: center; + float: left; +} +#theAdminPage #menubar DT:before, +#theAdminPage #menubar DT:after { + content: ''; +} +.content .pageNumberSelected { + color: #f92; +} +.content .infos { + background-color: #69c; + color: #036; +} +.content .errors { + background-color: #fc5; + border-color: #f92; + color: #900; +} +/* backgrounds */ +BODY { + background: #111; + margin: 0px; + padding: 0px; +} +H3, #imageToolBar A:hover, .row1, .tabsheet li { + background-color: #222; +} +#theAdminPage h2, #theAdminPage h3 { border-bottom: 1px solid #69c; } +#imageHeaderBar, #theAdminPage #the_page { + background-color: transparent; +} +#imageToolBar, .header_notes { + background-color: #333; +} +.selected_tab { background-color: eee !important; } +A { + border-color: #69c; +} +A:hover { + border-color: #f92; +} +.content { + background-color: #181818; + border: 1px solid #eee; + padding: 5px; +} +#theAdminPage #the_page .content { + background-color: transparent; + border-width: 0px; + padding: 5px; +} +H2, #menubar DT, .throw, TD H3, #theAdminPage H3 { + background-image: url(images/tableh1_bg.png); + background-repeat: repeat-x; +} +.content H2 { + background: none; + border: 0px; + letter-spacing: -0.05em; + text-indent: 1em; + text-transform: uppercase; + font-weight: lighter; + margin-bottom: 20px; +} +.content ul.thumbnailCategories li div.thumbnailCategory .description h3, +.content h3 { text-align: center; } +.content ul.thumbnailCategories li div.thumbnailCategory .description p { + color: #f92; text-indent: 0em; +} +.content ul.thumbnailCategories li div.thumbnailCategory .description p + p { + color: #fff; +} +.browsePath A { + color: #eee; +} +.content H2:before, .browsePath:before, .imageNumber:before, +#imageHeaderBar H2:before { + content: "____\\_ "; + color: #69c; + font-family: Times, Zapf-Chancery, Cottonwood, Helvetica; + letter-spacing: 0em; +} +.content H2:after, .browsePath:after, .imageNumber:after, +#imageHeaderBar H2:after { + content: " _/____"; + color: #f92; + font-family: Times, Zapf-Chancery, Cottonwood, Helvetica; + letter-spacing: 0em; +} +#imageHeaderBar H2 { + background-image: none; + background-color: transparent; + border: none; +} +#thePicturePage #the_page { + background-color: transparent; +} +#thePicturePage #imageHeaderBar { + background-image: url(images/tableh2_bg.png); + background-repeat: repeat-x; +} +#thePicturePage #imageToolBar { + background-color: transparent; + border-bottom: 2px solid #69c; +} +#thePicturePage #theImage { + background-color: transparent; + margin: 0px; + padding: 3px 0px 15px 0px; +} + +#thePicturePage #comments H2 { + background-image: none; + background-color: #222; + border-top: 2px solid #69c; + border-bottom: 2px solid #69c; + color: #69c; + font-weight: lighter; +} + +/* borders */ +#comments DIV.comment BLOCKQUOTE { + border: 1px solid #000; +} +#imageHeaderBar { + border-top: 1px solid #000; + padding: 8px 0px 3px 0px; +} +H2, #imageToolBar { + border-bottom: 1px solid #000; +} + +#theImage IMG { + border-color: #fff; +} + +.content UL.thumbnail IMG { + border: 1px solid #a0a0a0; +} +.illustration A { + border: 0px; +} +FIELDSET, INPUT, SELECT, TEXTAREA, +.content DIV.comment A.illustration IMG, +.content DIV.thumbnailCategory { + border: 1px solid gray; +} +.content DIV.thumbnailCategory { + border: 1px solid #69c; + margin: 8px 4px; +} +#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, +.content UL.thumbnailCategories DIV.thumbnailCategory:hover { + background-color: #333; + border-color: #69c; /* thumbnails border color when mouse cursor is over it */ +} + +#menubar .buttonmenu { + 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; +} +#the_page { + border: 1px dotted #f92; + padding-top: 5px; + padding-bottom:30px; + text-align:center; + display:block; + margin: 2px; +} +#copyright { + color: #69c; +} + +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; } + +.PWG { + font-family: verdana, arial, helvetica, sans-serif !important; + font-size: 0.9em; + font-weight: normal; + letter-spacing: 0px; +} +a.PWG { border: 0px; } +a.PWG .P { color : #f92; } +a.PWG .W { color : #aaa; } +a.PWG .G { color : #69c; } +a.PWG:hover .P { color : #69c; } +a.PWG:hover .G { color : #f92; } + + + + + + + + +.statBar { background-color: #e60; } +#imageToolBar .randomButtons a:hover, +#imageToolBar .navButtons a:hover { background-color: transparent; } +#menubar .menuInfoCat, +#menubar .menuInfoCatByChild, +h2.showtitle, #theImage p.showlegend { display: none } +* { outline-width: 0px; } +ul.tabsheet, ul.tabsheet li { + border-color: #69c; +} +ul.tabsheet li.normal_tab { + background-image: url(images/tableh1_bg.png); + background-repeat: repeat-x; +} +ul.tabsheet li.normal_tab:hover { border-color: #f92 } +ul.tabsheet li { + -moz-border-radius: 0px 0px 3px 3px; + border-radius: 0px 0px 12px 12px; + -webkit-border-radius: 0px 0px 3px 3px; +} +/* New in 1.8 : Special Admin */ +body#theAdminPage #menubar { + background: transparent url(images/menubar-bg.png) + repeat-y scroll right top; + border-bottom: #ccc ridge 2px; width:13.5em; padding: 0; margin: 0; +} +body#theAdminPage .content { /*default-layout.cs... (line 1)*/ +list-style-type:none; padding: 0px; + /*default-layout.cs... (line 23) */ +margin: 0px 0px 0px 200px; background-color: transparent;} + +#theAdminPage #menubar ul { list-style-image:url(images/list-image.png); } +#theAdminPage #menubar ul:hover { list-style-image:url(images/list-hover.png); } +a, input.rateButton, legend { color:#777; } +#menubar a { border-bottom:0; text-decoration:none; font-style: italic;} +body#theAdminPage #theHeader { + background:transparent url(images/piwigo_logo_sombre_214x100.png) no-repeat 230px top; height:105px; +} +body#theAdminPage #post-header { + background-color: transparent; + width: 60%; height: 4px; margin-left:40%; +} +#theHeader h1 { /*default-layout.cs... (line 204) */ + font-size:220%; line-height:4em; margin:auto 2em auto auto; text-align:right; +} +#the_page { /*theme.css (line 235) */ +border:0; display:block; margin:0px; padding-bottom:0px; +padding-top:0px; text-align:center; min-height: 100%; position:relative; +} +.pwgmenu { /* default-layout.cs... (line 136) */ +background:transparent none repeat scroll 0%; +display:table; font-family:verdana,arial,helvetica,sans-serif; +font-size: 8px; line-height:1.1em; list-style-image:none; +list-style-type:none; margin:1px 8px 1px auto; +padding:3px; position:relative; +text-decoration:none; top:-100px; +white-space:nowrap; width:66em; +} +.pwgmenu a { /* default-layout.cs... (line 159) */ +background:#f36 none repeat scroll 0%; +border:1px solid #FFFFFF; +color:white; +display:block; +font-weight:bold; +padding:4px 8px; +text-align:center; +text-decoration:none; +width:9em !important; +} + + + + + + + +#theAdminPage #menubar dt.pre-menubar { +background:transparent none no-repeat scroll left top; +height: 22px; overflow: hidden; margin: 0px; +} +.pwgmenu { /*theme.css (line 335)*/ +background:transparent url(images/header_bottom.png) repeat-x scroll left 25px; +float:right; +font-family:verdana,arial,helvetica,sans-serif; +font-size:8px; +line-height:1.1em; +list-style-image:none; +list-style-type:none; +margin:1px 8px 1px 0px; +padding:3px 3px 3px 101px; +text-decoration:none; top:-35px; +width:587px; +} +.pwgmenu li { /*default-layout.cs... (line 151)*/ +float:left; +margin:0px; +padding:0px; +text-align:center; +width:126px !important; +} +.pwgmenu a { /*theme.css (line 344)*/ +background:transparent url(images/onglet_inactif_transp.png) no-repeat scroll left 3px; +border:0px none; +color:#FF3333; +display:block; +font-size:8px; height:33px; +padding:3px 0px 5px 13px; text-align:left; +text-decoration:none; width:126px !important; +} +.pwgmenu a:hover { /*theme.css (line 344)*/ +background:transparent url(images/onglet_actif_transp.png) no-repeat scroll left 2px; +color: #ff7700; } +.content h2:before, .content h2:after, +#menubar DT:before, #menubar DT:after { content: ""; } +#theHeader h1 { /*theme.css (line 345) */ color:#441100; } +.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 { /* theme.css (line 72) */ border-bottom:0px; } +body#theAdminPage { /*theme.css (line 324) */ +background:#111111 url(images/top-left-bg.png) no-repeat scroll left top;} +#theAdminPage #the_page { /*theme.css (line 73)*/ +background:transparent url(images/bottom-left-bg.png) no-repeat fixed left bottom; } +#the_page { /*theme.css (line 348)*/ padding-bottom:0px;} +.content {background-color:transparent;} +body#theAdminPage #menubar { /* theme.css (line 324) */ +background:transparent none repeat-y scroll right top; border-bottom:0px; margin-top:110px; +float: none; position: absolute; left: 0px; top: 160px;} +#theAdminPage #the_page .content { /*theme.css (line 91)*/ +background-color:transparent; border-width:0px; padding:5px 35px 5px 5px; } +body#theAdminPage #menubar dl.selected dd { padding-bottom: 145px; } +.header_notes {/*default-colors.cs... (line 91)*/ +background-image:url(icon/note.png); background-position:left top; +background-repeat:no-repeat; border:1px solid #AAAAAA; font-weight:bold; +margin:14px; padding:5px 0px 0px; position:absolute; right:31px; +text-align:center; top:96px; width:502px; } +#theAdminPage #menubar dl {/*theme.css (line 372)*/ +background:transparent url(images/menubar-top.png) no-repeat scroll left top; width: 198px; +border:0; box-shadow: none; +} +#theAdminPage #menubar dl.selected {/*theme.css (line 372)*/ +background:transparent url(images/menubar-top.png) no-repeat scroll left top; +} +#theAdminPage #menubar dt { background: none; left:10px; position:relative; text-align:left; top:-10px;} +#theAdminPage #menubar dd { background: transparent url(images/menubar-detail.png) repeat-y top left; +margin: 0px 0px 0px 4px; padding: 0px;} +span.bg { background-color: #111111; padding-right: 3px; } +html, body { +height:100%; +} +ul.tabsheet li.normal_tab, ul.tabsheet li.selected_tab { +background: transparent none repeat-x top left; +border:0; } +ul.tabsheet { border:0; +background: transparent url(images/internal_onglet.png) repeat-x bottom left; } +ul.tabsheet a { border:0; font-size: 12px; +font-family: verdana,arial,helvetica,sans-serif; line-height: 14px; } +ul.tabsheet li.selected_tab > a { color: #ff3333; } +ul.tabsheet, ul.tabsheet li { border-bottom: #eee solid 1px; } +ul.tabsheet li.selected_tab { +font-weight:bold; padding-top:0px; position:relative; top:0px; }
\ No newline at end of file diff --git a/BSF/template/yoga/theme/admin/themeconf.inc.php b/BSF/template/yoga/theme/admin/themeconf.inc.php new file mode 100644 index 000000000..5a6450e82 --- /dev/null +++ b/BSF/template/yoga/theme/admin/themeconf.inc.php @@ -0,0 +1,72 @@ +<?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 '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' => 'template/yoga', + 'icon_dir' => 'template/yoga/icon', + 'admin_icon_dir' => 'template/yoga/icon/admin', + 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', + 'local_head' => ' +<!-- 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: "mouseover", + active: '. selected_admin_menu() . ' + }); + }); + </script>' +); +?> |