Changeset 7590


Ignore:
Timestamp:
Nov 3, 2010, 11:02:34 AM (10 years ago)
Author:
plg
Message:

update theme Csn for Piwigo 2.1 compatibility

Location:
extensions/yoga/Csn
Files:
15 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/yoga/Csn/mail-css.tpl

    r4694 r7590  
    11/* Theme mail css */
    2 /* for Csn */
     2/* for MontBlanc/MontBlancXL */
    33
    44{literal}
     
    1010#the_page {
    1111  background: white
    12   url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/img/background.jpg)
     12  url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/images/background.jpg)
    1313  repeat-y left top;
    1414  position: absolute; left: 0px; top: 16px; width: 800px; }
    1515.content { background: transparent
    16   url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/img/header.jpg)
     16  url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/images/header.jpg)
    1717  no-repeat left top;
    1818  padding-top: 200px; width: 800px; }
    1919#copyright {
    2020  background: transparent
    21   url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/img/footer.jpg)
     21  url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/images/footer.jpg)
    2222  no-repeat left bottom; width: 800px; }
    2323h2 {color:#06c;margin-top:1em;margin-left:-0.5em;}
    2424h2:before {content: "»»»";}
    25 img { margin:16px;padding:15px;border:1px solid #69c;background-color:#eef;-moz-border-radius:4px; border-radius:4px 4px; }
    26 img:hover {border: 1px solid #c60; -moz-border-radius:4px; border-radius:4px 4px; }
     25images { margin:16px;padding:15px;border:1px solid #69c;background-color:#eef;-moz-border-radius:4px; border-radius:4px 4px; }
     26images:hover {border: 1px solid #c60; -moz-border-radius:4px; border-radius:4px 4px; }
    2727a { color: #06c; background: transparent; }
    2828{/literal}
  • extensions/yoga/Csn/theme.css

    r4694 r7590  
    44
    55body {
    6 background:#E7E7E7 url(img/bg.png) repeat-x scroll center top;
     6background:#E7E7E7 url(images/bg.png) repeat-x scroll center top;
    77font-family:Verdana,arial,Helvetica,sans-serif;
    88font-size:0.7em;
     
    1616-moz-border-radius-topleft:8px;
    1717-moz-border-radius-topright:8px;
    18 background:transparent url(img/bg_title.png) repeat-x scroll 0 0;
     18background:transparent url(images/bg_title.png) repeat-x scroll 0 0;
    1919border:1px solid #777777;*/
    2020color:#5C5C5C;
     
    4444-moz-border-radius-topleft:8px;
    4545-moz-border-radius-topright:8px;
    46 background:transparent url(img/bg_title.png) repeat-x scroll center top;
     46background:transparent url(images/bg_title.png) repeat-x scroll center top;
    4747border:1px solid #777777;
    4848color:#5C5C5C;
     
    8484.right { float: right; }
    8585
    86 img{ border:1px dotted #777777; }
    87 img:hover{ border:1px dotted #000000; background:transparent url(img/pic_over.png) repeat-x scroll center top;}
     86img{ }
     87img:hover{ background:transparent url(images/pic_over.png) repeat-x scroll center top;}
    8888img.title{ border:none; }
    8989
     
    110110        margin: -2px auto;
    111111        position: relative;
    112         background: transparent url(img/global.png) repeat-y top center;
     112        background: transparent url(images/global.png) repeat-y top center;
    113113}
    114114
     
    119119=====================================*/
    120120#theHeader {
    121         background: transparent url(img/header.png) no-repeat center bottom;
     121        background: transparent url(images/header.png) no-repeat center bottom;
    122122height:211px;
    123123        margin: 0 auto;
     
    178178}
    179179.content div.thumbnailCategory {
    180         padding: 20px;
     180        padding: 15px;
    181181/*      text-align: center;    */
    182182}
    183183
    184184.content div.thumbnailCategory {
    185 background: transparent url(img/content_index.png) no-repeat center top;
     185background: transparent url(images/content_index.png) no-repeat center top;
    186186}
    187187
     
    265265-moz-border-radius-topleft:3px;
    266266-moz-border-radius-topright:3px;
    267 /*background:transparent url(img/content.png) no-repeat scroll center top;*/
     267/*background:transparent url(images/content.png) no-repeat scroll center top;*/
    268268border:1px solid #777777;
    269269}
     
    274274-moz-border-radius-topleft:3px;
    275275-moz-border-radius-topright:3px;
    276 background:transparent url(img/content.png) repeat-x scroll center top;
     276background:transparent url(images/content.png) repeat-x scroll center top;
    277277border:1px solid #777777;
    278278}
     
    290290}
    291291.content ul.thumbnails span.wrap2{ width: 172px; height:150px; }
    292 .content div.thumbnailCategory div.description { height: 100px; }               /* max thumbnail height + 2px */
     292.content div.thumbnailCategory div.description { height: 120px; }               /* max thumbnail height + 2px */
     293.content div.thumbnailCategory div.description div.text { margin-top:15px; }
    293294.content div.thumbnailCategory div.illustration img { height:96px; width:128px; }
    294295.content div.thumbnailCategory div.illustration a:hover { border:0; }
     
    313314-moz-border-radius-topleft:12px;
    314315-moz-border-radius-topright:12px;
    315 background:transparent url(img/backthumb.png) no-repeat scroll center top;
     316background:transparent url(images/backthumb.png) no-repeat scroll center top;
    316317display:inline-block;
    317318height:217px;
     
    420421            Positionnement
    421422=====================================*/
    422 #menubar li { position: relative; background:transparent url(img/cat.png) no-repeat; margin-left:5px;}
     423#menubar li { position: relative; background:transparent url(images/cat.png) no-repeat; margin-left:5px;}
    423424#menubar dd { position: absolute; z-index: 500;}
    424425#menubar dd ul ul {
     
    465466 
    466467 #menubar dd{
    467 background:#dedede url(img/bgmenu.png) repeat-y scroll 0 0;
     468background:#dedede url(images/bgmenu.png) repeat-y scroll 0 0;
    468469border:1px solid #777777;
    469470color:#777777;
     
    600601=====================================*/
    601602#copyright {
    602 background:transparent url(img/footer.png) repeat-x scroll 0 0;
     603background:transparent url(images/footer.png) repeat-x scroll 0 0;
    603604clear:both;
    604605font-weight:bold;
     
    637638
    638639.content div.thumbnailCategory div.description h3 {
    639 background:transparent none repeat scroll 0 0;
     640background:none repeat scroll 0 0 transparent;
    640641border:medium none;
    641642font-size:120%;
    642 margin:0;
     643margin:-2px 0 0 15px;
    643644padding:0.1em;
    644645text-align:left;
     
    667668-moz-border-radius-topleft:12px;
    668669-moz-border-radius-topright:12px;
    669 background:#B1E2AD url(img/infos.png) no-repeat scroll right top;
     670background:#B1E2AD url(images/infos.png) no-repeat scroll right top;
    670671border:1px solid #777777;
    671672color:#09460E;
     
    684685        margin: 5px;
    685686border:1px solid #777777;
    686         background:#FF9193 url(img/errors.png)no-repeat top right;
     687        background:#FF9193 url(images/errors.png)no-repeat top right;
    687688        padding: 10px 50px 10px 10px;
    688689        min-height:30px;
     
    702703-moz-border-radius-topleft:8px;
    703704-moz-border-radius-topright:8px;
    704 background:transparent url(img/content.png) repeat-x center top;
     705background:transparent url(images/content.png) repeat-x center top;
    705706border:1px solid #777777;
    706707font-size:0.85em;
     
    717718-moz-border-radius-topleft:0;
    718719-moz-border-radius-topright:0;
    719 background:transparent url(img/titre_page.png) no-repeat scroll center top;
     720background:transparent url(images/titre_page.png) no-repeat scroll center top;
    720721margin-left:8px;
    721722width:965px;
     
    732733-moz-border-radius-topleft:12px;
    733734-moz-border-radius-topright:12px;
    734 background:#AE9161 url(img/form.png) repeat-x scroll center top;
     735background:#AE9161 url(images/form.png) repeat-x scroll center top;
    735736border:1px solid #777777;
    736737font-size:0.85em;
     
    752753-moz-border-radius-topleft:12px;
    753754-moz-border-radius-topright:12px;
    754 background:transparent url(img/content.png) repeat-x scroll center top;
     755background:transparent url(images/content.png) repeat-x scroll center top;
    755756border:1px solid #777777;
    756757}
     
    791792-moz-border-radius-topleft:5px;
    792793-moz-border-radius-topright:5px;
    793 background:#A9CEE9 url(img/form.png) repeat-x scroll 0 0;
     794background:#A9CEE9 url(images/form.png) repeat-x scroll 0 0;
    794795border:1px solid #777777;
    795796color:#5C5C5C;
     
    805806-moz-border-radius-topleft:5px;
    806807-moz-border-radius-topright:5px;
    807 background:#A9CEE9 url(img/form.png) repeat-x scroll 0 0;
     808background:#A9CEE9 url(images/form.png) repeat-x scroll 0 0;
    808809border:1px solid #777777;
    809810color:#E10000;
     
    820821-moz-border-radius-topleft:12px;
    821822-moz-border-radius-topright:12px;
    822 background:#FFFFFF url(img/form.png) repeat-x scroll 0 0;
     823background:#FFFFFF url(images/form.png) repeat-x scroll 0 0;
    823824border:1px solid #777777;
    824825color:#5C5C5C;
  • extensions/yoga/Csn/themeconf.inc.php

    r4694 r7590  
    11<?php
    22$themeconf = array(
    3   'template' => 'yoga',
    4   'template_dir' => 'template/yoga',
    5   'theme' => 'Csn',
    6   'icon_dir' => PHPWG_ROOT_PATH.'template/yoga/theme/Csn/icon',
    7   'admin_icon_dir' => 'template/yoga/icon/admin',
    8   'mime_icon_dir' => PHPWG_ROOT_PATH.'template/yoga/icon/mimetypes/',
     3  'name'  => 'Csn',
     4  'parent' => 'default',
     5  'template_dir' => 'themes',
     6  'icon_dir'      => 'themes/Csn/icon',
    97  'local_head' => '<!--[if lt IE 7]>
    10   <link rel="stylesheet" type="text/css" href="'.PHPWG_ROOT_PATH.'template/yoga/theme/Csn/fix-ie5-ie6.css">
     8  <link rel="stylesheet" type="text/css" href="'.PHPWG_ROOT_PATH.'themes/Csn/fix-ie5-ie6.css">
    119<![endif]-->'
    1210);
Note: See TracChangeset for help on using the changeset viewer.