| 1 |
<?php |
| 2 |
|
| 3 |
$group_animation = array( |
| 4 |
'id' => 'animation', |
| 5 |
'name' => __( 'Animation', 'wp-ultimate-post-grid' ), |
| 6 |
'icon' => 'sliders', |
| 7 |
'subGroups' => array( |
| 8 |
array( |
| 9 |
'name' => __( 'Grid Animation', 'wp-ultimate-post-grid' ), |
| 10 |
'settings' => array( |
| 11 |
array( |
| 12 |
'id' => 'grid_container_animation_speed', |
| 13 |
'name' => __( 'Container Animation Speed', 'wp-ultimate-post-grid' ), |
| 14 |
'description' => __( 'Duration of the container height adjustment.', 'wp-ultimate-post-grid' ), |
| 15 |
'type' => 'number', |
| 16 |
'suffix' => __( 'milliseconds', 'wp-ultimate-post-grid' ), |
| 17 |
'default' => 800, |
| 18 |
), |
| 19 |
array( |
| 20 |
'id' => 'grid_animation_speed', |
| 21 |
'name' => __( 'Item Animation Speed', 'wp-ultimate-post-grid' ), |
| 22 |
'description' => __( 'Duration of the item animation.', 'wp-ultimate-post-grid' ), |
| 23 |
'type' => 'number', |
| 24 |
'suffix' => __( 'milliseconds', 'wp-ultimate-post-grid' ), |
| 25 |
'default' => 800, |
| 26 |
), |
| 27 |
array( |
| 28 |
'id' => 'grid_animation_show', |
| 29 |
'name' => __( 'Animation on Show', 'wp-ultimate-post-grid' ), |
| 30 |
'description' => __('Example', 'wp-ultimate-post-grid') . ': opacity: 1, transform: scale(1)', |
| 31 |
'type' => 'text', |
| 32 |
'default' => 'opacity: 1', |
| 33 |
), |
| 34 |
array( |
| 35 |
'id' => 'grid_animation_hide', |
| 36 |
'name' => __( 'Animation on Hide', 'wp-ultimate-post-grid' ), |
| 37 |
'description' => __('Example', 'wp-ultimate-post-grid') . ': opacity: 1, transform: scale(1)', |
| 38 |
'type' => 'text', |
| 39 |
'default' => 'opacity: 0', |
| 40 |
), |
| 41 |
array( |
| 42 |
'id' => 'grid_animation_stagger', |
| 43 |
'name' => __( 'Item Animation Delay', 'wp-ultimate-post-grid' ), |
| 44 |
'description' => __( 'Staggers item transitions, so items transition incrementally after one another.', 'wp-ultimate-post-grid' ), |
| 45 |
'type' => 'number', |
| 46 |
'suffix' => __( 'milliseconds', 'wp-ultimate-post-grid' ), |
| 47 |
'default' => 0, |
| 48 |
), |
| 49 |
), |
| 50 |
), |
| 51 |
), |
| 52 |
); |
| 53 |
|