PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / trunk
Hustle – Email Marketing, Lead Generation, Optins, Popups vtrunk
7.8.14 7.8.14.1 7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / inc / front / non-sshare-styles / form-09--calendar.php
wordpress-popup / inc / front / non-sshare-styles Last commit date
form-01--form-container.php 3 years ago form-02--form-fields.php 3 years ago form-03--input.php 5 months ago form-04--select2.php 5 months ago form-05--select2-dropdown.php 3 years ago form-06--timepicker-dropdown.php 3 years ago form-07--radio.php 5 months ago form-08--checkbox.php 5 months ago form-09--calendar.php 3 years ago form-10--submit.php 5 months ago form-11--options-container.php 3 years ago form-12--options-title.php 5 months ago form-13--gdpr.php 5 months ago form-14--error-message.php 5 months ago form-15--success-message.php 2 years ago form-16--recaptcha.php 5 months ago general-01--module-container.php 3 years ago general-02--main-layout.php 1 month ago general-03--layout-header.php 3 years ago general-04--layout-content.php 3 years ago general-05--layout-footer.php 3 years ago general-06--image-size.php 5 months ago general-07--image-fitting.php 3 years ago general-08--image-position.php 5 months ago general-09--content-wrapper.php 3 years ago general-10--title.php 5 months ago general-11--subtitle.php 5 months ago general-12--content.php 5 months ago general-13--cta-container.php 3 years ago general-14--cta-button.php 5 months ago general-15--cta-alignment.php 3 years ago general-16--nsa-link.php 5 months ago general-17--close-button.php 3 years ago general-18--popup-mask.php 3 years ago general-19--cta-helper-text.php 5 months ago module-size-embed.php 5 months ago module-size-popup.php 5 months ago module-size-slidein.php 3 years ago
form-09--calendar.php
82 lines
1 <?php
2 /**
3 * Calendar.
4 *
5 * @package Hustle
6 * @since 4.3.0
7 */
8
9 $component = '.hustle-module-' . $this->module->module_id . '.hustle-calendar';
10
11 // SETTINGS: Colors.
12 $container_background = $colors['optin_calendar_background'];
13 $container_title = $colors['optin_calendar_title'];
14
15 $navigation_default = $colors['optin_calendar_arrows'];
16 $navigation_hover = $colors['optin_calendar_arrows_hover'];
17 $navigation_focus = $colors['optin_calendar_arrows_active'];
18
19 $cell_title = $colors['optin_calendar_thead'];
20
21 $cell_background_default = $colors['optin_calendar_cell_background'];
22 $cell_background_hover = $colors['optin_calendar_cell_bg_hover'];
23 $cell_background_focus = $colors['optin_calendar_cell_bg_active'];
24
25 $cell_color_default = $colors['optin_calendar_cell_color'];
26 $cell_color_hover = $colors['optin_calendar_cell_color_hover'];
27 $cell_color_focus = $colors['optin_calendar_cell_color_active'];
28
29 // Check if opt-in is enabled.
30 if ( $is_optin ) {
31
32 // Check if vanilla theme is disabled.
33 if ( ! $is_vanilla ) {
34
35 $style .= '';
36
37 $style .= $component . ':before {';
38 $style .= 'background-color: ' . $container_background . ';';
39 $style .= '}';
40
41 $style .= $component . ' .ui-datepicker-header .ui-datepicker-title {';
42 $style .= 'color: ' . $container_title . ';';
43 $style .= '}';
44
45 $style .= $component . ' .ui-datepicker-header .ui-corner-all,';
46 $style .= $component . ' .ui-datepicker-header .ui-corner-all:visited {';
47 $style .= 'color: ' . $navigation_default . ';';
48 $style .= '}';
49
50 $style .= $component . ' .ui-datepicker-header .ui-corner-all:hover {';
51 $style .= 'color: ' . $navigation_hover . ';';
52 $style .= '}';
53
54 $style .= $component . ' .ui-datepicker-header .ui-corner-all:focus,';
55 $style .= $component . ' .ui-datepicker-header .ui-corner-all:active {';
56 $style .= 'color: ' . $navigation_focus . ';';
57 $style .= '}';
58
59 $style .= $component . ' .ui-datepicker-calendar thead th {';
60 $style .= 'color: ' . $cell_title . ';';
61 $style .= '}';
62
63 $style .= $component . ' .ui-datepicker-calendar tbody tr td a,';
64 $style .= $component . ' .ui-datepicker-calendar tbody tr td a:visited {';
65 $style .= 'background-color: ' . $cell_background_default . ';';
66 $style .= 'color: ' . $cell_color_default . ';';
67 $style .= '}';
68
69 $style .= $component . ' .ui-datepicker-calendar tbody tr td a:hover {';
70 $style .= 'background-color: ' . $cell_background_hover . ';';
71 $style .= 'color: ' . $cell_color_hover . ';';
72 $style .= '}';
73
74 $style .= $component . ' .ui-datepicker-calendar tbody tr td a:focus,';
75 $style .= $component . ' .ui-datepicker-calendar tbody tr td a:active {';
76 $style .= 'background-color: ' . $cell_background_focus . ';';
77 $style .= 'color: ' . $cell_color_focus . ';';
78 $style .= '}';
79
80 }
81 }
82