This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.php
57 lines (54 loc) · 2.14 KB
/
settings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/*
Example setting:
array(
'id' => 'thumbnail-container-background-color', // arbitrary selector for the setting in the form
'target' => '.vimeography-smooth .vimeography-thumbnail-container', // target elements to affect, separated by commas
'attribute' => 'color',
'label' => __('Thumbnail Container Background Color'), // setting field label text
'value' => '#232323', // target attribute value
'type' => 'colorpicker', // vimeography setting type
),
*/
$settings = array(
array(
'id' => 'active-thumbnail-border-color',
'target' => '.vimeography-smooth .vimeography-thumbnails .slides li.vimeography-smooth-active-slide img',
'attribute' => 'borderColor',
'label' => __('Active Thumbnail Border Color'),
'value' => '#0088CC',
'type' => 'colorpicker',
),
array(
'id' => 'inactive-thumbnail-border-color',
'target' => '.vimeography-smooth .vimeography-thumbnails .slides li img',
'attribute' => 'borderColor',
'label' => __('Inactive Thumbnail Border Color'),
'value' => '#0088CC',
'type' => 'colorpicker',
),
array(
'id' => 'prev-arrow-color',
'target' => '.vimeography-smooth .vimeography-smooth-direction-nav a.vimeography-smooth-prev span',
'attribute' => 'borderRightColor',
'label' => __('Previous Arrow Color'),
'value' => '#000000',
'type' => 'colorpicker',
),
array(
'id' => 'next-arrow-color',
'target' => '.vimeography-smooth .vimeography-smooth-direction-nav a.vimeography-smooth-next span',
'attribute' => 'borderLeftColor',
'label' => __('Next Arrow Color'),
'value' => '#000000',
'type' => 'colorpicker',
),
array(
'id' => 'loader-color',
'target' => '.vimeography-smooth .vimeography-main .spinner div div',
'attribute' => 'backgroundColor',
'label' => __('Spinner Color'),
'value' => '#000000',
'type' => 'colorpicker',
),
);