| 1 |
<?php |
| 2 |
/* |
| 3 |
* Page Name: Style |
| 4 |
*/ |
| 5 |
|
| 6 |
use FloatingButton\Dashboard\Option; |
| 7 |
|
| 8 |
defined( 'ABSPATH' ) || exit; |
| 9 |
|
| 10 |
$styleOpt = include( 'options/style.php' ); |
| 11 |
?> |
| 12 |
|
| 13 |
<h4> |
| 14 |
<span class="wowp-icon fas fa-brush"></span> |
| 15 |
<?php esc_html_e( 'Style', 'floating-button' ); ?> |
| 16 |
</h4> |
| 17 |
|
| 18 |
<fieldset class="wowp-item"> |
| 19 |
<legend><?php esc_html_e( 'General', 'floating-button' ); ?></legend> |
| 20 |
<div class="wowp-fields-group"> |
| 21 |
<?php Option::init( [ |
| 22 |
$styleOpt['shape'], |
| 23 |
$styleOpt['shadow'], |
| 24 |
$styleOpt['sub_btn_animation'], |
| 25 |
] ); ?> |
| 26 |
</div> |
| 27 |
</fieldset> |
| 28 |
|
| 29 |
<fieldset class="wowp-item"> |
| 30 |
<legend><?php esc_html_e( 'Position', 'floating-button' ); ?></legend> |
| 31 |
|
| 32 |
<div class="wowp-fields-group"> |
| 33 |
<?php Option::init( [ |
| 34 |
$styleOpt['position'], |
| 35 |
] ); ?> |
| 36 |
</div> |
| 37 |
|
| 38 |
</fieldset> |
| 39 |
|
| 40 |
|
| 41 |
<fieldset class="wowp-item"> |
| 42 |
<legend><?php esc_html_e( 'Button Size', 'floating-button' ); ?></legend> |
| 43 |
<div class="wowp-fields-group"> |
| 44 |
<?php Option::init( [ |
| 45 |
$styleOpt['size'], |
| 46 |
] ); ?> |
| 47 |
</div> |
| 48 |
</fieldset> |
| 49 |
|
| 50 |
|
| 51 |
<fieldset class="wowp-item"> |
| 52 |
<legend><?php esc_html_e( 'Tooltip', 'floating-button' ); ?></legend> |
| 53 |
<div class="wowp-fields-group"> |
| 54 |
<?php Option::init( [ |
| 55 |
$styleOpt['tooltip_size_check'], |
| 56 |
] ); ?> |
| 57 |
</div> |
| 58 |
<div class="wowp-fields-group"> |
| 59 |
<?php Option::init( [ |
| 60 |
$styleOpt['tooltip_bg'], |
| 61 |
$styleOpt['tooltip_color'], |
| 62 |
] ); ?> |
| 63 |
</div> |
| 64 |
</fieldset> |
| 65 |
|