Changeset 16393 for extensions/flop_style
- Timestamp:
- Jul 6, 2012, 4:32:18 PM (12 years ago)
- Location:
- extensions/flop_style
- Files:
-
- 1 deleted
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/flop_style/mainpage_categories/captify_mini.css
r9850 r16393 35 35 .wrap1 { 36 36 display: inline-block; 37 margin: 0 7px 5px;38 37 margin: 8px 4px; 38 text-align: center; 39 39 vertical-align: top; 40 40 } … … 42 42 padding-left:auto; 43 43 padding-right:auto; 44 padding: 5px;44 margin-top: 5px; 45 45 list-style: none outside none; 46 46 text-align: center; … … 51 51 display:inline; 52 52 text-align:center; 53 margin-left:10px;54 53 } 55 54 -
extensions/flop_style/mainpage_categories/captify_mini.tpl
r9818 r16393 31 31 {/literal} 32 32 {/html_head} 33 {assign var=crop value=$derivative_params->sizing->max_crop} 34 {if $crop==1} 35 {assign var=crop value=true} 36 {assign var=width value=$derivative_params->max_width()} 37 {else} 38 {assign var=crop value=false} 39 {assign var=width value=99999} 40 {/if} 41 {define_derivative name='derivative_captify_mini' width=$width height=$derivative_params->max_height() crop=$crop} 33 42 34 43 <ul class="thumbnailCategories"> … … 36 45 <li class="{cycle values="cat_1,cat_2,cat_3,cat_4"}" > 37 46 <span class="wrap1"><a href="{$cat.URL}"> 38 <img src="{$ cat.TN_SRC}" class="captify" alt="{$cat.NAME|truncate:38:" [...]"}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" >47 <img src="{$pwg->derivative_url($derivative_captify_mini, $cat.representative.src_image)}" class="captify" alt="{$cat.NAME|truncate:38:" [...]"}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" > 39 48 </a></span> 40 49 </li> -
extensions/flop_style/mainpage_categories/jPolaroid.tpl
r12673 r16393 20 20 {/literal} 21 21 {/html_head} 22 {assign var=crop value=$derivative_params->sizing->max_crop} 23 {if $crop==1} 24 {assign var=crop value=true} 25 {assign var=width value=$derivative_params->max_width()} 26 {else} 27 {assign var=crop value=false} 28 {assign var=width value=99999} 29 {/if} 30 {define_derivative name='derivative_jPolaroid' width=$width height=$derivative_params->max_height() crop=$crop} 22 31 23 32 <ul class="jpolaroid"> … … 25 34 <li> 26 35 <a href="{$cat.URL}" title="{$cat.NAME|@replace:'"':' '}"> 27 <img src="{$ cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" >36 <img src="{$pwg->derivative_url($derivative_jPolaroid, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" > 28 37 </a> 29 38 </li> -
extensions/flop_style/mainpage_categories/medium_cat.css
r12673 r16393 22 22 } 23 23 #content div.thumbnailCategory div.illustration { 24 width:auto;25 height:auto;26 /*height:135px;*/27 24 text-align:center; 28 25 overflow: inherit; … … 34 31 #content div.thumbnailCategory div.description { 35 32 width:auto; 36 height:auto;37 33 text-align:center; 38 34 overflow:inherit; … … 42 38 padding-left:0; 43 39 padding-right:0; 44 height:auto;45 40 } 46 41 #content .thumbnailCategory div.illustration a { … … 66 61 border-width: 2px; 67 62 } 63 #content div.thumbnailCategory:hover { 64 border-color: #777777 #CCCCCC #CCCCCC #777777; 65 } 68 66 #content div.thumbnailCategory * { 69 67 vertical-align: middle; … … 73 71 text-align:center; 74 72 } 75 #content div.thumbnailCategory div.illustration img {76 height: 96px;77 } -
extensions/flop_style/mainpage_categories/medium_cat.tpl
r9720 r16393 1 1 {combine_css path="template-extension/flop_style/mainpage_categories/medium_cat.css"} 2 {html_style}{literal} 3 .thumbnailCategory .illustration { 4 width:{/literal}{$derivative_params->max_width()+5}{literal}px; 5 } 6 7 .thumbnailCategory .description { 8 height:5em; 9 } 10 {/literal}{/html_style} 2 11 3 12 <ul class="thumbnailCategories"> … … 7 16 <div class="illustration"> 8 17 <a href="{$cat.URL}"> 9 <img src="{$ cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}">18 <img src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}"> 10 19 </a> 11 20 </div> -
extensions/flop_style/mainpage_categories/mosaic.css
r9831 r16393 9 9 position:relative; 10 10 overflow:hidden; 11 width:400px;12 height:250px;13 11 margin:10px; 14 12 background:#111 url(progress.gif) no-repeat center center; … … 63 61 text-decoration:none; 64 62 } 65 .mosaic-backdrop img {66 width:400px;67 height:250px;68 } -
extensions/flop_style/mainpage_categories/mosaic.tpl
r9834 r16393 13 13 {/literal} 14 14 {/html_head} 15 {html_style}{literal} 16 .mosaic-block, .mosaic-backdrop img { 17 width:{/literal}{$derivative_params->max_width()}{literal}px; 18 height:{/literal}{$derivative_params->max_height()}{literal}px; 19 } 20 {/literal}{/html_style} 21 22 {define_derivative name='derivative_mosaic' width=$derivative_params->max_width() height=$derivative_params->max_height() crop=true} 15 23 <div id="mosaic-content"> {foreach from=$category_thumbnails item=cat} 16 24 <div class="mosaic-block bar"> <a href="{$cat.URL}" class="mosaic-overlay"> … … 27 35 </div> 28 36 </a> 29 <div class="mosaic-backdrop"> <img src="{$ cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}"> </div>37 <div class="mosaic-backdrop"> <img src="{$pwg->derivative_url($derivative_mosaic, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}"> </div> 30 38 </div> 31 39 {/foreach} -
extensions/flop_style/mainpage_categories/picpile_cat.tpl
r9818 r16393 1 1 {combine_css path="template-extension/flop_style/mainpage_categories/picpile_cat.css"} 2 2 {if $themeconf.name == "Sylvia"} 3 {html_ head}3 {html_style} 4 4 {literal} 5 <style>6 5 #theCategoryPage .content { 7 6 margin: 21px 10px 0 290px !important; 8 7 } 9 </style>10 8 {/literal} 11 {/html_ head}9 {/html_style} 12 10 {/if} 11 {define_derivative name='derivative_picpile_cat' width=160 height=120 crop=true} 12 {html_style} 13 {literal} 14 .picRotated { 15 width:{/literal}{$derivative_picpile_cat->max_width()+18}{literal}px; 16 height:{/literal}{$derivative_picpile_cat->max_height()+18}{literal}px; 17 } 18 .albumHolder { 19 width:{/literal}{$derivative_picpile_cat->max_width()+10}{literal}px; 20 height:{/literal}{$derivative_picpile_cat->max_height()+10}{literal}px; 21 } 22 .wrap1 { 23 width:{/literal}{$derivative_picpile_cat->max_width()+30}{literal}px; 24 height:{/literal}{$derivative_picpile_cat->max_height()+60}{literal}px; 25 } 26 27 {/literal} 28 {/html_style} 29 13 30 <ul class="thumbnailCategories"> 14 31 {foreach from=$category_thumbnails item=cat} 32 {assign var=der_picpile_cat value=$pwg->derivative($derivative_picpile_cat, $cat.representative.src_image)} 15 33 <li> 16 34 <span class="wrap1"><div class="albumHolder"> 17 35 <div class="picRotated"></div> 18 <div class="album"> <a class="ajax" href="{$cat.URL}"> <span title="Browse Album" class="highlight"></span> <img width="160" height="120" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" alt="{$cat.TN_ALT}" src="{$cat.TN_SRC}"> <span title="Contains {$cat.CAPTION_NB_IMAGES} images" class="albumCnt">{$cat.CAPTION_NB_IMAGES}</span> </a> </div>36 <div class="album"> <a class="ajax" href="{$cat.URL}"> <span title="Browse Album" class="highlight"></span> <img {$der_picpile_cat->get_size_htm()} title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" alt="{$cat.TN_ALT}" src="{$der_picpile_cat->get_url()}"> <span title="Contains {$cat.CAPTION_NB_IMAGES} images" class="albumCnt">{$cat.CAPTION_NB_IMAGES}</span> </a> </div> 19 37 <div title="{$cat.NAME}" class="albumTitle">{$cat.NAME}</div> 20 38 <div class="clear"></div> -
extensions/flop_style/mainpage_categories/polaroid.css
r9834 r16393 7 7 ul.polaroids { 8 8 list-style: none; 9 overflow: hidden;9 overflow: visible; 10 10 width: 100%; 11 11 padding-top: 20px; … … 16 16 } 17 17 ul.polaroids li { 18 display: inline ;18 display: inline-block; 19 19 } 20 20 ul.polaroids a { 21 -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0. 25);21 -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.85); 22 22 -moz-transform: rotate(-2deg); 23 23 -webkit-transition: -webkit-transform .15s linear; 24 -webkit-box-shadow: 0 3px 6px rgba(0,0,0,. 25);24 -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.85); 25 25 -webkit-transform: rotate(-2deg); 26 26 -o-transition: -webkit-transform .15s linear; 27 -o-box-shadow: 0 3px 6px rgba(0,0,0,. 25);27 -o-box-shadow: 0 3px 6px rgba(0,0,0,.85); 28 28 -o-transform:rotate(-2deg); 29 box-shadow: 0 3px 6px rgba(0, 0, 0, 0. 25);29 box-shadow: 0 3px 6px rgba(0, 0, 0, 0.85); 30 30 text-shadow: 0 1px 1px #CCC; 31 31 background: none repeat scroll 0 0 #FFFFFF; … … 36 36 font-size: 18px; 37 37 margin: 0 0 27px 30px; 38 padding: 10px 10px 15px;38 padding: 8px 8px 10px; 39 39 text-align: center; 40 40 text-decoration: none; … … 87 87 } 88 88 ul.polaroids li a:hover { 89 -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); 90 -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.5); 89 box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.85); 90 -moz-box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.85); 91 -webkit-box-shadow: 6px 6px 8px rgba(0,0,0, 0.85); 91 92 -moz-transform: scale(1.25); 92 93 -webkit-transform: scale(1.25); -
extensions/flop_style/mainpage_categories/polaroid.tpl
r9834 r16393 1 1 {combine_css path="template-extension/flop_style/mainpage_categories/polaroid.css"} 2 {html_style}{literal} 3 ul.polaroids a { 4 height:{/literal}{$derivative_params->max_height()+30}{literal}px; 5 } 6 ul.polaroids li 7 { 8 height:{/literal}{$derivative_params->max_height()+70}{literal}px; 9 } 10 {/literal}{/html_style} 2 11 12 {define_derivative name='derivative_polaroid' width=$derivative_params->max_width() height=$derivative_params->max_height() crop=true} 3 13 <ul class="polaroids"> 4 14 {foreach from=$category_thumbnails item=cat} 5 15 <li> 6 16 <a href="{$cat.URL}" title="{$cat.NAME|truncate:20:" [...]"|@replace:'"':' '}"> 7 <img src="{$ cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" >17 <img src="{$pwg->derivative_url($derivative_polaroid, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" > 8 18 </a> 9 19 </li> -
extensions/flop_style/mainpage_categories/popout_details.css
r12580 r16393 23 23 position: relative; 24 24 filter: alpha(opacity=30); 25 opacity: 0. 3;25 opacity: 0.75; 26 26 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; /*--IE8 Specific--*/ 27 27 } -
extensions/flop_style/mainpage_categories/popout_details.tpl
r12673 r16393 27 27 <li> 28 28 <a href="{$cat.URL}"> 29 <img src="{$ cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}">29 <img src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}"> 30 30 </a> 31 31 <div class="info"> -
extensions/flop_style/mainpage_categories/spotlight.tpl
r10484 r16393 53 53 {foreach from=$category_thumbnails item=cat} 54 54 <a href="{$cat.URL}" class="item" title="{$cat.NAME|@replace:'"':' '}{if not empty($cat.DESCRIPTION)} - {$cat.DESCRIPTION|@replace:'"':' '}{/if}"> 55 <img src="{$ cat.TN_SRC}" alt="{$cat.TN_ALT}" >55 <img src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" > 56 56 </a> 57 57 {/foreach} -
extensions/flop_style/thumbnails/fancy_hover.css
r9834 r16393 3 3 list-style: none; 4 4 margin: 0; 5 overflow: hidden;5 overflow: visible; 6 6 padding: 50px; 7 display: inline-block; 7 8 } 8 9 ul.thumbnails li { … … 25 26 top: 0; 26 27 } 27 ul.thumbnails li img.hover { 28 background:url(thumb_bg.png) no-repeat center center; /* Image used as background on hover effect*/ 29 border: none; /* Get rid of border on hover */ 28 .thumb_jpolaroid.hover { 29 box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.85); 30 -moz-box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.85); 31 -webkit-box-shadow: 6px 6px 8px rgba(0,0,0, 0.85); 30 32 } -
extensions/flop_style/thumbnails/fancy_hover.tpl
r9826 r16393 1 1 {combine_css path="template-extension/flop_style/thumbnails/fancy_hover.css"} 2 2 {combine_script id='jquery' path='themes/default/js/jquery.min.js'} 3 {define_derivative name='derivative_fh' width=$derivative_params->max_width() height=$derivative_params->max_height() crop=true} 3 4 {html_head} 4 5 {literal} … … 9 10 $(this).find('img').addClass("hover").stop() /* Add class of "hover", then stop animation queue buildup*/ 10 11 .animate({ 11 marginTop: '- 110px', /* The next 4 lines will vertically align this image */12 marginLeft: '- 110px',13 top: ' 50%',14 left: ' 50%',15 width: ' 174px', /* Set new width */16 height: ' 174px', /* Set new height */17 padding: ' 20px'12 marginTop: '-{/literal}{$derivative_fh->max_width()*1.25}{literal}px', /* The next 4 lines will vertically align this image */ 13 marginLeft: '-{/literal}{$derivative_fh->max_height()*1.25}{literal}px', 14 top: '{/literal}{$derivative_fh->max_width()}{literal}px', 15 left: '{/literal}{$derivative_fh->max_height()}{literal}px', 16 width: '{/literal}{$derivative_fh->max_width()+70}{literal}px', /* Set new width */ 17 height: '{/literal}{$derivative_fh->max_height()+70}{literal}px', /* Set new height */ 18 padding: '15px' 18 19 }, 200); /* this value of "200" is the speed of how fast/slow this hover animates */ 19 20 … … 26 27 top: '0', 27 28 left: '0', 28 width: ' 100px', /* Set width back to default */29 height: ' 100px', /* Set height back to default */29 width: '{/literal}{$derivative_fh->max_width()}{literal}px', /* Set width back to default */ 30 height: '{/literal}{$derivative_fh->max_height()}{literal}px', /* Set height back to default */ 30 31 padding: '5px' 31 32 }, 400); … … 36 37 {/html_head} 37 38 39 {html_style}{literal} 40 ul.thumbnails li img { 41 height:{/literal}{$derivative_fh->max_height()}{literal}px; 42 width:{/literal}{$derivative_fh->max_width()}{literal}px; 43 } 44 ul.thumbnails li 45 { 46 width:{/literal}{$derivative_fh->max_width()+10}{literal}px; 47 height:{/literal}{$derivative_fh->max_height()+10}{literal}px; 48 } 49 {/literal}{/html_style} 38 50 {if !empty($thumbnails)} 39 51 {strip}{foreach from=$thumbnails item=thumbnail} 40 52 <li> 41 53 <a href="{$thumbnail.URL}" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME|truncate:11:" [...]"|@replace:'"':' '}{/if}"> 42 <img src="{$ thumbnail.TN_SRC}" class="thumb_jpolaroid" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" >54 <img src="{$pwg->derivative_url($derivative_fh, $thumbnail.src_image)}" class="thumb_jpolaroid" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" > 43 55 </a> 44 56 </li> -
extensions/flop_style/thumbnails/jPolaroid.tpl
r12673 r16393 20 20 {/literal} 21 21 {/html_head} 22 {assign var=crop value=$derivative_params->sizing->max_crop} 23 {if $crop==1} 24 {assign var=crop value=true} 25 {assign var=width value=$derivative_params->max_width()} 26 {else} 27 {assign var=crop value=false} 28 {assign var=width value=99999} 29 {/if} 30 {define_derivative name='derivative_jPolaroid' width=$width height=$derivative_params->max_height() crop=$crop} 22 31 23 32 {if !empty($thumbnails)} … … 25 34 <li> 26 35 <a href="{$thumbnail.URL}" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME|truncate:11:" [...]"|@replace:'"':' '}{/if}"> 27 <img src="{$ thumbnail.TN_SRC}" class="thumb_jpolaroid" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" >36 <img src="{$pwg->derivative_url($derivative_jPolaroid, $thumbnail.src_image)}" class="thumb_jpolaroid" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" > 28 37 </a> 29 38 </li> -
extensions/flop_style/thumbnails/polaroid.css
r9834 r16393 46 46 display: block; 47 47 margin-bottom: 12px; 48 width: 118px;49 48 } 50 49 ul.thumbnails a:after { … … 88 87 } 89 88 ul.thumbnails li a:hover { 89 box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.85); 90 90 -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); 91 91 -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.5); -
extensions/flop_style/thumbnails/polaroid.tpl
r9821 r16393 1 1 {combine_css path="template-extension/flop_style/thumbnails/polaroid.css"} 2 {html_style}{literal} 3 ul.thumbnails a { 4 height:{/literal}{$derivative_params->max_height()+30}{literal}px; 5 } 6 ul.thumbnails li 7 { 8 height:{/literal}{$derivative_params->max_height()+70}{literal}px; 9 } 10 {/literal}{/html_style} 11 12 {define_derivative name='derivative_polaroid' width=$derivative_params->max_width() height=$derivative_params->max_height() crop=true} 2 13 3 14 {if !empty($thumbnails)} … … 5 16 <li> 6 17 <a href="{$thumbnail.URL}" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME|truncate:11:" [...]"|@replace:'"':' '}{/if}"> 7 <img src="{$ thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" >18 <img src="{$pwg->derivative_url($derivative_polaroid, $thumbnail.src_image)}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" > 8 19 </a> 9 20 </li>
Note: See TracChangeset
for help on using the changeset viewer.