Ignore:
Timestamp:
11/03/10 11:02:43 (9 years ago)
Author:
plg
Message:

update theme KoffeeTux for Piwigo 2.1 compatibility

Location:
extensions/yoga/KoffeeTux
Files:
20 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/yoga/KoffeeTux/menu.css

    r4695 r7591  
    11 
    22#menu { 
    3         background: url(img/menu.jpg) no-repeat center bottom; 
     3        background: url(images/menu.jpg) no-repeat center bottom; 
    44        height: 34px; 
    55        line-height:34px; 
  • extensions/yoga/KoffeeTux/theme.css

    r4695 r7591  
    44 
    55body { 
    6 background:#BF9D61 url(img/bg.png) repeat-x top; 
     6background:#BF9D61 url(images/bg.png) repeat-x top; 
    77        font-size:0.7em; 
    88        font-family: Verdana,arial,Helvetica,sans-serif; 
     
    3939-moz-border-radius-bottomleft:12px; 
    4040-moz-border-radius-bottomright:12px; 
    41 background:#aE9161 url(img/form.png) repeat-x scroll center top; 
     41background:#aE9161 url(images/form.png) repeat-x scroll center top; 
    4242border:1px solid #552200; 
    4343color:#552200; 
     
    7979.right { float: right; } 
    8080 
    81 img{ border:4px double #552200; } 
     81img{} 
    8282 
    8383img.title{ border:none; } 
     
    102102-------------------------------------------------------- */ 
    103103#theHeader { 
    104         background: transparent url(img/header.png) no-repeat center bottom; 
     104        background: transparent url(images/header.png) no-repeat center bottom; 
    105105height:211px; 
    106106        margin: 0 auto; 
     
    235235        -khtml-border-radius:12px; 
    236236        -webkit-border-radius:12px;  
    237 background: transparent url(img/content_index.png) no-repeat center top; 
     237background: transparent url(images/content_index.png) no-repeat center top; 
    238238} 
    239239#comments ul.thumbnailCategories li { margin: 5px auto; } 
     
    250250.content ul.thumbnails span.wrap2{ width: 172px; height:184px; } 
    251251.content div.thumbnailCategory div.description { height: 100px; }               /* max thumbnail height + 2px */ 
    252 .content div.thumbnailCategory div.illustration img { height: 96px; } 
     252.content div.thumbnailCategory div.illustration img { height:96px; width:128px; border:4px double #552200;} 
     253.content div.thumbnailCategory div.illustration img:hover { border:4px double #000000; background-color: #FFFFFF; } 
    253254.content div.thumbnailCategory div.illustration a:hover { border:0; } 
    254255 
     
    259260 
    260261/*.content ul.thumbnails span.wrap1 { margin: 0 10px; }*/ 
    261 .content ul.thumbnails span.wrap2 img { padding: 5px; border: 1px solid #552200; background-color: #FFFFFF;} 
    262 .content ul.thumbnails span.wrap2 img:hover { border-color: #848484; background-color: #FFFFFF;} 
     262.content ul.thumbnails span.wrap2 img { padding: 2px; border: 1px solid #552200; } 
     263.content ul.thumbnails span.wrap2 img:hover { border-color: #848484; background-color: #FFFFFF; } 
    263264 
    264265.content ul.thumbnails li.thumbCat span.wrap2 { border-style: hidden; background-color: #552200; } 
     
    269270        -khtml-border-radius:12px; 
    270271        -webkit-border-radius:12px;  
    271 background: transparent url(img/backthumb.png) no-repeat center top; 
     272background: transparent url(images/backthumb.png) no-repeat center top; 
    272273border:1px solid #552200;  
    273274display:inline-block; 
     
    361362 
    362363/* positioning */ 
    363 #menubar li { position: relative; background:transparent url(img/cat.png) no-repeat; margin-left:5px;} 
     364#menubar li { position: relative; background:transparent url(images/cat.png) no-repeat; margin-left:5px;} 
    364365#menubar dd { position: absolute; z-index: 500;} 
    365366#menubar dd ul ul { 
     
    402403  
    403404 #menubar dd{ 
    404 background:#CBAF77 url(img/bgmenu.png) repeat-y scroll 0 0; 
     405background:#CBAF77 url(images/bgmenu.png) repeat-y scroll 0 0; 
    405406border:1px solid #552200; 
    406407color:#552200; 
     
    527528-------------------------------------------------------- */ 
    528529#copyright { 
    529 background:transparent url(img/footer.png) repeat-x scroll 0 0; 
     530background:transparent url(images/footer.png) repeat-x scroll 0 0; 
    530531clear:both; 
    531532font-weight:bold; 
     
    562563-moz-border-radius-topleft:12px; 
    563564-moz-border-radius-topright:12px; 
    564 background:#B1E2AD url(img/infos.png) no-repeat scroll right top; 
     565background:#B1E2AD url(images/infos.png) no-repeat scroll right top; 
    565566border:1px solid #552200; 
    566567color:#09460E; 
     
    579580        margin: 5px; 
    580581        border: 1px solid #552200; 
    581         background:#FF9193 url(img/errors.png)no-repeat top right; 
     582        background:#FF9193 url(images/errors.png)no-repeat top right; 
    582583        padding: 10px 50px 10px 10px; 
    583584        min-height:30px; 
     
    589590-moz-border-radius-topleft:12px; 
    590591-moz-border-radius-topright:12px; 
    591 background:#AE9161 url(img/form.png) repeat-x scroll center top; 
     592background:#AE9161 url(images/form.png) repeat-x scroll center top; 
    592593border:1px solid #552200; 
    593594font-size:0.85em; 
     
    609610-moz-border-radius-topleft:12px; 
    610611-moz-border-radius-topright:12px; 
    611 background:transparent url(img/content.png) no-repeat scroll center top; 
     612background:transparent url(images/content.png) no-repeat scroll center top; 
    612613border:1px solid #552200; 
    613614} 
     
    655656-moz-border-radius-topleft:5px; 
    656657-moz-border-radius-topright:5px; 
    657 background:#DCBC7F url(img/form.png) repeat-x scroll 0 0; 
     658background:#DCBC7F url(images/form.png) repeat-x scroll 0 0; 
    658659border-color:#913B01 #552200 #552200; 
    659660border-style:solid; 
     
    671672-moz-border-radius-topleft:5px; 
    672673-moz-border-radius-topright:5px; 
    673 background:transparent url(img/form.png) repeat-x scroll 0 0; 
     674background:transparent url(images/form.png) repeat-x scroll 0 0; 
    674675border:1px solid #552200; 
    675676color:#E10000; 
  • extensions/yoga/KoffeeTux/themeconf.inc.php

    r4990 r7591  
    11<?php 
    22$themeconf = array( 
    3   'template' => 'yoga', 
    4   'template_dir' => 'template/yoga', 
    5   'theme' => 'KoffeeTux', 
    6   'icon_dir' => PHPWG_ROOT_PATH.'template/yoga/theme/KoffeeTux/icon', 
    7   'admin_icon_dir' => 'template/yoga/icon/admin', 
    8   'mime_icon_dir' => PHPWG_ROOT_PATH.'template/yoga/icon/mimetypes/', 
     3  'name'  => 'KoffeeTux', 
     4  'parent' => 'default', 
     5  'template_dir' => 'themes', 
     6  'icon_dir'      => 'themes/KoffeeTux/icon', 
    97  'local_head' => '<!--[if lt IE 7]> 
    10   <link rel="stylesheet" type="text/css" href="'.PHPWG_ROOT_PATH.'template/yoga/theme/KoffeeTux/fix-ie5-ie6.css"> 
     8  <link rel="stylesheet" type="text/css" href="'.PHPWG_ROOT_PATH.'themes/KoffeeTux/fix-ie5-ie6.css"> 
    119<![endif]-->' 
    1210); 
    1311$lang['Theme: KoffeeTux'] = 'Thème KoffeeTux By Swan.'; 
    14  
    1512    if (!function_exists('set_koffeetux_prefilter')) 
    1613    { 
     
    2724      { 
    2825        $pattern = '#<dt>.*?</dt>#s'; 
    29         $replacement = '<dt><img class="title" border="0" src="'.PHPWG_ROOT_PATH.'template/yoga/theme/KoffeeTux/img/{$id}.png" width="52" height="72"></dt>'; 
     26        $replacement = '<dt><img class="title" border="0" src="'.PHPWG_ROOT_PATH.'themes/KoffeeTux/images/{$id}.png" width="52" height="72"></dt>'; 
    3027 
    3128        return preg_replace($pattern, $replacement, $source); 
    3229      } 
    3330    } 
    34         ?> 
     31?> 
Note: See TracChangeset for help on using the changeset viewer.