PluginProbe
Counter Box – Add Countdowns, Timers & Dynamic Counters to WordPress / 2.0
Counter Box – Add Countdowns, Timers & Dynamic Counters to WordPress v2.0
2.0.14 trunk 1.0 1.2 1.2.1 1.2.2 1.2.3 1.2.4 2.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9
counter-box / admin / settings / options / style.php

style.php in Counter Box – Add Countdowns, Timers & Dynamic Counters to WordPress 2.0, at admin/settings/options/style.php

95 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 use CounterBox\Settings_Helper;
4
5 defined( 'ABSPATH' ) || exit;
6
7 return [
8 'width' => [
9 'type' => 'number',
10 'title' => __( 'Width', 'counter-box' ),
11 'val' => '30',
12 'addon' => [
13 'type' => 'select',
14 'name' => 'width_unit',
15 'atts' => [
16 'auto' => __( 'auto', 'counter-box' ),
17 'px' => __( 'px', 'counter-box' ),
18 ],
19 ],
20 ],
21
22 'height' => [
23 'type' => 'number',
24 'title' => __( 'Height', 'counter-box' ),
25 'val' => '30',
26 'addon' => [
27 'type' => 'select',
28 'name' => 'height_unit',
29 'atts' => [
30 'auto' => __( 'auto', 'counter-box' ),
31 'px' => __( 'px', 'counter-box' ),
32 ],
33 ],
34 ],
35
36 'background' => [
37 'type' => 'text',
38 'title' => __( 'Background', 'counter-box' ),
39 'val' => 'rgba(255, 255, 255, 0)',
40 'atts' => [
41 'class' => 'wpie-color',
42 'data-alpha-enabled' => 'true',
43 ],
44 ],
45
46 'border_radius' => [
47 'type' => 'number',
48 'title' => __( 'Border Radius', 'counter-box' ),
49 'val' => 0,
50 'atts' => [
51 'min' => '0',
52 'step' => '1',
53 ],
54 'addon' => 'px',
55 ],
56
57 'border_style' => [
58 'type' => 'select',
59 'title' => __( 'Border Style', 'counter-box' ),
60 'atts' => [
61 'none' => __( 'None', 'counter-box' ),
62 'solid' => __( 'Solid', 'counter-box' ),
63 'dotted' => __( 'Dotted', 'counter-box' ),
64 'dashed' => __( 'Dashed', 'counter-box' ),
65 'double' => __( 'Double', 'counter-box' ),
66 'groove' => __( 'Groove', 'counter-box' ),
67 'inset' => __( 'Inset', 'counter-box' ),
68 'outset' => __( 'Outset', 'counter-box' ),
69 'ridge' => __( 'Ridge', 'counter-box' ),
70 ],
71 ],
72
73 'border_width' => [
74 'type' => 'number',
75 'title' => __( 'Border Thickness', 'counter-box' ),
76 'val' => 1,
77 'atts' => [
78 'min' => '0',
79 'step' => '1',
80 ],
81 'addon' => 'px',
82 ],
83
84 'border_color' => [
85 'type' => 'text',
86 'title' => __( 'Border Color', 'counter-box' ),
87 'val' => 'rgba(255, 255, 255, 0)',
88 'atts' => [
89 'class' => 'wpie-color',
90 'data-alpha-enabled' => 'true',
91 ],
92 ],
93
94
95 ];