layout-styles.php
1.67 KB
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
<?php
return apply_filters( 'ninja_forms_uploads_styles_field_type_section', array(
'progress-bar' => array(
'name' => 'progress-bar',
'label' => __( 'Progress Bar', 'ninja-forms-uploads' ),
'selector' => '.file_upload-wrap .nf-field-element .nf-fu-progress .nf-fu-progress-bar',
'only' => array(
NF_FU_File_Uploads::TYPE,
),
),
'progress-background' => array(
'name' => 'progress-background',
'label' => __( 'Progress Bar Background', 'ninja-forms-uploads' ),
'selector' => '.file_upload-wrap .nf-field-element .nf-fu-progress',
'only' => array(
NF_FU_File_Uploads::TYPE,
),
),
'files-list' => array(
'name' => 'files-list',
'label' => __( 'File List', 'ninja-forms-uploads' ),
'selector' => '.file_upload-wrap .nf-field-element .files_uploaded',
'only' => array(
NF_FU_File_Uploads::TYPE,
),
),
'file-delete' => array(
'name' => 'file-delete',
'label' => __( 'File Delete Link', 'ninja-forms-uploads' ),
'selector' => '.file_upload-wrap .nf-field-element .files_uploaded p a.delete',
'only' => array(
NF_FU_File_Uploads::TYPE,
),
),
'file-cancel' => array(
'name' => 'file-cancel',
'label' => __( 'File Upload Cancel Button', 'ninja-forms-uploads' ),
'selector' => '.file_upload-wrap .nf-field-element .nf-fu-button-cancel',
'only' => array(
NF_FU_File_Uploads::TYPE,
),
),
'file-cancel-hover' => array(
'name' => 'file-cancel-hover',
'label' => __( 'File Upload Cancel Button Hover', 'ninja-forms-uploads' ),
'selector' => '.file_upload-wrap .nf-field-element .nf-fu-button-cancel:hover',
'only' => array(
NF_FU_File_Uploads::TYPE,
),
),
) );