Changeset 25981
- Timestamp:
- Dec 17, 2013, 4:51:31 PM (10 years ago)
- Location:
- extensions/Wood
- Files:
-
- 5 added
- 3 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Wood/local_head.tpl
r18813 r25981 1 <!--[if lt IE 8]> 2 <link rel="stylesheet" type="text/css" href="{$ROOT_URL}themes/elegant/fix-ie7.css"> 3 <![endif]--> 4 5 {combine_script id='jquery.masonry.min' require='jquery' path='themes/Float/js/masonry.min.js' load='footer'} 1 {combine_script id='jquery.masonry.min' require='jquery' path='themes/Float/js/masonry.js' load='footer'} -
extensions/Wood/template/mainpage_categories.tpl
r18813 r25981 1 {define_derivative name='derivative_params' type='xsmall'} 1 2 {html_style} 2 3 3 {if $derivative_params->max_width() > 600} 4 4 .thumbLegend {ldelim}font-size: 130%} … … 14 14 <div class="thumbContent"> 15 15 16 <div id="container" 16 <div id="container"> 17 17 18 18 {foreach from=$category_thumbnails item=cat name=cat_loop} 19 <div class="box photo colMainpage"> 20 <li class="{if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> 19 <div class="box {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> 21 20 <div class="thumbnailCategory"> 22 21 <div class="illustration"> … … 44 43 </div> 45 44 </div> 46 </li>47 45 </div> 48 46 {/foreach} … … 51 49 </div> 52 50 {footer_script require='jquery'}{literal} 53 window.onload = function() { 54 var wall1 = new Masonry( document.getElementById('container'), { 55 gutterWidth: 10, 56 isFitWidth: true, 57 }); 58 var wall2 = new Masonry( document.getElementById('containerThumb'), { 59 gutterWidth: 10, 60 isFitWidth: true, 61 }); 51 $(function(){ 62 52 63 }; 53 var $container = $('#container'); 54 55 $container.imagesLoaded( function(){ 56 $container.masonry({ 57 itemSelector : '.box', 58 isFitWidth: true 59 }); 60 }); 61 62 }); 64 63 {/literal}{/footer_script} 65 64 </div> -
extensions/Wood/template/thumbnails.tpl
r21060 r25981 1 {define_derivative name='derivative_params' type='xsmall'} 1 2 {if !empty($thumbnails)}{strip} 2 3 … … 41 42 42 43 <div class="thumbContent"> 43 <div id="containerThumb" class="clearfix">44 <div id="containerThumb"> 44 45 45 46 {foreach from=$thumbnails item=thumbnail} … … 90 91 </div> 91 92 {footer_script require='jquery'}{literal} 92 window.onload = function() { 93 var wall1 = new Masonry( document.getElementById('container'), { 94 gutterWidth: 10, 95 isFitWidth: true 96 }); 97 var wall2 = new Masonry( document.getElementById('containerThumb'), { 98 gutterWidth: 10, 99 isFitWidth: true 100 }); 93 $(function(){ 101 94 102 }; 95 var $container = $('#containerThumb'); 96 97 $container.imagesLoaded( function(){ 98 $container.masonry({ 99 itemSelector : '.box', 100 isFitWidth: true 101 }); 102 }); 103 104 }); 103 105 {/literal}{/footer_script} 104 106 </div> -
extensions/Wood/theme.css
r21060 r25981 1 1 BODY{background:url("images/background/wood_pattern.jpg") fixed repeat;color:#FF8a00} 2 A,INPUT.rateButton {color:# 6F6F6F}2 A,INPUT.rateButton {color:#373737} 3 3 H2{background-image:none;padding:8px 0 0 10px} 4 4 INPUT[type=submit],INPUT[type=reset]{cursor:pointer;background:-moz-linear-gradient(center top , #555555, #2C2C2C) repeat scroll 0% 0% transparent;color:#ff8a00;border-radius:8px 8px 8px 8px;text-shadow:none;box-shadow:none;border:none} … … 13 13 #Header{margin-bottom:50px;background:none} 14 14 #header_bgDef{background:none;width:20%;float:left} 15 #theHeader{text-align:left;padding-top:40px;font-size: 2.1em;position:fixed;width:20%;right:auto;padding-left:5px}16 #theHeader h1{text-align:left;color:rgba(0, 0, 0, 0.3);font-size:2. 6em;margin-top:0px;margin-bottom:0}15 #theHeader{text-align:left;padding-top:40px;font-size:1.8em;position:fixed;width:18%;right:auto;padding-left:5px} 16 #theHeader h1{text-align:left;color:rgba(0, 0, 0, 0.3);font-size:2.3em;margin-top:0px;margin-bottom:0} 17 17 #headertransi{background:none;height:0} 18 18 #headertransiH{background-image:none} … … 53 53 #menubar{background:#000;height:35px} 54 54 .dd_wrapper,.cl_wrapper,.cc_wrapper,#menubar dt,#menubar dt a{line-height:35px} 55 .dd_wrapper:hover,.cl_wrapper:hover,.cc_wrapper:hover,.activate,#menubar dt a:hover,#menubar dt:hover{z-index:100;height:29px;background:#4f4f4f;color:#ff8a00;padding:0 16px 6px;text-shadow:none}56 #menubar dt a ,#menubar dt a:hover{padding:0 0}55 .dd_wrapper:hover,.cl_wrapper:hover,.cc_wrapper:hover,.activate,#menubar dt:hover,#menubar dt a:hover{z-index:100;height:29px;background:#4f4f4f;color:#c2c2c2;padding:0 16px 6px;text-shadow:none} 56 #menubar dt a:hover{z-index:100;height:29px;background:#4f4f4f;color:#c2c2c2;padding:0 0;text-shadow:none} 57 57 span#menu_start{background:none} 58 58 span#menu_start a{background:url(images/menu/home_w.png) no-repeat left top} 59 ul#topnav #loger ul li a:hover,ul#topnav .sub ul li a:hover,ul#topnav .sub #menuTagCloud div a:hover,ul#topnav .liSub dt a:hover{color:# ff8a00}59 ul#topnav #loger ul li a:hover,ul#topnav .sub ul li a:hover,ul#topnav .sub #menuTagCloud div a:hover,ul#topnav .liSub dt a:hover{color:#c2c2c2} 60 60 #topnav .liSub{background:none} 61 #topnav .sub, #topnav #loger{top:35px;border-radius:0;box-shadow:5px 5px 20px #000;background:rgba(0, 0, 0, 0.8)} 62 ul#topnav .sub ul li,ul#topnav #loger ul li,ul#topnav .sub #menuTagCloud div{border:none} 63 ul#topnav .sub ul li a,ul#topnav #loger ul li a{background:none} 64 ul#topnav .sub ul li.selected a{background:url(images/menu/navlist_arrow_select.png) no-repeat 0 5px} 65 ul#topnav .sub ul li a:hover,ul#topnav .sub #menuTagCloud div a:hover{color:#ff8a00;background:url(images/menu/navlist_arrow_hover.png) no-repeat 0 5px} 66 .sub p{color:#ff8a00} 61 ul#topnav li .sub, ul#topnav li #loger{top:35px;border-radius:0;box-shadow:5px 5px 20px #000;background:rgba(0, 0, 0, 0.95)} 62 ul#topnav .sub ul li,ul#topnav #loger ul li,ul#topnav .sub #menuTagCloud div{border:1px solid #2c2c2c} 63 ul#topnav .sub ul li a,ul#topnav #loger ul li a{background:none;font-size:1.5em} 64 ul#topnav .sub ul li a:hover,ul#topnav .sub #menuTagCloud div a:hover{color:#c2c2c2} 65 .sub p{color:#c2c2c2} 67 66 #quicksearch input[type=text]{background:#3F3F3F} 68 67 #quicksearch input[type=submit]{background:url(images/menu/search.png) no-repeat} 69 #log{color:# ff8a00}68 #log{color:#c2c2c2} 70 69 #log INPUT[type=password],#log INPUT[type="text"]{background:#fff} 71 70 #log INPUT[type=text]:hover{background-position:left bottom} 72 #go INPUT[type=submit]{color:transparent;border:none;height:32px;width:64px;min-width:inherit; background:url(images/menu/go.png) no-repeat left top;margin-left:65px;margin-top:20px;text-shadow:none}73 #go INPUT[type="submit"]{background:-moz-linear-gradient(center top , #555555, #2C2C2C);color:# ff8a00;width:auto}74 #go INPUT[type="submit"]:hover{color:# ff8a00;background:-moz-linear-gradient(center top , #5f5f5f, #2C2C2C)}75 #go INPUT[type=submit]:active{color:# ff8a00;background:-moz-linear-gradient(center top , #555555, #2C2C2C);box-shadow:1px 1px 1px #000 inset,0px 1px 0px rgba(255,255,255,0.4)}71 #go INPUT[type=submit]{color:transparent;border:none;height:32px;width:64px;min-width:inherit;margin-left:65px;margin-top:20px;text-shadow:none} 72 #go INPUT[type="submit"]{background:-moz-linear-gradient(center top , #555555, #2C2C2C);color:#c2c2c2;width:auto} 73 #go INPUT[type="submit"]:hover{color:#c2c2c2;background:-moz-linear-gradient(center top , #5f5f5f, #2C2C2C)} 74 #go INPUT[type=submit]:active{color:#c2c2c2;background:-moz-linear-gradient(center top , #555555, #2C2C2C);box-shadow:1px 1px 1px #000 inset,0px 1px 0px rgba(255,255,255,0.4)} 76 75 77 76 /*======================================================Panel======================================================*/ … … 83 82 .box li{list-style: none outside none} 84 83 .box img{display: block;margin-left:auto;margin-right:auto} 84 .colMainpage{width:340px} 85 .colMainpage img{width:340px} 85 86 .col img{width:100%} 86 87 .clearfix:before,.clearfix:after{content:"";display:table} -
extensions/Wood/themeconf.inc.php
r19500 r25981 2 2 /* 3 3 Theme Name: Wood 4 Version: auto4 Version: 1.0.0 5 5 Description: Piwigo theme. 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=6417 Author: Miklfe [piwitheme.fr]8 Author URI: http://piwi theme.fr6 Theme URI: 7 Author: Miklfe 8 Author URI: http://piwigo.org 9 9 */ 10 10 $themeconf = array( … … 16 16 17 17 add_event_handler('loc_begin_index', 'modify_nb_thumbnail_page'); 18 if(!function_exists('modify_nb_thumbnail_page'))18 function modify_nb_thumbnail_page() 19 19 { 20 function modify_nb_thumbnail_page() 21 { 22 global $user, $page; 23 $user['nb_image_page']=999; 24 $page['nb_image_page']=999; 25 } 20 global $user, $page; 21 $user['nb_image_page']=999; 22 $page['nb_image_page']=999; 23 26 24 } 27 25
Note: See TracChangeset
for help on using the changeset viewer.