Orbit Fox by ThemeIsle - Version 2.2.3

Version Description

  • 2017-11-27
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Orbit Fox by ThemeIsle
Version 2.2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.2.3

CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
 
 
 
 
 
 
2
  ### v2.2.2 - 2017-11-24
3
  **Changes:**
4
  * Renamed flickr api util file.
1
 
2
+ ### v2.2.3 - 2017-11-27
3
+ **Changes:**
4
+ * [Hestia] Fixed issue with Team member section not opening external links in a new tab
5
+ * [Hestia] Fixed alignment issues with the front page sections
6
+
7
  ### v2.2.2 - 2017-11-24
8
  **Changes:**
9
  * Renamed flickr api util file.
core/assets/css/orbit-fox-admin.css CHANGED
@@ -8,7 +8,7 @@
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
- Version: 2.2.2
12
  */
13
 
14
  /* Document
8
  * Extends Spectre.css Library
9
  */
10
  /*
11
+ Version: 2.2.3
12
  */
13
 
14
  /* Document
core/includes/class-orbit-fox.php CHANGED
@@ -69,7 +69,7 @@ class Orbit_Fox {
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
- $this->version = '2.2.2';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
+ $this->version = '2.2.3';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-clients-bar-section.php CHANGED
@@ -43,7 +43,6 @@ if ( ! function_exists( 'hestia_clients_bar' ) ) :
43
  <div class="container">
44
  <div class="row">
45
  <?php
46
- $i = 1;
47
  $array_length = sizeof( $hestia_clients_bar_content_decoded );
48
  foreach ( $hestia_clients_bar_content_decoded as $client ) {
49
  $image = ! empty( $client->image_url ) ? apply_filters( 'hestia_translate_single_string', $client->image_url, 'Clients bar section' ) : '';
@@ -71,12 +70,6 @@ if ( ! function_exists( 'hestia_clients_bar' ) ) :
71
  }
72
  echo '</div>';
73
  }
74
-
75
- if ( $i % 4 == 0 && $i !== $array_length ) {
76
- echo '</div><!-- /.row -->';
77
- echo '<div class="row">';
78
- }
79
- $i++;
80
  }
81
  ?>
82
  </div>
43
  <div class="container">
44
  <div class="row">
45
  <?php
 
46
  $array_length = sizeof( $hestia_clients_bar_content_decoded );
47
  foreach ( $hestia_clients_bar_content_decoded as $client ) {
48
  $image = ! empty( $client->image_url ) ? apply_filters( 'hestia_translate_single_string', $client->image_url, 'Clients bar section' ) : '';
70
  }
71
  echo '</div>';
72
  }
 
 
 
 
 
 
73
  }
74
  ?>
75
  </div>
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php CHANGED
@@ -97,7 +97,6 @@ function hestia_features_content( $hestia_features_content, $is_callback = false
97
 
98
  $hestia_features_content = json_decode( $hestia_features_content );
99
  if ( ! empty( $hestia_features_content ) ) {
100
- $i = 1;
101
  echo '<div class="row">';
102
  foreach ( $hestia_features_content as $features_item ) :
103
  $icon = ! empty( $features_item->icon_value ) ? apply_filters( 'hestia_translate_single_string', $features_item->icon_value, 'Features section' ) : '';
@@ -108,7 +107,7 @@ function hestia_features_content( $hestia_features_content, $is_callback = false
108
  $color = ! empty( $features_item->color ) ? $features_item->color : '';
109
  $choice = ! empty( $features_item->choice ) ? $features_item->choice : 'customizer_repeater_icon';
110
  ?>
111
- <div class="<?php echo apply_filters( 'hestia_features_per_row_class','col-md-4' ); ?> feature-box">
112
  <div class="hestia-info">
113
  <?php
114
  if ( ! empty( $link ) ) {
@@ -153,12 +152,6 @@ function hestia_features_content( $hestia_features_content, $is_callback = false
153
  </div>
154
  </div>
155
  <?php
156
- if ( $i % apply_filters( 'hestia_features_per_row_no', 3 ) == 0 ) {
157
- echo '</div><!-- /.row -->';
158
- echo '<div class="row">';
159
- }
160
- $i++;
161
-
162
  endforeach;
163
  echo '</div>';
164
  }// End if().
97
 
98
  $hestia_features_content = json_decode( $hestia_features_content );
99
  if ( ! empty( $hestia_features_content ) ) {
 
100
  echo '<div class="row">';
101
  foreach ( $hestia_features_content as $features_item ) :
102
  $icon = ! empty( $features_item->icon_value ) ? apply_filters( 'hestia_translate_single_string', $features_item->icon_value, 'Features section' ) : '';
107
  $color = ! empty( $features_item->color ) ? $features_item->color : '';
108
  $choice = ! empty( $features_item->choice ) ? $features_item->choice : 'customizer_repeater_icon';
109
  ?>
110
+ <div class="col-xs-12 <?php echo apply_filters( 'hestia_features_per_row_class','col-md-4' ); ?> feature-box">
111
  <div class="hestia-info">
112
  <?php
113
  if ( ! empty( $link ) ) {
152
  </div>
153
  </div>
154
  <?php
 
 
 
 
 
 
155
  endforeach;
156
  echo '</div>';
157
  }// End if().
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php CHANGED
@@ -106,8 +106,6 @@ function hestia_team_content( $hestia_team_content, $is_callback = false ) {
106
  $hestia_team_content = json_decode( $hestia_team_content );
107
 
108
  if ( ! empty( $hestia_team_content ) ) {
109
-
110
- $i = 1;
111
  echo '<div class="row">';
112
  foreach ( $hestia_team_content as $team_item ) :
113
  $image = ! empty( $team_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $team_item->image_url, 'Team section' ) : '';
@@ -162,17 +160,20 @@ function hestia_team_content( $hestia_team_content, $is_callback = false ) {
162
  ?>
163
  <div class="footer">
164
  <?php
165
- foreach ( $icons_decoded as $value ) :
166
  $social_icon = ! empty( $value['icon'] ) ? apply_filters( 'hestia_translate_single_string', $value['icon'], 'Team section' ) : '';
167
  $social_link = ! empty( $value['link'] ) ? apply_filters( 'hestia_translate_single_string', $value['link'], 'Team section' ) : '';
168
- ?>
169
- <?php if ( ! empty( $social_icon ) ) : ?>
170
- <a href="<?php echo esc_url( $social_link ); ?>"
171
- class="btn btn-just-icon btn-simple">
172
- <i class="fa <?php echo esc_attr( $social_icon ); ?>"></i>
173
- </a>
174
- <?php endif; ?>
175
- <?php endforeach; ?>
 
 
 
176
  </div>
177
  <?php
178
  endif;
@@ -183,11 +184,6 @@ function hestia_team_content( $hestia_team_content, $is_callback = false ) {
183
  </div>
184
  </div>
185
  <?php
186
- if ( $i % 2 == 0 ) {
187
- echo '</div><!-- /.row -->';
188
- echo '<div class="row">';
189
- }
190
- $i++;
191
  endforeach;
192
  echo '</div>';
193
  }// End if().
106
  $hestia_team_content = json_decode( $hestia_team_content );
107
 
108
  if ( ! empty( $hestia_team_content ) ) {
 
 
109
  echo '<div class="row">';
110
  foreach ( $hestia_team_content as $team_item ) :
111
  $image = ! empty( $team_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $team_item->image_url, 'Team section' ) : '';
160
  ?>
161
  <div class="footer">
162
  <?php
163
+ foreach ( $icons_decoded as $value ) {
164
  $social_icon = ! empty( $value['icon'] ) ? apply_filters( 'hestia_translate_single_string', $value['icon'], 'Team section' ) : '';
165
  $social_link = ! empty( $value['link'] ) ? apply_filters( 'hestia_translate_single_string', $value['link'], 'Team section' ) : '';
166
+
167
+ if ( ! empty( $social_icon ) ) {
168
+ $link = '<a href="' . esc_url( $social_link ) . '"';
169
+ if ( function_exists( 'hestia_is_external_url' ) ) {
170
+ $link .= hestia_is_external_url( $social_link );
171
+ }
172
+ $link .= ' class="btn btn-just-icon btn-simple"><i class="fa ' . esc_attr( $social_icon ) . '"></i></a>';
173
+ echo $link;
174
+ }
175
+ }
176
+ ?>
177
  </div>
178
  <?php
179
  endif;
184
  </div>
185
  </div>
186
  <?php
 
 
 
 
 
187
  endforeach;
188
  echo '</div>';
189
  }// End if().
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php CHANGED
@@ -107,7 +107,6 @@ function hestia_testimonials_content( $hestia_testimonials_content, $is_callback
107
  if ( ! empty( $hestia_testimonials_content ) ) :
108
  $hestia_testimonials_content = json_decode( $hestia_testimonials_content );
109
  if ( ! empty( $hestia_testimonials_content ) ) {
110
- $i = 1;
111
  echo '<div class="row">';
112
  foreach ( $hestia_testimonials_content as $testimonial_item ) :
113
  $image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->image_url, 'Testimonials section' ) : '';
@@ -155,11 +154,6 @@ function hestia_testimonials_content( $hestia_testimonials_content, $is_callback
155
  </div>
156
  </div>
157
  <?php
158
- if ( $i % apply_filters( 'hestia_testimonials_per_row_no', 3 ) == 0 ) {
159
- echo '</div><!-- /.row -->';
160
- echo '<div class="row">';
161
- }
162
- $i++;
163
  endforeach;
164
  echo '</div>';
165
  }// End if().
107
  if ( ! empty( $hestia_testimonials_content ) ) :
108
  $hestia_testimonials_content = json_decode( $hestia_testimonials_content );
109
  if ( ! empty( $hestia_testimonials_content ) ) {
 
110
  echo '<div class="row">';
111
  foreach ( $hestia_testimonials_content as $testimonial_item ) :
112
  $image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->image_url, 'Testimonials section' ) : '';
154
  </div>
155
  </div>
156
  <?php
 
 
 
 
 
157
  endforeach;
158
  echo '</div>';
159
  }// End if().
obfx_modules/elementor-widgets/css/public.css CHANGED
@@ -1,293 +1,293 @@
1
  /* Pricing Table Base CSS */
2
  .obfx-pricing-table-wrapper, .obfx-pricing-table-wrapper p.obfx-pricing-table-subtitle {
3
- text-align: center;
4
  }
5
 
6
  .obfx-pricing-table-wrapper a {
7
- cursor: pointer;
8
  }
9
 
10
  .obfx-title-wrapper {
11
- padding: 15px;
12
  }
13
 
14
  .obfx-pricing-table-title {
15
- font-weight: 600;
16
  }
17
 
18
  .obfx-pricing-table-wrapper .obfx-feature-list {
19
- list-style: none;
20
- padding: 10px 50px;
21
- margin: 0;
22
  }
23
 
24
  .obfx-pricing-table-wrapper .obfx-feature-list li {
25
- font-size: 16px;
26
  }
27
 
28
  .obfx-price-wrapper {
29
- padding: 20px 0;
30
  }
31
 
32
  .obfx-price {
33
- line-height: normal;
34
- font-size: 80px;
35
- font-weight: 600;
36
  }
37
 
38
  .obfx-pricing-period,
39
  .obfx-price-currency {
40
- font-size: 21px;
41
  }
42
 
43
  .obfx-button-icon-align-right i {
44
- margin-left: 5px;
45
  }
46
  .obfx-button-icon-align-left i {
47
- margin-right: 5px;
48
  }
49
 
50
  .obfx-pricing-table-accented {
51
- font-weight: 600;
52
  }
53
 
54
  .obfx-pricing-table-button-wrapper {
55
- padding: 20px 0;
56
  }
57
 
58
  .obfx-pricing-table-button {
59
- padding: 10px 20px;
60
- border-radius: 5px;
61
  }
62
  /* End Of Pricing Table Base CSS */
63
 
64
  /* Post Type Grid Base CSS */
65
 
66
  .obfx-grid:after {
67
- visibility: hidden;
68
- display: block;
69
- font-size: 0;
70
- content: " ";
71
- clear: both;
72
- height: 0;
73
  }
74
 
75
  .obfx-grid-container {
76
- display: -webkit-flex;
77
- display: flex;
78
- -webkit-flex-wrap: wrap;
79
- flex-wrap: wrap;
80
- margin-left: -15px;
81
- margin-right: -15px;
82
  }
83
 
84
  .obfx-grid-wrapper {
85
- padding-left: 15px;
86
- padding-right: 15px;
87
  }
88
 
89
  .obfx-grid .obfx-grid-col-image {
90
- display: block;
91
- margin: 0 0 10px 0;
92
- overflow: hidden;
93
- position: relative;
94
- left: 0;
95
- right: 0;
96
- bottom: 0;
97
- top: 0;
98
- -webkit-box-shadow: 0px 3px 10px 0px rgba(181,181,181,1);
99
- -moz-box-shadow: 0px 3px 10px 0px rgba(181,181,181,1);
100
- box-shadow: 0px 3px 10px 0px rgba(181,181,181,1);
101
  }
102
 
103
  .obfx-grid .obfx-grid-col-image {
104
- display: inline-block;
105
- height: 200px;
106
- width: 100%;
107
  }
108
 
109
  .obfx-grid .obfx-grid-col-image.obfx-fit-height img {
110
- height: 100%;
111
- width: auto;
112
  }
113
 
114
  .obfx-grid .obfx-grid-col-image img {
115
- display: block;
116
- height: auto;
117
- left: 50%;
118
- position: absolute;
119
- max-height: none;
120
- max-width: none;
121
- top: 50%;
122
- transform: translate(-50%,-50%);
123
- width: 100%;
124
  }
125
 
126
  .obfx-grid .obfx-grid-title,
127
  .obfx-grid .obfx-grid-title a {
128
- color: #333;
129
- font-size: 24px;
130
- line-height: 1.5;
131
- margin: 0;
132
  }
133
 
134
  .obfx-grid-meta {
135
- margin: 0 0 10px 0;
136
  }
137
 
138
  .obfx-grid-meta > span {
139
- color: #999;
140
- font-size: 14px;
141
- margin-right: 10px;
142
  }
143
 
144
  .obfx-grid-meta > span:last-of-type {
145
- margin-right: 0;
146
  }
147
 
148
  .obfx-grid-meta .fa {
149
- margin-right: 7px;
150
  }
151
 
152
  .obfx-grid-meta a {
153
- color: #999;
154
- text-decoration: none;
155
  }
156
 
157
  .obfx-grid-meta a:hover,
158
  .obfx-grid-meta a:focus {
159
- color: inherit;
160
- text-decoration: underline;
161
  }
162
 
163
  .obfx-grid-categories-item:after,
164
  .obfx-grid-tags-item:after {
165
- content: ', ';
166
  }
167
 
168
  .obfx-grid-categories-item:last-of-type:after,
169
  .obfx-grid-tags-item:last-of-type:after {
170
- content: '';
171
- display: none;
172
  }
173
 
174
  .obfx-grid-content {
175
- color: #555;
176
- font-size: 16px;
177
- line-height: 1.5;
178
- margin: 0 0 10px 0;
179
  }
180
 
181
  .obfx-grid-footer a {
182
- color: #333;
183
- display: inline-block;
184
- font-size: 14px;
185
- font-weight: 700;
186
  }
187
 
188
  .obfx-grid-container.obfx-grid-style-list .obfx-grid-col {
189
- display: -webkit-flex;
190
- display: flex;
191
- -webkit-flex-wrap: wrap;
192
- flex-wrap: wrap;
193
  }
194
 
195
  .obfx-grid-container.obfx-grid-style-list .obfx-grid-col-image {
196
- width: 40%;
197
  }
198
 
199
  .obfx-grid-container.obfx-grid-style-list .obfx-grid-col-content {
200
- padding-left: 15px;
201
- width: 60%;
202
  }
203
 
204
  .obfx-grid-container.obfx-grid-style-list .obfx-grid-col.obfx-no-image .obfx-grid-col-content {
205
- padding-left: 0;
206
- width: 100%;
207
  }
208
 
209
  .obfx-grid-pagination {
210
- width: 100%;
211
  }
212
 
213
  .obfx-grid-desktop-1 .obfx-grid-wrapper {
214
- width: 100%;
215
  }
216
 
217
  .obfx-grid-desktop-2 .obfx-grid-wrapper {
218
- width: 50%;
219
  }
220
 
221
  .obfx-grid-desktop-3 .obfx-grid-wrapper {
222
- width: 33.333%;
223
  }
224
 
225
  .obfx-grid-desktop-4 .obfx-grid-wrapper {
226
- width: 25%;
227
  }
228
 
229
  .obfx-grid-desktop-5 .obfx-grid-wrapper {
230
- width: 20%;
231
  }
232
 
233
  @media (max-width: 992px) {
234
- .obfx-grid-tablet-1 .obfx-grid-wrapper {
235
- width: 100%;
236
- }
237
 
238
- .obfx-grid-tablet-2 .obfx-grid-wrapper {
239
- width: 50%;
240
- }
241
 
242
- .obfx-grid-tablet-3 .obfx-grid-wrapper {
243
- width: 33.333%;
244
- }
245
 
246
- .obfx-grid-tablet-4 .obfx-grid-wrapper {
247
- width: 25%;
248
- }
249
 
250
- .obfx-grid-tablet-5 .obfx-grid-wrapper {
251
- width: 20%;
252
- }
253
  }
254
 
255
  @media (max-width: 767px) {
256
- .obfx-grid-mobile-1 .obfx-grid-wrapper {
257
- width: 100%;
258
- }
259
 
260
- .obfx-grid-mobile-2 .obfx-grid-wrapper {
261
- width: 50%;
262
- }
263
 
264
- .obfx-grid-mobile-3 .obfx-grid-wrapper {
265
- width: 33.333%;
266
- }
267
 
268
- .obfx-grid-mobile-4 .obfx-grid-wrapper {
269
- width: 25%;
270
- }
271
 
272
- .obfx-grid-mobile-5 .obfx-grid-wrapper {
273
- width: 20%;
274
- }
275
  }
276
  /* End Of Post Type Grid Base CSS */
277
 
278
  .obfx-service-box {
279
- display: flex;
280
  }
281
 
282
  .obfx-position-left .obfx-service-box {
283
- flex-direction: row;
284
  }
285
  .obfx-position-right .obfx-service-box {
286
- flex-direction: row-reverse;
287
  }
288
  .obfx-position-top .obfx-service-box {
289
- flex-direction: column;
290
  }
291
  .obfx-service-box .obfx-service-box-content .obfx-service-title, .obfx-service-box .obfx-service-box-content .obfx-service-text {
292
- margin: 0;
293
- }
1
  /* Pricing Table Base CSS */
2
  .obfx-pricing-table-wrapper, .obfx-pricing-table-wrapper p.obfx-pricing-table-subtitle {
3
+ text-align: center;
4
  }
5
 
6
  .obfx-pricing-table-wrapper a {
7
+ cursor: pointer;
8
  }
9
 
10
  .obfx-title-wrapper {
11
+ padding: 15px;
12
  }
13
 
14
  .obfx-pricing-table-title {
15
+ font-weight: 600;
16
  }
17
 
18
  .obfx-pricing-table-wrapper .obfx-feature-list {
19
+ list-style: none;
20
+ padding: 10px 50px;
21
+ margin: 0;
22
  }
23
 
24
  .obfx-pricing-table-wrapper .obfx-feature-list li {
25
+ font-size: 16px;
26
  }
27
 
28
  .obfx-price-wrapper {
29
+ padding: 20px 0;
30
  }
31
 
32
  .obfx-price {
33
+ line-height: normal;
34
+ font-size: 80px;
35
+ font-weight: 600;
36
  }
37
 
38
  .obfx-pricing-period,
39
  .obfx-price-currency {
40
+ font-size: 21px;
41
  }
42
 
43
  .obfx-button-icon-align-right i {
44
+ margin-left: 5px;
45
  }
46
  .obfx-button-icon-align-left i {
47
+ margin-right: 5px;
48
  }
49
 
50
  .obfx-pricing-table-accented {
51
+ font-weight: 600;
52
  }
53
 
54
  .obfx-pricing-table-button-wrapper {
55
+ padding: 20px 0;
56
  }
57
 
58
  .obfx-pricing-table-button {
59
+ padding: 10px 20px;
60
+ border-radius: 5px;
61
  }
62
  /* End Of Pricing Table Base CSS */
63
 
64
  /* Post Type Grid Base CSS */
65
 
66
  .obfx-grid:after {
67
+ visibility: hidden;
68
+ display: block;
69
+ font-size: 0;
70
+ content: " ";
71
+ clear: both;
72
+ height: 0;
73
  }
74
 
75
  .obfx-grid-container {
76
+ display: -webkit-flex;
77
+ display: flex;
78
+ -webkit-flex-wrap: wrap;
79
+ flex-wrap: wrap;
80
+ margin-left: -15px;
81
+ margin-right: -15px;
82
  }
83
 
84
  .obfx-grid-wrapper {
85
+ padding-left: 15px;
86
+ padding-right: 15px;
87
  }
88
 
89
  .obfx-grid .obfx-grid-col-image {
90
+ display: block;
91
+ margin: 0 0 10px 0;
92
+ overflow: hidden;
93
+ position: relative;
94
+ left: 0;
95
+ right: 0;
96
+ bottom: 0;
97
+ top: 0;
98
+ -webkit-box-shadow: 0px 3px 10px 0px rgba(181,181,181,1);
99
+ -moz-box-shadow: 0px 3px 10px 0px rgba(181,181,181,1);
100
+ box-shadow: 0px 3px 10px 0px rgba(181,181,181,1);
101
  }
102
 
103
  .obfx-grid .obfx-grid-col-image {
104
+ display: inline-block;
105
+ height: 200px;
106
+ width: 100%;
107
  }
108
 
109
  .obfx-grid .obfx-grid-col-image.obfx-fit-height img {
110
+ height: 100%;
111
+ width: auto;
112
  }
113
 
114
  .obfx-grid .obfx-grid-col-image img {
115
+ display: block;
116
+ height: auto;
117
+ left: 50%;
118
+ position: absolute;
119
+ max-height: none;
120
+ max-width: none;
121
+ top: 50%;
122
+ transform: translate(-50%,-50%);
123
+ width: 100%;
124
  }
125
 
126
  .obfx-grid .obfx-grid-title,
127
  .obfx-grid .obfx-grid-title a {
128
+ color: #333;
129
+ font-size: 24px;
130
+ line-height: 1.5;
131
+ margin: 0;
132
  }
133
 
134
  .obfx-grid-meta {
135
+ margin: 0 0 10px 0;
136
  }
137
 
138
  .obfx-grid-meta > span {
139
+ color: #999;
140
+ font-size: 14px;
141
+ margin-right: 10px;
142
  }
143
 
144
  .obfx-grid-meta > span:last-of-type {
145
+ margin-right: 0;
146
  }
147
 
148
  .obfx-grid-meta .fa {
149
+ margin-right: 7px;
150
  }
151
 
152
  .obfx-grid-meta a {
153
+ color: #999;
154
+ text-decoration: none;
155
  }
156
 
157
  .obfx-grid-meta a:hover,
158
  .obfx-grid-meta a:focus {
159
+ color: inherit;
160
+ text-decoration: underline;
161
  }
162
 
163
  .obfx-grid-categories-item:after,
164
  .obfx-grid-tags-item:after {
165
+ content: ', ';
166
  }
167
 
168
  .obfx-grid-categories-item:last-of-type:after,
169
  .obfx-grid-tags-item:last-of-type:after {
170
+ content: '';
171
+ display: none;
172
  }
173
 
174
  .obfx-grid-content {
175
+ color: #555;
176
+ font-size: 16px;
177
+ line-height: 1.5;
178
+ margin: 0 0 10px 0;
179
  }
180
 
181
  .obfx-grid-footer a {
182
+ color: #333;
183
+ display: inline-block;
184
+ font-size: 14px;
185
+ font-weight: 700;
186
  }
187
 
188
  .obfx-grid-container.obfx-grid-style-list .obfx-grid-col {
189
+ display: -webkit-flex;
190
+ display: flex;
191
+ -webkit-flex-wrap: wrap;
192
+ flex-wrap: wrap;
193
  }
194
 
195
  .obfx-grid-container.obfx-grid-style-list .obfx-grid-col-image {
196
+ width: 40%;
197
  }
198
 
199
  .obfx-grid-container.obfx-grid-style-list .obfx-grid-col-content {
200
+ padding-left: 15px;
201
+ width: 60%;
202
  }
203
 
204
  .obfx-grid-container.obfx-grid-style-list .obfx-grid-col.obfx-no-image .obfx-grid-col-content {
205
+ padding-left: 0;
206
+ width: 100%;
207
  }
208
 
209
  .obfx-grid-pagination {
210
+ width: 100%;
211
  }
212
 
213
  .obfx-grid-desktop-1 .obfx-grid-wrapper {
214
+ width: 100%;
215
  }
216
 
217
  .obfx-grid-desktop-2 .obfx-grid-wrapper {
218
+ width: 50%;
219
  }
220
 
221
  .obfx-grid-desktop-3 .obfx-grid-wrapper {
222
+ width: 33.333%;
223
  }
224
 
225
  .obfx-grid-desktop-4 .obfx-grid-wrapper {
226
+ width: 25%;
227
  }
228
 
229
  .obfx-grid-desktop-5 .obfx-grid-wrapper {
230
+ width: 20%;
231
  }
232
 
233
  @media (max-width: 992px) {
234
+ .obfx-grid-tablet-1 .obfx-grid-wrapper {
235
+ width: 100%;
236
+ }
237
 
238
+ .obfx-grid-tablet-2 .obfx-grid-wrapper {
239
+ width: 50%;
240
+ }
241
 
242
+ .obfx-grid-tablet-3 .obfx-grid-wrapper {
243
+ width: 33.333%;
244
+ }
245
 
246
+ .obfx-grid-tablet-4 .obfx-grid-wrapper {
247
+ width: 25%;
248
+ }
249
 
250
+ .obfx-grid-tablet-5 .obfx-grid-wrapper {
251
+ width: 20%;
252
+ }
253
  }
254
 
255
  @media (max-width: 767px) {
256
+ .obfx-grid-mobile-1 .obfx-grid-wrapper {
257
+ width: 100%;
258
+ }
259
 
260
+ .obfx-grid-mobile-2 .obfx-grid-wrapper {
261
+ width: 50%;
262
+ }
263
 
264
+ .obfx-grid-mobile-3 .obfx-grid-wrapper {
265
+ width: 33.333%;
266
+ }
267
 
268
+ .obfx-grid-mobile-4 .obfx-grid-wrapper {
269
+ width: 25%;
270
+ }
271
 
272
+ .obfx-grid-mobile-5 .obfx-grid-wrapper {
273
+ width: 20%;
274
+ }
275
  }
276
  /* End Of Post Type Grid Base CSS */
277
 
278
  .obfx-service-box {
279
+ display: flex;
280
  }
281
 
282
  .obfx-position-left .obfx-service-box {
283
+ flex-direction: row;
284
  }
285
  .obfx-position-right .obfx-service-box {
286
+ flex-direction: row-reverse;
287
  }
288
  .obfx-position-top .obfx-service-box {
289
+ flex-direction: column;
290
  }
291
  .obfx-service-box .obfx-service-box-content .obfx-service-title, .obfx-service-box .obfx-service-box-content .obfx-service-text {
292
+ margin: 0;
293
+ }
obfx_modules/elementor-widgets/js/obfx-grid.js CHANGED
@@ -1,50 +1,63 @@
1
  /* global elementor */
2
  (function ($) {
3
 
4
- $( document ).ready( function () {
5
- checkImageSize();
6
- } );
7
-
8
-
9
- $( window ).resize( function () {
10
- checkImageSize();
11
- } );
12
-
13
- if ( typeof elementor !== 'undefined' ) {
14
- $( window ).on( 'elementor/frontend/init', function () {
15
- elementor.hooks.addAction( 'panel/open_editor/widget/obfx-posts-grid', function ( panel ) {
16
- var $element = panel.$el.find( '.elementor-control-section_grid_image' );
17
- $element.click( function () {
18
- panel.$el.find( '.elementor-control-grid_image_height .elementor-control-input-wrapper' ).mouseup( function () {
19
- checkImageSize();
20
- } );
21
- } );
22
- } );
23
- } );
24
- }
25
-
26
- /**
27
- * Check the container and image size.
28
- */
29
- function checkImageSize() {
30
- $( '.obfx-grid .obfx-grid-col' ).each( function () {
31
- var container = $( this ).find( '.obfx-grid-col-image' ),
32
- containerWidth = $( this ).find( '.obfx-grid-col-image' ).width(),
33
- containerHeight = $( this ).find( '.obfx-grid-col-image' ).height(),
34
- imageWidth = $( this ).find( '.obfx-grid-col-image img' ).width(),
35
- imageHeight = $( this ).find( '.obfx-grid-col-image img' ).height();
36
-
37
- if ( $( this ).find( '.obfx-grid-col-image' ).length > 0 ) {
38
-
39
- if ( containerHeight > imageHeight ) {
40
- container.addClass( 'obfx-fit-height' );
41
- }
42
-
43
- if ( containerWidth > imageWidth && container.hasClass( 'obfx-fit-height' ) ) {
44
- container.removeClass( 'obfx-fit-height' );
45
- }
46
- }
47
- } );
48
- }
49
-
50
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /* global elementor */
2
  (function ($) {
3
 
4
+ $( document ).ready(
5
+ function () {
6
+ checkImageSize();
7
+ }
8
+ );
9
+
10
+ $( window ).resize(
11
+ function () {
12
+ checkImageSize();
13
+ }
14
+ );
15
+
16
+ if ( typeof elementor !== 'undefined' ) {
17
+ $( window ).on(
18
+ 'elementor/frontend/init', function () {
19
+ elementor.hooks.addAction(
20
+ 'panel/open_editor/widget/obfx-posts-grid', function ( panel ) {
21
+ var $element = panel.$el.find( '.elementor-control-section_grid_image' );
22
+ $element.click(
23
+ function () {
24
+ panel.$el.find( '.elementor-control-grid_image_height .elementor-control-input-wrapper' ).mouseup(
25
+ function () {
26
+ checkImageSize();
27
+ }
28
+ );
29
+ }
30
+ );
31
+ }
32
+ );
33
+ }
34
+ );
35
+ }
36
+
37
+ /**
38
+ * Check the container and image size.
39
+ */
40
+ function checkImageSize() {
41
+ $( '.obfx-grid .obfx-grid-col' ).each(
42
+ function () {
43
+ var container = $( this ).find( '.obfx-grid-col-image' ),
44
+ containerWidth = $( this ).find( '.obfx-grid-col-image' ).width(),
45
+ containerHeight = $( this ).find( '.obfx-grid-col-image' ).height(),
46
+ imageWidth = $( this ).find( '.obfx-grid-col-image img' ).width(),
47
+ imageHeight = $( this ).find( '.obfx-grid-col-image img' ).height();
48
+
49
+ if ( $( this ).find( '.obfx-grid-col-image' ).length > 0 ) {
50
+
51
+ if ( containerHeight > imageHeight ) {
52
+ container.addClass( 'obfx-fit-height' );
53
+ }
54
+
55
+ if ( containerWidth > imageWidth && container.hasClass( 'obfx-fit-height' ) ) {
56
+ container.removeClass( 'obfx-fit-height' );
57
+ }
58
+ }
59
+ }
60
+ );
61
+ }
62
+
63
+ })(jQuery);
obfx_modules/menu-icons/js/admin.js CHANGED
@@ -26,16 +26,22 @@ var obfx_menuicons_module_admin = function( $, menu_icons ) {
26
 
27
  // lets observe for new li tags added to the ul for when items are added to the menu.
28
  function listen_for_new_items(){
29
- var mutateObserver = new MutationObserver(function(records) {
30
- records.forEach(function(record) {
31
- $( record.addedNodes ).each(function(i, x){
32
- // process only the li elements.
33
- if ($( x ).prop( 'tagName' ) === 'LI') {
34
- add_icon( x );
 
 
 
 
 
 
35
  }
36
- });
37
- });
38
- });
39
 
40
  mutateObserver.observe( $( 'ul#menu-to-edit' ).get( 0 ), {childList: true} );
41
  }
@@ -50,41 +56,51 @@ var obfx_menuicons_module_admin = function( $, menu_icons ) {
50
  }
51
  var prefix = get_prefix( icon );
52
 
53
- $( el ).find( '.menu-item-bar .menu-item-handle .item-title' ).prepend($(
54
- '<div class="input-group obfx-menu-icon-container" style="display: inline-block"><input class="form-control obfx-menu-icon ' + no_icon_class + '" value="' + icon + '" style="display: none" type="text" data-menu-item-id="' + item_id + '"><span class="input-group-addon" style="cursor: pointer"><i class="' + prefix + icon + '"></i></span></div>'
55
- ));
 
 
56
 
57
  // ensure the popover comes over the menu bar.
58
  $( el ).find( '.menu-item-bar .menu-item-handle' ).css( 'overflow', 'initial' );
59
 
60
- $( el ).find( '.obfx-menu-icon' ).iconpicker({
61
- // added blank icon for deselection.
62
- icons: $.merge( [default_icon], $.merge( menu_icons.icons, $.iconpicker.defaultOptions.icons ) ),
63
- fullClassFormatter: function(val){
64
- return get_prefix( val ) + val;
65
- },
66
- hideOnSelect: true,
67
- placement: 'bottomLeft',
68
- selectedCustomClass: 'obfx-menu-icon-selected'
69
- });
 
 
70
 
71
  // add the selected icon to the hidden element.
72
- $( el ).find( '.obfx-menu-icon' ).on('iconpickerSelected', function(e) {
73
- var icon = e.iconpickerValue;
74
- var id = $( this ).attr( 'data-menu-item-id' );
75
- $( '#menu-item-icon-' + id ).val( icon );
76
- });
 
 
77
 
78
  }
79
 
80
- $( function() {
81
- // add the existing menu item id to the dropdown as an attribute.
82
- $( 'li.menu-item' ).each(function(i, x){
83
- add_icon( x );
84
- });
 
 
 
85
 
86
- listen_for_new_items();
87
- } );
 
88
 
89
  };
90
 
26
 
27
  // lets observe for new li tags added to the ul for when items are added to the menu.
28
  function listen_for_new_items(){
29
+ var mutateObserver = new MutationObserver(
30
+ function(records) {
31
+ records.forEach(
32
+ function(record) {
33
+ $( record.addedNodes ).each(
34
+ function(i, x){
35
+ // process only the li elements.
36
+ if ($( x ).prop( 'tagName' ) === 'LI') {
37
+ add_icon( x );
38
+ }
39
+ }
40
+ );
41
  }
42
+ );
43
+ }
44
+ );
45
 
46
  mutateObserver.observe( $( 'ul#menu-to-edit' ).get( 0 ), {childList: true} );
47
  }
56
  }
57
  var prefix = get_prefix( icon );
58
 
59
+ $( el ).find( '.menu-item-bar .menu-item-handle .item-title' ).prepend(
60
+ $(
61
+ '<div class="input-group obfx-menu-icon-container" style="display: inline-block"><input class="form-control obfx-menu-icon ' + no_icon_class + '" value="' + icon + '" style="display: none" type="text" data-menu-item-id="' + item_id + '"><span class="input-group-addon" style="cursor: pointer"><i class="' + prefix + icon + '"></i></span></div>'
62
+ )
63
+ );
64
 
65
  // ensure the popover comes over the menu bar.
66
  $( el ).find( '.menu-item-bar .menu-item-handle' ).css( 'overflow', 'initial' );
67
 
68
+ $( el ).find( '.obfx-menu-icon' ).iconpicker(
69
+ {
70
+ // added blank icon for deselection.
71
+ icons: $.merge( [default_icon], $.merge( menu_icons.icons, $.iconpicker.defaultOptions.icons ) ),
72
+ fullClassFormatter: function(val){
73
+ return get_prefix( val ) + val;
74
+ },
75
+ hideOnSelect: true,
76
+ placement: 'bottomLeft',
77
+ selectedCustomClass: 'obfx-menu-icon-selected'
78
+ }
79
+ );
80
 
81
  // add the selected icon to the hidden element.
82
+ $( el ).find( '.obfx-menu-icon' ).on(
83
+ 'iconpickerSelected', function(e) {
84
+ var icon = e.iconpickerValue;
85
+ var id = $( this ).attr( 'data-menu-item-id' );
86
+ $( '#menu-item-icon-' + id ).val( icon );
87
+ }
88
+ );
89
 
90
  }
91
 
92
+ $(
93
+ function() {
94
+ // add the existing menu item id to the dropdown as an attribute.
95
+ $( 'li.menu-item' ).each(
96
+ function(i, x){
97
+ add_icon( x );
98
+ }
99
+ );
100
 
101
+ listen_for_new_items();
102
+ }
103
+ );
104
 
105
  };
106
 
obfx_modules/mystock-import/js/admin.js CHANGED
@@ -1,202 +1,226 @@
1
  /* global _wpMediaViewsL10n, mystock_import, jQuery */
2
  (function ($) {
3
- var media = wp.media,
4
- l10n = media.view.l10n = typeof _wpMediaViewsL10n === 'undefined' ? {} : _wpMediaViewsL10n;
5
-
6
- media.view.MediaFrame.Select.prototype.browseRouter = function (view) {
7
- view.set({
8
- upload: {
9
- text: l10n.uploadFilesTitle,
10
- priority: 20
11
- },
12
- browse: {
13
- text: l10n.mediaLibraryTitle,
14
- priority: 30
15
- },
16
- mystock: {
17
- text: mystock_import.l10n.tab_name,
18
- priority: 40
19
- }
20
- });
21
- };
22
-
23
- var bindHandlers = media.view.MediaFrame.Select.prototype.bindHandlers;
24
-
25
- media.view.MediaFrame.Select.prototype.bindHandlers = function () {
26
- bindHandlers.apply(this, arguments);
27
- this.on('content:create:mystock', this.mystockContent, this);
28
- };
29
-
30
- media.view.MediaFrame.Select.prototype.mystockContent = function ( contentRegion ) {
31
- var state = this.state();
32
-
33
- this.$el.removeClass('hide-toolbar');
34
-
35
- contentRegion.view = new wp.media.view.RemotePhotos({
36
- controller: this,
37
- collection: state.get('library'),
38
- selection: state.get('selection'),
39
- model: state,
40
- sortable: state.get('sortable'),
41
- search: state.get('searchable'),
42
- filters: state.get('filterable'),
43
- date: state.get('date'),
44
- display: state.has('display') ? state.get('display') : state.get('displaySettings'),
45
- dragInfo: state.get('dragInfo'),
46
-
47
- idealColumnWidth: state.get('idealColumnWidth'),
48
- suggestedWidth: state.get('suggestedWidth'),
49
- suggestedHeight: state.get('suggestedHeight'),
50
-
51
- AttachmentView: state.get('AttachmentView')
52
- });
53
- };
54
-
55
- // ensure only one scroll request is sent at one time.
56
- var scroll_called = false;
57
-
58
- media.view.RemotePhotos = media.View.extend({
59
- tagName: 'div',
60
- className: 'obfx-attachments-browser',
61
-
62
- initialize: function () {
63
- // _.defaults(this.options, {});
64
- var container = this.$el;
65
- $(container).html('<div class="obfx_spinner"></div>');
66
- this.loadContent( container,this );
67
- this.selectItem();
68
- this.deselectItem();
69
- this.displayDetails();
70
- this.handleRequest();
71
- },
72
-
73
- showSpinner: function(container) {
74
- $(container).find('.obfx-image-list').addClass('obfx_loading');
75
- $(container).find('.obfx_spinner').show();
76
- },
77
- hideSpinner: function(container) {
78
- $(container).find('.obfx-image-list').removeClass('obfx_loading');
79
- $(container).find('.obfx_spinner').hide();
80
- },
81
- loadContent: function(container, frame){
82
- this.showSpinner(container);
83
- $.ajax({
84
- type : 'POST',
85
- data : {
86
- action: 'get-tab-' + mystock_import.slug,
87
- security : mystock_import.nonce
88
- },
89
- url : mystock_import.ajaxurl,
90
- success : function(response) {
91
- container.html(response);
92
- frame.infiniteScroll(container, frame);
93
- }
94
- });
95
- },
96
-
97
- selectItem : function(){
98
- $(document).on('click', '.obfx-image', function () {
99
- $('.obfx-image').removeClass('selected details');
100
- $(this).addClass('selected details');
101
- });
102
- },
103
-
104
- deselectItem :function () {
105
- $(document).on('click', '.obfx-image-check', function (e) {
106
- e.stopPropagation();
107
- $(this).parent().removeClass('selected details');
108
- $('#obfx-mystock').find('.media-sidebar').html('');
109
- });
110
- },
111
-
112
- infiniteScroll : function (container, frame) {
113
- $('#obfx-mystock .obfx-image-list').on('scroll',function() {
114
- if($(this).scrollTop() + $(this).innerHeight() + 10 >= $(this)[0].scrollHeight) {
115
- var current_page = parseInt($('#obfx-mystock').data('pagenb'));
116
- if(parseInt(mystock_import.pages) === current_page){
117
- return;
118
- }
119
- if(scroll_called){
120
- return;
121
- }
122
- scroll_called = true;
123
- frame.showSpinner(container);
124
- $.ajax({
125
- type : 'POST',
126
- data : {
127
- 'action': 'infinite-' + mystock_import.slug,
128
- 'page' : $('#obfx-mystock').data('pagenb'),
129
- 'security' : mystock_import.nonce
130
- },
131
- url : mystock_import.ajaxurl,
132
- success : function(response) {
133
- scroll_called = false;
134
- if( response ) {
135
- var imageList = $('.obfx-image-list');
136
- var listWrapper = $('#obfx-mystock');
137
- var nextPage = parseInt(current_page) + 1;
138
- listWrapper.data('pagenb', nextPage);
139
- imageList.append(response);
140
- }
141
- frame.hideSpinner(container);
142
- }
143
-
144
- });
145
- }
146
- });
147
- },
148
-
149
- displayDetails : function () {
150
- $(document).on('click', '.obfx-image', function () {
151
- var th = $(this);
152
-
153
- $.ajax({
154
- type : 'POST',
155
- data : {
156
- 'action': mystock_import.slug,
157
- 'pid' : $(this).data('pid'),
158
- 'page' : $(this).data('page'),
159
- 'security' : mystock_import.nonce
160
- },
161
- url : mystock_import.ajaxurl,
162
- beforeSend : function () {
163
- var text = mystock_import.l10n.fetch_image_sizes;
164
- var data = '<div class="attachement-loading"><h2>'+ text +'</h2><div class="spinner is-active"></div></div>';
165
- th.parent().parent().find('.media-sidebar').html(data);
166
- },
167
- success : function(response) {
168
- th.parent().parent().find('.media-sidebar').html(response);
169
- }
170
-
171
- });
172
- });
173
- },
174
-
175
- handleRequest : function () {
176
- $(document).on('submit','#obfx-mystock #importmsp', function (e) {
177
- var mediaContainer = $('#obfx-mystock').find('.media-sidebar');
178
- $.ajax({
179
- type : 'POST',
180
- data : {
181
- 'action': 'handle-request-' + mystock_import.slug,
182
- 'formdata' : $('#importmsp').serialize(),
183
- 'security' : mystock_import.nonce
184
- },
185
- url : mystock_import.ajaxurl,
186
- beforeSend : function () {
187
- var text = mystock_import.l10n.upload_image;
188
- var data = '<div class="attachement-loading"><h2>'+ text +'</h2><div class="spinner is-active"></div></div>';
189
- mediaContainer.html(data);
190
- },
191
- success : function() {
192
- var text = mystock_import.l10n.upload_image_complete;
193
- var data = '<div class="attachement-loading"><h2>'+ text +'</h2></div>';
194
- mediaContainer.html(data);
195
- wp.media.frame.content.get('library').collection.props.set({ '__ignore_force_update': (+ new Date()) });
196
- }
197
- });
198
- e.preventDefault(); // avoid to execute the actual submit of the form.
199
- });
200
- }
201
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  })(jQuery);
1
  /* global _wpMediaViewsL10n, mystock_import, jQuery */
2
  (function ($) {
3
+ var media = wp.media,
4
+ l10n = media.view.l10n = typeof _wpMediaViewsL10n === 'undefined' ? {} : _wpMediaViewsL10n;
5
+
6
+ media.view.MediaFrame.Select.prototype.browseRouter = function (view) {
7
+ view.set(
8
+ {
9
+ upload: {
10
+ text: l10n.uploadFilesTitle,
11
+ priority: 20
12
+ },
13
+ browse: {
14
+ text: l10n.mediaLibraryTitle,
15
+ priority: 30
16
+ },
17
+ mystock: {
18
+ text: mystock_import.l10n.tab_name,
19
+ priority: 40
20
+ }
21
+ }
22
+ );
23
+ };
24
+
25
+ var bindHandlers = media.view.MediaFrame.Select.prototype.bindHandlers;
26
+
27
+ media.view.MediaFrame.Select.prototype.bindHandlers = function () {
28
+ bindHandlers.apply( this, arguments );
29
+ this.on( 'content:create:mystock', this.mystockContent, this );
30
+ };
31
+
32
+ media.view.MediaFrame.Select.prototype.mystockContent = function ( contentRegion ) {
33
+ var state = this.state();
34
+
35
+ this.$el.removeClass( 'hide-toolbar' );
36
+
37
+ contentRegion.view = new wp.media.view.RemotePhotos(
38
+ {
39
+ controller: this,
40
+ collection: state.get( 'library' ),
41
+ selection: state.get( 'selection' ),
42
+ model: state,
43
+ sortable: state.get( 'sortable' ),
44
+ search: state.get( 'searchable' ),
45
+ filters: state.get( 'filterable' ),
46
+ date: state.get( 'date' ),
47
+ display: state.has( 'display' ) ? state.get( 'display' ) : state.get( 'displaySettings' ),
48
+ dragInfo: state.get( 'dragInfo' ),
49
+
50
+ idealColumnWidth: state.get( 'idealColumnWidth' ),
51
+ suggestedWidth: state.get( 'suggestedWidth' ),
52
+ suggestedHeight: state.get( 'suggestedHeight' ),
53
+
54
+ AttachmentView: state.get( 'AttachmentView' )
55
+ }
56
+ );
57
+ };
58
+
59
+ // ensure only one scroll request is sent at one time.
60
+ var scroll_called = false;
61
+
62
+ media.view.RemotePhotos = media.View.extend(
63
+ {
64
+ tagName: 'div',
65
+ className: 'obfx-attachments-browser',
66
+
67
+ initialize: function () {
68
+ // _.defaults(this.options, {});
69
+ var container = this.$el;
70
+ $( container ).html( '<div class="obfx_spinner"></div>' );
71
+ this.loadContent( container,this );
72
+ this.selectItem();
73
+ this.deselectItem();
74
+ this.displayDetails();
75
+ this.handleRequest();
76
+ },
77
+
78
+ showSpinner: function(container) {
79
+ $( container ).find( '.obfx-image-list' ).addClass( 'obfx_loading' );
80
+ $( container ).find( '.obfx_spinner' ).show();
81
+ },
82
+ hideSpinner: function(container) {
83
+ $( container ).find( '.obfx-image-list' ).removeClass( 'obfx_loading' );
84
+ $( container ).find( '.obfx_spinner' ).hide();
85
+ },
86
+ loadContent: function(container, frame){
87
+ this.showSpinner( container );
88
+ $.ajax(
89
+ {
90
+ type : 'POST',
91
+ data : {
92
+ action: 'get-tab-' + mystock_import.slug,
93
+ security : mystock_import.nonce
94
+ },
95
+ url : mystock_import.ajaxurl,
96
+ success : function(response) {
97
+ container.html( response );
98
+ frame.infiniteScroll( container, frame );
99
+ }
100
+ }
101
+ );
102
+ },
103
+
104
+ selectItem : function(){
105
+ $( document ).on(
106
+ 'click', '.obfx-image', function () {
107
+ $( '.obfx-image' ).removeClass( 'selected details' );
108
+ $( this ).addClass( 'selected details' );
109
+ }
110
+ );
111
+ },
112
+
113
+ deselectItem :function () {
114
+ $( document ).on(
115
+ 'click', '.obfx-image-check', function (e) {
116
+ e.stopPropagation();
117
+ $( this ).parent().removeClass( 'selected details' );
118
+ $( '#obfx-mystock' ).find( '.media-sidebar' ).html( '' );
119
+ }
120
+ );
121
+ },
122
+
123
+ infiniteScroll : function (container, frame) {
124
+ $( '#obfx-mystock .obfx-image-list' ).on(
125
+ 'scroll',function() {
126
+ if ($( this ).scrollTop() + $( this ).innerHeight() + 10 >= $( this )[0].scrollHeight) {
127
+ var current_page = parseInt( $( '#obfx-mystock' ).data( 'pagenb' ) );
128
+ if (parseInt( mystock_import.pages ) === current_page) {
129
+ return;
130
+ }
131
+ if (scroll_called) {
132
+ return;
133
+ }
134
+ scroll_called = true;
135
+ frame.showSpinner( container );
136
+ $.ajax(
137
+ {
138
+ type : 'POST',
139
+ data : {
140
+ 'action': 'infinite-' + mystock_import.slug,
141
+ 'page' : $( '#obfx-mystock' ).data( 'pagenb' ),
142
+ 'security' : mystock_import.nonce
143
+ },
144
+ url : mystock_import.ajaxurl,
145
+ success : function(response) {
146
+ scroll_called = false;
147
+ if ( response ) {
148
+ var imageList = $( '.obfx-image-list' );
149
+ var listWrapper = $( '#obfx-mystock' );
150
+ var nextPage = parseInt( current_page ) + 1;
151
+ listWrapper.data( 'pagenb', nextPage );
152
+ imageList.append( response );
153
+ }
154
+ frame.hideSpinner( container );
155
+ }
156
+
157
+ }
158
+ );
159
+ }
160
+ }
161
+ );
162
+ },
163
+
164
+ displayDetails : function () {
165
+ $( document ).on(
166
+ 'click', '.obfx-image', function () {
167
+ var th = $( this );
168
+
169
+ $.ajax(
170
+ {
171
+ type : 'POST',
172
+ data : {
173
+ 'action': mystock_import.slug,
174
+ 'pid' : $( this ).data( 'pid' ),
175
+ 'page' : $( this ).data( 'page' ),
176
+ 'security' : mystock_import.nonce
177
+ },
178
+ url : mystock_import.ajaxurl,
179
+ beforeSend : function () {
180
+ var text = mystock_import.l10n.fetch_image_sizes;
181
+ var data = '<div class="attachement-loading"><h2>' + text + '</h2><div class="spinner is-active"></div></div>';
182
+ th.parent().parent().find( '.media-sidebar' ).html( data );
183
+ },
184
+ success : function(response) {
185
+ th.parent().parent().find( '.media-sidebar' ).html( response );
186
+ }
187
+
188
+ }
189
+ );
190
+ }
191
+ );
192
+ },
193
+
194
+ handleRequest : function () {
195
+ $( document ).on(
196
+ 'submit','#obfx-mystock #importmsp', function (e) {
197
+ var mediaContainer = $( '#obfx-mystock' ).find( '.media-sidebar' );
198
+ $.ajax(
199
+ {
200
+ type : 'POST',
201
+ data : {
202
+ 'action': 'handle-request-' + mystock_import.slug,
203
+ 'formdata' : $( '#importmsp' ).serialize(),
204
+ 'security' : mystock_import.nonce
205
+ },
206
+ url : mystock_import.ajaxurl,
207
+ beforeSend : function () {
208
+ var text = mystock_import.l10n.upload_image;
209
+ var data = '<div class="attachement-loading"><h2>' + text + '</h2><div class="spinner is-active"></div></div>';
210
+ mediaContainer.html( data );
211
+ },
212
+ success : function() {
213
+ var text = mystock_import.l10n.upload_image_complete;
214
+ var data = '<div class="attachement-loading"><h2>' + text + '</h2></div>';
215
+ mediaContainer.html( data );
216
+ wp.media.frame.content.get( 'library' ).collection.props.set( { '__ignore_force_update': (+ new Date()) } );
217
+ }
218
+ }
219
+ );
220
+ e.preventDefault(); // avoid to execute the actual submit of the form.
221
+ }
222
+ );
223
+ }
224
+ }
225
+ );
226
  })(jQuery);
obfx_modules/template-directory/js/customizer.js CHANGED
@@ -22,7 +22,7 @@ var obfx_template_directory_previewer = function( $ ) {
22
  $( '.customize-controls-preview-toggle .controls' ).html( 'Templates' );
23
  // Remove Save Button
24
  $( 'input.save, .customize-info, #accordion-panel-widgets, .customize-save-button-wrapper, .customize-control-notifications-container' ).remove();
25
- $( '.wp-full-overlay-sidebar-content' ).removeAttr('style');
26
  $( '#customize-header-actions' ).prepend( importBtn ).append( '<div class="obfx-next-prev"><span onclick="obfxHandleChange(\'prev\');" class="previous-template"></span><span onclick="obfxHandleChange(\'next\');" class="next-template"></span></div>' );
27
  $( '#customize-preview' ).remove();
28
  var previewUrl = $( '.obfx-template.active' ).data( 'demo-url' );
22
  $( '.customize-controls-preview-toggle .controls' ).html( 'Templates' );
23
  // Remove Save Button
24
  $( 'input.save, .customize-info, #accordion-panel-widgets, .customize-save-button-wrapper, .customize-control-notifications-container' ).remove();
25
+ $( '.wp-full-overlay-sidebar-content' ).removeAttr( 'style' );
26
  $( '#customize-header-actions' ).prepend( importBtn ).append( '<div class="obfx-next-prev"><span onclick="obfxHandleChange(\'prev\');" class="previous-template"></span><span onclick="obfxHandleChange(\'next\');" class="next-template"></span></div>' );
27
  $( '#customize-preview' ).remove();
28
  var previewUrl = $( '.obfx-template.active' ).data( 'demo-url' );
readme.md CHANGED
@@ -86,6 +86,12 @@ Activating the Orbit Fox Companion plugin is just like any other plugin. If you'
86
  3. Screenshot 3. How reports module is looking
87
 
88
  ## Changelog ##
 
 
 
 
 
 
89
  ### 2.2.2 - 2017-11-24 ###
90
 
91
  * Renamed flickr api util file.
86
  3. Screenshot 3. How reports module is looking
87
 
88
  ## Changelog ##
89
+ ### 2.2.3 - 2017-11-27 ###
90
+
91
+ * [Hestia] Fixed issue with Team member section not opening external links in a new tab
92
+ * [Hestia] Fixed alignment issues with the front page sections
93
+
94
+
95
  ### 2.2.2 - 2017-11-24 ###
96
 
97
  * Renamed flickr api util file.
readme.txt CHANGED
@@ -86,6 +86,12 @@ Activating the Orbit Fox Companion plugin is just like any other plugin. If you'
86
  3. Screenshot 3. How reports module is looking
87
 
88
  == Changelog ==
 
 
 
 
 
 
89
  = 2.2.2 - 2017-11-24 =
90
 
91
  * Renamed flickr api util file.
86
  3. Screenshot 3. How reports module is looking
87
 
88
  == Changelog ==
89
+ = 2.2.3 - 2017-11-27 =
90
+
91
+ * [Hestia] Fixed issue with Team member section not opening external links in a new tab
92
+ * [Hestia] Fixed alignment issues with the front page sections
93
+
94
+
95
  = 2.2.2 - 2017-11-24 =
96
 
97
  * Renamed flickr api util file.
themeisle-companion.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
17
  * Description: Enhances ThemeIsle's themes with extra functionality.
18
- * Version: 2.2.2
19
  * Author: Themeisle
20
  * Author URI: https://themeisle.com
21
  * License: GPL-2.0+
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
17
  * Description: Enhances ThemeIsle's themes with extra functionality.
18
+ * Version: 2.2.3
19
  * Author: Themeisle
20
  * Author URI: https://themeisle.com
21
  * License: GPL-2.0+
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitaf53802d1c1e77e735c44a89415c4e70::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit148d40e7c5f191f525c153f8c2785c97::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitaf53802d1c1e77e735c44a89415c4e70
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitaf53802d1c1e77e735c44a89415c4e70
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitaf53802d1c1e77e735c44a89415c4e70', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitaf53802d1c1e77e735c44a89415c4e70', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInitaf53802d1c1e77e735c44a89415c4e70
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequireaf53802d1c1e77e735c44a89415c4e70($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequireaf53802d1c1e77e735c44a89415c4e70($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit148d40e7c5f191f525c153f8c2785c97
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit148d40e7c5f191f525c153f8c2785c97', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit148d40e7c5f191f525c153f8c2785c97', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire148d40e7c5f191f525c153f8c2785c97($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire148d40e7c5f191f525c153f8c2785c97($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;