Changeset 4475
- Timestamp:
- 01/17/12 10:47:12 (4 months ago)
- Location:
- plugins/apostropheExtraSlotsPlugin/trunk
- Files:
-
- 1 added
- 2 modified
-
modules/aPhotoGridSlot/templates/_placeholder.php (added)
-
modules/aPhotoGridSlot/templates/_three.php (modified) (2 diffs)
-
web/css/aExtraSlots.less (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostropheExtraSlotsPlugin/trunk/modules/aPhotoGridSlot/templates/_three.php
r4468 r4475 7 7 $title = count($items) > 1 ? __('Click For Next Image', null, 'apostrophe') : false; 8 8 ?> 9 10 <?php if (!count($items)): ?> 11 <?php include_partial('aPhotoGridSlot/placeholder', array('columns' => 3, 'boxSize' => $options['gridWidth']/3 )) ?> 12 <?php endif ?> 9 13 10 14 … … 37 41 38 42 <div class="a-grid-image"> 39 <a href="<?php echo $full ?>" rel="lightbox"><img src="<?php echo $thumbnail ?>" /></a>43 <a href="<?php echo $full ?>" class="light-box"><img src="<?php echo $thumbnail ?>" /></a> 40 44 <?php /* ?> 41 45 $item->title -
plugins/apostropheExtraSlotsPlugin/trunk/web/css/aExtraSlots.less
r4468 r4475 221 221 .a-slot.aPhotoGrid 222 222 { 223 .a-photogrid-placeholder 224 { 225 display: block; 226 float: left; 227 width: 32.2%; 228 height: 32.2%; 229 margin: 0 1% 1% 0; 230 overflow: hidden; 231 background-color: #eee; 232 233 .pusher 234 { 235 span 236 { 237 display: block; 238 text-align: center; 239 width:95%; 240 float: left; 241 margin: 47% 0; 242 } 243 } 244 } 245 223 246 .a-grid-image 224 247 { 225 248 float: left; 226 width: 28%;249 width: 32.3%; 227 250 margin: 0 1% 1% 0; 228 251 &:last-child … … 232 255 img 233 256 { 257 width: 100%; 234 258 max-width: 100%; 235 259 height: auto;

