Social Media Share Buttons & Social Sharing Icons - Version 2.5.0

Version Description

  • Fixed LinkedIn share to correct urls.
Download this release

Release Info

Developer socialdude
Plugin Icon 128x128 Social Media Share Buttons & Social Sharing Icons
Version 2.5.0
Comparing to
See all releases

Code changes from version 2.4.9 to 2.5.0

Files changed (56) hide show
  1. analyst/assets/css/customize.css +280 -280
  2. analyst/assets/index.php +2 -2
  3. analyst/assets/js/customize.js +29 -29
  4. analyst/autoload.php +40 -40
  5. analyst/index.php +2 -2
  6. analyst/main.php +36 -36
  7. analyst/sdk_resolver.php +79 -79
  8. analyst/src/Account/Account.php +584 -584
  9. analyst/src/Account/AccountData.php +176 -176
  10. analyst/src/Account/AccountDataFactory.php +125 -125
  11. analyst/src/Analyst.php +167 -167
  12. analyst/src/ApiRequestor.php +257 -257
  13. analyst/src/ApiResponse.php +44 -44
  14. analyst/src/Cache/DatabaseCache.php +127 -127
  15. analyst/src/Collector.php +217 -217
  16. analyst/src/Contracts/AnalystContract.php +12 -12
  17. analyst/src/Contracts/CacheContract.php +47 -47
  18. analyst/src/Contracts/HttpClientContract.php +25 -25
  19. analyst/src/Contracts/RequestContract.php +22 -22
  20. analyst/src/Contracts/RequestorContract.php +44 -44
  21. analyst/src/Contracts/TrackerContract.php +69 -69
  22. analyst/src/Core/AbstractFactory.php +27 -27
  23. analyst/src/Http/CurlHttpClient.php +102 -102
  24. analyst/src/Http/DummyHttpClient.php +33 -33
  25. analyst/src/Http/Requests/AbstractLoggerRequest.php +64 -64
  26. analyst/src/Http/Requests/ActivateRequest.php +42 -42
  27. analyst/src/Http/Requests/DeactivateRequest.php +64 -64
  28. analyst/src/Http/Requests/InstallRequest.php +38 -38
  29. analyst/src/Http/Requests/OptInRequest.php +42 -42
  30. analyst/src/Http/Requests/OptOutRequest.php +40 -40
  31. analyst/src/Http/Requests/UninstallRequest.php +36 -36
  32. analyst/src/Http/WordPressHttpClient.php +61 -61
  33. analyst/src/Mutator.php +103 -103
  34. analyst/src/Notices/Notice.php +121 -121
  35. analyst/src/Notices/NoticeFactory.php +130 -130
  36. analyst/src/helpers.php +84 -84
  37. analyst/templates/forms/deactivate.php +156 -156
  38. analyst/templates/forms/install.php +113 -113
  39. analyst/templates/notice.php +10 -10
  40. analyst/templates/optin.php +60 -60
  41. analyst/templates/optout.php +109 -109
  42. analyst/version.php +15 -15
  43. css/jquery-ui-1.10.4/jquery-ui.css +1177 -1177
  44. css/sfsi-admin-style.css +5305 -5305
  45. css/sfsi-style.css +3626 -3626
  46. helpers/common_helper.php +202 -202
  47. helpers/linkedin-api/linkedin-api.php +136 -136
  48. helpers/sfsi_OAuth.php +910 -910
  49. helpers/twitteroauth/src/TwitterOAuth.php +506 -506
  50. images/responsive-icon/Twitter.svg +3 -3
  51. images/responsive-icon/facebook.svg +3 -3
  52. images/share_icons/Pinterest_Save/en_US_save.svg +23 -23
  53. images/visit_icons/en_US_Follow.svg +16 -16
  54. images/visit_icons/en_US_Tweet.svg +18 -18
  55. images/visit_icons/en_US_save.svg +23 -23
  56. js/custom-admin.js +1352 -3486
analyst/assets/css/customize.css CHANGED
@@ -1,280 +1,280 @@
1
- .analyst-action-opt {
2
- cursor: pointer;
3
- }
4
-
5
- .analyst-modal {
6
- color: #000000;
7
- display: none;
8
- position: fixed;
9
- z-index: 1000;
10
- padding-top: 100px;
11
- left: 0;
12
- top: 0;
13
- width: 100%;
14
- height: 100%;
15
- overflow: auto;
16
- background-color: rgb(0,0,0);
17
- background-color: rgba(0,0,0,0.4);
18
- }
19
-
20
- .analyst-modal-content {
21
- font-family: Helvetica, serif;
22
- position: relative;
23
- background-color: #fefefe;
24
- margin: auto;
25
- padding: 35px 35px 20px;
26
- border: 1px solid #F2F2F2;
27
- width: 40%;
28
- box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
29
- -webkit-animation-name: analyst-animatetop;
30
- -webkit-animation-duration: 0.4s;
31
- animation-name: analyst-animatetop;
32
- animation-duration: 0.4s
33
- }
34
-
35
- .analyst-btn-success {
36
- cursor: pointer;
37
- color: #ffffff;
38
- background-color: #00AF5E;
39
- border: none;
40
- width: 100%;
41
- font-size: 18px;
42
- padding: 8px;
43
- font-weight: bold;
44
- }
45
-
46
- .analyst-btn-grey {
47
- cursor: pointer;
48
- color: #2D2D2D;
49
- background-color: #D8D8D8;
50
- border: none;
51
- width: 100%;
52
- font-size: 18px;
53
- padding: 8px;
54
- font-weight: bold;
55
- }
56
-
57
- .analyst-btn-secondary-ghost {
58
- cursor: pointer;
59
- background: transparent;
60
- border: none;
61
- color: #898686;
62
- font-size: 18px;
63
- }
64
-
65
- .analyst-modal-def-top-padding {
66
- padding-top: 20px;
67
- }
68
-
69
- .analyst-modal-header {
70
- font-size: 20px;
71
- font-weight: bold;
72
- }
73
-
74
- /*INSTALL STYLES*/
75
- .analyst-install-footer {
76
- padding-top: 10px;
77
- text-align: center;
78
- }
79
-
80
- .analyst-install-image-block {
81
- width: 140px;
82
- }
83
-
84
- .analyst-install-image-block img {
85
- width: inherit;
86
- }
87
-
88
- .analyst-install-description-block {
89
- padding-left: 40px;
90
- padding-top: 5px
91
- }
92
-
93
- .analyst-install-description-text {
94
- font-size: 16px;
95
- color: #000000;
96
- }
97
-
98
- .analyst-install-permissions-list {
99
- list-style: disc inside;
100
- }
101
-
102
- .analyst-install-permissions-list li {
103
- padding-left: 15px;
104
- margin-bottom: 2px;
105
- }
106
-
107
- .analyst-install-footer span {
108
- color: #8a8787;
109
- padding-right: 10px;
110
- padding-left: 10px;
111
- }
112
-
113
- .analyst-install-footer span:not(:last-child) {
114
- border-right: 1px solid #8a8787;
115
- }
116
-
117
- /*INSTALL STYLES*/
118
-
119
- .reason-answer {
120
- padding: 7px;
121
- margin-left: 23px;
122
- border: 1px solid #F2F2F2;
123
- }
124
-
125
- .analyst-link {
126
- color: #00AF5E;
127
- text-decoration: none;
128
- }
129
-
130
- .analyst-action-text {
131
- cursor: pointer;
132
- }
133
-
134
- .analyst-action-text:hover {
135
- color: #9d9a9a;
136
- }
137
-
138
- .analyst-disable-modal-mask {
139
- width: 100%;
140
- height: 100%;
141
- opacity: 0.5;
142
- position: absolute;
143
- background: white;
144
- top: 0;
145
- left: 0;
146
- }
147
-
148
- .analyst-smile-image {
149
- vertical-align: middle;
150
- padding-bottom: 3px;
151
- width: 24px;
152
- }
153
-
154
- #analyst-deactivation-reasons li {
155
- padding-bottom: 3px;
156
- font-size: 16px;
157
- color: #000000;
158
- }
159
-
160
- @-webkit-keyframes analyst-animatetop {
161
- from {top:-300px; opacity:0}
162
- to {top:0; opacity:1}
163
- }
164
-
165
- @keyframes analyst-animatetop {
166
- from {top:-300px; opacity:0}
167
- to {top:0; opacity:1}
168
- }
169
-
170
- .analyst-modal-close {
171
- color: #48036F;
172
- font-size: 28px;
173
- font-weight: bold;
174
- top: 12px;
175
- position: absolute;
176
- right: 15px;
177
- }
178
-
179
- .analyst-modal-close:hover,
180
- .analyst-modal-close:focus {
181
- color: #000;
182
- text-decoration: none;
183
- cursor: pointer;
184
- }
185
-
186
- .analyst-modal-body {padding: 2px 16px;}
187
-
188
- .analyst-modal-footer {
189
- padding: 6px 16px;
190
- background-color: #FFE773;
191
- color: white;
192
- }
193
-
194
- #analyst-deactivate-modal .question-answer input, textarea {
195
- margin-top: 5px;
196
- width: 100%;
197
- }
198
-
199
- .analyst-btn-primary {
200
- cursor: pointer;
201
- border: none;
202
- display:inline-block;
203
- padding:0.7em 1.4em;
204
- margin:0 0.3em 0.3em 0;
205
- border-radius:0.15em;
206
- box-sizing: border-box;
207
- text-decoration:none;
208
- font-family:'Roboto',sans-serif;
209
- text-transform:uppercase;
210
- font-weight:400;
211
- color:#FFFFFF;
212
- background-color:#9F3ED5;
213
- box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
214
- text-align:center;
215
- position:relative;
216
- }
217
-
218
- .analyst-btn-primary:disabled {
219
- background-color: #AD66D5;
220
- cursor: not-allowed;
221
- }
222
-
223
- .analyst-btn-primary:active{
224
- top:0.1em;
225
- }
226
- @media all and (max-width:30em){
227
- .analyst-btn-primary {
228
- display:block;
229
- margin:0.4em auto;
230
- }
231
- }
232
-
233
- .analyst-btn-secondary {
234
- cursor: pointer;
235
- border: none;
236
- display:inline-block;
237
- padding:0.7em 1.4em;
238
- margin:0 0.3em 0.3em 0;
239
- border-radius:0.15em;
240
- box-sizing: border-box;
241
- text-decoration:none;
242
- font-family:'Roboto',sans-serif;
243
- text-transform:uppercase;
244
- font-weight:400;
245
- color:#FFFFFF;
246
- background-color:#6C8CD5;
247
- box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
248
- text-align:center;
249
- position:relative;
250
- }
251
-
252
- .analyst-btn-secondary:disabled {
253
- background-color: #6C8CD5;
254
- cursor: not-allowed;
255
- }
256
-
257
- .analyst-btn-secondary:active{
258
- top:0.1em;
259
- }
260
- @media all and (max-width:30em){
261
- .analyst-btn-secondary {
262
- display:block;
263
- margin:0.4em auto;
264
- }
265
- }
266
-
267
- .analyst-notice {
268
- padding-right: 38px;
269
- position: relative;
270
- margin-bottom: 30px !important;
271
- }
272
-
273
- .analyst-notice .analyst-plugin-name {
274
- background-color: #00000024;
275
- padding-left: 7px;
276
- padding-right: 7px;
277
- position: absolute;
278
- top: 100%;
279
- border-radius: 0 0 5px 5px;
280
- }
1
+ .analyst-action-opt {
2
+ cursor: pointer;
3
+ }
4
+
5
+ .analyst-modal {
6
+ color: #000000;
7
+ display: none;
8
+ position: fixed;
9
+ z-index: 1000;
10
+ padding-top: 100px;
11
+ left: 0;
12
+ top: 0;
13
+ width: 100%;
14
+ height: 100%;
15
+ overflow: auto;
16
+ background-color: rgb(0,0,0);
17
+ background-color: rgba(0,0,0,0.4);
18
+ }
19
+
20
+ .analyst-modal-content {
21
+ font-family: Helvetica, serif;
22
+ position: relative;
23
+ background-color: #fefefe;
24
+ margin: auto;
25
+ padding: 35px 35px 20px;
26
+ border: 1px solid #F2F2F2;
27
+ width: 40%;
28
+ box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
29
+ -webkit-animation-name: analyst-animatetop;
30
+ -webkit-animation-duration: 0.4s;
31
+ animation-name: analyst-animatetop;
32
+ animation-duration: 0.4s
33
+ }
34
+
35
+ .analyst-btn-success {
36
+ cursor: pointer;
37
+ color: #ffffff;
38
+ background-color: #00AF5E;
39
+ border: none;
40
+ width: 100%;
41
+ font-size: 18px;
42
+ padding: 8px;
43
+ font-weight: bold;
44
+ }
45
+
46
+ .analyst-btn-grey {
47
+ cursor: pointer;
48
+ color: #2D2D2D;
49
+ background-color: #D8D8D8;
50
+ border: none;
51
+ width: 100%;
52
+ font-size: 18px;
53
+ padding: 8px;
54
+ font-weight: bold;
55
+ }
56
+
57
+ .analyst-btn-secondary-ghost {
58
+ cursor: pointer;
59
+ background: transparent;
60
+ border: none;
61
+ color: #898686;
62
+ font-size: 18px;
63
+ }
64
+
65
+ .analyst-modal-def-top-padding {
66
+ padding-top: 20px;
67
+ }
68
+
69
+ .analyst-modal-header {
70
+ font-size: 20px;
71
+ font-weight: bold;
72
+ }
73
+
74
+ /*INSTALL STYLES*/
75
+ .analyst-install-footer {
76
+ padding-top: 10px;
77
+ text-align: center;
78
+ }
79
+
80
+ .analyst-install-image-block {
81
+ width: 140px;
82
+ }
83
+
84
+ .analyst-install-image-block img {
85
+ width: inherit;
86
+ }
87
+
88
+ .analyst-install-description-block {
89
+ padding-left: 40px;
90
+ padding-top: 5px
91
+ }
92
+
93
+ .analyst-install-description-text {
94
+ font-size: 16px;
95
+ color: #000000;
96
+ }
97
+
98
+ .analyst-install-permissions-list {
99
+ list-style: disc inside;
100
+ }
101
+
102
+ .analyst-install-permissions-list li {
103
+ padding-left: 15px;
104
+ margin-bottom: 2px;
105
+ }
106
+
107
+ .analyst-install-footer span {
108
+ color: #8a8787;
109
+ padding-right: 10px;
110
+ padding-left: 10px;
111
+ }
112
+
113
+ .analyst-install-footer span:not(:last-child) {
114
+ border-right: 1px solid #8a8787;
115
+ }
116
+
117
+ /*INSTALL STYLES*/
118
+
119
+ .reason-answer {
120
+ padding: 7px;
121
+ margin-left: 23px;
122
+ border: 1px solid #F2F2F2;
123
+ }
124
+
125
+ .analyst-link {
126
+ color: #00AF5E;
127
+ text-decoration: none;
128
+ }
129
+
130
+ .analyst-action-text {
131
+ cursor: pointer;
132
+ }
133
+
134
+ .analyst-action-text:hover {
135
+ color: #9d9a9a;
136
+ }
137
+
138
+ .analyst-disable-modal-mask {
139
+ width: 100%;
140
+ height: 100%;
141
+ opacity: 0.5;
142
+ position: absolute;
143
+ background: white;
144
+ top: 0;
145
+ left: 0;
146
+ }
147
+
148
+ .analyst-smile-image {
149
+ vertical-align: middle;
150
+ padding-bottom: 3px;
151
+ width: 24px;
152
+ }
153
+
154
+ #analyst-deactivation-reasons li {
155
+ padding-bottom: 3px;
156
+ font-size: 16px;
157
+ color: #000000;
158
+ }
159
+
160
+ @-webkit-keyframes analyst-animatetop {
161
+ from {top:-300px; opacity:0}
162
+ to {top:0; opacity:1}
163
+ }
164
+
165
+ @keyframes analyst-animatetop {
166
+ from {top:-300px; opacity:0}
167
+ to {top:0; opacity:1}
168
+ }
169
+
170
+ .analyst-modal-close {
171
+ color: #48036F;
172
+ font-size: 28px;
173
+ font-weight: bold;
174
+ top: 12px;
175
+ position: absolute;
176
+ right: 15px;
177
+ }
178
+
179
+ .analyst-modal-close:hover,
180
+ .analyst-modal-close:focus {
181
+ color: #000;
182
+ text-decoration: none;
183
+ cursor: pointer;
184
+ }
185
+
186
+ .analyst-modal-body {padding: 2px 16px;}
187
+
188
+ .analyst-modal-footer {
189
+ padding: 6px 16px;
190
+ background-color: #FFE773;
191
+ color: white;
192
+ }
193
+
194
+ #analyst-deactivate-modal .question-answer input, textarea {
195
+ margin-top: 5px;
196
+ width: 100%;
197
+ }
198
+
199
+ .analyst-btn-primary {
200
+ cursor: pointer;
201
+ border: none;
202
+ display:inline-block;
203
+ padding:0.7em 1.4em;
204
+ margin:0 0.3em 0.3em 0;
205
+ border-radius:0.15em;
206
+ box-sizing: border-box;
207
+ text-decoration:none;
208
+ font-family:'Roboto',sans-serif;
209
+ text-transform:uppercase;
210
+ font-weight:400;
211
+ color:#FFFFFF;
212
+ background-color:#9F3ED5;
213
+ box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
214
+ text-align:center;
215
+ position:relative;
216
+ }
217
+
218
+ .analyst-btn-primary:disabled {
219
+ background-color: #AD66D5;
220
+ cursor: not-allowed;
221
+ }
222
+
223
+ .analyst-btn-primary:active{
224
+ top:0.1em;
225
+ }
226
+ @media all and (max-width:30em){
227
+ .analyst-btn-primary {
228
+ display:block;
229
+ margin:0.4em auto;
230
+ }
231
+ }
232
+
233
+ .analyst-btn-secondary {
234
+ cursor: pointer;
235
+ border: none;
236
+ display:inline-block;
237
+ padding:0.7em 1.4em;
238
+ margin:0 0.3em 0.3em 0;
239
+ border-radius:0.15em;
240
+ box-sizing: border-box;
241
+ text-decoration:none;
242
+ font-family:'Roboto',sans-serif;
243
+ text-transform:uppercase;
244
+ font-weight:400;
245
+ color:#FFFFFF;
246
+ background-color:#6C8CD5;
247
+ box-shadow:inset 0 -0.6em 0 -0.35em rgba(0,0,0,0.17);
248
+ text-align:center;
249
+ position:relative;
250
+ }
251
+
252
+ .analyst-btn-secondary:disabled {
253
+ background-color: #6C8CD5;
254
+ cursor: not-allowed;
255
+ }
256
+
257
+ .analyst-btn-secondary:active{
258
+ top:0.1em;
259
+ }
260
+ @media all and (max-width:30em){
261
+ .analyst-btn-secondary {
262
+ display:block;
263
+ margin:0.4em auto;
264
+ }
265
+ }
266
+
267
+ .analyst-notice {
268
+ padding-right: 38px;
269
+ position: relative;
270
+ margin-bottom: 30px !important;
271
+ }
272
+
273
+ .analyst-notice .analyst-plugin-name {
274
+ background-color: #00000024;
275
+ padding-left: 7px;
276
+ padding-right: 7px;
277
+ position: absolute;
278
+ top: 100%;
279
+ border-radius: 0 0 5px 5px;
280
+ }
analyst/assets/index.php CHANGED
@@ -1,2 +1,2 @@
1
- <?php
2
- // Silence is golden.
1
+ <?php
2
+ // Silence is golden.
analyst/assets/js/customize.js CHANGED
@@ -1,29 +1,29 @@
1
- (function ($) {
2
- $(document).on('click', '.analyst-notice-dismiss', function () {
3
- var id = $(this).attr('analyst-notice-id');
4
- var self = this;
5
-
6
- $.post(ajaxurl, {action: 'analyst_notification_dismiss', id: id})
7
- .done(function () {
8
- $(self).parent().fadeOut()
9
- })
10
- })
11
-
12
- var url = new URL(window.location.href)
13
-
14
- if (url.searchParams.has('verify')) {
15
- var pluginId = url.searchParams.get('plugin_id')
16
-
17
- $.ajax({
18
- url: ajaxurl,
19
- method: 'POST',
20
- data: {
21
- action: 'analyst_install_verified_' + pluginId,
22
- },
23
- success: function () {
24
- // Refresh page without query params
25
- window.location.href = window.location.origin + window.location.pathname
26
- }
27
- })
28
- }
29
- })(jQuery)
1
+ (function ($) {
2
+ $(document).on('click', '.analyst-notice-dismiss', function () {
3
+ var id = $(this).attr('analyst-notice-id');
4
+ var self = this;
5
+
6
+ $.post(ajaxurl, {action: 'analyst_notification_dismiss', id: id})
7
+ .done(function () {
8
+ $(self).parent().fadeOut()
9
+ })
10
+ })
11
+
12
+ var url = new URL(window.location.href)
13
+
14
+ if (url.searchParams.has('verify')) {
15
+ var pluginId = url.searchParams.get('plugin_id')
16
+
17
+ $.ajax({
18
+ url: ajaxurl,
19
+ method: 'POST',
20
+ data: {
21
+ action: 'analyst_install_verified_' + pluginId,
22
+ },
23
+ success: function () {
24
+ // Refresh page without query params
25
+ window.location.href = window.location.origin + window.location.pathname
26
+ }
27
+ })
28
+ }
29
+ })(jQuery)
analyst/autoload.php CHANGED
@@ -1,40 +1,40 @@
1
- <?php
2
-
3
- require_once __DIR__ . '/src/helpers.php';
4
-
5
- require_once __DIR__ . '/src/Contracts/HttpClientContract.php';
6
- require_once __DIR__ . '/src/Contracts/RequestContract.php';
7
- require_once __DIR__ . '/src/Contracts/RequestorContract.php';
8
- require_once __DIR__ . '/src/Contracts/TrackerContract.php';
9
- require_once __DIR__ . '/src/Contracts/CacheContract.php';
10
-
11
- require_once __DIR__ . '/src/Core/AbstractFactory.php';
12
-
13
- require_once __DIR__ . '/src/Cache/DatabaseCache.php';
14
-
15
- require_once __DIR__ . '/src/Account/Account.php';
16
- require_once __DIR__ . '/src/Account/AccountData.php';
17
- require_once __DIR__ . '/src/Account/AccountDataFactory.php';
18
- require_once __DIR__ . '/src/Contracts/AnalystContract.php';
19
-
20
- require_once __DIR__ . '/src/Http/Requests/AbstractLoggerRequest.php';
21
- require_once __DIR__ . '/src/Http/Requests/ActivateRequest.php';
22
- require_once __DIR__ . '/src/Http/Requests/DeactivateRequest.php';
23
- require_once __DIR__ . '/src/Http/Requests/InstallRequest.php';
24
- require_once __DIR__ . '/src/Http/Requests/OptInRequest.php';
25
- require_once __DIR__ . '/src/Http/Requests/OptOutRequest.php';
26
- require_once __DIR__ . '/src/Http/Requests/UninstallRequest.php';
27
-
28
- require_once __DIR__ . '/src/Http/CurlHttpClient.php';
29
- require_once __DIR__ . '/src/Http/DummyHttpClient.php';
30
- require_once __DIR__ . '/src/Http/WordPressHttpClient.php';
31
-
32
- require_once __DIR__ . '/src/Notices/Notice.php';
33
- require_once __DIR__ . '/src/Notices/NoticeFactory.php';
34
-
35
- require_once __DIR__ . '/src/Analyst.php';
36
- require_once __DIR__ . '/src/ApiRequestor.php';
37
- require_once __DIR__ . '/src/ApiResponse.php';
38
- require_once __DIR__ . '/src/Collector.php';
39
- require_once __DIR__ . '/src/Mutator.php';
40
-
1
+ <?php
2
+
3
+ require_once __DIR__ . '/src/helpers.php';
4
+
5
+ require_once __DIR__ . '/src/Contracts/HttpClientContract.php';
6
+ require_once __DIR__ . '/src/Contracts/RequestContract.php';
7
+ require_once __DIR__ . '/src/Contracts/RequestorContract.php';
8
+ require_once __DIR__ . '/src/Contracts/TrackerContract.php';
9
+ require_once __DIR__ . '/src/Contracts/CacheContract.php';
10
+
11
+ require_once __DIR__ . '/src/Core/AbstractFactory.php';
12
+
13
+ require_once __DIR__ . '/src/Cache/DatabaseCache.php';
14
+
15
+ require_once __DIR__ . '/src/Account/Account.php';
16
+ require_once __DIR__ . '/src/Account/AccountData.php';
17
+ require_once __DIR__ . '/src/Account/AccountDataFactory.php';
18
+ require_once __DIR__ . '/src/Contracts/AnalystContract.php';
19
+
20
+ require_once __DIR__ . '/src/Http/Requests/AbstractLoggerRequest.php';
21
+ require_once __DIR__ . '/src/Http/Requests/ActivateRequest.php';
22
+ require_once __DIR__ . '/src/Http/Requests/DeactivateRequest.php';
23
+ require_once __DIR__ . '/src/Http/Requests/InstallRequest.php';
24
+ require_once __DIR__ . '/src/Http/Requests/OptInRequest.php';
25
+ require_once __DIR__ . '/src/Http/Requests/OptOutRequest.php';
26
+ require_once __DIR__ . '/src/Http/Requests/UninstallRequest.php';
27
+
28
+ require_once __DIR__ . '/src/Http/CurlHttpClient.php';
29
+ require_once __DIR__ . '/src/Http/DummyHttpClient.php';
30
+ require_once __DIR__ . '/src/Http/WordPressHttpClient.php';
31
+
32
+ require_once __DIR__ . '/src/Notices/Notice.php';
33
+ require_once __DIR__ . '/src/Notices/NoticeFactory.php';
34
+
35
+ require_once __DIR__ . '/src/Analyst.php';
36
+ require_once __DIR__ . '/src/ApiRequestor.php';
37
+ require_once __DIR__ . '/src/ApiResponse.php';
38
+ require_once __DIR__ . '/src/Collector.php';
39
+ require_once __DIR__ . '/src/Mutator.php';
40
+
analyst/index.php CHANGED
@@ -1,2 +1,2 @@
1
- <?php
2
- // Silence
1
+ <?php
2
+ // Silence
analyst/main.php CHANGED
@@ -1,36 +1,36 @@
1
- <?php
2
-
3
- require_once 'sdk_resolver.php';
4
-
5
-
6
- if (!function_exists('analyst_init')) {
7
- /**
8
- * Initialize analyst
9
- *
10
- * @param array $options
11
- */
12
- function analyst_init ($options) {
13
- // Try resolve latest supported SDK
14
- // In case resolving is failed exit the execution
15
- try {
16
- analyst_resolve_sdk($options['base-dir']);
17
- } catch (Exception $exception) {
18
- error_log('[ANALYST] Cannot resolve any supported SDK');
19
- return;
20
- }
21
-
22
- try {
23
- global /** @var Analyst\Analyst $analyst */
24
- $analyst;
25
-
26
- // Set global instance of analyst
27
- if (!$analyst) {
28
- $analyst = Analyst\Analyst::getInstance();
29
- }
30
-
31
- $analyst->registerAccount(new Account\Account($options['client-id'], $options['client-secret'], $options['base-dir']));
32
- } catch (Exception $e) {
33
- error_log('Analyst SDK receive an error: [' . $e->getMessage() . '] Please contact our support at support@analyst.com');
34
- }
35
- }
36
- }
1
+ <?php
2
+
3
+ require_once 'sdk_resolver.php';
4
+
5
+
6
+ if (!function_exists('analyst_init')) {
7
+ /**
8
+ * Initialize analyst
9
+ *
10
+ * @param array $options
11
+ */
12
+ function analyst_init ($options) {
13
+ // Try resolve latest supported SDK
14
+ // In case resolving is failed exit the execution
15
+ try {
16
+ analyst_resolve_sdk($options['base-dir']);
17
+ } catch (Exception $exception) {
18
+ error_log('[ANALYST] Cannot resolve any supported SDK');
19
+ return;
20
+ }
21
+
22
+ try {
23
+ global /** @var Analyst\Analyst $analyst */
24
+ $analyst;
25
+
26
+ // Set global instance of analyst
27
+ if (!$analyst) {
28
+ $analyst = Analyst\Analyst::getInstance();
29
+ }
30
+
31
+ $analyst->registerAccount(new Account\Account($options['client-id'], $options['client-secret'], $options['base-dir']));
32
+ } catch (Exception $e) {
33
+ error_log('Analyst SDK receive an error: [' . $e->getMessage() . '] Please contact our support at support@analyst.com');
34
+ }
35
+ }
36
+ }
analyst/sdk_resolver.php CHANGED
@@ -1,79 +1,79 @@
1
- <?php
2
-
3
- if (!function_exists('analyst_resolve_sdk')) {
4
-
5
- /**
6
- * Resolve supported sdk versions and load latest supported one
7
- * also bootstrap sdk with autoloader
8
- *
9
- * @since 1.1.3
10
- *
11
- * @param null $thisPluginPath
12
- * @return void
13
- * @throws Exception
14
- */
15
- function analyst_resolve_sdk($thisPluginPath = null) {
16
- static $loaded = false;
17
-
18
- // Exit if we already resolved SDK
19
- if ($loaded) return;
20
-
21
- $plugins = get_option('active_plugins');
22
-
23
- if ($thisPluginPath) {
24
- array_push($plugins, plugin_basename($thisPluginPath));
25
- }
26
-
27
- $pluginsFolder = WP_PLUGIN_DIR;
28
-
29
- $possibleSDKs = array_map(function ($path) use ($pluginsFolder) {
30
- $sdkFolder = sprintf('%s/%s/analyst/', $pluginsFolder, dirname($path));
31
-
32
- $sdkFolder = str_replace('\\', '/', $sdkFolder);
33
-
34
- $versionPath = $sdkFolder . 'version.php';
35
-
36
- if (file_exists($versionPath)) {
37
- return require $versionPath;
38
- }
39
-
40
- return false;
41
- }, $plugins);
42
-
43
- global $wp_version;
44
-
45
- // Filter out plugins which has no SDK
46
- $SDKs = array_filter($possibleSDKs, function ($s) {return is_array($s);});
47
-
48
- // Filter SDKs which is supported by PHP and WP
49
- $supported = array_values(array_filter($SDKs, function ($sdk) use($wp_version) {
50
- $phpSupported = version_compare(PHP_VERSION, $sdk['php']) >= 0;
51
- $wpSupported = version_compare($wp_version, $sdk['wp']) >= 0;
52
-
53
- return $phpSupported && $wpSupported;
54
- }));
55
-
56
- // Sort SDK by version in descending order
57
- uasort($supported, function ($x, $y) {
58
- return version_compare($y['sdk'], $x['sdk']);
59
- });
60
-
61
- // Reset sorted values keys
62
- $supported = array_values($supported);
63
-
64
- if (!isset($supported[0])) {
65
- throw new Exception('There is no SDK which is support current PHP version and WP version');
66
- }
67
-
68
- // Autoload files for supported SDK
69
- $autoloaderPath = str_replace(
70
- '\\',
71
- '/',
72
- sprintf('%s/autoload.php', $supported[0]['path'])
73
- );
74
-
75
- require_once $autoloaderPath;
76
-
77
- $loaded = true;
78
- }
79
- }
1
+ <?php
2
+
3
+ if (!function_exists('analyst_resolve_sdk')) {
4
+
5
+ /**
6
+ * Resolve supported sdk versions and load latest supported one
7
+ * also bootstrap sdk with autoloader
8
+ *
9
+ * @since 1.1.3
10
+ *
11
+ * @param null $thisPluginPath
12
+ * @return void
13
+ * @throws Exception
14
+ */
15
+ function analyst_resolve_sdk($thisPluginPath = null) {
16
+ static $loaded = false;
17
+
18
+ // Exit if we already resolved SDK
19
+ if ($loaded) return;
20
+
21
+ $plugins = get_option('active_plugins');
22
+
23
+ if ($thisPluginPath) {
24
+ array_push($plugins, plugin_basename($thisPluginPath));
25
+ }
26
+
27
+ $pluginsFolder = WP_PLUGIN_DIR;
28
+
29
+ $possibleSDKs = array_map(function ($path) use ($pluginsFolder) {
30
+ $sdkFolder = sprintf('%s/%s/analyst/', $pluginsFolder, dirname($path));
31
+
32
+ $sdkFolder = str_replace('\\', '/', $sdkFolder);
33
+
34
+ $versionPath = $sdkFolder . 'version.php';
35
+
36
+ if (file_exists($versionPath)) {
37
+ return require $versionPath;
38
+ }
39
+
40
+ return false;
41
+ }, $plugins);
42
+
43
+ global $wp_version;
44
+
45
+ // Filter out plugins which has no SDK
46
+ $SDKs = array_filter($possibleSDKs, function ($s) {return is_array($s);});
47
+
48
+ // Filter SDKs which is supported by PHP and WP
49
+ $supported = array_values(array_filter($SDKs, function ($sdk) use($wp_version) {
50
+ $phpSupported = version_compare(PHP_VERSION, $sdk['php']) >= 0;
51
+ $wpSupported = version_compare($wp_version, $sdk['wp']) >= 0;
52
+
53
+ return $phpSupported && $wpSupported;
54
+ }));
55
+
56
+ // Sort SDK by version in descending order
57
+ uasort($supported, function ($x, $y) {
58
+ return version_compare($y['sdk'], $x['sdk']);
59
+ });
60
+
61
+ // Reset sorted values keys
62
+ $supported = array_values($supported);
63
+
64
+ if (!isset($supported[0])) {
65
+ throw new Exception('There is no SDK which is support current PHP version and WP version');
66
+ }
67
+
68
+ // Autoload files for supported SDK
69
+ $autoloaderPath = str_replace(
70
+ '\\',
71
+ '/',
72
+ sprintf('%s/autoload.php', $supported[0]['path'])
73
+ );
74
+
75
+ require_once $autoloaderPath;
76
+
77
+ $loaded = true;
78
+ }
79
+ }
analyst/src/Account/Account.php CHANGED
@@ -1,584 +1,584 @@
1
- <?php
2
-
3
- namespace Account;
4
-
5
- use Analyst\Analyst;
6
- use Analyst\ApiRequestor;
7
- use Analyst\Cache\DatabaseCache;
8
- use Analyst\Collector;
9
- use Analyst\Http\Requests\ActivateRequest;
10
- use Analyst\Http\Requests\DeactivateRequest;
11
- use Analyst\Http\Requests\InstallRequest;
12
- use Analyst\Http\Requests\OptInRequest;
13
- use Analyst\Http\Requests\OptOutRequest;
14
- use Analyst\Http\Requests\UninstallRequest;
15
- use Analyst\Notices\Notice;
16
- use Analyst\Notices\NoticeFactory;
17
- use Analyst\Contracts\TrackerContract;
18
- use Analyst\Contracts\RequestorContract;
19
-
20
- /**
21
- * Class Account
22
- *
23
- * This is plugin's account object
24
- */
25
- class Account implements TrackerContract
26
- {
27
- /**
28
- * Account id
29
- *
30
- * @var string
31
- */
32
- protected $id;
33
-
34
- /**
35
- * Basename of plugin
36
- *
37
- * @var string
38
- */
39
- protected $path;
40
-
41
- /**
42
- * Whether plugin is active or not
43
- *
44
- * @var bool
45
- */
46
- protected $isInstalled = false;
47
-
48
- /**
49
- * Is user sign in for data tracking
50
- *
51
- * @var bool
52
- */
53
- protected $isOptedIn = false;
54
-
55
- /**
56
- * Is user accepted permissions grant
57
- * for collection site data
58
- *
59
- * @var bool
60
- */
61
- protected $isSigned = false;
62
-
63
- /**
64
- * Is user ever resolved install modal window?
65
- *
66
- * @var bool
67
- */
68
- protected $isInstallResolved = false;
69
-
70
- /**
71
- * Public secret code
72
- *
73
- * @var string
74
- */
75
- protected $clientSecret;
76
-
77
- /**
78
- * @var AccountData
79
- */
80
- protected $data;
81
-
82
- /**
83
- * Base plugin path
84
- *
85
- * @var string
86
- */
87
- protected $basePluginPath;
88
-
89
- /**
90
- * @var RequestorContract
91
- */
92
- protected $requestor;
93
-
94
- /**
95
- * @var Collector
96
- */
97
- protected $collector;
98
-
99
- /**
100
- * Account constructor.
101
- * @param $id
102
- * @param $secret
103
- * @param $baseDir
104
- */
105
- public function __construct($id, $secret, $baseDir)
106
- {
107
- $this->id = $id;
108
- $this->clientSecret = $secret;
109
-
110
- $this->path = $baseDir;
111
-
112
- $this->basePluginPath = plugin_basename($baseDir);
113
- }
114
-
115
- /**
116
- * @return string
117
- */
118
- public function getPath()
119
- {
120
- return $this->path;
121
- }
122
-
123
- /**
124
- * @param string $path
125
- */
126
- public function setPath($path)
127
- {
128
- $this->data->setPath($path);
129
-
130
- $this->path = $path;
131
- }
132
-
133
- /**
134
- * @return bool
135
- */
136
- public function isOptedIn()
137
- {
138
- return $this->isOptedIn;
139
- }
140
-
141
- /**
142
- * @param bool $isOptedIn
143
- */
144
- public function setIsOptedIn($isOptedIn)
145
- {
146
- $this->data->setIsOptedIn($isOptedIn);
147
-
148
- $this->isOptedIn = $isOptedIn;
149
- }
150
-
151
- /**
152
- * Whether plugin is active
153
- *
154
- * @return bool
155
- */
156
- public function isActive()
157
- {
158
- return is_plugin_active($this->path);
159
- }
160
-
161
- /**
162
- * @param string $id
163
- */
164
- public function setId($id)
165
- {
166
- $this->id = $id;
167
- }
168
-
169
- /**
170
- * @return string
171
- */
172
- public function getId()
173
- {
174
- return $this->id;
175
- }
176
-
177
- /**
178
- * @return bool
179
- */
180
- public function isInstalled()
181
- {
182
- return $this->isInstalled;
183
- }
184
-
185
- /**
186
- * @param bool $isInstalled
187
- */
188
- public function setIsInstalled($isInstalled)
189
- {
190
- $this->data->setIsInstalled($isInstalled);
191
-
192
- $this->isInstalled = $isInstalled;
193
- }
194
-
195
- /**
196
- * Should register activation and deactivation
197
- * event hooks
198
- *
199
- * @return void
200
- */
201
- public function registerHooks()
202
- {
203
- register_activation_hook($this->basePluginPath, [&$this, 'onActivePluginListener']);
204
- register_uninstall_hook($this->basePluginPath, ['Account\Account', 'onUninstallPluginListener']);
205
-
206
- $this->addFilter('plugin_action_links', [&$this, 'onRenderActionLinksHook']);
207
-
208
- $this->addAjax('analyst_opt_in', [&$this, 'onOptInListener']);
209
- $this->addAjax('analyst_opt_out', [&$this, 'onOptOutListener']);
210
- $this->addAjax('analyst_plugin_deactivate', [&$this, 'onDeactivatePluginListener']);
211
- $this->addAjax('analyst_install', [&$this, 'onInstallListener']);
212
- $this->addAjax('analyst_skip_install', [&$this, 'onSkipInstallListener']);
213
- $this->addAjax('analyst_install_verified', [&$this, 'onInstallVerifiedListener']);
214
- }
215
-
216
- /**
217
- * Will fire when admin activates plugin
218
- *
219
- * @return void
220
- */
221
- public function onActivePluginListener()
222
- {
223
- if (!$this->isInstallResolved()) {
224
- DatabaseCache::getInstance()->put('plugin_to_install', $this->id);
225
- }
226
-
227
- if (!$this->isAllowingLogging()) return;
228
-
229
- ActivateRequest::make($this->collector, $this->id, $this->path)
230
- ->execute($this->requestor);
231
-
232
- $this->setIsInstalled(true);
233
-
234
- AccountDataFactory::syncData();
235
- }
236
-
237
- /**
238
- * Will fire when admin deactivates plugin
239
- *
240
- * @return void
241
- */
242
- public function onDeactivatePluginListener()
243
- {
244
- if (!$this->isAllowingLogging()) return;
245
-
246
- $question = isset($_POST['question']) ? stripslashes($_POST['question']) : null;
247
- $reason = isset($_POST['reason']) ? stripslashes($_POST['reason']) : null;
248
-
249
- DeactivateRequest::make($this->collector, $this->id, $this->path, $question, $reason)
250
- ->execute($this->requestor);
251
-
252
- $this->setIsInstalled(false);
253
-
254
- AccountDataFactory::syncData();
255
-
256
- wp_send_json_success();
257
- }
258
-
259
- /**
260
- * Will fire when user opted in
261
- *
262
- * @return void
263
- */
264
- public function onOptInListener()
265
- {
266
- OptInRequest::make($this->collector, $this->id, $this->path)->execute($this->requestor);
267
-
268
- $this->setIsOptedIn(true);
269
-
270
- AccountDataFactory::syncData();
271
-
272
- wp_die();
273
- }
274
-
275
- /**
276
- * Will fire when user opted out
277
- *
278
- * @return void
279
- */
280
- public function onOptOutListener()
281
- {
282
- OptOutRequest::make($this->collector, $this->id, $this->path)->execute($this->requestor);
283
-
284
- $this->setIsOptedIn(false);
285
-
286
- AccountDataFactory::syncData();
287
-
288
- wp_send_json_success();
289
- }
290
-
291
- /**
292
- * Will fire when user accept opt-in
293
- * at first time
294
- *
295
- * @return void
296
- */
297
- public function onInstallListener()
298
- {
299
- $cache = DatabaseCache::getInstance();
300
-
301
- // Set flag to true which indicates that install is resolved
302
- // also remove install plugin id from cache
303
- $this->setIsInstallResolved(true);
304
- $cache->delete('plugin_to_install');
305
-
306
- InstallRequest::make($this->collector, $this->id, $this->path)->execute($this->requestor);
307
-
308
- $this->setIsSigned(true);
309
-
310
- $this->setIsOptedIn(true);
311
-
312
- $factory = NoticeFactory::instance();
313
-
314
- $message = sprintf('Please confirm your email by clicking on the link we sent to %s. This makes sure you’re not a bot.', $this->collector->getGeneralEmailAddress());
315
-
316
- $notificationId = uniqid();
317
-
318
- $notice = Notice::make(
319
- $notificationId,
320
- $this->getId(),
321
- $message,
322
- $this->collector->getPluginName($this->path)
323
- );
324
-
325
- $factory->addNotice($notice);
326
-
327
- AccountDataFactory::syncData();
328
-
329
- // Set email confirmation notification id to cache
330
- // se we can extract and remove it when user confirmed email
331
- $cache->put(
332
- sprintf('account_email_confirmation_%s', $this->getId()),
333
- $notificationId
334
- );
335
-
336
- wp_send_json_success();
337
- }
338
-
339
- /**
340
- * Will fire when user skipped installation
341
- *
342
- * @return void
343
- */
344
- public function onSkipInstallListener()
345
- {
346
- // Set flag to true which indicates that install is resolved
347
- // also remove install plugin id from cache
348
- $this->setIsInstallResolved(true);
349
- DatabaseCache::getInstance()->delete('plugin_to_install');
350
- }
351
-
352
- /**
353
- * Will fire when user delete plugin through admin panel.
354
- * This action will happen if admin at least once
355
- * activated the plugin.
356
- *
357
- * @return void
358
- * @throws \Exception
359
- */
360
- public static function onUninstallPluginListener()
361
- {
362
- $factory = AccountDataFactory::instance();
363
-
364
- $pluginFile = substr(current_filter(), strlen( 'uninstall_' ));
365
-
366
- $account = $factory->getAccountDataByBasePath($pluginFile);
367
-
368
- // If account somehow is not found, exit the execution
369
- if (!$account) return;
370
-
371
- $analyst = Analyst::getInstance();
372
-
373
- $collector = new Collector($analyst);
374
-
375
- $requestor = new ApiRequestor($account->getId(), $account->getSecret(), $analyst->getApiBase());
376
-
377
- // Just send request to log uninstall event not caring about response
378
- UninstallRequest::make($collector, $account->getId(), $account->getPath())->execute($requestor);
379
-
380
- $factory->sync();
381
- }
382
-
383
- /**
384
- * Fires when used verified his account
385
- */
386
- public function onInstallVerifiedListener()
387
- {
388
- $factory = NoticeFactory::instance();
389
-
390
- $notice = Notice::make(
391
- uniqid(),
392
- $this->getId(),
393
- 'Thank you for confirming your email.',
394
- $this->collector->getPluginName($this->path)
395
- );
396
-
397
- $factory->addNotice($notice);
398
-
399
- // Remove confirmation notification
400
- $confirmationNotificationId = DatabaseCache::getInstance()->pop(sprintf('account_email_confirmation_%s', $this->getId()));
401
- $factory->remove($confirmationNotificationId);
402
-
403
- AccountDataFactory::syncData();
404
-
405
- wp_send_json_success();
406
- }
407
-
408
- /**
409
- * Will fire when wp renders plugin
410
- * action buttons
411
- *
412
- * @param $defaultLinks
413
- * @return array
414
- */
415
- public function onRenderActionLinksHook($defaultLinks)
416
- {
417
- $customLinks = [];
418
-
419
- $customLinks[] = $this->isOptedIn()
420
- ? '<a class="analyst-action-opt analyst-opt-out" analyst-plugin-id="' . $this->getId() . '" analyst-plugin-signed="' . (int) $this->isSigned() . '">Opt Out</a>'
421
- : '<a class="analyst-action-opt analyst-opt-in" analyst-plugin-id="' . $this->getId() . '" analyst-plugin-signed="' . (int) $this->isSigned() . '">Opt In</a>';
422
-
423
- // Append anchor to find specific deactivation link
424
- if (isset($defaultLinks['deactivate'])) {
425
- $defaultLinks['deactivate'] .= '<span analyst-plugin-id="' . $this->getId() . '" analyst-plugin-opted-in="' . (int) $this->isOptedIn() . '"></span>';
426
- }
427
-
428
- return array_merge($customLinks, $defaultLinks);
429
- }
430
-
431
- /**
432
- * @return AccountData
433
- */
434
- public function getData()
435
- {
436
- return $this->data;
437
- }
438
-
439
- /**
440
- * @param AccountData $data
441
- */
442
- public function setData(AccountData $data)
443
- {
444
- $this->data = $data;
445
-
446
- $this->setIsOptedIn($data->isOptedIn());
447
- $this->setIsInstalled($data->isInstalled());
448
- $this->setIsSigned($data->isSigned());
449
- $this->setIsInstallResolved($data->isInstallResolved());
450
- }
451
-
452
- /**
453
- * Resolves valid action name
454
- * based on client id
455
- *
456
- * @param $action
457
- * @return string
458
- */
459
- private function resolveActionName($action)
460
- {
461
- return sprintf('%s_%s', $action, $this->id);
462
- }
463
-
464
- /**
465
- * Register action for current plugin
466
- *
467
- * @param $action
468
- * @param $callback
469
- */
470
- private function addFilter($action, $callback)
471
- {
472
- $validAction = sprintf('%s_%s', $action, $this->basePluginPath);
473
-
474
- add_filter($validAction, $callback, 10);
475
- }
476
-
477
- /**
478
- * Add ajax action for current plugin
479
- *
480
- * @param $action
481
- * @param $callback
482
- * @param bool $raw Format action ??
483
- */
484
- private function addAjax($action, $callback, $raw = false)
485
- {
486
- $validAction = $raw ? $action : sprintf('%s%s', 'wp_ajax_', $this->resolveActionName($action));
487
-
488
- add_action($validAction, $callback);
489
- }
490
-
491
- /**
492
- * @return bool
493
- */
494
- public function isSigned()
495
- {
496
- return $this->isSigned;
497
- }
498
-
499
- /**
500
- * @param bool $isSigned
501
- */
502
- public function setIsSigned($isSigned)
503
- {
504
- $this->data->setIsSigned($isSigned);
505
-
506
- $this->isSigned = $isSigned;
507
- }
508
-
509
- /**
510
- * @return RequestorContract
511
- */
512
- public function getRequestor()
513
- {
514
- return $this->requestor;
515
- }
516
-
517
- /**
518
- * @param RequestorContract $requestor
519
- */
520
- public function setRequestor(RequestorContract $requestor)
521
- {
522
- $this->requestor = $requestor;
523
- }
524
-
525
- /**
526
- * @return string
527
- */
528
- public function getClientSecret()
529
- {
530
- return $this->clientSecret;
531
- }
532
-
533
- /**
534
- * @return Collector
535
- */
536
- public function getCollector()
537
- {
538
- return $this->collector;
539
- }
540
-
541
- /**
542
- * @param Collector $collector
543
- */
544
- public function setCollector(Collector $collector)
545
- {
546
- $this->collector = $collector;
547
- }
548
-
549
- /**
550
- * Do we allowing logging
551
- *
552
- * @return bool
553
- */
554
- public function isAllowingLogging()
555
- {
556
- return $this->isOptedIn;
557
- }
558
-
559
- /**
560
- * @return string
561
- */
562
- public function getBasePluginPath()
563
- {
564
- return $this->basePluginPath;
565
- }
566
-
567
- /**
568
- * @return bool
569
- */
570
- public function isInstallResolved()
571
- {
572
- return $this->isInstallResolved;
573
- }
574
-
575
- /**
576
- * @param bool $isInstallResolved
577
- */
578
- public function setIsInstallResolved($isInstallResolved)
579
- {
580
- $this->data->setIsInstallResolved($isInstallResolved);
581
-
582
- $this->isInstallResolved = $isInstallResolved;
583
- }
584
- }
1
+ <?php
2
+
3
+ namespace Account;
4
+
5
+ use Analyst\Analyst;
6
+ use Analyst\ApiRequestor;
7
+ use Analyst\Cache\DatabaseCache;
8
+ use Analyst\Collector;
9
+ use Analyst\Http\Requests\ActivateRequest;
10
+ use Analyst\Http\Requests\DeactivateRequest;
11
+ use Analyst\Http\Requests\InstallRequest;
12
+ use Analyst\Http\Requests\OptInRequest;
13
+ use Analyst\Http\Requests\OptOutRequest;
14
+ use Analyst\Http\Requests\UninstallRequest;
15
+ use Analyst\Notices\Notice;
16
+ use Analyst\Notices\NoticeFactory;
17
+ use Analyst\Contracts\TrackerContract;
18
+ use Analyst\Contracts\RequestorContract;
19
+
20
+ /**
21
+ * Class Account
22
+ *
23
+ * This is plugin's account object
24
+ */
25
+ class Account implements TrackerContract
26
+ {
27
+ /**
28
+ * Account id
29
+ *
30
+ * @var string
31
+ */
32
+ protected $id;
33
+
34
+ /**
35
+ * Basename of plugin
36
+ *
37
+ * @var string
38
+ */
39
+ protected $path;
40
+
41
+ /**
42
+ * Whether plugin is active or not
43
+ *
44
+ * @var bool
45
+ */
46
+ protected $isInstalled = false;
47
+
48
+ /**
49
+ * Is user sign in for data tracking
50
+ *
51
+ * @var bool
52
+ */
53
+ protected $isOptedIn = false;
54
+
55
+ /**
56
+ * Is user accepted permissions grant
57
+ * for collection site data
58
+ *
59
+ * @var bool
60
+ */
61
+ protected $isSigned = false;
62
+
63
+ /**
64
+ * Is user ever resolved install modal window?
65
+ *
66
+ * @var bool
67
+ */
68
+ protected $isInstallResolved = false;
69
+
70
+ /**
71
+ * Public secret code
72
+ *
73
+ * @var string
74
+ */
75
+ protected $clientSecret;
76
+
77
+ /**
78
+ * @var AccountData
79
+ */
80
+ protected $data;
81
+
82
+ /**
83
+ * Base plugin path
84
+ *
85
+ * @var string
86
+ */
87
+ protected $basePluginPath;
88
+
89
+ /**
90
+ * @var RequestorContract
91
+ */
92
+ protected $requestor;
93
+
94
+ /**
95
+ * @var Collector
96
+ */
97
+ protected $collector;
98
+
99
+ /**
100
+ * Account constructor.
101
+ * @param $id
102
+ * @param $secret
103
+ * @param $baseDir
104
+ */
105
+ public function __construct($id, $secret, $baseDir)
106
+ {
107
+ $this->id = $id;
108
+ $this->clientSecret = $secret;
109
+
110
+ $this->path = $baseDir;
111
+
112
+ $this->basePluginPath = plugin_basename($baseDir);
113
+ }
114
+
115
+ /**
116
+ * @return string
117
+ */
118
+ public function getPath()
119
+ {
120
+ return $this->path;
121
+ }
122
+
123
+ /**
124
+ * @param string $path
125
+ */
126
+ public function setPath($path)
127
+ {
128
+ $this->data->setPath($path);
129
+
130
+ $this->path = $path;
131
+ }
132
+
133
+ /**
134
+ * @return bool
135
+ */
136
+ public function isOptedIn()
137
+ {
138
+ return $this->isOptedIn;
139
+ }
140
+
141
+ /**
142
+ * @param bool $isOptedIn
143
+ */
144
+ public function setIsOptedIn($isOptedIn)
145
+ {
146
+ $this->data->setIsOptedIn($isOptedIn);
147
+
148
+ $this->isOptedIn = $isOptedIn;
149
+ }
150
+
151
+ /**
152
+ * Whether plugin is active
153
+ *
154
+ * @return bool
155
+ */
156
+ public function isActive()
157
+ {
158
+ return is_plugin_active($this->path);
159
+ }
160
+
161
+ /**
162
+ * @param string $id
163
+ */
164
+ public function setId($id)
165
+ {
166
+ $this->id = $id;
167
+ }
168
+
169
+ /**
170
+ * @return string
171
+ */
172
+ public function getId()
173
+ {
174
+ return $this->id;
175
+ }
176
+
177
+ /**
178
+ * @return bool
179
+ */
180
+ public function isInstalled()
181
+ {
182
+ return $this->isInstalled;
183
+ }
184
+
185
+ /**
186
+ * @param bool $isInstalled
187
+ */
188
+ public function setIsInstalled($isInstalled)
189
+ {
190
+ $this->data->setIsInstalled($isInstalled);
191
+
192
+ $this->isInstalled = $isInstalled;
193
+ }
194
+
195
+ /**
196
+ * Should register activation and deactivation
197
+ * event hooks
198
+ *
199
+ * @return void
200
+ */
201
+ public function registerHooks()
202
+ {
203
+ register_activation_hook($this->basePluginPath, [&$this, 'onActivePluginListener']);
204
+ register_uninstall_hook($this->basePluginPath, ['Account\Account', 'onUninstallPluginListener']);
205
+
206
+ $this->addFilter('plugin_action_links', [&$this, 'onRenderActionLinksHook']);
207
+
208
+ $this->addAjax('analyst_opt_in', [&$this, 'onOptInListener']);
209
+ $this->addAjax('analyst_opt_out', [&$this, 'onOptOutListener']);
210
+ $this->addAjax('analyst_plugin_deactivate', [&$this, 'onDeactivatePluginListener']);
211
+ $this->addAjax('analyst_install', [&$this, 'onInstallListener']);
212
+ $this->addAjax('analyst_skip_install', [&$this, 'onSkipInstallListener']);
213
+ $this->addAjax('analyst_install_verified', [&$this, 'onInstallVerifiedListener']);
214
+ }
215
+
216
+ /**
217
+ * Will fire when admin activates plugin
218
+ *
219
+ * @return void
220
+ */
221
+ public function onActivePluginListener()
222
+ {
223
+ if (!$this->isInstallResolved()) {
224
+ DatabaseCache::getInstance()->put('plugin_to_install', $this->id);
225
+ }
226
+
227
+ if (!$this->isAllowingLogging()) return;
228
+
229
+ ActivateRequest::make($this->collector, $this->id, $this->path)
230
+ ->execute($this->requestor);
231
+
232
+ $this->setIsInstalled(true);
233
+
234
+ AccountDataFactory::syncData();
235
+ }
236
+
237
+ /**
238
+ * Will fire when admin deactivates plugin
239
+ *
240
+ * @return void
241
+ */
242
+ public function onDeactivatePluginListener()
243
+ {
244
+ if (!$this->isAllowingLogging()) return;
245
+
246
+ $question = isset($_POST['question']) ? stripslashes($_POST['question']) : null;
247
+ $reason = isset($_POST['reason']) ? stripslashes($_POST['reason']) : null;
248
+
249
+ DeactivateRequest::make($this->collector, $this->id, $this->path, $question, $reason)
250
+ ->execute($this->requestor);
251
+
252
+ $this->setIsInstalled(false);
253
+
254
+ AccountDataFactory::syncData();
255
+
256
+ wp_send_json_success();
257
+ }
258
+
259
+ /**
260
+ * Will fire when user opted in
261
+ *
262
+ * @return void
263
+ */
264
+ public function onOptInListener()
265
+ {
266
+ OptInRequest::make($this->collector, $this->id, $this->path)->execute($this->requestor);
267
+
268
+ $this->setIsOptedIn(true);
269
+
270
+ AccountDataFactory::syncData();
271
+
272
+ wp_die();
273
+ }
274
+
275
+ /**
276
+ * Will fire when user opted out
277
+ *
278
+ * @return void
279
+ */
280
+ public function onOptOutListener()
281
+ {
282
+ OptOutRequest::make($this->collector, $this->id, $this->path)->execute($this->requestor);
283
+
284
+ $this->setIsOptedIn(false);
285
+
286
+ AccountDataFactory::syncData();
287
+
288
+ wp_send_json_success();
289
+ }
290
+
291
+ /**
292
+ * Will fire when user accept opt-in
293
+ * at first time
294
+ *
295
+ * @return void
296
+ */
297
+ public function onInstallListener()
298
+ {
299
+ $cache = DatabaseCache::getInstance();
300
+
301
+ // Set flag to true which indicates that install is resolved
302
+ // also remove install plugin id from cache
303
+ $this->setIsInstallResolved(true);
304
+ $cache->delete('plugin_to_install');
305
+
306
+ InstallRequest::make($this->collector, $this->id, $this->path)->execute($this->requestor);
307
+
308
+ $this->setIsSigned(true);
309
+
310
+ $this->setIsOptedIn(true);
311
+
312
+ $factory = NoticeFactory::instance();
313
+
314
+ $message = sprintf('Please confirm your email by clicking on the link we sent to %s. This makes sure you’re not a bot.', $this->collector->getGeneralEmailAddress());
315
+
316
+ $notificationId = uniqid();
317
+
318
+ $notice = Notice::make(
319
+ $notificationId,
320
+ $this->getId(),
321
+ $message,
322
+ $this->collector->getPluginName($this->path)
323
+ );
324
+
325
+ $factory->addNotice($notice);
326
+
327
+ AccountDataFactory::syncData();
328
+
329
+ // Set email confirmation notification id to cache
330
+ // se we can extract and remove it when user confirmed email
331
+ $cache->put(
332
+ sprintf('account_email_confirmation_%s', $this->getId()),
333
+ $notificationId
334
+ );
335
+
336
+ wp_send_json_success();
337
+ }
338
+
339
+ /**
340
+ * Will fire when user skipped installation
341
+ *
342
+ * @return void
343
+ */
344
+ public function onSkipInstallListener()
345
+ {
346
+ // Set flag to true which indicates that install is resolved
347
+ // also remove install plugin id from cache
348
+ $this->setIsInstallResolved(true);
349
+ DatabaseCache::getInstance()->delete('plugin_to_install');
350
+ }
351
+
352
+ /**
353
+ * Will fire when user delete plugin through admin panel.
354
+ * This action will happen if admin at least once
355
+ * activated the plugin.
356
+ *
357
+ * @return void
358
+ * @throws \Exception
359
+ */
360
+ public static function onUninstallPluginListener()
361
+ {
362
+ $factory = AccountDataFactory::instance();
363
+
364
+ $pluginFile = substr(current_filter(), strlen( 'uninstall_' ));
365
+
366
+ $account = $factory->getAccountDataByBasePath($pluginFile);
367
+
368
+ // If account somehow is not found, exit the execution
369
+ if (!$account) return;
370
+
371
+ $analyst = Analyst::getInstance();
372
+
373
+ $collector = new Collector($analyst);
374
+
375
+ $requestor = new ApiRequestor($account->getId(), $account->getSecret(), $analyst->getApiBase());
376
+
377
+ // Just send request to log uninstall event not caring about response
378
+ UninstallRequest::make($collector, $account->getId(), $account->getPath())->execute($requestor);
379
+
380
+ $factory->sync();
381
+ }
382
+
383
+ /**
384
+ * Fires when used verified his account
385
+ */
386
+ public function onInstallVerifiedListener()
387
+ {
388
+ $factory = NoticeFactory::instance();
389
+
390
+ $notice = Notice::make(
391
+ uniqid(),
392
+ $this->getId(),
393
+ 'Thank you for confirming your email.',
394
+ $this->collector->getPluginName($this->path)
395
+ );
396
+
397
+ $factory->addNotice($notice);
398
+
399
+ // Remove confirmation notification
400
+ $confirmationNotificationId = DatabaseCache::getInstance()->pop(sprintf('account_email_confirmation_%s', $this->getId()));
401
+ $factory->remove($confirmationNotificationId);
402
+
403
+ AccountDataFactory::syncData();
404
+
405
+ wp_send_json_success();
406
+ }
407
+
408
+ /**
409
+ * Will fire when wp renders plugin
410
+ * action buttons
411
+ *
412
+ * @param $defaultLinks
413
+ * @return array
414
+ */
415
+ public function onRenderActionLinksHook($defaultLinks)
416
+ {
417
+ $customLinks = [];
418
+
419
+ $customLinks[] = $this->isOptedIn()
420
+ ? '<a class="analyst-action-opt analyst-opt-out" analyst-plugin-id="' . $this->getId() . '" analyst-plugin-signed="' . (int) $this->isSigned() . '">Opt Out</a>'
421
+ : '<a class="analyst-action-opt analyst-opt-in" analyst-plugin-id="' . $this->getId() . '" analyst-plugin-signed="' . (int) $this->isSigned() . '">Opt In</a>';
422
+
423
+ // Append anchor to find specific deactivation link
424
+ if (isset($defaultLinks['deactivate'])) {
425
+ $defaultLinks['deactivate'] .= '<span analyst-plugin-id="' . $this->getId() . '" analyst-plugin-opted-in="' . (int) $this->isOptedIn() . '"></span>';
426
+ }
427
+
428
+ return array_merge($customLinks, $defaultLinks);
429
+ }
430
+
431
+ /**
432
+ * @return AccountData
433
+ */
434
+ public function getData()
435
+ {
436
+ return $this->data;
437
+ }
438
+
439
+ /**
440
+ * @param AccountData $data
441
+ */
442
+ public function setData(AccountData $data)
443
+ {
444
+ $this->data = $data;
445
+
446
+ $this->setIsOptedIn($data->isOptedIn());
447
+ $this->setIsInstalled($data->isInstalled());
448
+ $this->setIsSigned($data->isSigned());
449
+ $this->setIsInstallResolved($data->isInstallResolved());
450
+ }
451
+
452
+ /**
453
+ * Resolves valid action name
454
+ * based on client id
455
+ *
456
+ * @param $action
457
+ * @return string
458
+ */
459
+ private function resolveActionName($action)
460
+ {
461
+ return sprintf('%s_%s', $action, $this->id);
462
+ }
463
+
464
+ /**
465
+ * Register action for current plugin
466
+ *
467
+ * @param $action
468
+ * @param $callback
469
+ */
470
+ private function addFilter($action, $callback)
471
+ {
472
+ $validAction = sprintf('%s_%s', $action, $this->basePluginPath);
473
+
474
+ add_filter($validAction, $callback, 10);
475
+ }
476
+
477
+ /**
478
+ * Add ajax action for current plugin
479
+ *
480
+ * @param $action
481
+ * @param $callback
482
+ * @param bool $raw Format action ??
483
+ */
484
+ private function addAjax($action, $callback, $raw = false)
485
+ {
486
+ $validAction = $raw ? $action : sprintf('%s%s', 'wp_ajax_', $this->resolveActionName($action));
487
+
488
+ add_action($validAction, $callback);
489
+ }
490
+
491
+ /**
492
+ * @return bool
493
+ */
494
+ public function isSigned()
495
+ {
496
+ return $this->isSigned;
497
+ }
498
+
499
+ /**
500
+ * @param bool $isSigned
501
+ */
502
+ public function setIsSigned($isSigned)
503
+ {
504
+ $this->data->setIsSigned($isSigned);
505
+
506
+ $this->isSigned = $isSigned;
507
+ }
508
+
509
+ /**
510
+ * @return RequestorContract
511
+ */
512
+ public function getRequestor()
513
+ {
514
+ return $this->requestor;
515
+ }
516
+
517
+ /**
518
+ * @param RequestorContract $requestor
519
+ */
520
+ public function setRequestor(RequestorContract $requestor)
521
+ {
522
+ $this->requestor = $requestor;
523
+ }
524
+
525
+ /**
526
+ * @return string
527
+ */
528
+ public function getClientSecret()
529
+ {
530
+ return $this->clientSecret;
531
+ }
532
+
533
+ /**
534
+ * @return Collector
535
+ */
536
+ public function getCollector()
537
+ {
538
+ return $this->collector;
539
+ }
540
+
541
+ /**
542
+ * @param Collector $collector
543
+ */
544
+ public function setCollector(Collector $collector)
545
+ {
546
+ $this->collector = $collector;
547
+ }
548
+
549
+ /**
550
+ * Do we allowing logging
551
+ *
552
+ * @return bool
553
+ */
554
+ public function isAllowingLogging()
555
+ {
556
+ return $this->isOptedIn;
557
+ }
558
+
559
+ /**
560
+ * @return string
561
+ */
562
+ public function getBasePluginPath()
563
+ {
564
+ return $this->basePluginPath;
565
+ }
566
+
567
+ /**
568
+ * @return bool
569
+ */
570
+ public function isInstallResolved()
571
+ {
572
+ return $this->isInstallResolved;
573
+ }
574
+
575
+ /**
576
+ * @param bool $isInstallResolved
577
+ */
578
+ public function setIsInstallResolved($isInstallResolved)
579
+ {
580
+ $this->data->setIsInstallResolved($isInstallResolved);
581
+
582
+ $this->isInstallResolved = $isInstallResolved;
583
+ }
584
+ }
analyst/src/Account/AccountData.php CHANGED
@@ -1,176 +1,176 @@
1
- <?php
2
-
3
- namespace Account;
4
-
5
- /**
6
- * Class AccountData is the data holder
7
- * for Analyst\Account\Account class
8
- * which is unserialized from database
9
- */
10
- class AccountData
11
- {
12
- /**
13
- * Account id
14
- *
15
- * @var string
16
- */
17
- protected $id;
18
-
19
- /**
20
- * Account secret key
21
- *
22
- * @var string
23
- */
24
- protected $secret;
25
-
26
- /**
27
- * Basename of plugin
28
- *
29
- * @var string
30
- */
31
- protected $path;
32
-
33
- /**
34
- * Whether admin accepted opt in
35
- * terms and permissions
36
- *
37
- * @var bool
38
- */
39
- protected $isInstalled = false;
40
-
41
- /**
42
- * Is user sign in for data tracking
43
- *
44
- * @var bool
45
- */
46
- protected $isOptedIn = false;
47
-
48
- /**
49
- * Is user accepted permissions grant
50
- * for collection site data
51
- *
52
- * @var bool
53
- */
54
- protected $isSigned = false;
55
-
56
- /**
57
- * Is user ever resolved install modal window?
58
- *
59
- * @var bool
60
- */
61
- protected $isInstallResolved;
62
-
63
- /**
64
- * @return string
65
- */
66
- public function getId()
67
- {
68
- return $this->id;
69
- }
70
-
71
- /**
72
- * @param string $id
73
- */
74
- public function setId($id)
75
- {
76
- $this->id = $id;
77
- }
78
-
79
- /**
80
- * @param string $path
81
- * @return AccountData
82
- */
83
- public function setPath($path)
84
- {
85
- $this->path = $path;
86
- return $this;
87
- }
88
-
89
- /**
90
- * @return bool
91
- */
92
- public function isInstalled()
93
- {
94
- return $this->isInstalled;
95
- }
96
-
97
- /**
98
- * @param bool $isInstalled
99
- */
100
- public function setIsInstalled($isInstalled)
101
- {
102
- $this->isInstalled = $isInstalled;
103
- }
104
-
105
- /**
106
- * @return bool
107
- */
108
- public function isOptedIn()
109
- {
110
- return $this->isOptedIn;
111
- }
112
-
113
- /**
114
- * @param bool $isOptedIn
115
- */
116
- public function setIsOptedIn($isOptedIn)
117
- {
118
- $this->isOptedIn = $isOptedIn;
119
- }
120
-
121
- /**
122
- * @return bool
123
- */
124
- public function isSigned()
125
- {
126
- return $this->isSigned;
127
- }
128
-
129
- /**
130
- * @param bool $isSigned
131
- */
132
- public function setIsSigned($isSigned)
133
- {
134
- $this->isSigned = $isSigned;
135
- }
136
-
137
- /**
138
- * @return string
139
- */
140
- public function getPath()
141
- {
142
- return $this->path;
143
- }
144
-
145
- /**
146
- * @return string
147
- */
148
- public function getSecret()
149
- {
150
- return $this->secret;
151
- }
152
-
153
- /**
154
- * @param string $secret
155
- */
156
- public function setSecret($secret)
157
- {
158
- $this->secret = $secret;
159
- }
160
-
161
- /**
162
- * @return bool
163
- */
164
- public function isInstallResolved()
165
- {
166
- return $this->isInstallResolved;
167
- }
168
-
169
- /**
170
- * @param bool $isInstallResolved
171
- */
172
- public function setIsInstallResolved($isInstallResolved)
173
- {
174
- $this->isInstallResolved = $isInstallResolved;
175
- }
176
- }
1
+ <?php
2
+
3
+ namespace Account;
4
+
5
+ /**
6
+ * Class AccountData is the data holder
7
+ * for Analyst\Account\Account class
8
+ * which is unserialized from database
9
+ */
10
+ class AccountData
11
+ {
12
+ /**
13
+ * Account id
14
+ *
15
+ * @var string
16
+ */
17
+ protected $id;
18
+
19
+ /**
20
+ * Account secret key
21
+ *
22
+ * @var string
23
+ */
24
+ protected $secret;
25
+
26
+ /**
27
+ * Basename of plugin
28
+ *
29
+ * @var string
30
+ */
31
+ protected $path;
32
+
33
+ /**
34
+ * Whether admin accepted opt in
35
+ * terms and permissions
36
+ *
37
+ * @var bool
38
+ */
39
+ protected $isInstalled = false;
40
+
41
+ /**
42
+ * Is user sign in for data tracking
43
+ *
44
+ * @var bool
45
+ */
46
+ protected $isOptedIn = false;
47
+
48
+ /**
49
+ * Is user accepted permissions grant
50
+ * for collection site data
51
+ *
52
+ * @var bool
53
+ */
54
+ protected $isSigned = false;
55
+
56
+ /**
57
+ * Is user ever resolved install modal window?
58
+ *
59
+ * @var bool
60
+ */
61
+ protected $isInstallResolved;
62
+
63
+ /**
64
+ * @return string
65
+ */
66
+ public function getId()
67
+ {
68
+ return $this->id;
69
+ }
70
+
71
+ /**
72
+ * @param string $id
73
+ */
74
+ public function setId($id)
75
+ {
76
+ $this->id = $id;
77
+ }
78
+
79
+ /**
80
+ * @param string $path
81
+ * @return AccountData
82
+ */
83
+ public function setPath($path)
84
+ {
85
+ $this->path = $path;
86
+ return $this;
87
+ }
88
+
89
+ /**
90
+ * @return bool
91
+ */
92
+ public function isInstalled()
93
+ {
94
+ return $this->isInstalled;
95
+ }
96
+
97
+ /**
98
+ * @param bool $isInstalled
99
+ */
100
+ public function setIsInstalled($isInstalled)
101
+ {
102
+ $this->isInstalled = $isInstalled;
103
+ }
104
+
105
+ /**
106
+ * @return bool
107
+ */
108
+ public function isOptedIn()
109
+ {
110
+ return $this->isOptedIn;
111
+ }
112
+
113
+ /**
114
+ * @param bool $isOptedIn
115
+ */
116
+ public function setIsOptedIn($isOptedIn)
117
+ {
118
+ $this->isOptedIn = $isOptedIn;
119
+ }
120
+
121
+ /**
122
+ * @return bool
123
+ */
124
+ public function isSigned()
125
+ {
126
+ return $this->isSigned;
127
+ }
128
+
129
+ /**
130
+ * @param bool $isSigned
131
+ */
132
+ public function setIsSigned($isSigned)
133
+ {
134
+ $this->isSigned = $isSigned;
135
+ }
136
+
137
+ /**
138
+ * @return string
139
+ */
140
+ public function getPath()
141
+ {
142
+ return $this->path;
143
+ }
144
+
145
+ /**
146
+ * @return string
147
+ */
148
+ public function getSecret()
149
+ {
150
+ return $this->secret;
151
+ }
152
+
153
+ /**
154
+ * @param string $secret
155
+ */
156
+ public function setSecret($secret)
157
+ {
158
+ $this->secret = $secret;
159
+ }
160
+
161
+ /**
162
+ * @return bool
163
+ */
164
+ public function isInstallResolved()
165
+ {
166
+ return $this->isInstallResolved;
167
+ }
168
+
169
+ /**
170
+ * @param bool $isInstallResolved
171
+ */
172
+ public function setIsInstallResolved($isInstallResolved)
173
+ {
174
+ $this->isInstallResolved = $isInstallResolved;
175
+ }
176
+ }
analyst/src/Account/AccountDataFactory.php CHANGED
@@ -1,125 +1,125 @@
1
- <?php
2
-
3
- namespace Account;
4
-
5
-
6
- use Analyst\Core\AbstractFactory;
7
-
8
- /**
9
- * Class AccountDataFactory
10
- *
11
- * Holds information about this
12
- * wordpress project plugins accounts
13
- *
14
- */
15
- class AccountDataFactory extends AbstractFactory
16
- {
17
- private static $instance;
18
-
19
- CONST OPTIONS_KEY = 'analyst_accounts_data';
20
-
21
- /**
22
- * @var AccountData[]
23
- */
24
- protected $accounts = [];
25
-
26
- /**
27
- * Read factory from options or make fresh instance
28
- *
29
- * @return static
30
- */
31
- public static function instance()
32
- {
33
- if (!static::$instance) {
34
- $raw = get_option(self::OPTIONS_KEY);
35
-
36
- // In case object is already unserialized
37
- // and instance of AccountDataFactory we
38
- // return it, in other case deal with
39
- // serialized string data
40
- if ($raw instanceof self) {
41
- static::$instance = $raw;
42
- } else {
43
- static::$instance = is_string($raw) ? static::unserialize($raw) : new self();
44
- }
45
- }
46
-
47
- return static::$instance;
48
- }
49
-
50
- /**
51
- * Sync this object data with cache
52
- */
53
- public function sync()
54
- {
55
- update_option(self::OPTIONS_KEY, serialize($this));
56
- }
57
-
58
- /**
59
- * Sync this instance data with cache
60
- */
61
- public static function syncData()
62
- {
63
- static::instance()->sync();
64
- }
65
-
66
- /**
67
- * Find plugin account data or create fresh one
68
- *
69
- * @param Account $account
70
- * @return AccountData|null
71
- */
72
- public function resolvePluginAccountData(Account $account)
73
- {
74
- $accountData = $this->findAccountDataById($account->getId());
75
-
76
- if (!$accountData) {
77
- $accountData = new AccountData();
78
-
79
- // Set proper default values
80
- $accountData->setPath($account->getPath());
81
- $accountData->setId($account->getId());
82
- $accountData->setSecret($account->getClientSecret());
83
-
84
- array_push($this->accounts, $accountData);
85
- }
86
-
87
- return $accountData;
88
- }
89
-
90
- /**
91
- * Should return account data by base path
92
- *
93
- * @param $basePath
94
- * @return AccountData
95
- */
96
- public function getAccountDataByBasePath($basePath)
97
- {
98
- foreach ($this->accounts as $iterable) {
99
- $iterableBasePath = plugin_basename($iterable->getPath());
100
-
101
- if ($iterableBasePath === $basePath) {
102
- return $iterable;
103
- }
104
- }
105
-
106
- return null;
107
- }
108
-
109
- /**
110
- * Return account by id
111
- *
112
- * @param $id
113
- * @return AccountData|null
114
- */
115
- private function findAccountDataById($id)
116
- {
117
- foreach ($this->accounts as &$iterable) {
118
- if ($iterable->getId() === $id) {
119
- return $iterable;
120
- }
121
- }
122
-
123
- return null;
124
- }
125
- }
1
+ <?php
2
+
3
+ namespace Account;
4
+
5
+
6
+ use Analyst\Core\AbstractFactory;
7
+
8
+ /**
9
+ * Class AccountDataFactory
10
+ *
11
+ * Holds information about this
12
+ * wordpress project plugins accounts
13
+ *
14
+ */
15
+ class AccountDataFactory extends AbstractFactory
16
+ {
17
+ private static $instance;
18
+
19
+ CONST OPTIONS_KEY = 'analyst_accounts_data';
20
+
21
+ /**
22
+ * @var AccountData[]
23
+ */
24
+ protected $accounts = [];
25
+
26
+ /**
27
+ * Read factory from options or make fresh instance
28
+ *
29
+ * @return static
30
+ */
31
+ public static function instance()
32
+ {
33
+ if (!static::$instance) {
34
+ $raw = get_option(self::OPTIONS_KEY);
35
+
36
+ // In case object is already unserialized
37
+ // and instance of AccountDataFactory we
38
+ // return it, in other case deal with
39
+ // serialized string data
40
+ if ($raw instanceof self) {
41
+ static::$instance = $raw;
42
+ } else {
43
+ static::$instance = is_string($raw) ? static::unserialize($raw) : new self();
44
+ }
45
+ }
46
+
47
+ return static::$instance;
48
+ }
49
+
50
+ /**
51
+ * Sync this object data with cache
52
+ */
53
+ public function sync()
54
+ {
55
+ update_option(self::OPTIONS_KEY, serialize($this));
56
+ }
57
+
58
+ /**
59
+ * Sync this instance data with cache
60
+ */
61
+ public static function syncData()
62
+ {
63
+ static::instance()->sync();
64
+ }
65
+
66
+ /**
67
+ * Find plugin account data or create fresh one
68
+ *
69
+ * @param Account $account
70
+ * @return AccountData|null
71
+ */
72
+ public function resolvePluginAccountData(Account $account)
73
+ {
74
+ $accountData = $this->findAccountDataById($account->getId());
75
+
76
+ if (!$accountData) {
77
+ $accountData = new AccountData();
78
+
79
+ // Set proper default values
80
+ $accountData->setPath($account->getPath());
81
+ $accountData->setId($account->getId());
82
+ $accountData->setSecret($account->getClientSecret());
83
+
84
+ array_push($this->accounts, $accountData);
85
+ }
86
+
87
+ return $accountData;
88
+ }
89
+
90
+ /**
91
+ * Should return account data by base path
92
+ *
93
+ * @param $basePath
94
+ * @return AccountData
95
+ */
96
+ public function getAccountDataByBasePath($basePath)
97
+ {
98
+ foreach ($this->accounts as $iterable) {
99
+ $iterableBasePath = plugin_basename($iterable->getPath());
100
+
101
+ if ($iterableBasePath === $basePath) {
102
+ return $iterable;
103
+ }
104
+ }
105
+
106
+ return null;
107
+ }
108
+
109
+ /**
110
+ * Return account by id
111
+ *
112
+ * @param $id
113
+ * @return AccountData|null
114
+ */
115
+ private function findAccountDataById($id)
116
+ {
117
+ foreach ($this->accounts as &$iterable) {
118
+ if ($iterable->getId() === $id) {
119
+ return $iterable;
120
+ }
121
+ }
122
+
123
+ return null;
124
+ }
125
+ }
analyst/src/Analyst.php CHANGED
@@ -1,167 +1,167 @@
1
- <?php
2
- namespace Analyst;
3
-
4
- use Account\Account;
5
- use Account\AccountDataFactory;
6
- use Analyst\Contracts\AnalystContract;
7
- use Analyst\Contracts\RequestorContract;
8
-
9
- class Analyst implements AnalystContract
10
- {
11
- /**
12
- * All plugin's accounts
13
- *
14
- * @var array
15
- */
16
- protected $accounts = array();
17
-
18
- /**
19
- * @var Mutator
20
- */
21
- protected $mutator;
22
-
23
- /**
24
- * @var AccountDataFactory
25
- */
26
- protected $accountDataFactory;
27
-
28
- /**
29
- * Base url to api
30
- *
31
- * @var string
32
- */
33
- protected $apiBase = 'https://feedback.sellcodes.com/api/v1';
34
-
35
- /**
36
- * @var Collector
37
- */
38
- protected $collector;
39
-
40
- /**
41
- * Singleton instance
42
- *
43
- * @var static
44
- */
45
- protected static $instance;
46
-
47
- /**
48
- * Get instance of analyst
49
- *
50
- * @return Analyst
51
- * @throws \Exception
52
- */
53
- public static function getInstance()
54
- {
55
- if (!static::$instance) {
56
- static::$instance = new Analyst();
57
- }
58
-
59
- return static::$instance;
60
- }
61
-
62
- protected function __construct()
63
- {
64
- $this->mutator = new Mutator();
65
-
66
- $this->accountDataFactory = AccountDataFactory::instance();
67
-
68
- $this->mutator->initialize();
69
-
70
- $this->collector = new Collector($this);
71
-
72
- $this->initialize();
73
- }
74
-
75
- /**
76
- * Initialize rest of application
77
- */
78
- public function initialize()
79
- {
80
- add_action('init', function () {
81
- $this->collector->loadCurrentUser();
82
- });
83
- }
84
-
85
- /**
86
- * Register new account
87
- *
88
- * @param Account $account
89
- * @return Analyst
90
- * @throws \Exception
91
- */
92
- public function registerAccount($account)
93
- {
94
- // Stop propagation when account is already registered
95
- if ($this->isAccountRegistered($account)) {
96
- return $this;
97
- }
98
-
99
- // Resolve account data from factory
100
- $accountData = $this->accountDataFactory->resolvePluginAccountData($account);
101
-
102
- $account->setData($accountData);
103
-
104
- $account->setRequestor(
105
- $this->resolveRequestorForAccount($account)
106
- );
107
-
108
- $account->setCollector($this->collector);
109
-
110
- $account->registerHooks();
111
-
112
- $this->accounts[$account->getId()] = $account;
113
-
114
- return $this;
115
- }
116
-
117
- /**
118
- * Must return version of analyst
119
- *
120
- * @return string
121
- */
122
- public static function version()
123
- {
124
- $version = require __DIR__ . '/../version.php';
125
-
126
- return $version['sdk'];
127
- }
128
-
129
- /**
130
- * Is this account registered
131
- *
132
- * @param Account $account
133
- * @return bool
134
- */
135
- protected function isAccountRegistered($account)
136
- {
137
- return isset($this->accounts[$account->getId()]);
138
- }
139
-
140
- /**
141
- * Resolves requestor for account
142
- *
143
- * @param Account $account
144
- * @return RequestorContract
145
- * @throws \Exception
146
- */
147
- protected function resolveRequestorForAccount(Account $account)
148
- {
149
- $requestor = new ApiRequestor($account->getId(), $account->getClientSecret(), $this->apiBase);
150
-
151
- // Set SDK version
152
- $requestor->setDefaultHeader(
153
- 'x-analyst-client-user-agent',
154
- sprintf('Analyst/%s', $this->version())
155
- );
156
-
157
- return $requestor;
158
- }
159
-
160
- /**
161
- * @return string
162
- */
163
- public function getApiBase()
164
- {
165
- return $this->apiBase;
166
- }
167
- }
1
+ <?php
2
+ namespace Analyst;
3
+
4
+ use Account\Account;
5
+ use Account\AccountDataFactory;
6
+ use Analyst\Contracts\AnalystContract;
7
+ use Analyst\Contracts\RequestorContract;
8
+
9
+ class Analyst implements AnalystContract
10
+ {
11
+ /**
12
+ * All plugin's accounts
13
+ *
14
+ * @var array
15
+ */
16
+ protected $accounts = array();
17
+
18
+ /**
19
+ * @var Mutator
20
+ */
21
+ protected $mutator;
22
+
23
+ /**
24
+ * @var AccountDataFactory
25
+ */
26
+ protected $accountDataFactory;
27
+
28
+ /**
29
+ * Base url to api
30
+ *
31
+ * @var string
32
+ */
33
+ protected $apiBase = 'https://feedback.sellcodes.com/api/v1';
34
+
35
+ /**
36
+ * @var Collector
37
+ */
38
+ protected $collector;
39
+
40
+ /**
41
+ * Singleton instance
42
+ *
43
+ * @var static
44
+ */
45
+ protected static $instance;
46
+
47
+ /**
48
+ * Get instance of analyst
49
+ *
50
+ * @return Analyst
51
+ * @throws \Exception
52
+ */
53
+ public static function getInstance()
54
+ {
55
+ if (!static::$instance) {
56
+ static::$instance = new Analyst();
57
+ }
58
+
59
+ return static::$instance;
60
+ }
61
+
62
+ protected function __construct()
63
+ {
64
+ $this->mutator = new Mutator();
65
+
66
+ $this->accountDataFactory = AccountDataFactory::instance();
67
+
68
+ $this->mutator->initialize();
69
+
70
+ $this->collector = new Collector($this);
71
+
72
+ $this->initialize();
73
+ }
74
+
75
+ /**
76
+ * Initialize rest of application
77
+ */
78
+ public function initialize()
79
+ {
80
+ add_action('init', function () {
81
+ $this->collector->loadCurrentUser();
82
+ });
83
+ }
84
+
85
+ /**
86
+ * Register new account
87
+ *
88
+ * @param Account $account
89
+ * @return Analyst
90
+ * @throws \Exception
91
+ */
92
+ public function registerAccount($account)
93
+ {
94
+ // Stop propagation when account is already registered
95
+ if ($this->isAccountRegistered($account)) {
96
+ return $this;
97
+ }
98
+
99
+ // Resolve account data from factory
100
+ $accountData = $this->accountDataFactory->resolvePluginAccountData($account);
101
+
102
+ $account->setData($accountData);
103
+
104
+ $account->setRequestor(
105
+ $this->resolveRequestorForAccount($account)
106
+ );
107
+
108
+ $account->setCollector($this->collector);
109
+
110
+ $account->registerHooks();
111
+
112
+ $this->accounts[$account->getId()] = $account;
113
+
114
+ return $this;
115
+ }
116
+
117
+ /**
118
+ * Must return version of analyst
119
+ *
120
+ * @return string
121
+ */
122
+ public static function version()
123
+ {
124
+ $version = require __DIR__ . '/../version.php';
125
+
126
+ return $version['sdk'];
127
+ }
128
+
129
+ /**
130
+ * Is this account registered
131
+ *
132
+ * @param Account $account
133
+ * @return bool
134
+ */
135
+ protected function isAccountRegistered($account)
136
+ {
137
+ return isset($this->accounts[$account->getId()]);
138
+ }
139
+
140
+ /**
141
+ * Resolves requestor for account
142
+ *
143
+ * @param Account $account
144
+ * @return RequestorContract
145
+ * @throws \Exception
146
+ */
147
+ protected function resolveRequestorForAccount(Account $account)
148
+ {
149
+ $requestor = new ApiRequestor($account->getId(), $account->getClientSecret(), $this->apiBase);
150
+
151
+ // Set SDK version
152
+ $requestor->setDefaultHeader(
153
+ 'x-analyst-client-user-agent',
154
+ sprintf('Analyst/%s', $this->version())
155
+ );
156
+
157
+ return $requestor;
158
+ }
159
+
160
+ /**
161
+ * @return string
162
+ */
163
+ public function getApiBase()
164
+ {
165
+ return $this->apiBase;
166
+ }
167
+ }
analyst/src/ApiRequestor.php CHANGED
@@ -1,257 +1,257 @@
1
- <?php
2
-
3
- namespace Analyst;
4
-
5
- use Exception;
6
- use Analyst\Contracts\HttpClientContract;
7
- use Analyst\Contracts\RequestorContract;
8
-
9
- class ApiRequestor implements RequestorContract
10
- {
11
- /**
12
- * Supported http client
13
- *
14
- * @var HttpClientContract
15
- */
16
- protected $httpClient;
17
-
18
- /**
19
- * @var string
20
- */
21
- protected $clientId;
22
-
23
- /**
24
- * @var string
25
- */
26
- protected $clientSecret;
27
-
28
- /**
29
- * @var string
30
- */
31
- protected $apiBase;
32
-
33
- /**
34
- * Default headers to be sent
35
- *
36
- * @var array
37
- */
38
- protected $defaultHeaders = [
39
- 'accept' => 'application/json',
40
- 'content-type' => 'application/json'
41
- ];
42
-
43
- /**
44
- * Prioritized http clients
45
- *
46
- * @var array
47
- */
48
- protected $availableClients = [
49
- 'Analyst\Http\WordPressHttpClient',
50
- 'Analyst\Http\CurlHttpClient',
51
- 'Analyst\Http\DummyHttpClient',
52
- ];
53
-
54
- /**
55
- * ApiRequestor constructor.
56
- * @param $id
57
- * @param $secret
58
- * @param $apiBase
59
- * @throws \Exception
60
- */
61
- public function __construct($id, $secret, $apiBase)
62
- {
63
- $this->clientId = $id;
64
- $this->clientSecret = $secret;
65
-
66
- $this->setApiBase($apiBase);
67
-
68
- $this->httpClient = $this->resolveHttpClient();
69
- }
70
-
71
- /**
72
- * Set api base url
73
- *
74
- * @param $url
75
- */
76
- public function setApiBase($url)
77
- {
78
- $this->apiBase = $url;
79
- }
80
-
81
- /**
82
- * Get request
83
- *
84
- * @param $url
85
- * @param array $headers
86
- * @return mixed
87
- */
88
- public function get($url, $headers = [])
89
- {
90
- return $this->request('GET', $url, null, $headers);
91
- }
92
-
93
- /**
94
- * Post request
95
- *
96
- * @param $url
97
- * @param $body
98
- * @param array $headers
99
- * @return mixed
100
- */
101
- public function post($url, $body = [], $headers = [])
102
- {
103
- return $this->request('POST', $url, $body, $headers);
104
- }
105
-
106
- /**
107
- * Put request
108
- *
109
- * @param $url
110
- * @param $body
111
- * @param array $headers
112
- * @return mixed
113
- */
114
- public function put($url, $body = [], $headers = [])
115
- {
116
- return $this->request('PUT', $url, $body, $headers);
117
- }
118
-
119
- /**
120
- * Delete request
121
- *
122
- * @param $url
123
- * @param array $headers
124
- * @return mixed
125
- */
126
- public function delete($url, $headers = [])
127
- {
128
- return $this->request('DELETE', $url, null, $headers);
129
- }
130
-
131
- /**
132
- * Make request to api
133
- *
134
- * @param $method
135
- * @param $url
136
- * @param array $body
137
- * @param array $headers
138
- * @return mixed
139
- */
140
- protected function request($method, $url, $body = [], $headers = [])
141
- {
142
- $fullUrl = $this->resolveFullUrl($url);
143
-
144
- $date = date('r', time());
145
-
146
- $headers['date'] = $date;
147
- $headers['signature'] = $this->resolveSignature($this->clientSecret, $method, $fullUrl, $body, $date);
148
-
149
- // Lowercase header names
150
- $headers = $this->prepareHeaders(
151
- array_merge($headers, $this->defaultHeaders)
152
- );
153
-
154
- $response = $this->httpClient->request($method, $fullUrl, $body, $headers);
155
-
156
- // TODO: Check response code and take actions
157
-
158
- return $response;
159
- }
160
-
161
- /**
162
- * Set one default header
163
- *
164
- * @param $header
165
- * @param $value
166
- */
167
- public function setDefaultHeader($header, $value)
168
- {
169
- $this->defaultHeaders[
170
- $this->resolveValidHeaderName($header)
171
- ] = $value;
172
- }
173
-
174
- /**
175
- * Resolves supported http client
176
- *
177
- * @return HttpClientContract
178
- * @throws Exception
179
- */
180
- protected function resolveHttpClient()
181
- {
182
- $clients = array_filter($this->availableClients, $this->guessClientSupportEnvironment());
183
-
184
- if (!isset($clients[0])) {
185
- throw new Exception('There is no http client which this application can support');
186
- }
187
-
188
- // Instantiate first supported http client
189
- return new $clients[0];
190
- }
191
-
192
- /**
193
- * This will filter out clients which is not supported
194
- * by the current environment
195
- *
196
- * @return \Closure
197
- */
198
- protected function guessClientSupportEnvironment()
199
- {
200
- return function ($client) {
201
- return forward_static_call([$client, 'hasSupport']);
202
- };
203
- }
204
-
205
- /**
206
- * Resolves valid header name
207
- *
208
- * @param $headerName
209
- * @return string
210
- */
211
- private function resolveValidHeaderName($headerName)
212
- {
213
- return strtolower($headerName);
214
- }
215
-
216
- /**
217
- * Lowercase header names
218
- *
219
- * @param $headers
220
- * @return array
221
- */
222
- private function prepareHeaders($headers)
223
- {
224
- return array_change_key_case($headers, CASE_LOWER);
225
- }
226
-
227
- /**
228
- * Sign request
229
- *
230
- * @param $key
231
- * @param $method
232
- * @param $url
233
- * @param $body
234
- * @param $date
235
- *
236
- * @return false|string
237
- */
238
- private function resolveSignature($key, $method, $url, $body, $date)
239
- {
240
- $string = implode('\n', [$method, $url, md5(json_encode($body)), $date]);
241
-
242
- $contentSecret = hash_hmac('sha256', $string, $key);
243
-
244
- return sprintf('%s:%s', $this->clientId, $contentSecret);
245
- }
246
-
247
- /**
248
- * Compose full url
249
- *
250
- * @param $url
251
- * @return string
252
- */
253
- private function resolveFullUrl($url)
254
- {
255
- return sprintf('%s/%s', $this->apiBase, trim($url, '/'));
256
- }
257
- }
1
+ <?php
2
+
3
+ namespace Analyst;
4
+
5
+ use Exception;
6
+ use Analyst\Contracts\HttpClientContract;
7
+ use Analyst\Contracts\RequestorContract;
8
+
9
+ class ApiRequestor implements RequestorContract
10
+ {
11
+ /**
12
+ * Supported http client
13
+ *
14
+ * @var HttpClientContract
15
+ */
16
+ protected $httpClient;
17
+
18
+ /**
19
+ * @var string
20
+ */
21
+ protected $clientId;
22
+
23
+ /**
24
+ * @var string
25
+ */
26
+ protected $clientSecret;
27
+
28
+ /**
29
+ * @var string
30
+ */
31
+ protected $apiBase;
32
+
33
+ /**
34
+ * Default headers to be sent
35
+ *
36
+ * @var array
37
+ */
38
+ protected $defaultHeaders = [
39
+ 'accept' => 'application/json',
40
+ 'content-type' => 'application/json'
41
+ ];
42
+
43
+ /**
44
+ * Prioritized http clients
45
+ *
46
+ * @var array
47
+ */
48
+ protected $availableClients = [
49
+ 'Analyst\Http\WordPressHttpClient',
50
+ 'Analyst\Http\CurlHttpClient',
51
+ 'Analyst\Http\DummyHttpClient',
52
+ ];
53
+
54
+ /**
55
+ * ApiRequestor constructor.
56
+ * @param $id
57
+ * @param $secret
58
+ * @param $apiBase
59
+ * @throws \Exception
60
+ */
61
+ public function __construct($id, $secret, $apiBase)
62
+ {
63
+ $this->clientId = $id;
64
+ $this->clientSecret = $secret;
65
+
66
+ $this->setApiBase($apiBase);
67
+
68
+ $this->httpClient = $this->resolveHttpClient();
69
+ }
70
+
71
+ /**
72
+ * Set api base url
73
+ *
74
+ * @param $url
75
+ */
76
+ public function setApiBase($url)
77
+ {
78
+ $this->apiBase = $url;
79
+ }
80
+
81
+ /**
82
+ * Get request
83
+ *
84
+ * @param $url
85
+ * @param array $headers
86
+ * @return mixed
87
+ */
88
+ public function get($url, $headers = [])
89
+ {
90
+ return $this->request('GET', $url, null, $headers);
91
+ }
92
+
93
+ /**
94
+ * Post request
95
+ *
96
+ * @param $url
97
+ * @param $body
98
+ * @param array $headers
99
+ * @return mixed
100
+ */
101
+ public function post($url, $body = [], $headers = [])
102
+ {
103
+ return $this->request('POST', $url, $body, $headers);
104
+ }
105
+
106
+ /**
107
+ * Put request
108
+ *
109
+ * @param $url
110
+ * @param $body
111
+ * @param array $headers
112
+ * @return mixed
113
+ */
114
+ public function put($url, $body = [], $headers = [])
115
+ {
116
+ return $this->request('PUT', $url, $body, $headers);
117
+ }
118
+
119
+ /**
120
+ * Delete request
121
+ *
122
+ * @param $url
123
+ * @param array $headers
124
+ * @return mixed
125
+ */
126
+ public function delete($url, $headers = [])
127
+ {
128
+ return $this->request('DELETE', $url, null, $headers);
129
+ }
130
+
131
+ /**
132
+ * Make request to api
133
+ *
134
+ * @param $method
135
+ * @param $url
136
+ * @param array $body
137
+ * @param array $headers
138
+ * @return mixed
139
+ */
140
+ protected function request($method, $url, $body = [], $headers = [])
141
+ {
142
+ $fullUrl = $this->resolveFullUrl($url);
143
+
144
+ $date = date('r', time());
145
+
146
+ $headers['date'] = $date;
147
+ $headers['signature'] = $this->resolveSignature($this->clientSecret, $method, $fullUrl, $body, $date);
148
+
149
+ // Lowercase header names
150
+ $headers = $this->prepareHeaders(
151
+ array_merge($headers, $this->defaultHeaders)
152
+ );
153
+
154
+ $response = $this->httpClient->request($method, $fullUrl, $body, $headers);
155
+
156
+ // TODO: Check response code and take actions
157
+
158
+ return $response;
159
+ }
160
+
161
+ /**
162
+ * Set one default header
163
+ *
164
+ * @param $header
165
+ * @param $value
166
+ */
167
+ public function setDefaultHeader($header, $value)
168
+ {
169
+ $this->defaultHeaders[
170
+ $this->resolveValidHeaderName($header)
171
+ ] = $value;
172
+ }
173
+
174
+ /**
175
+ * Resolves supported http client
176
+ *
177
+ * @return HttpClientContract
178
+ * @throws Exception
179
+ */
180
+ protected function resolveHttpClient()
181
+ {
182
+ $clients = array_filter($this->availableClients, $this->guessClientSupportEnvironment());
183
+
184
+ if (!isset($clients[0])) {
185
+ throw new Exception('There is no http client which this application can support');
186
+ }
187
+
188
+ // Instantiate first supported http client
189
+ return new $clients[0];
190
+ }
191
+
192
+ /**
193
+ * This will filter out clients which is not supported
194
+ * by the current environment
195
+ *
196
+ * @return \Closure
197
+ */
198
+ protected function guessClientSupportEnvironment()
199
+ {
200
+ return function ($client) {
201
+ return forward_static_call([$client, 'hasSupport']);
202
+ };
203
+ }
204
+
205
+ /**
206
+ * Resolves valid header name
207
+ *
208
+ * @param $headerName
209
+ * @return string
210
+ */
211
+ private function resolveValidHeaderName($headerName)
212
+ {
213
+ return strtolower($headerName);
214
+ }
215
+
216
+ /**
217
+ * Lowercase header names
218
+ *
219
+ * @param $headers
220
+ * @return array
221
+ */
222
+ private function prepareHeaders($headers)
223
+ {
224
+ return array_change_key_case($headers, CASE_LOWER);
225
+ }
226
+
227
+ /**
228
+ * Sign request
229
+ *
230
+ * @param $key
231
+ * @param $method
232
+ * @param $url
233
+ * @param $body
234
+ * @param $date
235
+ *
236
+ * @return false|string
237
+ */
238
+ private function resolveSignature($key, $method, $url, $body, $date)
239
+ {
240
+ $string = implode('\n', [$method, $url, md5(json_encode($body)), $date]);
241
+
242
+ $contentSecret = hash_hmac('sha256', $string, $key);
243
+
244
+ return sprintf('%s:%s', $this->clientId, $contentSecret);
245
+ }
246
+
247
+ /**
248
+ * Compose full url
249
+ *
250
+ * @param $url
251
+ * @return string
252
+ */
253
+ private function resolveFullUrl($url)
254
+ {
255
+ return sprintf('%s/%s', $this->apiBase, trim($url, '/'));
256
+ }
257
+ }
analyst/src/ApiResponse.php CHANGED
@@ -1,44 +1,44 @@
1
- <?php
2
-
3
- namespace Analyst;
4
-
5
- class ApiResponse
6
- {
7
- /**
8
- * Response headers
9
- *
10
- * @var array
11
- */
12
- public $headers;
13
-
14
- /**
15
- * Response body
16
- *
17
- * @var mixed
18
- */
19
- public $body;
20
-
21
- /**
22
- * Status code
23
- *
24
- * @var string
25
- */
26
- public $code;
27
-
28
- public function __construct($body, $code, $headers)
29
- {
30
- $this->body = $body;
31
- $this->code = $code;
32
- $this->headers = $headers;
33
- }
34
-
35
- /**
36
- * Whether status code is successful
37
- *
38
- * @return bool
39
- */
40
- public function isSuccess()
41
- {
42
- return $this->code >= 200 && $this->code < 300;
43
- }
44
- }
1
+ <?php
2
+
3
+ namespace Analyst;
4
+
5
+ class ApiResponse
6
+ {
7
+ /**
8
+ * Response headers
9
+ *
10
+ * @var array
11
+ */
12
+ public $headers;
13
+
14
+ /**
15
+ * Response body
16
+ *
17
+ * @var mixed
18
+ */
19
+ public $body;
20
+
21
+ /**
22
+ * Status code
23
+ *
24
+ * @var string
25
+ */
26
+ public $code;
27
+
28
+ public function __construct($body, $code, $headers)
29
+ {
30
+ $this->body = $body;
31
+ $this->code = $code;
32
+ $this->headers = $headers;
33
+ }
34
+
35
+ /**
36
+ * Whether status code is successful
37
+ *
38
+ * @return bool
39
+ */
40
+ public function isSuccess()
41
+ {
42
+ return $this->code >= 200 && $this->code < 300;
43
+ }
44
+ }
analyst/src/Cache/DatabaseCache.php CHANGED
@@ -1,127 +1,127 @@
1
- <?php
2
-
3
- namespace Analyst\Cache;
4
-
5
- use Analyst\Contracts\CacheContract;
6
-
7
- /**
8
- * Class DatabaseCache
9
- *
10
- * @since 1.1.5
11
- */
12
- class DatabaseCache implements CacheContract
13
- {
14
- const OPTION_KEY = 'analyst_cache';
15
-
16
- protected static $instance;
17
-
18
- /**
19
- * Get instance of db cache
20
- *
21
- * @return DatabaseCache
22
- */
23
- public static function getInstance()
24
- {
25
- if (!self::$instance) {
26
- self::$instance = new DatabaseCache();
27
- }
28
-
29
- return self::$instance;
30
- }
31
-
32
- /**
33
- * Key value pair
34
- *
35
- * @var array[]
36
- */
37
- protected $values = [];
38
-
39
- /**
40
- * DatabaseCache constructor.
41
- */
42
- public function __construct()
43
- {
44
- $raw = get_option(self::OPTION_KEY, serialize([]));
45
-
46
- // Raw data may be an array already
47
- $this->values = is_array($raw) ? $raw : @unserialize($raw);
48
-
49
- // In case serialization is failed
50
- // make sure values is an array
51
- if (!is_array($this->values)) {
52
- $this->values = [];
53
- }
54
- }
55
-
56
- /**
57
- * Save value with given key
58
- *
59
- * @param string $key
60
- * @param string $value
61
- *
62
- * @return static
63
- */
64
- public function put($key, $value)
65
- {
66
- $this->values[$key] = $value;
67
-
68
- $this->sync();
69
-
70
- return $this;
71
- }
72
-
73
- /**
74
- * Get value by given key
75
- *
76
- * @param $key
77
- *
78
- * @param null $default
79
- * @return string
80
- */
81
- public function get($key, $default = null)
82
- {
83
- $value = isset($this->values[$key]) ? $this->values[$key] : $default;
84
-
85
- return $value;
86
- }
87
-
88
- /**
89
- * @param $key
90
- *
91
- * @return static
92
- */
93
- public function delete($key)
94
- {
95
- if (isset($this->values[$key])) {
96
- unset($this->values[$key]);
97
-
98
- $this->sync();
99
- }
100
-
101
- return $this;
102
- }
103
-
104
- /**
105
- * Update cache in DB
106
- */
107
- protected function sync()
108
- {
109
- update_option(self::OPTION_KEY, serialize($this->values));
110
- }
111
-
112
- /**
113
- * Should get value and remove it from cache
114
- *
115
- * @param $key
116
- * @param null $default
117
- * @return mixed
118
- */
119
- public function pop($key, $default = null)
120
- {
121
- $value = $this->get($key);
122
-
123
- $this->delete($key);
124
-
125
- return $value;
126
- }
127
- }
1
+ <?php
2
+
3
+ namespace Analyst\Cache;
4
+
5
+ use Analyst\Contracts\CacheContract;
6
+
7
+ /**
8
+ * Class DatabaseCache
9
+ *
10
+ * @since 1.1.5
11
+ */
12
+ class DatabaseCache implements CacheContract
13
+ {
14
+ const OPTION_KEY = 'analyst_cache';
15
+
16
+ protected static $instance;
17
+
18
+ /**
19
+ * Get instance of db cache
20
+ *
21
+ * @return DatabaseCache
22
+ */
23
+ public static function getInstance()
24
+ {
25
+ if (!self::$instance) {
26
+ self::$instance = new DatabaseCache();
27
+ }
28
+
29
+ return self::$instance;
30
+ }
31
+
32
+ /**
33
+ * Key value pair
34
+ *
35
+ * @var array[]
36
+ */
37
+ protected $values = [];
38
+
39
+ /**
40
+ * DatabaseCache constructor.
41
+ */
42
+ public function __construct()
43
+ {
44
+ $raw = get_option(self::OPTION_KEY, serialize([]));
45
+
46
+ // Raw data may be an array already
47
+ $this->values = is_array($raw) ? $raw : @unserialize($raw);
48
+
49
+ // In case serialization is failed
50
+ // make sure values is an array
51
+ if (!is_array($this->values)) {
52
+ $this->values = [];
53
+ }
54
+ }
55
+
56
+ /**
57
+ * Save value with given key
58
+ *
59
+ * @param string $key
60
+ * @param string $value
61
+ *
62
+ * @return static
63
+ */
64
+ public function put($key, $value)
65
+ {
66
+ $this->values[$key] = $value;
67
+
68
+ $this->sync();
69
+
70
+ return $this;
71
+ }
72
+
73
+ /**
74
+ * Get value by given key
75
+ *
76
+ * @param $key
77
+ *
78
+ * @param null $default
79
+ * @return string
80
+ */
81
+ public function get($key, $default = null)
82
+ {
83
+ $value = isset($this->values[$key]) ? $this->values[$key] : $default;
84
+
85
+ return $value;
86
+ }
87
+
88
+ /**
89
+ * @param $key
90
+ *
91
+ * @return static
92
+ */
93
+ public function delete($key)
94
+ {
95
+ if (isset($this->values[$key])) {
96
+ unset($this->values[$key]);
97
+
98
+ $this->sync();
99
+ }
100
+
101
+ return $this;
102
+ }
103
+
104
+ /**
105
+ * Update cache in DB
106
+ */
107
+ protected function sync()
108
+ {
109
+ update_option(self::OPTION_KEY, serialize($this->values));
110
+ }
111
+
112
+ /**
113
+ * Should get value and remove it from cache
114
+ *
115
+ * @param $key
116
+ * @param null $default
117
+ * @return mixed
118
+ */
119
+ public function pop($key, $default = null)
120
+ {
121
+ $value = $this->get($key);
122
+
123
+ $this->delete($key);
124
+
125
+ return $value;
126
+ }
127
+ }
analyst/src/Collector.php CHANGED
@@ -1,217 +1,217 @@
1
- <?php
2
-
3
- namespace Analyst;
4
-
5
- use Analyst\Contracts\AnalystContract;
6
-
7
- /**
8
- * Class Collector is a set of getters
9
- * to retrieve some data from wp site
10
- */
11
- class Collector
12
- {
13
- /**
14
- * @var AnalystContract
15
- */
16
- protected $sdk;
17
-
18
- /**
19
- * @var \WP_User
20
- */
21
- protected $user;
22
-
23
- public function __construct(AnalystContract $sdk)
24
- {
25
- $this->sdk = $sdk;
26
- }
27
-
28
- /**
29
- * Load current user into memory
30
- */
31
- public function loadCurrentUser()
32
- {
33
- $this->user = wp_get_current_user();
34
- }
35
-
36
- /**
37
- * Get site url
38
- *
39
- * @return string
40
- */
41
- public function getSiteUrl()
42
- {
43
- return get_option('siteurl');
44
- }
45
-
46
- /**
47
- * Get current user email
48
- *
49
- * @return string
50
- */
51
- public function getCurrentUserEmail()
52
- {
53
- return $this->user->user_email;
54
- }
55
-
56
- /**
57
- * Get's email from general settings
58
- *
59
- * @return string
60
- */
61
- public function getGeneralEmailAddress()
62
- {
63
- return get_option('admin_email');
64
- }
65
-
66
- /**
67
- * Is this user administrator
68
- *
69
- * @return bool
70
- */
71
- public function isUserAdministrator()
72
- {
73
- return in_array('administrator', $this->user->roles);
74
- }
75
-
76
- /**
77
- * User name
78
- *
79
- * @return string
80
- */
81
- public function getCurrentUserName()
82
- {
83
- return $this->user ? $this->user->user_nicename : 'unknown';
84
- }
85
-
86
- /**
87
- * WP version
88
- *
89
- * @return string
90
- */
91
- public function getWordPressVersion()
92
- {
93
- global $wp_version;
94
-
95
- return $wp_version;
96
- }
97
-
98
- /**
99
- * PHP version
100
- *
101
- * @return string
102
- */
103
- public function getPHPVersion()
104
- {
105
- return phpversion();
106
- }
107
-
108
- /**
109
- * Resolves plugin information
110
- *
111
- * @param string $path Absolute path to plugin
112
- * @return array
113
- */
114
- public function resolvePluginData($path)
115
- {
116
- if( !function_exists('get_plugin_data') ){
117
- require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
118
- }
119
-
120
- return get_plugin_data($path);
121
- }
122
-
123
- /**
124
- * Get plugin name by path
125
- *
126
- * @param $path
127
- * @return string
128
- */
129
- public function getPluginName($path)
130
- {
131
- $data = $this->resolvePluginData($path);
132
-
133
- return $data['Name'];
134
- }
135
-
136
- /**
137
- * Get plugin version
138
- *
139
- * @param $path
140
- * @return string
141
- */
142
- public function getPluginVersion($path)
143
- {
144
- $data = $this->resolvePluginData($path);
145
-
146
- return $data['Version'] ? $data['Version'] : null;
147
- }
148
-
149
- /**
150
- * Get server ip
151
- *
152
- * @return string
153
- */
154
- public function getServerIp()
155
- {
156
- return $_SERVER['SERVER_ADDR'];
157
- }
158
-
159
- /**
160
- * @return string
161
- */
162
- public function getSDKVersion()
163
- {
164
- return $this->sdk->version();
165
- }
166
-
167
- /**
168
- * @return string
169
- */
170
- public function getMysqlVersion()
171
- {
172
- $conn = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
173
-
174
- $version = mysqli_get_server_info($conn);
175
-
176
- return $version ? $version : 'unknown';
177
- }
178
-
179
- /**
180
- * @return string
181
- */
182
- public function getSiteLanguage()
183
- {
184
- return get_locale();
185
- }
186
-
187
-
188
- /**
189
- * Current WP theme
190
- *
191
- * @return false|string
192
- */
193
- public function getCurrentThemeName()
194
- {
195
- return wp_get_theme()->get('Name');
196
- }
197
-
198
- /**
199
- * Get active plugins list
200
- *
201
- * @return array
202
- */
203
- public function getActivePluginsList()
204
- {
205
- if (!function_exists('get_plugins')) {
206
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
207
- }
208
-
209
- $allPlugins = get_plugins();
210
-
211
- $activePluginsNames = array_map(function ($path) use ($allPlugins) {
212
- return $allPlugins[$path]['Name'];
213
- }, get_option('active_plugins'));
214
-
215
- return $activePluginsNames;
216
- }
217
- }
1
+ <?php
2
+
3
+ namespace Analyst;
4
+
5
+ use Analyst\Contracts\AnalystContract;
6
+
7
+ /**
8
+ * Class Collector is a set of getters
9
+ * to retrieve some data from wp site
10
+ */
11
+ class Collector
12
+ {
13
+ /**
14
+ * @var AnalystContract
15
+ */
16
+ protected $sdk;
17
+
18
+ /**
19
+ * @var \WP_User
20
+ */
21
+ protected $user;
22
+
23
+ public function __construct(AnalystContract $sdk)
24
+ {
25
+ $this->sdk = $sdk;
26
+ }
27
+
28
+ /**
29
+ * Load current user into memory
30
+ */
31
+ public function loadCurrentUser()
32
+ {
33
+ $this->user = wp_get_current_user();
34
+ }
35
+
36
+ /**
37
+ * Get site url
38
+ *
39
+ * @return string
40
+ */
41
+ public function getSiteUrl()
42
+ {
43
+ return get_option('siteurl');
44
+ }
45
+
46
+ /**
47
+ * Get current user email
48
+ *
49
+ * @return string
50
+ */
51
+ public function getCurrentUserEmail()
52
+ {
53
+ return $this->user->user_email;
54
+ }
55
+
56
+ /**
57
+ * Get's email from general settings
58
+ *
59
+ * @return string
60
+ */
61
+ public function getGeneralEmailAddress()
62
+ {
63
+ return get_option('admin_email');
64
+ }
65
+
66
+ /**
67
+ * Is this user administrator
68
+ *
69
+ * @return bool
70
+ */
71
+ public function isUserAdministrator()
72
+ {
73
+ return in_array('administrator', $this->user->roles);
74
+ }
75
+
76
+ /**
77
+ * User name
78
+ *
79
+ * @return string
80
+ */
81
+ public function getCurrentUserName()
82
+ {
83
+ return $this->user ? $this->user->user_nicename : 'unknown';
84
+ }
85
+
86
+ /**
87
+ * WP version
88
+ *
89
+ * @return string
90
+ */
91
+ public function getWordPressVersion()
92
+ {
93
+ global $wp_version;
94
+
95
+ return $wp_version;
96
+ }
97
+
98
+ /**
99
+ * PHP version
100
+ *
101
+ * @return string
102
+ */
103
+ public function getPHPVersion()
104
+ {
105
+ return phpversion();
106
+ }
107
+
108
+ /**
109
+ * Resolves plugin information
110
+ *
111
+ * @param string $path Absolute path to plugin
112
+ * @return array
113
+ */
114
+ public function resolvePluginData($path)
115
+ {
116
+ if( !function_exists('get_plugin_data') ){
117
+ require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
118
+ }
119
+
120
+ return get_plugin_data($path);
121
+ }
122
+
123
+ /**
124
+ * Get plugin name by path
125
+ *
126
+ * @param $path
127
+ * @return string
128
+ */
129
+ public function getPluginName($path)
130
+ {
131
+ $data = $this->resolvePluginData($path);
132
+
133
+ return $data['Name'];
134
+ }
135
+
136
+ /**
137
+ * Get plugin version
138
+ *
139
+ * @param $path
140
+ * @return string
141
+ */
142
+ public function getPluginVersion($path)
143
+ {
144
+ $data = $this->resolvePluginData($path);
145
+
146
+ return $data['Version'] ? $data['Version'] : null;
147
+ }
148
+
149
+ /**
150
+ * Get server ip
151
+ *
152
+ * @return string
153
+ */
154
+ public function getServerIp()
155
+ {
156
+ return $_SERVER['SERVER_ADDR'];
157
+ }
158
+
159
+ /**
160
+ * @return string
161
+ */
162
+ public function getSDKVersion()
163
+ {
164
+ return $this->sdk->version();
165
+ }
166
+
167
+ /**
168
+ * @return string
169
+ */
170
+ public function getMysqlVersion()
171
+ {
172
+ $conn = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
173
+
174
+ $version = mysqli_get_server_info($conn);
175
+
176
+ return $version ? $version : 'unknown';
177
+ }
178
+
179
+ /**
180
+ * @return string
181
+ */
182
+ public function getSiteLanguage()
183
+ {
184
+ return get_locale();
185
+ }
186
+
187
+
188
+ /**
189
+ * Current WP theme
190
+ *
191
+ * @return false|string
192
+ */
193
+ public function getCurrentThemeName()
194
+ {
195
+ return wp_get_theme()->get('Name');
196
+ }
197
+
198
+ /**
199
+ * Get active plugins list
200
+ *
201
+ * @return array
202
+ */
203
+ public function getActivePluginsList()
204
+ {
205
+ if (!function_exists('get_plugins')) {
206
+ require_once ABSPATH . 'wp-admin/includes/plugin.php';
207
+ }
208
+
209
+ $allPlugins = get_plugins();
210
+
211
+ $activePluginsNames = array_map(function ($path) use ($allPlugins) {
212
+ return $allPlugins[$path]['Name'];
213
+ }, get_option('active_plugins'));
214
+
215
+ return $activePluginsNames;
216
+ }
217
+ }
analyst/src/Contracts/AnalystContract.php CHANGED
@@ -1,12 +1,12 @@
1
- <?php
2
- namespace Analyst\Contracts;
3
-
4
- interface AnalystContract
5
- {
6
- /**
7
- * Must return version of analyst
8
- *
9
- * @return string
10
- */
11
- public static function version();
12
- }
1
+ <?php
2
+ namespace Analyst\Contracts;
3
+
4
+ interface AnalystContract
5
+ {
6
+ /**
7
+ * Must return version of analyst
8
+ *
9
+ * @return string
10
+ */
11
+ public static function version();
12
+ }
analyst/src/Contracts/CacheContract.php CHANGED
@@ -1,47 +1,47 @@
1
- <?php
2
-
3
- namespace Analyst\Contracts;
4
-
5
- /**
6
- * Interface CacheContract
7
- *
8
- * @since 1.1.5
9
- */
10
- interface CacheContract
11
- {
12
- /**
13
- * Save value with given key
14
- *
15
- * @param string $key
16
- * @param string $value
17
- *
18
- * @return static
19
- */
20
- public function put($key, $value);
21
-
22
- /**
23
- * Get value by given key
24
- *
25
- * @param $key
26
- *
27
- * @param null $default
28
- * @return string
29
- */
30
- public function get($key, $default = null);
31
-
32
- /**
33
- * @param $key
34
- *
35
- * @return static
36
- */
37
- public function delete($key);
38
-
39
- /**
40
- * Should get value and remove it from cache
41
- *
42
- * @param $key
43
- * @param null $default
44
- * @return mixed
45
- */
46
- public function pop($key, $default = null);
47
- }
1
+ <?php
2
+
3
+ namespace Analyst\Contracts;
4
+
5
+ /**
6
+ * Interface CacheContract
7
+ *
8
+ * @since 1.1.5
9
+ */
10
+ interface CacheContract
11
+ {
12
+ /**
13
+ * Save value with given key
14
+ *
15
+ * @param string $key
16
+ * @param string $value
17
+ *
18
+ * @return static
19
+ */
20
+ public function put($key, $value);
21
+
22
+ /**
23
+ * Get value by given key
24
+ *
25
+ * @param $key
26
+ *
27
+ * @param null $default
28
+ * @return string
29
+ */
30
+ public function get($key, $default = null);
31
+
32
+ /**
33
+ * @param $key
34
+ *
35
+ * @return static
36
+ */
37
+ public function delete($key);
38
+
39
+ /**
40
+ * Should get value and remove it from cache
41
+ *
42
+ * @param $key
43
+ * @param null $default
44
+ * @return mixed
45
+ */
46
+ public function pop($key, $default = null);
47
+ }
analyst/src/Contracts/HttpClientContract.php CHANGED
@@ -1,25 +1,25 @@
1
- <?php
2
- namespace Analyst\Contracts;
3
-
4
- use Analyst\ApiResponse;
5
-
6
- interface HttpClientContract
7
- {
8
- /**
9
- * Make an http request
10
- *
11
- * @param $method
12
- * @param $url
13
- * @param $body
14
- * @param $headers
15
- * @return ApiResponse
16
- */
17
- public function request($method, $url, $body, $headers);
18
-
19
- /**
20
- * Must return `true` if client is supported
21
- *
22
- * @return bool
23
- */
24
- public static function hasSupport();
25
- }
1
+ <?php
2
+ namespace Analyst\Contracts;
3
+
4
+ use Analyst\ApiResponse;
5
+
6
+ interface HttpClientContract
7
+ {
8
+ /**
9
+ * Make an http request
10
+ *
11
+ * @param $method
12
+ * @param $url
13
+ * @param $body
14
+ * @param $headers
15
+ * @return ApiResponse
16
+ */
17
+ public function request($method, $url, $body, $headers);
18
+
19
+ /**
20
+ * Must return `true` if client is supported
21
+ *
22
+ * @return bool
23
+ */
24
+ public static function hasSupport();
25
+ }
analyst/src/Contracts/RequestContract.php CHANGED
@@ -1,22 +1,22 @@
1
- <?php
2
-
3
- namespace Analyst\Contracts;
4
-
5
- use Analyst\ApiResponse;
6
-
7
- interface RequestContract
8
- {
9
- /**
10
- * Cast request data to array
11
- *
12
- * @return array
13
- */
14
- public function toArray();
15
-
16
- /**
17
- * Execute the request
18
- * @param RequestorContract $requestor
19
- * @return ApiResponse
20
- */
21
- public function execute(RequestorContract $requestor);
22
- }
1
+ <?php
2
+
3
+ namespace Analyst\Contracts;
4
+
5
+ use Analyst\ApiResponse;
6
+
7
+ interface RequestContract
8
+ {
9
+ /**
10
+ * Cast request data to array
11
+ *
12
+ * @return array
13
+ */
14
+ public function toArray();
15
+
16
+ /**
17
+ * Execute the request
18
+ * @param RequestorContract $requestor
19
+ * @return ApiResponse
20
+ */
21
+ public function execute(RequestorContract $requestor);
22
+ }
analyst/src/Contracts/RequestorContract.php CHANGED
@@ -1,44 +1,44 @@
1
- <?php
2
-
3
- namespace Analyst\Contracts;
4
-
5
- interface RequestorContract
6
- {
7
- /**
8
- * Get request
9
- *
10
- * @param $url
11
- * @param array $headers
12
- * @return mixed
13
- */
14
- public function get($url, $headers = []);
15
-
16
- /**
17
- * Post request
18
- *
19
- * @param $url
20
- * @param $body
21
- * @param array $headers
22
- * @return mixed
23
- */
24
- public function post($url, $body = [], $headers = []);
25
-
26
- /**
27
- * Put request
28
- *
29
- * @param $url
30
- * @param $body
31
- * @param array $headers
32
- * @return mixed
33
- */
34
- public function put($url, $body = [], $headers = []);
35
-
36
- /**
37
- * Delete request
38
- *
39
- * @param $url
40
- * @param array $headers
41
- * @return mixed
42
- */
43
- public function delete($url, $headers = []);
44
- }
1
+ <?php
2
+
3
+ namespace Analyst\Contracts;
4
+
5
+ interface RequestorContract
6
+ {
7
+ /**
8
+ * Get request
9
+ *
10
+ * @param $url
11
+ * @param array $headers
12
+ * @return mixed
13
+ */
14
+ public function get($url, $headers = []);
15
+
16
+ /**
17
+ * Post request
18
+ *
19
+ * @param $url
20
+ * @param $body
21
+ * @param array $headers
22
+ * @return mixed
23
+ */
24
+ public function post($url, $body = [], $headers = []);
25
+
26
+ /**
27
+ * Put request
28
+ *
29
+ * @param $url
30
+ * @param $body
31
+ * @param array $headers
32
+ * @return mixed
33
+ */
34
+ public function put($url, $body = [], $headers = []);
35
+
36
+ /**
37
+ * Delete request
38
+ *
39
+ * @param $url
40
+ * @param array $headers
41
+ * @return mixed
42
+ */
43
+ public function delete($url, $headers = []);
44
+ }
analyst/src/Contracts/TrackerContract.php CHANGED
@@ -1,69 +1,69 @@
1
- <?php
2
-
3
- namespace Analyst\Contracts;
4
-
5
- interface TrackerContract
6
- {
7
- /**
8
- * Should register activation and deactivation
9
- * event hooks
10
- *
11
- * @return void
12
- */
13
- public function registerHooks();
14
-
15
- /**
16
- * Will fire when admin activates plugin
17
- *
18
- * @return void
19
- */
20
- public function onActivePluginListener();
21
-
22
- /**
23
- * Will fire when admin deactivates plugin
24
- *
25
- * @return void
26
- */
27
- public function onDeactivatePluginListener();
28
-
29
- /**
30
- * Will fire when user opted in
31
- *
32
- * @return void
33
- */
34
- public function onOptInListener();
35
-
36
- /**
37
- * Will fire when user opted out
38
- *
39
- * @return void
40
- */
41
- public function onOptOutListener();
42
-
43
- /**
44
- * Will fire when user accept opt/in at first time
45
- *
46
- * @return void
47
- */
48
- public function onInstallListener();
49
-
50
- /**
51
- * Will fire when user skipped installation
52
- *
53
- * @return void
54
- */
55
- public function onSkipInstallListener();
56
-
57
- /**
58
- * Will fire when user delete plugin through admin panel.
59
- * This action will happen if admin at least once
60
- * activated the plugin.
61
- *
62
- * The register_uninstall_hook function accepts only static
63
- * function or global function to be executed, so this is
64
- * why this method is static
65
- *
66
- * @return void
67
- */
68
- public static function onUninstallPluginListener();
69
- }
1
+ <?php
2
+
3
+ namespace Analyst\Contracts;
4
+
5
+ interface TrackerContract
6
+ {
7
+ /**
8
+ * Should register activation and deactivation
9
+ * event hooks
10
+ *
11
+ * @return void
12
+ */
13
+ public function registerHooks();
14
+
15
+ /**
16
+ * Will fire when admin activates plugin
17
+ *
18
+ * @return void
19
+ */
20
+ public function onActivePluginListener();
21
+
22
+ /**
23
+ * Will fire when admin deactivates plugin
24
+ *
25
+ * @return void
26
+ */
27
+ public function onDeactivatePluginListener();
28
+
29
+ /**
30
+ * Will fire when user opted in
31
+ *
32
+ * @return void
33
+ */
34
+ public function onOptInListener();
35
+
36
+ /**
37
+ * Will fire when user opted out
38
+ *
39
+ * @return void
40
+ */
41
+ public function onOptOutListener();
42
+
43
+ /**
44
+ * Will fire when user accept opt/in at first time
45
+ *
46
+ * @return void
47
+ */
48
+ public function onInstallListener();
49
+
50
+ /**
51
+ * Will fire when user skipped installation
52
+ *
53
+ * @return void
54
+ */
55
+ public function onSkipInstallListener();
56
+
57
+ /**
58
+ * Will fire when user delete plugin through admin panel.
59
+ * This action will happen if admin at least once
60
+ * activated the plugin.
61
+ *
62
+ * The register_uninstall_hook function accepts only static
63
+ * function or global function to be executed, so this is
64
+ * why this method is static
65
+ *
66
+ * @return void
67
+ */
68
+ public static function onUninstallPluginListener();
69
+ }
analyst/src/Core/AbstractFactory.php CHANGED
@@ -1,27 +1,27 @@
1
- <?php
2
-
3
- namespace Analyst\Core;
4
-
5
- abstract class AbstractFactory
6
- {
7
- /**
8
- * Unserialize to static::class instance
9
- *
10
- * @param $raw
11
- * @return static
12
- */
13
- protected static function unserialize($raw)
14
- {
15
- $instance = @unserialize($raw);
16
-
17
- $isProperObject = is_object($instance) && $instance instanceof static;
18
-
19
- // In case for some reason unserialized object is not
20
- // static::class we make sure it is static::class
21
- if (!$isProperObject) {
22
- $instance = new static();
23
- }
24
-
25
- return $instance;
26
- }
27
- }
1
+ <?php
2
+
3
+ namespace Analyst\Core;
4
+
5
+ abstract class AbstractFactory
6
+ {
7
+ /**
8
+ * Unserialize to static::class instance
9
+ *
10
+ * @param $raw
11
+ * @return static
12
+ */
13
+ protected static function unserialize($raw)
14
+ {
15
+ $instance = @unserialize($raw);
16
+
17
+ $isProperObject = is_object($instance) && $instance instanceof static;
18
+
19
+ // In case for some reason unserialized object is not
20
+ // static::class we make sure it is static::class
21
+ if (!$isProperObject) {
22
+ $instance = new static();
23
+ }
24
+
25
+ return $instance;
26
+ }
27
+ }
analyst/src/Http/CurlHttpClient.php CHANGED
@@ -1,102 +1,102 @@
1
- <?php
2
-
3
- namespace Analyst\Http;
4
-
5
- use Analyst\ApiResponse;
6
- use Analyst\Contracts\HttpClientContract;
7
-
8
- class CurlHttpClient implements HttpClientContract
9
- {
10
- /**
11
- * Make an http request
12
- *
13
- * @param $method
14
- * @param $url
15
- * @param array $body
16
- * @param $headers
17
- * @return mixed
18
- */
19
- public function request($method, $url, $body, $headers)
20
- {
21
- $method = strtoupper($method);
22
-
23
- $options = [
24
- CURLOPT_RETURNTRANSFER => true,
25
- CURLOPT_URL => $url,
26
- CURLOPT_HTTPHEADER => $this->prepareRequestHeaders($headers),
27
- CURLOPT_CUSTOMREQUEST => $method,
28
- CURLOPT_FAILONERROR => true,
29
- CURLOPT_HEADER => true,
30
- CURLOPT_TIMEOUT => 30,
31
- ];
32
-
33
- if ($method === 'POST') {
34
- $options[CURLOPT_POST] = 1;
35
- $options[CURLOPT_POSTFIELDS] = json_encode($body);
36
- }
37
-
38
- $curl = curl_init();
39
-
40
- curl_setopt_array($curl, $options);
41
-
42
- $response = curl_exec($curl);
43
-
44
- list($rawHeaders, $rawBody) = explode("\r\n\r\n", $response, 2);
45
-
46
- $info = curl_getinfo($curl);
47
-
48
- curl_close($curl);
49
-
50
- $responseHeaders = $this->resolveResponseHeaders($rawHeaders);
51
- $responseBody = json_decode($rawBody, true);
52
-
53
- return new ApiResponse($responseBody, $info['http_code'], $responseHeaders);
54
- }
55
-
56
- /**
57
- * Must return `true` if client is supported
58
- *
59
- * @return bool
60
- */
61
- public static function hasSupport()
62
- {
63
- return function_exists('curl_version');
64
- }
65
-
66
- /**
67
- * Modify request headers from key value pair
68
- * to vector array
69
- *
70
- * @param array $headers
71
- * @return array
72
- */
73
- protected function prepareRequestHeaders ($headers)
74
- {
75
- return array_map(function ($key, $value) {
76
- return sprintf('%s:%s', $key, $value);
77
- }, array_keys($headers), $headers);
78
- }
79
-
80
- /**
81
- * Resolve raw response headers as
82
- * associative array
83
- *
84
- * @param $rawHeaders
85
- * @return array
86
- */
87
- private function resolveResponseHeaders($rawHeaders)
88
- {
89
- $headers = [];
90
-
91
- foreach (explode("\r\n", $rawHeaders) as $i => $line) {
92
- $parts = explode(': ', $line);
93
-
94
- if (count($parts) === 1) {
95
- continue;
96
- }
97
-
98
- $headers[$parts[0]] = $parts[1];
99
- }
100
- return $headers;
101
- }
102
- }
1
+ <?php
2
+
3
+ namespace Analyst\Http;
4
+
5
+ use Analyst\ApiResponse;
6
+ use Analyst\Contracts\HttpClientContract;
7
+
8
+ class CurlHttpClient implements HttpClientContract
9
+ {
10
+ /**
11
+ * Make an http request
12
+ *
13
+ * @param $method
14
+ * @param $url
15
+ * @param array $body
16
+ * @param $headers
17
+ * @return mixed
18
+ */
19
+ public function request($method, $url, $body, $headers)
20
+ {
21
+ $method = strtoupper($method);
22
+
23
+ $options = [
24
+ CURLOPT_RETURNTRANSFER => true,
25
+ CURLOPT_URL => $url,
26
+ CURLOPT_HTTPHEADER => $this->prepareRequestHeaders($headers),
27
+ CURLOPT_CUSTOMREQUEST => $method,
28
+ CURLOPT_FAILONERROR => true,
29
+ CURLOPT_HEADER => true,
30
+ CURLOPT_TIMEOUT => 30,
31
+ ];
32
+
33
+ if ($method === 'POST') {
34
+ $options[CURLOPT_POST] = 1;
35
+ $options[CURLOPT_POSTFIELDS] = json_encode($body);
36
+ }
37
+
38
+ $curl = curl_init();
39
+
40
+ curl_setopt_array($curl, $options);
41
+
42
+ $response = curl_exec($curl);
43
+
44
+ list($rawHeaders, $rawBody) = explode("\r\n\r\n", $response, 2);
45
+
46
+ $info = curl_getinfo($curl);
47
+
48
+ curl_close($curl);
49
+
50
+ $responseHeaders = $this->resolveResponseHeaders($rawHeaders);
51
+ $responseBody = json_decode($rawBody, true);
52
+
53
+ return new ApiResponse($responseBody, $info['http_code'], $responseHeaders);
54
+ }
55
+
56
+ /**
57
+ * Must return `true` if client is supported
58
+ *
59
+ * @return bool
60
+ */
61
+ public static function hasSupport()
62
+ {
63
+ return function_exists('curl_version');
64
+ }
65
+
66
+ /**
67
+ * Modify request headers from key value pair
68
+ * to vector array
69
+ *
70
+ * @param array $headers
71
+ * @return array
72
+ */
73
+ protected function prepareRequestHeaders ($headers)
74
+ {
75
+ return array_map(function ($key, $value) {
76
+ return sprintf('%s:%s', $key, $value);
77
+ }, array_keys($headers), $headers);
78
+ }
79
+
80
+ /**
81
+ * Resolve raw response headers as
82
+ * associative array
83
+ *
84
+ * @param $rawHeaders
85
+ * @return array
86
+ */
87
+ private function resolveResponseHeaders($rawHeaders)
88
+ {
89
+ $headers = [];
90
+
91
+ foreach (explode("\r\n", $rawHeaders) as $i => $line) {
92
+ $parts = explode(': ', $line);
93
+
94
+ if (count($parts) === 1) {
95
+ continue;
96
+ }
97
+
98
+ $headers[$parts[0]] = $parts[1];
99
+ }
100
+ return $headers;
101
+ }
102
+ }
analyst/src/Http/DummyHttpClient.php CHANGED
@@ -1,33 +1,33 @@
1
- <?php
2
-
3
- namespace Analyst\Http;
4
-
5
- use Analyst\ApiResponse;
6
- use Analyst\Contracts\HttpClientContract;
7
-
8
- class DummyHttpClient implements HttpClientContract
9
- {
10
- /**
11
- * Make an http request
12
- *
13
- * @param $method
14
- * @param $url
15
- * @param $body
16
- * @param $headers
17
- * @return ApiResponse
18
- */
19
- public function request($method, $url, $body, $headers)
20
- {
21
- return new ApiResponse('Dummy response', 200, []);
22
- }
23
-
24
- /**
25
- * Must return `true` if client is supported
26
- *
27
- * @return bool
28
- */
29
- public static function hasSupport()
30
- {
31
- return true;
32
- }
33
- }
1
+ <?php
2
+
3
+ namespace Analyst\Http;
4
+
5
+ use Analyst\ApiResponse;
6
+ use Analyst\Contracts\HttpClientContract;
7
+
8
+ class DummyHttpClient implements HttpClientContract
9
+ {
10
+ /**
11
+ * Make an http request
12
+ *
13
+ * @param $method
14
+ * @param $url
15
+ * @param $body
16
+ * @param $headers
17
+ * @return ApiResponse
18
+ */
19
+ public function request($method, $url, $body, $headers)
20
+ {
21
+ return new ApiResponse('Dummy response', 200, []);
22
+ }
23
+
24
+ /**
25
+ * Must return `true` if client is supported
26
+ *
27
+ * @return bool
28
+ */
29
+ public static function hasSupport()
30
+ {
31
+ return true;
32
+ }
33
+ }
analyst/src/Http/Requests/AbstractLoggerRequest.php CHANGED
@@ -1,64 +1,64 @@
1
- <?php
2
-
3
- namespace Analyst\Http\Requests;
4
-
5
- use Analyst\ApiResponse;
6
- use Analyst\Collector;
7
- use Analyst\Contracts\RequestContract;
8
- use Analyst\Contracts\RequestorContract;
9
-
10
- abstract class AbstractLoggerRequest implements RequestContract
11
- {
12
- /**
13
- * @var Collector
14
- */
15
- protected $collector;
16
-
17
- /**
18
- * @var integer
19
- */
20
- protected $id;
21
-
22
- /**
23
- * @var string
24
- */
25
- protected $path;
26
-
27
- public function __construct(Collector $collector, $pluginId, $path)
28
- {
29
- $this->collector = $collector;
30
- $this->id = $pluginId;
31
- $this->path = $path;
32
- }
33
-
34
- /**
35
- * Cast request data to array
36
- *
37
- * @return array
38
- */
39
- public function toArray()
40
- {
41
- return [
42
- 'plugin_id' => $this->id,
43
- 'php_version' => $this->collector->getPHPVersion(),
44
- 'wp_version' => $this->collector->getWordPressVersion(),
45
- 'plugin_version' => $this->collector->getPluginVersion($this->path),
46
- 'url' => $this->collector->getSiteUrl(),
47
- 'sdk_version' => $this->collector->getSDKVersion(),
48
- 'ip' => $this->collector->getServerIp(),
49
- 'mysql_version' => $this->collector->getMysqlVersion(),
50
- 'locale' => $this->collector->getSiteLanguage(),
51
- 'current_theme' => $this->collector->getCurrentThemeName(),
52
- 'active_plugins_list' => implode(', ', $this->collector->getActivePluginsList()),
53
- 'email' => $this->collector->getGeneralEmailAddress(),
54
- 'name' => $this->collector->getCurrentUserName()
55
- ];
56
- }
57
-
58
- /**
59
- * Execute the request
60
- * @param RequestorContract $requestor
61
- * @return ApiResponse
62
- */
63
- public abstract function execute(RequestorContract $requestor);
64
- }
1
+ <?php
2
+
3
+ namespace Analyst\Http\Requests;
4
+
5
+ use Analyst\ApiResponse;
6
+ use Analyst\Collector;
7
+ use Analyst\Contracts\RequestContract;
8
+ use Analyst\Contracts\RequestorContract;
9
+
10
+ abstract class AbstractLoggerRequest implements RequestContract
11
+ {
12
+ /**
13
+ * @var Collector
14
+ */
15
+ protected $collector;
16
+
17
+ /**
18
+ * @var integer
19
+ */
20
+ protected $id;
21
+
22
+ /**
23
+ * @var string
24
+ */
25
+ protected $path;
26
+
27
+ public function __construct(Collector $collector, $pluginId, $path)
28
+ {
29
+ $this->collector = $collector;
30
+ $this->id = $pluginId;
31
+ $this->path = $path;
32
+ }
33
+
34
+ /**
35
+ * Cast request data to array
36
+ *
37
+ * @return array
38
+ */
39
+ public function toArray()
40
+ {
41
+ return [
42
+ 'plugin_id' => $this->id,
43
+ 'php_version' => $this->collector->getPHPVersion(),
44
+ 'wp_version' => $this->collector->getWordPressVersion(),
45
+ 'plugin_version' => $this->collector->getPluginVersion($this->path),
46
+ 'url' => $this->collector->getSiteUrl(),
47
+ 'sdk_version' => $this->collector->getSDKVersion(),
48
+ 'ip' => $this->collector->getServerIp(),
49
+ 'mysql_version' => $this->collector->getMysqlVersion(),
50
+ 'locale' => $this->collector->getSiteLanguage(),
51
+ 'current_theme' => $this->collector->getCurrentThemeName(),
52
+ 'active_plugins_list' => implode(', ', $this->collector->getActivePluginsList()),
53
+ 'email' => $this->collector->getGeneralEmailAddress(),
54
+ 'name' => $this->collector->getCurrentUserName()
55
+ ];
56
+ }
57
+
58
+ /**
59
+ * Execute the request
60
+ * @param RequestorContract $requestor
61
+ * @return ApiResponse
62
+ */
63
+ public abstract function execute(RequestorContract $requestor);
64
+ }
analyst/src/Http/Requests/ActivateRequest.php CHANGED
@@ -1,42 +1,42 @@
1
- <?php
2
-
3
- namespace Analyst\Http\Requests;
4
-
5
- use Analyst\ApiResponse;
6
- use Analyst\Collector;
7
- use Analyst\Contracts\RequestContract;
8
- use Analyst\Contracts\RequestorContract;
9
-
10
- /**
11
- * Class ActivateRequest
12
- *
13
- * Is is very similar to install request
14
- * but with different path
15
- *
16
- * @since 0.9.12
17
- */
18
- class ActivateRequest extends AbstractLoggerRequest
19
- {
20
- /**
21
- * Execute the request
22
- * @param RequestorContract $requestor
23
- * @return ApiResponse
24
- */
25
- public function execute(RequestorContract $requestor)
26
- {
27
- return $requestor->post('logger/activate', $this->toArray());
28
- }
29
-
30
- /**
31
- * Make request instance
32
- *
33
- * @param Collector $collector
34
- * @param $pluginId
35
- * @param $path
36
- * @return static
37
- */
38
- public static function make(Collector $collector, $pluginId, $path)
39
- {
40
- return new static($collector, $pluginId, $path);
41
- }
42
- }
1
+ <?php
2
+
3
+ namespace Analyst\Http\Requests;
4
+
5
+ use Analyst\ApiResponse;
6
+ use Analyst\Collector;
7
+ use Analyst\Contracts\RequestContract;
8
+ use Analyst\Contracts\RequestorContract;
9
+
10
+ /**
11
+ * Class ActivateRequest
12
+ *
13
+ * Is is very similar to install request
14
+ * but with different path
15
+ *
16
+ * @since 0.9.12
17
+ */
18
+ class ActivateRequest extends AbstractLoggerRequest
19
+ {
20
+ /**
21
+ * Execute the request
22
+ * @param RequestorContract $requestor
23
+ * @return ApiResponse
24
+ */
25
+ public function execute(RequestorContract $requestor)
26
+ {
27
+ return $requestor->post('logger/activate', $this->toArray());
28
+ }
29
+
30
+ /**
31
+ * Make request instance
32
+ *
33
+ * @param Collector $collector
34
+ * @param $pluginId
35
+ * @param $path
36
+ * @return static
37
+ */
38
+ public static function make(Collector $collector, $pluginId, $path)
39
+ {
40
+ return new static($collector, $pluginId, $path);
41
+ }
42
+ }
analyst/src/Http/Requests/DeactivateRequest.php CHANGED
@@ -1,64 +1,64 @@
1
- <?php
2
-
3
- namespace Analyst\Http\Requests;
4
-
5
- use Analyst\ApiResponse;
6
- use Analyst\Collector;
7
- use Analyst\Contracts\RequestorContract;
8
-
9
- /**
10
- * Class DeactivateRequest
11
- *
12
- * @since 0.9.10
13
- */
14
- class DeactivateRequest extends AbstractLoggerRequest
15
- {
16
- /**
17
- * @var string
18
- */
19
- protected $question;
20
-
21
- /**
22
- * @var string
23
- */
24
- protected $answer;
25
-
26
- /**
27
- * @param Collector $collector
28
- * @param $pluginId
29
- * @param $path
30
- * @param $question
31
- * @param $answer
32
- * @return static
33
- */
34
- public static function make(Collector $collector, $pluginId, $path, $question, $answer)
35
- {
36
- return new static($collector, $pluginId, $path, $question, $answer);
37
- }
38
-
39
- public function __construct(Collector $collector, $pluginId, $path, $question, $answer)
40
- {
41
- parent::__construct($collector, $pluginId, $path);
42
-
43
- $this->question = $question;
44
- $this->answer = $answer;
45
- }
46
-
47
- public function toArray()
48
- {
49
- return array_merge(parent::toArray(), [
50
- 'question' => $this->question,
51
- 'answer' => $this->answer,
52
- ]);
53
- }
54
-
55
- /**
56
- * Execute the request
57
- * @param RequestorContract $requestor
58
- * @return ApiResponse
59
- */
60
- public function execute(RequestorContract $requestor)
61
- {
62
- return $requestor->post('logger/deactivate', $this->toArray());
63
- }
64
- }
1
+ <?php
2
+
3
+ namespace Analyst\Http\Requests;
4
+
5
+ use Analyst\ApiResponse;
6
+ use Analyst\Collector;
7
+ use Analyst\Contracts\RequestorContract;
8
+
9
+ /**
10
+ * Class DeactivateRequest
11
+ *
12
+ * @since 0.9.10
13
+ */
14
+ class DeactivateRequest extends AbstractLoggerRequest
15
+ {
16
+ /**
17
+ * @var string
18
+ */
19
+ protected $question;
20
+
21
+ /**
22
+ * @var string
23
+ */
24
+ protected $answer;
25
+
26
+ /**
27
+ * @param Collector $collector
28
+ * @param $pluginId
29
+ * @param $path
30
+ * @param $question
31
+ * @param $answer
32
+ * @return static
33
+ */
34
+ public static function make(Collector $collector, $pluginId, $path, $question, $answer)
35
+ {
36
+ return new static($collector, $pluginId, $path, $question, $answer);
37
+ }
38
+
39
+ public function __construct(Collector $collector, $pluginId, $path, $question, $answer)
40
+ {
41
+ parent::__construct($collector, $pluginId, $path);
42
+
43
+ $this->question = $question;
44
+ $this->answer = $answer;
45
+ }
46
+
47
+ public function toArray()
48
+ {
49
+ return array_merge(parent::toArray(), [
50
+ 'question' => $this->question,
51
+ 'answer' => $this->answer,
52
+ ]);
53
+ }
54
+
55
+ /**
56
+ * Execute the request
57
+ * @param RequestorContract $requestor
58
+ * @return ApiResponse
59
+ */
60
+ public function execute(RequestorContract $requestor)
61
+ {
62
+ return $requestor->post('logger/deactivate', $this->toArray());
63
+ }
64
+ }
analyst/src/Http/Requests/InstallRequest.php CHANGED
@@ -1,38 +1,38 @@
1
- <?php
2
-
3
- namespace Analyst\Http\Requests;
4
-
5
- use Analyst\ApiResponse;
6
- use Analyst\Collector;
7
- use Analyst\Contracts\RequestorContract;
8
-
9
- /**
10
- * Class InstallRequest
11
- *
12
- * @since 0.9.4
13
- */
14
- class InstallRequest extends AbstractLoggerRequest
15
- {
16
- /**
17
- * Execute the request
18
- * @param RequestorContract $requestor
19
- * @return ApiResponse
20
- */
21
- public function execute(RequestorContract $requestor)
22
- {
23
- return $requestor->post('logger/install', $this->toArray());
24
- }
25
-
26
- /**
27
- * Make request instance
28
- *
29
- * @param Collector $collector
30
- * @param $pluginId
31
- * @param $path
32
- * @return static
33
- */
34
- public static function make(Collector $collector, $pluginId, $path)
35
- {
36
- return new static($collector, $pluginId, $path);
37
- }
38
- }
1
+ <?php
2
+
3
+ namespace Analyst\Http\Requests;
4
+
5
+ use Analyst\ApiResponse;
6
+ use Analyst\Collector;
7
+ use Analyst\Contracts\RequestorContract;
8
+
9
+ /**
10
+ * Class InstallRequest
11
+ *
12
+ * @since 0.9.4
13
+ */
14
+ class InstallRequest extends AbstractLoggerRequest
15
+ {
16
+ /**
17
+ * Execute the request
18
+ * @param RequestorContract $requestor
19
+ * @return ApiResponse
20
+ */
21
+ public function execute(RequestorContract $requestor)
22
+ {
23
+ return $requestor->post('logger/install', $this->toArray());
24
+ }
25
+
26
+ /**
27
+ * Make request instance
28
+ *
29
+ * @param Collector $collector
30
+ * @param $pluginId
31
+ * @param $path
32
+ * @return static
33
+ */
34
+ public static function make(Collector $collector, $pluginId, $path)
35
+ {
36
+ return new static($collector, $pluginId, $path);
37
+ }
38
+ }
analyst/src/Http/Requests/OptInRequest.php CHANGED
@@ -1,42 +1,42 @@
1
- <?php
2
-
3
- namespace Analyst\Http\Requests;
4
-
5
- use Analyst\ApiResponse;
6
- use Analyst\Collector;
7
- use Analyst\Contracts\RequestContract;
8
- use Analyst\Contracts\RequestorContract;
9
-
10
- /**
11
- * Class OptInRequest
12
- *
13
- * Is is very similar to install request
14
- * but with different path
15
- *
16
- * @since 0.9.5
17
- */
18
- class OptInRequest extends AbstractLoggerRequest
19
- {
20
- /**
21
- * Execute the request
22
- * @param RequestorContract $requestor
23
- * @return ApiResponse
24
- */
25
- public function execute(RequestorContract $requestor)
26
- {
27
- return $requestor->post('logger/opt-in', $this->toArray());
28
- }
29
-
30
- /**
31
- * Make request instance
32
- *
33
- * @param Collector $collector
34
- * @param $pluginId
35
- * @param $path
36
- * @return static
37
- */
38
- public static function make(Collector $collector, $pluginId, $path)
39
- {
40
- return new static($collector, $pluginId, $path);
41
- }
42
- }
1
+ <?php
2
+
3
+ namespace Analyst\Http\Requests;
4
+
5
+ use Analyst\ApiResponse;
6
+ use Analyst\Collector;
7
+ use Analyst\Contracts\RequestContract;
8
+ use Analyst\Contracts\RequestorContract;
9
+
10
+ /**
11
+ * Class OptInRequest
12
+ *
13
+ * Is is very similar to install request
14
+ * but with different path
15
+ *
16
+ * @since 0.9.5
17
+ */
18
+ class OptInRequest extends AbstractLoggerRequest
19
+ {
20
+ /**
21
+ * Execute the request
22
+ * @param RequestorContract $requestor
23
+ * @return ApiResponse
24
+ */
25
+ public function execute(RequestorContract $requestor)
26
+ {
27
+ return $requestor->post('logger/opt-in', $this->toArray());
28
+ }
29
+
30
+ /**
31
+ * Make request instance
32
+ *
33
+ * @param Collector $collector
34
+ * @param $pluginId
35
+ * @param $path
36
+ * @return static
37
+ */
38
+ public static function make(Collector $collector, $pluginId, $path)
39
+ {
40
+ return new static($collector, $pluginId, $path);
41
+ }
42
+ }
analyst/src/Http/Requests/OptOutRequest.php CHANGED
@@ -1,40 +1,40 @@
1
- <?php
2
-
3
- namespace Analyst\Http\Requests;
4
-
5
- use Analyst\ApiResponse;
6
- use Analyst\Collector;
7
- use Analyst\Contracts\RequestContract;
8
- use Analyst\Contracts\RequestorContract;
9
-
10
- /**
11
- * Class OptOutRequest
12
- *
13
- * Is is very similar to install request
14
- * but with different path
15
- *
16
- * @since 0.9.9
17
- */
18
- class OptOutRequest extends AbstractLoggerRequest
19
- {
20
- /**
21
- * @param Collector $collector
22
- * @param $pluginId
23
- * @param $path
24
- * @return static
25
- */
26
- public static function make(Collector $collector, $pluginId, $path)
27
- {
28
- return new static($collector, $pluginId, $path);
29
- }
30
-
31
- /**
32
- * Execute the request
33
- * @param RequestorContract $requestor
34
- * @return ApiResponse
35
- */
36
- public function execute(RequestorContract $requestor)
37
- {
38
- return $requestor->post('logger/opt-out', $this->toArray());
39
- }
40
- }
1
+ <?php
2
+
3
+ namespace Analyst\Http\Requests;
4
+
5
+ use Analyst\ApiResponse;
6
+ use Analyst\Collector;
7
+ use Analyst\Contracts\RequestContract;
8
+ use Analyst\Contracts\RequestorContract;
9
+
10
+ /**
11
+ * Class OptOutRequest
12
+ *
13
+ * Is is very similar to install request
14
+ * but with different path
15
+ *
16
+ * @since 0.9.9
17
+ */
18
+ class OptOutRequest extends AbstractLoggerRequest
19
+ {
20
+ /**
21
+ * @param Collector $collector
22
+ * @param $pluginId
23
+ * @param $path
24
+ * @return static
25
+ */
26
+ public static function make(Collector $collector, $pluginId, $path)
27
+ {
28
+ return new static($collector, $pluginId, $path);
29
+ }
30
+
31
+ /**
32
+ * Execute the request
33
+ * @param RequestorContract $requestor
34
+ * @return ApiResponse
35
+ */
36
+ public function execute(RequestorContract $requestor)
37
+ {
38
+ return $requestor->post('logger/opt-out', $this->toArray());
39
+ }
40
+ }
analyst/src/Http/Requests/UninstallRequest.php CHANGED
@@ -1,36 +1,36 @@
1
- <?php
2
-
3
- namespace Analyst\Http\Requests;
4
-
5
- use Analyst\ApiResponse;
6
- use Analyst\Collector;
7
- use Analyst\Contracts\RequestorContract;
8
-
9
- /**
10
- * Class DeactivateRequest
11
- *
12
- * @since 0.9.13
13
- */
14
- class UninstallRequest extends AbstractLoggerRequest
15
- {
16
- /**
17
- * @param Collector $collector
18
- * @param $pluginId
19
- * @param $path
20
- * @return static
21
- */
22
- public static function make(Collector $collector, $pluginId, $path)
23
- {
24
- return new static($collector, $pluginId, $path);
25
- }
26
-
27
- /**
28
- * Execute the request
29
- * @param RequestorContract $requestor
30
- * @return ApiResponse
31
- */
32
- public function execute(RequestorContract $requestor)
33
- {
34
- return $requestor->post('logger/uninstall', $this->toArray());
35
- }
36
- }
1
+ <?php
2
+
3
+ namespace Analyst\Http\Requests;
4
+
5
+ use Analyst\ApiResponse;
6
+ use Analyst\Collector;
7
+ use Analyst\Contracts\RequestorContract;
8
+
9
+ /**
10
+ * Class DeactivateRequest
11
+ *
12
+ * @since 0.9.13
13
+ */
14
+ class UninstallRequest extends AbstractLoggerRequest
15
+ {
16
+ /**
17
+ * @param Collector $collector
18
+ * @param $pluginId
19
+ * @param $path
20
+ * @return static
21
+ */
22
+ public static function make(Collector $collector, $pluginId, $path)
23
+ {
24
+ return new static($collector, $pluginId, $path);
25
+ }
26
+
27
+ /**
28
+ * Execute the request
29
+ * @param RequestorContract $requestor
30
+ * @return ApiResponse
31
+ */
32
+ public function execute(RequestorContract $requestor)
33
+ {
34
+ return $requestor->post('logger/uninstall', $this->toArray());
35
+ }
36
+ }
analyst/src/Http/WordPressHttpClient.php CHANGED
@@ -1,61 +1,61 @@
1
- <?php
2
-
3
- namespace Analyst\Http;
4
-
5
- use WP_Error;
6
- use Analyst\ApiResponse;
7
- use Analyst\Contracts\HttpClientContract;
8
- use Requests_Utility_CaseInsensitiveDictionary;
9
-
10
- class WordPressHttpClient implements HttpClientContract
11
- {
12
- /**
13
- * Make an http request
14
- *
15
- * @param $method
16
- * @param $url
17
- * @param $body
18
- * @param $headers
19
- * @return ApiResponse
20
- */
21
- public function request($method, $url, $body, $headers)
22
- {
23
- $options = [
24
- 'body' => json_encode($body),
25
- 'headers' => $headers,
26
- 'method' => $method,
27
- 'timeout' => 30,
28
- ];
29
-
30
- $response = wp_remote_request($url, $options);
31
-
32
- $body = [];
33
- $responseHeaders = [];
34
-
35
- if ($response instanceof WP_Error) {
36
- $code = $response->get_error_code();
37
- } else {
38
- /** @var Requests_Utility_CaseInsensitiveDictionary $headers */
39
- $responseHeaders = $response['headers']->getAll();
40
- $body = json_decode($response['body'], true);
41
- $code = $response['response']['code'];
42
- }
43
-
44
-
45
- return new ApiResponse(
46
- $body,
47
- $code,
48
- $responseHeaders
49
- );
50
- }
51
-
52
- /**
53
- * Must return `true` if client is supported
54
- *
55
- * @return bool
56
- */
57
- public static function hasSupport()
58
- {
59
- return function_exists('wp_remote_request');
60
- }
61
- }
1
+ <?php
2
+
3
+ namespace Analyst\Http;
4
+
5
+ use WP_Error;
6
+ use Analyst\ApiResponse;
7
+ use Analyst\Contracts\HttpClientContract;
8
+ use Requests_Utility_CaseInsensitiveDictionary;
9
+
10
+ class WordPressHttpClient implements HttpClientContract
11
+ {
12
+ /**
13
+ * Make an http request
14
+ *
15
+ * @param $method
16
+ * @param $url
17
+ * @param $body
18
+ * @param $headers
19
+ * @return ApiResponse
20
+ */
21
+ public function request($method, $url, $body, $headers)
22
+ {
23
+ $options = [
24
+ 'body' => json_encode($body),
25
+ 'headers' => $headers,
26
+ 'method' => $method,
27
+ 'timeout' => 30,
28
+ ];
29
+
30
+ $response = wp_remote_request($url, $options);
31
+
32
+ $body = [];
33
+ $responseHeaders = [];
34
+
35
+ if ($response instanceof WP_Error) {
36
+ $code = $response->get_error_code();
37
+ } else {
38
+ /** @var Requests_Utility_CaseInsensitiveDictionary $headers */
39
+ $responseHeaders = $response['headers']->getAll();
40
+ $body = json_decode($response['body'], true);
41
+ $code = $response['response']['code'];
42
+ }
43
+
44
+
45
+ return new ApiResponse(
46
+ $body,
47
+ $code,
48
+ $responseHeaders
49
+ );
50
+ }
51
+
52
+ /**
53
+ * Must return `true` if client is supported
54
+ *
55
+ * @return bool
56
+ */
57
+ public static function hasSupport()
58
+ {
59
+ return function_exists('wp_remote_request');
60
+ }
61
+ }
analyst/src/Mutator.php CHANGED
@@ -1,103 +1,103 @@
1
- <?php
2
-
3
- namespace Analyst;
4
-
5
- use Analyst\Cache\DatabaseCache;
6
- use Analyst\Contracts\CacheContract;
7
- use Analyst\Notices\NoticeFactory;
8
-
9
- /**
10
- * Class Mutator mutates (modifies) UX with additional
11
- * functional
12
- */
13
- class Mutator
14
- {
15
- protected $notices = [];
16
-
17
- /**
18
- * @var NoticeFactory
19
- */
20
- protected $factory;
21
-
22
- /**
23
- * @var CacheContract
24
- */
25
- protected $cache;
26
-
27
- public function __construct()
28
- {
29
- $this->factory = NoticeFactory::instance();
30
-
31
- $this->notices = $this->factory->getNotices();
32
-
33
- $this->cache = DatabaseCache::getInstance();
34
- }
35
-
36
- /**
37
- * Register filters all necessary stuff.
38
- * Can be invoked only once.
39
- *
40
- * @return void
41
- */
42
- public function initialize()
43
- {
44
- $this->registerLinks();
45
- $this->registerAssets();
46
- $this->registerHooks();
47
- }
48
-
49
- /**
50
- * Register all necessary filters and templates
51
- *
52
- * @return void
53
- */
54
- protected function registerLinks()
55
- {
56
- add_action('admin_footer', function () {
57
- analyst_require_template('optout.php', [
58
- 'shieldImage' => analyst_assets_url('img/shield_question.png')
59
- ]);
60
-
61
- analyst_require_template('optin.php');
62
-
63
- analyst_require_template('forms/deactivate.php', [
64
- 'pencilImage' => analyst_assets_url('img/pencil.png'),
65
- 'smileImage' => analyst_assets_url('img/smile.png'),
66
- ]);
67
-
68
- analyst_require_template('forms/install.php', [
69
- 'pluginToInstall' => $this->cache->get('plugin_to_install'),
70
- 'shieldImage' => analyst_assets_url('img/shield_success.png'),
71
- ]);
72
- });
73
-
74
- add_action('admin_notices',function () {
75
- foreach ($this->notices as $notice) {
76
- analyst_require_template('notice.php', ['notice' => $notice]);
77
- }
78
- });
79
- }
80
-
81
- /**
82
- * Register all assets
83
- */
84
- public function registerAssets()
85
- {
86
- add_action('admin_enqueue_scripts', function () {
87
- wp_enqueue_style('analyst_custom', analyst_assets_url('/css/customize.css'));
88
- wp_enqueue_script('analyst_custom', analyst_assets_url('/js/customize.js'));
89
- });
90
- }
91
-
92
- /**
93
- * Register action hooks
94
- */
95
- public function registerHooks()
96
- {
97
- add_action('wp_ajax_analyst_notification_dismiss', function () {
98
- $this->factory->remove($_POST['id']);
99
-
100
- $this->factory->sync();
101
- });
102
- }
103
- }
1
+ <?php
2
+
3
+ namespace Analyst;
4
+
5
+ use Analyst\Cache\DatabaseCache;
6
+ use Analyst\Contracts\CacheContract;
7
+ use Analyst\Notices\NoticeFactory;
8
+
9
+ /**
10
+ * Class Mutator mutates (modifies) UX with additional
11
+ * functional
12
+ */
13
+ class Mutator
14
+ {
15
+ protected $notices = [];
16
+
17
+ /**
18
+ * @var NoticeFactory
19
+ */
20
+ protected $factory;
21
+
22
+ /**
23
+ * @var CacheContract
24
+ */
25
+ protected $cache;
26
+
27
+ public function __construct()
28
+ {
29
+ $this->factory = NoticeFactory::instance();
30
+
31
+ $this->notices = $this->factory->getNotices();
32
+
33
+ $this->cache = DatabaseCache::getInstance();
34
+ }
35
+
36
+ /**
37
+ * Register filters all necessary stuff.
38
+ * Can be invoked only once.
39
+ *
40
+ * @return void
41
+ */
42
+ public function initialize()
43
+ {
44
+ $this->registerLinks();
45
+ $this->registerAssets();
46
+ $this->registerHooks();
47
+ }
48
+
49
+ /**
50
+ * Register all necessary filters and templates
51
+ *
52
+ * @return void
53
+ */
54
+ protected function registerLinks()
55
+ {
56
+ add_action('admin_footer', function () {
57
+ analyst_require_template('optout.php', [
58
+ 'shieldImage' => analyst_assets_url('img/shield_question.png')
59
+ ]);
60
+
61
+ analyst_require_template('optin.php');
62
+
63
+ analyst_require_template('forms/deactivate.php', [
64
+ 'pencilImage' => analyst_assets_url('img/pencil.png'),
65
+ 'smileImage' => analyst_assets_url('img/smile.png'),
66
+ ]);
67
+
68
+ analyst_require_template('forms/install.php', [
69
+ 'pluginToInstall' => $this->cache->get('plugin_to_install'),
70
+ 'shieldImage' => analyst_assets_url('img/shield_success.png'),
71
+ ]);
72
+ });
73
+
74
+ add_action('admin_notices',function () {
75
+ foreach ($this->notices as $notice) {
76
+ analyst_require_template('notice.php', ['notice' => $notice]);
77
+ }
78
+ });
79
+ }
80
+
81
+ /**
82
+ * Register all assets
83
+ */
84
+ public function registerAssets()
85
+ {
86
+ add_action('admin_enqueue_scripts', function () {
87
+ wp_enqueue_style('analyst_custom', analyst_assets_url('/css/customize.css'));
88
+ wp_enqueue_script('analyst_custom', analyst_assets_url('/js/customize.js'));
89
+ });
90
+ }
91
+
92
+ /**
93
+ * Register action hooks
94
+ */
95
+ public function registerHooks()
96
+ {
97
+ add_action('wp_ajax_analyst_notification_dismiss', function () {
98
+ $this->factory->remove($_POST['id']);
99
+
100
+ $this->factory->sync();
101
+ });
102
+ }
103
+ }
analyst/src/Notices/Notice.php CHANGED
@@ -1,121 +1,121 @@
1
- <?php
2
-
3
- namespace Analyst\Notices;
4
-
5
- class Notice
6
- {
7
- /**
8
- * Id of notice
9
- *
10
- * @var string
11
- */
12
- protected $id;
13
-
14
- /**
15
- * Body of notice
16
- *
17
- * @var string
18
- */
19
- protected $body;
20
-
21
- /**
22
- * Account id
23
- *
24
- * @var string
25
- */
26
- protected $accountId;
27
-
28
- /**
29
- * The plugin name
30
- *
31
- * @var string
32
- */
33
- protected $pluginName;
34
-
35
- /**
36
- * New notice
37
- *
38
- * @param $id
39
- * @param $accountId
40
- * @param $body
41
- * @param null $pluginName
42
- *
43
- * @return Notice
44
- */
45
- public static function make($id, $accountId, $body, $pluginName = null)
46
- {
47
- return new Notice($id, $accountId, $body, $pluginName);
48
- }
49
-
50
- public function __construct($id, $accountId, $body, $pluginName)
51
- {
52
- $this->setId($id);
53
- $this->setBody($body);
54
- $this->setAccountId($accountId);
55
- $this->setPluginName($pluginName);
56
- }
57
-
58
- /**
59
- * @return string
60
- */
61
- public function getId()
62
- {
63
- return $this->id;
64
- }
65
-
66
- /**
67
- * @param string $id
68
- */
69
- public function setId($id)
70
- {
71
- $this->id = $id;
72
- }
73
-
74
- /**
75
- * @return string
76
- */
77
- public function getBody()
78
- {
79
- return $this->body;
80
- }
81
-
82
- /**
83
- * @param string $body
84
- */
85
- public function setBody($body)
86
- {
87
- $this->body = $body;
88
- }
89
-
90
- /**
91
- * @return string
92
- */
93
- public function getAccountId()
94
- {
95
- return $this->accountId;
96
- }
97
-
98
- /**
99
- * @param string $accountId
100
- */
101
- public function setAccountId($accountId)
102
- {
103
- $this->accountId = $accountId;
104
- }
105
-
106
- /**
107
- * @return string|null
108
- */
109
- public function getPluginName()
110
- {
111
- return $this->pluginName;
112
- }
113
-
114
- /**
115
- * @param string $pluginName
116
- */
117
- public function setPluginName($pluginName)
118
- {
119
- $this->pluginName = $pluginName;
120
- }
121
- }
1
+ <?php
2
+
3
+ namespace Analyst\Notices;
4
+
5
+ class Notice
6
+ {
7
+ /**
8
+ * Id of notice
9
+ *
10
+ * @var string
11
+ */
12
+ protected $id;
13
+
14
+ /**
15
+ * Body of notice
16
+ *
17
+ * @var string
18
+ */
19
+ protected $body;
20
+
21
+ /**
22
+ * Account id
23
+ *
24
+ * @var string
25
+ */
26
+ protected $accountId;
27
+
28
+ /**
29
+ * The plugin name
30
+ *
31
+ * @var string
32
+ */
33
+ protected $pluginName;
34
+
35
+ /**
36
+ * New notice
37
+ *
38
+ * @param $id
39
+ * @param $accountId
40
+ * @param $body
41
+ * @param null $pluginName
42
+ *
43
+ * @return Notice
44
+ */
45
+ public static function make($id, $accountId, $body, $pluginName = null)
46
+ {
47
+ return new Notice($id, $accountId, $body, $pluginName);
48
+ }
49
+
50
+ public function __construct($id, $accountId, $body, $pluginName)
51
+ {
52
+ $this->setId($id);
53
+ $this->setBody($body);
54
+ $this->setAccountId($accountId);
55
+ $this->setPluginName($pluginName);
56
+ }
57
+
58
+ /**
59
+ * @return string
60
+ */
61
+ public function getId()
62
+ {
63
+ return $this->id;
64
+ }
65
+
66
+ /**
67
+ * @param string $id
68
+ */
69
+ public function setId($id)
70
+ {
71
+ $this->id = $id;
72
+ }
73
+
74
+ /**
75
+ * @return string
76
+ */
77
+ public function getBody()
78
+ {
79
+ return $this->body;
80
+ }
81
+
82
+ /**
83
+ * @param string $body
84
+ */
85
+ public function setBody($body)
86
+ {
87
+ $this->body = $body;
88
+ }
89
+
90
+ /**
91
+ * @return string
92
+ */
93
+ public function getAccountId()
94
+ {
95
+ return $this->accountId;
96
+ }
97
+
98
+ /**
99
+ * @param string $accountId
100
+ */
101
+ public function setAccountId($accountId)
102
+ {
103
+ $this->accountId = $accountId;
104
+ }
105
+
106
+ /**
107
+ * @return string|null
108
+ */
109
+ public function getPluginName()
110
+ {
111
+ return $this->pluginName;
112
+ }
113
+
114
+ /**
115
+ * @param string $pluginName
116
+ */
117
+ public function setPluginName($pluginName)
118
+ {
119
+ $this->pluginName = $pluginName;
120
+ }
121
+ }
analyst/src/Notices/NoticeFactory.php CHANGED
@@ -1,130 +1,130 @@
1
- <?php
2
-
3
- namespace Analyst\Notices;
4
-
5
- use Analyst\Core\AbstractFactory;
6
-
7
- class NoticeFactory extends AbstractFactory
8
- {
9
- private static $instance;
10
-
11
- CONST OPTIONS_KEY = 'analyst_notices';
12
-
13
- /**
14
- * Application notifications
15
- *
16
- * @var array
17
- */
18
- protected $notices = [];
19
-
20
- /**
21
- * Read factory from options or make fresh instance
22
- *
23
- * @return NoticeFactory
24
- */
25
- public static function instance()
26
- {
27
- if (!static::$instance) {
28
- $raw = get_option(self::OPTIONS_KEY);
29
-
30
- // In case object is already unserialized
31
- // and instance of AccountDataFactory we
32
- // return it, in other case deal with
33
- // serialized string data
34
- if ($raw instanceof self) {
35
- static::$instance = $raw;
36
- } else {
37
- static::$instance = is_string($raw) ? static::unserialize($raw) : new self();
38
- }
39
- }
40
-
41
- return static::$instance;
42
- }
43
-
44
- /**
45
- * Sync this object data with cache
46
- */
47
- public function sync()
48
- {
49
- update_option(self::OPTIONS_KEY, serialize($this));
50
- }
51
-
52
- /**
53
- * Sync this instance data with cache
54
- */
55
- public static function syncData()
56
- {
57
- static::instance()->sync();
58
- }
59
-
60
- /**
61
- * @return array
62
- */
63
- public function getNotices()
64
- {
65
- return $this->notices;
66
- }
67
-
68
- /**
69
- * Filter out notices for certain account
70
- *
71
- * @param $accountId
72
- * @return array
73
- */
74
- public function getNoticesForAccount($accountId)
75
- {
76
- return array_filter($this->notices, function (Notice $notice) use ($accountId) {
77
- return $notice->getAccountId() === $accountId;
78
- });
79
- }
80
-
81
- /**
82
- * Add new notice
83
- *
84
- * @param $notice
85
- *
86
- * @return $this
87
- */
88
- public function addNotice($notice)
89
- {
90
- array_push($this->notices, $notice);
91
-
92
- $this->sync();
93
-
94
- return $this;
95
- }
96
-
97
- /**
98
- * Find notice by id
99
- *
100
- * @param $id
101
- * @return Notice|null
102
- */
103
- public function find($id)
104
- {
105
- $notices = array_filter($this->notices, function (Notice $notice) use ($id) {
106
- return $notice->getId() === $id;
107
- });
108
-
109
- return array_pop($notices);
110
- }
111
-
112
- /**
113
- * Remove notice by it's id
114
- *
115
- * @param $id
116
- */
117
- public function remove($id)
118
- {
119
- // Get key of notice to remove
120
- $key = array_search(
121
- $this->find($id),
122
- $this->notices
123
- );
124
-
125
- // Unset notice with key
126
- unset($this->notices[$key]);
127
-
128
- $this->sync();
129
- }
130
- }
1
+ <?php
2
+
3
+ namespace Analyst\Notices;
4
+
5
+ use Analyst\Core\AbstractFactory;
6
+
7
+ class NoticeFactory extends AbstractFactory
8
+ {
9
+ private static $instance;
10
+
11
+ CONST OPTIONS_KEY = 'analyst_notices';
12
+
13
+ /**
14
+ * Application notifications
15
+ *
16
+ * @var array
17
+ */
18
+ protected $notices = [];
19
+
20
+ /**
21
+ * Read factory from options or make fresh instance
22
+ *
23
+ * @return NoticeFactory
24
+ */
25
+ public static function instance()
26
+ {
27
+ if (!static::$instance) {
28
+ $raw = get_option(self::OPTIONS_KEY);
29
+
30
+ // In case object is already unserialized
31
+ // and instance of AccountDataFactory we
32
+ // return it, in other case deal with
33
+ // serialized string data
34
+ if ($raw instanceof self) {
35
+ static::$instance = $raw;
36
+ } else {
37
+ static::$instance = is_string($raw) ? static::unserialize($raw) : new self();
38
+ }
39
+ }
40
+
41
+ return static::$instance;
42
+ }
43
+
44
+ /**
45
+ * Sync this object data with cache
46
+ */
47
+ public function sync()
48
+ {
49
+ update_option(self::OPTIONS_KEY, serialize($this));
50
+ }
51
+
52
+ /**
53
+ * Sync this instance data with cache
54
+ */
55
+ public static function syncData()
56
+ {
57
+ static::instance()->sync();
58
+ }
59
+
60
+ /**
61
+ * @return array
62
+ */
63
+ public function getNotices()
64
+ {
65
+ return $this->notices;
66
+ }
67
+
68
+ /**
69
+ * Filter out notices for certain account
70
+ *
71
+ * @param $accountId
72
+ * @return array
73
+ */
74
+ public function getNoticesForAccount($accountId)
75
+ {
76
+ return array_filter($this->notices, function (Notice $notice) use ($accountId) {
77
+ return $notice->getAccountId() === $accountId;
78
+ });
79
+ }
80
+
81
+ /**
82
+ * Add new notice
83
+ *
84
+ * @param $notice
85
+ *
86
+ * @return $this
87
+ */
88
+ public function addNotice($notice)
89
+ {
90
+ array_push($this->notices, $notice);
91
+
92
+ $this->sync();
93
+
94
+ return $this;
95
+ }
96
+
97
+ /**
98
+ * Find notice by id
99
+ *
100
+ * @param $id
101
+ * @return Notice|null
102
+ */
103
+ public function find($id)
104
+ {
105
+ $notices = array_filter($this->notices, function (Notice $notice) use ($id) {
106
+ return $notice->getId() === $id;
107
+ });
108
+
109
+ return array_pop($notices);
110
+ }
111
+
112
+ /**
113
+ * Remove notice by it's id
114
+ *
115
+ * @param $id
116
+ */
117
+ public function remove($id)
118
+ {
119
+ // Get key of notice to remove
120
+ $key = array_search(
121
+ $this->find($id),
122
+ $this->notices
123
+ );
124
+
125
+ // Unset notice with key
126
+ unset($this->notices[$key]);
127
+
128
+ $this->sync();
129
+ }
130
+ }
analyst/src/helpers.php CHANGED
@@ -1,84 +1,84 @@
1
- <?php
2
-
3
- if (! function_exists('analyst_assets_path')) {
4
- /**
5
- * Generates path to file in assets folder
6
- *
7
- * @param $file
8
- * @return string
9
- */
10
- function analyst_assets_path($file)
11
- {
12
- $path = sprintf('%s/assets/%s', realpath(__DIR__ . '/..'), trim($file, '/'));
13
-
14
- return wp_normalize_path($path);
15
- }
16
- }
17
-
18
-
19
- if (! function_exists('analyst_assets_url')) {
20
- /**
21
- * Generates url to file in assets folder
22
- *
23
- * @param $file
24
- * @return string
25
- */
26
- function analyst_assets_url($file)
27
- {
28
- $absolutePath = analyst_assets_path($file);
29
-
30
- // We can always rely on WP_PLUGIN_DIR, because that's where
31
- // wordpress install it's plugin's. So we remove last segment
32
- // of that path to get the content dir AKA directly where
33
- // plugins are installed and make the magic...
34
- $contentDir = is_link(WP_PLUGIN_DIR) ?
35
- dirname(wp_normalize_path(readlink(WP_PLUGIN_DIR))) :
36
- dirname(wp_normalize_path(WP_PLUGIN_DIR));
37
-
38
- $relativePath = str_replace( $contentDir, '', $absolutePath);
39
-
40
- return content_url(wp_normalize_path($relativePath));
41
- }
42
- }
43
-
44
- if (! function_exists('analyst_templates_path')) {
45
- /**
46
- * Generates path to file in templates folder
47
- *
48
- * @param $file
49
- * @return string
50
- */
51
- function analyst_templates_path($file)
52
- {
53
- $path = sprintf('%s/templates/%s', realpath(__DIR__ . '/..'), trim($file, '/'));
54
-
55
- return wp_normalize_path($path);
56
- }
57
- }
58
-
59
- if (! function_exists('analyst_require_template')) {
60
- /**
61
- * Require certain template with data
62
- *
63
- * @param $file
64
- * @param array $data
65
- */
66
- function analyst_require_template($file, $data = [])
67
- {
68
- // Extract data to current scope table
69
- extract($data);
70
-
71
- require analyst_templates_path($file);
72
- }
73
- }
74
-
75
- if (! function_exists('dd')) {
76
- /**
77
- * Dump some data
78
- */
79
- function dd ()
80
- {
81
- // var_dump(func_get_args());
82
- die();
83
- }
84
- }
1
+ <?php
2
+
3
+ if (! function_exists('analyst_assets_path')) {
4
+ /**
5
+ * Generates path to file in assets folder
6
+ *
7
+ * @param $file
8
+ * @return string
9
+ */
10
+ function analyst_assets_path($file)
11
+ {
12
+ $path = sprintf('%s/assets/%s', realpath(__DIR__ . '/..'), trim($file, '/'));
13
+
14
+ return wp_normalize_path($path);
15
+ }
16
+ }
17
+
18
+
19
+ if (! function_exists('analyst_assets_url')) {
20
+ /**
21
+ * Generates url to file in assets folder
22
+ *
23
+ * @param $file
24
+ * @return string
25
+ */
26
+ function analyst_assets_url($file)
27
+ {
28
+ $absolutePath = analyst_assets_path($file);
29
+
30
+ // We can always rely on WP_PLUGIN_DIR, because that's where
31
+ // wordpress install it's plugin's. So we remove last segment
32
+ // of that path to get the content dir AKA directly where
33
+ // plugins are installed and make the magic...
34
+ $contentDir = is_link(WP_PLUGIN_DIR) ?
35
+ dirname(wp_normalize_path(readlink(WP_PLUGIN_DIR))) :
36
+ dirname(wp_normalize_path(WP_PLUGIN_DIR));
37
+
38
+ $relativePath = str_replace( $contentDir, '', $absolutePath);
39
+
40
+ return content_url(wp_normalize_path($relativePath));
41
+ }
42
+ }
43
+
44
+ if (! function_exists('analyst_templates_path')) {
45
+ /**
46
+ * Generates path to file in templates folder
47
+ *
48
+ * @param $file
49
+ * @return string
50
+ */
51
+ function analyst_templates_path($file)
52
+ {
53
+ $path = sprintf('%s/templates/%s', realpath(__DIR__ . '/..'), trim($file, '/'));
54
+
55
+ return wp_normalize_path($path);
56
+ }
57
+ }
58
+
59
+ if (! function_exists('analyst_require_template')) {
60
+ /**
61
+ * Require certain template with data
62
+ *
63
+ * @param $file
64
+ * @param array $data
65
+ */
66
+ function analyst_require_template($file, $data = [])
67
+ {
68
+ // Extract data to current scope table
69
+ extract($data);
70
+
71
+ require analyst_templates_path($file);
72
+ }
73
+ }
74
+
75
+ if (! function_exists('dd')) {
76
+ /**
77
+ * Dump some data
78
+ */
79
+ function dd ()
80
+ {
81
+ // var_dump(func_get_args());
82
+ die();
83
+ }
84
+ }
analyst/templates/forms/deactivate.php CHANGED
@@ -1,156 +1,156 @@
1
- <div id="analyst-deactivate-modal" class="analyst-modal" style="display: none">
2
- <div class="analyst-modal-content" style="width: 500px">
3
- <div class="analyst-disable-modal-mask" id="analyst-disable-deactivate-modal-mask" style="display: none"></div>
4
- <div style="display: flex">
5
- <div class="analyst-install-image-block" style="width: 80px">
6
- <img src="<?=$pencilImage?>"/>
7
- </div>
8
- <div class="analyst-install-description-block" style="padding-left: 20px">
9
- <strong class="analyst-modal-header">Why do you deactivate?</strong>
10
- <div class="analyst-install-description-text" style="padding-top: 2px">
11
- Please let us know, so we can improve it! Thank you <img class="analyst-smile-image" src="<?=$smileImage?>" alt="">
12
- </div>
13
- </div>
14
- </div>
15
- <div>
16
- <ul id="analyst-deactivation-reasons">
17
- <li>
18
- <label>
19
- <span>
20
- <input type="radio" name="deactivation-reason">
21
- </span>
22
- <span class="question" data-question="I couldn't understand how to make it work">I couldn't understand how to make it work</span>
23
- </label>
24
- </li>
25
- <li data-input-type="textarea" data-input-placeholder="What should have worked, but didn’t?">
26
- <label>
27
- <span>
28
- <input type="radio" name="deactivation-reason">
29
- </span>
30
- <span class="question" data-question="The plugin didn't work as expected">The plugin didn't work as expected</span>
31
- </label>
32
- <div class="question-answer"></div>
33
- </li>
34
- <li data-input-type="input" data-input-placeholder="What is the plugin name?">
35
- <label>
36
- <span>
37
- <input type="radio" name="deactivation-reason">
38
- </span>
39
- <span class="question" data-question="I found a better plugin">I found a better plugin</span>
40
- </label>
41
- <div class="question-answer"></div>
42
- </li>
43
- <li>
44
- <label>
45
- <span>
46
- <input type="radio" name="deactivation-reason">
47
- </span>
48
- <span class="question" data-question="It's a temporary deactivation">It's a temporary deactivation</span>
49
- </label>
50
- <div class="question-answer"></div>
51
- </li>
52
- <li data-input-type="textarea" data-input-placeholder="Please provide the reason of deactivation">
53
- <label>
54
- <span>
55
- <input type="radio" name="deactivation-reason">
56
- </span>
57
- <span class="question" data-question="Other">Other</span>
58
- </label>
59
- <div class="question-answer"></div>
60
- </li>
61
- </ul>
62
- <p id="analyst-deactivation-error" style="color: #dc3232; font-size: 16px; display: none">Please let us know the reason for de-activation. Thank you!</p>
63
- </div>
64
- <div>
65
- <button class="analyst-btn-grey" id="analyst-disabled-plugin-action">Deactivate</button>
66
- </div>
67
- <div class="" style="text-align: center; font-size: 18px; padding-top: 10px">
68
- <button class="analyst-btn-secondary-ghost analyst-deactivate-modal-close" style="color: #cccccc">Cancel</button>
69
- </div>
70
- </div>
71
- </div>
72
-
73
- <script type="text/javascript">
74
- (function ($) {
75
- $('.deactivate').click(function (e) {
76
- var anchor = $(this).find('[analyst-plugin-id]')
77
- var pluginId = anchor.attr('analyst-plugin-id')
78
- var isOptedIn = anchor.attr('analyst-plugin-opted-in') === '1'
79
-
80
- // Do not ask for reason if not opted in
81
- if (!isOptedIn) {
82
- return
83
- }
84
-
85
- e.preventDefault()
86
-
87
- $('#analyst-deactivate-modal')
88
- .attr({
89
- 'analyst-plugin-id': pluginId,
90
- 'analyst-redirect-url': $(this).find('a').attr('href')
91
- })
92
- .show()
93
- })
94
-
95
- $('.analyst-deactivate-modal-close').click(function () {
96
- $('#analyst-deactivate-modal').hide()
97
- })
98
-
99
- $('#analyst-deactivation-reasons input[name="deactivation-reason"]').change(function () {
100
- $('.question-answer').empty()
101
-
102
- var root = $('#analyst-deactivation-reasons input[name="deactivation-reason"]:checked').parents('li')
103
-
104
- $('#analyst-deactivation-error').hide()
105
-
106
- if (!root.attr('data-input-type')) return
107
-
108
- var reasonInput = $('<' + root.attr('data-input-type') + '/>').attr({placeholder: root.attr('data-input-placeholder'), class: 'reason-answer'})
109
-
110
- root.find('.question-answer').append(reasonInput)
111
- })
112
-
113
- $('#analyst-disabled-plugin-action').click(function () {
114
- var pluginId = $('#analyst-deactivate-modal').attr('analyst-plugin-id')
115
- var pluginDeactivationUrl = $('#analyst-deactivate-modal').attr('analyst-redirect-url')
116
-
117
- var root = $('#analyst-deactivation-reasons input[name="deactivation-reason"]:checked').parents('li');
118
-
119
- var reason = root.find('.question-answer .reason-answer').val();
120
-
121
- var question = root.find('.question').attr('data-question').trim()
122
-
123
- var $errorBlock = $('#analyst-deactivation-error')
124
-
125
- if (!question) {
126
- return $errorBlock.show()
127
- }
128
-
129
- $errorBlock.hide()
130
-
131
- var data = {
132
- action: 'analyst_plugin_deactivate_' + pluginId,
133
- question: question
134
- }
135
-
136
- if (reason) {
137
- data['reason'] = reason.trim();
138
- }
139
-
140
- $(this).attr('disabled', true).text('Deactivating...');
141
-
142
- $('#analyst-disable-deactivate-modal-mask').show();
143
-
144
- $.ajax({
145
- url: ajaxurl,
146
- method: 'POST',
147
- data: data
148
- }).done(function () {
149
- window.location.href = pluginDeactivationUrl
150
-
151
- $('#analyst-disable-deactivate-modal-mask').hide();
152
- })
153
- })
154
-
155
- })(jQuery)
156
- </script>
1
+ <div id="analyst-deactivate-modal" class="analyst-modal" style="display: none">
2
+ <div class="analyst-modal-content" style="width: 500px">
3
+ <div class="analyst-disable-modal-mask" id="analyst-disable-deactivate-modal-mask" style="display: none"></div>
4
+ <div style="display: flex">
5
+ <div class="analyst-install-image-block" style="width: 80px">
6
+ <img src="<?=$pencilImage?>"/>
7
+ </div>
8
+ <div class="analyst-install-description-block" style="padding-left: 20px">
9
+ <strong class="analyst-modal-header">Why do you deactivate?</strong>
10
+ <div class="analyst-install-description-text" style="padding-top: 2px">
11
+ Please let us know, so we can improve it! Thank you <img class="analyst-smile-image" src="<?=$smileImage?>" alt="">
12
+ </div>
13
+ </div>
14
+ </div>
15
+ <div>
16
+ <ul id="analyst-deactivation-reasons">
17
+ <li>
18
+ <label>
19
+ <span>
20
+ <input type="radio" name="deactivation-reason">
21
+ </span>
22
+ <span class="question" data-question="I couldn't understand how to make it work">I couldn't understand how to make it work</span>
23
+ </label>
24
+ </li>
25
+ <li data-input-type="textarea" data-input-placeholder="What should have worked, but didn’t?">
26
+ <label>
27
+ <span>
28
+ <input type="radio" name="deactivation-reason">
29
+ </span>
30
+ <span class="question" data-question="The plugin didn't work as expected">The plugin didn't work as expected</span>
31
+ </label>
32
+ <div class="question-answer"></div>
33
+ </li>
34
+ <li data-input-type="input" data-input-placeholder="What is the plugin name?">
35
+ <label>
36
+ <span>
37
+ <input type="radio" name="deactivation-reason">
38
+ </span>
39
+ <span class="question" data-question="I found a better plugin">I found a better plugin</span>
40
+ </label>
41
+ <div class="question-answer"></div>
42
+ </li>
43
+ <li>
44
+ <label>
45
+ <span>
46
+ <input type="radio" name="deactivation-reason">
47
+ </span>
48
+ <span class="question" data-question="It's a temporary deactivation">It's a temporary deactivation</span>
49
+ </label>
50
+ <div class="question-answer"></div>
51
+ </li>
52
+ <li data-input-type="textarea" data-input-placeholder="Please provide the reason of deactivation">
53
+ <label>
54
+ <span>
55
+ <input type="radio" name="deactivation-reason">
56
+ </span>
57
+ <span class="question" data-question="Other">Other</span>
58
+ </label>
59
+ <div class="question-answer"></div>
60
+ </li>
61
+ </ul>
62
+ <p id="analyst-deactivation-error" style="color: #dc3232; font-size: 16px; display: none">Please let us know the reason for de-activation. Thank you!</p>
63
+ </div>
64
+ <div>
65
+ <button class="analyst-btn-grey" id="analyst-disabled-plugin-action">Deactivate</button>
66
+ </div>
67
+ <div class="" style="text-align: center; font-size: 18px; padding-top: 10px">
68
+ <button class="analyst-btn-secondary-ghost analyst-deactivate-modal-close" style="color: #cccccc">Cancel</button>
69
+ </div>
70
+ </div>
71
+ </div>
72
+
73
+ <script type="text/javascript">
74
+ (function ($) {
75
+ $('.deactivate').click(function (e) {
76
+ var anchor = $(this).find('[analyst-plugin-id]')
77
+ var pluginId = anchor.attr('analyst-plugin-id')
78
+ var isOptedIn = anchor.attr('analyst-plugin-opted-in') === '1'
79
+
80
+ // Do not ask for reason if not opted in
81
+ if (!isOptedIn) {
82
+ return
83
+ }
84
+
85
+ e.preventDefault()
86
+
87
+ $('#analyst-deactivate-modal')
88
+ .attr({
89
+ 'analyst-plugin-id': pluginId,
90
+ 'analyst-redirect-url': $(this).find('a').attr('href')
91
+ })
92
+ .show()
93
+ })
94
+
95
+ $('.analyst-deactivate-modal-close').click(function () {
96
+ $('#analyst-deactivate-modal').hide()
97
+ })
98
+
99
+ $('#analyst-deactivation-reasons input[name="deactivation-reason"]').change(function () {
100
+ $('.question-answer').empty()
101
+
102
+ var root = $('#analyst-deactivation-reasons input[name="deactivation-reason"]:checked').parents('li')
103
+
104
+ $('#analyst-deactivation-error').hide()
105
+
106
+ if (!root.attr('data-input-type')) return
107
+
108
+ var reasonInput = $('<' + root.attr('data-input-type') + '/>').attr({placeholder: root.attr('data-input-placeholder'), class: 'reason-answer'})
109
+
110
+ root.find('.question-answer').append(reasonInput)
111
+ })
112
+
113
+ $('#analyst-disabled-plugin-action').click(function () {
114
+ var pluginId = $('#analyst-deactivate-modal').attr('analyst-plugin-id')
115
+ var pluginDeactivationUrl = $('#analyst-deactivate-modal').attr('analyst-redirect-url')
116
+
117
+ var root = $('#analyst-deactivation-reasons input[name="deactivation-reason"]:checked').parents('li');
118
+
119
+ var reason = root.find('.question-answer .reason-answer').val();
120
+
121
+ var question = root.find('.question').attr('data-question').trim()
122
+
123
+ var $errorBlock = $('#analyst-deactivation-error')
124
+
125
+ if (!question) {
126
+ return $errorBlock.show()
127
+ }
128
+
129
+ $errorBlock.hide()
130
+
131
+ var data = {
132
+ action: 'analyst_plugin_deactivate_' + pluginId,
133
+ question: question
134
+ }
135
+
136
+ if (reason) {
137
+ data['reason'] = reason.trim();
138
+ }
139
+
140
+ $(this).attr('disabled', true).text('Deactivating...');
141
+
142
+ $('#analyst-disable-deactivate-modal-mask').show();
143
+
144
+ $.ajax({
145
+ url: ajaxurl,
146
+ method: 'POST',
147
+ data: data
148
+ }).done(function () {
149
+ window.location.href = pluginDeactivationUrl
150
+
151
+ $('#analyst-disable-deactivate-modal-mask').hide();
152
+ })
153
+ })
154
+
155
+ })(jQuery)
156
+ </script>
analyst/templates/forms/install.php CHANGED
@@ -1,113 +1,113 @@
1
- <div id="analyst-install-modal" class="analyst-modal" style="display: none" analyst-plugin-id="<?=$pluginToInstall?>">
2
- <div class="analyst-modal-content" style="width: 450px">
3
- <div class="analyst-disable-modal-mask" id="analyst-disable-install-modal-mask" style="display: none"></div>
4
- <div style="display: flex">
5
- <div class="analyst-install-image-block">
6
- <img src="<?=$shieldImage?>"/>
7
- </div>
8
- <div class="analyst-install-description-block">
9
- <strong class="analyst-modal-header">Stay on the safe side</strong>
10
- <p class="analyst-install-description-text">Receive our plugin’s alerts in
11
- case of <strong>critical security</strong> & feature
12
- updates and allow non-sensitive
13
- diagnostic tracking.</p>
14
- </div>
15
- </div>
16
- <div class="analyst-modal-def-top-padding">
17
- <button class="analyst-btn-success" id="analyst-install-action">Allow & Continue ></button>
18
- </div>
19
- <div class="analyst-modal-def-top-padding" id="analyst-permissions-block" style="display: none">
20
- <span>You’re granting these permissions:</span>
21
- <ul class="analyst-install-permissions-list">
22
- <li><strong>Your profile information</strong> (name and email) ​</li>
23
- <li><strong>Your site information</strong> (URL, WP version, PHP info, plugins & themes)</li>
24
- <li><strong>Plugin notices</strong> (updates, announcements, marketing, no spam)</li>
25
- <li><strong>Plugin events</strong> (activation, deactivation and uninstall)​</li>
26
- </ul>
27
- </div>
28
- <div class="analyst-install-footer analyst-modal-def-top-padding">
29
- <span class="analyst-action-text" id="analyst-permissions-toggle">Learn more</span>
30
- <span id="analyst-powered-by" style="display: none;">Powered by <a href="https://sellcodes.com/blog/wordpress-feedback-system-for-plugin-creators/?utm_source=optin_screen" target="_blank" class="analyst-link">Sellcodes.com</a></span>
31
- <span class="analyst-action-text analyst-install-modal-close" id="analyst-install-skip">Skip</span>
32
- </div>
33
- <div id="analyst-install-error" class="analyst-modal-def-top-padding" style="display: none; text-align: center">
34
- <span style="color: #dc3232; font-size: 16px">Service unavailable. Please try again later</span>
35
- </div>
36
- </div>
37
- </div>
38
-
39
- <script type="text/javascript">
40
- (function ($) {
41
-
42
- var installPlugin = function (pluginId) {
43
- var $error = $('#analyst-install-error')
44
-
45
- $error.hide()
46
-
47
- $.ajax({
48
- url: ajaxurl,
49
- method: 'POST',
50
- data: {
51
- action: 'analyst_install_' + pluginId
52
- },
53
- success: function (data) {
54
- if (data && !data.success) {
55
- //error
56
- $('#analyst-install-modal').hide()
57
-
58
- return
59
- }
60
-
61
- window.location.reload()
62
- },
63
- error: function () {
64
- $('#analyst-install-modal').hide()
65
- }
66
- }).done(function () {
67
- $('#analyst-disable-install-modal-mask').hide()
68
-
69
- $('#analyst-install-action')
70
- .attr('disabled', false)
71
- .text('Allow & Continue >')
72
- })
73
- }
74
-
75
- if ($('#analyst-install-modal').attr('analyst-plugin-id')) {
76
- $('#analyst-install-modal').show()
77
- }
78
-
79
-
80
- $('.analyst-install-modal-close').click(function () {
81
- $('#analyst-install-modal').hide()
82
- })
83
-
84
- $('#analyst-install-action').click(function () {
85
- var pluginId = $('#analyst-install-modal').attr('analyst-plugin-id')
86
-
87
- $('#analyst-install-action')
88
- .attr('disabled', true)
89
- .text('Please wait...')
90
-
91
- $('#analyst-disable-install-modal-mask').show()
92
-
93
- installPlugin(pluginId)
94
- })
95
-
96
- $('#analyst-permissions-toggle').click(function () {
97
- var isVisible = $('#analyst-permissions-block').toggle().is(':visible')
98
-
99
- isVisible ? $(this).text('Close section') : $(this).text('Learn more')
100
-
101
- var poweredBy = $('#analyst-powered-by')
102
- isVisible ? poweredBy.show() : poweredBy.hide()
103
- })
104
-
105
- $('#analyst-install-skip').click(function () {
106
- var pluginId = $('#analyst-install-modal').attr('analyst-plugin-id')
107
-
108
- $.post(ajaxurl, {action: 'analyst_skip_install_' + pluginId}).done(function () {
109
- $('#analyst-install-modal').hide()
110
- })
111
- })
112
- })(jQuery)
113
- </script>
1
+ <div id="analyst-install-modal" class="analyst-modal" style="display: none" analyst-plugin-id="<?=$pluginToInstall?>">
2
+ <div class="analyst-modal-content" style="width: 450px">
3
+ <div class="analyst-disable-modal-mask" id="analyst-disable-install-modal-mask" style="display: none"></div>
4
+ <div style="display: flex">
5
+ <div class="analyst-install-image-block">
6
+ <img src="<?=$shieldImage?>"/>
7
+ </div>
8
+ <div class="analyst-install-description-block">
9
+ <strong class="analyst-modal-header">Stay on the safe side</strong>
10
+ <p class="analyst-install-description-text">Receive our plugin’s alerts in
11
+ case of <strong>critical security</strong> & feature
12
+ updates and allow non-sensitive
13
+ diagnostic tracking.</p>
14
+ </div>
15
+ </div>
16
+ <div class="analyst-modal-def-top-padding">
17
+ <button class="analyst-btn-success" id="analyst-install-action">Allow & Continue ></button>
18
+ </div>
19
+ <div class="analyst-modal-def-top-padding" id="analyst-permissions-block" style="display: none">
20
+ <span>You’re granting these permissions:</span>
21
+ <ul class="analyst-install-permissions-list">
22
+ <li><strong>Your profile information</strong> (name and email) ​</li>
23
+ <li><strong>Your site information</strong> (URL, WP version, PHP info, plugins & themes)</li>
24
+ <li><strong>Plugin notices</strong> (updates, announcements, marketing, no spam)</li>
25
+ <li><strong>Plugin events</strong> (activation, deactivation and uninstall)​</li>
26
+ </ul>
27
+ </div>
28
+ <div class="analyst-install-footer analyst-modal-def-top-padding">
29
+ <span class="analyst-action-text" id="analyst-permissions-toggle">Learn more</span>
30
+ <span id="analyst-powered-by" style="display: none;">Powered by <a href="https://sellcodes.com/blog/wordpress-feedback-system-for-plugin-creators/?utm_source=optin_screen" target="_blank" class="analyst-link">Sellcodes.com</a></span>
31
+ <span class="analyst-action-text analyst-install-modal-close" id="analyst-install-skip">Skip</span>
32
+ </div>
33
+ <div id="analyst-install-error" class="analyst-modal-def-top-padding" style="display: none; text-align: center">
34
+ <span style="color: #dc3232; font-size: 16px">Service unavailable. Please try again later</span>
35
+ </div>
36
+ </div>
37
+ </div>
38
+
39
+ <script type="text/javascript">
40
+ (function ($) {
41
+
42
+ var installPlugin = function (pluginId) {
43
+ var $error = $('#analyst-install-error')
44
+
45
+ $error.hide()
46
+
47
+ $.ajax({
48
+ url: ajaxurl,
49
+ method: 'POST',
50
+ data: {
51
+ action: 'analyst_install_' + pluginId
52
+ },
53
+ success: function (data) {
54
+ if (data && !data.success) {
55
+ //error
56
+ $('#analyst-install-modal').hide()
57
+
58
+ return
59
+ }
60
+
61
+ window.location.reload()
62
+ },
63
+ error: function () {
64
+ $('#analyst-install-modal').hide()
65
+ }
66
+ }).done(function () {
67
+ $('#analyst-disable-install-modal-mask').hide()
68
+
69
+ $('#analyst-install-action')
70
+ .attr('disabled', false)
71
+ .text('Allow & Continue >')
72
+ })
73
+ }
74
+
75
+ if ($('#analyst-install-modal').attr('analyst-plugin-id')) {
76
+ $('#analyst-install-modal').show()
77
+ }
78
+
79
+
80
+ $('.analyst-install-modal-close').click(function () {
81
+ $('#analyst-install-modal').hide()
82
+ })
83
+
84
+ $('#analyst-install-action').click(function () {
85
+ var pluginId = $('#analyst-install-modal').attr('analyst-plugin-id')
86
+
87
+ $('#analyst-install-action')
88
+ .attr('disabled', true)
89
+ .text('Please wait...')
90
+
91
+ $('#analyst-disable-install-modal-mask').show()
92
+
93
+ installPlugin(pluginId)
94
+ })
95
+
96
+ $('#analyst-permissions-toggle').click(function () {
97
+ var isVisible = $('#analyst-permissions-block').toggle().is(':visible')
98
+
99
+ isVisible ? $(this).text('Close section') : $(this).text('Learn more')
100
+
101
+ var poweredBy = $('#analyst-powered-by')
102
+ isVisible ? poweredBy.show() : poweredBy.hide()
103
+ })
104
+
105
+ $('#analyst-install-skip').click(function () {
106
+ var pluginId = $('#analyst-install-modal').attr('analyst-plugin-id')
107
+
108
+ $.post(ajaxurl, {action: 'analyst_skip_install_' + pluginId}).done(function () {
109
+ $('#analyst-install-modal').hide()
110
+ })
111
+ })
112
+ })(jQuery)
113
+ </script>
analyst/templates/notice.php CHANGED
@@ -1,10 +1,10 @@
1
- <div class="notice notice-success analyst-notice">
2
- <p>
3
- <strong class="analyst-plugin-name"><?=$notice->getPluginName()?></strong>
4
- <?=$notice->getBody()?>
5
- </p>
6
-
7
- <button type="button" class="analyst-notice-dismiss notice-dismiss" analyst-notice-id="<?=$notice->getId()?>">
8
- <span class="screen-reader-text">Dismiss this notice.</span>
9
- </button>
10
- </div>
1
+ <div class="notice notice-success analyst-notice">
2
+ <p>
3
+ <strong class="analyst-plugin-name"><?=$notice->getPluginName()?></strong>
4
+ <?=$notice->getBody()?>
5
+ </p>
6
+
7
+ <button type="button" class="analyst-notice-dismiss notice-dismiss" analyst-notice-id="<?=$notice->getId()?>">
8
+ <span class="screen-reader-text">Dismiss this notice.</span>
9
+ </button>
10
+ </div>
analyst/templates/optin.php CHANGED
@@ -1,60 +1,60 @@
1
- <script type="text/javascript">
2
-
3
- (function ($) {
4
- var isOptingIn = false
5
-
6
- $('#analyst-opt-in-modal').appendTo($('body'))
7
-
8
- var makeOptIn = function (pluginId) {
9
- if (isOptingIn) return
10
-
11
- isOptingIn = true
12
-
13
- $.ajax({
14
- url: ajaxurl,
15
- method: 'POST',
16
- data: {
17
- action: 'analyst_opt_in_' + pluginId,
18
- },
19
- success: function () {
20
- $('#analyst-opt-in-modal').hide()
21
-
22
- isOptingIn = false
23
-
24
- var optOutAction = $('<a />').attr({
25
- class: 'analyst-action-opt analyst-opt-out',
26
- 'analyst-plugin-id': pluginId,
27
- 'analyst-plugin-signed': '1'
28
- })
29
- .text('Opt Out')
30
- $('.analyst-opt-in[analyst-plugin-id="'+ pluginId +'"').replaceWith(optOutAction)
31
-
32
- $('[analyst-plugin-id="' + pluginId + '"').attr('analyst-plugin-opted-in', 1)
33
- }
34
- })
35
- }
36
-
37
- $(document).on('click', '.analyst-opt-in:not([loading])', function() {
38
- var pluginId = $(this).attr('analyst-plugin-id')
39
- var isSigned = $(this).attr('analyst-plugin-signed') === '1'
40
-
41
- if (!isSigned) {
42
- $('#analyst-install-modal')
43
- .attr('analyst-plugin-id', pluginId)
44
- .show()
45
-
46
- return;
47
- }
48
-
49
- $('#analyst-install-modal').attr({'analyst-plugin-id': pluginId})
50
-
51
- $(this).attr('loading', true).text('Opting In...')
52
-
53
- makeOptIn(pluginId);
54
- })
55
-
56
- $('.opt-in-modal-close').click(function () {
57
- $('#analyst-opt-in-modal').hide()
58
- })
59
- })(jQuery)
60
- </script>
1
+ <script type="text/javascript">
2
+
3
+ (function ($) {
4
+ var isOptingIn = false
5
+
6
+ $('#analyst-opt-in-modal').appendTo($('body'))
7
+
8
+ var makeOptIn = function (pluginId) {
9
+ if (isOptingIn) return
10
+
11
+ isOptingIn = true
12
+
13
+ $.ajax({
14
+ url: ajaxurl,
15
+ method: 'POST',
16
+ data: {
17
+ action: 'analyst_opt_in_' + pluginId,
18
+ },
19
+ success: function () {
20
+ $('#analyst-opt-in-modal').hide()
21
+
22
+ isOptingIn = false
23
+
24
+ var optOutAction = $('<a />').attr({
25
+ class: 'analyst-action-opt analyst-opt-out',
26
+ 'analyst-plugin-id': pluginId,
27
+ 'analyst-plugin-signed': '1'
28
+ })
29
+ .text('Opt Out')
30
+ $('.analyst-opt-in[analyst-plugin-id="'+ pluginId +'"').replaceWith(optOutAction)
31
+
32
+ $('[analyst-plugin-id="' + pluginId + '"').attr('analyst-plugin-opted-in', 1)
33
+ }
34
+ })
35
+ }
36
+
37
+ $(document).on('click', '.analyst-opt-in:not([loading])', function() {
38
+ var pluginId = $(this).attr('analyst-plugin-id')
39
+ var isSigned = $(this).attr('analyst-plugin-signed') === '1'
40
+
41
+ if (!isSigned) {
42
+ $('#analyst-install-modal')
43
+ .attr('analyst-plugin-id', pluginId)
44
+ .show()
45
+
46
+ return;
47
+ }
48
+
49
+ $('#analyst-install-modal').attr({'analyst-plugin-id': pluginId})
50
+
51
+ $(this).attr('loading', true).text('Opting In...')
52
+
53
+ makeOptIn(pluginId);
54
+ })
55
+
56
+ $('.opt-in-modal-close').click(function () {
57
+ $('#analyst-opt-in-modal').hide()
58
+ })
59
+ })(jQuery)
60
+ </script>
analyst/templates/optout.php CHANGED
@@ -1,109 +1,109 @@
1
- <div id="analyst-opt-out-modal" class="analyst-modal" style="display: none">
2
- <div class="analyst-modal-content" style="width: 600px">
3
- <div class="analyst-disable-modal-mask" id="analyst-disable-opt-out-modal-mask" style="display: none"></div>
4
- <div style="display: flex">
5
- <div class="analyst-install-image-block" style="width: 120px">
6
- <img src="<?=$shieldImage?>"/>
7
- </div>
8
- <div class="analyst-install-description-block">
9
- <strong class="analyst-modal-header">By opting out, we cannot alert you anymore in case of important security updates.</strong>
10
- <p class="analyst-install-description-text">
11
- In addition, we won’t get pointers how to further improve the plugin based on your integration with our plugin.
12
- </p>
13
- </div>
14
- </div>
15
- <div class="analyst-modal-def-top-padding">
16
- <button class="analyst-btn-success opt-out-modal-close">Ok, don't opt out</button>
17
- </div>
18
- <div class="analyst-modal-def-top-padding" style="text-align: center;">
19
- <button class="analyst-btn-secondary-ghost" id="opt-out-action">Opt out</button>
20
- </div>
21
- <div id="analyst-opt-out-error" class="analyst-modal-def-top-padding" style="display: none;">
22
- <span style="color: #dc3232; font-size: 16px">Service unavailable. Please try again later</span>
23
- </div>
24
- </div>
25
- </div>
26
- </div>
27
-
28
- <script type="text/javascript">
29
-
30
- (function ($) {
31
- var isOptingOut = false
32
-
33
- $('#analyst-opt-out-modal').appendTo($('body'))
34
-
35
- $(document).on('click', '.analyst-opt-out', function() {
36
- var pluginId = $(this).attr('analyst-plugin-id')
37
-
38
- $('#analyst-opt-out-modal')
39
- .attr({'analyst-plugin-id': pluginId})
40
- .show()
41
- })
42
-
43
- $('.opt-out-modal-close').click(function () {
44
- $('#analyst-opt-out-modal').hide()
45
- })
46
-
47
- $('#opt-out-action').click(function () {
48
- if (isOptingOut) return
49
-
50
- var $mask = $('#analyst-disable-opt-out-modal-mask')
51
- var $error = $('#analyst-opt-out-error')
52
-
53
- var pluginId = $('#analyst-opt-out-modal').attr('analyst-plugin-id')
54
-
55
- $mask.show()
56
- $error.hide()
57
-
58
- var self = this
59
-
60
- isOptingOut = true
61
-
62
- $(self).text('Opting out...')
63
-
64
- $.ajax({
65
- url: ajaxurl,
66
- method: 'POST',
67
- data: {
68
- action: 'analyst_opt_out_' + pluginId,
69
- },
70
- success: function (data) {
71
- $(self).text('Opt out')
72
-
73
- if (data && !data.success) {
74
- $('#analyst-opt-out-modal').hide()
75
-
76
- return
77
- }
78
-
79
- $error.hide()
80
-
81
- $('#analyst-opt-out-modal').hide()
82
-
83
- isOptingOut = false
84
-
85
- var optInAction = $('<a />').attr({
86
- class: 'analyst-action-opt analyst-opt-in',
87
- 'analyst-plugin-id': pluginId,
88
- 'analyst-plugin-signed': '1'
89
- })
90
- .text('Opt In')
91
- $('.analyst-opt-out[analyst-plugin-id="'+ pluginId +'"').replaceWith(optInAction)
92
-
93
- $('[analyst-plugin-id="' + pluginId + '"').attr('analyst-plugin-opted-in', 0)
94
-
95
- $mask.hide()
96
- },
97
- error: function () {
98
- $('#analyst-opt-out-error').show()
99
-
100
- $(self).text('Opt out')
101
- }
102
- }).done(function () {
103
- $mask.hide()
104
-
105
- isOptingOut = false
106
- })
107
- })
108
- })(jQuery)
109
- </script>
1
+ <div id="analyst-opt-out-modal" class="analyst-modal" style="display: none">
2
+ <div class="analyst-modal-content" style="width: 600px">
3
+ <div class="analyst-disable-modal-mask" id="analyst-disable-opt-out-modal-mask" style="display: none"></div>
4
+ <div style="display: flex">
5
+ <div class="analyst-install-image-block" style="width: 120px">
6
+ <img src="<?=$shieldImage?>"/>
7
+ </div>
8
+ <div class="analyst-install-description-block">
9
+ <strong class="analyst-modal-header">By opting out, we cannot alert you anymore in case of important security updates.</strong>
10
+ <p class="analyst-install-description-text">
11
+ In addition, we won’t get pointers how to further improve the plugin based on your integration with our plugin.
12
+ </p>
13
+ </div>
14
+ </div>
15
+ <div class="analyst-modal-def-top-padding">
16
+ <button class="analyst-btn-success opt-out-modal-close">Ok, don't opt out</button>
17
+ </div>
18
+ <div class="analyst-modal-def-top-padding" style="text-align: center;">
19
+ <button class="analyst-btn-secondary-ghost" id="opt-out-action">Opt out</button>
20
+ </div>
21
+ <div id="analyst-opt-out-error" class="analyst-modal-def-top-padding" style="display: none;">
22
+ <span style="color: #dc3232; font-size: 16px">Service unavailable. Please try again later</span>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ </div>
27
+
28
+ <script type="text/javascript">
29
+
30
+ (function ($) {
31
+ var isOptingOut = false
32
+
33
+ $('#analyst-opt-out-modal').appendTo($('body'))
34
+
35
+ $(document).on('click', '.analyst-opt-out', function() {
36
+ var pluginId = $(this).attr('analyst-plugin-id')
37
+
38
+ $('#analyst-opt-out-modal')
39
+ .attr({'analyst-plugin-id': pluginId})
40
+ .show()
41
+ })
42
+
43
+ $('.opt-out-modal-close').click(function () {
44
+ $('#analyst-opt-out-modal').hide()
45
+ })
46
+
47
+ $('#opt-out-action').click(function () {
48
+ if (isOptingOut) return
49
+
50
+ var $mask = $('#analyst-disable-opt-out-modal-mask')
51
+ var $error = $('#analyst-opt-out-error')
52
+
53
+ var pluginId = $('#analyst-opt-out-modal').attr('analyst-plugin-id')
54
+
55
+ $mask.show()
56
+ $error.hide()
57
+
58
+ var self = this
59
+
60
+ isOptingOut = true
61
+
62
+ $(self).text('Opting out...')
63
+
64
+ $.ajax({
65
+ url: ajaxurl,
66
+ method: 'POST',
67
+ data: {
68
+ action: 'analyst_opt_out_' + pluginId,
69
+ },
70
+ success: function (data) {
71
+ $(self).text('Opt out')
72
+
73
+ if (data && !data.success) {
74
+ $('#analyst-opt-out-modal').hide()
75
+
76
+ return
77
+ }
78
+
79
+ $error.hide()
80
+
81
+ $('#analyst-opt-out-modal').hide()
82
+
83
+ isOptingOut = false
84
+
85
+ var optInAction = $('<a />').attr({
86
+ class: 'analyst-action-opt analyst-opt-in',
87
+ 'analyst-plugin-id': pluginId,
88
+ 'analyst-plugin-signed': '1'
89
+ })
90
+ .text('Opt In')
91
+ $('.analyst-opt-out[analyst-plugin-id="'+ pluginId +'"').replaceWith(optInAction)
92
+
93
+ $('[analyst-plugin-id="' + pluginId + '"').attr('analyst-plugin-opted-in', 0)
94
+
95
+ $mask.hide()
96
+ },
97
+ error: function () {
98
+ $('#analyst-opt-out-error').show()
99
+
100
+ $(self).text('Opt out')
101
+ }
102
+ }).done(function () {
103
+ $mask.hide()
104
+
105
+ isOptingOut = false
106
+ })
107
+ })
108
+ })(jQuery)
109
+ </script>
analyst/version.php CHANGED
@@ -1,15 +1,15 @@
1
- <?php
2
-
3
- return array(
4
- // The sdk version
5
- 'sdk' => '1.3.30',
6
-
7
- // Minimum supported WordPress version
8
- 'wp' => '4.7',
9
-
10
- // Supported PHP version
11
- 'php' => '5.4',
12
-
13
- // Path to current SDK$
14
- 'path' => __DIR__,
15
- );
1
+ <?php
2
+
3
+ return array(
4
+ // The sdk version
5
+ 'sdk' => '1.3.30',
6
+
7
+ // Minimum supported WordPress version
8
+ 'wp' => '4.7',
9
+
10
+ // Supported PHP version
11
+ 'php' => '5.4',
12
+
13
+ // Path to current SDK$
14
+ 'path' => __DIR__,
15
+ );
css/jquery-ui-1.10.4/jquery-ui.css CHANGED
@@ -1,1177 +1,1177 @@
1
-
2
- /*! jQuery UI - v1.10.4 - 2014-01-17
3
- * http://jqueryui.com
4
- * Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
5
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
6
- * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
7
-
8
- /* Layout helpers
9
- ----------------------------------*/
10
-
11
- @font-face {
12
- font-family: 'helveticaregular';
13
- src: url('../fonts/helvetica_0-webfont.eot');
14
- src: url('../fonts/helvetica_0-webfont.eot?#iefix') format('embedded-opentype'),
15
- url('../fonts/helvetica_0-webfont.woff') format('woff'),
16
- url('../fonts/helvetica_0-webfont.ttf') format('truetype'),
17
- url('../fonts/helvetica_0-webfont.svg#helveticaregular') format('svg');
18
- font-weight: normal;
19
- font-style: normal;
20
-
21
- }
22
- .ui-helper-hidden {
23
- display: none;
24
- }
25
- .ui-helper-hidden-accessible {
26
- border: 0;
27
- clip: rect(0 0 0 0);
28
- height: 1px;
29
- margin: -1px;
30
- overflow: hidden;
31
- padding: 0;
32
- position: absolute;
33
- width: 1px;
34
- }
35
- .ui-helper-reset {
36
- margin: 0;
37
- padding: 0;
38
- border: 0;
39
- outline: 0;
40
- line-height: 1.3;
41
- text-decoration: none;
42
- font-size: 100%;
43
- list-style: none;
44
- }
45
- .ui-helper-clearfix:before,
46
- .ui-helper-clearfix:after {
47
- content: "";
48
- display: table;
49
- border-collapse: collapse;
50
- }
51
- .ui-helper-clearfix:after {
52
- clear: both;
53
- }
54
- .ui-helper-clearfix {
55
- min-height: 0; /* support: IE7 */
56
- }
57
- .ui-helper-zfix {
58
- width: 100%;
59
- height: 100%;
60
- top: 0;
61
- left: 0;
62
- position: absolute;
63
- opacity: 0;
64
- filter:Alpha(Opacity=0);
65
- }
66
-
67
- .ui-front {
68
- z-index: 100;
69
- }
70
- /* Interaction Cues
71
- ----------------------------------*/
72
- .ui-state-disabled {
73
- cursor: default !important;
74
- }
75
- /* Icons
76
- ----------------------------------*/
77
-
78
- /* states and images */
79
- .ui-icon {
80
- display: block;
81
- text-indent: -99999px;
82
- overflow: hidden;
83
- background-repeat: no-repeat;
84
- }
85
- /* Misc visuals
86
- ----------------------------------*/
87
-
88
- /* Overlays */
89
- .ui-widget-overlay {
90
- position: fixed;
91
- top: 0;
92
- left: 0;
93
- width: 100%;
94
- height: 100%;
95
- }
96
- .ui-accordion .ui-accordion-header {
97
- display: block;
98
- cursor: pointer;
99
- position: relative;
100
- margin-top: 10px;
101
- padding: .6em .5em;
102
- min-height: 0; /* support: IE7 */
103
- font-size:20px;
104
- font-weight:normal;
105
- }
106
- .ui-accordion .ui-accordion-icons {
107
- padding-left: 62px;
108
- padding-right: 40px;
109
- }
110
- .ui-accordion .ui-accordion-noicons {
111
- padding-left: .7em;
112
- }
113
- .ui-accordion .ui-accordion-icons .ui-accordion-icons {
114
- padding-left: 2.2em;
115
- }
116
- .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
117
- position: absolute;
118
- left: .5em;
119
- top: 50%;
120
- margin-top: -8px;
121
- display:none;
122
- }
123
- .ui-accordion .ui-accordion-content {
124
- padding:1.6em 2em 1.4em 2em;
125
- border-top: 0;
126
- }
127
- .ui-autocomplete {
128
- position: absolute;
129
- top: 0;
130
- left: 0;
131
- cursor: default;
132
- }
133
- .ui-button {
134
- display: inline-block;
135
- position: relative;
136
- padding: 0;
137
- line-height: normal;
138
- margin-right: .1em;
139
- cursor: pointer;
140
- vertical-align: middle;
141
- text-align: center;
142
- overflow: visible; /* removes extra width in IE */
143
- }
144
- .ui-button,
145
- .ui-button:link,
146
- .ui-button:visited,
147
- .ui-button:hover,
148
- .ui-button:active {
149
- text-decoration: none;
150
- }
151
- /* to make room for the icon, a width needs to be set here */
152
- .ui-button-icon-only {
153
- width: 2.2em;
154
- }
155
- /* button elements seem to need a little more width */
156
- button.ui-button-icon-only {
157
- width: 2.4em;
158
- }
159
- .ui-button-icons-only {
160
- width: 3.4em;
161
- }
162
- button.ui-button-icons-only {
163
- width: 3.7em;
164
- }
165
-
166
- /* button text element */
167
- .ui-button .ui-button-text {
168
- display: block;
169
- line-height: normal;
170
- }
171
- .ui-button-text-only .ui-button-text {
172
- padding: .4em 1em;
173
- }
174
- .ui-button-icon-only .ui-button-text,
175
- .ui-button-icons-only .ui-button-text {
176
- padding: .4em;
177
- text-indent: -9999999px;
178
- }
179
- .ui-button-text-icon-primary .ui-button-text,
180
- .ui-button-text-icons .ui-button-text {
181
- padding: .4em 1em .4em 2.1em;
182
- }
183
- .ui-button-text-icon-secondary .ui-button-text,
184
- .ui-button-text-icons .ui-button-text {
185
- padding: .4em 2.1em .4em 1em;
186
- }
187
- .ui-button-text-icons .ui-button-text {
188
- padding-left: 2.1em;
189
- padding-right: 2.1em;
190
- }
191
- /* no icon support for input elements, provide padding by default */
192
- input.ui-button {
193
- padding: .4em 1em;
194
- }
195
-
196
- /* button icon element(s) */
197
- .ui-button-icon-only .ui-icon,
198
- .ui-button-text-icon-primary .ui-icon,
199
- .ui-button-text-icon-secondary .ui-icon,
200
- .ui-button-text-icons .ui-icon,
201
- .ui-button-icons-only .ui-icon {
202
- position: absolute;
203
- top: 50%;
204
- margin-top: -8px;
205
- }
206
- .ui-button-icon-only .ui-icon {
207
- left: 50%;
208
- margin-left: -8px;
209
- }
210
- .ui-button-text-icon-primary .ui-button-icon-primary,
211
- .ui-button-text-icons .ui-button-icon-primary,
212
- .ui-button-icons-only .ui-button-icon-primary {
213
- left: .5em;
214
- }
215
- .ui-button-text-icon-secondary .ui-button-icon-secondary,
216
- .ui-button-text-icons .ui-button-icon-secondary,
217
- .ui-button-icons-only .ui-button-icon-secondary {
218
- right: .5em;
219
- }
220
-
221
- /* button sets */
222
- .ui-buttonset {
223
- margin-right: 7px;
224
- }
225
- .ui-buttonset .ui-button {
226
- margin-left: 0;
227
- margin-right: -.3em;
228
- }
229
-
230
- /* workarounds */
231
- /* reset extra padding in Firefox, see h5bp.com/l */
232
- input.ui-button::-moz-focus-inner,
233
- button.ui-button::-moz-focus-inner {
234
- border: 0;
235
- padding: 0;
236
- }
237
- .ui-datepicker {
238
- width: 17em;
239
- padding: .2em .2em 0;
240
- display: none;
241
- }
242
- .ui-datepicker .ui-datepicker-header {
243
- position: relative;
244
- padding: .2em 0;
245
- }
246
- .ui-datepicker .ui-datepicker-prev,
247
- .ui-datepicker .ui-datepicker-next {
248
- position: absolute;
249
- top: 2px;
250
- width: 1.8em;
251
- height: 1.8em;
252
- }
253
- .ui-datepicker .ui-datepicker-prev-hover,
254
- .ui-datepicker .ui-datepicker-next-hover {
255
- top: 1px;
256
- }
257
- .ui-datepicker .ui-datepicker-prev {
258
- left: 2px;
259
- }
260
- .ui-datepicker .ui-datepicker-next {
261
- right: 2px;
262
- }
263
- .ui-datepicker .ui-datepicker-prev-hover {
264
- left: 1px;
265
- }
266
- .ui-datepicker .ui-datepicker-next-hover {
267
- right: 1px;
268
- }
269
- .ui-datepicker .ui-datepicker-prev span,
270
- .ui-datepicker .ui-datepicker-next span {
271
- display: block;
272
- position: absolute;
273
- left: 50%;
274
- margin-left: -8px;
275
- top: 50%;
276
- margin-top: -8px;
277
- }
278
- .ui-datepicker .ui-datepicker-title {
279
- margin: 0 2.3em;
280
- line-height: 1.8em;
281
- text-align: center;
282
- }
283
- .ui-datepicker .ui-datepicker-title select {
284
- font-size: 1em;
285
- margin: 1px 0;
286
- }
287
- .ui-datepicker select.ui-datepicker-month,
288
- .ui-datepicker select.ui-datepicker-year {
289
- width: 49%;
290
- }
291
- .ui-datepicker table {
292
- width: 100%;
293
- font-size: .9em;
294
- border-collapse: collapse;
295
- margin: 0 0 .4em;
296
- }
297
- .ui-datepicker th {
298
- padding: .7em .3em;
299
- text-align: center;
300
- font-weight: bold;
301
- border: 0;
302
- }
303
- .ui-datepicker td {
304
- border: 0;
305
- padding: 1px;
306
- }
307
- .ui-datepicker td span,
308
- .ui-datepicker td a {
309
- display: block;
310
- padding: .2em;
311
- text-align: right;
312
- text-decoration: none;
313
- }
314
- .ui-datepicker .ui-datepicker-buttonpane {
315
- background-image: none;
316
- margin: .7em 0 0 0;
317
- padding: 0 .2em;
318
- border-left: 0;
319
- border-right: 0;
320
- border-bottom: 0;
321
- }
322
- .ui-datepicker .ui-datepicker-buttonpane button {
323
- float: right;
324
- margin: .5em .2em .4em;
325
- cursor: pointer;
326
- padding: .2em .6em .3em .6em;
327
- width: auto;
328
- overflow: visible;
329
- }
330
- .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
331
- float: left;
332
- }
333
-
334
- /* with multiple calendars */
335
- .ui-datepicker.ui-datepicker-multi {
336
- width: auto;
337
- }
338
- .ui-datepicker-multi .ui-datepicker-group {
339
- float: left;
340
- }
341
- .ui-datepicker-multi .ui-datepicker-group table {
342
- width: 95%;
343
- margin: 0 auto .4em;
344
- }
345
- .ui-datepicker-multi-2 .ui-datepicker-group {
346
- width: 50%;
347
- }
348
- .ui-datepicker-multi-3 .ui-datepicker-group {
349
- width: 33.3%;
350
- }
351
- .ui-datepicker-multi-4 .ui-datepicker-group {
352
- width: 25%;
353
- }
354
- .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
355
- .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
356
- border-left-width: 0;
357
- }
358
- .ui-datepicker-multi .ui-datepicker-buttonpane {
359
- clear: left;
360
- }
361
- .ui-datepicker-row-break {
362
- clear: both;
363
- width: 100%;
364
- font-size: 0;
365
- }
366
-
367
- /* RTL support */
368
- .ui-datepicker-rtl {
369
- direction: rtl;
370
- }
371
- .ui-datepicker-rtl .ui-datepicker-prev {
372
- right: 2px;
373
- left: auto;
374
- }
375
- .ui-datepicker-rtl .ui-datepicker-next {
376
- left: 2px;
377
- right: auto;
378
- }
379
- .ui-datepicker-rtl .ui-datepicker-prev:hover {
380
- right: 1px;
381
- left: auto;
382
- }
383
- .ui-datepicker-rtl .ui-datepicker-next:hover {
384
- left: 1px;
385
- right: auto;
386
- }
387
- .ui-datepicker-rtl .ui-datepicker-buttonpane {
388
- clear: right;
389
- }
390
- .ui-datepicker-rtl .ui-datepicker-buttonpane button {
391
- float: left;
392
- }
393
- .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
394
- .ui-datepicker-rtl .ui-datepicker-group {
395
- float: right;
396
- }
397
- .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
398
- .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
399
- border-right-width: 0;
400
- border-left-width: 1px;
401
- }
402
- .ui-dialog {
403
- overflow: hidden;
404
- position: absolute;
405
- top: 0;
406
- left: 0;
407
- padding: .2em;
408
- outline: 0;
409
- }
410
- .ui-dialog .ui-dialog-titlebar {
411
- padding: .4em 1em;
412
- position: relative;
413
- }
414
- .ui-dialog .ui-dialog-title {
415
- float: left;
416
- margin: .1em 0;
417
- white-space: nowrap;
418
- width: 90%;
419
- overflow: hidden;
420
- text-overflow: ellipsis;
421
- }
422
- .ui-dialog .ui-dialog-titlebar-close {
423
- position: absolute;
424
- right: .3em;
425
- top: 50%;
426
- width: 20px;
427
- margin: -10px 0 0 0;
428
- padding: 1px;
429
- height: 20px;
430
- }
431
- .ui-dialog .ui-dialog-content {
432
- position: relative;
433
- border: 0;
434
- padding: .5em 1em;
435
- background: none;
436
- overflow: auto;
437
- }
438
- .ui-dialog .ui-dialog-buttonpane {
439
- text-align: left;
440
- border-width: 1px 0 0 0;
441
- background-image: none;
442
- margin-top: .5em;
443
- padding: .3em 1em .5em .4em;
444
- }
445
- .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
446
- float: right;
447
- }
448
- .ui-dialog .ui-dialog-buttonpane button {
449
- margin: .5em .4em .5em 0;
450
- cursor: pointer;
451
- }
452
- .ui-dialog .ui-resizable-se {
453
- width: 12px;
454
- height: 12px;
455
- right: -5px;
456
- bottom: -5px;
457
- background-position: 16px 16px;
458
- }
459
- .ui-draggable .ui-dialog-titlebar {
460
- cursor: move;
461
- }
462
- .ui-menu {
463
- list-style: none;
464
- padding: 2px;
465
- margin: 0;
466
- display: block;
467
- outline: none;
468
- }
469
- .ui-menu .ui-menu {
470
- margin-top: -3px;
471
- position: absolute;
472
- }
473
- .ui-menu .ui-menu-item {
474
- margin: 0;
475
- padding: 0;
476
- width: 100%;
477
- /* support: IE10, see #8844 */
478
- list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
479
- }
480
- .ui-menu .ui-menu-divider {
481
- margin: 5px -2px 5px -2px;
482
- height: 0;
483
- font-size: 0;
484
- line-height: 0;
485
- border-width: 1px 0 0 0;
486
- }
487
- .ui-menu .ui-menu-item a {
488
- text-decoration: none;
489
- display: block;
490
- padding: 2px .4em;
491
- line-height: 1.5;
492
- min-height: 0; /* support: IE7 */
493
- font-weight: normal;
494
- }
495
- .ui-menu .ui-menu-item a.ui-state-focus,
496
- .ui-menu .ui-menu-item a.ui-state-active {
497
- font-weight: normal;
498
- margin: -1px;
499
- }
500
-
501
- .ui-menu .ui-state-disabled {
502
- font-weight: normal;
503
- margin: .4em 0 .2em;
504
- line-height: 1.5;
505
- }
506
- .ui-menu .ui-state-disabled a {
507
- cursor: default;
508
- }
509
-
510
- /* icon support */
511
- .ui-menu-icons {
512
- position: relative;
513
- }
514
- .ui-menu-icons .ui-menu-item a {
515
- position: relative;
516
- padding-left: 2em;
517
- }
518
-
519
- /* left-aligned */
520
- .ui-menu .ui-icon {
521
- position: absolute;
522
- top: .2em;
523
- left: .2em;
524
- }
525
-
526
- /* right-aligned */
527
- .ui-menu .ui-menu-icon {
528
- position: static;
529
- float: right;
530
- }
531
- .ui-progressbar {
532
- height: 2em;
533
- text-align: left;
534
- overflow: hidden;
535
- }
536
- .ui-progressbar .ui-progressbar-value {
537
- margin: -1px;
538
- height: 100%;
539
- }
540
- .ui-progressbar .ui-progressbar-overlay {
541
- background: url("images/animated-overlay.gif");
542
- height: 100%;
543
- filter: alpha(opacity=25);
544
- opacity: 0.25;
545
- }
546
- .ui-progressbar-indeterminate .ui-progressbar-value {
547
- background-image: none;
548
- }
549
- .ui-resizable {
550
- position: relative;
551
- }
552
- .ui-resizable-handle {
553
- position: absolute;
554
- font-size: 0.1px;
555
- display: block;
556
- }
557
- .ui-resizable-disabled .ui-resizable-handle,
558
- .ui-resizable-autohide .ui-resizable-handle {
559
- display: none;
560
- }
561
- .ui-resizable-n {
562
- cursor: n-resize;
563
- height: 7px;
564
- width: 100%;
565
- top: -5px;
566
- left: 0;
567
- }
568
- .ui-resizable-s {
569
- cursor: s-resize;
570
- height: 7px;
571
- width: 100%;
572
- bottom: -5px;
573
- left: 0;
574
- }
575
- .ui-resizable-e {
576
- cursor: e-resize;
577
- width: 7px;
578
- right: -5px;
579
- top: 0;
580
- height: 100%;
581
- }
582
- .ui-resizable-w {
583
- cursor: w-resize;
584
- width: 7px;
585
- left: -5px;
586
- top: 0;
587
- height: 100%;
588
- }
589
- .ui-resizable-se {
590
- cursor: se-resize;
591
- width: 12px;
592
- height: 12px;
593
- right: 1px;
594
- bottom: 1px;
595
- }
596
- .ui-resizable-sw {
597
- cursor: sw-resize;
598
- width: 9px;
599
- height: 9px;
600
- left: -5px;
601
- bottom: -5px;
602
- }
603
- .ui-resizable-nw {
604
- cursor: nw-resize;
605
- width: 9px;
606
- height: 9px;
607
- left: -5px;
608
- top: -5px;
609
- }
610
- .ui-resizable-ne {
611
- cursor: ne-resize;
612
- width: 9px;
613
- height: 9px;
614
- right: -5px;
615
- top: -5px;
616
- }
617
- .ui-selectable-helper {
618
- position: absolute;
619
- z-index: 100;
620
- border: 1px dotted black;
621
- }
622
- .ui-slider {
623
- position: relative;
624
- text-align: left;
625
- }
626
- .ui-slider .ui-slider-handle {
627
- position: absolute;
628
- z-index: 2;
629
- width: 1.2em;
630
- height: 1.2em;
631
- cursor: default;
632
- }
633
- .ui-slider .ui-slider-range {
634
- position: absolute;
635
- z-index: 1;
636
- font-size: .7em;
637
- display: block;
638
- border: 0;
639
- background-position: 0 0;
640
- }
641
-
642
- /* For IE8 - See #6727 */
643
- .ui-slider.ui-state-disabled .ui-slider-handle,
644
- .ui-slider.ui-state-disabled .ui-slider-range {
645
- filter: inherit;
646
- }
647
-
648
- .ui-slider-horizontal {
649
- height: .8em;
650
- }
651
- .ui-slider-horizontal .ui-slider-handle {
652
- top: -.3em;
653
- margin-left: -.6em;
654
- }
655
- .ui-slider-horizontal .ui-slider-range {
656
- top: 0;
657
- height: 100%;
658
- }
659
- .ui-slider-horizontal .ui-slider-range-min {
660
- left: 0;
661
- }
662
- .ui-slider-horizontal .ui-slider-range-max {
663
- right: 0;
664
- }
665
-
666
- .ui-slider-vertical {
667
- width: .8em;
668
- height: 100px;
669
- }
670
- .ui-slider-vertical .ui-slider-handle {
671
- left: -.3em;
672
- margin-left: 0;
673
- margin-bottom: -.6em;
674
- }
675
- .ui-slider-vertical .ui-slider-range {
676
- left: 0;
677
- width: 100%;
678
- }
679
- .ui-slider-vertical .ui-slider-range-min {
680
- bottom: 0;
681
- }
682
- .ui-slider-vertical .ui-slider-range-max {
683
- top: 0;
684
- }
685
- .ui-spinner {
686
- position: relative;
687
- display: inline-block;
688
- overflow: hidden;
689
- padding: 0;
690
- vertical-align: middle;
691
- }
692
- .ui-spinner-input {
693
- border: none;
694
- background: none;
695
- color: inherit;
696
- padding: 0;
697
- margin: .2em 0;
698
- vertical-align: middle;
699
- margin-left: .4em;
700
- margin-right: 22px;
701
- }
702
- .ui-spinner-button {
703
- width: 16px;
704
- height: 50%;
705
- font-size: .5em;
706
- padding: 0;
707
- margin: 0;
708
- text-align: center;
709
- position: absolute;
710
- cursor: default;
711
- display: block;
712
- overflow: hidden;
713
- right: 0;
714
- }
715
- /* more specificity required here to override default borders */
716
- .ui-spinner a.ui-spinner-button {
717
- border-top: none;
718
- border-bottom: none;
719
- border-right: none;
720
- }
721
- /* vertically center icon */
722
- .ui-spinner .ui-icon {
723
- position: absolute;
724
- margin-top: -8px;
725
- top: 50%;
726
- left: 0;
727
- }
728
- .ui-spinner-up {
729
- top: 0;
730
- }
731
- .ui-spinner-down {
732
- bottom: 0;
733
- }
734
-
735
- /* TR overrides */
736
- .ui-spinner .ui-icon-triangle-1-s {
737
- /* need to fix icons sprite */
738
- background-position: -65px -16px;
739
- }
740
- .ui-tabs {
741
- position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
742
- padding: .2em;
743
- }
744
- .ui-tabs .ui-tabs-nav {
745
- margin: 0;
746
- padding: .2em .2em 0;
747
- }
748
- .ui-tabs .ui-tabs-nav li {
749
- list-style: none;
750
- float: left;
751
- position: relative;
752
- top: 0;
753
- margin: 1px .2em 0 0;
754
- border-bottom-width: 0;
755
- padding: 0;
756
- white-space: nowrap;
757
- }
758
- .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
759
- float: left;
760
- padding: .5em 1em;
761
- text-decoration: none;
762
- }
763
- .ui-tabs .ui-tabs-nav li.ui-tabs-active {
764
- margin-bottom: -1px;
765
- padding-bottom: 1px;
766
- }
767
- .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
768
- .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
769
- .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
770
- cursor: text;
771
- }
772
- .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
773
- cursor: pointer;
774
- }
775
- .ui-tabs .ui-tabs-panel {
776
- display: block;
777
- border-width: 0;
778
- padding: 1em 1.4em;
779
- background: none;
780
- }
781
- .ui-tooltip {
782
- padding: 8px;
783
- position: absolute;
784
- z-index: 9999;
785
- max-width: 300px;
786
- -webkit-box-shadow: 0 0 5px #aaa;
787
- box-shadow: 0 0 5px #aaa;
788
- }
789
- body .ui-tooltip {
790
- border-width: 2px;
791
- }
792
-
793
- /* Component containers
794
- ----------------------------------*/
795
- .ui-widget {
796
- font-family: 'helveticaregular';
797
- font-size: 1.1em;
798
- }
799
- .ui-widget .ui-widget {
800
- font-size: 1em;
801
- }
802
- .ui-widget input,
803
- .ui-widget select,
804
- .ui-widget textarea,
805
- .ui-widget button {
806
- font-family: 'helveticaregular';
807
- font-size:17px;
808
- }
809
- .ui-widget-content {
810
- background: #ffffff;
811
- color: #414951;
812
- }
813
- .ui-widget-content a {
814
- color: #222222;
815
- }
816
- .ui-widget-header {
817
- background: #fff;
818
- color: #222222;
819
- }
820
- .ui-widget-header a {
821
- color: #222222;
822
- }
823
-
824
- /* Interaction states
825
- ----------------------------------*/
826
- .ui-state-default,
827
- .ui-widget-content .ui-state-default,
828
- .ui-widget-header .ui-state-default {
829
- background: #fff url(../images/arrow.png) right top no-repeat;
830
- font-weight: normal;
831
- color: #414951;
832
- }
833
- .ui-state-default a,
834
- .ui-state-default a:link,
835
- .ui-state-default a:visited {
836
- color: #555555;
837
- text-decoration: none;
838
- }
839
- .ui-state-hover,
840
- .ui-widget-content .ui-state-hover,
841
- .ui-widget-header .ui-state-hover,
842
- /*.ui-state-focus, */
843
- .ui-widget-content .ui-state-focus,
844
- .ui-widget-header .ui-state-focus {
845
- background: #d22b30 url(../images/arrow.png) right -50px no-repeat;
846
- font-weight: normal;
847
- color: #eee;
848
- }
849
- .ui-state-hover a,
850
- .ui-state-hover a:hover,
851
- .ui-state-hover a:link,
852
- .ui-state-hover a:visited,
853
- .ui-state-focus a,
854
- .ui-state-focus a:hover,
855
- .ui-state-focus a:link,
856
- .ui-state-focus a:visited {
857
- color: #212121;
858
- text-decoration: none;
859
- }
860
- /*.ui-state-active,
861
- .ui-widget-content .ui-state-active,
862
- .ui-widget-header .ui-state-active {
863
- background: #d22b30 url(../images/arrow.png) right -50px no-repeat;
864
- font-weight: normal;
865
- color: #fff;
866
- }*/
867
- .ui-state-active,
868
- .ui-widget-content .ui-state-active,
869
- .ui-widget-header .ui-state-active {
870
- background: #d22b30 url(../images/arrow.png) right -105px no-repeat;
871
- font-weight: normal;
872
- color:#eeeeee;
873
- }
874
-
875
- .ui-state-active a,
876
- .ui-state-active a:link,
877
- .ui-state-active a:visited {
878
- color: #212121;
879
- text-decoration: none;
880
- }
881
-
882
- /* Interaction Cues
883
- ----------------------------------*/
884
- .ui-state-highlight,
885
- .ui-widget-content .ui-state-highlight,
886
- .ui-widget-header .ui-state-highlight {
887
- border: 1px solid #fcefa1;
888
- background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;
889
- color: #363636;
890
- }
891
- .ui-state-highlight a,
892
- .ui-widget-content .ui-state-highlight a,
893
- .ui-widget-header .ui-state-highlight a {
894
- color: #363636;
895
- }
896
- .ui-state-error,
897
- .ui-widget-content .ui-state-error,
898
- .ui-widget-header .ui-state-error {
899
- border: 1px solid #cd0a0a;
900
- background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;
901
- color: #cd0a0a;
902
- }
903
- .ui-state-error a,
904
- .ui-widget-content .ui-state-error a,
905
- .ui-widget-header .ui-state-error a {
906
- color: #cd0a0a;
907
- }
908
- .ui-state-error-text,
909
- .ui-widget-content .ui-state-error-text,
910
- .ui-widget-header .ui-state-error-text {
911
- color: #cd0a0a;
912
- }
913
- .ui-priority-primary,
914
- .ui-widget-content .ui-priority-primary,
915
- .ui-widget-header .ui-priority-primary {
916
- font-weight: bold;
917
- }
918
- .ui-priority-secondary,
919
- .ui-widget-content .ui-priority-secondary,
920
- .ui-widget-header .ui-priority-secondary {
921
- opacity: .7;
922
- filter:Alpha(Opacity=70);
923
- font-weight: normal;
924
- }
925
- .ui-state-disabled,
926
- .ui-widget-content .ui-state-disabled,
927
- .ui-widget-header .ui-state-disabled {
928
- opacity: .35;
929
- filter:Alpha(Opacity=35);
930
- background-image: none;
931
- }
932
- .ui-state-disabled .ui-icon {
933
- filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
934
- }
935
-
936
- /* Icons
937
- ----------------------------------*/
938
-
939
- /* states and images */
940
- .ui-icon {
941
- width: 16px;
942
- height: 16px;
943
- }
944
- .ui-icon,
945
- .ui-widget-content .ui-icon {
946
- background-image: url(images/ui-icons_222222_256x240.png);
947
- }
948
- .ui-widget-header .ui-icon {
949
- background-image: url(images/ui-icons_222222_256x240.png);
950
- }
951
- .ui-state-default .ui-icon {
952
- background-image: url(images/ui-icons_888888_256x240.png);
953
- }
954
- .ui-state-hover .ui-icon,
955
- .ui-state-focus .ui-icon {
956
- background-image: url(images/ui-icons_454545_256x240.png);
957
- }
958
- .ui-state-active .ui-icon {
959
- background-image: url(images/ui-icons_454545_256x240.png);
960
- }
961
- .ui-state-highlight .ui-icon {
962
- background-image: url(images/ui-icons_2e83ff_256x240.png);
963
- }
964
- .ui-state-error .ui-icon,
965
- .ui-state-error-text .ui-icon {
966
- background-image: url(images/ui-icons_cd0a0a_256x240.png);
967
- }
968
-
969
- /* positioning */
970
- .ui-icon-blank { background-position: 16px 16px; }
971
- .ui-icon-carat-1-n { background-position: 0 0; }
972
- .ui-icon-carat-1-ne { background-position: -16px 0; }
973
- .ui-icon-carat-1-e { background-position: -32px 0; }
974
- .ui-icon-carat-1-se { background-position: -48px 0; }
975
- .ui-icon-carat-1-s { background-position: -64px 0; }
976
- .ui-icon-carat-1-sw { background-position: -80px 0; }
977
- .ui-icon-carat-1-w { background-position: -96px 0; }
978
- .ui-icon-carat-1-nw { background-position: -112px 0; }
979
- .ui-icon-carat-2-n-s { background-position: -128px 0; }
980
- .ui-icon-carat-2-e-w { background-position: -144px 0; }
981
- .ui-icon-triangle-1-n { background-position: 0 -16px; }
982
- .ui-icon-triangle-1-ne { background-position: -16px -16px; }
983
- .ui-icon-triangle-1-e { background-position: -32px -16px; }
984
- .ui-icon-triangle-1-se { background-position: -48px -16px; }
985
- .ui-icon-triangle-1-s { background-position: -64px -16px; }
986
- .ui-icon-triangle-1-sw { background-position: -80px -16px; }
987
- .ui-icon-triangle-1-w { background-position: -96px -16px; }
988
- .ui-icon-triangle-1-nw { background-position: -112px -16px; }
989
- .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
990
- .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
991
- .ui-icon-arrow-1-n { background-position: 0 -32px; }
992
- .ui-icon-arrow-1-ne { background-position: -16px -32px; }
993
- .ui-icon-arrow-1-e { background-position: -32px -32px; }
994
- .ui-icon-arrow-1-se { background-position: -48px -32px; }
995
- .ui-icon-arrow-1-s { background-position: -64px -32px; }
996
- .ui-icon-arrow-1-sw { background-position: -80px -32px; }
997
- .ui-icon-arrow-1-w { background-position: -96px -32px; }
998
- .ui-icon-arrow-1-nw { background-position: -112px -32px; }
999
- .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
1000
- .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
1001
- .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
1002
- .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
1003
- .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
1004
- .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
1005
- .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
1006
- .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
1007
- .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
1008
- .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
1009
- .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
1010
- .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
1011
- .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
1012
- .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
1013
- .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
1014
- .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
1015
- .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
1016
- .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
1017
- .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
1018
- .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
1019
- .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
1020
- .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
1021
- .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
1022
- .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
1023
- .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
1024
- .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
1025
- .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
1026
- .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
1027
- .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
1028
- .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
1029
- .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
1030
- .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
1031
- .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
1032
- .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
1033
- .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
1034
- .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
1035
- .ui-icon-arrow-4 { background-position: 0 -80px; }
1036
- .ui-icon-arrow-4-diag { background-position: -16px -80px; }
1037
- .ui-icon-extlink { background-position: -32px -80px; }
1038
- .ui-icon-newwin { background-position: -48px -80px; }
1039
- .ui-icon-refresh { background-position: -64px -80px; }
1040
- .ui-icon-shuffle { background-position: -80px -80px; }
1041
- .ui-icon-transfer-e-w { background-position: -96px -80px; }
1042
- .ui-icon-transferthick-e-w { background-position: -112px -80px; }
1043
- .ui-icon-folder-collapsed { background-position: 0 -96px; }
1044
- .ui-icon-folder-open { background-position: -16px -96px; }
1045
- .ui-icon-document { background-position: -32px -96px; }
1046
- .ui-icon-document-b { background-position: -48px -96px; }
1047
- .ui-icon-note { background-position: -64px -96px; }
1048
- .ui-icon-mail-closed { background-position: -80px -96px; }
1049
- .ui-icon-mail-open { background-position: -96px -96px; }
1050
- .ui-icon-suitcase { background-position: -112px -96px; }
1051
- .ui-icon-comment { background-position: -128px -96px; }
1052
- .ui-icon-person { background-position: -144px -96px; }
1053
- .ui-icon-print { background-position: -160px -96px; }
1054
- .ui-icon-trash { background-position: -176px -96px; }
1055
- .ui-icon-locked { background-position: -192px -96px; }
1056
- .ui-icon-unlocked { background-position: -208px -96px; }
1057
- .ui-icon-bookmark { background-position: -224px -96px; }
1058
- .ui-icon-tag { background-position: -240px -96px; }
1059
- .ui-icon-home { background-position: 0 -112px; }
1060
- .ui-icon-flag { background-position: -16px -112px; }
1061
- .ui-icon-calendar { background-position: -32px -112px; }
1062
- .ui-icon-cart { background-position: -48px -112px; }
1063
- .ui-icon-pencil { background-position: -64px -112px; }
1064
- .ui-icon-clock { background-position: -80px -112px; }
1065
- .ui-icon-disk { background-position: -96px -112px; }
1066
- .ui-icon-calculator { background-position: -112px -112px; }
1067
- .ui-icon-zoomin { background-position: -128px -112px; }
1068
- .ui-icon-zoomout { background-position: -144px -112px; }
1069
- .ui-icon-search { background-position: -160px -112px; }
1070
- .ui-icon-wrench { background-position: -176px -112px; }
1071
- .ui-icon-gear { background-position: -192px -112px; }
1072
- .ui-icon-heart { background-position: -208px -112px; }
1073
- .ui-icon-star { background-position: -224px -112px; }
1074
- .ui-icon-link { background-position: -240px -112px; }
1075
- .ui-icon-cancel { background-position: 0 -128px; }
1076
- .ui-icon-plus { background-position: -16px -128px; }
1077
- .ui-icon-plusthick { background-position: -32px -128px; }
1078
- .ui-icon-minus { background-position: -48px -128px; }
1079
- .ui-icon-minusthick { background-position: -64px -128px; }
1080
- .ui-icon-close { background-position: -80px -128px; }
1081
- .ui-icon-closethick { background-position: -96px -128px; }
1082
- .ui-icon-key { background-position: -112px -128px; }
1083
- .ui-icon-lightbulb { background-position: -128px -128px; }
1084
- .ui-icon-scissors { background-position: -144px -128px; }
1085
- .ui-icon-clipboard { background-position: -160px -128px; }
1086
- .ui-icon-copy { background-position: -176px -128px; }
1087
- .ui-icon-contact { background-position: -192px -128px; }
1088
- .ui-icon-image { background-position: -208px -128px; }
1089
- .ui-icon-video { background-position: -224px -128px; }
1090
- .ui-icon-script { background-position: -240px -128px; }
1091
- .ui-icon-alert { background-position: 0 -144px; }
1092
- .ui-icon-info { background-position: -16px -144px; }
1093
- .ui-icon-notice { background-position: -32px -144px; }
1094
- .ui-icon-help { background-position: -48px -144px; }
1095
- .ui-icon-check { background-position: -64px -144px; }
1096
- .ui-icon-bullet { background-position: -80px -144px; }
1097
- .ui-icon-radio-on { background-position: -96px -144px; }
1098
- .ui-icon-radio-off { background-position: -112px -144px; }
1099
- .ui-icon-pin-w { background-position: -128px -144px; }
1100
- .ui-icon-pin-s { background-position: -144px -144px; }
1101
- .ui-icon-play { background-position: 0 -160px; }
1102
- .ui-icon-pause { background-position: -16px -160px; }
1103
- .ui-icon-seek-next { background-position: -32px -160px; }
1104
- .ui-icon-seek-prev { background-position: -48px -160px; }
1105
- .ui-icon-seek-end { background-position: -64px -160px; }
1106
- .ui-icon-seek-start { background-position: -80px -160px; }
1107
- /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
1108
- .ui-icon-seek-first { background-position: -80px -160px; }
1109
- .ui-icon-stop { background-position: -96px -160px; }
1110
- .ui-icon-eject { background-position: -112px -160px; }
1111
- .ui-icon-volume-off { background-position: -128px -160px; }
1112
- .ui-icon-volume-on { background-position: -144px -160px; }
1113
- .ui-icon-power { background-position: 0 -176px; }
1114
- .ui-icon-signal-diag { background-position: -16px -176px; }
1115
- .ui-icon-signal { background-position: -32px -176px; }
1116
- .ui-icon-battery-0 { background-position: -48px -176px; }
1117
- .ui-icon-battery-1 { background-position: -64px -176px; }
1118
- .ui-icon-battery-2 { background-position: -80px -176px; }
1119
- .ui-icon-battery-3 { background-position: -96px -176px; }
1120
- .ui-icon-circle-plus { background-position: 0 -192px; }
1121
- .ui-icon-circle-minus { background-position: -16px -192px; }
1122
- .ui-icon-circle-close { background-position: -32px -192px; }
1123
- .ui-icon-circle-triangle-e { background-position: -48px -192px; }
1124
- .ui-icon-circle-triangle-s { background-position: -64px -192px; }
1125
- .ui-icon-circle-triangle-w { background-position: -80px -192px; }
1126
- .ui-icon-circle-triangle-n { background-position: -96px -192px; }
1127
- .ui-icon-circle-arrow-e { background-position: -112px -192px; }
1128
- .ui-icon-circle-arrow-s { background-position: -128px -192px; }
1129
- .ui-icon-circle-arrow-w { background-position: -144px -192px; }
1130
- .ui-icon-circle-arrow-n { background-position: -160px -192px; }
1131
- .ui-icon-circle-zoomin { background-position: -176px -192px; }
1132
- .ui-icon-circle-zoomout { background-position: -192px -192px; }
1133
- .ui-icon-circle-check { background-position: -208px -192px; }
1134
- .ui-icon-circlesmall-plus { background-position: 0 -208px; }
1135
- .ui-icon-circlesmall-minus { background-position: -16px -208px; }
1136
- .ui-icon-circlesmall-close { background-position: -32px -208px; }
1137
- .ui-icon-squaresmall-plus { background-position: -48px -208px; }
1138
- .ui-icon-squaresmall-minus { background-position: -64px -208px; }
1139
- .ui-icon-squaresmall-close { background-position: -80px -208px; }
1140
- .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
1141
- .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
1142
- .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
1143
- .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
1144
- .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
1145
- .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
1146
- /* Misc visuals
1147
- ----------------------------------*/
1148
-
1149
- /* Corner radius */
1150
- .ui-corner-all,
1151
- .ui-corner-top,
1152
- .ui-corner-left,
1153
- .ui-corner-tl {
1154
- border-top-left-radius: 0px;
1155
- }
1156
- .ui-corner-all,
1157
- .ui-corner-top,
1158
- .ui-corner-right,
1159
- .ui-corner-tr {
1160
- border-top-right-radius: 0px;
1161
- }
1162
- .ui-corner-all,
1163
- .ui-corner-bottom,
1164
- .ui-corner-left,
1165
- .ui-corner-bl {
1166
- border-bottom-left-radius: 0px;
1167
- }
1168
- .ui-corner-all,
1169
- .ui-corner-bottom,
1170
- .ui-corner-right,
1171
- .ui-corner-br {
1172
- border-bottom-right-radius: 0px;
1173
- }
1174
- #accordion h3 span,#accordion1 h3 span{ position: absolute; left:0px; top:0px; width:50px; height:49px; background:#31373d; line-height:50px; text-align: center; font-family: 'helveticaregular'; font-size:20px; color:#FFF;}
1175
-
1176
- #accordion h3:hover span, #accordion1 h3:hover span{ background:#b8262a; color:#eee;}
1177
- #accordion h3.ui-state-active span, #accordion1 h3.ui-state-active span{ background:#b8262a; color:#eee;}
1
+
2
+ /*! jQuery UI - v1.10.4 - 2014-01-17
3
+ * http://jqueryui.com
4
+ * Includes: jquery.ui.core.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
5
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
6
+ * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
7
+
8
+ /* Layout helpers
9
+ ----------------------------------*/
10
+
11
+ @font-face {
12
+ font-family: 'helveticaregular';
13
+ src: url('../fonts/helvetica_0-webfont.eot');
14
+ src: url('../fonts/helvetica_0-webfont.eot?#iefix') format('embedded-opentype'),
15
+ url('../fonts/helvetica_0-webfont.woff') format('woff'),
16
+ url('../fonts/helvetica_0-webfont.ttf') format('truetype'),
17
+ url('../fonts/helvetica_0-webfont.svg#helveticaregular') format('svg');
18
+ font-weight: normal;
19
+ font-style: normal;
20
+
21
+ }
22
+ .ui-helper-hidden {
23
+ display: none;
24
+ }
25
+ .ui-helper-hidden-accessible {
26
+ border: 0;
27
+ clip: rect(0 0 0 0);
28
+ height: 1px;
29
+ margin: -1px;
30
+ overflow: hidden;
31
+ padding: 0;
32
+ position: absolute;
33
+ width: 1px;
34
+ }
35
+ .ui-helper-reset {
36
+ margin: 0;
37
+ padding: 0;
38
+ border: 0;
39
+ outline: 0;
40
+ line-height: 1.3;
41
+ text-decoration: none;
42
+ font-size: 100%;
43
+ list-style: none;
44
+ }
45
+ .ui-helper-clearfix:before,
46
+ .ui-helper-clearfix:after {
47
+ content: "";
48
+ display: table;
49
+ border-collapse: collapse;
50
+ }
51
+ .ui-helper-clearfix:after {
52
+ clear: both;
53
+ }
54
+ .ui-helper-clearfix {
55
+ min-height: 0; /* support: IE7 */
56
+ }
57
+ .ui-helper-zfix {
58
+ width: 100%;
59
+ height: 100%;
60
+ top: 0;
61
+ left: 0;
62
+ position: absolute;
63
+ opacity: 0;
64
+ filter:Alpha(Opacity=0);
65
+ }
66
+
67
+ .ui-front {
68
+ z-index: 100;
69
+ }
70
+ /* Interaction Cues
71
+ ----------------------------------*/
72
+ .ui-state-disabled {
73
+ cursor: default !important;
74
+ }
75
+ /* Icons
76
+ ----------------------------------*/
77
+
78
+ /* states and images */
79
+ .ui-icon {
80
+ display: block;
81
+ text-indent: -99999px;
82
+ overflow: hidden;
83
+ background-repeat: no-repeat;
84
+ }
85
+ /* Misc visuals
86
+ ----------------------------------*/
87
+
88
+ /* Overlays */
89
+ .ui-widget-overlay {
90
+ position: fixed;
91
+ top: 0;
92
+ left: 0;
93
+ width: 100%;
94
+ height: 100%;
95
+ }
96
+ .ui-accordion .ui-accordion-header {
97
+ display: block;
98
+ cursor: pointer;
99
+ position: relative;
100
+ margin-top: 10px;
101
+ padding: .6em .5em;
102
+ min-height: 0; /* support: IE7 */
103
+ font-size:20px;
104
+ font-weight:normal;
105
+ }
106
+ .ui-accordion .ui-accordion-icons {
107
+ padding-left: 62px;
108
+ padding-right: 40px;
109
+ }
110
+ .ui-accordion .ui-accordion-noicons {
111
+ padding-left: .7em;
112
+ }
113
+ .ui-accordion .ui-accordion-icons .ui-accordion-icons {
114
+ padding-left: 2.2em;
115
+ }
116
+ .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
117
+ position: absolute;
118
+ left: .5em;
119
+ top: 50%;
120
+ margin-top: -8px;
121
+ display:none;
122
+ }
123
+ .ui-accordion .ui-accordion-content {
124
+ padding:1.6em 2em 1.4em 2em;
125
+ border-top: 0;
126
+ }
127
+ .ui-autocomplete {
128
+ position: absolute;
129
+ top: 0;
130
+ left: 0;
131
+ cursor: default;
132
+ }
133
+ .ui-button {
134
+ display: inline-block;
135
+ position: relative;
136
+ padding: 0;
137
+ line-height: normal;
138
+ margin-right: .1em;
139
+ cursor: pointer;
140
+ vertical-align: middle;
141
+ text-align: center;
142
+ overflow: visible; /* removes extra width in IE */
143
+ }
144
+ .ui-button,
145
+ .ui-button:link,
146
+ .ui-button:visited,
147
+ .ui-button:hover,
148
+ .ui-button:active {
149
+ text-decoration: none;
150
+ }
151
+ /* to make room for the icon, a width needs to be set here */
152
+ .ui-button-icon-only {
153
+ width: 2.2em;
154
+ }
155
+ /* button elements seem to need a little more width */
156
+ button.ui-button-icon-only {
157
+ width: 2.4em;
158
+ }
159
+ .ui-button-icons-only {
160
+ width: 3.4em;
161
+ }
162
+ button.ui-button-icons-only {
163
+ width: 3.7em;
164
+ }
165
+
166
+ /* button text element */
167
+ .ui-button .ui-button-text {
168
+ display: block;
169
+ line-height: normal;
170
+ }
171
+ .ui-button-text-only .ui-button-text {
172
+ padding: .4em 1em;
173
+ }
174
+ .ui-button-icon-only .ui-button-text,
175
+ .ui-button-icons-only .ui-button-text {
176
+ padding: .4em;
177
+ text-indent: -9999999px;
178
+ }
179
+ .ui-button-text-icon-primary .ui-button-text,
180
+ .ui-button-text-icons .ui-button-text {
181
+ padding: .4em 1em .4em 2.1em;
182
+ }
183
+ .ui-button-text-icon-secondary .ui-button-text,
184
+ .ui-button-text-icons .ui-button-text {
185
+ padding: .4em 2.1em .4em 1em;
186
+ }
187
+ .ui-button-text-icons .ui-button-text {
188
+ padding-left: 2.1em;
189
+ padding-right: 2.1em;
190
+ }
191
+ /* no icon support for input elements, provide padding by default */
192
+ input.ui-button {
193
+ padding: .4em 1em;
194
+ }
195
+
196
+ /* button icon element(s) */
197
+ .ui-button-icon-only .ui-icon,
198
+ .ui-button-text-icon-primary .ui-icon,
199
+ .ui-button-text-icon-secondary .ui-icon,
200
+ .ui-button-text-icons .ui-icon,
201
+ .ui-button-icons-only .ui-icon {
202
+ position: absolute;
203
+ top: 50%;
204
+ margin-top: -8px;
205
+ }
206
+ .ui-button-icon-only .ui-icon {
207
+ left: 50%;
208
+ margin-left: -8px;
209
+ }
210
+ .ui-button-text-icon-primary .ui-button-icon-primary,
211
+ .ui-button-text-icons .ui-button-icon-primary,
212
+ .ui-button-icons-only .ui-button-icon-primary {
213
+ left: .5em;
214
+ }
215
+ .ui-button-text-icon-secondary .ui-button-icon-secondary,
216
+ .ui-button-text-icons .ui-button-icon-secondary,
217
+ .ui-button-icons-only .ui-button-icon-secondary {
218
+ right: .5em;
219
+ }
220
+
221
+ /* button sets */
222
+ .ui-buttonset {
223
+ margin-right: 7px;
224
+ }
225
+ .ui-buttonset .ui-button {
226
+ margin-left: 0;
227
+ margin-right: -.3em;
228
+ }
229
+
230
+ /* workarounds */
231
+ /* reset extra padding in Firefox, see h5bp.com/l */
232
+ input.ui-button::-moz-focus-inner,
233
+ button.ui-button::-moz-focus-inner {
234
+ border: 0;
235
+ padding: 0;
236
+ }
237
+ .ui-datepicker {
238
+ width: 17em;
239
+ padding: .2em .2em 0;
240
+ display: none;
241
+ }
242
+ .ui-datepicker .ui-datepicker-header {
243
+ position: relative;
244
+ padding: .2em 0;
245
+ }
246
+ .ui-datepicker .ui-datepicker-prev,
247
+ .ui-datepicker .ui-datepicker-next {
248
+ position: absolute;
249
+ top: 2px;
250
+ width: 1.8em;
251
+ height: 1.8em;
252
+ }
253
+ .ui-datepicker .ui-datepicker-prev-hover,
254
+ .ui-datepicker .ui-datepicker-next-hover {
255
+ top: 1px;
256
+ }
257
+ .ui-datepicker .ui-datepicker-prev {
258
+ left: 2px;
259
+ }
260
+ .ui-datepicker .ui-datepicker-next {
261
+ right: 2px;
262
+ }
263
+ .ui-datepicker .ui-datepicker-prev-hover {
264
+ left: 1px;
265
+ }
266
+ .ui-datepicker .ui-datepicker-next-hover {
267
+ right: 1px;
268
+ }
269
+ .ui-datepicker .ui-datepicker-prev span,
270
+ .ui-datepicker .ui-datepicker-next span {
271
+ display: block;
272
+ position: absolute;
273
+ left: 50%;
274
+ margin-left: -8px;
275
+ top: 50%;
276
+ margin-top: -8px;
277
+ }
278
+ .ui-datepicker .ui-datepicker-title {
279
+ margin: 0 2.3em;
280
+ line-height: 1.8em;
281
+ text-align: center;
282
+ }
283
+ .ui-datepicker .ui-datepicker-title select {
284
+ font-size: 1em;
285
+ margin: 1px 0;
286
+ }
287
+ .ui-datepicker select.ui-datepicker-month,
288
+ .ui-datepicker select.ui-datepicker-year {
289
+ width: 49%;
290
+ }
291
+ .ui-datepicker table {
292
+ width: 100%;
293
+ font-size: .9em;
294
+ border-collapse: collapse;
295
+ margin: 0 0 .4em;
296
+ }
297
+ .ui-datepicker th {
298
+ padding: .7em .3em;
299
+ text-align: center;
300
+ font-weight: bold;
301
+ border: 0;
302
+ }
303
+ .ui-datepicker td {
304
+ border: 0;
305
+ padding: 1px;
306
+ }
307
+ .ui-datepicker td span,
308
+ .ui-datepicker td a {
309
+ display: block;
310
+ padding: .2em;
311
+ text-align: right;
312
+ text-decoration: none;
313
+ }
314
+ .ui-datepicker .ui-datepicker-buttonpane {
315
+ background-image: none;
316
+ margin: .7em 0 0 0;
317
+ padding: 0 .2em;
318
+ border-left: 0;
319
+ border-right: 0;
320
+ border-bottom: 0;
321
+ }
322
+ .ui-datepicker .ui-datepicker-buttonpane button {
323
+ float: right;
324
+ margin: .5em .2em .4em;
325
+ cursor: pointer;
326
+ padding: .2em .6em .3em .6em;
327
+ width: auto;
328
+ overflow: visible;
329
+ }
330
+ .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
331
+ float: left;
332
+ }
333
+
334
+ /* with multiple calendars */
335
+ .ui-datepicker.ui-datepicker-multi {
336
+ width: auto;
337
+ }
338
+ .ui-datepicker-multi .ui-datepicker-group {
339
+ float: left;
340
+ }
341
+ .ui-datepicker-multi .ui-datepicker-group table {
342
+ width: 95%;
343
+ margin: 0 auto .4em;
344
+ }
345
+ .ui-datepicker-multi-2 .ui-datepicker-group {
346
+ width: 50%;
347
+ }
348
+ .ui-datepicker-multi-3 .ui-datepicker-group {
349
+ width: 33.3%;
350
+ }
351
+ .ui-datepicker-multi-4 .ui-datepicker-group {
352
+ width: 25%;
353
+ }
354
+ .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
355
+ .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
356
+ border-left-width: 0;
357
+ }
358
+ .ui-datepicker-multi .ui-datepicker-buttonpane {
359
+ clear: left;
360
+ }
361
+ .ui-datepicker-row-break {
362
+ clear: both;
363
+ width: 100%;
364
+ font-size: 0;
365
+ }
366
+
367
+ /* RTL support */
368
+ .ui-datepicker-rtl {
369
+ direction: rtl;
370
+ }
371
+ .ui-datepicker-rtl .ui-datepicker-prev {
372
+ right: 2px;
373
+ left: auto;
374
+ }
375
+ .ui-datepicker-rtl .ui-datepicker-next {
376
+ left: 2px;
377
+ right: auto;
378
+ }
379
+ .ui-datepicker-rtl .ui-datepicker-prev:hover {
380
+ right: 1px;
381
+ left: auto;
382
+ }
383
+ .ui-datepicker-rtl .ui-datepicker-next:hover {
384
+ left: 1px;
385
+ right: auto;
386
+ }
387
+ .ui-datepicker-rtl .ui-datepicker-buttonpane {
388
+ clear: right;
389
+ }
390
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button {
391
+ float: left;
392
+ }
393
+ .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
394
+ .ui-datepicker-rtl .ui-datepicker-group {
395
+ float: right;
396
+ }
397
+ .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
398
+ .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
399
+ border-right-width: 0;
400
+ border-left-width: 1px;
401
+ }
402
+ .ui-dialog {
403
+ overflow: hidden;
404
+ position: absolute;
405
+ top: 0;
406
+ left: 0;
407
+ padding: .2em;
408
+ outline: 0;
409
+ }
410
+ .ui-dialog .ui-dialog-titlebar {
411
+ padding: .4em 1em;
412
+ position: relative;
413
+ }
414
+ .ui-dialog .ui-dialog-title {
415
+ float: left;
416
+ margin: .1em 0;
417
+ white-space: nowrap;
418
+ width: 90%;
419
+ overflow: hidden;
420
+ text-overflow: ellipsis;
421
+ }
422
+ .ui-dialog .ui-dialog-titlebar-close {
423
+ position: absolute;
424
+ right: .3em;
425
+ top: 50%;
426
+ width: 20px;
427
+ margin: -10px 0 0 0;
428
+ padding: 1px;
429
+ height: 20px;
430
+ }
431
+ .ui-dialog .ui-dialog-content {
432
+ position: relative;
433
+ border: 0;
434
+ padding: .5em 1em;
435
+ background: none;
436
+ overflow: auto;
437
+ }
438
+ .ui-dialog .ui-dialog-buttonpane {
439
+ text-align: left;
440
+ border-width: 1px 0 0 0;
441
+ background-image: none;
442
+ margin-top: .5em;
443
+ padding: .3em 1em .5em .4em;
444
+ }
445
+ .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
446
+ float: right;
447
+ }
448
+ .ui-dialog .ui-dialog-buttonpane button {
449
+ margin: .5em .4em .5em 0;
450
+ cursor: pointer;
451
+ }
452
+ .ui-dialog .ui-resizable-se {
453
+ width: 12px;
454
+ height: 12px;
455
+ right: -5px;
456
+ bottom: -5px;
457
+ background-position: 16px 16px;
458
+ }
459
+ .ui-draggable .ui-dialog-titlebar {
460
+ cursor: move;
461
+ }
462
+ .ui-menu {
463
+ list-style: none;
464
+ padding: 2px;
465
+ margin: 0;
466
+ display: block;
467
+ outline: none;
468
+ }
469
+ .ui-menu .ui-menu {
470
+ margin-top: -3px;
471
+ position: absolute;
472
+ }
473
+ .ui-menu .ui-menu-item {
474
+ margin: 0;
475
+ padding: 0;
476
+ width: 100%;
477
+ /* support: IE10, see #8844 */
478
+ list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
479
+ }
480
+ .ui-menu .ui-menu-divider {
481
+ margin: 5px -2px 5px -2px;
482
+ height: 0;
483
+ font-size: 0;
484
+ line-height: 0;
485
+ border-width: 1px 0 0 0;
486
+ }
487
+ .ui-menu .ui-menu-item a {
488
+ text-decoration: none;
489
+ display: block;
490
+ padding: 2px .4em;
491
+ line-height: 1.5;
492
+ min-height: 0; /* support: IE7 */
493
+ font-weight: normal;
494
+ }
495
+ .ui-menu .ui-menu-item a.ui-state-focus,
496
+ .ui-menu .ui-menu-item a.ui-state-active {
497
+ font-weight: normal;
498
+ margin: -1px;
499
+ }
500
+
501
+ .ui-menu .ui-state-disabled {
502
+ font-weight: normal;
503
+ margin: .4em 0 .2em;
504
+ line-height: 1.5;
505
+ }
506
+ .ui-menu .ui-state-disabled a {
507
+ cursor: default;
508
+ }
509
+
510
+ /* icon support */
511
+ .ui-menu-icons {
512
+ position: relative;
513
+ }
514
+ .ui-menu-icons .ui-menu-item a {
515
+ position: relative;
516
+ padding-left: 2em;
517
+ }
518
+
519
+ /* left-aligned */
520
+ .ui-menu .ui-icon {
521
+ position: absolute;
522
+ top: .2em;
523
+ left: .2em;
524
+ }
525
+
526
+ /* right-aligned */
527
+ .ui-menu .ui-menu-icon {
528
+ position: static;
529
+ float: right;
530
+ }
531
+ .ui-progressbar {
532
+ height: 2em;
533
+ text-align: left;
534
+ overflow: hidden;
535
+ }
536
+ .ui-progressbar .ui-progressbar-value {
537
+ margin: -1px;
538
+ height: 100%;
539
+ }
540
+ .ui-progressbar .ui-progressbar-overlay {
541
+ background: url("images/animated-overlay.gif");
542
+ height: 100%;
543
+ filter: alpha(opacity=25);
544
+ opacity: 0.25;
545
+ }
546
+ .ui-progressbar-indeterminate .ui-progressbar-value {
547
+ background-image: none;
548
+ }
549
+ .ui-resizable {
550
+ position: relative;
551
+ }
552
+ .ui-resizable-handle {
553
+ position: absolute;
554
+ font-size: 0.1px;
555
+ display: block;
556
+ }
557
+ .ui-resizable-disabled .ui-resizable-handle,
558
+ .ui-resizable-autohide .ui-resizable-handle {
559
+ display: none;
560
+ }
561
+ .ui-resizable-n {
562
+ cursor: n-resize;
563
+ height: 7px;
564
+ width: 100%;
565
+ top: -5px;
566
+ left: 0;
567
+ }
568
+ .ui-resizable-s {
569
+ cursor: s-resize;
570
+ height: 7px;
571
+ width: 100%;
572
+ bottom: -5px;
573
+ left: 0;
574
+ }
575
+ .ui-resizable-e {
576
+ cursor: e-resize;
577
+ width: 7px;
578
+ right: -5px;
579
+ top: 0;
580
+ height: 100%;
581
+ }
582
+ .ui-resizable-w {
583
+ cursor: w-resize;
584
+ width: 7px;
585
+ left: -5px;
586
+ top: 0;
587
+ height: 100%;
588
+ }
589
+ .ui-resizable-se {
590
+ cursor: se-resize;
591
+ width: 12px;
592
+ height: 12px;
593
+ right: 1px;
594
+ bottom: 1px;
595
+ }
596
+ .ui-resizable-sw {
597
+ cursor: sw-resize;
598
+ width: 9px;
599
+ height: 9px;
600
+ left: -5px;
601
+ bottom: -5px;
602
+ }
603
+ .ui-resizable-nw {
604
+ cursor: nw-resize;
605
+ width: 9px;
606
+ height: 9px;
607
+ left: -5px;
608
+ top: -5px;
609
+ }
610
+ .ui-resizable-ne {
611
+ cursor: ne-resize;
612
+ width: 9px;
613
+ height: 9px;
614
+ right: -5px;
615
+ top: -5px;
616
+ }
617
+ .ui-selectable-helper {
618
+ position: absolute;
619
+ z-index: 100;
620
+ border: 1px dotted black;
621
+ }
622
+ .ui-slider {
623
+ position: relative;
624
+ text-align: left;
625
+ }
626
+ .ui-slider .ui-slider-handle {
627
+ position: absolute;
628
+ z-index: 2;
629
+ width: 1.2em;
630
+ height: 1.2em;
631
+ cursor: default;
632
+ }
633
+ .ui-slider .ui-slider-range {
634
+ position: absolute;
635
+ z-index: 1;
636
+ font-size: .7em;
637
+ display: block;
638
+ border: 0;
639
+ background-position: 0 0;
640
+ }
641
+
642
+ /* For IE8 - See #6727 */
643
+ .ui-slider.ui-state-disabled .ui-slider-handle,
644
+ .ui-slider.ui-state-disabled .ui-slider-range {
645
+ filter: inherit;
646
+ }
647
+
648
+ .ui-slider-horizontal {
649
+ height: .8em;
650
+ }
651
+ .ui-slider-horizontal .ui-slider-handle {
652
+ top: -.3em;
653
+ margin-left: -.6em;
654
+ }
655
+ .ui-slider-horizontal .ui-slider-range {
656
+ top: 0;
657
+ height: 100%;
658
+ }
659
+ .ui-slider-horizontal .ui-slider-range-min {
660
+ left: 0;
661
+ }
662
+ .ui-slider-horizontal .ui-slider-range-max {
663
+ right: 0;
664
+ }
665
+
666
+ .ui-slider-vertical {
667
+ width: .8em;
668
+ height: 100px;
669
+ }
670
+ .ui-slider-vertical .ui-slider-handle {
671
+ left: -.3em;
672
+ margin-left: 0;
673
+ margin-bottom: -.6em;
674
+ }
675
+ .ui-slider-vertical .ui-slider-range {
676
+ left: 0;
677
+ width: 100%;
678
+ }
679
+ .ui-slider-vertical .ui-slider-range-min {
680
+ bottom: 0;
681
+ }
682
+ .ui-slider-vertical .ui-slider-range-max {
683
+ top: 0;
684
+ }
685
+ .ui-spinner {
686
+ position: relative;
687
+ display: inline-block;
688
+ overflow: hidden;
689
+ padding: 0;
690
+ vertical-align: middle;
691
+ }
692
+ .ui-spinner-input {
693
+ border: none;
694
+ background: none;
695
+ color: inherit;
696
+ padding: 0;
697
+ margin: .2em 0;
698
+ vertical-align: middle;
699
+ margin-left: .4em;
700
+ margin-right: 22px;
701
+ }
702
+ .ui-spinner-button {
703
+ width: 16px;
704
+ height: 50%;
705
+ font-size: .5em;
706
+ padding: 0;
707
+ margin: 0;
708
+ text-align: center;
709
+ position: absolute;
710
+ cursor: default;
711
+ display: block;
712
+ overflow: hidden;
713
+ right: 0;
714
+ }
715
+ /* more specificity required here to override default borders */
716
+ .ui-spinner a.ui-spinner-button {
717
+ border-top: none;
718
+ border-bottom: none;
719
+ border-right: none;
720
+ }
721
+ /* vertically center icon */
722
+ .ui-spinner .ui-icon {
723
+ position: absolute;
724
+ margin-top: -8px;
725
+ top: 50%;
726
+ left: 0;
727
+ }
728
+ .ui-spinner-up {
729
+ top: 0;
730
+ }
731
+ .ui-spinner-down {
732
+ bottom: 0;
733
+ }
734
+
735
+ /* TR overrides */
736
+ .ui-spinner .ui-icon-triangle-1-s {
737
+ /* need to fix icons sprite */
738
+ background-position: -65px -16px;
739
+ }
740
+ .ui-tabs {
741
+ position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
742
+ padding: .2em;
743
+ }
744
+ .ui-tabs .ui-tabs-nav {
745
+ margin: 0;
746
+ padding: .2em .2em 0;
747
+ }
748
+ .ui-tabs .ui-tabs-nav li {
749
+ list-style: none;
750
+ float: left;
751
+ position: relative;
752
+ top: 0;
753
+ margin: 1px .2em 0 0;
754
+ border-bottom-width: 0;
755
+ padding: 0;
756
+ white-space: nowrap;
757
+ }
758
+ .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
759
+ float: left;
760
+ padding: .5em 1em;
761
+ text-decoration: none;
762
+ }
763
+ .ui-tabs .ui-tabs-nav li.ui-tabs-active {
764
+ margin-bottom: -1px;
765
+ padding-bottom: 1px;
766
+ }
767
+ .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
768
+ .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
769
+ .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
770
+ cursor: text;
771
+ }
772
+ .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
773
+ cursor: pointer;
774
+ }
775
+ .ui-tabs .ui-tabs-panel {
776
+ display: block;
777
+ border-width: 0;
778
+ padding: 1em 1.4em;
779
+ background: none;
780
+ }
781
+ .ui-tooltip {
782
+ padding: 8px;
783
+ position: absolute;
784
+ z-index: 9999;
785
+ max-width: 300px;
786
+ -webkit-box-shadow: 0 0 5px #aaa;
787
+ box-shadow: 0 0 5px #aaa;
788
+ }
789
+ body .ui-tooltip {
790
+ border-width: 2px;
791
+ }
792
+
793
+ /* Component containers
794
+ ----------------------------------*/
795
+ .ui-widget {
796
+ font-family: 'helveticaregular';
797
+ font-size: 1.1em;
798
+ }
799
+ .ui-widget .ui-widget {
800
+ font-size: 1em;
801
+ }
802
+ .ui-widget input,
803
+ .ui-widget select,
804
+ .ui-widget textarea,
805
+ .ui-widget button {
806
+ font-family: 'helveticaregular';
807
+ font-size:17px;
808
+ }
809
+ .ui-widget-content {
810
+ background: #ffffff;
811
+ color: #414951;
812
+ }
813
+ .ui-widget-content a {
814
+ color: #222222;
815
+ }
816
+ .ui-widget-header {
817
+ background: #fff;
818
+ color: #222222;
819
+ }
820
+ .ui-widget-header a {
821
+ color: #222222;
822
+ }
823
+
824
+ /* Interaction states
825
+ ----------------------------------*/
826
+ .ui-state-default,
827
+ .ui-widget-content .ui-state-default,
828
+ .ui-widget-header .ui-state-default {
829
+ background: #fff url(../images/arrow.png) right top no-repeat;
830
+ font-weight: normal;
831
+ color: #414951;
832
+ }
833
+ .ui-state-default a,
834
+ .ui-state-default a:link,
835
+ .ui-state-default a:visited {
836
+ color: #555555;
837
+ text-decoration: none;
838
+ }
839
+ .ui-state-hover,
840
+ .ui-widget-content .ui-state-hover,
841
+ .ui-widget-header .ui-state-hover,
842
+ /*.ui-state-focus, */
843
+ .ui-widget-content .ui-state-focus,
844
+ .ui-widget-header .ui-state-focus {
845
+ background: #d22b30 url(../images/arrow.png) right -50px no-repeat;
846
+ font-weight: normal;
847
+ color: #eee;
848
+ }
849
+ .ui-state-hover a,
850
+ .ui-state-hover a:hover,
851
+ .ui-state-hover a:link,
852
+ .ui-state-hover a:visited,
853
+ .ui-state-focus a,
854
+ .ui-state-focus a:hover,
855
+ .ui-state-focus a:link,
856
+ .ui-state-focus a:visited {
857
+ color: #212121;
858
+ text-decoration: none;
859
+ }
860
+ /*.ui-state-active,
861
+ .ui-widget-content .ui-state-active,
862
+ .ui-widget-header .ui-state-active {
863
+ background: #d22b30 url(../images/arrow.png) right -50px no-repeat;
864
+ font-weight: normal;
865
+ color: #fff;
866
+ }*/
867
+ .ui-state-active,
868
+ .ui-widget-content .ui-state-active,
869
+ .ui-widget-header .ui-state-active {
870
+ background: #d22b30 url(../images/arrow.png) right -105px no-repeat;
871
+ font-weight: normal;
872
+ color:#eeeeee;
873
+ }
874
+
875
+ .ui-state-active a,
876
+ .ui-state-active a:link,
877
+ .ui-state-active a:visited {
878
+ color: #212121;
879
+ text-decoration: none;
880
+ }
881
+
882
+ /* Interaction Cues
883
+ ----------------------------------*/
884
+ .ui-state-highlight,
885
+ .ui-widget-content .ui-state-highlight,
886
+ .ui-widget-header .ui-state-highlight {
887
+ border: 1px solid #fcefa1;
888
+ background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;
889
+ color: #363636;
890
+ }
891
+ .ui-state-highlight a,
892
+ .ui-widget-content .ui-state-highlight a,
893
+ .ui-widget-header .ui-state-highlight a {
894
+ color: #363636;
895
+ }
896
+ .ui-state-error,
897
+ .ui-widget-content .ui-state-error,
898
+ .ui-widget-header .ui-state-error {
899
+ border: 1px solid #cd0a0a;
900
+ background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;
901
+ color: #cd0a0a;
902
+ }
903
+ .ui-state-error a,
904
+ .ui-widget-content .ui-state-error a,
905
+ .ui-widget-header .ui-state-error a {
906
+ color: #cd0a0a;
907
+ }
908
+ .ui-state-error-text,
909
+ .ui-widget-content .ui-state-error-text,
910
+ .ui-widget-header .ui-state-error-text {
911
+ color: #cd0a0a;
912
+ }
913
+ .ui-priority-primary,
914
+ .ui-widget-content .ui-priority-primary,
915
+ .ui-widget-header .ui-priority-primary {
916
+ font-weight: bold;
917
+ }
918
+ .ui-priority-secondary,
919
+ .ui-widget-content .ui-priority-secondary,
920
+ .ui-widget-header .ui-priority-secondary {
921
+ opacity: .7;
922
+ filter:Alpha(Opacity=70);
923
+ font-weight: normal;
924
+ }
925
+ .ui-state-disabled,
926
+ .ui-widget-content .ui-state-disabled,
927
+ .ui-widget-header .ui-state-disabled {
928
+ opacity: .35;
929
+ filter:Alpha(Opacity=35);
930
+ background-image: none;
931
+ }
932
+ .ui-state-disabled .ui-icon {
933
+ filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
934
+ }
935
+
936
+ /* Icons
937
+ ----------------------------------*/
938
+
939
+ /* states and images */
940
+ .ui-icon {
941
+ width: 16px;
942
+ height: 16px;
943
+ }
944
+ .ui-icon,
945
+ .ui-widget-content .ui-icon {
946
+ background-image: url(images/ui-icons_222222_256x240.png);
947
+ }
948
+ .ui-widget-header .ui-icon {
949
+ background-image: url(images/ui-icons_222222_256x240.png);
950
+ }
951
+ .ui-state-default .ui-icon {
952
+ background-image: url(images/ui-icons_888888_256x240.png);
953
+ }
954
+ .ui-state-hover .ui-icon,
955
+ .ui-state-focus .ui-icon {
956
+ background-image: url(images/ui-icons_454545_256x240.png);
957
+ }
958
+ .ui-state-active .ui-icon {
959
+ background-image: url(images/ui-icons_454545_256x240.png);
960
+ }
961
+ .ui-state-highlight .ui-icon {
962
+ background-image: url(images/ui-icons_2e83ff_256x240.png);
963
+ }
964
+ .ui-state-error .ui-icon,
965
+ .ui-state-error-text .ui-icon {
966
+ background-image: url(images/ui-icons_cd0a0a_256x240.png);
967
+ }
968
+
969
+ /* positioning */
970
+ .ui-icon-blank { background-position: 16px 16px; }
971
+ .ui-icon-carat-1-n { background-position: 0 0; }
972
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
973
+ .ui-icon-carat-1-e { background-position: -32px 0; }
974
+ .ui-icon-carat-1-se { background-position: -48px 0; }
975
+ .ui-icon-carat-1-s { background-position: -64px 0; }
976
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
977
+ .ui-icon-carat-1-w { background-position: -96px 0; }
978
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
979
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
980
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
981
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
982
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
983
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
984
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
985
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
986
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
987
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
988
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
989
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
990
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
991
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
992
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
993
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
994
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
995
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
996
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
997
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
998
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
999
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
1000
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
1001
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
1002
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
1003
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
1004
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
1005
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
1006
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
1007
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
1008
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
1009
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
1010
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
1011
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
1012
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
1013
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
1014
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
1015
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
1016
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
1017
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
1018
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
1019
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
1020
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
1021
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
1022
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
1023
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
1024
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
1025
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
1026
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
1027
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
1028
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
1029
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
1030
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
1031
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
1032
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
1033
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
1034
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
1035
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
1036
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
1037
+ .ui-icon-extlink { background-position: -32px -80px; }
1038
+ .ui-icon-newwin { background-position: -48px -80px; }
1039
+ .ui-icon-refresh { background-position: -64px -80px; }
1040
+ .ui-icon-shuffle { background-position: -80px -80px; }
1041
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
1042
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
1043
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
1044
+ .ui-icon-folder-open { background-position: -16px -96px; }
1045
+ .ui-icon-document { background-position: -32px -96px; }
1046
+ .ui-icon-document-b { background-position: -48px -96px; }
1047
+ .ui-icon-note { background-position: -64px -96px; }
1048
+ .ui-icon-mail-closed { background-position: -80px -96px; }
1049
+ .ui-icon-mail-open { background-position: -96px -96px; }
1050
+ .ui-icon-suitcase { background-position: -112px -96px; }
1051
+ .ui-icon-comment { background-position: -128px -96px; }
1052
+ .ui-icon-person { background-position: -144px -96px; }
1053
+ .ui-icon-print { background-position: -160px -96px; }
1054
+ .ui-icon-trash { background-position: -176px -96px; }
1055
+ .ui-icon-locked { background-position: -192px -96px; }
1056
+ .ui-icon-unlocked { background-position: -208px -96px; }
1057
+ .ui-icon-bookmark { background-position: -224px -96px; }
1058
+ .ui-icon-tag { background-position: -240px -96px; }
1059
+ .ui-icon-home { background-position: 0 -112px; }
1060
+ .ui-icon-flag { background-position: -16px -112px; }
1061
+ .ui-icon-calendar { background-position: -32px -112px; }
1062
+ .ui-icon-cart { background-position: -48px -112px; }
1063
+ .ui-icon-pencil { background-position: -64px -112px; }
1064
+ .ui-icon-clock { background-position: -80px -112px; }
1065
+ .ui-icon-disk { background-position: -96px -112px; }
1066
+ .ui-icon-calculator { background-position: -112px -112px; }
1067
+ .ui-icon-zoomin { background-position: -128px -112px; }
1068
+ .ui-icon-zoomout { background-position: -144px -112px; }
1069
+ .ui-icon-search { background-position: -160px -112px; }
1070
+ .ui-icon-wrench { background-position: -176px -112px; }
1071
+ .ui-icon-gear { background-position: -192px -112px; }
1072
+ .ui-icon-heart { background-position: -208px -112px; }
1073
+ .ui-icon-star { background-position: -224px -112px; }
1074
+ .ui-icon-link { background-position: -240px -112px; }
1075
+ .ui-icon-cancel { background-position: 0 -128px; }
1076
+ .ui-icon-plus { background-position: -16px -128px; }
1077
+ .ui-icon-plusthick { background-position: -32px -128px; }
1078
+ .ui-icon-minus { background-position: -48px -128px; }
1079
+ .ui-icon-minusthick { background-position: -64px -128px; }
1080
+ .ui-icon-close { background-position: -80px -128px; }
1081
+ .ui-icon-closethick { background-position: -96px -128px; }
1082
+ .ui-icon-key { background-position: -112px -128px; }
1083
+ .ui-icon-lightbulb { background-position: -128px -128px; }
1084
+ .ui-icon-scissors { background-position: -144px -128px; }
1085
+ .ui-icon-clipboard { background-position: -160px -128px; }
1086
+ .ui-icon-copy { background-position: -176px -128px; }
1087
+ .ui-icon-contact { background-position: -192px -128px; }
1088
+ .ui-icon-image { background-position: -208px -128px; }
1089
+ .ui-icon-video { background-position: -224px -128px; }
1090
+ .ui-icon-script { background-position: -240px -128px; }
1091
+ .ui-icon-alert { background-position: 0 -144px; }
1092
+ .ui-icon-info { background-position: -16px -144px; }
1093
+ .ui-icon-notice { background-position: -32px -144px; }
1094
+ .ui-icon-help { background-position: -48px -144px; }
1095
+ .ui-icon-check { background-position: -64px -144px; }
1096
+ .ui-icon-bullet { background-position: -80px -144px; }
1097
+ .ui-icon-radio-on { background-position: -96px -144px; }
1098
+ .ui-icon-radio-off { background-position: -112px -144px; }
1099
+ .ui-icon-pin-w { background-position: -128px -144px; }
1100
+ .ui-icon-pin-s { background-position: -144px -144px; }
1101
+ .ui-icon-play { background-position: 0 -160px; }
1102
+ .ui-icon-pause { background-position: -16px -160px; }
1103
+ .ui-icon-seek-next { background-position: -32px -160px; }
1104
+ .ui-icon-seek-prev { background-position: -48px -160px; }
1105
+ .ui-icon-seek-end { background-position: -64px -160px; }
1106
+ .ui-icon-seek-start { background-position: -80px -160px; }
1107
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
1108
+ .ui-icon-seek-first { background-position: -80px -160px; }
1109
+ .ui-icon-stop { background-position: -96px -160px; }
1110
+ .ui-icon-eject { background-position: -112px -160px; }
1111
+ .ui-icon-volume-off { background-position: -128px -160px; }
1112
+ .ui-icon-volume-on { background-position: -144px -160px; }
1113
+ .ui-icon-power { background-position: 0 -176px; }
1114
+ .ui-icon-signal-diag { background-position: -16px -176px; }
1115
+ .ui-icon-signal { background-position: -32px -176px; }
1116
+ .ui-icon-battery-0 { background-position: -48px -176px; }
1117
+ .ui-icon-battery-1 { background-position: -64px -176px; }
1118
+ .ui-icon-battery-2 { background-position: -80px -176px; }
1119
+ .ui-icon-battery-3 { background-position: -96px -176px; }
1120
+ .ui-icon-circle-plus { background-position: 0 -192px; }
1121
+ .ui-icon-circle-minus { background-position: -16px -192px; }
1122
+ .ui-icon-circle-close { background-position: -32px -192px; }
1123
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
1124
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
1125
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
1126
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
1127
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
1128
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
1129
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
1130
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
1131
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
1132
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
1133
+ .ui-icon-circle-check { background-position: -208px -192px; }
1134
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
1135
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
1136
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
1137
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
1138
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
1139
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
1140
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
1141
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
1142
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
1143
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
1144
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
1145
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
1146
+ /* Misc visuals
1147
+ ----------------------------------*/
1148
+
1149
+ /* Corner radius */
1150
+ .ui-corner-all,
1151
+ .ui-corner-top,
1152
+ .ui-corner-left,
1153
+ .ui-corner-tl {
1154
+ border-top-left-radius: 0px;
1155
+ }
1156
+ .ui-corner-all,
1157
+ .ui-corner-top,
1158
+ .ui-corner-right,
1159
+ .ui-corner-tr {
1160
+ border-top-right-radius: 0px;
1161
+ }
1162
+ .ui-corner-all,
1163
+ .ui-corner-bottom,
1164
+ .ui-corner-left,
1165
+ .ui-corner-bl {
1166
+ border-bottom-left-radius: 0px;
1167
+ }
1168
+ .ui-corner-all,
1169
+ .ui-corner-bottom,
1170
+ .ui-corner-right,
1171
+ .ui-corner-br {
1172
+ border-bottom-right-radius: 0px;
1173
+ }
1174
+ #accordion h3 span,#accordion1 h3 span{ position: absolute; left:0px; top:0px; width:50px; height:49px; background:#31373d; line-height:50px; text-align: center; font-family: 'helveticaregular'; font-size:20px; color:#FFF;}
1175
+
1176
+ #accordion h3:hover span, #accordion1 h3:hover span{ background:#b8262a; color:#eee;}
1177
+ #accordion h3.ui-state-active span, #accordion1 h3.ui-state-active span{ background:#b8262a; color:#eee;}
css/sfsi-admin-style.css CHANGED
@@ -1,5306 +1,5306 @@
1
- @charset "utf-8";
2
- @font-face {
3
- font-family: helveticabold;
4
- src: url(fonts/helvetica_bold_0-webfont.eot);
5
- src: url(fonts/helvetica_bold_0-webfont.eot?#iefix) format('embedded-opentype'), url(fonts/helvetica_bold_0-webfont.woff) format('woff'), url(fonts/helvetica_bold_0-webfont.ttf) format('truetype'), url(fonts/helvetica_bold_0-webfont.svg#helveticabold) format('svg');
6
- font-weight: 400;
7
- font-style: normal;
8
- }
9
- @font-face {
10
- font-family: helveticaregular;
11
- src: url(fonts/helvetica_0-webfont.eot);
12
- src: url(fonts/helvetica_0-webfont.eot?#iefix) format('embedded-opentype'), url(fonts/helvetica_0-webfont.woff) format('woff'), url(fonts/helvetica_0-webfont.ttf) format('truetype'), url(fonts/helvetica_0-webfont.svg#helveticaregular) format('svg');
13
- font-weight: 400;
14
- font-style: normal;
15
- }
16
- @font-face {
17
- font-family: helveticaneue-light;
18
- src: url(fonts/helveticaneue-light.eot);
19
- src: url(fonts/helveticaneue-light.eot?#iefix) format('embedded-opentype'),
20
- url(fonts/helveticaneue-light.woff) format('woff'),
21
- url(fonts/helveticaneue-light.ttf) format('truetype'),
22
- url(fonts/helveticaneue-light.svg#helveticaneue-light) format('svg');
23
- font-weight: 400;
24
- font-style: normal;
25
- }
26
- body {
27
- margin: 0;
28
- padding: 0;
29
- }
30
- .sfsi_mainContainer {
31
- font-family: helveticaregular;
32
- }
33
- .sfsi_mainContainer h1,
34
- .sfsi_mainContainer h2,
35
- .sfsi_mainContainer h3,
36
- .sfsi_mainContainer h4,
37
- .sfsi_mainContainer h5,
38
- .sfsi_mainContainer h6,
39
- .sfsi_mainContainer li,
40
- .sfsi_mainContainer p,
41
- .sfsi_mainContainer ul {
42
- margin: 0;
43
- padding: 0;
44
- font-weight: 400;
45
- }
46
- .sfsi_mainContainer img {
47
- border: 0;
48
- vertical-align: middle;
49
- }
50
- .main_contant p,
51
- .ui-accordion .ui-accordion-header {
52
- /*font-family: helveticaregular;*/
53
- font-family: 'helveticaneue-light';
54
- }
55
- .sfsi_mainContainer input,
56
- .sfsi_mainContainer select {
57
- outline: 0;
58
- }
59
- .wapper {
60
- padding: 30px 40px 40px 40px;
61
- display: block;
62
- background: #f1f1f1;
63
- }
64
- .main_contant {
65
- margin: 0;
66
- padding: 20px 0 0 0;
67
- width: 100%;
68
- float: left;
69
- }
70
- .main_contant h1 {
71
- padding: 0;
72
- color: #1a1d20;
73
- font-family: helveticabold;
74
- font-size: 28px;
75
- }
76
- .main_contant p {
77
- padding: 0;
78
- color: #414951;
79
- font-size: 17px;
80
- line-height: 26px;
81
- }
82
- .main_contant p span {
83
- text-decoration: underline;
84
- font-family: helveticabold;
85
- }
86
- a#save_all_settings {
87
- padding: 15px 10px;
88
- }
89
- #accordion p,
90
- #accordion1 p {
91
- color: #5a6570;
92
- text-align: left;
93
- /*font-family: helveticaregular;*/
94
- font-family: 'helveticaneue-light';
95
- font-size: 17px;
96
- line-height: 26px;
97
- padding-top: 19px;
98
- }
99
- #accordion p:first-child,
100
- #accordion1 p:first-child {
101
- padding-top: 5px;
102
-
103
- /* padding-bottom: 10px;*/
104
-
105
- padding-bottom: 5px;
106
- }
107
- #accordion h4,
108
- #accordion1 h4 {
109
- margin: 0;
110
- padding: 30px 0 0;
111
- color: #414951 !important;
112
- font-size: 20px;
113
- line-height: 22px;
114
- font-family: helveticaregular;
115
- }
116
- #accordion1 h4.sfsi_dsplyatend {
117
- width: 47%;
118
- float: left;
119
- }
120
- #accordion h4:first-child,
121
- #accordion1 h4:first-child {
122
- padding-top: 0;
123
- }
124
- .tab1,
125
- .tab2,
126
- .tab3,
127
- .tab4,
128
- .tab5,
129
- .tab6,
130
- .tab7 {
131
- color: #5a6570;
132
- text-align: left;
133
- font-family: helveticaneue-light;
134
- font-size: 18px;
135
- line-height: 26px;
136
- }
137
-
138
- /*Admin menu*/
139
- ul#adminmenu li.toplevel_page_sfsi-options div.wp-menu-image {
140
- display: none;
141
- }
142
- #adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
143
- padding: 0 0 0 38px;
144
- font-family: Arial, Helvetica, sans-serif !important;
145
-
146
- /* font-family: helveticabold; */
147
- }
148
- ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
149
- color: #e12522;
150
- transition: 0s;
151
- background: url(images/left_log_icn.png) 6px 15px no-repeat #000;
152
- background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
153
- color: #e12522;
154
- font-family: Arial, Helvetica, sans-serif !important;
155
-
156
- }
157
- ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options:hover {
158
- background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
159
- color: #e12522;
160
-
161
- }
162
-
163
- ul#adminmenu li.toplevel_page_sfsi-options a.current,
164
- ul#adminmenu li.toplevel_page_sfsi-options a.current:hover {
165
- background: url(images/left_log_icn.png) 6px 15px no-repeat #000000;
166
- /*background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;*/
167
- color: #e12522;
168
- }
169
- /*Tab1*/
170
- .tab1 ul.icn_listing {
171
- list-style: none;
172
- overflow: hidden;
173
- border-top: #e7e8eb solid 1px;
174
- margin: 35px 0 0;
175
- }
176
- .tab1 ul.icn_listing li {
177
- border-bottom: #eaebed solid 1px;
178
- padding: 11px 0 11px 8px;
179
- float: left;
180
- width: 100%
181
- }
182
- ul.icn_listing li .tb_4_ck {
183
- float: left;
184
- margin: 10px 0 0;
185
- }
186
- .tab1 ul.icn_listing li .custom,
187
- .tab1 ul.icn_listing li .sfsicls_email,
188
- .tab1 ul.icn_listing li .sfsicls_facebook,
189
- .tab1 ul.icn_listing li .sfsicls_instagram,
190
- .tab1 ul.icn_listing li .sfsicls_telegram,
191
- .tab1 ul.icn_listing li .sfsicls_vk,
192
- .tab1 ul.icn_listing li .sfsicls_ok,
193
- .tab1 ul.icn_listing li .sfsicls_wechat,
194
- .tab1 ul.icn_listing li .sfsicls_weibo,
195
- .sfsicls_linkdin,
196
- .tab1 ul.icn_listing li .sfsicls_pinterest,
197
- .tab1 ul.icn_listing li .sfsicls_rs_s,
198
- .tab1 ul.icn_listing li .sfsicls_share,
199
- .tab1 ul.icn_listing li .sfsicls_twt,
200
- .tab1 ul.icn_listing li .sfsicls_utube {
201
- background: url(../images/tab_1_icn_list.png) no-repeat;
202
- float: left;
203
- padding: 0 0 0 59px;
204
- margin: 0 0 0 17px;
205
- height: 52px;
206
- line-height: 51px;
207
- font-family: helveticaregular;
208
- font-size: 22px;
209
- }
210
- .tab1 ul.icn_listing li .sfsicls_telegram {
211
- background: url(../images/icons_theme/default/default_telegram.png) no-repeat;
212
- background-size: contain;
213
- }
214
- .tab1 ul.icn_listing li .sfsicls_vk {
215
- background: url(../images/icons_theme/default/default_vk.png) no-repeat;
216
- background-size: contain;
217
- }
218
- .tab1 ul.icn_listing li .sfsicls_ok {
219
- background: url(../images/icons_theme/default/default_ok.png) no-repeat;
220
- background-size: contain;
221
- }
222
- .tab1 ul.icn_listing li .sfsicls_wechat {
223
- background: url(../images/icons_theme/default/default_wechat.png) no-repeat;
224
- background-size: contain;
225
- }
226
- .tab1 ul.icn_listing li .sfsicls_weibo {
227
- background: url(../images/icons_theme/default/default_weibo.png) no-repeat;
228
- background-size: contain;
229
- }
230
-
231
- .tab1 ul.icn_listing li .sfsicls_rs_s {
232
- background-position: 0 0;
233
- color: #f7941d;
234
- }
235
- .tab1 ul.icn_listing li .sfsicls_email {
236
- background-position: 0 -73px;
237
- color: #d1c800;
238
- }
239
- .tab1 ul.icn_listing li .sfsicls_facebook {
240
- background-position: 0 -145px;
241
- color: #004088;
242
- }
243
- .tab1 ul.icn_listing li .sfsicls_twt {
244
- background-position: 0 -221px;
245
- color: #00abe3;
246
- }
247
-
248
- .tab1 ul.icn_listing li .sfsicls_share {
249
- background-position: 0 -372px;
250
- color: #ef4746;
251
- }
252
- .tab1 ul.icn_listing li .sfsicls_utube {
253
- background-position: 0 -448px;
254
- color: #f07963;
255
- }
256
- .tab1 ul.icn_listing li .sfsicls_linkdin {
257
- background-position: 0 -548px;
258
- color: #1e88c9;
259
- }
260
- .tab1 ul.icn_listing li .sfsicls_pinterest {
261
- background-position: 0 -623px;
262
- color: #f15f5d;
263
- }
264
- .tab1 ul.icn_listing li .sfsicls_instagram {
265
- background-position: 0 -781px;
266
- color: #369;
267
- }
268
- .tab1 ul.icn_listing li .custom {
269
- background-position: 0 -702px;
270
- color: #5a6570;
271
- }
272
- .tab1 ul.icn_listing li .right_info {
273
- width: 70%;
274
- float: right;
275
- font-family: helveticaregular;
276
- margin-right: 13px;
277
- }
278
- ul.icn_listing li .right_info a {
279
- text-decoration: underline;
280
- color: #a4a9ad;
281
- font-size: 16px;
282
- }
283
- .tab1 .tab_2_sav {
284
- padding-top: 30px;
285
- }
286
- /*Tab2*/
287
- .tab2 {
288
- overflow: hidden;
289
- }
290
- .tab2 .rss_url_row {
291
- width: 100%;
292
- float: left;
293
- margin: 0 0 10px;
294
- }
295
- .tab2 .rss_url_row h4 {
296
- float: left;
297
- line-height: 43px;
298
- }
299
- .tab2 .inr_cont input.add,
300
- .tab2 .inr_cont textarea.add_txt,
301
- .tab2 .rss_url_row input.add {
302
- width: 363px;
303
- float: left;
304
- background: #e5e5e5;
305
- box-shadow: 2px 2px 3px #dcdcdc inset;
306
- border: 0;
307
- padding: 12px 10px 11px;
308
- margin-left: 10px;
309
- }
310
- .tab2 .rss_url_row a.rit_link {
311
- float: left;
312
- margin: 10px 0 0 16px;
313
- font-size: 17px;
314
- }
315
- .tab2 .row {
316
- float: left;
317
- border-top: 2px solid #f2f3f4;
318
- clear: both;
319
- padding: 0 0 15px;
320
- width: 100%
321
- }
322
- .tab2 .row .tab_2_email_sec {
323
- list-style: none;
324
- margin: 17px 0 0;
325
- overflow: hidden;
326
- }
327
- .row ul.tab_2_email_sec li {
328
- float: left;
329
- margin-right: 10px;
330
- width: 32%;
331
- }
332
- .row ul.tab_2_email_sec li label span {
333
- font-size: 15px;
334
- color: #808080;
335
- width: 100%;
336
- float: left;
337
- }
338
- .row ul.tab_2_email_sec:first-child {
339
- margin-right: 2%
340
- }
341
- .tab2 .row h2.sfsicls_email,
342
- .tab2 .row h2.sfsicls_facebook,
343
- .tab2 .row h2.sfsicls_telegram,
344
- .tab2 .row h2.sfsicls_vk,
345
- .tab2 .row h2.sfsicls_ok,
346
- .tab2 .row h2.sfsicls_wechat,
347
- .tab2 .row h2.sfsicls_weibo,
348
- .tab2 .row h2.sfsicls_instagram,
349
- .tab2 .row h2.sfsicls_linkdin,
350
- .tab2 .row h2.sfsicls_pinterest,
351
- .tab2 .row h2.sfsicls_rs_s,
352
- .tab2 .row h2.sfsicls_share,
353
- .tab2 .row h2.sfsicls_twt,
354
- .tab2 .row h2.sfsicls_utube {
355
- background: url(../images/tab_1_icn_list.png) no-repeat;
356
- padding: 0 0 0 70px;
357
- margin: 15px 0 7px 21px;
358
- height: 52px;
359
- line-height: 51px;
360
- font-family: helveticaregular;
361
- font-size: 22px;
362
- }
363
- .tab2 .row h2.sfsicls_rs_s {
364
- background-position: 0 0;
365
- color: #f7941d;
366
- }
367
- .tab2 .row h2.sfsicls_telegram {
368
- background: url(../images/icons_theme/default/default_telegram.png) no-repeat;
369
- background-size: contain;
370
- }
371
- .tab2 .row h2.sfsicls_vk {
372
- background: url(../images/icons_theme/default/default_vk.png) no-repeat;
373
- background-size: contain;
374
- }
375
- .tab2 .row h2.sfsicls_ok {
376
- background: url(../images/icons_theme/default/default_ok.png) no-repeat;
377
- background-size: contain;
378
- }
379
- .tab2 .row h2.sfsicls_wechat {
380
- background: url(../images/icons_theme/default/default_wechat.png) no-repeat;
381
- background-size: contain;
382
- }
383
- .tab2 .row h2.sfsicls_weibo {
384
- background: url(../images/icons_theme/default/default_weibo.png) no-repeat;
385
- background-size: contain;
386
- }
387
- .tab2 .row h2.sfsicls_email {
388
- background-position: 0 -71px;
389
- color: #d1c800;
390
- }
391
- .tab2 .row h2.sfsicls_facebook {
392
- background-position: 0 -145px;
393
- color: #004088;
394
- }
395
- .tab2 .row h2.sfsicls_twt {
396
- background-position: 0 -221px;
397
- color: #00abe3;
398
- }
399
-
400
- .tab2 .row h2.sfsicls_share {
401
- background-position: 0 -372px;
402
- color: #ef4746;
403
- }
404
- .tab2 .row h2.sfsicls_utube {
405
- background-position: 0 -448px;
406
- color: #f07963;
407
- }
408
- .tab2 .row h2.sfsicls_linkdin {
409
- background-position: 0 -548px;
410
- color: #1e88c9;
411
- width: 100%;
412
- }
413
- .tab2 .row h2.sfsicls_pinterest {
414
- background-position: 0 -623px;
415
- color: #f15f5d;
416
- }
417
- .tab2 .row h2.sfsicls_instagram {
418
- background-position: 0 -781px;
419
- color: #369;
420
- }
421
- .tab2 .inr_cont {
422
- margin: 0 0 12px 94px;
423
- }
424
- ul.tab_2_email_sec .sf_arow {
425
- width: 52px;
426
- height: 52px;
427
- float: left;
428
- background: url(../images/sf_arow_icn.png) no-repeat;
429
- margin: 0 8px 0 6px;
430
- }
431
- ul.tab_2_email_sec .email_icn {
432
- background: url(../images/tab_1_icn_list.png) 0 -71px no-repeat;
433
- width: 52px;
434
- height: 52px;
435
- float: left;
436
- margin: 0 8px;
437
- }
438
- ul.tab_2_email_sec .subscribe_icn {
439
- background: url(../images/tab_1_icn_list.png) 0 -860px no-repeat;
440
- width: 52px;
441
- height: 52px;
442
- float: left;
443
- margin: 0 0 0 5px;
444
- }
445
- ul.tab_2_email_sec li .radio {
446
- float: left;
447
- margin: 8px 0 0;
448
- }
449
- .row ul.tab_2_email_sec li label {
450
- margin: 13px 0 0 7px;
451
- font-size: 16px;
452
- float: left;
453
- width: 160px;
454
- }
455
- /*Tab 3*/
456
- .icns_tab_3 .row_10_1,
457
- .icns_tab_3 .row_10_10,
458
- .icns_tab_3 .row_10_11,
459
- .icns_tab_3 .row_10_2,
460
- .icns_tab_3 .row_10_3,
461
- .icns_tab_3 .row_10_4,
462
- .icns_tab_3 .row_10_5,
463
- .icns_tab_3 .row_10_6,
464
- .icns_tab_3 .row_10_7,
465
- .icns_tab_3 .row_10_8,
466
- .icns_tab_3 .row_10_9,
467
- .icns_tab_3 .row_11_1,
468
- .icns_tab_3 .row_11_10,
469
- .icns_tab_3 .row_11_11,
470
- .icns_tab_3 .row_11_2,
471
- .icns_tab_3 .row_11_3,
472
- .icns_tab_3 .row_11_4,
473
- .icns_tab_3 .row_11_5,
474
- .icns_tab_3 .row_11_6,
475
- .icns_tab_3 .row_11_7,
476
- .icns_tab_3 .row_11_8,
477
- .icns_tab_3 .row_11_9,
478
- .icns_tab_3 .row_12_1,
479
- .icns_tab_3 .row_12_10,
480
- .icns_tab_3 .row_12_11,
481
- .icns_tab_3 .row_12_2,
482
- .icns_tab_3 .row_12_3,
483
- .icns_tab_3 .row_12_4,
484
- .icns_tab_3 .row_12_5,
485
- .icns_tab_3 .row_12_6,
486
- .icns_tab_3 .row_12_7,
487
- .icns_tab_3 .row_12_8,
488
- .icns_tab_3 .row_12_9,
489
- .icns_tab_3 .row_13_1,
490
- .icns_tab_3 .row_13_10,
491
- .icns_tab_3 .row_13_11,
492
- .icns_tab_3 .row_13_2,
493
- .icns_tab_3 .row_13_3,
494
- .icns_tab_3 .row_13_4,
495
- .icns_tab_3 .row_13_5,
496
- .icns_tab_3 .row_13_6,
497
- .icns_tab_3 .row_13_7,
498
- .icns_tab_3 .row_13_8,
499
- .icns_tab_3 .row_13_9,
500
- .icns_tab_3 .row_14_1,
501
- .icns_tab_3 .row_14_10,
502
- .icns_tab_3 .row_14_11,
503
- .icns_tab_3 .row_14_2,
504
- .icns_tab_3 .row_14_3,
505
- .icns_tab_3 .row_14_4,
506
- .icns_tab_3 .row_14_5,
507
- .icns_tab_3 .row_14_6,
508
- .icns_tab_3 .row_14_7,
509
- .icns_tab_3 .row_14_8,
510
- .icns_tab_3 .row_14_9,
511
- .icns_tab_3 .row_15_1,
512
- .icns_tab_3 .row_15_10,
513
- .icns_tab_3 .row_15_11,
514
- .icns_tab_3 .row_15_2,
515
- .icns_tab_3 .row_15_3,
516
- .icns_tab_3 .row_15_4,
517
- .icns_tab_3 .row_15_5,
518
- .icns_tab_3 .row_15_6,
519
- .icns_tab_3 .row_15_7,
520
- .icns_tab_3 .row_15_8,
521
- .icns_tab_3 .row_15_9,
522
- .icns_tab_3 .row_16_1,
523
- .icns_tab_3 .row_16_10,
524
- .icns_tab_3 .row_16_11,
525
- .icns_tab_3 .row_16_2,
526
- .icns_tab_3 .row_16_3,
527
- .icns_tab_3 .row_16_4,
528
- .icns_tab_3 .row_16_5,
529
- .icns_tab_3 .row_16_6,
530
- .icns_tab_3 .row_16_7,
531
- .icns_tab_3 .row_16_8,
532
- .icns_tab_3 .row_16_9,
533
- .icns_tab_3 .row_1_1,
534
- .icns_tab_3 .row_1_10,
535
- .icns_tab_3 .row_1_11,
536
- .icns_tab_3 .row_1_14,
537
- .icns_tab_3 .row_1_2,
538
- .icns_tab_3 .row_1_3,
539
- .icns_tab_3 .row_1_4,
540
- .icns_tab_3 .row_1_5,
541
- .icns_tab_3 .row_1_6,
542
- .icns_tab_3 .row_1_7,
543
- .icns_tab_3 .row_1_8,
544
- .icns_tab_3 .row_1_9,
545
- .icns_tab_3 .row_2_1,
546
- .icns_tab_3 .row_2_10,
547
- .icns_tab_3 .row_2_11,
548
- .icns_tab_3 .row_2_14,
549
- .icns_tab_3 .row_2_2,
550
- .icns_tab_3 .row_2_3,
551
- .icns_tab_3 .row_2_4,
552
- .icns_tab_3 .row_2_5,
553
- .icns_tab_3 .row_2_6,
554
- .icns_tab_3 .row_2_7,
555
- .icns_tab_3 .row_2_8,
556
- .icns_tab_3 .row_2_9,
557
- .icns_tab_3 .row_3_1,
558
- .icns_tab_3 .row_3_10,
559
- .icns_tab_3 .row_3_11,
560
- .icns_tab_3 .row_3_14,
561
- .icns_tab_3 .row_3_2,
562
- .icns_tab_3 .row_3_3,
563
- .icns_tab_3 .row_3_4,
564
- .icns_tab_3 .row_3_5,
565
- .icns_tab_3 .row_3_6,
566
- .icns_tab_3 .row_3_7,
567
- .icns_tab_3 .row_3_8,
568
- .icns_tab_3 .row_3_9,
569
- .icns_tab_3 .row_4_1,
570
- .icns_tab_3 .row_4_10,
571
- .icns_tab_3 .row_4_11,
572
- .icns_tab_3 .row_4_14,
573
- .icns_tab_3 .row_4_2,
574
- .icns_tab_3 .row_4_3,
575
- .icns_tab_3 .row_4_4,
576
- .icns_tab_3 .row_4_5,
577
- .icns_tab_3 .row_4_6,
578
- .icns_tab_3 .row_4_7,
579
- .icns_tab_3 .row_4_8,
580
- .icns_tab_3 .row_4_9,
581
- .icns_tab_3 .row_5_1,
582
- .icns_tab_3 .row_5_10,
583
- .icns_tab_3 .row_5_11,
584
- .icns_tab_3 .row_5_14,
585
- .icns_tab_3 .row_5_2,
586
- .icns_tab_3 .row_5_3,
587
- .icns_tab_3 .row_5_4,
588
- .icns_tab_3 .row_5_5,
589
- .icns_tab_3 .row_5_6,
590
- .icns_tab_3 .row_5_7,
591
- .icns_tab_3 .row_5_8,
592
- .icns_tab_3 .row_5_9,
593
- .icns_tab_3 .row_6_1,
594
- .icns_tab_3 .row_6_10,
595
- .icns_tab_3 .row_6_11,
596
- .icns_tab_3 .row_6_14,
597
- .icns_tab_3 .row_6_2,
598
- .icns_tab_3 .row_6_3,
599
- .icns_tab_3 .row_6_4,
600
- .icns_tab_3 .row_6_5,
601
- .icns_tab_3 .row_6_6,
602
- .icns_tab_3 .row_6_7,
603
- .icns_tab_3 .row_6_8,
604
- .icns_tab_3 .row_6_9,
605
- .icns_tab_3 .row_7_1,
606
- .icns_tab_3 .row_7_10,
607
- .icns_tab_3 .row_7_11,
608
- .icns_tab_3 .row_7_2,
609
- .icns_tab_3 .row_7_3,
610
- .icns_tab_3 .row_7_4,
611
- .icns_tab_3 .row_7_5,
612
- .icns_tab_3 .row_7_6,
613
- .icns_tab_3 .row_7_7,
614
- .icns_tab_3 .row_7_8,
615
- .icns_tab_3 .row_7_9,
616
- .icns_tab_3 .row_8_1,
617
- .icns_tab_3 .row_8_10,
618
- .icns_tab_3 .row_8_11,
619
- .icns_tab_3 .row_8_2,
620
- .icns_tab_3 .row_8_3,
621
- .icns_tab_3 .row_8_4,
622
- .icns_tab_3 .row_8_5,
623
- .icns_tab_3 .row_8_6,
624
- .icns_tab_3 .row_8_7,
625
- .icns_tab_3 .row_8_8,
626
- .icns_tab_3 .row_8_9,
627
- .icns_tab_3 .row_9_1,
628
- .icns_tab_3 .row_9_10,
629
- .icns_tab_3 .row_9_11,
630
- .icns_tab_3 .row_9_2,
631
- .icns_tab_3 .row_9_3,
632
- .icns_tab_3 .row_9_4,
633
- .icns_tab_3 .row_9_5,
634
- .icns_tab_3 .row_9_6,
635
- .icns_tab_3 .row_9_7,
636
- .icns_tab_3 .row_9_8,
637
- .icns_tab_3 .row_9_9,
638
- .icns_tab_3 .row_17_1,
639
- .icns_tab_3 .row_17_2,
640
- .icns_tab_3 .row_17_3,
641
- .icns_tab_3 .row_17_4,
642
- .icns_tab_3 .row_17_5,
643
- .icns_tab_3 .row_17_6,
644
- .icns_tab_3 .row_17_7,
645
- .icns_tab_3 .row_17_8,
646
- .icns_tab_3 .row_17_9,
647
- .icns_tab_3 .row_17_10,
648
- .icns_tab_3 .row_17_14,
649
- .icns_tab_3 .row_17_15,
650
- .icns_tab_3 .row_17_16,
651
- .icns_tab_3 .row_17_17,
652
- .icns_tab_3 .row_17_18,
653
- .icns_tab_3 .row_17_11,
654
- .icns_tab_3 .row_7_14,
655
- .icns_tab_3 .row_8_14,
656
- .icns_tab_3 .row_9_14,
657
- .icns_tab_3 .row_10_14,
658
- .icns_tab_3 .row_11_14,
659
- .icns_tab_3 .row_12_14,
660
- .icns_tab_3 .row_13_14,
661
- .icns_tab_3 .row_14_14,
662
- .icns_tab_3 .row_15_22,
663
- .icns_tab_3 .row_16_22,
664
- .icns_tab_3 .row_17_22,
665
- .icns_tab_3 .row_17_15,
666
- .icns_tab_3 .row_17_16,
667
- .icns_tab_3 .row_17_17,
668
- .icns_tab_3 .row_1_15,
669
- .icns_tab_3 .row_2_15,
670
- .icns_tab_3 .row_3_15,
671
- .icns_tab_3 .row_4_15,
672
- .icns_tab_3 .row_5_15,
673
- .icns_tab_3 .row_6_15,
674
- .icns_tab_3 .row_7_15,
675
- .icns_tab_3 .row_8_15,
676
- .icns_tab_3 .row_9_15,
677
- .icns_tab_3 .row_10_15,
678
- .icns_tab_3 .row_11_15,
679
- .icns_tab_3 .row_12_15,
680
- .icns_tab_3 .row_13_15,
681
- .icns_tab_3 .row_14_15,
682
- .icns_tab_3 .row_15_15,
683
- .icns_tab_3 .row_16_15,
684
-
685
- .icns_tab_3 .row_1_16,
686
- .icns_tab_3 .row_2_16,
687
- .icns_tab_3 .row_3_16,
688
- .icns_tab_3 .row_4_16,
689
- .icns_tab_3 .row_5_16,
690
- .icns_tab_3 .row_6_16,
691
- .icns_tab_3 .row_7_16,
692
- .icns_tab_3 .row_8_16,
693
- .icns_tab_3 .row_9_16,
694
- .icns_tab_3 .row_10_16,
695
- .icns_tab_3 .row_11_16,
696
- .icns_tab_3 .row_12_16,
697
- .icns_tab_3 .row_13_16,
698
- .icns_tab_3 .row_14_16,
699
- .icns_tab_3 .row_15_16,
700
- .icns_tab_3 .row_16_16,
701
-
702
- .icns_tab_3 .row_1_17,
703
- .icns_tab_3 .row_2_17,
704
- .icns_tab_3 .row_3_17,
705
- .icns_tab_3 .row_4_17,
706
- .icns_tab_3 .row_5_17,
707
- .icns_tab_3 .row_6_17,
708
- .icns_tab_3 .row_7_17,
709
- .icns_tab_3 .row_8_17,
710
- .icns_tab_3 .row_9_17,
711
- .icns_tab_3 .row_10_17,
712
- .icns_tab_3 .row_11_17,
713
- .icns_tab_3 .row_12_17,
714
- .icns_tab_3 .row_13_17,
715
- .icns_tab_3 .row_14_17,
716
- .icns_tab_3 .row_15_17,
717
- .icns_tab_3 .row_16_17,
718
-
719
- .icns_tab_3 .row_1_18,
720
- .icns_tab_3 .row_2_18,
721
- .icns_tab_3 .row_3_18,
722
- .icns_tab_3 .row_4_18,
723
- .icns_tab_3 .row_5_18,
724
- .icns_tab_3 .row_6_18,
725
- .icns_tab_3 .row_7_18,
726
- .icns_tab_3 .row_8_18,
727
- .icns_tab_3 .row_9_18,
728
- .icns_tab_3 .row_10_18,
729
- .icns_tab_3 .row_11_18,
730
- .icns_tab_3 .row_12_18,
731
- .icns_tab_3 .row_13_18,
732
- .icns_tab_3 .row_14_18,
733
- .icns_tab_3 .row_15_18,
734
- .icns_tab_3 .row_16_18,
735
- .icns_tab_3 .row_17_18,
736
- .icns_tab_3 .row_15_14,
737
- .icns_tab_3 .row_16_14 {
738
- background: url(../images/tab_3_icns.png) no-repeat;
739
- width: 53px;
740
- height: 52px;
741
- float: left;
742
- margin: 0 4px 0 0;
743
- }
744
- .icns_tab_3 .row_1_1 {
745
- background-position: -1px 0;
746
- }
747
- .icns_tab_3 .row_1_2 {
748
- background-position: -60px 0;
749
- }
750
- .icns_tab_3 .row_1_3 {
751
- background-position: -118px 0;
752
- }
753
- .icns_tab_3 .row_1_4 {
754
- background-position: -176px 0;
755
- }
756
- .icns_tab_3 .row_1_5 {
757
- background-position: -235px 0;
758
- }
759
- .icns_tab_3 .row_1_6 {
760
- background-position: -293px 0;
761
- }
762
- .icns_tab_3 .row_1_7 {
763
- background-position: -350px 0;
764
- }
765
- .icns_tab_3 .row_1_8 {
766
- background-position: -409px 0;
767
- }
768
- .icns_tab_3 .row_1_9 {
769
- background-position: -467px 0;
770
- }
771
- .icns_tab_3 .row_1_10 {
772
- background-position: -526px 0;
773
- }
774
- .icns_tab_3 .row_1_11 {
775
- background-position: -711px 0;
776
- }
777
-
778
- .icns_tab_3 .row_1_14 {
779
- background-position: -773px 0;
780
- }
781
- .icns_tab_3 .row_1_15 {
782
- background-position: -838px 0;
783
- }
784
- .icns_tab_3 .row_1_16 {
785
- background-position: -909px 0;
786
- }
787
- .icns_tab_3 .row_1_17 {
788
- background-position: -977px 0;
789
- }
790
- .icns_tab_3 .row_1_18 {
791
- background: url(../images/icons_theme/default/default_wechat.png) no-repeat;
792
- background-size: contain;
793
- }.icns_tab_3 .row_2_1 {
794
- background-position: 0 -74px;
795
- }
796
- .icns_tab_3 .row_2_2 {
797
- background-position: -60px -74px;
798
- }
799
- .icns_tab_3 .row_2_3 {
800
- background-position: -118px -74px;
801
- }
802
- .icns_tab_3 .row_2_4 {
803
- background-position: -176px -74px;
804
- }
805
- .icns_tab_3 .row_2_5 {
806
- background-position: -235px -74px;
807
- }
808
- .icns_tab_3 .row_2_6 {
809
- background-position: -293px -74px;
810
- }
811
- .icns_tab_3 .row_2_7 {
812
- background-position: -350px -74px;
813
- }
814
- .icns_tab_3 .row_2_8 {
815
- background-position: -409px -74px;
816
- }
817
- .icns_tab_3 .row_2_9 {
818
- background-position: -467px -74px;
819
- }
820
- .icns_tab_3 .row_2_10 {
821
- background-position: -526px -74px;
822
- }
823
- .icns_tab_3 .row_2_11 {
824
- background-position: -711px -74px;
825
- }
826
- .icns_tab_3 .row_2_14 {
827
- background-position: -773px -74px;
828
- }
829
- .icns_tab_3 .row_2_15 {
830
- background-position: -838px -74px;
831
- }
832
- .icns_tab_3 .row_2_16 {
833
- background-position: -909px -74px;
834
- }
835
- .icns_tab_3 .row_2_17 {
836
- background-position: -977px -74px;
837
- }
838
- .icns_tab_3 .row_2_18 {
839
- background: url(../images/icons_theme/flat/flat_wechat.png) no-repeat;
840
- background-size: contain;
841
- }
842
- .icns_tab_3 .row_3_1 {
843
- background-position: 0 -146px;
844
- }
845
- .icns_tab_3 .row_3_2 {
846
- background-position: -60px -146px;
847
- }
848
- .icns_tab_3 .row_3_3 {
849
- background-position: -118px -146px;
850
- }
851
- .icns_tab_3 .row_3_4 {
852
- background-position: -176px -146px;
853
- }
854
- .icns_tab_3 .row_3_5 {
855
- background-position: -235px -146px;
856
- }
857
- .icns_tab_3 .row_3_6 {
858
- background-position: -293px -146px;
859
- }
860
- .icns_tab_3 .row_3_7 {
861
- background-position: -350px -146px;
862
- }
863
- .icns_tab_3 .row_3_8 {
864
- background-position: -409px -146px;
865
- }
866
- .icns_tab_3 .row_3_9 {
867
- background-position: -467px -146px;
868
- }
869
- .icns_tab_3 .row_3_10 {
870
- background-position: -526px -146px;
871
- }
872
- .icns_tab_3 .row_3_11 {
873
- background-position: -711px -147px;
874
- }
875
- .icns_tab_3 .row_3_14 {
876
- background-position: -773px -147px;
877
- }
878
- .icns_tab_3 .row_3_15 {
879
- background-position: -838px -147px;
880
- }
881
- .icns_tab_3 .row_3_16 {
882
- background-position: -909px -147px;
883
- }
884
- .icns_tab_3 .row_3_17 {
885
- background-position: -977px -147px;
886
- }
887
- .icns_tab_3 .row_3_18 {
888
- background: url(../images/icons_theme/thin/thin_wechat.png) no-repeat;
889
- background-size: contain;
890
- }
891
- .icns_tab_3 .row_4_1 {
892
- background-position: 0 -222px;
893
- }
894
- .icns_tab_3 .row_4_2 {
895
- background-position: -60px -222px;
896
- }
897
- .icns_tab_3 .row_4_3 {
898
- background-position: -118px -222px;
899
- }
900
- .icns_tab_3 .row_4_4 {
901
- background-position: -176px -222px;
902
- }
903
- .icns_tab_3 .row_4_5 {
904
- background-position: -235px -222px;
905
- }
906
- .icns_tab_3 .row_4_6 {
907
- background-position: -293px -222px;
908
- }
909
- .icns_tab_3 .row_4_7 {
910
- background-position: -350px -222px;
911
- }
912
- .icns_tab_3 .row_4_8 {
913
- background-position: -409px -222px;
914
- }
915
- .icns_tab_3 .row_4_9 {
916
- background-position: -467px -222px;
917
- }
918
- .icns_tab_3 .row_4_10 {
919
- background-position: -526px -222px;
920
- }
921
- .icns_tab_3 .row_4_11 {
922
- background-position: -711px -222px;
923
- }
924
- .icns_tab_3 .row_4_14 {
925
- background-position: -773px -222px;
926
- }
927
- .icns_tab_3 .row_4_15 {
928
- background-position: -838px -222px;
929
- }
930
- .icns_tab_3 .row_4_16 {
931
- background-position: -909px -222px;
932
- }
933
- .icns_tab_3 .row_4_17 {
934
- background-position: -977px -222px;
935
- }
936
- .icns_tab_3 .row_4_18 {
937
- background: url(../images/icons_theme/cute/cute_wechat.png) no-repeat;
938
- background-size: contain;
939
- }
940
- .icns_tab_3 .row_5_1 {
941
- background-position: 0 -296px;
942
- }
943
- .icns_tab_3 .row_5_2 {
944
- background-position: -60px -296px;
945
- }
946
- .icns_tab_3 .row_5_3 {
947
- background-position: -118px -296px;
948
- }
949
- .icns_tab_3 .row_5_4 {
950
- background-position: -176px -296px;
951
- }
952
- .icns_tab_3 .row_5_5 {
953
- background-position: -235px -296px;
954
- }
955
- .icns_tab_3 .row_5_6 {
956
- background-position: -293px -296px;
957
- }
958
- .icns_tab_3 .row_5_7 {
959
- background-position: -350px -296px;
960
- }
961
- .icns_tab_3 .row_5_8 {
962
- background-position: -409px -296px;
963
- }
964
- .icns_tab_3 .row_5_9 {
965
- background-position: -467px -296px;
966
- }
967
- .icns_tab_3 .row_5_10 {
968
- background-position: -526px -296px;
969
- }
970
- .icns_tab_3 .row_5_11 {
971
- background-position: -711px -296px;
972
- }
973
- .icns_tab_3 .row_5_14 {
974
- background-position: -773px -296px;
975
- }
976
- .icns_tab_3 .row_5_15 {
977
- background-position: -838px -296px;
978
- }
979
- .icns_tab_3 .row_5_16 {
980
- background-position: -909px -296px;
981
- }
982
- .icns_tab_3 .row_5_17 {
983
- background-position: -977px -296px;
984
- }
985
- .icns_tab_3 .row_5_18 {
986
- background: url(../images/icons_theme/cubes/cubes_wechat.png);
987
- background-size: contain;
988
- }
989
- .icns_tab_3 .row_6_1 {
990
- background-position: 0 -370px;
991
- }
992
- .icns_tab_3 .row_6_2 {
993
- background-position: -60px -370px;
994
- }
995
- .icns_tab_3 .row_6_3 {
996
- background-position: -118px -370px;
997
- }
998
- .icns_tab_3 .row_6_4 {
999
- background-position: -176px -370px;
1000
- }
1001
- .icns_tab_3 .row_6_5 {
1002
- background-position: -235px -370px;
1003
- }
1004
- .icns_tab_3 .row_6_6 {
1005
- background-position: -293px -370px;
1006
- }
1007
- .icns_tab_3 .row_6_7 {
1008
- background-position: -350px -370px;
1009
- }
1010
- .icns_tab_3 .row_6_8 {
1011
- background-position: -409px -370px;
1012
- }
1013
- .icns_tab_3 .row_6_9 {
1014
- background-position: -468px -370px;
1015
- }
1016
- .icns_tab_3 .row_6_10 {
1017
- background-position: -526px -370px;
1018
- }
1019
- .icns_tab_3 .row_6_11 {
1020
- background-position: -711px -370px;
1021
- }
1022
- .icns_tab_3 .row_6_14 {
1023
- background-position: -773px -370px;
1024
- }
1025
- .icns_tab_3 .row_6_15 {
1026
- background-position: -838px -370px;
1027
- }
1028
- .icns_tab_3 .row_6_16 {
1029
- background-position: -909px -370px;
1030
- }
1031
- .icns_tab_3 .row_6_17 {
1032
- background-position: -977px -370px;
1033
- }
1034
- .icns_tab_3 .row_6_18 {
1035
- background: url(../images/icons_theme/chrome_blue/chrome_blue_wechat.png);
1036
- background-size: contain;
1037
- }
1038
- .icns_tab_3 .row_7_1 {
1039
- background-position: 0 -444px;
1040
- }
1041
- .icns_tab_3 .row_7_2 {
1042
- background-position: -60px -444px;
1043
- }
1044
- .icns_tab_3 .row_7_3 {
1045
- background-position: -118px -444px;
1046
- }
1047
- .icns_tab_3 .row_7_4 {
1048
- background-position: -176px -444px;
1049
- }
1050
- .icns_tab_3 .row_7_5 {
1051
- background-position: -235px -444px;
1052
- }
1053
- .icns_tab_3 .row_7_6 {
1054
- background-position: -293px -444px;
1055
- }
1056
- .icns_tab_3 .row_7_7 {
1057
- background-position: -350px -444px;
1058
- }
1059
- .icns_tab_3 .row_7_8 {
1060
- background-position: -409px -444px;
1061
- }
1062
- .icns_tab_3 .row_7_9 {
1063
- background-position: -466px -444px;
1064
- }
1065
- .icns_tab_3 .row_7_10 {
1066
- background-position: -526px -444px;
1067
- }
1068
- .icns_tab_3 .row_7_11 {
1069
- background-position: -711px -444px;
1070
- }
1071
- .icns_tab_3 .row_7_14 {
1072
- background-position: -773px -444px;
1073
- }
1074
- .icns_tab_3 .row_7_15 {
1075
- background-position: -838px -444px;
1076
- }
1077
- .icns_tab_3 .row_7_16 {
1078
- background-position: -909px -444px;
1079
- }
1080
- .icns_tab_3 .row_7_17 {
1081
- background-position: -977px -444px;
1082
- }
1083
- .icns_tab_3 .row_7_18 {
1084
- background: url(../images/icons_theme/chrome_grey/chrome_grey_wechat.png);
1085
- background-size: contain;
1086
- }
1087
- .icns_tab_3 .row_8_1 {
1088
- background-position: 0 -518px;
1089
- }
1090
- .icns_tab_3 .row_8_2 {
1091
- background-position: -60px -518px;
1092
- }
1093
- .icns_tab_3 .row_8_3 {
1094
- background-position: -118px -518px;
1095
- }
1096
- .icns_tab_3 .row_8_4 {
1097
- background-position: -176px -518px;
1098
- }
1099
- .icns_tab_3 .row_8_5 {
1100
- background-position: -235px -518px;
1101
- }
1102
- .icns_tab_3 .row_8_6 {
1103
- background-position: -293px -518px;
1104
- }
1105
- .icns_tab_3 .row_8_7 {
1106
- background-position: -350px -518px;
1107
- }
1108
- .icns_tab_3 .row_8_8 {
1109
- background-position: -409px -518px;
1110
- }
1111
- .icns_tab_3 .row_8_9 {
1112
- background-position: -467px -518px;
1113
- }
1114
- .icns_tab_3 .row_8_10 {
1115
- background-position: -526px -518px;
1116
- }
1117
- .icns_tab_3 .row_8_11 {
1118
- background-position: -711px -518px;
1119
- }
1120
- .icns_tab_3 .row_8_14 {
1121
- background-position: -773px -518px;
1122
- }
1123
- .icns_tab_3 .row_8_15 {
1124
- background-position: -838px -518px;
1125
- }
1126
- .icns_tab_3 .row_8_16 {
1127
- background-position: -909px -518px;
1128
- }
1129
- .icns_tab_3 .row_8_17 {
1130
- background-position: -977px -518px;
1131
- }
1132
- .icns_tab_3 .row_8_18 {
1133
- background: url(../images/icons_theme/splash/splash_wechat.png);
1134
- background-size: contain;
1135
- }
1136
- .icns_tab_3 .row_9_1 {
1137
- background-position: 0 -592px;
1138
- }
1139
- .icns_tab_3 .row_9_2 {
1140
- background-position: -60px -592px;
1141
- }
1142
- .icns_tab_3 .row_9_3 {
1143
- background-position: -118px -592px;
1144
- }
1145
- .icns_tab_3 .row_9_4 {
1146
- background-position: -176px -592px;
1147
- }
1148
- .icns_tab_3 .row_9_5 {
1149
- background-position: -235px -592px;
1150
- }
1151
- .icns_tab_3 .row_9_6 {
1152
- background-position: -293px -592px;
1153
- }
1154
- .icns_tab_3 .row_9_7 {
1155
- background-position: -350px -592px;
1156
- }
1157
- .icns_tab_3 .row_9_8 {
1158
- background-position: -409px -592px;
1159
- }
1160
- .icns_tab_3 .row_9_9 {
1161
- background-position: -467px -592px;
1162
- }
1163
- .icns_tab_3 .row_9_10 {
1164
- background-position: -526px -592px;
1165
- }
1166
- .icns_tab_3 .row_9_11 {
1167
- background-position: -711px -592px;
1168
- }
1169
- .icns_tab_3 .row_9_14 {
1170
- background-position: -773px -592px;
1171
- }
1172
- .icns_tab_3 .row_9_15 {
1173
- background-position: -838px -592px;
1174
- }
1175
- .icns_tab_3 .row_9_16 {
1176
- background-position: -909px -592px;
1177
- }
1178
- .icns_tab_3 .row_9_17 {
1179
- background-position: -977px -592px;
1180
- }
1181
- .icns_tab_3 .row_9_18 {
1182
- background: url(../images/icons_theme/orange/orange_wechat.png);
1183
- background-size: contain;
1184
- }
1185
- .icns_tab_3 .row_10_1 {
1186
- background-position: 0 -666px;
1187
- }
1188
- .icns_tab_3 .row_10_2 {
1189
- background-position: -60px -666px;
1190
- }
1191
- .icns_tab_3 .row_10_3 {
1192
- background-position: -118px -666px;
1193
- }
1194
- .icns_tab_3 .row_10_4 {
1195
- background-position: -176px -666px;
1196
- }
1197
- .icns_tab_3 .row_10_5 {
1198
- background-position: -235px -666px;
1199
- }
1200
- .icns_tab_3 .row_10_6 {
1201
- background-position: -293px -666px;
1202
- }
1203
- .icns_tab_3 .row_10_7 {
1204
- background-position: -350px -666px;
1205
- }
1206
- .icns_tab_3 .row_10_8 {
1207
- background-position: -409px -666px;
1208
- }
1209
- .icns_tab_3 .row_10_9 {
1210
- background-position: -467px -666px;
1211
- }
1212
- .icns_tab_3 .row_10_10 {
1213
- background-position: -526px -666px;
1214
- }
1215
- .icns_tab_3 .row_10_11 {
1216
- background-position: -711px -666px;
1217
- }
1218
- .icns_tab_3 .row_10_14 {
1219
- background-position: -773px -666px;
1220
- }
1221
- .icns_tab_3 .row_10_15 {
1222
- background-position: -838px -666px;
1223
- }
1224
- .icns_tab_3 .row_10_16 {
1225
- background-position: -909px -666px;
1226
- }
1227
- .icns_tab_3 .row_10_17 {
1228
- background-position: -977px -666px;
1229
- }
1230
- .icns_tab_3 .row_10_18 {
1231
- background: url(../images/icons_theme/crystal/crystal_wechat.png);
1232
- background-size: contain;
1233
- }
1234
- .icns_tab_3 .row_11_1 {
1235
- background-position: 0 -740px;
1236
- }
1237
- .icns_tab_3 .row_11_2 {
1238
- background-position: -60px -740px;
1239
- }
1240
- .icns_tab_3 .row_11_3 {
1241
- background-position: -118px -740px;
1242
- }
1243
- .icns_tab_3 .row_11_4 {
1244
- background-position: -176px -740px;
1245
- }
1246
- .icns_tab_3 .row_11_5 {
1247
- background-position: -235px -740px;
1248
- }
1249
- .icns_tab_3 .row_11_6 {
1250
- background-position: -293px -740px;
1251
- }
1252
- .icns_tab_3 .row_11_7 {
1253
- background-position: -350px -740px;
1254
- }
1255
- .icns_tab_3 .row_11_8 {
1256
- background-position: -409px -740px;
1257
- }
1258
- .icns_tab_3 .row_11_9 {
1259
- background-position: -467px -740px;
1260
- }
1261
- .icns_tab_3 .row_11_10 {
1262
- background-position: -526px -740px;
1263
- }
1264
- .icns_tab_3 .row_11_11 {
1265
- background-position: -711px -740px;
1266
- }
1267
- .icns_tab_3 .row_11_14 {
1268
- background-position: -773px -740px;
1269
- }
1270
- .icns_tab_3 .row_11_15 {
1271
- background-position: -838px -740px;
1272
- }
1273
- .icns_tab_3 .row_11_16 {
1274
- background-position: -909px -740px;
1275
- }
1276
- .icns_tab_3 .row_11_17 {
1277
- background-position: -977px -740px;
1278
- }
1279
- .icns_tab_3 .row_11_18 {
1280
- background: url(../images/icons_theme/glossy/glossy_wechat.png);
1281
- background-size: contain;
1282
- }
1283
- .icns_tab_3 .row_12_1 {
1284
- background-position: 0 -814px;
1285
- }
1286
- .icns_tab_3 .row_12_2 {
1287
- background-position: -60px -814px;
1288
- }
1289
- .icns_tab_3 .row_12_3 {
1290
- background-position: -118px -814px;
1291
- }
1292
- .icns_tab_3 .row_12_4 {
1293
- background-position: -176px -814px;
1294
- }
1295
- .icns_tab_3 .row_12_5 {
1296
- background-position: -235px -814px;
1297
- }
1298
- .icns_tab_3 .row_12_6 {
1299
- background-position: -293px -814px;
1300
- }
1301
- .icns_tab_3 .row_12_7 {
1302
- background-position: -350px -814px;
1303
- }
1304
- .icns_tab_3 .row_12_8 {
1305
- background-position: -409px -814px;
1306
- }
1307
- .icns_tab_3 .row_12_9 {
1308
- background-position: -467px -814px;
1309
- }
1310
- .icns_tab_3 .row_12_10 {
1311
- background-position: -526px -814px;
1312
- }
1313
- .icns_tab_3 .row_12_11 {
1314
- background-position: -711px -814px;
1315
- }
1316
- .icns_tab_3 .row_12_14 {
1317
- background-position: -773px -814px;
1318
- }
1319
- .icns_tab_3 .row_12_15 {
1320
- background-position: -838px -814px;
1321
- }
1322
- .icns_tab_3 .row_12_16 {
1323
- background-position: -909px -814px;
1324
- }
1325
- .icns_tab_3 .row_12_17 {
1326
- background-position: -977px -814px;
1327
- }
1328
- .icns_tab_3 .row_12_18 {
1329
- background: url(../images/icons_theme/black/black_wechat.png);
1330
- background-size: contain;
1331
- }
1332
- .icns_tab_3 .row_13_1 {
1333
- background-position: 0 -888px;
1334
- }
1335
- .icns_tab_3 .row_13_2 {
1336
- background-position: -60px -888px;
1337
- }
1338
- .icns_tab_3 .row_13_3 {
1339
- background-position: -118px -888px;
1340
- }
1341
- .icns_tab_3 .row_13_4 {
1342
- background-position: -176px -888px;
1343
- }
1344
- .icns_tab_3 .row_13_5 {
1345
- background-position: -235px -888px;
1346
- }
1347
- .icns_tab_3 .row_13_6 {
1348
- background-position: -293px -888px;
1349
- }
1350
- .icns_tab_3 .row_13_7 {
1351
- background-position: -350px -888px;
1352
- }
1353
- .icns_tab_3 .row_13_8 {
1354
- background-position: -409px -888px;
1355
- }
1356
- .icns_tab_3 .row_13_9 {
1357
- background-position: -467px -888px;
1358
- }
1359
- .icns_tab_3 .row_13_10 {
1360
- background-position: -526px -888px;
1361
- }
1362
- .icns_tab_3 .row_13_11 {
1363
- background-position: -711px -888px;
1364
- }
1365
- .icns_tab_3 .row_13_14 {
1366
- background-position: -773px -888px;
1367
- }
1368
- .icns_tab_3 .row_13_15 {
1369
- background-position: -838px -888px;
1370
- }
1371
- .icns_tab_3 .row_13_16 {
1372
- background-position: -909px -888px;
1373
- }
1374
- .icns_tab_3 .row_13_17 {
1375
- background-position: -977px -888px;
1376
- }
1377
- .icns_tab_3 .row_13_18 {
1378
- background: url(../images/icons_theme/silver/silver_wechat.png);
1379
-
1380
- background-size: contain;
1381
- }
1382
- .icns_tab_3 .row_14_1 {
1383
- background-position: 0 -962px;
1384
- }
1385
- .icns_tab_3 .row_14_2 {
1386
- background-position: -60px -962px;
1387
- }
1388
- .icns_tab_3 .row_14_3 {
1389
- background-position: -118px -962px;
1390
- }
1391
- .icns_tab_3 .row_14_4 {
1392
- background-position: -176px -962px;
1393
- }
1394
- .icns_tab_3 .row_14_5 {
1395
- background-position: -235px -962px;
1396
- }
1397
- .icns_tab_3 .row_14_6 {
1398
- background-position: -293px -962px;
1399
- }
1400
- .icns_tab_3 .row_14_7 {
1401
- background-position: -350px -962px;
1402
- }
1403
- .icns_tab_3 .row_14_8 {
1404
- background-position: -409px -962px;
1405
- }
1406
- .icns_tab_3 .row_14_9 {
1407
- background-position: -467px -962px;
1408
- }
1409
- .icns_tab_3 .row_14_10 {
1410
- background-position: -526px -962px;
1411
- }
1412
- .icns_tab_3 .row_14_11 {
1413
- background-position: -711px -962px;
1414
- }
1415
- .icns_tab_3 .row_14_14 {
1416
- background-position: -773px -962px;
1417
- }
1418
- .icns_tab_3 .row_14_15 {
1419
- background-position: -838px -962px;
1420
- }
1421
- .icns_tab_3 .row_14_16 {
1422
- background-position: -909px -962px;
1423
- }
1424
- .icns_tab_3 .row_14_17 {
1425
- background-position: -977px -962px;
1426
- }
1427
- .icns_tab_3 .row_14_18 {
1428
- background: url(../images/icons_theme/shaded_dark/shaded_dark_wechat.png);
1429
-
1430
- background-size: contain;
1431
- }
1432
- .icns_tab_3 .row_15_1 {
1433
- background-position: 0 -1036px;
1434
- }
1435
- .icns_tab_3 .row_15_2 {
1436
- background-position: -60px -1036px;
1437
- }
1438
- .icns_tab_3 .row_15_3 {
1439
- background-position: -118px -1036px;
1440
- }
1441
- .icns_tab_3 .row_15_4 {
1442
- background-position: -176px -1036px;
1443
- }
1444
- .icns_tab_3 .row_15_5 {
1445
- background-position: -235px -1036px;
1446
- }
1447
- .icns_tab_3 .row_15_6 {
1448
- background-position: -293px -1036px;
1449
- }
1450
- .icns_tab_3 .row_15_7 {
1451
- background-position: -350px -1036px;
1452
- }
1453
- .icns_tab_3 .row_15_8 {
1454
- background-position: -409px -1036px;
1455
- }
1456
- .icns_tab_3 .row_15_9 {
1457
- background-position: -467px -1036px;
1458
- }
1459
- .icns_tab_3 .row_15_10 {
1460
- background-position: -526px -1036px;
1461
- }
1462
- .icns_tab_3 .row_15_11 {
1463
- background-position: -711px -1036px;
1464
- }
1465
- .icns_tab_3 .row_15_14 {
1466
- background-position: -773px -1036px;
1467
- }
1468
- .icns_tab_3 .row_15_15 {
1469
- background-position: -838px -1036px;
1470
- }
1471
- .icns_tab_3 .row_15_16 {
1472
- background-position: -909px -1036px;
1473
- }
1474
- .icns_tab_3 .row_15_17 {
1475
- background-position: -977px -1036px;
1476
- }
1477
- .icns_tab_3 .row_15_18 {
1478
- background: url(../images/icons_theme/shaded_light/shaded_light_wechat.png);
1479
- background-size: contain;
1480
- }
1481
- .icns_tab_3 .row_16_1 {
1482
- background-position: 0 -1109px;
1483
- }
1484
- .icns_tab_3 .row_16_2 {
1485
- background-position: -60px -1109px;
1486
- }
1487
- .icns_tab_3 .row_16_3 {
1488
- background-position: -118px -1109px;
1489
- }
1490
- .icns_tab_3 .row_16_4 {
1491
- background-position: -176px -1109px;
1492
- }
1493
- .icns_tab_3 .row_16_5 {
1494
- background-position: -235px -1109px;
1495
- }
1496
- .icns_tab_3 .row_16_6 {
1497
- background-position: -293px -1109px;
1498
- }
1499
- .icns_tab_3 .row_16_7 {
1500
- background-position: -350px -1109px;
1501
- }
1502
- .icns_tab_3 .row_16_8 {
1503
- background-position: -409px -1109px;
1504
- }
1505
- .icns_tab_3 .row_16_9 {
1506
- background-position: -467px -1109px;
1507
- }
1508
- .icns_tab_3 .row_16_10 {
1509
- background-position: -526px -1109px;
1510
- }
1511
- .icns_tab_3 .row_16_11 {
1512
- background-position: -711px -1109px;
1513
- }
1514
- .icns_tab_3 .row_16_14 {
1515
- background-position: -773px -1109px;
1516
- }
1517
- .icns_tab_3 .row_16_15 {
1518
- background-position: -838px -1109px;
1519
- }
1520
- .icns_tab_3 .row_16_16 {
1521
- background-position: -909px -1109px;
1522
- }
1523
- .icns_tab_3 .row_16_17 {
1524
- background-position: -977px -1109px;
1525
- }
1526
- .icns_tab_3 .row_16_18 {
1527
- background: url(../images/icons_theme/transparent/transparent_wechat.png);
1528
- background-size: contain;
1529
- }
1530
-
1531
- /*tab 6 css*/
1532
- .tab6 .social_icon_like1 {
1533
- width: 100%;
1534
- float: left;
1535
- margin: 0;
1536
- text-align: center;
1537
- }
1538
- .tab6 .social_icon_like1 ul {
1539
- margin: 0;
1540
- padding: 0;
1541
- list-style: none;
1542
- text-align: center;
1543
- }
1544
- .tab6 .social_icon_like1 li {
1545
- margin: 0 10px 0 0;
1546
- padding: 0;
1547
- width: auto;
1548
- list-style: none;
1549
- display: inline-block;
1550
- }
1551
- .tab6 .social_icon_like1 li span {
1552
- margin: 0;
1553
- width: 44px;
1554
- display: block;
1555
- background: url(../images/count_bg1.png) no-repeat;
1556
- height: 22px;
1557
- overflow: hidden;
1558
- padding: 2px 2px 2px 10px;
1559
- font-family: helveticaregular;
1560
- font-size: 15px;
1561
- text-align: center;
1562
- line-height: 20px;
1563
- color: #5a6570;
1564
- float: left;
1565
- }
1566
- .tab6 .social_icon_like1 li img {
1567
- float: left;
1568
- margin-right: 5px;
1569
- display: block;
1570
- }
1571
- .tab6 .social_icon_like1 li a {
1572
- color: #5a6570;
1573
- text-decoration: none;
1574
- display: block;
1575
- }
1576
- .tab6 ul.usually {
1577
- margin: 7px 0 6px 30px;
1578
- padding: 0;
1579
- list-style: none;
1580
- }
1581
- .tab6 ul.usually li {
1582
- margin: 0;
1583
- padding: 0;
1584
- width: auto;
1585
- list-style: none;
1586
- text-align: left;
1587
- font-size: 17px;
1588
- color: #5a6570;
1589
- }
1590
- .tab6 ul.enough_waffling {
1591
- margin: 9px 0 0;
1592
- padding: 0;
1593
- list-style: none;
1594
- text-align: center;
1595
- }
1596
- .tab6 ul.enough_waffling li {
1597
- margin: 0 22px;
1598
- padding: 0;
1599
- list-style: none;
1600
- display: inline-block;
1601
- }
1602
- .tab6 ul.enough_waffling li span {
1603
- float: left;
1604
- }
1605
- .tab6 ul.enough_waffling li label {
1606
- margin: 0 0 0 20px;
1607
- float: left;
1608
- font-family: helveticaregular;
1609
- font-size: 18px;
1610
- font-weight: 400;
1611
- text-align: center;
1612
- line-height: 38px;
1613
- color: #5a6570;
1614
- }
1615
- .tab6 .row {
1616
- border-top: 1px solid #eaebee;
1617
- margin-top: 25px;
1618
- padding-top: 15px;
1619
- clear: both;
1620
- display: block;
1621
- width: 100%;
1622
- float: left;
1623
- font-family: "Helvetica CE 35 Thin";
1624
- line-height: 42px;
1625
- }
1626
- .tab6 .options {
1627
- margin-top: 25px;
1628
- clear: both;
1629
- width: 100%;
1630
- float: left;
1631
- }
1632
- .tab6 .options label {
1633
- width: 345px;
1634
- float: left;
1635
- font-size: 17px;
1636
- /*font-family: helveticaregular;*/
1637
- font-family: 'helveticaneue-light';
1638
- color: #5a6570;
1639
- line-height: 46px;
1640
- }
1641
- .tab6 .options label.first {
1642
- /*font-family: helveticaregular;*/
1643
-
1644
- font-family: 'helveticaneue-light';
1645
- font-size: 17px;
1646
- }
1647
- .tab6 .options input {
1648
- width: 308px;
1649
- float: left;
1650
- background: #e5e5e5;
1651
- box-shadow: 2px 2px 3px #dcdcdc inset;
1652
- border: 0;
1653
- padding: 10px;
1654
- }
1655
- .tab6 .options .field {
1656
-
1657
- float: left;
1658
- position: relative;
1659
- }
1660
- .tab6 .options .field .select {
1661
- width: 207px;
1662
- background: url(../images/select_bg1.jpg) no-repeat;
1663
- display: block;
1664
- padding-left: 17px;
1665
- font-family: helveticaregular;
1666
- }.tab6 .cstmdsplyulwpr .radio_section.tb_4_ck { float: left;
1667
-
1668
- width: auto;
1669
- }
1670
- .tab6 .social_icon_like1 li span.checkbox {
1671
- background: rgba(0, 0, 0, 0) url(../images/check_bg.jpg) no-repeat scroll 0 0;
1672
- display: inherit;
1673
- height: 31px;
1674
- width: 31px;
1675
- }
1676
- .tab6 .cstmdsplyulwpr a {
1677
- margin-top: 3px;
1678
- float: left;
1679
- }
1680
- /*tab 7 css*/
1681
- .tab7 h3 {
1682
- margin: 14px 0 6px;
1683
- padding: 0;
1684
- /* color: #a7a9ac;*/
1685
- color: #414951;
1686
- /* font-family: helveticaregular;*/
1687
- font-family: 'helveticaneue-light';
1688
- /* font-size: 20px;*/
1689
- font-size: 18px;
1690
- text-align: left;
1691
- }
1692
-
1693
- .tab7 .close {
1694
- position: absolute;
1695
- right: 18px;
1696
- top: 18px;
1697
- }
1698
- .tab7 .text_options {
1699
- width: 500px;
1700
- float: left;
1701
- }
1702
- .tab7 .text_options.layout {
1703
- margin-left: -25px;
1704
- }
1705
- .tab7 .row_tab {
1706
- margin-top: 10px;
1707
- width: 100%;
1708
- float: left;
1709
- }
1710
- .tab7 .text_options label {
1711
- width: 121px;
1712
- float: left;
1713
- line-height: 46px;
1714
- font-size: 18px;
1715
- }
1716
- .tab7 .text_options.layout label {
1717
- line-height: 20px;
1718
- font-size: 18px;
1719
- }
1720
- .tab7 .text_options.layout label.border {
1721
- line-height: 46px;
1722
- }
1723
- .tab7 .text_options input {
1724
- width: 274px;
1725
- float: left;
1726
- background: #e5e5e5;
1727
- box-shadow: 2px 2px 3px #dcdcdc inset;
1728
- border: 0;
1729
- padding: 13px 10px;
1730
- font-size: 17px;
1731
- color: #5a6570;
1732
- }
1733
- .tab7 .text_options input.small {
1734
- width: 50px;
1735
- }
1736
- .tab7 .text_options .field {
1737
- width: 223px;
1738
- float: left;
1739
- position: relative;
1740
- }
1741
- .tab7 .text_options .field .select {
1742
- width: 183px;
1743
- padding-right: 21px;
1744
- height: 47px;
1745
- background: url(../images/select_bg1.jpg) no-repeat;
1746
- display: block;
1747
- padding-left: 10px;
1748
- line-height: 46px;
1749
- font-size: 17px;
1750
- color: #414951;
1751
- }
1752
- .tab7 .text_options .field select.styled {
1753
- position: absolute;
1754
- left: 0;
1755
- top: 0;
1756
- width: 213px;
1757
- line-height: 46px;
1758
- height: 46px;
1759
- }
1760
- .tab7 .color_box {
1761
- width: 40px;
1762
- height: 34px;
1763
- border: 3px solid #fff;
1764
- box-shadow: 1px 2px 2px #ccc;
1765
- float: left;
1766
- position: relative;
1767
- margin-left: 13px;
1768
- }
1769
- .tab7 .color_box1 {
1770
- width: 100%;
1771
- height: 34px;
1772
- background: #5a6570;
1773
- box-shadow: 1px -2px 15px -2px #d3d3d3 inset;
1774
- }
1775
- .tab7 .corner {
1776
- width: 10px;
1777
- height: 10px;
1778
- background: #fff;
1779
- position: absolute;
1780
- right: 0;
1781
- bottom: 0;
1782
- }
1783
- .tab7 ul.border_shadow {
1784
- margin: 0;
1785
- padding: 5px 0 0;
1786
- list-style: none;
1787
- float: left;
1788
- width: 257px;
1789
- }
1790
- .tab7 ul.border_shadow li {
1791
- margin: 0;
1792
- padding: 0 0 0 40px;
1793
- list-style: none;
1794
- float: left;
1795
- }
1796
- .tab7 ul.border_shadow li:first-child {
1797
- padding: 0;
1798
- }
1799
- .tab7 ul.border_shadow li span {
1800
- float: left;
1801
- }
1802
- .tab7 ul.border_shadow li label {
1803
- float: left;
1804
- width: auto;
1805
- font-family: helveticaregular;
1806
- font-size: 18px;
1807
- font-weight: 400;
1808
- text-align: center;
1809
- line-height: 40px !important;
1810
- color: #5a6570;
1811
- padding: 0 0 0 20px;
1812
- }
1813
- .tab7 .row {
1814
- border-top: 1px solid #eaebee;
1815
- margin-top: 25px;
1816
- padding-top: 15px;
1817
- clear: both;
1818
- display: block;
1819
- width: 100%;
1820
- float: left;
1821
- font-family: helveticaregular;
1822
- line-height: 42px;
1823
- }
1824
- .tab7 .pop_up_show {
1825
- width: 100%;
1826
- float: left;
1827
- margin-top: 20px;
1828
- }
1829
- .tab7 .pop_up_show span {
1830
- float: left;
1831
- }
1832
- .tab7 .pop_up_show label {
1833
- float: left;
1834
- width: auto;
1835
- font-size: 18px;
1836
- font-weight: 400;
1837
- text-align: center;
1838
- line-height: 38px !important;
1839
- color: #5a6570;
1840
- padding: 0 0 0 20px;
1841
- }
1842
- .tab7 .pop_up_show input.add {
1843
- width: 257px;
1844
- float: left;
1845
- background: #e5e5e5;
1846
- box-shadow: 2px 2px 3px #dcdcdc inset;
1847
- border: 0;
1848
- padding: 10px;
1849
- margin-left: 40px;
1850
- }
1851
- .tab7 .pop_up_show input.seconds {
1852
- width: 60px;
1853
- background: #e5e5e5;
1854
- box-shadow: 2px 2px 3px #dcdcdc inset;
1855
- border: 0;
1856
- padding: 10px;
1857
- margin: 0 7px;
1858
- }
1859
- .tab7 .pop_up_show a {
1860
- text-decoration: underline;
1861
- color: #a4a9ad;
1862
- font-size: 16px;
1863
- margin-left: 20px;
1864
- }
1865
- .tab7 .pop_up_show .field {
1866
- width: 135px;
1867
- float: left;
1868
- position: relative;
1869
- margin-left: 20px;
1870
- font-size: 17px;
1871
- font-family: helveticaregular;
1872
- }
1873
- .tab7 .pop_up_show .field .select {
1874
- width: 127px;
1875
- height: 48px;
1876
- background: url(../images/select_bg.jpg) no-repeat;
1877
- display: block;
1878
- padding-left: 10px;
1879
- line-height: 46px;
1880
- font-size: 16px;
1881
- color: #5a6570;
1882
- }
1883
- .tab7 .pop_up_show .field select.styled {
1884
- position: absolute;
1885
- left: 0;
1886
- top: 0;
1887
- width: 135px;
1888
- line-height: 46px;
1889
- height: 46px;
1890
- }
1891
- /*tab 8 css*/
1892
- .tab8 .sfsi_tab8_container {
1893
- width: 100%;
1894
- float: left;
1895
- }
1896
- .tab8 .sfsi_tab8_subcontainer {
1897
- float: left;
1898
- padding: 20px 0;
1899
- width: 100%;
1900
- }
1901
- .tab8 h3.sfsi_section_title {
1902
- font-weight: bold;
1903
- }
1904
- .tab8 .like_pop_box {
1905
- width: 100%;
1906
- margin: 35px auto auto;
1907
- position: relative;
1908
- text-align: center;
1909
- }
1910
- .tab8 .like_pop_box h2 {
1911
- font-family: helveticabold;
1912
- text-align: center;
1913
- color: #414951;
1914
- font-size: 26px;
1915
- }
1916
- .tab8 .sfsi_subscribe_Popinner {
1917
- display: inline-block;
1918
- padding: 18px 20px;
1919
- -webkit-box-shadow: 0 0 5px #ccc;
1920
- border: 1px solid #ededed;
1921
- background: #FFF;
1922
- position: relative;
1923
- }
1924
- .tab8 .sfsi_subscribe_Popinner .form-overlay {
1925
- height: 100%;
1926
- left: 0;
1927
- position: absolute;
1928
- top: 0;
1929
- width: 100%;
1930
- }
1931
- .tab8 .like_pop_box .sfsi_subscribe_Popinner {
1932
- box-shadow: 0 0 5px #ccc;
1933
- }
1934
- .tab8 .like_pop_box .sfsi_subscribe_Popinner h5 {
1935
- margin: 0 0 10px;
1936
- padding: 0;
1937
- color: #414951;
1938
- font-size: 22px;
1939
- text-align: center;
1940
- }
1941
- .tab8 .sfsi_subscribe_Popinner h5 {
1942
- margin: 0 0 10px;
1943
- padding: 0;
1944
- color: #414951;
1945
- font-size: 18px;
1946
- text-align: center;
1947
- }
1948
- .tab8 .sfsi_subscription_form_field {
1949
- float: left;
1950
- margin: 5px 0;
1951
- width: 100%;
1952
- }
1953
- .tab8 .sfsi_subscription_form_field input {
1954
- padding: 10px 0px;
1955
- text-align: center;
1956
- width: 100%;
1957
- }
1958
- .tab8 .sfsi_tab8_subcontainer label.sfsi_label_text {
1959
- float: left;
1960
- margin: 10px 0;
1961
- width: 100%;
1962
- }
1963
- .tab8 ul.sfsi_form_info {
1964
- list-style: none !important;
1965
- margin-left: 32px;
1966
- }
1967
- .tab8 ul.sfsi_form_info li {
1968
- margin: 3px 0;
1969
- }
1970
- .tab8 .sfsi_subscription_html {
1971
- background-color: #e5e5e5;
1972
- float: left;
1973
- margin: 12px 0 0 30px;
1974
- width: 90%;
1975
- }
1976
- .tab8 .sfsi_seprater {
1977
- border-bottom: 1px solid #ccc;
1978
- }
1979
- .tab8 .sfsi_tab8_subcontainer h5.sfsi_section_subtitle {
1980
- float: left;
1981
- font-size: 18px;
1982
- margin: 5px 0;
1983
- width: 100%;
1984
- }
1985
- .tab8 .sfsi_left_container {
1986
- margin-top: 30px;
1987
- text-align: center;
1988
- width: 24%;
1989
- display: inline-block;
1990
- }
1991
- .tab8 .sfsi_right_container {
1992
- display: inline-block;
1993
- margin-top: 30px;
1994
- padding: 0 20px;
1995
- vertical-align: top;
1996
- width: 72%;
1997
- }
1998
- .tab8 .row_tab {
1999
- display: inline-block;
2000
- margin-bottom: 30px;
2001
- width: 100%;
2002
- }
2003
- .tab8 .row_tab label {
2004
- color: #5a6570;
2005
- font-size: 16px;
2006
- }
2007
- .tab8 .row_tab div.sfsi_field {
2008
- display: inline-block;
2009
- vertical-align: middle;
2010
- width: auto;
2011
- margin-right: 25px;
2012
- padding-top: 10px;
2013
- }
2014
- .tab8 .color_box {
2015
- width: 40px;
2016
- height: 34px;
2017
- border: 3px solid #fff;
2018
- box-shadow: 1px 2px 2px #ccc;
2019
- float: right;
2020
- position: relative;
2021
- margin-left: 13px;
2022
- }
2023
- .tab8 .color_box1 {
2024
- width: 100%;
2025
- height: 34px;
2026
- background: #5a6570;
2027
- box-shadow: 1px -2px 15px -2px #d3d3d3 inset;
2028
- }
2029
- .tab8 .corner {
2030
- width: 10px;
2031
- height: 10px;
2032
- background: #fff;
2033
- position: absolute;
2034
- right: 0;
2035
- bottom: 0;
2036
- }
2037
- .tab8 .sfsi_right_container label {
2038
- color: #5a6570;
2039
- font-size: 18px;
2040
- }
2041
- .tab8 label.sfsi_heding {
2042
- display: inline-block;
2043
- /* font-weight: bold; */
2044
- padding-top: 10px;
2045
- width: 303px;
2046
- }
2047
- .tab8 .border_shadow {
2048
- display: inline-block;
2049
- vertical-align: top;
2050
- }
2051
- .tab8 .border_shadow li {
2052
- display: inline-block;
2053
- vertical-align: top;
2054
- padding-right: 20px;
2055
- }
2056
- .tab8 .border_shadow li span {
2057
- vertical-align: middle;
2058
- }
2059
- .tab8 .border_shadow .radio {
2060
- margin-right: 5px;
2061
- }
2062
- .tab8 .sfsi_field .rec-inp {
2063
- background: #e5e5e5 none repeat scroll 0 0;
2064
- height: 44px;
2065
- text-align: center;
2066
- width: 54px;
2067
- }
2068
- .tab8 .pix {
2069
- color: #5a6570;
2070
- font-size: 18px;
2071
- vertical-align: middle;
2072
- }
2073
- .tab8 .sfsi_heding.autowidth {
2074
- width: auto;
2075
- margin-right: 15px;
2076
- }
2077
- .tab8 .sfsi_heding.fixwidth {
2078
- width: 80px;
2079
- }
2080
- .tab8 .small {
2081
- background-color: #e5e5e5;
2082
- height: 44px;
2083
- width: 200px;
2084
- }
2085
- .tab8 .small.new-inp {
2086
- background-color: #e5e5e5;
2087
- height: 44px;
2088
- width: 277px;
2089
- }
2090
- .tab8 .small.color-code {
2091
- width: 138px !important;
2092
- }
2093
- .tab8 .select-same {
2094
- border: 1px solid #d6d6d6;
2095
- height: 47px !important;
2096
- width: 171px;
2097
- appearance: none;
2098
- -moz-appearance: none;
2099
- -webkit-appearance: none;
2100
- background-image: url(images/select-arrow.png);
2101
- background-repeat: no-repeat;
2102
- background-position: right 15px center;
2103
- }
2104
- .sfsi_mainContainer .tab8 .sfsi_same_width {
2105
- display: inline-block;
2106
- width: 100px !important;
2107
- }
2108
- .sfsi_mainContainer .tab7 .wp-picker-container input {
2109
- background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
2110
- border: 1px solid #ccc !important;
2111
- box-shadow: none !important;
2112
- float: left !important;
2113
- height: auto !important;
2114
- padding: 0 !important;
2115
- width: auto !important;
2116
- }
2117
- .sfsi_mainContainer .tab7 .wp-picker-container input[type="text"] {
2118
- padding: 3px !important;
2119
- }
2120
- .sfsi_mainContainer .tab7 .wp-picker-container input[type="button"] {
2121
- padding: 0 5px !important;
2122
- }
2123
- .sfsi_mainContainer .tab7 .wp-picker-open .wp-picker-input-wrap,
2124
- .sfsi_mainContainer .tab8 .wp-picker-open .wp-picker-input-wrap {
2125
- vertical-align: middle !important;
2126
- }
2127
- .sfsi_mainContainer .tab7 .wp-color-result,
2128
- .sfsi_mainContainer .tab8 .wp-color-result {
2129
- margin: 0 6px 0 0 !important;
2130
- }
2131
- .sfsi_mainContainer .tab7 .wp-picker-holder,
2132
- .sfsi_mainContainer .tab8 .wp-picker-holder {
2133
- position: absolute !important;
2134
- z-index: 999;
2135
- }
2136
- .sfsi_mainContainer .sfsi_subscribe_Popinner .sfsi_highlight {
2137
- border: 3px solid red !important;
2138
- }
2139
- .sfsi_mainContainer .sfsi_subscription_html xmp {
2140
- display: block;
2141
- padding: 0 10px;
2142
- white-space: pre-line;
2143
- word-wrap: break-word;
2144
- }
2145
- ul.sfsi_floaticon_margin_sec {
2146
- float: left;
2147
- width: 600px;
2148
- }
2149
- ul.sfsi_floaticon_margin_sec li {
2150
- float: left;
2151
- width: 300px;
2152
- margin-bottom: 20px;
2153
- }
2154
- ul.sfsi_floaticon_margin_sec label {
2155
- float: left;
2156
- font-size: 17px;
2157
- padding-right: 20px;
2158
- width: 65px;
2159
- }
2160
- ul.sfsi_floaticon_margin_sec li input {
2161
- background-color: #E5E5E5;
2162
- border: medium none;
2163
- box-shadow: none;
2164
- padding: 14px 8px;
2165
- width: 80px;
2166
- float: left;
2167
- }
2168
- ul.sfsi_floaticon_margin_sec li ins {
2169
- float: left;
2170
- font-size: 17px;
2171
- font-weight: 400;
2172
- margin-left: 15px;
2173
- text-decoration: none;
2174
- }
2175
- .custom-img img,
2176
- .custom_section img,
2177
- .custom_iconOrder img,
2178
- .sample_icons img {
2179
- width: 51px;
2180
- }
2181
- .cstomskins_upload span.sfsi-bgimage {
2182
- background-size: 51px 51px !important;
2183
- }
2184
-
2185
- .sfsi_feedClaimingOverlay h1 {
2186
- font-size: 22px !important;
2187
- font-weight: bolder !important;
2188
- margin-top: 7px !important;
2189
- }
2190
- .sfsi_feedClaimingOverlay input[type="email"] {
2191
- font-size: 16px;
2192
- margin: 26px 0 0;
2193
- padding: 10px 0;
2194
- text-align: center;
2195
- width: 100%;
2196
- color: #bebebe !important;
2197
- box-shadow: none;
2198
- }
2199
- .sfsi_feedClaimingOverlay input[type="email"]::-webkit-input-placeholder {
2200
- color: #bebebe !important;
2201
- }
2202
- .sfsi_feedClaimingOverlay input[type="email"]:-moz-placeholder {
2203
- /* Firefox 18- */
2204
- color: #bebebe !important;
2205
- }
2206
- .sfsi_feedClaimingOverlay input[type="email"]::-moz-placeholder {
2207
- /* Firefox 19+ */
2208
- color: #bebebe !important;
2209
- }
2210
- .sfsi_feedClaimingOverlay input[type="email"]:-ms-input-placeholder {
2211
- color: #bebebe !important;
2212
- }
2213
- .sfsi_feedClaimingOverlay .save_button {
2214
- padding: 0 !important;
2215
- width: 100%;
2216
- }
2217
- .sfsi_feedClaimingOverlay .save_button a#getMeFullAccess {
2218
- border-radius: 4px;
2219
- font-size: 18px;
2220
- font-weight: bolder;
2221
- }
2222
- .sfsi_feedClaimingOverlay .sfsicloseBtn {
2223
- right: 8px !important;
2224
- top: 8px !important;
2225
- }
2226
- .sfsi_feedClaimingOverlay p {
2227
- text-align: center !important;
2228
- font-size: 12px !important;
2229
- line-height: 23px !important;
2230
- padding: 18px 0 0 !important;
2231
- color: #bebebe !important;
2232
- }
2233
- .sfsi_feedClaimingOverlay p a {
2234
- display: inline-block;
2235
- font-size: 12px;
2236
- margin: 0;
2237
- padding: 0;
2238
- width: auto;
2239
- color: #274da3 !important;
2240
- }
2241
- .sfsi_feedClaimingOverlay .pop_up_box {
2242
- padding: 25px 30px !important;
2243
- width: 435px !important;
2244
- min-height: 220px;
2245
- }
2246
-
2247
- @media (max-width:1160px) {
2248
- .sfsi_subscription_html xmp {
2249
- display: block;
2250
- padding: 0 10px;
2251
- white-space: pre-line;
2252
- word-wrap: break-word;
2253
- }
2254
- }
2255
- @media (max-width:1350px) {
2256
- .tab8 .sfsi_left_container {
2257
- width: 100% !important;
2258
- }
2259
-
2260
- .tab8 .sfsi_right_container {
2261
- width: 100%;
2262
- }
2263
-
2264
- .tab8 .border_shadow {
2265
- margin-top: 10px;
2266
- }
2267
-
2268
- .tab8 .row_tab div.sfsi_field {
2269
- margin-bottom: 10px;
2270
- }
2271
-
2272
- }
2273
- @media (max-width:770px) {
2274
- #sfsi_form_heading_fontstyle {
2275
- margin-left: 19px !important;
2276
- margin-top: 10px !important;
2277
- }
2278
- }
2279
-
2280
- /* premium plugin features */
2281
- .tab5 .icons_prem_disc {
2282
- float: left;
2283
- padding-top: 20px;
2284
- }
2285
- .sfsi_prem_fbpgiddesc {
2286
- font-size: 14px;
2287
- padding: 4px 0 0 60px;
2288
- width: 42%;
2289
- float: right;
2290
- line-height: 22px;
2291
- color: #080808;
2292
- }
2293
- .instagram_userLi p.sfsi_shared_premium {
2294
- float: right;
2295
- width: 41%;
2296
- line-height: 20px;
2297
- color: #1f1d1d;
2298
- font-size: 13px;
2299
- }
2300
- .sfsi_facebook_pagedeasc {
2301
- font-size: 14px;
2302
- padding: 15px 0 0 60px;
2303
- width: 42%;
2304
- float: right;
2305
- line-height: 22px;
2306
- color: #080808;
2307
- }
2308
-
2309
- .sf_si_default_design ul li {
2310
- width: auto !important;
2311
- display: inline-block;
2312
- float: none !important;
2313
- }.sf_si_our_prmium_plugin-add,
2314
- .sfsi_prem_icons_added {
2315
- background: #f3faf6;
2316
- border: 1px solid #12a252;
2317
- padding: 25px 38px 35px 40px;
2318
- clear: both;
2319
- }
2320
- .sf_si_prmium_head h2 {
2321
- font-size: 26px;
2322
- color: #000;
2323
- font-weight: bold;
2324
- padding-bottom: 13px;
2325
- margin-top: 0;
2326
- }
2327
-
2328
- .sfsi_new_prmium_follw {
2329
- background: #f3faf6;
2330
- border: 1px solid #12a252;
2331
- padding: 25px 38px 35px 40px;
2332
- float: left;
2333
- clear: both;
2334
- }
2335
- .notice_custom_icons_premium.sfsi_new_prmium_follw {
2336
- margin-left: 96px;
2337
- }
2338
- .sf_si_default_design ul {
2339
- padding: 0;
2340
- margin: 0;
2341
- }
2342
- .sf_si_default_design ul li {
2343
- list-style: none;
2344
- font-size: 20px;
2345
- color: #1a1d20;
2346
- clear: both;
2347
- }
2348
- .sfsi_need_another_tell_us,
2349
- .sfsi_need_another_one_link {
2350
- clear: both;
2351
- }
2352
- .sf_si_all_features_premium a,
2353
- .sfsi_need_another_tell_us a {
2354
- color: #12a252 !important;
2355
- font-size: 18.9px;
2356
- font-weight: bold;
2357
- border-bottom: 1px solid #12a252;
2358
- text-decoration: none;
2359
- }
2360
- .sf_si_default_design ul li b {
2361
- font-weight: bold;
2362
- }
2363
- .sf_si_our_prmium_plugin-add .sf_si_prmium_head h2 {
2364
- padding-bottom: 23px;
2365
- }
2366
-
2367
- .sf_si_default_design ul li img {}
2368
- .sfsi_need_another_one_link p {
2369
- color: #c1c3c5;
2370
- font-size: 18.9px !important;
2371
- }
2372
- .sfsi_need_another_one_link p a {
2373
- color: #12a252 !important;
2374
- text-decoration: none;
2375
- }
2376
- .sfsi_brdr_box {
2377
- box-sizing: border-box;
2378
- }
2379
- .sfsi_prem_cmn_rowlisting {
2380
- width: 225px;
2381
- float: left;
2382
- margin-top: 10px;
2383
- margin-bottom: 1px;
2384
- }
2385
- .sfsi_row {
2386
- clear: both;
2387
- }
2388
- .sfsi_prem_cmn_rowlisting span {
2389
- color: #1a1d20;
2390
- font-size: 20px;
2391
- display: table-cell;
2392
- vertical-align: middle;
2393
- padding-right: 10px;
2394
- }
2395
- .sfsi_need_another_one_link {
2396
- padding: 23px 0 20px 5px;
2397
- }
2398
- .sfsi_need_another_tell_us a {
2399
- margin-left: 5px;
2400
- }
2401
- .sfsi_new_prmium_follw {
2402
- margin-top: 20px;
2403
- display: inline-block;
2404
- padding: 15px 75px 20px 24px;
2405
- float: left;
2406
- }
2407
- .sfsi_new_prmium_follw p {
2408
- margin: 0 !important;
2409
- }
2410
- .sfsi_new_prmium_follw p {
2411
- color: #1a1d20 !important;
2412
- font-size: 20px !important;
2413
- font-family: helveticaregular !important;
2414
- }
2415
- .sfsi_new_prmium_follw p a {
2416
- color: #12a252 !important;
2417
- text-decoration: none;
2418
- }
2419
- .sfsi_new_prmium_follw p b {
2420
- font-weight: bold;
2421
- color: #1a1d20 !important;
2422
- }
2423
- .sf_si_default_design ul li h4 {
2424
- color: #1a1d20 !important;
2425
- font-size: 20px !important;
2426
- font-weight: bold;
2427
- padding-bottom: 21px !important;
2428
- }
2429
- .sf_si_default_design ul li h4 span {
2430
- font-weight: normal;
2431
- }
2432
- p.sfsi_shared_premium {
2433
- color: #1a1d20 !important;
2434
- font-family: helveticaregular !important;
2435
- padding-top: 0 !important;
2436
- }
2437
- p.sfsi_shared_premium a {
2438
- text-decoration: none;
2439
- color: #00a0d2 !important;
2440
- }
2441
- p.sfsi_shared_premium b {
2442
- font-weight: bold;
2443
- }
2444
- .sfsi_fbpaget {
2445
- float: left !important;
2446
- padding: 4px 0 0 0px !important;
2447
- width: 100% !important;
2448
- margin-left: 60px;
2449
- }
2450
- .sfsi_fbpaget .sfsi_facebook_count {
2451
- width: 100% !important;
2452
- padding: 4px 0 0 0px !important;
2453
- }
2454
- .sfsi_prem_show a {
2455
- color: #0c0b0b;
2456
- margin: 2px;
2457
- }
2458
- .sfsi_prem_show {
2459
- padding-top: 140px !important;
2460
- }
2461
- .sf_si_default_design ul li b span {
2462
- font-weight: normal !important;
2463
- }
2464
- p.sfsi_prem_plu_desc a {
2465
- text-decoration: none;
2466
- color: #00a0d2 !important;
2467
- }
2468
- .sfsi_fb_popup_contain {
2469
- width: 50%;
2470
- display: inline-block;
2471
- }
2472
- .sfsi_first_icon_field,
2473
- .sfsi_second_icon_img {
2474
- display: table-cell;
2475
- vertical-align: middle;
2476
- padding: 5px 0;
2477
- }
2478
- .sfsi_first_icon_field {
2479
- width: 125px;
2480
- }
2481
- .sfsi_first_icon_field h2 {
2482
- font-size: 18px !important;
2483
- color: #1a1d20 !important;
2484
- margin: 0 !important;
2485
- font-weight: bold;
2486
- }
2487
- .sfsi_first_icon_field p {
2488
- color: #1a1d20 !important;
2489
- font-size: 12px !important;
2490
- margin: 0 !important;
2491
- padding: 0 !important;
2492
- line-height: 18px !important;
2493
- }
2494
- .sfsi_first_icon_more h2 {
2495
- font-size: 18px !important;
2496
- color: #1a1d20 !important;
2497
- margin: 0 !important;
2498
- padding-top: 17px;
2499
- padding-bottom: 22px;
2500
- }
2501
- .sfsi_cool_font_weight h2 {
2502
- font-weight: normal;
2503
- }
2504
- .sf_si_default_design ul li {
2505
- margin: 0 !important;
2506
- }
2507
- .sf_si_default_design ul li h4.sfsi_second_themedTitle {
2508
- padding-bottom: 16px !important;
2509
- }
2510
- .sfsi_mainContainer .sfsi_prem_cmn_rowlisting img {
2511
- width: 52px;
2512
- height: 52px;
2513
- }
2514
- .sfsi_icons_other_allign {
2515
- width: auto;
2516
- color: #5a6570;
2517
- text-align: left;
2518
- font-family: 'helveticaneue-light';
2519
- font-size: 17px;
2520
- line-height: 26px;
2521
- }
2522
-
2523
- /* new notification bar css*/
2524
-
2525
- .sfsi_new_notification {
2526
- background-color: #fff;
2527
- border: 4px dashed #00c853;
2528
- margin-bottom: 30px;
2529
- width: 100%;
2530
- }
2531
- .sfsi_new_notification_header {
2532
- background-color: #e8faef;
2533
- display: -webkit-box;
2534
- display: -webkit-flex;
2535
- display: -ms-flexbox;
2536
- display: flex;
2537
- -webkit-box-align: center;
2538
- -webkit-align-items: center;
2539
- -ms-flex-align: center;
2540
- align-items: center;
2541
- -webkit-box-pack: justify;
2542
- -webkit-justify-content: space-between;
2543
- -ms-flex-pack: justify;
2544
- justify-content: space-between;
2545
- padding: 10px 0 12px 0;
2546
- }
2547
- .sfsi_new_notification_header h1 {
2548
- margin: 0;
2549
- color: #00c853;
2550
- font-size: 18px;
2551
- margin: 0 auto;
2552
- font-family: Arial, Helvetica, sans-serif;
2553
- }
2554
- .sfsi_new_notification_header h1 a {
2555
- margin: 0;
2556
- color: #00c853;
2557
- font-size: 18px;
2558
- margin: 0 auto;
2559
- font-family: Arial, Helvetica, sans-serif;
2560
- text-decoration: none;
2561
- }
2562
- .sfsi_new_notification_cross {
2563
- float: right;
2564
- font-size: 18px;
2565
- font-weight: 700;
2566
- line-height: 1;
2567
- color: #00c853;
2568
- font-family: Arial, Helvetica, sans-serif;
2569
- margin-right: 15px;
2570
- cursor: pointer;
2571
- }
2572
- .sfsi_new_notification_body {
2573
- width: 100%;
2574
- background-color: #fff;
2575
- display: -webkit-box;
2576
- display: -webkit-flex;
2577
- display: -ms-flexbox;
2578
- display: flex;
2579
- -webkit-box-align: center;
2580
- -webkit-align-items: center;
2581
- -ms-flex-align: center;
2582
- align-items: center;
2583
- -webkit-box-pack: justify;
2584
- -webkit-justify-content: space-between;
2585
- -ms-flex-pack: justify;
2586
- justify-content: space-between;
2587
- }
2588
- .sfsi_new_notification_image {
2589
- margin: 0 20px 0px 20px;
2590
- width: 100%;
2591
- text-align: center;
2592
- overflow: hidden;
2593
- }
2594
- .sfsi_new_notification_image img {
2595
- width: auto;
2596
- }
2597
- .sfsi_new_notification_learnmore {
2598
- float: right;
2599
- }
2600
- .sfsi_new_notification_learnmore {
2601
- background-color: #00c853;
2602
- display: block;
2603
- text-decoration: none;
2604
- text-align: center;
2605
- font-size: 20px;
2606
- font-family: Arial, Helvetica, sans-serif;
2607
- width: 150px;
2608
- margin-bottom: -4px;
2609
- margin-right: -4px;
2610
- position: relative;
2611
- color: #fff;
2612
- padding: 70px 10px;
2613
- }
2614
- .sfsi_new_notification_body_link a {
2615
- display: block;
2616
- text-decoration: none;
2617
- text-align: center;
2618
- font-size: 20px;
2619
- font-family: Arial, Helvetica, sans-serif;
2620
- color: #fff;
2621
- }
2622
- .tab4 .sfsi_tokenGenerateButton {
2623
- margin: 25px 0;
2624
- }
2625
- .tab4 .sfsi_tokenGenerateButton p {
2626
- display: inline-block;
2627
- margin-bottom: 11px;
2628
- vertical-align: middle;
2629
- width: 100%;
2630
- }
2631
- .tab4 .sfsi_tokenGenerateButton a {
2632
- background-color: #12a252;
2633
- color: #fff;
2634
- padding: 10px 20px;
2635
- text-decoration: none;
2636
- }
2637
-
2638
- .tab4 .sfsi_instagramFields {
2639
- float: left;
2640
- margin-bottom: 12px;
2641
- /* width: 550px;*/
2642
- width: 50%;
2643
- margin-left: 60px;
2644
- }
2645
-
2646
- .tab4 .sfsi_instagramInstruction {
2647
- float: left;
2648
- margin-bottom: 12px;
2649
- /* width: 450px; */
2650
- width: 40%;
2651
- margin-left: 30px;
2652
- }
2653
- #accordion1 p {
2654
- color: #5a6570;
2655
- text-align: left;
2656
- font-family: 'helveticaneue-light';
2657
- font-size: 17px;
2658
- line-height: 26px;
2659
- padding-top: 19px;
2660
- }
2661
- .specify_counts .listing .sfsi_instagramInstruction ul {
2662
- margin: 0;
2663
- padding: 0;
2664
- list-style: none;
2665
- text-align: left;
2666
- }
2667
- .specify_counts .listing .sfsi_instagramInstruction ul {
2668
- padding-left: 14px !important;
2669
- }
2670
- .specify_counts .listing .sfsi_instagramInstruction li {
2671
- font-size: 13px !important;
2672
- line-height: 20px !important;
2673
- list-style: outside none bullets !important;
2674
- margin-top: 5px !important;
2675
- padding: 0 !important;
2676
- }
2677
- /* tab2 email section */
2678
- .sfsi_service_row {
2679
- margin-right: -15px;
2680
- margin-left: -15px;
2681
- }
2682
- .sfsi_service_column {
2683
- float: left;
2684
- margin-bottom: 40px;
2685
- margin-top: 15px;
2686
- padding-left: 30px;
2687
- width: 47%;
2688
- }
2689
- .sfsi_service_column ul {
2690
- margin-left: 11% !important;
2691
- }
2692
- .sfsi_service_column ul li {
2693
- padding-bottom: 10px;
2694
- font-size: 16px;
2695
- line-height: 25px;
2696
- }
2697
- .sfsi_service_column ul li span {
2698
- color: #12a252;
2699
- }
2700
- .sfsi_service_column ul li::before {
2701
- content: url(../images/tick-icon.png);
2702
- position: relative;
2703
- top: 0px;
2704
- right: 10px;
2705
- text-indent: -22px;
2706
- float: left;
2707
- }
2708
- .sfsi_inputbtn {
2709
- clear: both;
2710
- display: block;
2711
- }
2712
- .sfsi_inputbtn input {
2713
- width: 100%;
2714
- padding: 15px 0px;
2715
- text-align: center;
2716
- margin-bottom: 10px;
2717
- }
2718
- .sfsi_email_services_text {
2719
- clear: both;
2720
- }
2721
- .sfsi_email_services_paragraph {
2722
- width: 600px;
2723
- float: left;
2724
- margin-top: 10px;
2725
- margin-bottom: 40px;
2726
- }
2727
- .sfsi_more_services_link a {
2728
- background-color: #12a252;
2729
- color: #fff !important;
2730
- padding: 20px 0px;
2731
- text-decoration: none;
2732
- text-align: center;
2733
- font-size: 20px;
2734
- display: block;
2735
- clear: both;
2736
- font-weight: bold;
2737
- }
2738
- .sfsi_subscribe_popbox_link a {
2739
- color: #00a0d2 !important;
2740
- }
2741
- .sfsi_email_services_paragraph ul {
2742
- margin-left: 11% !important;
2743
- }
2744
- .sfsi_email_services_paragraph ul li {
2745
- padding-bottom: 10px;
2746
- font-size: 16px;
2747
- }
2748
- .sfsi_email_services_paragraph ul li span {
2749
- color: #12a252;
2750
- }
2751
- .sfsi_email_services_paragraph ul li::before {
2752
- content: url(../images/tick-icon.png);
2753
- position: relative;
2754
- top: 5px;
2755
- right: 10px;
2756
- text-indent: -22px;
2757
- float: left;
2758
- }
2759
- .sfsi_email_last_paragraph {
2760
- width: 60%;
2761
- text-align: center !important;
2762
- margin: 20px auto ! important;
2763
- font-size: 16px !important;
2764
- color: #a4a9ad !important;
2765
- padding-top: 0 !important;
2766
- }
2767
- .sfsi_email_last_paragraph a {
2768
- color: #12a252 !important;
2769
- font-family: 'helveticaneue-light' !important;
2770
- }
2771
- /*new banner styles*/
2772
- .sfsi_new_notification_cat {
2773
- width: 100%;
2774
- min-height: 300px;
2775
- max-width: 700px;
2776
- }
2777
- .sfsi_new_notification_cat {
2778
- background-color: #fff;
2779
- margin: 30px auto;
2780
- width: 100%;
2781
- }
2782
- .sfsi_new_notification_header_cat {
2783
- background-color: #e8faef;
2784
- /*display: -webkit-box;
2785
- display: -webkit-flex;
2786
- display: -ms-flexbox;
2787
- display: flex;
2788
- -webkit-box-align: center;
2789
- -webkit-align-items: center;
2790
- -ms-flex-align: center;
2791
- align-items: center;
2792
- -webkit-box-pack: justify;
2793
- -webkit-justify-content: space-between;
2794
- -ms-flex-pack: justify;
2795
- justify-content: space-between;*/
2796
- padding: 21px 0 21px 0;
2797
- text-align: center;
2798
- }
2799
- .sfsi_new_notification_header_cat h1 {
2800
- margin: 0;
2801
- color: #000000;
2802
- font-size: 24px;
2803
- margin: 0 auto;
2804
- font-family: Arial, Helvetica, sans-serif;
2805
- font-weight: bold;
2806
- }
2807
- .sfsi_new_notification_header_cat h3 {
2808
- margin-top: 10px;
2809
- font-size: 16px;
2810
- color: #000000;
2811
- }
2812
- .sfsi_new_notification_header_cat h3 a {
2813
- text-decoration: none;
2814
- color: #38B54A
2815
- }
2816
- .sfsi_new_notification_header_cat h1 a {
2817
- margin: 0;
2818
- color: #00c853;
2819
- font-size: 18px;
2820
- margin: 0 auto;
2821
- font-family: Arial, Helvetica, sans-serif;
2822
- text-decoration: none;
2823
- }
2824
- .sfsi_new_notification_cross_cat {
2825
- float: right;
2826
- font-size: 18px;
2827
- font-weight: 700;
2828
- line-height: 1;
2829
- color: #000000;
2830
- font-family: Arial, Helvetica, sans-serif;
2831
- margin-right: 15px;
2832
- cursor: pointer;
2833
- margin-top: -50px;
2834
- }
2835
- .sfsi_new_notification_body_link_cat a {
2836
- display: block;
2837
- text-decoration: none;
2838
- text-align: center;
2839
- font-size: 20px;
2840
- font-family: Arial, Helvetica, sans-serif;
2841
- color: #fff;
2842
- }
2843
- .sfsi_new_notification_body_cat {
2844
- width: 100%;
2845
- background-color: #fff;
2846
- /*display: -webkit-box;
2847
- display: -webkit-flex;
2848
- display: -ms-flexbox;
2849
- display: flex;
2850
- -webkit-box-align: center;
2851
- -webkit-align-items: center;
2852
- -ms-flex-align: center;
2853
- align-items: center;
2854
- -webkit-box-pack: justify;
2855
- -webkit-justify-content: space-between;
2856
- -ms-flex-pack: justify;
2857
- justify-content: space-between;*/
2858
- }
2859
- .sfsi_new_notification_image_cat {
2860
- /* margin: 0 20px 0px 20px; */
2861
- width: 100%;
2862
- text-align: center;
2863
- overflow: hidden;
2864
- /*padding: 10px 0px;*/
2865
- }
2866
- .sfsi_new_notification_image_cat img {
2867
- width: auto;
2868
- border: 0;
2869
- vertical-align: middle;
2870
- }
2871
- .bottom_text {
2872
- background: #38B54A;
2873
- text-align: center;
2874
- padding: 15px 0px;
2875
- font-size: 18px;
2876
- font-weight: bold;
2877
- color: #fff;
2878
- }
2879
- .sfsi_new_notification_image_cat p {
2880
- color: #000000;
2881
- padding: 10px;
2882
- font-size: 16px;
2883
- }
2884
- .sfsi_new_notification_body_link_cat .tailored_icons_img {
2885
- display: block;
2886
- text-decoration: none;
2887
- text-align: center;
2888
- font-size: 20px;
2889
- font-family: Arial, Helvetica, sans-serif;
2890
- color: #fff;
2891
- margin: 28px 0px;
2892
- }
2893
- /**curl error box*/
2894
- .sfsi_curlerror {
2895
- margin: 0px 0px 10px 94px;
2896
- background: rgba(244, 67, 54, 0.08);
2897
- padding: 20px;
2898
- line-height: 20px;
2899
- }
2900
- .sfsi_curlerrorNotification .sfsi_curlerror {
2901
- background: rgba(244, 67, 54, 0.08);
2902
- padding: 20px;
2903
- line-height: 20px;
2904
- margin: 0px 0px 10px 0px;
2905
- }
2906
- .sfsi_curlerror_cross {
2907
- float: right;
2908
- text-decoration: underline;
2909
- margin-top: 10px;
2910
- }
2911
- .sfsi_curlerrortab4 a {
2912
- color: #0073aa !important;
2913
- }
2914
- .sfsi_curlerror a {
2915
- color: #0073aa !important;
2916
- }
2917
-
2918
- .social_data_post_types {
2919
- float: left;
2920
- width: 100%;
2921
- margin-top: 10px;
2922
- }
2923
- .social_data_post_types .checkbox {
2924
- float: left;
2925
- margin-top: 5px;
2926
- margin-right: 5px;
2927
- }
2928
- .social_data_post_types ul {
2929
- float: left;
2930
- margin-top: 5px;
2931
- }
2932
- .social_data_post_types li {
2933
- float: left;
2934
- min-width: 90px;
2935
- }
2936
- .social_data_post_types .radio_section.tb_4_ck {
2937
- float: left;
2938
- margin-right: 5px;
2939
- }
2940
- .social_data_post_types .radio_section.tb_4_ck .cstmdsplsub {
2941
- font-size: 16px;
2942
- }
2943
- .social_data_post_types ul {
2944
- float: left;
2945
- width: 84%;
2946
- }
2947
- .social_data_post_types .radio_section.tb_4_ck input.styled {
2948
- margin-top: 20px;
2949
- }
2950
- ul.sfsi_show_hide_section {
2951
- float: right;
2952
- width: 16%;
2953
- }
2954
-
2955
- .sfsi_social_sharing {
2956
- margin-bottom: 15px;
2957
- float: left;
2958
- width: 51%;
2959
- }
2960
- .socialPostTypesUl span {
2961
- pointer-events: none
2962
- }
2963
- .bannerPopupQue6 {
2964
- width: 98% !important;
2965
- float: left !important;
2966
- padding: 15px !important;
2967
- }
2968
- .pinterest_section .sfsi_new_prmium_follw a {
2969
- font-weight: bold !important;
2970
- }
2971
- #accordion,
2972
- #accordion1 {
2973
- float: left;
2974
- clear: both;
2975
- width: 100%;
2976
- }
2977
- h2.optional {
2978
- float: left;
2979
- clear: both;
2980
- margin-top: 25px !important;
2981
- }
2982
-
2983
- /*support forum*/
2984
- .welcometext {
2985
- float: left;
2986
- width: 72%;
2987
- }
2988
- .welcometext p {
2989
- margin-bottom: 8px !important;
2990
- margin-top: 15px !important;
2991
- font-size: 16px;
2992
- }
2993
- .supportforum {
2994
- float: right;
2995
- width: auto;
2996
- background: #fff;
2997
- text-align: center;
2998
- padding: 0 20px 3px 7px;
2999
- }
3000
- .support-container p {
3001
- font-family: helveticaregular !important;
3002
- }
3003
- .support-container {
3004
- padding: 7px 4px;
3005
- }
3006
- .have-questions {
3007
- text-align: center;
3008
- font-size: 20px;
3009
- }
3010
- .have-questions img {
3011
- width: 45px;
3012
- display: inline-block;
3013
- }
3014
- .have-questions .have-quest {
3015
- display: inline-block;
3016
- font-size: 20px;
3017
- font-weight: 700;
3018
- margin: 0;
3019
- vertical-align: sub;
3020
- }
3021
- .have-questions .ask-question {
3022
- margin-bottom: 3px !important;
3023
- margin-top: 2px !important;
3024
- }
3025
- .support-forum-green-bg {
3026
- margin-top: 5px;
3027
- margin-left: 20px;
3028
- background: #26B654;
3029
- width: 145px;
3030
- border-radius: 5px;
3031
- padding: 10px 16px 8px 15px;
3032
- }
3033
- .support-forum-green-bg img {
3034
- display: inline-block;
3035
- padding-right: 5px;
3036
- }
3037
- .support-forum-green-div p.support-forum {
3038
- display: inline-block;
3039
- color: #fff;
3040
- font-weight: 700;
3041
- margin: 0 !important;
3042
- }
3043
- .support-forum-green-div a {
3044
- text-decoration: none !important;
3045
- }
3046
- .respond-text p {
3047
- margin: 10px 0 0 0px !important
3048
- }
3049
- .respond-text {
3050
- margin-left: 20px;
3051
- float: left;
3052
- margin-bottom: 8px;
3053
- }
3054
-
3055
- @media (min-width: 1631px) and (max-width: 1631px) {
3056
- .premiumComponent {
3057
- width: 52% !important;
3058
- }
3059
- .premiumButtonsContainer {
3060
- width: 44% !important;
3061
- }
3062
- .premiumButtonsContainer .premiumSection2 {
3063
- width: 41% !important;
3064
- }
3065
- .premiumButtonsContainer .premiumSection3 {
3066
- width: 41% !important;
3067
- }
3068
- }
3069
-
3070
- /************************************ Question 3-> Where shall they be displayed? CSS STARTS *************************/
3071
- .tab9 h1 {
3072
- font-size: 20px !important;
3073
- font-weight: bold !important;
3074
- margin-bottom: 20px !important;
3075
- }
3076
- .tab9 span.checkbox {
3077
- margin-top: 3px;
3078
- }
3079
- .tab9 input {
3080
- width: 317px;
3081
- background: #e5e5e5;
3082
- box-shadow: 2px 2px 3px #dcdcdc inset;
3083
- border: 0;
3084
- padding: 13px 10px !important;
3085
- font-size: 17px;
3086
- color: #5a6570;
3087
- }
3088
- .tab9 ul.sfsi_icn_listing8 {
3089
- list-style: outside none none;
3090
- margin: 5px 0 0;
3091
- overflow: hidden;
3092
- }
3093
- .tab9 ul.sfsi_icn_listing8 li .sfsi_right_info {
3094
- font-family: helveticaregular;
3095
- width: 94.7%;
3096
- float: left;
3097
- }
3098
- .tab9 ul.sfsi_icn_listing8 li {
3099
- float: left;
3100
- padding: 11px 0 15px 0;
3101
- width: 100%;
3102
- margin: 0;
3103
- }
3104
- .tab9 .sfsi_float_position_icon_label img {
3105
- margin-left: auto;
3106
- margin-right: auto;
3107
- display: block;
3108
- margin-top: 7px;
3109
- }
3110
- .tab9 .sfsi_float_position_icon_label img.sfsi_img_center_bottom {
3111
- position: absolute;
3112
- bottom: 0px;
3113
- left: 18%;
3114
- }
3115
- .tab9 .sfsiLocationli .cstmfltonpgstck p {
3116
- padding-top: 5px !important;
3117
- padding-left: 20px !important;
3118
- display: table;
3119
- font-size: 19px !important
3120
- }
3121
- .sfsi_mainContainer .checkbox {
3122
- float: left;
3123
- }#accordion .tab9 .sfsi_icn_listing8 li .sfsi_right_info .kckslctn p:first-child {
3124
- margin-top: 17px !important;
3125
- }
3126
- #accordion .tab9 .sfsi_icn_listing8 li .sfsi_right_info p {
3127
- padding-left: 20px;
3128
- font-size: 19px !important;
3129
- display: table
3130
- }
3131
- #accordion .tab9 .sfsi_icn_listing8 li.sfsi_show_via_afterposts .sfsi_right_info p{
3132
- font-size: 18px!important;
3133
- }
3134
- #accordion .tab9 .sfsi_icn_listing8 li.sfsi_show_via_shortcode .sfsi_right_info p:last-child {
3135
- padding-top: 0px;
3136
- }
3137
- #accordion .tab9 .sfsi_icn_listing8 li.sfsi_show_via_shortcode .sfsi_right_info .kckslctn p:last-child {
3138
- padding-top: 19px !important;
3139
- }
3140
- .tab9 .sfsi_feature_note {
3141
- font-size: 18px !important;
3142
- margin-left: 12px !important;
3143
- padding-top: 0px !important;
3144
- }
3145
- .tab9 .ul.sfsi_make_icons.sfsi_mobile_float {
3146
- float: left;
3147
- }
3148
- .tab9 .sfsi_disable_floatingicons_mobile {
3149
- width: 88%;
3150
- float: left;
3151
- margin: 25px 0 0 27px
3152
- }
3153
- .tab9 .sfsi_disable_floatingicons_mobile h4 {
3154
- float: left;
3155
- line-height: 56px !important;
3156
- margin-right: 40px !important;
3157
- font-family: 'helveticaneue-light' !important;
3158
- color: #5a6570 !important;
3159
- }
3160
- .tab9 .sfsi_toglepstpgspn {
3161
- font-weight: bold;
3162
- }
3163
- .tab9 .sfsi_show_via_shortcode .kckslctn,
3164
- .tab9 .sfsi_show_via_afterposts .kckslctn {
3165
- font-size: 15px;
3166
- margin-top: 5px;
3167
- }
3168
- .tab9 .sfsi_show_via_shortcode .kckslctn h4,
3169
- .tab9 .sfsi_show_via_afterposts .kckslctn h4 {
3170
- font-size: 18px !important;
3171
- padding: 18px 0 0 0 !important;
3172
- }
3173
- .tab9 .sfsi_navigate_to_question7 {
3174
- text-decoration: underline;
3175
- cursor: pointer
3176
- }
3177
- .tab9 .sfsiLocationli h4 {
3178
- font-size: 19px !important
3179
- }
3180
- .tab9 .sfsi_make_icons span.radio {
3181
- background-position: 0 0;
3182
- display: inline-block;
3183
- vertical-align: middle;
3184
- float: left;
3185
- }
3186
- .tab9 ul.sfsi_icn_listing8 li .flthmonpg li {
3187
- min-width: 33%;
3188
- width: 33% !important
3189
- }
3190
-
3191
- . .tab9 .radio_section.tb_4_ck {
3192
- margin: 0 20px 0 0 !important;
3193
- float: left
3194
- }
3195
- .tab9 .sfsi_tab_3_icns {
3196
- display: block;
3197
- }
3198
- .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns .sfsi_make_icons li {
3199
- width: 13%;
3200
- min-width: 35px
3201
- }
3202
- .tab9 .sfsi_make_icons .sfsi_flicnsoptn3 {
3203
- color: #69737c;
3204
- display: inline-block;
3205
- float: none;
3206
- font-family: helveticaneue-light;
3207
- font-size: 20px;
3208
- margin: 7px 0 0 15px;
3209
- vertical-align: middle;
3210
- width: auto
3211
- }
3212
- .tab9 .sfsi_float_position_icon_label {
3213
- border: 1px solid #ccc;
3214
- border-radius: 18px;
3215
- margin-top: 3px;
3216
- position: relative;
3217
- width: 189px;
3218
- height: 148px
3219
- }
3220
- .tab9 .save_button {
3221
- padding-top: 0
3222
- }
3223
- .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns li {
3224
- padding-left: 0;
3225
- padding-bottom: 15px
3226
- }
3227
- .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns ul.sfsi_floaticon_margin_sec li {
3228
- min-width: 50%;
3229
- padding-left: 0;
3230
- padding-bottom: 15px;
3231
- float: left;
3232
- width: 50%
3233
- }
3234
- .tab9 .sfsi_tab_3_icns.flthmonpg .radio {
3235
- margin-top: 55px
3236
- }
3237
- .tab9 .sfsi_position_divider {
3238
- float: left;
3239
- margin-top: 0;
3240
- margin-left: 15px;
3241
- width: 100%
3242
- }
3243
- #accordion .tab9 ul.shwthmbfraftr .labelhdng4,
3244
- #accordion .tab9 ul.shwthmbfraftr .row h4.labelhdng4 {
3245
- color: #555;
3246
- font-size: 20px;
3247
- margin-left: 20px;
3248
- font-family: helveticaregular
3249
- }
3250
- .tab9 .sfsiLocationli .sfsi_right_info .sfsi_tab_3_icns {
3251
- float: left;
3252
- clear: both
3253
- }
3254
- .tab9 ul.sfsi_tab_3_icns li .icns_tab_3,
3255
- ul.sfsi_tab_3_icns li .radio {
3256
- float: left
3257
- }
3258
- .tab9 ul.sfsi_tab_3_icns.flthmonpg {
3259
- margin-top: 20px
3260
- }
3261
- .tab9 .sfsi_right_info ul.sfsi_floaticon_margin_sec li {
3262
- float: left
3263
- }
3264
- .tab9 .sfsi_right_info ul.sfsi_floaticon_margin_sec label {
3265
- font-size: 17px;
3266
- padding-right: 7px;
3267
- width: 63px !important;
3268
- display: inline-block;
3269
- margin-top: 10px
3270
- }
3271
- .tab9 .sfsi_right_info ul.sfsi_floaticon_margin_sec ins {
3272
- margin-top: 10px
3273
- }
3274
- .tab9 .sfsi_right_info ul.sfsi_floaticon_margin_sec li input {
3275
- background-color: #dedede;
3276
- border: none;
3277
- box-shadow: none;
3278
- padding: 14px 8px;
3279
- width: 80px
3280
- }
3281
- .tab9 .sfsi_right_info ul.sfsi_floaticon_margin_sec li ins {
3282
- font-size: 17px;
3283
- font-weight: 400;
3284
- margin-left: 15px;
3285
- text-decoration: none
3286
- }
3287
- .tab9 .sfsi_flicnsoptn3 {
3288
- color: #69737c;
3289
- float: left;
3290
- font-size: 20px;
3291
- margin: 62px 5px 0 20px;
3292
- font-family: helveticaneue-light;
3293
- width: 136px
3294
- }
3295
- .tab9 ul.sfsi_tab_3_icns label {
3296
- float: left;
3297
- line-height: 42px;
3298
- color: #69737C;
3299
- font-size: 18px;
3300
- font-family: helveticaregular;
3301
- min-width: 120px
3302
- }
3303
-
3304
- @media screen and (max-width: 823px) {
3305
- .wapper {
3306
- padding: 0 15px;
3307
- }
3308
- .welcometext {
3309
- width: 62% !important;
3310
- }
3311
- .supportforum {
3312
- margin-top: 22px;
3313
- }
3314
- .main_contant h1 {
3315
- line-height: 35px;
3316
- }
3317
- #sfpageLoad {
3318
- width: 100% !important;
3319
- left: 0px !important;
3320
- }
3321
- .tab9 .sfsi_position_divider {
3322
- margin-left: 0px !important;
3323
- }
3324
- .row ul.tab_2_email_sec li {
3325
- width: 31%;
3326
- }
3327
- .tab9 ul.sfsi_icn_listing8 li .sfsi_right_info {
3328
- width: 89.7% !important;
3329
- }
3330
- .tab9 ul.sfsi_icn_listing8 li.sfsiLocationli .sfsi_right_info {
3331
- width: 100% !important;
3332
- }
3333
- .tab9 .sfsi_float_position_icon_label {
3334
- clear: both !important;
3335
- }
3336
- .tab9 .sfsi_tab_3_icns.flthmonpg .radio {
3337
- margin-top: 0px !important;
3338
- }
3339
- .tab9 .sfsi_flicnsoptn3 {
3340
- margin: 5px 5px 0 20px !important;
3341
- width: 131px !important;
3342
- }
3343
- .tab9 .sfsiLocationli label,
3344
- .tab9 .sfsi_float_position_icon_label {
3345
- margin-top: 13px;
3346
- clear: both !important;
3347
- }
3348
- .tab9 .sfsi_position_divider:nth-child(2) {
3349
- margin: 20px 0;
3350
- }
3351
- .tab9 ul.sfsi_tab_3_icns.flthmonpg {
3352
- margin-left: 44px;
3353
- }
3354
-
3355
- .tab9 ul.sfsi_make_icons.sfsi_mobile_float {
3356
- float: left;
3357
- clear: both;
3358
- }
3359
- .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns .sfsi_make_icons li {
3360
- width: 50% !important;
3361
- }
3362
- }
3363
- @media screen and (min-width: 360px) and (max-width: 414px) {
3364
- .tab9 ul.sfsi_icn_listing8 li .flthmonpg li {
3365
- width: 100% !important;
3366
- }
3367
- }
3368
- @media screen and (min-width: 640px) and (max-width: 640px) {
3369
- .tab9 ul.sfsi_icn_listing8 li .flthmonpg li {
3370
- width: 100% !important;
3371
- }
3372
- .tab9 .sfsi_img_center_bottom {
3373
- padding-top: 0px !important;
3374
- width: 62% !important;
3375
- margin-top: -10px;
3376
- margin-left: 5px;
3377
- }
3378
- }
3379
- @media screen and (min-width: 1024px) and (max-width: 1024px) {
3380
- .wapper {
3381
- padding: 0 30px 0px 15px;
3382
- }
3383
- .welcometext {
3384
- width: 62% !important;
3385
- }
3386
- .supportforum {
3387
- margin-top: 22px;
3388
- }
3389
- .main_contant h1 {
3390
- line-height: 35px;
3391
- }
3392
- #sfpageLoad {
3393
- width: 100% !important;
3394
- }
3395
- .tab9 ul.sfsi_tab_3_icns.flthmonpg {
3396
- margin-left: 45px;
3397
- }
3398
- .row ul.tab_2_email_sec li {
3399
- width: 31%;
3400
- }
3401
- .tab9 ul.sfsi_icn_listing8 li .sfsi_right_info {
3402
- width: 90.7% !important;
3403
- }
3404
- .tab9 ul.sfsi_icn_listing8 li.sfsiLocationli .sfsi_right_info {
3405
- width: 100% !important;
3406
- }
3407
- .tab9 .sfsi_float_position_icon_label {
3408
- clear: both !important;
3409
- }
3410
- .tab9 .sfsiLocationli label,
3411
- .tab9 .sfsi_float_position_icon_label {
3412
- margin-top: 13px;
3413
- clear: both;
3414
- float: left;
3415
- }
3416
- .tab9 .sfsi_tab_3_icns.flthmonpg .radio {
3417
- margin-top: 0px !important;
3418
- }
3419
- .tab9 .sfsi_flicnsoptn3 {
3420
- margin-top: 3px !important
3421
- }
3422
- .tab9 .sfsi_position_divider:nth-child(2) {
3423
- margin: 20px 0;
3424
- }
3425
- .tab9 .sfsi_position_divider {
3426
- margin-left: 0px !important;
3427
- }
3428
- .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns .sfsi_make_icons li {
3429
- width: 30% !important;
3430
- }
3431
- .tab9 ul.sfsi_make_icons.sfsi_mobile_float {
3432
- width: 100% !important;
3433
- }
3434
- }
3435
-
3436
- @media screen and (min-width: 1080px) and (max-width: 1080px) {
3437
- .tab9 ul.sfsi_tab_3_icns label {
3438
- clear: both;
3439
- margin-top: 20px;
3440
- }
3441
- .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns ul.sfsi_make_icons {
3442
- float: left;
3443
- clear: both;
3444
- width: 100%;
3445
- }
3446
- .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns ul.sfsi_make_icons li {
3447
- width: 50%;
3448
- }
3449
- }
3450
-
3451
- @media screen and (min-width: 1920px) and (max-width: 1920px) {
3452
- .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns ul.sfsi_make_icons li span.sfsi_flicnsoptn3 {
3453
- padding-top: 6px;
3454
- padding-left: 5px;
3455
- }
3456
- }
3457
-
3458
- @media screen and (min-width: 1366px) and (max-width: 1366px) {
3459
- .wapper {
3460
- padding: 40px 40px 40px 10px;
3461
- }
3462
- .tab9 ul.sfsi_icn_listing8 li.sfsiLocationli .sfsi_right_info {
3463
- width: 100% !important;
3464
- }
3465
- .tab9 .sfsi_flicnsoptn3 {
3466
- font-size: 18px !important;
3467
- min-width: 113px !important;
3468
- margin: 60px 0px 0 10px !important;
3469
- width: auto !important;
3470
- }
3471
- .tab9 .sfsi_position_divider {
3472
- margin-left: 0px !important;
3473
- }
3474
- }
3475
- /************************************ Question 3-> Where shall they be displayed? CSS CLOSES *************************/
3476
-
3477
- /* Link to support forum left of every Save button */
3478
- .ui-accordion .ui-accordion-content {
3479
- position: relative;
3480
- }
3481
- .sfsi_askforhelp {
3482
- float: left;
3483
- width: 32%;
3484
- position: absolute;
3485
- bottom: 30px;
3486
- }
3487
- .sfsi_askforhelp img {
3488
- float: left;
3489
- width: 35px;
3490
- height: 35px;
3491
- vertical-align: middle;
3492
- }
3493
- .sfsi_askforhelp span {
3494
- float: left;
3495
- margin-left: 6px;
3496
- margin-top: 8px;
3497
- }
3498
- .askhelpInview2 {
3499
- bottom: 25px;
3500
- }
3501
- .askhelpInview3 {
3502
- bottom: 38px;
3503
- }
3504
- .askhelpInview7 {
3505
- bottom: 50px;
3506
- }
3507
-
3508
- div#sfsi_langnotice,
3509
- div#sfsi_addThis_removal_notice,
3510
- div#sfsi_error_reporting_notice {
3511
- padding: 10px;
3512
- margin-left: 0px;
3513
- position: relative;
3514
- }
3515
-
3516
- .clear {
3517
- clear: both;
3518
- }
3519
- .show {
3520
- display: block;
3521
- }
3522
- .hide {
3523
- display: none;
3524
- }
3525
-
3526
- .zeropadding {
3527
- padding: 0px !important;
3528
- }
3529
- .zerotoppadding {
3530
- padding-top: 0px !important;
3531
- }
3532
- .zerobottompadding {
3533
- padding-bottom: 0px !important;
3534
- }
3535
- .zerotopmargin {
3536
- margin-top: 0px !important;
3537
- }
3538
-
3539
- .rowpadding10 {
3540
- padding: 10px 0 !important;
3541
- }
3542
- .rowmarginleft15 {
3543
- margin-left: 15px !important;
3544
- }
3545
- .rowmarginleft25 {
3546
- margin-left: 25px !important;
3547
- }
3548
- .rowmarginleft45 {
3549
- margin-left: 45px !important;
3550
- }
3551
-
3552
- .bottommargin20 {
3553
- margin-bottom: 20px !important;
3554
- }
3555
- .bottommargin30 {
3556
- margin-bottom: 30px !important;
3557
- }
3558
- .bottommargin40 {
3559
- margin-bottom: 40px !important;
3560
- }
3561
- .inactiveSection {
3562
- opacity: 0.2;
3563
- pointer-events: none;
3564
- }
3565
-
3566
- /* */
3567
- .tab3 .sub_row {
3568
- float: left;
3569
- margin: 15px 0 0 4%;
3570
- width: 80%;
3571
- }
3572
- .tab3 .sub_row label {
3573
- float: left;
3574
- margin: 0 0px 0 10px;
3575
- line-height: 36px;
3576
- font-size: 18px;
3577
- }
3578
- .tab3 .sub_row .effectContainer {
3579
- float: left;
3580
- width: 100%;
3581
- margin-left: 45px;
3582
- }
3583
- .tab3 .sub_row .effectName {
3584
- float: left;
3585
- width: 35%;
3586
- }
3587
- .tab3 .tab_3_sav {
3588
- padding-top: 0;
3589
- margin: 0px auto 10px;
3590
- position: relative;
3591
- z-index: 9;
3592
- }
3593
- .tab3 .Shuffle_auto {
3594
- float: left;
3595
- width: 80%;
3596
- clear: both;
3597
- }
3598
- .tab3 #animationSection label {
3599
- font-family: 'helveticaneue-light';
3600
- }
3601
-
3602
- .tab3 select[name='mouseover_other_icons_transition_effect'] {
3603
- margin-left: 10px;
3604
- padding: 0px 11px;
3605
- margin-top: 4px;
3606
- font-size: 15px;
3607
- border-radius: 5px;
3608
- }
3609
- .tab3 .other_icons_effects_options .mouseover_other_icon_label {
3610
- float: left;
3611
- width: 30%;
3612
- font-size: 16px;
3613
- }
3614
- .tab3 .mouse-over-effects span.radio {
3615
- float: left;
3616
- display: inline-block;
3617
- }
3618
- .tab3 .same_icons_effects label span {
3619
- float: left;
3620
- clear: both;
3621
- line-height: 20px;
3622
- }
3623
- .tab3 .same_icons_effects label span:nth-child(2) {
3624
- font-size: 14px;
3625
- }
3626
- .tab3 .other_icons_effects_options .mouseover_other_icon_img {
3627
- float: left;
3628
- width: 40px;
3629
- height: 40px;
3630
- }
3631
- .tab3 .other_icons_effects_options .mouseover_other_icon_change_link,
3632
- .tab3 .other_icons_effects_options .mouseover_other_icon_revert_link {
3633
- float: left;
3634
- color: #337ab7;
3635
- margin-left: 15px;
3636
- padding: 5px 0px;
3637
- font-size: 15px;
3638
- text-decoration: underline;
3639
- }
3640
- .mouseover-premium-notice {}
3641
- .mouseover-premium-notice label {
3642
- width: auto !important;
3643
- margin: 0 !important;
3644
- }
3645
- .mouseover-premium-notice a {
3646
- float: left;
3647
- color: #12a252 !important;
3648
- padding-top: 5px;
3649
- margin-left: 5px;
3650
- font-size: 18px;
3651
- }
3652
-
3653
- @media (min-width:414px) and (max-width: 736px) and (orientation:portrait) {
3654
- .tab3 .sub_row {
3655
- width: 100%;
3656
- }
3657
- .tab3 .sub_row .effectContainer {
3658
- margin-left: 25px;
3659
- margin-bottom: 0px;
3660
- clear: both;
3661
- }
3662
- .tab3 .sub_row .effectName {
3663
- width: 100%;
3664
- margin-bottom: 25px
3665
- }
3666
- .rowmarginleft45 {
3667
- margin-left: 0px !important;
3668
- }
3669
- .bottommargin40 {
3670
- margin-bottom: 0px !important;
3671
- }
3672
- }
3673
-
3674
- @media (min-width:414px) and (max-width: 736px) and (orientation:landscape) {
3675
- .tab3 .sub_row {
3676
- width: 100%;
3677
- }
3678
- .tab3 .sub_row .effectContainer {
3679
- margin-left: 25px;
3680
- margin-bottom: 0px;
3681
- clear: both;
3682
- }
3683
- .tab3 .sub_row .effectName {
3684
- width: 50%;
3685
- margin-bottom: 25px
3686
- }
3687
- .rowmarginleft45 {
3688
- margin-left: 25px !important;
3689
- }
3690
- .bottommargin40 {
3691
- margin-bottom: 0px !important;
3692
- }
3693
- }
3694
- @media (min-width:768px) and (max-width: 1024px) {
3695
- .tab3 .sub_row {
3696
- width: 100%;
3697
- }
3698
- .tab3 .sub_row .effectContainer {
3699
- margin-bottom: 25px;
3700
- clear: both;
3701
- }
3702
- .tab3 .sub_row .effectName {
3703
- width: 50%;
3704
- }
3705
- }/* */
3706
-
3707
- .col-lg-1,
3708
- .col-lg-10,
3709
- .col-lg-11,
3710
- .col-lg-12,
3711
- .col-lg-2,
3712
- .col-lg-3,
3713
- .col-lg-4,
3714
- .col-lg-5,
3715
- .col-lg-6,
3716
- .col-lg-7,
3717
- .col-lg-8,
3718
- .col-lg-9,
3719
- .col-md-1,
3720
- .col-md-10,
3721
- .col-md-11,
3722
- .col-md-12,
3723
- .col-md-2,
3724
- .col-md-3,
3725
- .col-md-4,
3726
- .col-md-5,
3727
- .col-md-6,
3728
- .col-md-7,
3729
- .col-md-8,
3730
- .col-md-9,
3731
- .col-sm-1,
3732
- .col-sm-10,
3733
- .col-sm-11,
3734
- .col-sm-12,
3735
- .col-sm-2,
3736
- .col-sm-3,
3737
- .col-sm-4,
3738
- .col-sm-5,
3739
- .col-sm-6,
3740
- .col-sm-7,
3741
- .col-sm-8,
3742
- .col-sm-9,
3743
- .col-xs-1,
3744
- .col-xs-10,
3745
- .col-xs-11,
3746
- .col-xs-12,
3747
- .col-xs-2,
3748
- .col-xs-3,
3749
- .col-xs-4,
3750
- .col-xs-5,
3751
- .col-xs-6,
3752
- .col-xs-7,
3753
- .col-xs-8,
3754
- .col-xs-9 {
3755
- position: relative;
3756
- min-height: 1px;
3757
- padding-right: 15px;
3758
- padding-left: 15px;
3759
- }
3760
- @media (min-width: 992px) {
3761
- .col-md-12 {
3762
- width: 100%;
3763
- }
3764
-
3765
- .col-md-3 {
3766
- width: 25%;
3767
- }
3768
-
3769
- .col-md-1,
3770
- .col-md-10,
3771
- .col-md-11,
3772
- .col-md-12,
3773
- .col-md-2,
3774
- .col-md-3,
3775
- .col-md-4,
3776
- .col-md-5,
3777
- .col-md-6,
3778
- .col-md-7,
3779
- .col-md-8,
3780
- .col-md-9 {
3781
- float: left;
3782
- }
3783
-
3784
- .col-md-12 {
3785
- width: 100%
3786
- }
3787
-
3788
- .col-md-11 {
3789
- width: 91.66666667%
3790
- }
3791
-
3792
- .col-md-10 {
3793
- width: 83.33333333%
3794
- }
3795
-
3796
- .col-md-9 {
3797
- width: 75%
3798
- }
3799
-
3800
- .col-md-8 {
3801
- width: 66.66666667%
3802
- }
3803
-
3804
- .col-md-7 {
3805
- width: 58.33333333%
3806
- }
3807
-
3808
- .col-md-6 {
3809
- width: 50%
3810
- }
3811
-
3812
- .col-md-5 {
3813
- width: 41.66666667%
3814
- }
3815
-
3816
- .col-md-4 {
3817
- width: 33.33333333%
3818
- }
3819
-
3820
- .col-md-3 {
3821
- width: 25%
3822
- }
3823
-
3824
- .col-md-2 {
3825
- width: 16.66666667%
3826
- }
3827
-
3828
- .col-md-1 {
3829
- width: 8.33333333%
3830
- }
3831
-
3832
- .col-md-pull-12 {
3833
- right: 100%
3834
- }
3835
-
3836
- .col-md-pull-11 {
3837
- right: 91.66666667%
3838
- }
3839
-
3840
- .col-md-pull-10 {
3841
- right: 83.33333333%
3842
- }
3843
-
3844
- .col-md-pull-9 {
3845
- right: 75%
3846
- }
3847
-
3848
- .col-md-pull-8 {
3849
- right: 66.66666667%
3850
- }
3851
-
3852
- .col-md-pull-7 {
3853
- right: 58.33333333%
3854
- }
3855
-
3856
- .col-md-pull-6 {
3857
- right: 50%
3858
- }
3859
-
3860
- .col-md-pull-5 {
3861
- right: 41.66666667%
3862
- }
3863
-
3864
- .col-md-pull-4 {
3865
- right: 33.33333333%
3866
- }
3867
-
3868
- .col-md-pull-3 {
3869
- right: 25%
3870
- }
3871
-
3872
- .col-md-pull-2 {
3873
- right: 16.66666667%
3874
- }
3875
-
3876
- .col-md-pull-1 {
3877
- right: 8.33333333%
3878
- }
3879
-
3880
- .col-md-pull-0 {
3881
- right: auto
3882
- }
3883
-
3884
- .col-md-push-12 {
3885
- left: 100%
3886
- }
3887
-
3888
- .col-md-push-11 {
3889
- left: 91.66666667%
3890
- }
3891
-
3892
- .col-md-push-10 {
3893
- left: 83.33333333%
3894
- }
3895
-
3896
- .col-md-push-9 {
3897
- left: 75%
3898
- }
3899
-
3900
- .col-md-push-8 {
3901
- left: 66.66666667%
3902
- }
3903
-
3904
- .col-md-push-7 {
3905
- left: 58.33333333%
3906
- }
3907
-
3908
- .col-md-push-6 {
3909
- left: 50%
3910
- }
3911
-
3912
- .col-md-push-5 {
3913
- left: 41.66666667%
3914
- }
3915
-
3916
- .col-md-push-4 {
3917
- left: 33.33333333%
3918
- }
3919
-
3920
- .col-md-push-3 {
3921
- left: 25%
3922
- }
3923
-
3924
- .col-md-push-2 {
3925
- left: 16.66666667%
3926
- }
3927
-
3928
- .col-md-push-1 {
3929
- left: 8.33333333%
3930
- }
3931
-
3932
- .col-md-push-0 {
3933
- left: auto
3934
- }
3935
-
3936
- .col-md-offset-12 {
3937
- margin-left: 100%
3938
- }
3939
-
3940
- .col-md-offset-11 {
3941
- margin-left: 91.66666667%
3942
- }
3943
-
3944
- .col-md-offset-10 {
3945
- margin-left: 83.33333333%
3946
- }
3947
-
3948
- .col-md-offset-9 {
3949
- margin-left: 75%
3950
- }
3951
-
3952
- .col-md-offset-8 {
3953
- margin-left: 66.66666667%
3954
- }
3955
-
3956
- .col-md-offset-7 {
3957
- margin-left: 58.33333333%
3958
- }
3959
-
3960
- .col-md-offset-6 {
3961
- margin-left: 50%
3962
- }
3963
-
3964
- .col-md-offset-5 {
3965
- margin-left: 41.66666667%
3966
- }
3967
-
3968
- .col-md-offset-4 {
3969
- margin-left: 33.33333333%
3970
- }
3971
-
3972
- .col-md-offset-3 {
3973
- margin-left: 25%
3974
- }
3975
-
3976
- .col-md-offset-2 {
3977
- margin-left: 16.66666667%
3978
- }
3979
-
3980
- .col-md-offset-1 {
3981
- margin-left: 8.33333333%
3982
- }
3983
-
3984
- .col-md-offset-0 {
3985
- margin-left: 0
3986
- }
3987
- }
3988
- @media (min-width:768px) {
3989
-
3990
- .col-sm-1,
3991
- .col-sm-10,
3992
- .col-sm-11,
3993
- .col-sm-12,
3994
- .col-sm-2,
3995
- .col-sm-3,
3996
- .col-sm-4,
3997
- .col-sm-5,
3998
- .col-sm-6,
3999
- .col-sm-7,
4000
- .col-sm-8,
4001
- .col-sm-9 {
4002
- float: left
4003
- }
4004
-
4005
- .col-sm-12 {
4006
- width: 100%
4007
- }
4008
-
4009
- .col-sm-11 {
4010
- width: 91.66666667%
4011
- }
4012
-
4013
- .col-sm-10 {
4014
- width: 83.33333333%
4015
- }
4016
-
4017
- .col-sm-9 {
4018
- width: 75%
4019
- }
4020
-
4021
- .col-sm-8 {
4022
- width: 66.66666667%
4023
- }
4024
-
4025
- .col-sm-7 {
4026
- width: 58.33333333%
4027
- }
4028
-
4029
- .col-sm-6 {
4030
- width: 50%
4031
- }
4032
-
4033
- .col-sm-5 {
4034
- width: 41.66666667%
4035
- }
4036
-
4037
- .col-sm-4 {
4038
- width: 33.33333333%
4039
- }
4040
-
4041
- .col-sm-3 {
4042
- width: 25%
4043
- }
4044
-
4045
- .col-sm-2 {
4046
- width: 16.66666667%
4047
- }
4048
-
4049
- .col-sm-1 {
4050
- width: 8.33333333%
4051
- }
4052
-
4053
- .col-sm-pull-12 {
4054
- right: 100%
4055
- }
4056
-
4057
- .col-sm-pull-11 {
4058
- right: 91.66666667%
4059
- }
4060
-
4061
- .col-sm-pull-10 {
4062
- right: 83.33333333%
4063
- }
4064
-
4065
- .col-sm-pull-9 {
4066
- right: 75%
4067
- }
4068
-
4069
- .col-sm-pull-8 {
4070
- right: 66.66666667%
4071
- }
4072
-
4073
- .col-sm-pull-7 {
4074
- right: 58.33333333%
4075
- }
4076
-
4077
- .col-sm-pull-6 {
4078
- right: 50%
4079
- }
4080
-
4081
- .col-sm-pull-5 {
4082
- right: 41.66666667%
4083
- }
4084
-
4085
- .col-sm-pull-4 {
4086
- right: 33.33333333%
4087
- }
4088
-
4089
- .col-sm-pull-3 {
4090
- right: 25%
4091
- }
4092
-
4093
- .col-sm-pull-2 {
4094
- right: 16.66666667%
4095
- }
4096
-
4097
- .col-sm-pull-1 {
4098
- right: 8.33333333%
4099
- }
4100
-
4101
- .col-sm-pull-0 {
4102
- right: auto
4103
- }
4104
-
4105
- .col-sm-push-12 {
4106
- left: 100%
4107
- }
4108
-
4109
- .col-sm-push-11 {
4110
- left: 91.66666667%
4111
- }
4112
-
4113
- .col-sm-push-10 {
4114
- left: 83.33333333%
4115
- }
4116
-
4117
- .col-sm-push-9 {
4118
- left: 75%
4119
- }
4120
-
4121
- .col-sm-push-8 {
4122
- left: 66.66666667%
4123
- }
4124
-
4125
- .col-sm-push-7 {
4126
- left: 58.33333333%
4127
- }
4128
-
4129
- .col-sm-push-6 {
4130
- left: 50%
4131
- }
4132
-
4133
- .col-sm-push-5 {
4134
- left: 41.66666667%
4135
- }
4136
-
4137
- .col-sm-push-4 {
4138
- left: 33.33333333%
4139
- }
4140
-
4141
- .col-sm-push-3 {
4142
- left: 25%
4143
- }
4144
-
4145
- .col-sm-push-2 {
4146
- left: 16.66666667%
4147
- }
4148
-
4149
- .col-sm-push-1 {
4150
- left: 8.33333333%
4151
- }
4152
-
4153
- .col-sm-push-0 {
4154
- left: auto
4155
- }
4156
-
4157
- .col-sm-offset-12 {
4158
- margin-left: 100%
4159
- }
4160
-
4161
- .col-sm-offset-11 {
4162
- margin-left: 91.66666667%
4163
- }
4164
-
4165
- .col-sm-offset-10 {
4166
- margin-left: 83.33333333%
4167
- }
4168
-
4169
- .col-sm-offset-9 {
4170
- margin-left: 75%
4171
- }
4172
-
4173
- .col-sm-offset-8 {
4174
- margin-left: 66.66666667%
4175
- }
4176
-
4177
- .col-sm-offset-7 {
4178
- margin-left: 58.33333333%
4179
- }
4180
-
4181
- .col-sm-offset-6 {
4182
- margin-left: 50%
4183
- }
4184
-
4185
- .col-sm-offset-5 {
4186
- margin-left: 41.66666667%
4187
- }
4188
-
4189
- .col-sm-offset-4 {
4190
- margin-left: 33.33333333%
4191
- }
4192
-
4193
- .col-sm-offset-3 {
4194
- margin-left: 25%
4195
- }
4196
-
4197
- .col-sm-offset-2 {
4198
- margin-left: 16.66666667%
4199
- }
4200
-
4201
- .col-sm-offset-1 {
4202
- margin-left: 8.33333333%
4203
- }
4204
-
4205
- .col-sm-offset-0 {
4206
- margin-left: 0
4207
- }
4208
- }
4209
- @media (min-width:1200px) {
4210
-
4211
- .col-lg-1,
4212
- .col-lg-10,
4213
- .col-lg-11,
4214
- .col-lg-12,
4215
- .col-lg-2,
4216
- .col-lg-3,
4217
- .col-lg-4,
4218
- .col-lg-5,
4219
- .col-lg-6,
4220
- .col-lg-7,
4221
- .col-lg-8,
4222
- .col-lg-9 {
4223
- float: left
4224
- }
4225
-
4226
- .col-lg-12 {
4227
- width: 100%
4228
- }
4229
-
4230
- .col-lg-11 {
4231
- width: 91.66666667%
4232
- }
4233
-
4234
- .col-lg-10 {
4235
- width: 83.33333333%
4236
- }
4237
-
4238
- .col-lg-9 {
4239
- width: 75%
4240
- }
4241
-
4242
- .col-lg-8 {
4243
- width: 66.66666667%
4244
- }
4245
-
4246
- .col-lg-7 {
4247
- width: 58.33333333%
4248
- }
4249
-
4250
- .col-lg-6 {
4251
- width: 50%
4252
- }
4253
-
4254
- .col-lg-5 {
4255
- width: 41.66666667%
4256
- }
4257
-
4258
- .col-lg-4 {
4259
- width: 33.33333333%
4260
- }
4261
-
4262
- .col-lg-3 {
4263
- width: 25%
4264
- }
4265
-
4266
- .col-lg-2 {
4267
- width: 16.66666667%
4268
- }
4269
-
4270
- .col-lg-1 {
4271
- width: 8.33333333%
4272
- }
4273
-
4274
- .col-lg-pull-12 {
4275
- right: 100%
4276
- }
4277
-
4278
- .col-lg-pull-11 {
4279
- right: 91.66666667%
4280
- }
4281
-
4282
- .col-lg-pull-10 {
4283
- right: 83.33333333%
4284
- }
4285
-
4286
- .col-lg-pull-9 {
4287
- right: 75%
4288
- }
4289
-
4290
- .col-lg-pull-8 {
4291
- right: 66.66666667%
4292
- }
4293
-
4294
- .col-lg-pull-7 {
4295
- right: 58.33333333%
4296
- }
4297
-
4298
- .col-lg-pull-6 {
4299
- right: 50%
4300
- }
4301
-
4302
- .col-lg-pull-5 {
4303
- right: 41.66666667%
4304
- }
4305
-
4306
- .col-lg-pull-4 {
4307
- right: 33.33333333%
4308
- }
4309
-
4310
- .col-lg-pull-3 {
4311
- right: 25%
4312
- }
4313
-
4314
- .col-lg-pull-2 {
4315
- right: 16.66666667%
4316
- }
4317
-
4318
- .col-lg-pull-1 {
4319
- right: 8.33333333%
4320
- }
4321
-
4322
- .col-lg-pull-0 {
4323
- right: auto
4324
- }
4325
-
4326
- .col-lg-push-12 {
4327
- left: 100%
4328
- }
4329
-
4330
- .col-lg-push-11 {
4331
- left: 91.66666667%
4332
- }
4333
-
4334
- .col-lg-push-10 {
4335
- left: 83.33333333%
4336
- }
4337
-
4338
- .col-lg-push-9 {
4339
- left: 75%
4340
- }
4341
-
4342
- .col-lg-push-8 {
4343
- left: 66.66666667%
4344
- }
4345
-
4346
- .col-lg-push-7 {
4347
- left: 58.33333333%
4348
- }
4349
-
4350
- .col-lg-push-6 {
4351
- left: 50%
4352
- }
4353
-
4354
- .col-lg-push-5 {
4355
- left: 41.66666667%
4356
- }
4357
-
4358
- .col-lg-push-4 {
4359
- left: 33.33333333%
4360
- }
4361
-
4362
- .col-lg-push-3 {
4363
- left: 25%
4364
- }
4365
-
4366
- .col-lg-push-2 {
4367
- left: 16.66666667%
4368
- }
4369
-
4370
- .col-lg-push-1 {
4371
- left: 8.33333333%
4372
- }
4373
-
4374
- .col-lg-push-0 {
4375
- left: auto
4376
- }
4377
-
4378
- .col-lg-offset-12 {
4379
- margin-left: 100%
4380
- }
4381
-
4382
- .col-lg-offset-11 {
4383
- margin-left: 91.66666667%
4384
- }
4385
-
4386
- .col-lg-offset-10 {
4387
- margin-left: 83.33333333%
4388
- }
4389
-
4390
- .col-lg-offset-9 {
4391
- margin-left: 75%
4392
- }
4393
-
4394
- .col-lg-offset-8 {
4395
- margin-left: 66.66666667%
4396
- }
4397
-
4398
- .col-lg-offset-7 {
4399
- margin-left: 58.33333333%
4400
- }
4401
-
4402
- .col-lg-offset-6 {
4403
- margin-left: 50%
4404
- }
4405
-
4406
- .col-lg-offset-5 {
4407
- margin-left: 41.66666667%
4408
- }
4409
-
4410
- .col-lg-offset-4 {
4411
- margin-left: 33.33333333%
4412
- }
4413
-
4414
- .col-lg-offset-3 {
4415
- margin-left: 25%
4416
- }
4417
-
4418
- .col-lg-offset-2 {
4419
- margin-left: 16.66666667%
4420
- }
4421
-
4422
- .col-lg-offset-1 {
4423
- margin-left: 8.33333333%
4424
- }
4425
-
4426
- .col-lg-offset-0 {
4427
- margin-left: 0
4428
- }
4429
- }
4430
- #sfsi_jivo_offline_chat {
4431
- position: fixed;
4432
- bottom: 0;
4433
- right: 30px;
4434
- height: 350px;
4435
- min-width: 45%;
4436
- background: #fff;
4437
- border-top-left-radius: 30px;
4438
- border-top-right-radius: 30px;
4439
- padding: 10px;
4440
- border: 3px solid #ddd;
4441
- border-bottom: 0;
4442
- }
4443
- #sfsi_jivo_offline_chat .heading-text {
4444
- font-size: 16px;
4445
- font-weight: 500;
4446
- color: #999;
4447
- }
4448
- #sfsi_jivo_offline_chat .heading-text a {
4449
- font-size: 16px;
4450
- font-weight: 900;
4451
- color: #999;
4452
- }
4453
- #sfsi_jivo_offline_chat .tab-changer {
4454
- /*width:100%;*/
4455
- padding: 0 15px;
4456
-
4457
- }
4458
- #sfsi_jivo_offline_chat .tab-changer .tab-link {
4459
- float: left;
4460
- width: 50%;
4461
- text-align: center;
4462
- background: #eee;
4463
- border-bottom: 5px solid #24497B;
4464
- }
4465
- #sfsi_jivo_offline_chat .tab-changer .tab-link:first-child {
4466
- border-top-left-radius: 8px;
4467
- }
4468
- #sfsi_jivo_offline_chat .tab-changer .tab-link:last-child {
4469
- border-top-right-radius: 8px;
4470
- }
4471
- #sfsi_jivo_offline_chat .tab-changer .tab-link p {
4472
- background: #eee;
4473
- padding: 5px 0;
4474
- margin: 0;
4475
- border-top-left-radius: 10px;
4476
- border-top-right-radius: 10px;
4477
- font-size: 25px;
4478
- cursor: pointer;
4479
- line-height: 1;
4480
- }
4481
- #sfsi_jivo_offline_chat .tab-changer .tab-link p span {
4482
- font-size: 15px;
4483
- }
4484
- #sfsi_jivo_offline_chat .tab-changer .tab-link.active p {
4485
- background: #24497B;
4486
- color: #fff;
4487
- }
4488
- #sfsi_jivo_offline_chat .tabs {
4489
- /*background: #dbeef4;*/
4490
- background: #ddd;
4491
- margin: -6px 15px 0 15px;
4492
- min-height: 250px;
4493
- }
4494
- #sfsi_jivo_offline_chat #sfsi_technical {
4495
- padding: 50px;
4496
- }
4497
- #sfsi_jivo_offline_chat .tabs .support-forum-green-div {
4498
- margin: 10px 0;
4499
- }
4500
- #sfsi_jivo_offline_chat .tabs .support-forum-green-div a {
4501
- padding: 20px 26px 18px 25px;
4502
- width: 245px;
4503
- margin: 0;
4504
- }
4505
- #sfsi_jivo_offline_chat .tabs .support-forum-green-div a img {
4506
- margin-top: 11px;
4507
- }
4508
- #sfsi_jivo_offline_chat .tabs #sfsi_technical p {
4509
- font-size: 20px;
4510
- padding-top: 5px;
4511
- margin: 0;
4512
- margin-top: 20px;
4513
- }
4514
- #sfsi_jivo_offline_chat .tabs #sfsi_sales {
4515
- padding: 15px;
4516
- }
4517
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .right-message {
4518
- width: 50%;
4519
- float: right;
4520
- text-align: right;
4521
- margin: 0;
4522
- }
4523
- #sfsi_jivo_offline_chat .tabs #sfsi_sales form>div {
4524
- margin-top: 5px;
4525
- }
4526
- #sfsi_jivo_offline_chat .tabs #sfsi_sales label {
4527
- font-size: 20px;
4528
- color: #000;
4529
- font-weight: 900;
4530
- padding-bottom: 5px;
4531
- }
4532
-
4533
- #sfsi_jivo_offline_chat .tabs #sfsi_sales input,
4534
- #sfsi_jivo_offline_chat .tabs #sfsi_sales textarea {
4535
- margin-top: 5px;
4536
- width: 100%;
4537
- border: 0;
4538
- box-shadow: 0 0 5px 0 #888;
4539
- }
4540
- #sfsi_jivo_offline_chat .tabs #sfsi_sales input {
4541
- height: 40px;
4542
- }
4543
- #sfsi_jivo_offline_chat .tabs #sfsi_sales textarea {
4544
- height: 80px;
4545
- resize: none;
4546
- }
4547
- #sfsi_jivo_offline_chat .tabs #sfsi_sales input[type="submit"],
4548
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
4549
- border: 0;
4550
- background: #079345;
4551
- color: #fff;
4552
- margin-top: 23px;
4553
- width: 100%;
4554
- font-size: 16px;
4555
- border-radius: 4px;
4556
- cursor: pointer;
4557
- box-shadow: none;
4558
- }
4559
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent {
4560
- text-align: center;
4561
- }
4562
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h2 {
4563
- font-size: 35px;
4564
- }
4565
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h3 {
4566
- font-size: 25px;
4567
- font-weight: 300;
4568
- }
4569
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
4570
- width: auto;
4571
- margin-top: 0;
4572
- padding: 10px;
4573
- }
4574
- #sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side {
4575
- font-size: 13px !important;
4576
- font-weight: 900;
4577
- /*float: right;*/
4578
- /*text-align: right;*/
4579
- margin-top: -40px !important;
4580
- margin-left: 320px !important;
4581
- }
4582
- #sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side .sfsi-button-right-side-icon {
4583
- background-image: url('images/select-arrow.png');
4584
- width: 15px;
4585
- height: 9px;
4586
- display: inline-block;
4587
- -webkit-transform: rotate(90deg);
4588
- -moz-transform: rotate(90deg);
4589
- -ms-transform: rotate(90deg);
4590
- -o-transform: rotate(90deg);
4591
- transform: rotate(90deg);
4592
- }
4593
- @media (max-width: 543px) {
4594
- #sfsi_jivo_offline_chat {
4595
- width: 400px;
4596
- }
4597
- }
4598
-
4599
- #sfsi_jivo_offline_chat {
4600
- border: 3px solid #ececec;
4601
- }
4602
-
4603
- #sfsi_jivo_offline_chat {
4604
- padding-bottom: 30px;
4605
- }
4606
-
4607
- #sfsi_jivo_offline_chat .heading-text {
4608
- font-size: 14px;
4609
- }
4610
-
4611
- #sfsi_jivo_offline_chat .tabs {
4612
- background-color: #ededed;
4613
- }#sfsi_jivo_offline_chat .tab-changer li p {
4614
- padding: 8px !important;
4615
- }
4616
-
4617
- #sfsi_jivo_offline_chat .tab-changer .tab-link p {
4618
- font-size: 21px !important;
4619
- font-weight: 500;
4620
- color: #000000;
4621
- }#sfsi_jivo_offline_chat .tab-changer .tab-link p span {
4622
- font-size: 14px !important;
4623
- font-weight: 400;
4624
- color: #000000;
4625
- }
4626
-
4627
- #sfsi_jivo_offline_chat .tab-changer .active p span {
4628
- color: #ffffff;
4629
- }
4630
-
4631
- #sfsi_jivo_offline_chat .tabs #sfsi_sales {
4632
- padding: 30px 30px 40px 30px;
4633
- background: #ededed;
4634
- }#sfsi_jivo_offline_chat .tabs #sfsi_sales .label {
4635
- margin-bottom: 8px;
4636
- font-size: 17px;
4637
- font-weight: 500;
4638
- color: #000000;
4639
- }#sfsi_jivo_offline_chat .tabs #sfsi_sales .email {
4640
- margin-top: 15px;
4641
- }
4642
-
4643
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .right-message {
4644
- font-size: 14px;
4645
- color: #000000;
4646
- }
4647
-
4648
- #sfsi_jivo_offline_chat .tabs #sfsi_sales textarea {
4649
- padding: 10px !important;
4650
- font-size: 14px;
4651
- font-weight: 500;
4652
- margin-top: 0 !important;
4653
- }
4654
-
4655
- #sfsi_jivo_offline_chat .tabs #sfsi_sales input {
4656
- padding: 10px;
4657
- font-size: 14px;
4658
- font-weight: 500;
4659
- margin-top: 0 !important;
4660
- }
4661
-
4662
- #sfsi_jivo_offline_chat .tabs #sfsi_sales input[type="submit"],
4663
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
4664
- background: #52b250;
4665
- }#sfsi_jivo_offline_chat #sfsi_technical {
4666
- padding: 57px;
4667
- background-color: #ededed
4668
- }
4669
-
4670
- #sfsi_technical h5 {
4671
- font-size: 18px;
4672
- color: #000000;
4673
- margin: 10px;
4674
- }
4675
-
4676
- #sfsi_technical h5 b {
4677
- font-weight: 700;
4678
- }
4679
-
4680
- #sfsi_technical h5 b {
4681
- font-weight: 700;
4682
- }
4683
-
4684
- #sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side {
4685
- font-size: 12px !important;
4686
- font-weight: 700;
4687
- margin-top: 0px !important;
4688
- margin-left: 0px !important;
4689
- color: #000000;
4690
- position: absolute;
4691
- padding: 12px;
4692
- }
4693
-
4694
- #sfsi_jivo_offline_chat .tabs .support-forum-green-div {
4695
- text-align: center;
4696
- margin: 20px 0 25px 0;
4697
- }
4698
-
4699
- #sfsi_jivo_offline_chat .tabs .support-forum-green-div a {
4700
- padding: 12px 25px;
4701
- background: #52b250;
4702
- }
4703
-
4704
- #sfsi_jivo_offline_chat #sfsi_technical .support-forum-green-div .support-forum-green-bg p {
4705
- padding: 0;
4706
- margin: 0;
4707
- font-size: 18px;
4708
- font-weight: 500;
4709
- }
4710
-
4711
- #sfsi_jivo_offline_chat #sfsi_technical .support-forum-green-div .support-forum-green-bg img {
4712
- height: 28px;
4713
- position: relative;
4714
- top: 9px;
4715
- padding-right: 5px;
4716
- margin-top: 0px;
4717
- }
4718
-
4719
- #sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side .sfsi-button-right-side-icon {
4720
- padding-right: -1px;
4721
- }
4722
-
4723
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h3 {
4724
- font-size: 20px;
4725
- font-weight: 500;
4726
- }
4727
-
4728
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h2 {
4729
- font-size: 35px;
4730
- font-weight: 700;
4731
- margin: 25px 0;
4732
- }
4733
-
4734
- #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
4735
- width: auto;
4736
- margin-top: 6px;
4737
- padding: 8px 30px;
4738
- font-size: 16px;
4739
- background: #52b250;
4740
- }
4741
- @media (max-width: 543px) {
4742
- #sfsi_jivo_offline_chat {
4743
- width: 400px;
4744
- }
4745
- }
4746
- .sfsi_unbold_link {
4747
- font-family: inherit !important;
4748
- }
4749
- .sfsi_quickpay-overlay a {
4750
- display: inline;
4751
- font-size: inherit;
4752
- text-decoration: underline;
4753
- font-weight: 900;
4754
- color: #666;
4755
- }
4756
- .sfsi_row {
4757
- width: 100%;
4758
- }
4759
- .sfsi_col_6 {
4760
- width: 49%;
4761
- display: inline-block;
4762
- }
4763
- .sfsi_text_center {
4764
- text-align: center;
4765
- }
4766
- .sfsi_col_6>div {
4767
- padding: 18px 30px !important;
4768
- margin: 20px 0 0 0;
4769
- border: 1px solid #999;
4770
- display: inline-block;
4771
- float: none;
4772
- /* height: 42px;
4773
- width: 150px;*/
4774
- }
4775
- .sfsi_col_6>div:hover {
4776
- background-image: radial-gradient(circle, #fff, #eee);
4777
- }.sfsi_quickpay-overlay .sfsi_pop_up .sellcodes-quick-purchase img {
4778
- vertical-align: middle;
4779
- height: 40px;
4780
- }
4781
-
4782
- .sfsi_quickpay-overlay .sfsi_pop_up .sellcodes-quick-purchase p {
4783
- text-align: center;
4784
- }
4785
-
4786
- .pop-overlay.read-overlay.sfsi_quickpay-overlay * {
4787
- font-family: 'Josefin Sans', sans-serif;
4788
- }
4789
- .sfsi_quickpay-overlay a {
4790
- display: inline !important;
4791
- font-size: inherit !important;
4792
- text-decoration: underline !important;
4793
- font-weight: 900;
4794
- color: #666;
4795
- }
4796
-
4797
- .wp-admin select {
4798
- padding: 9px;
4799
- }
4800
-
4801
- .sfsi_mainContainer .no_check .checkbox {
4802
- display: none;
4803
- }
4804
-
4805
- .sfsi_new_prmium_follw p .sfsi-share-op {
4806
- color: #0c0b0b !important;
4807
- text-decoration: none !important;
4808
- border-bottom: none;
4809
- }
4810
- .sfsi_instagramInstruction ol>li {
4811
- list-style-type: decimal !important;
4812
- }
4813
- .sfsi_instagramInstruction>p {
4814
- list-style-type: decimal !important;
4815
- }
4816
- .sfsi_font_inherit {
4817
- font-family: inherit !important;
4818
- border: 0 !important;
4819
- }
4820
-
4821
- .pop-up {
4822
- font-weight: normal;
4823
- }
4824
- /* by developer 23-05-2019 */
4825
-
4826
- .sfsi_instagramFields .input_facebook {
4827
-
4828
- margin-left: 0 !important;
4829
-
4830
- }
4831
-
4832
- body .specify_counts .listing .sfsi_instagramInstruction li {
4833
- font-size: 17px !important;
4834
- font-family: helveticaregular !important;
4835
- font-weight: 400 !important;
4836
- color: #1a1d20 !important;
4837
- }
4838
-
4839
- /* end */
4840
-
4841
- /*start 4-6-19*/
4842
- .wp-admin .sfsi_tool_tip_2.sfsi_tool_tip_2_inr.twt_tool_bdr {
4843
- margin-bottom: -12px !important;
4844
- }
4845
-
4846
- .wp-admin .sfsi_tool_tip_2.sfsi_tool_tip_2_inr.printst_tool_bdr {
4847
- margin-bottom: 2px;
4848
- }
4849
-
4850
- .wp-admin .pop-overlay .sfsi_tool_tip_2.sfsi_tool_tip_2_inr.printst_tool_bdr {
4851
- margin-bottom: 2px;
4852
- }
4853
-
4854
- .wp-admin .sfsi_tool_tip_2.sfsi_tool_tip_2_inr.linkedin_tool_bdr {
4855
- margin-bottom: -12px;
4856
- }
4857
-
4858
- /*end 4-6-19*/
4859
-
4860
- .sfsi_border_left_0 {
4861
- border-left: 0 !important;
4862
- }
4863
-
4864
- .tab8 .sfsi_inputSec input {
4865
- width: 140px !important;
4866
- padding: 13px;
4867
- }
4868
-
4869
- .tab8 .sfsi_inputSec span {
4870
- width: auto;
4871
- }
4872
-
4873
- .tab8 .sfsi_inputSec span {
4874
- display: inline-block;
4875
- font-size: 18px;
4876
- vertical-align: middle;
4877
- width: 200px;
4878
- color: #5A6570;
4879
- }
4880
-
4881
- .sfsi_responsive_icon_item_container {
4882
- height: 40px;
4883
- vertical-align: middle;
4884
- margin-top: auto;
4885
- margin-bottom: auto;
4886
- }
4887
-
4888
- .sfsi_responsive_icon_item_container img {
4889
- padding: 7px;
4890
- vertical-align: middle !important;
4891
- box-shadow: unset !important;
4892
- -webkit-box-shadow: unset !important;
4893
- max-width: 40px !important;
4894
- max-height: 40px;
4895
- }
4896
-
4897
- .sfsi_responsive_icon_item_container span {
4898
- padding: 7px;
4899
- vertical-align: middle !important;
4900
- box-shadow: unset !important;
4901
- -webkit-box-shadow: unset !important;
4902
- line-height: 40px
4903
- }.sfsi_responsive_icon_facebook_container {
4904
- background-color: #336699;
4905
- }
4906
-
4907
- .sfsi_responsive_icon_follow_container {
4908
- background-color: #00B04E;
4909
- }
4910
-
4911
- .sfsi_responsive_icon_twitter_container {
4912
- background-color: #55ACEE;
4913
- }.sfsi_icons_container_box_fully_container {
4914
- flex-wrap: wrap;
4915
- }
4916
-
4917
- .sfsi_icons_container_box_fully_container a {
4918
- flex-basis: auto !important;
4919
- flex-grow: 1;
4920
- flex-shrink: 1;
4921
- }
4922
-
4923
- .sfsi_responsive_icons .sfsi_icons_container span {
4924
- font-family: sans-serif;
4925
- font-size: 15px;
4926
- }
4927
-
4928
- .sfsi_widget_title {
4929
- font-weight: 700;
4930
- line-height: 1.2;
4931
- font-size: 27px;
4932
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
4933
-
4934
- }
4935
-
4936
- .sfsi_responsive_default_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container,
4937
- .sfsi_responsive_custom_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container {
4938
- width: 236px;
4939
- text-align: center;
4940
- margin-right: 8px;
4941
- margin-top: -5px;
4942
- }
4943
-
4944
- .sfsi_responsive_default_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container img,
4945
- .sfsi_responsive_custom_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container img {
4946
- max-height: 25px !important;
4947
- max-width: 40px !important;
4948
- float: left;
4949
- height: 25px;
4950
- }
4951
-
4952
- .sfsi_responsive_default_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container span,
4953
- .sfsi_responsive_custom_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container span {
4954
- color: #ffffff;
4955
- font-size: 20px;
4956
- padding: 0 10px;
4957
- letter-spacing: 0.5px;
4958
- font-weight: 500;
4959
- }
4960
-
4961
- .tab6 .sfsi_responsive_default_icon_container,
4962
- .tab6 .sfsi_responsive_custom_icon_container {
4963
- width: 100% !important;
4964
- max-width: unset !important;
4965
- /* padding-left: 60px!important; */
4966
- }
4967
-
4968
- .tab6 .sfsi_responsive_default_icon_container input {
4969
- padding: 8px 11px;
4970
- height: 39px;
4971
- }
4972
-
4973
- .tab6 .heading-label {
4974
- font-size: 18px !important;
4975
- font-weight: 400;
4976
- }
4977
-
4978
- .sfsi_responsive_default_icon_container,
4979
- .sfsi_responsive_custom_icon_container {
4980
- padding: 2px 0 !important;
4981
- }
4982
-
4983
- .sfsi_responsive_default_icon_container .sfsi_responsive_default_url_toggler,
4984
- .sfsi_responsive_custom_icon_container .sfsi_responsive_default_url_toggler,
4985
- .sfsi_responsive_default_icon_container .sfsi_responsive_default_url_hide {
4986
- color: #337ab7 !important;
4987
- font-size: 18px !important;
4988
- letter-spacing: 1px;
4989
- font-weight: 500;
4990
- margin-left: 20px;
4991
- text-decoration: none !important
4992
- }
4993
-
4994
- .sfsi_responsive_fluid {
4995
- text-decoration: none !important;
4996
- }
4997
-
4998
- .sfsi_large_button_container {
4999
- width: calc(100% - 81px) !important;
5000
- }
5001
-
5002
- .sfsi_medium_button_container {
5003
- width: calc(100% - 70px) !important;
5004
- }
5005
-
5006
- .sfsi_small_button_container {
5007
- width: calc(100% - 100px) !important;
5008
- }
5009
-
5010
- /* .sfsi_responsive_custom_icon{line-height: 6px;} */
5011
- /* .sfsi_responsive_fixed_width .sfsi_responsive_custom_icon{line-height: 6px;} */
5012
- /*Override for front end - icon of right height*/
5013
- /* .sfsi_responsive_fluid .sfsi_large_button{padding: 13px !important;} */
5014
- /* .sfsi_responsive_fluid .sfsi_medium_button{padding: 10px !important;} */
5015
-
5016
- .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_large_button {
5017
- padding: 12px 13px 9px 13px !important;
5018
- }
5019
-
5020
- .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_large_button h3 {
5021
- margin: 0px 0px 15px 0px !important;
5022
- }
5023
-
5024
- .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_medium_button {
5025
- padding: 9px 10px 7px 10px !important;
5026
- }
5027
-
5028
- .sfsi_responsive_icons_count.sfsi_responsive_count_container.sfsi_large_button {
5029
- padding: 12px 13px 9px 13px !important;
5030
- }
5031
-
5032
- .sfsi_responsive_icons_count.sfsi_responsive_count_container.sfsi_large_button h3 {
5033
- margin: 0px 0px 15px 0px !important;
5034
- }
5035
-
5036
- .sfsi_responsive_icons_count.sfsi_responsive_count_container.sfsi_medium_button {
5037
- padding: 9px 10px 7px 10px !important;
5038
- }
5039
-
5040
- .sfsi_responsive_icon_preview .sfsi_icons_container a .sfsi_responsive_icon_item_container {
5041
- /* white-space: nowrap;
5042
- overflow: hidden;
5043
- text-overflow: ellipsis;*/
5044
- display: inline-block;
5045
- }
5046
-
5047
- .sfsi_right_info ul .sfsi_responsive_icon_option_li .options .field .sfsi_responsive_icons_icon_width input,
5048
- .sfsi_right_info ul .sfsi_responsive_icon_option_li .options .field input {
5049
- width: 75px !important;
5050
- background: #ffffff;
5051
- box-shadow: none;
5052
- border: 1px solid rgb(221, 221, 221);
5053
- border-radius: 0px;
5054
- }
5055
-
5056
- input[type="number"] {
5057
- height: 46px !important;
5058
- }
5059
-
5060
- .tab6 .sfsi_inputSec span {
5061
- display: inline-block;
5062
- font-size: 18px;
5063
- margin-left: 10px;
5064
- vertical-align: middle;
5065
- width: 200px;
5066
- color: #5A6570;
5067
- }
5068
-
5069
- .tab6 .sfsi_responsive_icon_item_container {
5070
- width: 300px;
5071
- /* padding: 5px 10px; */
5072
- display: inline-block;
5073
- box-sizing: border-box !important;
5074
- }
5075
-
5076
- .tab6 .options select.styled {
5077
- line-height: 46px;
5078
- }
5079
-
5080
- .tab6 .options select.styled {
5081
- height: 46px;
5082
- left: 0;
5083
- line-height: 46px;
5084
- position: absolute;
5085
- top: 0;
5086
- width: 213px;
5087
- }
5088
-
5089
- .tab6 .sfsi_responsive_icon_option_li span{
5090
- margin-left: 0!important;
5091
- }
5092
-
5093
- .tab6 ul.sfsi_icn_listing8 li .sfsi_right_info {
5094
- font-family: helveticaregular;
5095
- float: left;
5096
- }
5097
- .sfsi_margin_top_0{
5098
- margin-top: 0 !important;
5099
- }
5100
- .sfsi_responsive_icon_preview .sfsi_icons_container a{
5101
- text-decoration: none;
5102
- }
5103
- .sfsi_small_button {
5104
- line-height: 0px;
5105
- height: unset;
5106
- padding: 6px !important;
5107
- }
5108
- .sfsi_small_button span {
5109
- margin-left: 10px;
5110
- font-size: 16px;
5111
- padding: 0px;
5112
- line-height: 16px;
5113
- vertical-align: -webkit-baseline-middle !important;
5114
- margin-left: 10px;
5115
- }
5116
- .sfsi_small_button img {
5117
- max-height: 16px !important;
5118
- padding: 0px;
5119
- line-height: 0px;
5120
- vertical-align: -webkit-baseline-middle !important;
5121
- }
5122
- .sfsi_medium_button span {
5123
- margin-left: 10px;
5124
- font-size: 18px;
5125
- padding: 0px;
5126
- line-height: 16px;
5127
- vertical-align: -webkit-baseline-middle !important;
5128
- margin-left: 10px;
5129
- }
5130
- .sfsi_medium_button img {
5131
- max-height: 16px !important;
5132
- padding: 0px;
5133
- line-height: 0px;
5134
- vertical-align: -webkit-baseline-middle !important;
5135
- }
5136
- .sfsi_medium_button {
5137
- line-height: 0px;
5138
- height: unset;
5139
- padding: 10px !important;
5140
- }
5141
-
5142
- .sfsi_medium_button span {
5143
- margin-left: 10px;
5144
- font-size: 18px;
5145
- padding: 0px;
5146
- line-height: 16px;
5147
- vertical-align: -webkit-baseline-middle !important;
5148
- margin-left: 10px;
5149
- }
5150
- .sfsi_medium_button img {
5151
- max-height: 16px !important;
5152
- padding: 0px;
5153
- line-height: 0px;
5154
- vertical-align: -webkit-baseline-middle !important;
5155
- }
5156
- .sfsi_medium_button {
5157
- line-height: 0px;
5158
- height: unset;
5159
- padding: 10px !important;
5160
- }
5161
- .sfsi_large_button span {
5162
- font-size: 20px;
5163
- padding: 0px;
5164
- line-height: 16px;
5165
- vertical-align: -webkit-baseline-middle !important;
5166
- display: inline;
5167
- margin-left: 10px;
5168
- }
5169
- .sfsi_large_button img {
5170
- max-height: 16px !important;
5171
- padding: 0px;
5172
- line-height: 0px;
5173
- vertical-align: -webkit-baseline-middle !important;
5174
- display: inline;
5175
- }
5176
- .sfsi_large_button {
5177
- line-height: 0px;
5178
- height: unset;
5179
- padding: 13px !important;
5180
- }
5181
- .sfsi_responsive_icons_count{
5182
- padding: 5px 10px;
5183
- float: left !important;
5184
- display: inline-block;
5185
- margin-right: 0px;
5186
- margin-top: 2px;
5187
- }
5188
-
5189
- .sfsi_responsive_icons_count h3{
5190
- font-family: 'sans-serif' !important;
5191
- font-weight: 900;
5192
- font-size: 32px !important;
5193
- line-height: 0px !important;
5194
- padding: 0px;
5195
- margin: 0px;
5196
- }
5197
-
5198
- .sfsi_responsive_icons_count h6{
5199
- font-family: 'sans-serif' !important;
5200
- font-weight: 900;
5201
- padding: 0px;
5202
- margin: 0px;
5203
- }
5204
- .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6 {
5205
- text-decoration: none!important;
5206
- border: 0!important;
5207
- }
5208
- .sfsi_responsive_with_counter_icons{
5209
- width: calc(100% - 100px)!important;
5210
- }
5211
- .sfsiresponsive_icon_preview {
5212
- padding: 0px 0 20px 0;
5213
- min-width: 100%;
5214
- }
5215
- .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_large_button {
5216
- padding: 12px 13px 9px 13px !important;
5217
- }
5218
- .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_medium_button {
5219
- padding: 9px 10px 7px 10px !important;
5220
- }
5221
- .sfsi_responsive_icons_count.sfsi_small_button {
5222
- padding: 7px 6px !important;
5223
- }
5224
- .sfsi_responsive_icons_count.sfsi_small_button {
5225
- padding: 7px 6px !important;
5226
- margin-top: 2px;
5227
- }
5228
- .sfsi_responsive_icons_count.sfsi_small_button h6 {
5229
- display: inline-block;
5230
- font-size: 12px !important;
5231
- vertical-align: middle;
5232
- }
5233
- .sfsi_responsive_icons_count.sfsi_responsive_count_container.sfsi_medium_button {
5234
- padding: 9px 10px 7px 10px !important;
5235
- }
5236
- .sfsi_responsive_icons_count.sfsi_medium_button h3 {
5237
- font-size: 21px !important;
5238
- vertical-align: top;
5239
- line-height: 8px !important;
5240
- margin: 0px 0px 12px 0px !important;
5241
- font-family: 'sans-serif' !important;
5242
- font-weight: 900;
5243
- padding: 0px;
5244
- }
5245
- .sfsi_esponsive_icons_count.sfsi_responsive_count_container.sfsi_large_button h3 {
5246
- margin: 0px 0px 15px 0px !important;
5247
- }
5248
- .sfsi_responsive_icons_count.sfsi_large_button h3 {
5249
- font-size: 26px !important;
5250
- vertical-align: top;
5251
- line-height: 6px !important;
5252
- }
5253
-
5254
- .sfsi_responsive_icons_count h3 {
5255
- font-family: 'sans-serif' !important;
5256
- font-weight: 900;
5257
- padding: 0px;
5258
- }
5259
-
5260
- .sfsi_responsive_icons_count.sfsi_small_button h3 {
5261
- font-size: 20px !important;
5262
- display: inline-block;
5263
- vertical-align: middle;
5264
- }
5265
- .sfsi_responsive_icons_count.sfsi_small_button h3 {
5266
- margin: 0px !important;
5267
- }
5268
- .sfsi_responsive_icons_count h3 {
5269
- font-family: 'sans-serif' !important;
5270
- font-weight: 900;
5271
- line-height: 0px !important;
5272
- padding: 0px;
5273
- margin: 0px;
5274
- }
5275
- #accordion .ui-state-active, #accordion1 .ui-state-active, #accordion2 .ui-state-active{
5276
- background: #d22b30 url(../images/arrow.png) right -105px no-repeat !important;
5277
- color: #eee !important;
5278
- border: 0;
5279
- }
5280
-
5281
- #accordion .ui-state-hover, #accordion1 .ui-state-hover, #accordion2 .ui-state-hover {
5282
- background: #d22b30 url(../images/arrow.png) right -105px no-repeat !important;
5283
- color: #eee !important;
5284
- }
5285
-
5286
-
5287
- .sfsi_disable_radio .radio{
5288
- background-position: 0px 0px !important;
5289
- opacity: 0.3;
5290
- }
5291
- .sfsi_disable_radio .labelhdng4{
5292
- opacity: 0.3;
5293
- }
5294
- #ui-id-6 .tab6{
5295
- margin-left:10px!important;
5296
- }
5297
- #ui-id-6 .tab6 p.sfsi_border_left_0{
5298
- margin-left:0 !important;
5299
- padding-left:5px !important;
5300
- }
5301
- #ui-id-6 .tab6 .sfsi_toggleonlystndrshrng{
5302
- border-left:0!important;
5303
- }
5304
- #ui-id-6 .tab6 .sfsi_toggleonlystndrshrng p{
5305
- padding-left:0!important;
5306
  }
1
+ @charset "utf-8";
2
+ @font-face {
3
+ font-family: helveticabold;
4
+ src: url(fonts/helvetica_bold_0-webfont.eot);
5
+ src: url(fonts/helvetica_bold_0-webfont.eot?#iefix) format('embedded-opentype'), url(fonts/helvetica_bold_0-webfont.woff) format('woff'), url(fonts/helvetica_bold_0-webfont.ttf) format('truetype'), url(fonts/helvetica_bold_0-webfont.svg#helveticabold) format('svg');
6
+ font-weight: 400;
7
+ font-style: normal;
8
+ }
9
+ @font-face {
10
+ font-family: helveticaregular;
11
+ src: url(fonts/helvetica_0-webfont.eot);
12
+ src: url(fonts/helvetica_0-webfont.eot?#iefix) format('embedded-opentype'), url(fonts/helvetica_0-webfont.woff) format('woff'), url(fonts/helvetica_0-webfont.ttf) format('truetype'), url(fonts/helvetica_0-webfont.svg#helveticaregular) format('svg');
13
+ font-weight: 400;
14
+ font-style: normal;
15
+ }
16
+ @font-face {
17
+ font-family: helveticaneue-light;
18
+ src: url(fonts/helveticaneue-light.eot);
19
+ src: url(fonts/helveticaneue-light.eot?#iefix) format('embedded-opentype'),
20
+ url(fonts/helveticaneue-light.woff) format('woff'),
21
+ url(fonts/helveticaneue-light.ttf) format('truetype'),
22
+ url(fonts/helveticaneue-light.svg#helveticaneue-light) format('svg');
23
+ font-weight: 400;
24
+ font-style: normal;
25
+ }
26
+ body {
27
+ margin: 0;
28
+ padding: 0;
29
+ }
30
+ .sfsi_mainContainer {
31
+ font-family: helveticaregular;
32
+ }
33
+ .sfsi_mainContainer h1,
34
+ .sfsi_mainContainer h2,
35
+ .sfsi_mainContainer h3,
36
+ .sfsi_mainContainer h4,
37
+ .sfsi_mainContainer h5,
38
+ .sfsi_mainContainer h6,
39
+ .sfsi_mainContainer li,
40
+ .sfsi_mainContainer p,
41
+ .sfsi_mainContainer ul {
42
+ margin: 0;
43
+ padding: 0;
44
+ font-weight: 400;
45
+ }
46
+ .sfsi_mainContainer img {
47
+ border: 0;
48
+ vertical-align: middle;
49
+ }
50
+ .main_contant p,
51
+ .ui-accordion .ui-accordion-header {
52
+ /*font-family: helveticaregular;*/
53
+ font-family: 'helveticaneue-light';
54
+ }
55
+ .sfsi_mainContainer input,
56
+ .sfsi_mainContainer select {
57
+ outline: 0;
58
+ }
59
+ .wapper {
60
+ padding: 30px 40px 40px 40px;
61
+ display: block;
62
+ background: #f1f1f1;
63
+ }
64
+ .main_contant {
65
+ margin: 0;
66
+ padding: 20px 0 0 0;
67
+ width: 100%;
68
+ float: left;
69
+ }
70
+ .main_contant h1 {
71
+ padding: 0;
72
+ color: #1a1d20;
73
+ font-family: helveticabold;
74
+ font-size: 28px;
75
+ }
76
+ .main_contant p {
77
+ padding: 0;
78
+ color: #414951;
79
+ font-size: 17px;
80
+ line-height: 26px;
81
+ }
82
+ .main_contant p span {
83
+ text-decoration: underline;
84
+ font-family: helveticabold;
85
+ }
86
+ a#save_all_settings {
87
+ padding: 15px 10px;
88
+ }
89
+ #accordion p,
90
+ #accordion1 p {
91
+ color: #5a6570;
92
+ text-align: left;
93
+ /*font-family: helveticaregular;*/
94
+ font-family: 'helveticaneue-light';
95
+ font-size: 17px;
96
+ line-height: 26px;
97
+ padding-top: 19px;
98
+ }
99
+ #accordion p:first-child,
100
+ #accordion1 p:first-child {
101
+ padding-top: 5px;
102
+
103
+ /* padding-bottom: 10px;*/
104
+
105
+ padding-bottom: 5px;
106
+ }
107
+ #accordion h4,
108
+ #accordion1 h4 {
109
+ margin: 0;
110
+ padding: 30px 0 0;
111
+ color: #414951 !important;
112
+ font-size: 20px;
113
+ line-height: 22px;
114
+ font-family: helveticaregular;
115
+ }
116
+ #accordion1 h4.sfsi_dsplyatend {
117
+ width: 47%;
118
+ float: left;
119
+ }
120
+ #accordion h4:first-child,
121
+ #accordion1 h4:first-child {
122
+ padding-top: 0;
123
+ }
124
+ .tab1,
125
+ .tab2,
126
+ .tab3,
127
+ .tab4,
128
+ .tab5,
129
+ .tab6,
130
+ .tab7 {
131
+ color: #5a6570;
132
+ text-align: left;
133
+ font-family: helveticaneue-light;
134
+ font-size: 18px;
135
+ line-height: 26px;
136
+ }
137
+
138
+ /*Admin menu*/
139
+ ul#adminmenu li.toplevel_page_sfsi-options div.wp-menu-image {
140
+ display: none;
141
+ }
142
+ #adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
143
+ padding: 0 0 0 38px;
144
+ font-family: Arial, Helvetica, sans-serif !important;
145
+
146
+ /* font-family: helveticabold; */
147
+ }
148
+ ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options {
149
+ color: #e12522;
150
+ transition: 0s;
151
+ background: url(images/left_log_icn.png) 6px 15px no-repeat #000;
152
+ background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
153
+ color: #e12522;
154
+ font-family: Arial, Helvetica, sans-serif !important;
155
+
156
+ }
157
+ ul#adminmenu li.toplevel_page_sfsi-options a.toplevel_page_sfsi-options:hover {
158
+ background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;
159
+ color: #e12522;
160
+
161
+ }
162
+
163
+ ul#adminmenu li.toplevel_page_sfsi-options a.current,
164
+ ul#adminmenu li.toplevel_page_sfsi-options a.current:hover {
165
+ background: url(images/left_log_icn.png) 6px 15px no-repeat #000000;
166
+ /*background: url(images/left_log_icn.png) 6px -43px no-repeat #444444;*/
167
+ color: #e12522;
168
+ }
169
+ /*Tab1*/
170
+ .tab1 ul.icn_listing {
171
+ list-style: none;
172
+ overflow: hidden;
173
+ border-top: #e7e8eb solid 1px;
174
+ margin: 35px 0 0;
175
+ }
176
+ .tab1 ul.icn_listing li {
177
+ border-bottom: #eaebed solid 1px;
178
+ padding: 11px 0 11px 8px;
179
+ float: left;
180
+ width: 100%
181
+ }
182
+ ul.icn_listing li .tb_4_ck {
183
+ float: left;
184
+ margin: 10px 0 0;
185
+ }
186
+ .tab1 ul.icn_listing li .custom,
187
+ .tab1 ul.icn_listing li .sfsicls_email,
188
+ .tab1 ul.icn_listing li .sfsicls_facebook,
189
+ .tab1 ul.icn_listing li .sfsicls_instagram,
190
+ .tab1 ul.icn_listing li .sfsicls_telegram,
191
+ .tab1 ul.icn_listing li .sfsicls_vk,
192
+ .tab1 ul.icn_listing li .sfsicls_ok,
193
+ .tab1 ul.icn_listing li .sfsicls_wechat,
194
+ .tab1 ul.icn_listing li .sfsicls_weibo,
195
+ .sfsicls_linkdin,
196
+ .tab1 ul.icn_listing li .sfsicls_pinterest,
197
+ .tab1 ul.icn_listing li .sfsicls_rs_s,
198
+ .tab1 ul.icn_listing li .sfsicls_share,
199
+ .tab1 ul.icn_listing li .sfsicls_twt,
200
+ .tab1 ul.icn_listing li .sfsicls_utube {
201
+ background: url(../images/tab_1_icn_list.png) no-repeat;
202
+ float: left;
203
+ padding: 0 0 0 59px;
204
+ margin: 0 0 0 17px;
205
+ height: 52px;
206
+ line-height: 51px;
207
+ font-family: helveticaregular;
208
+ font-size: 22px;
209
+ }
210
+ .tab1 ul.icn_listing li .sfsicls_telegram {
211
+ background: url(../images/icons_theme/default/default_telegram.png) no-repeat;
212
+ background-size: contain;
213
+ }
214
+ .tab1 ul.icn_listing li .sfsicls_vk {
215
+ background: url(../images/icons_theme/default/default_vk.png) no-repeat;
216
+ background-size: contain;
217
+ }
218
+ .tab1 ul.icn_listing li .sfsicls_ok {
219
+ background: url(../images/icons_theme/default/default_ok.png) no-repeat;
220
+ background-size: contain;
221
+ }
222
+ .tab1 ul.icn_listing li .sfsicls_wechat {
223
+ background: url(../images/icons_theme/default/default_wechat.png) no-repeat;
224
+ background-size: contain;
225
+ }
226
+ .tab1 ul.icn_listing li .sfsicls_weibo {
227
+ background: url(../images/icons_theme/default/default_weibo.png) no-repeat;
228
+ background-size: contain;
229
+ }
230
+
231
+ .tab1 ul.icn_listing li .sfsicls_rs_s {
232
+ background-position: 0 0;
233
+ color: #f7941d;
234
+ }
235
+ .tab1 ul.icn_listing li .sfsicls_email {
236
+ background-position: 0 -73px;
237
+ color: #d1c800;
238
+ }
239
+ .tab1 ul.icn_listing li .sfsicls_facebook {
240
+ background-position: 0 -145px;
241
+ color: #004088;
242
+ }
243
+ .tab1 ul.icn_listing li .sfsicls_twt {
244
+ background-position: 0 -221px;
245
+ color: #00abe3;
246
+ }
247
+
248
+ .tab1 ul.icn_listing li .sfsicls_share {
249
+ background-position: 0 -372px;
250
+ color: #ef4746;
251
+ }
252
+ .tab1 ul.icn_listing li .sfsicls_utube {
253
+ background-position: 0 -448px;
254
+ color: #f07963;
255
+ }
256
+ .tab1 ul.icn_listing li .sfsicls_linkdin {
257
+ background-position: 0 -548px;
258
+ color: #1e88c9;
259
+ }
260
+ .tab1 ul.icn_listing li .sfsicls_pinterest {
261
+ background-position: 0 -623px;
262
+ color: #f15f5d;
263
+ }
264
+ .tab1 ul.icn_listing li .sfsicls_instagram {
265
+ background-position: 0 -781px;
266
+ color: #369;
267
+ }
268
+ .tab1 ul.icn_listing li .custom {
269
+ background-position: 0 -702px;
270
+ color: #5a6570;
271
+ }
272
+ .tab1 ul.icn_listing li .right_info {
273
+ width: 70%;
274
+ float: right;
275
+ font-family: helveticaregular;
276
+ margin-right: 13px;
277
+ }
278
+ ul.icn_listing li .right_info a {
279
+ text-decoration: underline;
280
+ color: #a4a9ad;
281
+ font-size: 16px;
282
+ }
283
+ .tab1 .tab_2_sav {
284
+ padding-top: 30px;
285
+ }
286
+ /*Tab2*/
287
+ .tab2 {
288
+ overflow: hidden;
289
+ }
290
+ .tab2 .rss_url_row {
291
+ width: 100%;
292
+ float: left;
293
+ margin: 0 0 10px;
294
+ }
295
+ .tab2 .rss_url_row h4 {
296
+ float: left;
297
+ line-height: 43px;
298
+ }
299
+ .tab2 .inr_cont input.add,
300
+ .tab2 .inr_cont textarea.add_txt,
301
+ .tab2 .rss_url_row input.add {
302
+ width: 363px;
303
+ float: left;
304
+ background: #e5e5e5;
305
+ box-shadow: 2px 2px 3px #dcdcdc inset;
306
+ border: 0;
307
+ padding: 12px 10px 11px;
308
+ margin-left: 10px;
309
+ }
310
+ .tab2 .rss_url_row a.rit_link {
311
+ float: left;
312
+ margin: 10px 0 0 16px;
313
+ font-size: 17px;
314
+ }
315
+ .tab2 .row {
316
+ float: left;
317
+ border-top: 2px solid #f2f3f4;
318
+ clear: both;
319
+ padding: 0 0 15px;
320
+ width: 100%
321
+ }
322
+ .tab2 .row .tab_2_email_sec {
323
+ list-style: none;
324
+ margin: 17px 0 0;
325
+ overflow: hidden;
326
+ }
327
+ .row ul.tab_2_email_sec li {
328
+ float: left;
329
+ margin-right: 10px;
330
+ width: 32%;
331
+ }
332
+ .row ul.tab_2_email_sec li label span {
333
+ font-size: 15px;
334
+ color: #808080;
335
+ width: 100%;
336
+ float: left;
337
+ }
338
+ .row ul.tab_2_email_sec:first-child {
339
+ margin-right: 2%
340
+ }
341
+ .tab2 .row h2.sfsicls_email,
342
+ .tab2 .row h2.sfsicls_facebook,
343
+ .tab2 .row h2.sfsicls_telegram,
344
+ .tab2 .row h2.sfsicls_vk,
345
+ .tab2 .row h2.sfsicls_ok,
346
+ .tab2 .row h2.sfsicls_wechat,
347
+ .tab2 .row h2.sfsicls_weibo,
348
+ .tab2 .row h2.sfsicls_instagram,
349
+ .tab2 .row h2.sfsicls_linkdin,
350
+ .tab2 .row h2.sfsicls_pinterest,
351
+ .tab2 .row h2.sfsicls_rs_s,
352
+ .tab2 .row h2.sfsicls_share,
353
+ .tab2 .row h2.sfsicls_twt,
354
+ .tab2 .row h2.sfsicls_utube {
355
+ background: url(../images/tab_1_icn_list.png) no-repeat;
356
+ padding: 0 0 0 70px;
357
+ margin: 15px 0 7px 21px;
358
+ height: 52px;
359
+ line-height: 51px;
360
+ font-family: helveticaregular;
361
+ font-size: 22px;
362
+ }
363
+ .tab2 .row h2.sfsicls_rs_s {
364
+ background-position: 0 0;
365
+ color: #f7941d;
366
+ }
367
+ .tab2 .row h2.sfsicls_telegram {
368
+ background: url(../images/icons_theme/default/default_telegram.png) no-repeat;
369
+ background-size: contain;
370
+ }
371
+ .tab2 .row h2.sfsicls_vk {
372
+ background: url(../images/icons_theme/default/default_vk.png) no-repeat;
373
+ background-size: contain;
374
+ }
375
+ .tab2 .row h2.sfsicls_ok {
376
+ background: url(../images/icons_theme/default/default_ok.png) no-repeat;
377
+ background-size: contain;
378
+ }
379
+ .tab2 .row h2.sfsicls_wechat {
380
+ background: url(../images/icons_theme/default/default_wechat.png) no-repeat;
381
+ background-size: contain;
382
+ }
383
+ .tab2 .row h2.sfsicls_weibo {
384
+ background: url(../images/icons_theme/default/default_weibo.png) no-repeat;
385
+ background-size: contain;
386
+ }
387
+ .tab2 .row h2.sfsicls_email {
388
+ background-position: 0 -71px;
389
+ color: #d1c800;
390
+ }
391
+ .tab2 .row h2.sfsicls_facebook {
392
+ background-position: 0 -145px;
393
+ color: #004088;
394
+ }
395
+ .tab2 .row h2.sfsicls_twt {
396
+ background-position: 0 -221px;
397
+ color: #00abe3;
398
+ }
399
+
400
+ .tab2 .row h2.sfsicls_share {
401
+ background-position: 0 -372px;
402
+ color: #ef4746;
403
+ }
404
+ .tab2 .row h2.sfsicls_utube {
405
+ background-position: 0 -448px;
406
+ color: #f07963;
407
+ }
408
+ .tab2 .row h2.sfsicls_linkdin {
409
+ background-position: 0 -548px;
410
+ color: #1e88c9;
411
+ width: 100%;
412
+ }
413
+ .tab2 .row h2.sfsicls_pinterest {
414
+ background-position: 0 -623px;
415
+ color: #f15f5d;
416
+ }
417
+ .tab2 .row h2.sfsicls_instagram {
418
+ background-position: 0 -781px;
419
+ color: #369;
420
+ }
421
+ .tab2 .inr_cont {
422
+ margin: 0 0 12px 94px;
423
+ }
424
+ ul.tab_2_email_sec .sf_arow {
425
+ width: 52px;
426
+ height: 52px;
427
+ float: left;
428
+ background: url(../images/sf_arow_icn.png) no-repeat;
429
+ margin: 0 8px 0 6px;
430
+ }
431
+ ul.tab_2_email_sec .email_icn {
432
+ background: url(../images/tab_1_icn_list.png) 0 -71px no-repeat;
433
+ width: 52px;
434
+ height: 52px;
435
+ float: left;
436
+ margin: 0 8px;
437
+ }
438
+ ul.tab_2_email_sec .subscribe_icn {
439
+ background: url(../images/tab_1_icn_list.png) 0 -860px no-repeat;
440
+ width: 52px;
441
+ height: 52px;
442
+ float: left;
443
+ margin: 0 0 0 5px;
444
+ }
445
+ ul.tab_2_email_sec li .radio {
446
+ float: left;
447
+ margin: 8px 0 0;
448
+ }
449
+ .row ul.tab_2_email_sec li label {
450
+ margin: 13px 0 0 7px;
451
+ font-size: 16px;
452
+ float: left;
453
+ width: 160px;
454
+ }
455
+ /*Tab 3*/
456
+ .icns_tab_3 .row_10_1,
457
+ .icns_tab_3 .row_10_10,
458
+ .icns_tab_3 .row_10_11,
459
+ .icns_tab_3 .row_10_2,
460
+ .icns_tab_3 .row_10_3,
461
+ .icns_tab_3 .row_10_4,
462
+ .icns_tab_3 .row_10_5,
463
+ .icns_tab_3 .row_10_6,
464
+ .icns_tab_3 .row_10_7,
465
+ .icns_tab_3 .row_10_8,
466
+ .icns_tab_3 .row_10_9,
467
+ .icns_tab_3 .row_11_1,
468
+ .icns_tab_3 .row_11_10,
469
+ .icns_tab_3 .row_11_11,
470
+ .icns_tab_3 .row_11_2,
471
+ .icns_tab_3 .row_11_3,
472
+ .icns_tab_3 .row_11_4,
473
+ .icns_tab_3 .row_11_5,
474
+ .icns_tab_3 .row_11_6,
475
+ .icns_tab_3 .row_11_7,
476
+ .icns_tab_3 .row_11_8,
477
+ .icns_tab_3 .row_11_9,
478
+ .icns_tab_3 .row_12_1,
479
+ .icns_tab_3 .row_12_10,
480
+ .icns_tab_3 .row_12_11,
481
+ .icns_tab_3 .row_12_2,
482
+ .icns_tab_3 .row_12_3,
483
+ .icns_tab_3 .row_12_4,
484
+ .icns_tab_3 .row_12_5,
485
+ .icns_tab_3 .row_12_6,
486
+ .icns_tab_3 .row_12_7,
487
+ .icns_tab_3 .row_12_8,
488
+ .icns_tab_3 .row_12_9,
489
+ .icns_tab_3 .row_13_1,
490
+ .icns_tab_3 .row_13_10,
491
+ .icns_tab_3 .row_13_11,
492
+ .icns_tab_3 .row_13_2,
493
+ .icns_tab_3 .row_13_3,
494
+ .icns_tab_3 .row_13_4,
495
+ .icns_tab_3 .row_13_5,
496
+ .icns_tab_3 .row_13_6,
497
+ .icns_tab_3 .row_13_7,
498
+ .icns_tab_3 .row_13_8,
499
+ .icns_tab_3 .row_13_9,
500
+ .icns_tab_3 .row_14_1,
501
+ .icns_tab_3 .row_14_10,
502
+ .icns_tab_3 .row_14_11,
503
+ .icns_tab_3 .row_14_2,
504
+ .icns_tab_3 .row_14_3,
505
+ .icns_tab_3 .row_14_4,
506
+ .icns_tab_3 .row_14_5,
507
+ .icns_tab_3 .row_14_6,
508
+ .icns_tab_3 .row_14_7,
509
+ .icns_tab_3 .row_14_8,
510
+ .icns_tab_3 .row_14_9,
511
+ .icns_tab_3 .row_15_1,
512
+ .icns_tab_3 .row_15_10,
513
+ .icns_tab_3 .row_15_11,
514
+ .icns_tab_3 .row_15_2,
515
+ .icns_tab_3 .row_15_3,
516
+ .icns_tab_3 .row_15_4,
517
+ .icns_tab_3 .row_15_5,
518
+ .icns_tab_3 .row_15_6,
519
+ .icns_tab_3 .row_15_7,
520
+ .icns_tab_3 .row_15_8,
521
+ .icns_tab_3 .row_15_9,
522
+ .icns_tab_3 .row_16_1,
523
+ .icns_tab_3 .row_16_10,
524
+ .icns_tab_3 .row_16_11,
525
+ .icns_tab_3 .row_16_2,
526
+ .icns_tab_3 .row_16_3,
527
+ .icns_tab_3 .row_16_4,
528
+ .icns_tab_3 .row_16_5,
529
+ .icns_tab_3 .row_16_6,
530
+ .icns_tab_3 .row_16_7,
531
+ .icns_tab_3 .row_16_8,
532
+ .icns_tab_3 .row_16_9,
533
+ .icns_tab_3 .row_1_1,
534
+ .icns_tab_3 .row_1_10,
535
+ .icns_tab_3 .row_1_11,
536
+ .icns_tab_3 .row_1_14,
537
+ .icns_tab_3 .row_1_2,
538
+ .icns_tab_3 .row_1_3,
539
+ .icns_tab_3 .row_1_4,
540
+ .icns_tab_3 .row_1_5,
541
+ .icns_tab_3 .row_1_6,
542
+ .icns_tab_3 .row_1_7,
543
+ .icns_tab_3 .row_1_8,
544
+ .icns_tab_3 .row_1_9,
545
+ .icns_tab_3 .row_2_1,
546
+ .icns_tab_3 .row_2_10,
547
+ .icns_tab_3 .row_2_11,
548
+ .icns_tab_3 .row_2_14,
549
+ .icns_tab_3 .row_2_2,
550
+ .icns_tab_3 .row_2_3,
551
+ .icns_tab_3 .row_2_4,
552
+ .icns_tab_3 .row_2_5,
553
+ .icns_tab_3 .row_2_6,
554
+ .icns_tab_3 .row_2_7,
555
+ .icns_tab_3 .row_2_8,
556
+ .icns_tab_3 .row_2_9,
557
+ .icns_tab_3 .row_3_1,
558
+ .icns_tab_3 .row_3_10,
559
+ .icns_tab_3 .row_3_11,
560
+ .icns_tab_3 .row_3_14,
561
+ .icns_tab_3 .row_3_2,
562
+ .icns_tab_3 .row_3_3,
563
+ .icns_tab_3 .row_3_4,
564
+ .icns_tab_3 .row_3_5,
565
+ .icns_tab_3 .row_3_6,
566
+ .icns_tab_3 .row_3_7,
567
+ .icns_tab_3 .row_3_8,
568
+ .icns_tab_3 .row_3_9,
569
+ .icns_tab_3 .row_4_1,
570
+ .icns_tab_3 .row_4_10,
571
+ .icns_tab_3 .row_4_11,
572
+ .icns_tab_3 .row_4_14,
573
+ .icns_tab_3 .row_4_2,
574
+ .icns_tab_3 .row_4_3,
575
+ .icns_tab_3 .row_4_4,
576
+ .icns_tab_3 .row_4_5,
577
+ .icns_tab_3 .row_4_6,
578
+ .icns_tab_3 .row_4_7,
579
+ .icns_tab_3 .row_4_8,
580
+ .icns_tab_3 .row_4_9,
581
+ .icns_tab_3 .row_5_1,
582
+ .icns_tab_3 .row_5_10,
583
+ .icns_tab_3 .row_5_11,
584
+ .icns_tab_3 .row_5_14,
585
+ .icns_tab_3 .row_5_2,
586
+ .icns_tab_3 .row_5_3,
587
+ .icns_tab_3 .row_5_4,
588
+ .icns_tab_3 .row_5_5,
589
+ .icns_tab_3 .row_5_6,
590
+ .icns_tab_3 .row_5_7,
591
+ .icns_tab_3 .row_5_8,
592
+ .icns_tab_3 .row_5_9,
593
+ .icns_tab_3 .row_6_1,
594
+ .icns_tab_3 .row_6_10,
595
+ .icns_tab_3 .row_6_11,
596
+ .icns_tab_3 .row_6_14,
597
+ .icns_tab_3 .row_6_2,
598
+ .icns_tab_3 .row_6_3,
599
+ .icns_tab_3 .row_6_4,
600
+ .icns_tab_3 .row_6_5,
601
+ .icns_tab_3 .row_6_6,
602
+ .icns_tab_3 .row_6_7,
603
+ .icns_tab_3 .row_6_8,
604
+ .icns_tab_3 .row_6_9,
605
+ .icns_tab_3 .row_7_1,
606
+ .icns_tab_3 .row_7_10,
607
+ .icns_tab_3 .row_7_11,
608
+ .icns_tab_3 .row_7_2,
609
+ .icns_tab_3 .row_7_3,
610
+ .icns_tab_3 .row_7_4,
611
+ .icns_tab_3 .row_7_5,
612
+ .icns_tab_3 .row_7_6,
613
+ .icns_tab_3 .row_7_7,
614
+ .icns_tab_3 .row_7_8,
615
+ .icns_tab_3 .row_7_9,
616
+ .icns_tab_3 .row_8_1,
617
+ .icns_tab_3 .row_8_10,
618
+ .icns_tab_3 .row_8_11,
619
+ .icns_tab_3 .row_8_2,
620
+ .icns_tab_3 .row_8_3,
621
+ .icns_tab_3 .row_8_4,
622
+ .icns_tab_3 .row_8_5,
623
+ .icns_tab_3 .row_8_6,
624
+ .icns_tab_3 .row_8_7,
625
+ .icns_tab_3 .row_8_8,
626
+ .icns_tab_3 .row_8_9,
627
+ .icns_tab_3 .row_9_1,
628
+ .icns_tab_3 .row_9_10,
629
+ .icns_tab_3 .row_9_11,
630
+ .icns_tab_3 .row_9_2,
631
+ .icns_tab_3 .row_9_3,
632
+ .icns_tab_3 .row_9_4,
633
+ .icns_tab_3 .row_9_5,
634
+ .icns_tab_3 .row_9_6,
635
+ .icns_tab_3 .row_9_7,
636
+ .icns_tab_3 .row_9_8,
637
+ .icns_tab_3 .row_9_9,
638
+ .icns_tab_3 .row_17_1,
639
+ .icns_tab_3 .row_17_2,
640
+ .icns_tab_3 .row_17_3,
641
+ .icns_tab_3 .row_17_4,
642
+ .icns_tab_3 .row_17_5,
643
+ .icns_tab_3 .row_17_6,
644
+ .icns_tab_3 .row_17_7,
645
+ .icns_tab_3 .row_17_8,
646
+ .icns_tab_3 .row_17_9,
647
+ .icns_tab_3 .row_17_10,
648
+ .icns_tab_3 .row_17_14,
649
+ .icns_tab_3 .row_17_15,
650
+ .icns_tab_3 .row_17_16,
651
+ .icns_tab_3 .row_17_17,
652
+ .icns_tab_3 .row_17_18,
653
+ .icns_tab_3 .row_17_11,
654
+ .icns_tab_3 .row_7_14,
655
+ .icns_tab_3 .row_8_14,
656
+ .icns_tab_3 .row_9_14,
657
+ .icns_tab_3 .row_10_14,
658
+ .icns_tab_3 .row_11_14,
659
+ .icns_tab_3 .row_12_14,
660
+ .icns_tab_3 .row_13_14,
661
+ .icns_tab_3 .row_14_14,
662
+ .icns_tab_3 .row_15_22,
663
+ .icns_tab_3 .row_16_22,
664
+ .icns_tab_3 .row_17_22,
665
+ .icns_tab_3 .row_17_15,
666
+ .icns_tab_3 .row_17_16,
667
+ .icns_tab_3 .row_17_17,
668
+ .icns_tab_3 .row_1_15,
669
+ .icns_tab_3 .row_2_15,
670
+ .icns_tab_3 .row_3_15,
671
+ .icns_tab_3 .row_4_15,
672
+ .icns_tab_3 .row_5_15,
673
+ .icns_tab_3 .row_6_15,
674
+ .icns_tab_3 .row_7_15,
675
+ .icns_tab_3 .row_8_15,
676
+ .icns_tab_3 .row_9_15,
677
+ .icns_tab_3 .row_10_15,
678
+ .icns_tab_3 .row_11_15,
679
+ .icns_tab_3 .row_12_15,
680
+ .icns_tab_3 .row_13_15,
681
+ .icns_tab_3 .row_14_15,
682
+ .icns_tab_3 .row_15_15,
683
+ .icns_tab_3 .row_16_15,
684
+
685
+ .icns_tab_3 .row_1_16,
686
+ .icns_tab_3 .row_2_16,
687
+ .icns_tab_3 .row_3_16,
688
+ .icns_tab_3 .row_4_16,
689
+ .icns_tab_3 .row_5_16,
690
+ .icns_tab_3 .row_6_16,
691
+ .icns_tab_3 .row_7_16,
692
+ .icns_tab_3 .row_8_16,
693
+ .icns_tab_3 .row_9_16,
694
+ .icns_tab_3 .row_10_16,
695
+ .icns_tab_3 .row_11_16,
696
+ .icns_tab_3 .row_12_16,
697
+ .icns_tab_3 .row_13_16,
698
+ .icns_tab_3 .row_14_16,
699
+ .icns_tab_3 .row_15_16,
700
+ .icns_tab_3 .row_16_16,
701
+
702
+ .icns_tab_3 .row_1_17,
703
+ .icns_tab_3 .row_2_17,
704
+ .icns_tab_3 .row_3_17,
705
+ .icns_tab_3 .row_4_17,
706
+ .icns_tab_3 .row_5_17,
707
+ .icns_tab_3 .row_6_17,
708
+ .icns_tab_3 .row_7_17,
709
+ .icns_tab_3 .row_8_17,
710
+ .icns_tab_3 .row_9_17,
711
+ .icns_tab_3 .row_10_17,
712
+ .icns_tab_3 .row_11_17,
713
+ .icns_tab_3 .row_12_17,
714
+ .icns_tab_3 .row_13_17,
715
+ .icns_tab_3 .row_14_17,
716
+ .icns_tab_3 .row_15_17,
717
+ .icns_tab_3 .row_16_17,
718
+
719
+ .icns_tab_3 .row_1_18,
720
+ .icns_tab_3 .row_2_18,
721
+ .icns_tab_3 .row_3_18,
722
+ .icns_tab_3 .row_4_18,
723
+ .icns_tab_3 .row_5_18,
724
+ .icns_tab_3 .row_6_18,
725
+ .icns_tab_3 .row_7_18,
726
+ .icns_tab_3 .row_8_18,
727
+ .icns_tab_3 .row_9_18,
728
+ .icns_tab_3 .row_10_18,
729
+ .icns_tab_3 .row_11_18,
730
+ .icns_tab_3 .row_12_18,
731
+ .icns_tab_3 .row_13_18,
732
+ .icns_tab_3 .row_14_18,
733
+ .icns_tab_3 .row_15_18,
734
+ .icns_tab_3 .row_16_18,
735
+ .icns_tab_3 .row_17_18,
736
+ .icns_tab_3 .row_15_14,
737
+ .icns_tab_3 .row_16_14 {
738
+ background: url(../images/tab_3_icns.png) no-repeat;
739
+ width: 53px;
740
+ height: 52px;
741
+ float: left;
742
+ margin: 0 4px 0 0;
743
+ }
744
+ .icns_tab_3 .row_1_1 {
745
+ background-position: -1px 0;
746
+ }
747
+ .icns_tab_3 .row_1_2 {
748
+ background-position: -60px 0;
749
+ }
750
+ .icns_tab_3 .row_1_3 {
751
+ background-position: -118px 0;
752
+ }
753
+ .icns_tab_3 .row_1_4 {
754
+ background-position: -176px 0;
755
+ }
756
+ .icns_tab_3 .row_1_5 {
757
+ background-position: -235px 0;
758
+ }
759
+ .icns_tab_3 .row_1_6 {
760
+ background-position: -293px 0;
761
+ }
762
+ .icns_tab_3 .row_1_7 {
763
+ background-position: -350px 0;
764
+ }
765
+ .icns_tab_3 .row_1_8 {
766
+ background-position: -409px 0;
767
+ }
768
+ .icns_tab_3 .row_1_9 {
769
+ background-position: -467px 0;
770
+ }
771
+ .icns_tab_3 .row_1_10 {
772
+ background-position: -526px 0;
773
+ }
774
+ .icns_tab_3 .row_1_11 {
775
+ background-position: -711px 0;
776
+ }
777
+
778
+ .icns_tab_3 .row_1_14 {
779
+ background-position: -773px 0;
780
+ }
781
+ .icns_tab_3 .row_1_15 {
782
+ background-position: -838px 0;
783
+ }
784
+ .icns_tab_3 .row_1_16 {
785
+ background-position: -909px 0;
786
+ }
787
+ .icns_tab_3 .row_1_17 {
788
+ background-position: -977px 0;
789
+ }
790
+ .icns_tab_3 .row_1_18 {
791
+ background: url(../images/icons_theme/default/default_wechat.png) no-repeat;
792
+ background-size: contain;
793
+ }.icns_tab_3 .row_2_1 {
794
+ background-position: 0 -74px;
795
+ }
796
+ .icns_tab_3 .row_2_2 {
797
+ background-position: -60px -74px;
798
+ }
799
+ .icns_tab_3 .row_2_3 {
800
+ background-position: -118px -74px;
801
+ }
802
+ .icns_tab_3 .row_2_4 {
803
+ background-position: -176px -74px;
804
+ }
805
+ .icns_tab_3 .row_2_5 {
806
+ background-position: -235px -74px;
807
+ }
808
+ .icns_tab_3 .row_2_6 {
809
+ background-position: -293px -74px;
810
+ }
811
+ .icns_tab_3 .row_2_7 {
812
+ background-position: -350px -74px;
813
+ }
814
+ .icns_tab_3 .row_2_8 {
815
+ background-position: -409px -74px;
816
+ }
817
+ .icns_tab_3 .row_2_9 {
818
+ background-position: -467px -74px;
819
+ }
820
+ .icns_tab_3 .row_2_10 {
821
+ background-position: -526px -74px;
822
+ }
823
+ .icns_tab_3 .row_2_11 {
824
+ background-position: -711px -74px;
825
+ }
826
+ .icns_tab_3 .row_2_14 {
827
+ background-position: -773px -74px;
828
+ }
829
+ .icns_tab_3 .row_2_15 {
830
+ background-position: -838px -74px;
831
+ }
832
+ .icns_tab_3 .row_2_16 {
833
+ background-position: -909px -74px;
834
+ }
835
+ .icns_tab_3 .row_2_17 {
836
+ background-position: -977px -74px;
837
+ }
838
+ .icns_tab_3 .row_2_18 {
839
+ background: url(../images/icons_theme/flat/flat_wechat.png) no-repeat;
840
+ background-size: contain;
841
+ }
842
+ .icns_tab_3 .row_3_1 {
843
+ background-position: 0 -146px;
844
+ }
845
+ .icns_tab_3 .row_3_2 {
846
+ background-position: -60px -146px;
847
+ }
848
+ .icns_tab_3 .row_3_3 {
849
+ background-position: -118px -146px;
850
+ }
851
+ .icns_tab_3 .row_3_4 {
852
+ background-position: -176px -146px;
853
+ }
854
+ .icns_tab_3 .row_3_5 {
855
+ background-position: -235px -146px;
856
+ }
857
+ .icns_tab_3 .row_3_6 {
858
+ background-position: -293px -146px;
859
+ }
860
+ .icns_tab_3 .row_3_7 {
861
+ background-position: -350px -146px;
862
+ }
863
+ .icns_tab_3 .row_3_8 {
864
+ background-position: -409px -146px;
865
+ }
866
+ .icns_tab_3 .row_3_9 {
867
+ background-position: -467px -146px;
868
+ }
869
+ .icns_tab_3 .row_3_10 {
870
+ background-position: -526px -146px;
871
+ }
872
+ .icns_tab_3 .row_3_11 {
873
+ background-position: -711px -147px;
874
+ }
875
+ .icns_tab_3 .row_3_14 {
876
+ background-position: -773px -147px;
877
+ }
878
+ .icns_tab_3 .row_3_15 {
879
+ background-position: -838px -147px;
880
+ }
881
+ .icns_tab_3 .row_3_16 {
882
+ background-position: -909px -147px;
883
+ }
884
+ .icns_tab_3 .row_3_17 {
885
+ background-position: -977px -147px;
886
+ }
887
+ .icns_tab_3 .row_3_18 {
888
+ background: url(../images/icons_theme/thin/thin_wechat.png) no-repeat;
889
+ background-size: contain;
890
+ }
891
+ .icns_tab_3 .row_4_1 {
892
+ background-position: 0 -222px;
893
+ }
894
+ .icns_tab_3 .row_4_2 {
895
+ background-position: -60px -222px;
896
+ }
897
+ .icns_tab_3 .row_4_3 {
898
+ background-position: -118px -222px;
899
+ }
900
+ .icns_tab_3 .row_4_4 {
901
+ background-position: -176px -222px;
902
+ }
903
+ .icns_tab_3 .row_4_5 {
904
+ background-position: -235px -222px;
905
+ }
906
+ .icns_tab_3 .row_4_6 {
907
+ background-position: -293px -222px;
908
+ }
909
+ .icns_tab_3 .row_4_7 {
910
+ background-position: -350px -222px;
911
+ }
912
+ .icns_tab_3 .row_4_8 {
913
+ background-position: -409px -222px;
914
+ }
915
+ .icns_tab_3 .row_4_9 {
916
+ background-position: -467px -222px;
917
+ }
918
+ .icns_tab_3 .row_4_10 {
919
+ background-position: -526px -222px;
920
+ }
921
+ .icns_tab_3 .row_4_11 {
922
+ background-position: -711px -222px;
923
+ }
924
+ .icns_tab_3 .row_4_14 {
925
+ background-position: -773px -222px;
926
+ }
927
+ .icns_tab_3 .row_4_15 {
928
+ background-position: -838px -222px;
929
+ }
930
+ .icns_tab_3 .row_4_16 {
931
+ background-position: -909px -222px;
932
+ }
933
+ .icns_tab_3 .row_4_17 {
934
+ background-position: -977px -222px;
935
+ }
936
+ .icns_tab_3 .row_4_18 {
937
+ background: url(../images/icons_theme/cute/cute_wechat.png) no-repeat;
938
+ background-size: contain;
939
+ }
940
+ .icns_tab_3 .row_5_1 {
941
+ background-position: 0 -296px;
942
+ }
943
+ .icns_tab_3 .row_5_2 {
944
+ background-position: -60px -296px;
945
+ }
946
+ .icns_tab_3 .row_5_3 {
947
+ background-position: -118px -296px;
948
+ }
949
+ .icns_tab_3 .row_5_4 {
950
+ background-position: -176px -296px;
951
+ }
952
+ .icns_tab_3 .row_5_5 {
953
+ background-position: -235px -296px;
954
+ }
955
+ .icns_tab_3 .row_5_6 {
956
+ background-position: -293px -296px;
957
+ }
958
+ .icns_tab_3 .row_5_7 {
959
+ background-position: -350px -296px;
960
+ }
961
+ .icns_tab_3 .row_5_8 {
962
+ background-position: -409px -296px;
963
+ }
964
+ .icns_tab_3 .row_5_9 {
965
+ background-position: -467px -296px;
966
+ }
967
+ .icns_tab_3 .row_5_10 {
968
+ background-position: -526px -296px;
969
+ }
970
+ .icns_tab_3 .row_5_11 {
971
+ background-position: -711px -296px;
972
+ }
973
+ .icns_tab_3 .row_5_14 {
974
+ background-position: -773px -296px;
975
+ }
976
+ .icns_tab_3 .row_5_15 {
977
+ background-position: -838px -296px;
978
+ }
979
+ .icns_tab_3 .row_5_16 {
980
+ background-position: -909px -296px;
981
+ }
982
+ .icns_tab_3 .row_5_17 {
983
+ background-position: -977px -296px;
984
+ }
985
+ .icns_tab_3 .row_5_18 {
986
+ background: url(../images/icons_theme/cubes/cubes_wechat.png);
987
+ background-size: contain;
988
+ }
989
+ .icns_tab_3 .row_6_1 {
990
+ background-position: 0 -370px;
991
+ }
992
+ .icns_tab_3 .row_6_2 {
993
+ background-position: -60px -370px;
994
+ }
995
+ .icns_tab_3 .row_6_3 {
996
+ background-position: -118px -370px;
997
+ }
998
+ .icns_tab_3 .row_6_4 {
999
+ background-position: -176px -370px;
1000
+ }
1001
+ .icns_tab_3 .row_6_5 {
1002
+ background-position: -235px -370px;
1003
+ }
1004
+ .icns_tab_3 .row_6_6 {
1005
+ background-position: -293px -370px;
1006
+ }
1007
+ .icns_tab_3 .row_6_7 {
1008
+ background-position: -350px -370px;
1009
+ }
1010
+ .icns_tab_3 .row_6_8 {
1011
+ background-position: -409px -370px;
1012
+ }
1013
+ .icns_tab_3 .row_6_9 {
1014
+ background-position: -468px -370px;
1015
+ }
1016
+ .icns_tab_3 .row_6_10 {
1017
+ background-position: -526px -370px;
1018
+ }
1019
+ .icns_tab_3 .row_6_11 {
1020
+ background-position: -711px -370px;
1021
+ }
1022
+ .icns_tab_3 .row_6_14 {
1023
+ background-position: -773px -370px;
1024
+ }
1025
+ .icns_tab_3 .row_6_15 {
1026
+ background-position: -838px -370px;
1027
+ }
1028
+ .icns_tab_3 .row_6_16 {
1029
+ background-position: -909px -370px;
1030
+ }
1031
+ .icns_tab_3 .row_6_17 {
1032
+ background-position: -977px -370px;
1033
+ }
1034
+ .icns_tab_3 .row_6_18 {
1035
+ background: url(../images/icons_theme/chrome_blue/chrome_blue_wechat.png);
1036
+ background-size: contain;
1037
+ }
1038
+ .icns_tab_3 .row_7_1 {
1039
+ background-position: 0 -444px;
1040
+ }
1041
+ .icns_tab_3 .row_7_2 {
1042
+ background-position: -60px -444px;
1043
+ }
1044
+ .icns_tab_3 .row_7_3 {
1045
+ background-position: -118px -444px;
1046
+ }
1047
+ .icns_tab_3 .row_7_4 {
1048
+ background-position: -176px -444px;
1049
+ }
1050
+ .icns_tab_3 .row_7_5 {
1051
+ background-position: -235px -444px;
1052
+ }
1053
+ .icns_tab_3 .row_7_6 {
1054
+ background-position: -293px -444px;
1055
+ }
1056
+ .icns_tab_3 .row_7_7 {
1057
+ background-position: -350px -444px;
1058
+ }
1059
+ .icns_tab_3 .row_7_8 {
1060
+ background-position: -409px -444px;
1061
+ }
1062
+ .icns_tab_3 .row_7_9 {
1063
+ background-position: -466px -444px;
1064
+ }
1065
+ .icns_tab_3 .row_7_10 {
1066
+ background-position: -526px -444px;
1067
+ }
1068
+ .icns_tab_3 .row_7_11 {
1069
+ background-position: -711px -444px;
1070
+ }
1071
+ .icns_tab_3 .row_7_14 {
1072
+ background-position: -773px -444px;
1073
+ }
1074
+ .icns_tab_3 .row_7_15 {
1075
+ background-position: -838px -444px;
1076
+ }
1077
+ .icns_tab_3 .row_7_16 {
1078
+ background-position: -909px -444px;
1079
+ }
1080
+ .icns_tab_3 .row_7_17 {
1081
+ background-position: -977px -444px;
1082
+ }
1083
+ .icns_tab_3 .row_7_18 {
1084
+ background: url(../images/icons_theme/chrome_grey/chrome_grey_wechat.png);
1085
+ background-size: contain;
1086
+ }
1087
+ .icns_tab_3 .row_8_1 {
1088
+ background-position: 0 -518px;
1089
+ }
1090
+ .icns_tab_3 .row_8_2 {
1091
+ background-position: -60px -518px;
1092
+ }
1093
+ .icns_tab_3 .row_8_3 {
1094
+ background-position: -118px -518px;
1095
+ }
1096
+ .icns_tab_3 .row_8_4 {
1097
+ background-position: -176px -518px;
1098
+ }
1099
+ .icns_tab_3 .row_8_5 {
1100
+ background-position: -235px -518px;
1101
+ }
1102
+ .icns_tab_3 .row_8_6 {
1103
+ background-position: -293px -518px;
1104
+ }
1105
+ .icns_tab_3 .row_8_7 {
1106
+ background-position: -350px -518px;
1107
+ }
1108
+ .icns_tab_3 .row_8_8 {
1109
+ background-position: -409px -518px;
1110
+ }
1111
+ .icns_tab_3 .row_8_9 {
1112
+ background-position: -467px -518px;
1113
+ }
1114
+ .icns_tab_3 .row_8_10 {
1115
+ background-position: -526px -518px;
1116
+ }
1117
+ .icns_tab_3 .row_8_11 {
1118
+ background-position: -711px -518px;
1119
+ }
1120
+ .icns_tab_3 .row_8_14 {
1121
+ background-position: -773px -518px;
1122
+ }
1123
+ .icns_tab_3 .row_8_15 {
1124
+ background-position: -838px -518px;
1125
+ }
1126
+ .icns_tab_3 .row_8_16 {
1127
+ background-position: -909px -518px;
1128
+ }
1129
+ .icns_tab_3 .row_8_17 {
1130
+ background-position: -977px -518px;
1131
+ }
1132
+ .icns_tab_3 .row_8_18 {
1133
+ background: url(../images/icons_theme/splash/splash_wechat.png);
1134
+ background-size: contain;
1135
+ }
1136
+ .icns_tab_3 .row_9_1 {
1137
+ background-position: 0 -592px;
1138
+ }
1139
+ .icns_tab_3 .row_9_2 {
1140
+ background-position: -60px -592px;
1141
+ }
1142
+ .icns_tab_3 .row_9_3 {
1143
+ background-position: -118px -592px;
1144
+ }
1145
+ .icns_tab_3 .row_9_4 {
1146
+ background-position: -176px -592px;
1147
+ }
1148
+ .icns_tab_3 .row_9_5 {
1149
+ background-position: -235px -592px;
1150
+ }
1151
+ .icns_tab_3 .row_9_6 {
1152
+ background-position: -293px -592px;
1153
+ }
1154
+ .icns_tab_3 .row_9_7 {
1155
+ background-position: -350px -592px;
1156
+ }
1157
+ .icns_tab_3 .row_9_8 {
1158
+ background-position: -409px -592px;
1159
+ }
1160
+ .icns_tab_3 .row_9_9 {
1161
+ background-position: -467px -592px;
1162
+ }
1163
+ .icns_tab_3 .row_9_10 {
1164
+ background-position: -526px -592px;
1165
+ }
1166
+ .icns_tab_3 .row_9_11 {
1167
+ background-position: -711px -592px;
1168
+ }
1169
+ .icns_tab_3 .row_9_14 {
1170
+ background-position: -773px -592px;
1171
+ }
1172
+ .icns_tab_3 .row_9_15 {
1173
+ background-position: -838px -592px;
1174
+ }
1175
+ .icns_tab_3 .row_9_16 {
1176
+ background-position: -909px -592px;
1177
+ }
1178
+ .icns_tab_3 .row_9_17 {
1179
+ background-position: -977px -592px;
1180
+ }
1181
+ .icns_tab_3 .row_9_18 {
1182
+ background: url(../images/icons_theme/orange/orange_wechat.png);
1183
+ background-size: contain;
1184
+ }
1185
+ .icns_tab_3 .row_10_1 {
1186
+ background-position: 0 -666px;
1187
+ }
1188
+ .icns_tab_3 .row_10_2 {
1189
+ background-position: -60px -666px;
1190
+ }
1191
+ .icns_tab_3 .row_10_3 {
1192
+ background-position: -118px -666px;
1193
+ }
1194
+ .icns_tab_3 .row_10_4 {
1195
+ background-position: -176px -666px;
1196
+ }
1197
+ .icns_tab_3 .row_10_5 {
1198
+ background-position: -235px -666px;
1199
+ }
1200
+ .icns_tab_3 .row_10_6 {
1201
+ background-position: -293px -666px;
1202
+ }
1203
+ .icns_tab_3 .row_10_7 {
1204
+ background-position: -350px -666px;
1205
+ }
1206
+ .icns_tab_3 .row_10_8 {
1207
+ background-position: -409px -666px;
1208
+ }
1209
+ .icns_tab_3 .row_10_9 {
1210
+ background-position: -467px -666px;
1211
+ }
1212
+ .icns_tab_3 .row_10_10 {
1213
+ background-position: -526px -666px;
1214
+ }
1215
+ .icns_tab_3 .row_10_11 {
1216
+ background-position: -711px -666px;
1217
+ }
1218
+ .icns_tab_3 .row_10_14 {
1219
+ background-position: -773px -666px;
1220
+ }
1221
+ .icns_tab_3 .row_10_15 {
1222
+ background-position: -838px -666px;
1223
+ }
1224
+ .icns_tab_3 .row_10_16 {
1225
+ background-position: -909px -666px;
1226
+ }
1227
+ .icns_tab_3 .row_10_17 {
1228
+ background-position: -977px -666px;
1229
+ }
1230
+ .icns_tab_3 .row_10_18 {
1231
+ background: url(../images/icons_theme/crystal/crystal_wechat.png);
1232
+ background-size: contain;
1233
+ }
1234
+ .icns_tab_3 .row_11_1 {
1235
+ background-position: 0 -740px;
1236
+ }
1237
+ .icns_tab_3 .row_11_2 {
1238
+ background-position: -60px -740px;
1239
+ }
1240
+ .icns_tab_3 .row_11_3 {
1241
+ background-position: -118px -740px;
1242
+ }
1243
+ .icns_tab_3 .row_11_4 {
1244
+ background-position: -176px -740px;
1245
+ }
1246
+ .icns_tab_3 .row_11_5 {
1247
+ background-position: -235px -740px;
1248
+ }
1249
+ .icns_tab_3 .row_11_6 {
1250
+ background-position: -293px -740px;
1251
+ }
1252
+ .icns_tab_3 .row_11_7 {
1253
+ background-position: -350px -740px;
1254
+ }
1255
+ .icns_tab_3 .row_11_8 {
1256
+ background-position: -409px -740px;
1257
+ }
1258
+ .icns_tab_3 .row_11_9 {
1259
+ background-position: -467px -740px;
1260
+ }
1261
+ .icns_tab_3 .row_11_10 {
1262
+ background-position: -526px -740px;
1263
+ }
1264
+ .icns_tab_3 .row_11_11 {
1265
+ background-position: -711px -740px;
1266
+ }
1267
+ .icns_tab_3 .row_11_14 {
1268
+ background-position: -773px -740px;
1269
+ }
1270
+ .icns_tab_3 .row_11_15 {
1271
+ background-position: -838px -740px;
1272
+ }
1273
+ .icns_tab_3 .row_11_16 {
1274
+ background-position: -909px -740px;
1275
+ }
1276
+ .icns_tab_3 .row_11_17 {
1277
+ background-position: -977px -740px;
1278
+ }
1279
+ .icns_tab_3 .row_11_18 {
1280
+ background: url(../images/icons_theme/glossy/glossy_wechat.png);
1281
+ background-size: contain;
1282
+ }
1283
+ .icns_tab_3 .row_12_1 {
1284
+ background-position: 0 -814px;
1285
+ }
1286
+ .icns_tab_3 .row_12_2 {
1287
+ background-position: -60px -814px;
1288
+ }
1289
+ .icns_tab_3 .row_12_3 {
1290
+ background-position: -118px -814px;
1291
+ }
1292
+ .icns_tab_3 .row_12_4 {
1293
+ background-position: -176px -814px;
1294
+ }
1295
+ .icns_tab_3 .row_12_5 {
1296
+ background-position: -235px -814px;
1297
+ }
1298
+ .icns_tab_3 .row_12_6 {
1299
+ background-position: -293px -814px;
1300
+ }
1301
+ .icns_tab_3 .row_12_7 {
1302
+ background-position: -350px -814px;
1303
+ }
1304
+ .icns_tab_3 .row_12_8 {
1305
+ background-position: -409px -814px;
1306
+ }
1307
+ .icns_tab_3 .row_12_9 {
1308
+ background-position: -467px -814px;
1309
+ }
1310
+ .icns_tab_3 .row_12_10 {
1311
+ background-position: -526px -814px;
1312
+ }
1313
+ .icns_tab_3 .row_12_11 {
1314
+ background-position: -711px -814px;
1315
+ }
1316
+ .icns_tab_3 .row_12_14 {
1317
+ background-position: -773px -814px;
1318
+ }
1319
+ .icns_tab_3 .row_12_15 {
1320
+ background-position: -838px -814px;
1321
+ }
1322
+ .icns_tab_3 .row_12_16 {
1323
+ background-position: -909px -814px;
1324
+ }
1325
+ .icns_tab_3 .row_12_17 {
1326
+ background-position: -977px -814px;
1327
+ }
1328
+ .icns_tab_3 .row_12_18 {
1329
+ background: url(../images/icons_theme/black/black_wechat.png);
1330
+ background-size: contain;
1331
+ }
1332
+ .icns_tab_3 .row_13_1 {
1333
+ background-position: 0 -888px;
1334
+ }
1335
+ .icns_tab_3 .row_13_2 {
1336
+ background-position: -60px -888px;
1337
+ }
1338
+ .icns_tab_3 .row_13_3 {
1339
+ background-position: -118px -888px;
1340
+ }
1341
+ .icns_tab_3 .row_13_4 {
1342
+ background-position: -176px -888px;
1343
+ }
1344
+ .icns_tab_3 .row_13_5 {
1345
+ background-position: -235px -888px;
1346
+ }
1347
+ .icns_tab_3 .row_13_6 {
1348
+ background-position: -293px -888px;
1349
+ }
1350
+ .icns_tab_3 .row_13_7 {
1351
+ background-position: -350px -888px;
1352
+ }
1353
+ .icns_tab_3 .row_13_8 {
1354
+ background-position: -409px -888px;
1355
+ }
1356
+ .icns_tab_3 .row_13_9 {
1357
+ background-position: -467px -888px;
1358
+ }
1359
+ .icns_tab_3 .row_13_10 {
1360
+ background-position: -526px -888px;
1361
+ }
1362
+ .icns_tab_3 .row_13_11 {
1363
+ background-position: -711px -888px;
1364
+ }
1365
+ .icns_tab_3 .row_13_14 {
1366
+ background-position: -773px -888px;
1367
+ }
1368
+ .icns_tab_3 .row_13_15 {
1369
+ background-position: -838px -888px;
1370
+ }
1371
+ .icns_tab_3 .row_13_16 {
1372
+ background-position: -909px -888px;
1373
+ }
1374
+ .icns_tab_3 .row_13_17 {
1375
+ background-position: -977px -888px;
1376
+ }
1377
+ .icns_tab_3 .row_13_18 {
1378
+ background: url(../images/icons_theme/silver/silver_wechat.png);
1379
+
1380
+ background-size: contain;
1381
+ }
1382
+ .icns_tab_3 .row_14_1 {
1383
+ background-position: 0 -962px;
1384
+ }
1385
+ .icns_tab_3 .row_14_2 {
1386
+ background-position: -60px -962px;
1387
+ }
1388
+ .icns_tab_3 .row_14_3 {
1389
+ background-position: -118px -962px;
1390
+ }
1391
+ .icns_tab_3 .row_14_4 {
1392
+ background-position: -176px -962px;
1393
+ }
1394
+ .icns_tab_3 .row_14_5 {
1395
+ background-position: -235px -962px;
1396
+ }
1397
+ .icns_tab_3 .row_14_6 {
1398
+ background-position: -293px -962px;
1399
+ }
1400
+ .icns_tab_3 .row_14_7 {
1401
+ background-position: -350px -962px;
1402
+ }
1403
+ .icns_tab_3 .row_14_8 {
1404
+ background-position: -409px -962px;
1405
+ }
1406
+ .icns_tab_3 .row_14_9 {
1407
+ background-position: -467px -962px;
1408
+ }
1409
+ .icns_tab_3 .row_14_10 {
1410
+ background-position: -526px -962px;
1411
+ }
1412
+ .icns_tab_3 .row_14_11 {
1413
+ background-position: -711px -962px;
1414
+ }
1415
+ .icns_tab_3 .row_14_14 {
1416
+ background-position: -773px -962px;
1417
+ }
1418
+ .icns_tab_3 .row_14_15 {
1419
+ background-position: -838px -962px;
1420
+ }
1421
+ .icns_tab_3 .row_14_16 {
1422
+ background-position: -909px -962px;
1423
+ }
1424
+ .icns_tab_3 .row_14_17 {
1425
+ background-position: -977px -962px;
1426
+ }
1427
+ .icns_tab_3 .row_14_18 {
1428
+ background: url(../images/icons_theme/shaded_dark/shaded_dark_wechat.png);
1429
+
1430
+ background-size: contain;
1431
+ }
1432
+ .icns_tab_3 .row_15_1 {
1433
+ background-position: 0 -1036px;
1434
+ }
1435
+ .icns_tab_3 .row_15_2 {
1436
+ background-position: -60px -1036px;
1437
+ }
1438
+ .icns_tab_3 .row_15_3 {
1439
+ background-position: -118px -1036px;
1440
+ }
1441
+ .icns_tab_3 .row_15_4 {
1442
+ background-position: -176px -1036px;
1443
+ }
1444
+ .icns_tab_3 .row_15_5 {
1445
+ background-position: -235px -1036px;
1446
+ }
1447
+ .icns_tab_3 .row_15_6 {
1448
+ background-position: -293px -1036px;
1449
+ }
1450
+ .icns_tab_3 .row_15_7 {
1451
+ background-position: -350px -1036px;
1452
+ }
1453
+ .icns_tab_3 .row_15_8 {
1454
+ background-position: -409px -1036px;
1455
+ }
1456
+ .icns_tab_3 .row_15_9 {
1457
+ background-position: -467px -1036px;
1458
+ }
1459
+ .icns_tab_3 .row_15_10 {
1460
+ background-position: -526px -1036px;
1461
+ }
1462
+ .icns_tab_3 .row_15_11 {
1463
+ background-position: -711px -1036px;
1464
+ }
1465
+ .icns_tab_3 .row_15_14 {
1466
+ background-position: -773px -1036px;
1467
+ }
1468
+ .icns_tab_3 .row_15_15 {
1469
+ background-position: -838px -1036px;
1470
+ }
1471
+ .icns_tab_3 .row_15_16 {
1472
+ background-position: -909px -1036px;
1473
+ }
1474
+ .icns_tab_3 .row_15_17 {
1475
+ background-position: -977px -1036px;
1476
+ }
1477
+ .icns_tab_3 .row_15_18 {
1478
+ background: url(../images/icons_theme/shaded_light/shaded_light_wechat.png);
1479
+ background-size: contain;
1480
+ }
1481
+ .icns_tab_3 .row_16_1 {
1482
+ background-position: 0 -1109px;
1483
+ }
1484
+ .icns_tab_3 .row_16_2 {
1485
+ background-position: -60px -1109px;
1486
+ }
1487
+ .icns_tab_3 .row_16_3 {
1488
+ background-position: -118px -1109px;
1489
+ }
1490
+ .icns_tab_3 .row_16_4 {
1491
+ background-position: -176px -1109px;
1492
+ }
1493
+ .icns_tab_3 .row_16_5 {
1494
+ background-position: -235px -1109px;
1495
+ }
1496
+ .icns_tab_3 .row_16_6 {
1497
+ background-position: -293px -1109px;
1498
+ }
1499
+ .icns_tab_3 .row_16_7 {
1500
+ background-position: -350px -1109px;
1501
+ }
1502
+ .icns_tab_3 .row_16_8 {
1503
+ background-position: -409px -1109px;
1504
+ }
1505
+ .icns_tab_3 .row_16_9 {
1506
+ background-position: -467px -1109px;
1507
+ }
1508
+ .icns_tab_3 .row_16_10 {
1509
+ background-position: -526px -1109px;
1510
+ }
1511
+ .icns_tab_3 .row_16_11 {
1512
+ background-position: -711px -1109px;
1513
+ }
1514
+ .icns_tab_3 .row_16_14 {
1515
+ background-position: -773px -1109px;
1516
+ }
1517
+ .icns_tab_3 .row_16_15 {
1518
+ background-position: -838px -1109px;
1519
+ }
1520
+ .icns_tab_3 .row_16_16 {
1521
+ background-position: -909px -1109px;
1522
+ }
1523
+ .icns_tab_3 .row_16_17 {
1524
+ background-position: -977px -1109px;
1525
+ }
1526
+ .icns_tab_3 .row_16_18 {
1527
+ background: url(../images/icons_theme/transparent/transparent_wechat.png);
1528
+ background-size: contain;
1529
+ }
1530
+
1531
+ /*tab 6 css*/
1532
+ .tab6 .social_icon_like1 {
1533
+ width: 100%;
1534
+ float: left;
1535
+ margin: 0;
1536
+ text-align: center;
1537
+ }
1538
+ .tab6 .social_icon_like1 ul {
1539
+ margin: 0;
1540
+ padding: 0;
1541
+ list-style: none;
1542
+ text-align: center;
1543
+ }
1544
+ .tab6 .social_icon_like1 li {
1545
+ margin: 0 10px 0 0;
1546
+ padding: 0;
1547
+ width: auto;
1548
+ list-style: none;
1549
+ display: inline-block;
1550
+ }
1551
+ .tab6 .social_icon_like1 li span {
1552
+ margin: 0;
1553
+ width: 44px;
1554
+ display: block;
1555
+ background: url(../images/count_bg1.png) no-repeat;
1556
+ height: 22px;
1557
+ overflow: hidden;
1558
+ padding: 2px 2px 2px 10px;
1559
+ font-family: helveticaregular;
1560
+ font-size: 15px;
1561
+ text-align: center;
1562
+ line-height: 20px;
1563
+ color: #5a6570;
1564
+ float: left;
1565
+ }
1566
+ .tab6 .social_icon_like1 li img {
1567
+ float: left;
1568
+ margin-right: 5px;
1569
+ display: block;
1570
+ }
1571
+ .tab6 .social_icon_like1 li a {
1572
+ color: #5a6570;
1573
+ text-decoration: none;
1574
+ display: block;
1575
+ }
1576
+ .tab6 ul.usually {
1577
+ margin: 7px 0 6px 30px;
1578
+ padding: 0;
1579
+ list-style: none;
1580
+ }
1581
+ .tab6 ul.usually li {
1582
+ margin: 0;
1583
+ padding: 0;
1584
+ width: auto;
1585
+ list-style: none;
1586
+ text-align: left;
1587
+ font-size: 17px;
1588
+ color: #5a6570;
1589
+ }
1590
+ .tab6 ul.enough_waffling {
1591
+ margin: 9px 0 0;
1592
+ padding: 0;
1593
+ list-style: none;
1594
+ text-align: center;
1595
+ }
1596
+ .tab6 ul.enough_waffling li {
1597
+ margin: 0 22px;
1598
+ padding: 0;
1599
+ list-style: none;
1600
+ display: inline-block;
1601
+ }
1602
+ .tab6 ul.enough_waffling li span {
1603
+ float: left;
1604
+ }
1605
+ .tab6 ul.enough_waffling li label {
1606
+ margin: 0 0 0 20px;
1607
+ float: left;
1608
+ font-family: helveticaregular;
1609
+ font-size: 18px;
1610
+ font-weight: 400;
1611
+ text-align: center;
1612
+ line-height: 38px;
1613
+ color: #5a6570;
1614
+ }
1615
+ .tab6 .row {
1616
+ border-top: 1px solid #eaebee;
1617
+ margin-top: 25px;
1618
+ padding-top: 15px;
1619
+ clear: both;
1620
+ display: block;
1621
+ width: 100%;
1622
+ float: left;
1623
+ font-family: "Helvetica CE 35 Thin";
1624
+ line-height: 42px;
1625
+ }
1626
+ .tab6 .options {
1627
+ margin-top: 25px;
1628
+ clear: both;
1629
+ width: 100%;
1630
+ float: left;
1631
+ }
1632
+ .tab6 .options label {
1633
+ width: 345px;
1634
+ float: left;
1635
+ font-size: 17px;
1636
+ /*font-family: helveticaregular;*/
1637
+ font-family: 'helveticaneue-light';
1638
+ color: #5a6570;
1639
+ line-height: 46px;
1640
+ }
1641
+ .tab6 .options label.first {
1642
+ /*font-family: helveticaregular;*/
1643
+
1644
+ font-family: 'helveticaneue-light';
1645
+ font-size: 17px;
1646
+ }
1647
+ .tab6 .options input {
1648
+ width: 308px;
1649
+ float: left;
1650
+ background: #e5e5e5;
1651
+ box-shadow: 2px 2px 3px #dcdcdc inset;
1652
+ border: 0;
1653
+ padding: 10px;
1654
+ }
1655
+ .tab6 .options .field {
1656
+
1657
+ float: left;
1658
+ position: relative;
1659
+ }
1660
+ .tab6 .options .field .select {
1661
+ width: 207px;
1662
+ background: url(../images/select_bg1.jpg) no-repeat;
1663
+ display: block;
1664
+ padding-left: 17px;
1665
+ font-family: helveticaregular;
1666
+ }.tab6 .cstmdsplyulwpr .radio_section.tb_4_ck { float: left;
1667
+
1668
+ width: auto;
1669
+ }
1670
+ .tab6 .social_icon_like1 li span.checkbox {
1671
+ background: rgba(0, 0, 0, 0) url(../images/check_bg.jpg) no-repeat scroll 0 0;
1672
+ display: inherit;
1673
+ height: 31px;
1674
+ width: 31px;
1675
+ }
1676
+ .tab6 .cstmdsplyulwpr a {
1677
+ margin-top: 3px;
1678
+ float: left;
1679
+ }
1680
+ /*tab 7 css*/
1681
+ .tab7 h3 {
1682
+ margin: 14px 0 6px;
1683
+ padding: 0;
1684
+ /* color: #a7a9ac;*/
1685
+ color: #414951;
1686
+ /* font-family: helveticaregular;*/
1687
+ font-family: 'helveticaneue-light';
1688
+ /* font-size: 20px;*/
1689
+ font-size: 18px;
1690
+ text-align: left;
1691
+ }
1692
+
1693
+ .tab7 .close {
1694
+ position: absolute;
1695
+ right: 18px;
1696
+ top: 18px;
1697
+ }
1698
+ .tab7 .text_options {
1699
+ width: 500px;
1700
+ float: left;
1701
+ }
1702
+ .tab7 .text_options.layout {
1703
+ margin-left: -25px;
1704
+ }
1705
+ .tab7 .row_tab {
1706
+ margin-top: 10px;
1707
+ width: 100%;
1708
+ float: left;
1709
+ }
1710
+ .tab7 .text_options label {
1711
+ width: 121px;
1712
+ float: left;
1713
+ line-height: 46px;
1714
+ font-size: 18px;
1715
+ }
1716
+ .tab7 .text_options.layout label {
1717
+ line-height: 20px;
1718
+ font-size: 18px;
1719
+ }
1720
+ .tab7 .text_options.layout label.border {
1721
+ line-height: 46px;
1722
+ }
1723
+ .tab7 .text_options input {
1724
+ width: 274px;
1725
+ float: left;
1726
+ background: #e5e5e5;
1727
+ box-shadow: 2px 2px 3px #dcdcdc inset;
1728
+ border: 0;
1729
+ padding: 13px 10px;
1730
+ font-size: 17px;
1731
+ color: #5a6570;
1732
+ }
1733
+ .tab7 .text_options input.small {
1734
+ width: 50px;
1735
+ }
1736
+ .tab7 .text_options .field {
1737
+ width: 223px;
1738
+ float: left;
1739
+ position: relative;
1740
+ }
1741
+ .tab7 .text_options .field .select {
1742
+ width: 183px;
1743
+ padding-right: 21px;
1744
+ height: 47px;
1745
+ background: url(../images/select_bg1.jpg) no-repeat;
1746
+ display: block;
1747
+ padding-left: 10px;
1748
+ line-height: 46px;
1749
+ font-size: 17px;
1750
+ color: #414951;
1751
+ }
1752
+ .tab7 .text_options .field select.styled {
1753
+ position: absolute;
1754
+ left: 0;
1755
+ top: 0;
1756
+ width: 213px;
1757
+ line-height: 46px;
1758
+ height: 46px;
1759
+ }
1760
+ .tab7 .color_box {
1761
+ width: 40px;
1762
+ height: 34px;
1763
+ border: 3px solid #fff;
1764
+ box-shadow: 1px 2px 2px #ccc;
1765
+ float: left;
1766
+ position: relative;
1767
+ margin-left: 13px;
1768
+ }
1769
+ .tab7 .color_box1 {
1770
+ width: 100%;
1771
+ height: 34px;
1772
+ background: #5a6570;
1773
+ box-shadow: 1px -2px 15px -2px #d3d3d3 inset;
1774
+ }
1775
+ .tab7 .corner {
1776
+ width: 10px;
1777
+ height: 10px;
1778
+ background: #fff;
1779
+ position: absolute;
1780
+ right: 0;
1781
+ bottom: 0;
1782
+ }
1783
+ .tab7 ul.border_shadow {
1784
+ margin: 0;
1785
+ padding: 5px 0 0;
1786
+ list-style: none;
1787
+ float: left;
1788
+ width: 257px;
1789
+ }
1790
+ .tab7 ul.border_shadow li {
1791
+ margin: 0;
1792
+ padding: 0 0 0 40px;
1793
+ list-style: none;
1794
+ float: left;
1795
+ }
1796
+ .tab7 ul.border_shadow li:first-child {
1797
+ padding: 0;
1798
+ }
1799
+ .tab7 ul.border_shadow li span {
1800
+ float: left;
1801
+ }
1802
+ .tab7 ul.border_shadow li label {
1803
+ float: left;
1804
+ width: auto;
1805
+ font-family: helveticaregular;
1806
+ font-size: 18px;
1807
+ font-weight: 400;
1808
+ text-align: center;
1809
+ line-height: 40px !important;
1810
+ color: #5a6570;
1811
+ padding: 0 0 0 20px;
1812
+ }
1813
+ .tab7 .row {
1814
+ border-top: 1px solid #eaebee;
1815
+ margin-top: 25px;
1816
+ padding-top: 15px;
1817
+ clear: both;
1818
+ display: block;
1819
+ width: 100%;
1820
+ float: left;
1821
+ font-family: helveticaregular;
1822
+ line-height: 42px;
1823
+ }
1824
+ .tab7 .pop_up_show {
1825
+ width: 100%;
1826
+ float: left;
1827
+ margin-top: 20px;
1828
+ }
1829
+ .tab7 .pop_up_show span {
1830
+ float: left;
1831
+ }
1832
+ .tab7 .pop_up_show label {
1833
+ float: left;
1834
+ width: auto;
1835
+ font-size: 18px;
1836
+ font-weight: 400;
1837
+ text-align: center;
1838
+ line-height: 38px !important;
1839
+ color: #5a6570;
1840
+ padding: 0 0 0 20px;
1841
+ }
1842
+ .tab7 .pop_up_show input.add {
1843
+ width: 257px;
1844
+ float: left;
1845
+ background: #e5e5e5;
1846
+ box-shadow: 2px 2px 3px #dcdcdc inset;
1847
+ border: 0;
1848
+ padding: 10px;
1849
+ margin-left: 40px;
1850
+ }
1851
+ .tab7 .pop_up_show input.seconds {
1852
+ width: 60px;
1853
+ background: #e5e5e5;
1854
+ box-shadow: 2px 2px 3px #dcdcdc inset;
1855
+ border: 0;
1856
+ padding: 10px;
1857
+ margin: 0 7px;
1858
+ }
1859
+ .tab7 .pop_up_show a {
1860
+ text-decoration: underline;
1861
+ color: #a4a9ad;
1862
+ font-size: 16px;
1863
+ margin-left: 20px;
1864
+ }
1865
+ .tab7 .pop_up_show .field {
1866
+ width: 135px;
1867
+ float: left;
1868
+ position: relative;
1869
+ margin-left: 20px;
1870
+ font-size: 17px;
1871
+ font-family: helveticaregular;
1872
+ }
1873
+ .tab7 .pop_up_show .field .select {
1874
+ width: 127px;
1875
+ height: 48px;
1876
+ background: url(../images/select_bg.jpg) no-repeat;
1877
+ display: block;
1878
+ padding-left: 10px;
1879
+ line-height: 46px;
1880
+ font-size: 16px;
1881
+ color: #5a6570;
1882
+ }
1883
+ .tab7 .pop_up_show .field select.styled {
1884
+ position: absolute;
1885
+ left: 0;
1886
+ top: 0;
1887
+ width: 135px;
1888
+ line-height: 46px;
1889
+ height: 46px;
1890
+ }
1891
+ /*tab 8 css*/
1892
+ .tab8 .sfsi_tab8_container {
1893
+ width: 100%;
1894
+ float: left;
1895
+ }
1896
+ .tab8 .sfsi_tab8_subcontainer {
1897
+ float: left;
1898
+ padding: 20px 0;
1899
+ width: 100%;
1900
+ }
1901
+ .tab8 h3.sfsi_section_title {
1902
+ font-weight: bold;
1903
+ }
1904
+ .tab8 .like_pop_box {
1905
+ width: 100%;
1906
+ margin: 35px auto auto;
1907
+ position: relative;
1908
+ text-align: center;
1909
+ }
1910
+ .tab8 .like_pop_box h2 {
1911
+ font-family: helveticabold;
1912
+ text-align: center;
1913
+ color: #414951;
1914
+ font-size: 26px;
1915
+ }
1916
+ .tab8 .sfsi_subscribe_Popinner {
1917
+ display: inline-block;
1918
+ padding: 18px 20px;
1919
+ -webkit-box-shadow: 0 0 5px #ccc;
1920
+ border: 1px solid #ededed;
1921
+ background: #FFF;
1922
+ position: relative;
1923
+ }
1924
+ .tab8 .sfsi_subscribe_Popinner .form-overlay {
1925
+ height: 100%;
1926
+ left: 0;
1927
+ position: absolute;
1928
+ top: 0;
1929
+ width: 100%;
1930
+ }
1931
+ .tab8 .like_pop_box .sfsi_subscribe_Popinner {
1932
+ box-shadow: 0 0 5px #ccc;
1933
+ }
1934
+ .tab8 .like_pop_box .sfsi_subscribe_Popinner h5 {
1935
+ margin: 0 0 10px;
1936
+ padding: 0;
1937
+ color: #414951;
1938
+ font-size: 22px;
1939
+ text-align: center;
1940
+ }
1941
+ .tab8 .sfsi_subscribe_Popinner h5 {
1942
+ margin: 0 0 10px;
1943
+ padding: 0;
1944
+ color: #414951;
1945
+ font-size: 18px;
1946
+ text-align: center;
1947
+ }
1948
+ .tab8 .sfsi_subscription_form_field {
1949
+ float: left;
1950
+ margin: 5px 0;
1951
+ width: 100%;
1952
+ }
1953
+ .tab8 .sfsi_subscription_form_field input {
1954
+ padding: 10px 0px;
1955
+ text-align: center;
1956
+ width: 100%;
1957
+ }
1958
+ .tab8 .sfsi_tab8_subcontainer label.sfsi_label_text {
1959
+ float: left;
1960
+ margin: 10px 0;
1961
+ width: 100%;
1962
+ }
1963
+ .tab8 ul.sfsi_form_info {
1964
+ list-style: none !important;
1965
+ margin-left: 32px;
1966
+ }
1967
+ .tab8 ul.sfsi_form_info li {
1968
+ margin: 3px 0;
1969
+ }
1970
+ .tab8 .sfsi_subscription_html {
1971
+ background-color: #e5e5e5;
1972
+ float: left;
1973
+ margin: 12px 0 0 30px;
1974
+ width: 90%;
1975
+ }
1976
+ .tab8 .sfsi_seprater {
1977
+ border-bottom: 1px solid #ccc;
1978
+ }
1979
+ .tab8 .sfsi_tab8_subcontainer h5.sfsi_section_subtitle {
1980
+ float: left;
1981
+ font-size: 18px;
1982
+ margin: 5px 0;
1983
+ width: 100%;
1984
+ }
1985
+ .tab8 .sfsi_left_container {
1986
+ margin-top: 30px;
1987
+ text-align: center;
1988
+ width: 24%;
1989
+ display: inline-block;
1990
+ }
1991
+ .tab8 .sfsi_right_container {
1992
+ display: inline-block;
1993
+ margin-top: 30px;
1994
+ padding: 0 20px;
1995
+ vertical-align: top;
1996
+ width: 72%;
1997
+ }
1998
+ .tab8 .row_tab {
1999
+ display: inline-block;
2000
+ margin-bottom: 30px;
2001
+ width: 100%;
2002
+ }
2003
+ .tab8 .row_tab label {
2004
+ color: #5a6570;
2005
+ font-size: 16px;
2006
+ }
2007
+ .tab8 .row_tab div.sfsi_field {
2008
+ display: inline-block;
2009
+ vertical-align: middle;
2010
+ width: auto;
2011
+ margin-right: 25px;
2012
+ padding-top: 10px;
2013
+ }
2014
+ .tab8 .color_box {
2015
+ width: 40px;
2016
+ height: 34px;
2017
+ border: 3px solid #fff;
2018
+ box-shadow: 1px 2px 2px #ccc;
2019
+ float: right;
2020
+ position: relative;
2021
+ margin-left: 13px;
2022
+ }
2023
+ .tab8 .color_box1 {
2024
+ width: 100%;
2025
+ height: 34px;
2026
+ background: #5a6570;
2027
+ box-shadow: 1px -2px 15px -2px #d3d3d3 inset;
2028
+ }
2029
+ .tab8 .corner {
2030
+ width: 10px;
2031
+ height: 10px;
2032
+ background: #fff;
2033
+ position: absolute;
2034
+ right: 0;
2035
+ bottom: 0;
2036
+ }
2037
+ .tab8 .sfsi_right_container label {
2038
+ color: #5a6570;
2039
+ font-size: 18px;
2040
+ }
2041
+ .tab8 label.sfsi_heding {
2042
+ display: inline-block;
2043
+ /* font-weight: bold; */
2044
+ padding-top: 10px;
2045
+ width: 303px;
2046
+ }
2047
+ .tab8 .border_shadow {
2048
+ display: inline-block;
2049
+ vertical-align: top;
2050
+ }
2051
+ .tab8 .border_shadow li {
2052
+ display: inline-block;
2053
+ vertical-align: top;
2054
+ padding-right: 20px;
2055
+ }
2056
+ .tab8 .border_shadow li span {
2057
+ vertical-align: middle;
2058
+ }
2059
+ .tab8 .border_shadow .radio {
2060
+ margin-right: 5px;
2061
+ }
2062
+ .tab8 .sfsi_field .rec-inp {
2063
+ background: #e5e5e5 none repeat scroll 0 0;
2064
+ height: 44px;
2065
+ text-align: center;
2066
+ width: 54px;
2067
+ }
2068
+ .tab8 .pix {
2069
+ color: #5a6570;
2070
+ font-size: 18px;
2071
+ vertical-align: middle;
2072
+ }
2073
+ .tab8 .sfsi_heding.autowidth {
2074
+ width: auto;
2075
+ margin-right: 15px;
2076
+ }
2077
+ .tab8 .sfsi_heding.fixwidth {
2078
+ width: 80px;
2079
+ }
2080
+ .tab8 .small {
2081
+ background-color: #e5e5e5;
2082
+ height: 44px;
2083
+ width: 200px;
2084
+ }
2085
+ .tab8 .small.new-inp {
2086
+ background-color: #e5e5e5;
2087
+ height: 44px;
2088
+ width: 277px;
2089
+ }
2090
+ .tab8 .small.color-code {
2091
+ width: 138px !important;
2092
+ }
2093
+ .tab8 .select-same {
2094
+ border: 1px solid #d6d6d6;
2095
+ height: 47px !important;
2096
+ width: 171px;
2097
+ appearance: none;
2098
+ -moz-appearance: none;
2099
+ -webkit-appearance: none;
2100
+ background-image: url(images/select-arrow.png);
2101
+ background-repeat: no-repeat;
2102
+ background-position: right 15px center;
2103
+ }
2104
+ .sfsi_mainContainer .tab8 .sfsi_same_width {
2105
+ display: inline-block;
2106
+ width: 100px !important;
2107
+ }
2108
+ .sfsi_mainContainer .tab7 .wp-picker-container input {
2109
+ background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
2110
+ border: 1px solid #ccc !important;
2111
+ box-shadow: none !important;
2112
+ float: left !important;
2113
+ height: auto !important;
2114
+ padding: 0 !important;
2115
+ width: auto !important;
2116
+ }
2117
+ .sfsi_mainContainer .tab7 .wp-picker-container input[type="text"] {
2118
+ padding: 3px !important;
2119
+ }
2120
+ .sfsi_mainContainer .tab7 .wp-picker-container input[type="button"] {
2121
+ padding: 0 5px !important;
2122
+ }
2123
+ .sfsi_mainContainer .tab7 .wp-picker-open .wp-picker-input-wrap,
2124
+ .sfsi_mainContainer .tab8 .wp-picker-open .wp-picker-input-wrap {
2125
+ vertical-align: middle !important;
2126
+ }
2127
+ .sfsi_mainContainer .tab7 .wp-color-result,
2128
+ .sfsi_mainContainer .tab8 .wp-color-result {
2129
+ margin: 0 6px 0 0 !important;
2130
+ }
2131
+ .sfsi_mainContainer .tab7 .wp-picker-holder,
2132
+ .sfsi_mainContainer .tab8 .wp-picker-holder {
2133
+ position: absolute !important;
2134
+ z-index: 999;
2135
+ }
2136
+ .sfsi_mainContainer .sfsi_subscribe_Popinner .sfsi_highlight {
2137
+ border: 3px solid red !important;
2138
+ }
2139
+ .sfsi_mainContainer .sfsi_subscription_html xmp {
2140
+ display: block;
2141
+ padding: 0 10px;
2142
+ white-space: pre-line;
2143
+ word-wrap: break-word;
2144
+ }
2145
+ ul.sfsi_floaticon_margin_sec {
2146
+ float: left;
2147
+ width: 600px;
2148
+ }
2149
+ ul.sfsi_floaticon_margin_sec li {
2150
+ float: left;
2151
+ width: 300px;
2152
+ margin-bottom: 20px;
2153
+ }
2154
+ ul.sfsi_floaticon_margin_sec label {
2155
+ float: left;
2156
+ font-size: 17px;
2157
+ padding-right: 20px;
2158
+ width: 65px;
2159
+ }
2160
+ ul.sfsi_floaticon_margin_sec li input {
2161
+ background-color: #E5E5E5;
2162
+ border: medium none;
2163
+ box-shadow: none;
2164
+ padding: 14px 8px;
2165
+ width: 80px;
2166
+ float: left;
2167
+ }
2168
+ ul.sfsi_floaticon_margin_sec li ins {
2169
+ float: left;
2170
+ font-size: 17px;
2171
+ font-weight: 400;
2172
+ margin-left: 15px;
2173
+ text-decoration: none;
2174
+ }
2175
+ .custom-img img,
2176
+ .custom_section img,
2177
+ .custom_iconOrder img,
2178
+ .sample_icons img {
2179
+ width: 51px;
2180
+ }
2181
+ .cstomskins_upload span.sfsi-bgimage {
2182
+ background-size: 51px 51px !important;
2183
+ }
2184
+
2185
+ .sfsi_feedClaimingOverlay h1 {
2186
+ font-size: 22px !important;
2187
+ font-weight: bolder !important;
2188
+ margin-top: 7px !important;
2189
+ }
2190
+ .sfsi_feedClaimingOverlay input[type="email"] {
2191
+ font-size: 16px;
2192
+ margin: 26px 0 0;
2193
+ padding: 10px 0;
2194
+ text-align: center;
2195
+ width: 100%;
2196
+ color: #bebebe !important;
2197
+ box-shadow: none;
2198
+ }
2199
+ .sfsi_feedClaimingOverlay input[type="email"]::-webkit-input-placeholder {
2200
+ color: #bebebe !important;
2201
+ }
2202
+ .sfsi_feedClaimingOverlay input[type="email"]:-moz-placeholder {
2203
+ /* Firefox 18- */
2204
+ color: #bebebe !important;
2205
+ }
2206
+ .sfsi_feedClaimingOverlay input[type="email"]::-moz-placeholder {
2207
+ /* Firefox 19+ */
2208
+ color: #bebebe !important;
2209
+ }
2210
+ .sfsi_feedClaimingOverlay input[type="email"]:-ms-input-placeholder {
2211
+ color: #bebebe !important;
2212
+ }
2213
+ .sfsi_feedClaimingOverlay .save_button {
2214
+ padding: 0 !important;
2215
+ width: 100%;
2216
+ }
2217
+ .sfsi_feedClaimingOverlay .save_button a#getMeFullAccess {
2218
+ border-radius: 4px;
2219
+ font-size: 18px;
2220
+ font-weight: bolder;
2221
+ }
2222
+ .sfsi_feedClaimingOverlay .sfsicloseBtn {
2223
+ right: 8px !important;
2224
+ top: 8px !important;
2225
+ }
2226
+ .sfsi_feedClaimingOverlay p {
2227
+ text-align: center !important;
2228
+ font-size: 12px !important;
2229
+ line-height: 23px !important;
2230
+ padding: 18px 0 0 !important;
2231
+ color: #bebebe !important;
2232
+ }
2233
+ .sfsi_feedClaimingOverlay p a {
2234
+ display: inline-block;
2235
+ font-size: 12px;
2236
+ margin: 0;
2237
+ padding: 0;
2238
+ width: auto;
2239
+ color: #274da3 !important;
2240
+ }
2241
+ .sfsi_feedClaimingOverlay .pop_up_box {
2242
+ padding: 25px 30px !important;
2243
+ width: 435px !important;
2244
+ min-height: 220px;
2245
+ }
2246
+
2247
+ @media (max-width:1160px) {
2248
+ .sfsi_subscription_html xmp {
2249
+ display: block;
2250
+ padding: 0 10px;
2251
+ white-space: pre-line;
2252
+ word-wrap: break-word;
2253
+ }
2254
+ }
2255
+ @media (max-width:1350px) {
2256
+ .tab8 .sfsi_left_container {
2257
+ width: 100% !important;
2258
+ }
2259
+
2260
+ .tab8 .sfsi_right_container {
2261
+ width: 100%;
2262
+ }
2263
+
2264
+ .tab8 .border_shadow {
2265
+ margin-top: 10px;
2266
+ }
2267
+
2268
+ .tab8 .row_tab div.sfsi_field {
2269
+ margin-bottom: 10px;
2270
+ }
2271
+
2272
+ }
2273
+ @media (max-width:770px) {
2274
+ #sfsi_form_heading_fontstyle {
2275
+ margin-left: 19px !important;
2276
+ margin-top: 10px !important;
2277
+ }
2278
+ }
2279
+
2280
+ /* premium plugin features */
2281
+ .tab5 .icons_prem_disc {
2282
+ float: left;
2283
+ padding-top: 20px;
2284
+ }
2285
+ .sfsi_prem_fbpgiddesc {
2286
+ font-size: 14px;
2287
+ padding: 4px 0 0 60px;
2288
+ width: 42%;
2289
+ float: right;
2290
+ line-height: 22px;
2291
+ color: #080808;
2292
+ }
2293
+ .instagram_userLi p.sfsi_shared_premium {
2294
+ float: right;
2295
+ width: 41%;
2296
+ line-height: 20px;
2297
+ color: #1f1d1d;
2298
+ font-size: 13px;
2299
+ }
2300
+ .sfsi_facebook_pagedeasc {
2301
+ font-size: 14px;
2302
+ padding: 15px 0 0 60px;
2303
+ width: 42%;
2304
+ float: right;
2305
+ line-height: 22px;
2306
+ color: #080808;
2307
+ }
2308
+
2309
+ .sf_si_default_design ul li {
2310
+ width: auto !important;
2311
+ display: inline-block;
2312
+ float: none !important;
2313
+ }.sf_si_our_prmium_plugin-add,
2314
+ .sfsi_prem_icons_added {
2315
+ background: #f3faf6;
2316
+ border: 1px solid #12a252;
2317
+ padding: 25px 38px 35px 40px;
2318
+ clear: both;
2319
+ }
2320
+ .sf_si_prmium_head h2 {
2321
+ font-size: 26px;
2322
+ color: #000;
2323
+ font-weight: bold;
2324
+ padding-bottom: 13px;
2325
+ margin-top: 0;
2326
+ }
2327
+
2328
+ .sfsi_new_prmium_follw {
2329
+ background: #f3faf6;
2330
+ border: 1px solid #12a252;
2331
+ padding: 25px 38px 35px 40px;
2332
+ float: left;
2333
+ clear: both;
2334
+ }
2335
+ .notice_custom_icons_premium.sfsi_new_prmium_follw {
2336
+ margin-left: 96px;
2337
+ }
2338
+ .sf_si_default_design ul {
2339
+ padding: 0;
2340
+ margin: 0;
2341
+ }
2342
+ .sf_si_default_design ul li {
2343
+ list-style: none;
2344
+ font-size: 20px;
2345
+ color: #1a1d20;
2346
+ clear: both;
2347
+ }
2348
+ .sfsi_need_another_tell_us,
2349
+ .sfsi_need_another_one_link {
2350
+ clear: both;
2351
+ }
2352
+ .sf_si_all_features_premium a,
2353
+ .sfsi_need_another_tell_us a {
2354
+ color: #12a252 !important;
2355
+ font-size: 18.9px;
2356
+ font-weight: bold;
2357
+ border-bottom: 1px solid #12a252;
2358
+ text-decoration: none;
2359
+ }
2360
+ .sf_si_default_design ul li b {
2361
+ font-weight: bold;
2362
+ }
2363
+ .sf_si_our_prmium_plugin-add .sf_si_prmium_head h2 {
2364
+ padding-bottom: 23px;
2365
+ }
2366
+
2367
+ .sf_si_default_design ul li img {}
2368
+ .sfsi_need_another_one_link p {
2369
+ color: #c1c3c5;
2370
+ font-size: 18.9px !important;
2371
+ }
2372
+ .sfsi_need_another_one_link p a {
2373
+ color: #12a252 !important;
2374
+ text-decoration: none;
2375
+ }
2376
+ .sfsi_brdr_box {
2377
+ box-sizing: border-box;
2378
+ }
2379
+ .sfsi_prem_cmn_rowlisting {
2380
+ width: 225px;
2381
+ float: left;
2382
+ margin-top: 10px;
2383
+ margin-bottom: 1px;
2384
+ }
2385
+ .sfsi_row {
2386
+ clear: both;
2387
+ }
2388
+ .sfsi_prem_cmn_rowlisting span {
2389
+ color: #1a1d20;
2390
+ font-size: 20px;
2391
+ display: table-cell;
2392
+ vertical-align: middle;
2393
+ padding-right: 10px;
2394
+ }
2395
+ .sfsi_need_another_one_link {
2396
+ padding: 23px 0 20px 5px;
2397
+ }
2398
+ .sfsi_need_another_tell_us a {
2399
+ margin-left: 5px;
2400
+ }
2401
+ .sfsi_new_prmium_follw {
2402
+ margin-top: 20px;
2403
+ display: inline-block;
2404
+ padding: 15px 75px 20px 24px;
2405
+ float: left;
2406
+ }
2407
+ .sfsi_new_prmium_follw p {
2408
+ margin: 0 !important;
2409
+ }
2410
+ .sfsi_new_prmium_follw p {
2411
+ color: #1a1d20 !important;
2412
+ font-size: 20px !important;
2413
+ font-family: helveticaregular !important;
2414
+ }
2415
+ .sfsi_new_prmium_follw p a {
2416
+ color: #12a252 !important;
2417
+ text-decoration: none;
2418
+ }
2419
+ .sfsi_new_prmium_follw p b {
2420
+ font-weight: bold;
2421
+ color: #1a1d20 !important;
2422
+ }
2423
+ .sf_si_default_design ul li h4 {
2424
+ color: #1a1d20 !important;
2425
+ font-size: 20px !important;
2426
+ font-weight: bold;
2427
+ padding-bottom: 21px !important;
2428
+ }
2429
+ .sf_si_default_design ul li h4 span {
2430
+ font-weight: normal;
2431
+ }
2432
+ p.sfsi_shared_premium {
2433
+ color: #1a1d20 !important;
2434
+ font-family: helveticaregular !important;
2435
+ padding-top: 0 !important;
2436
+ }
2437
+ p.sfsi_shared_premium a {
2438
+ text-decoration: none;
2439
+ color: #00a0d2 !important;
2440
+ }
2441
+ p.sfsi_shared_premium b {
2442
+ font-weight: bold;
2443
+ }
2444
+ .sfsi_fbpaget {
2445
+ float: left !important;
2446
+ padding: 4px 0 0 0px !important;
2447
+ width: 100% !important;
2448
+ margin-left: 60px;
2449
+ }
2450
+ .sfsi_fbpaget .sfsi_facebook_count {
2451
+ width: 100% !important;
2452
+ padding: 4px 0 0 0px !important;
2453
+ }
2454
+ .sfsi_prem_show a {
2455
+ color: #0c0b0b;
2456
+ margin: 2px;
2457
+ }
2458
+ .sfsi_prem_show {
2459
+ padding-top: 140px !important;
2460
+ }
2461
+ .sf_si_default_design ul li b span {
2462
+ font-weight: normal !important;
2463
+ }
2464
+ p.sfsi_prem_plu_desc a {
2465
+ text-decoration: none;
2466
+ color: #00a0d2 !important;
2467
+ }
2468
+ .sfsi_fb_popup_contain {
2469
+ width: 50%;
2470
+ display: inline-block;
2471
+ }
2472
+ .sfsi_first_icon_field,
2473
+ .sfsi_second_icon_img {
2474
+ display: table-cell;
2475
+ vertical-align: middle;
2476
+ padding: 5px 0;
2477
+ }
2478
+ .sfsi_first_icon_field {
2479
+ width: 125px;
2480
+ }
2481
+ .sfsi_first_icon_field h2 {
2482
+ font-size: 18px !important;
2483
+ color: #1a1d20 !important;
2484
+ margin: 0 !important;
2485
+ font-weight: bold;
2486
+ }
2487
+ .sfsi_first_icon_field p {
2488
+ color: #1a1d20 !important;
2489
+ font-size: 12px !important;
2490
+ margin: 0 !important;
2491
+ padding: 0 !important;
2492
+ line-height: 18px !important;
2493
+ }
2494
+ .sfsi_first_icon_more h2 {
2495
+ font-size: 18px !important;
2496
+ color: #1a1d20 !important;
2497
+ margin: 0 !important;
2498
+ padding-top: 17px;
2499
+ padding-bottom: 22px;
2500
+ }
2501
+ .sfsi_cool_font_weight h2 {
2502
+ font-weight: normal;
2503
+ }
2504
+ .sf_si_default_design ul li {
2505
+ margin: 0 !important;
2506
+ }
2507
+ .sf_si_default_design ul li h4.sfsi_second_themedTitle {
2508
+ padding-bottom: 16px !important;
2509
+ }
2510
+ .sfsi_mainContainer .sfsi_prem_cmn_rowlisting img {
2511
+ width: 52px;
2512
+ height: 52px;
2513
+ }
2514
+ .sfsi_icons_other_allign {
2515
+ width: auto;
2516
+ color: #5a6570;
2517
+ text-align: left;
2518
+ font-family: 'helveticaneue-light';
2519
+ font-size: 17px;
2520
+ line-height: 26px;
2521
+ }
2522
+
2523
+ /* new notification bar css*/
2524
+
2525
+ .sfsi_new_notification {
2526
+ background-color: #fff;
2527
+ border: 4px dashed #00c853;
2528
+ margin-bottom: 30px;
2529
+ width: 100%;
2530
+ }
2531
+ .sfsi_new_notification_header {
2532
+ background-color: #e8faef;
2533
+ display: -webkit-box;
2534
+ display: -webkit-flex;
2535
+ display: -ms-flexbox;
2536
+ display: flex;
2537
+ -webkit-box-align: center;
2538
+ -webkit-align-items: center;
2539
+ -ms-flex-align: center;
2540
+ align-items: center;
2541
+ -webkit-box-pack: justify;
2542
+ -webkit-justify-content: space-between;
2543
+ -ms-flex-pack: justify;
2544
+ justify-content: space-between;
2545
+ padding: 10px 0 12px 0;
2546
+ }
2547
+ .sfsi_new_notification_header h1 {
2548
+ margin: 0;
2549
+ color: #00c853;
2550
+ font-size: 18px;
2551
+ margin: 0 auto;
2552
+ font-family: Arial, Helvetica, sans-serif;
2553
+ }
2554
+ .sfsi_new_notification_header h1 a {
2555
+ margin: 0;
2556
+ color: #00c853;
2557
+ font-size: 18px;
2558
+ margin: 0 auto;
2559
+ font-family: Arial, Helvetica, sans-serif;
2560
+ text-decoration: none;
2561
+ }
2562
+ .sfsi_new_notification_cross {
2563
+ float: right;
2564
+ font-size: 18px;
2565
+ font-weight: 700;
2566
+ line-height: 1;
2567
+ color: #00c853;
2568
+ font-family: Arial, Helvetica, sans-serif;
2569
+ margin-right: 15px;
2570
+ cursor: pointer;
2571
+ }
2572
+ .sfsi_new_notification_body {
2573
+ width: 100%;
2574
+ background-color: #fff;
2575
+ display: -webkit-box;
2576
+ display: -webkit-flex;
2577
+ display: -ms-flexbox;
2578
+ display: flex;
2579
+ -webkit-box-align: center;
2580
+ -webkit-align-items: center;
2581
+ -ms-flex-align: center;
2582
+ align-items: center;
2583
+ -webkit-box-pack: justify;
2584
+ -webkit-justify-content: space-between;
2585
+ -ms-flex-pack: justify;
2586
+ justify-content: space-between;
2587
+ }
2588
+ .sfsi_new_notification_image {
2589
+ margin: 0 20px 0px 20px;
2590
+ width: 100%;
2591
+ text-align: center;
2592
+ overflow: hidden;
2593
+ }
2594
+ .sfsi_new_notification_image img {
2595
+ width: auto;
2596
+ }
2597
+ .sfsi_new_notification_learnmore {
2598
+ float: right;
2599
+ }
2600
+ .sfsi_new_notification_learnmore {
2601
+ background-color: #00c853;
2602
+ display: block;
2603
+ text-decoration: none;
2604
+ text-align: center;
2605
+ font-size: 20px;
2606
+ font-family: Arial, Helvetica, sans-serif;
2607
+ width: 150px;
2608
+ margin-bottom: -4px;
2609
+ margin-right: -4px;
2610
+ position: relative;
2611
+ color: #fff;
2612
+ padding: 70px 10px;
2613
+ }
2614
+ .sfsi_new_notification_body_link a {
2615
+ display: block;
2616
+ text-decoration: none;
2617
+ text-align: center;
2618
+ font-size: 20px;
2619
+ font-family: Arial, Helvetica, sans-serif;
2620
+ color: #fff;
2621
+ }
2622
+ .tab4 .sfsi_tokenGenerateButton {
2623
+ margin: 25px 0;
2624
+ }
2625
+ .tab4 .sfsi_tokenGenerateButton p {
2626
+ display: inline-block;
2627
+ margin-bottom: 11px;
2628
+ vertical-align: middle;
2629
+ width: 100%;
2630
+ }
2631
+ .tab4 .sfsi_tokenGenerateButton a {
2632
+ background-color: #12a252;
2633
+ color: #fff;
2634
+ padding: 10px 20px;
2635
+ text-decoration: none;
2636
+ }
2637
+
2638
+ .tab4 .sfsi_instagramFields {
2639
+ float: left;
2640
+ margin-bottom: 12px;
2641
+ /* width: 550px;*/
2642
+ width: 50%;
2643
+ margin-left: 60px;
2644
+ }
2645
+
2646
+ .tab4 .sfsi_instagramInstruction {
2647
+ float: left;
2648
+ margin-bottom: 12px;
2649
+ /* width: 450px; */
2650
+ width: 40%;
2651
+ margin-left: 30px;
2652
+ }
2653
+ #accordion1 p {
2654
+ color: #5a6570;
2655
+ text-align: left;
2656
+ font-family: 'helveticaneue-light';
2657
+ font-size: 17px;
2658
+ line-height: 26px;
2659
+ padding-top: 19px;
2660
+ }
2661
+ .specify_counts .listing .sfsi_instagramInstruction ul {
2662
+ margin: 0;
2663
+ padding: 0;
2664
+ list-style: none;
2665
+ text-align: left;
2666
+ }
2667
+ .specify_counts .listing .sfsi_instagramInstruction ul {
2668
+ padding-left: 14px !important;
2669
+ }
2670
+ .specify_counts .listing .sfsi_instagramInstruction li {
2671
+ font-size: 13px !important;
2672
+ line-height: 20px !important;
2673
+ list-style: outside none bullets !important;
2674
+ margin-top: 5px !important;
2675
+ padding: 0 !important;
2676
+ }
2677
+ /* tab2 email section */
2678
+ .sfsi_service_row {
2679
+ margin-right: -15px;
2680
+ margin-left: -15px;
2681
+ }
2682
+ .sfsi_service_column {
2683
+ float: left;
2684
+ margin-bottom: 40px;
2685
+ margin-top: 15px;
2686
+ padding-left: 30px;
2687
+ width: 47%;
2688
+ }
2689
+ .sfsi_service_column ul {
2690
+ margin-left: 11% !important;
2691
+ }
2692
+ .sfsi_service_column ul li {
2693
+ padding-bottom: 10px;
2694
+ font-size: 16px;
2695
+ line-height: 25px;
2696
+ }
2697
+ .sfsi_service_column ul li span {
2698
+ color: #12a252;
2699
+ }
2700
+ .sfsi_service_column ul li::before {
2701
+ content: url(../images/tick-icon.png);
2702
+ position: relative;
2703
+ top: 0px;
2704
+ right: 10px;
2705
+ text-indent: -22px;
2706
+ float: left;
2707
+ }
2708
+ .sfsi_inputbtn {
2709
+ clear: both;
2710
+ display: block;
2711
+ }
2712
+ .sfsi_inputbtn input {
2713
+ width: 100%;
2714
+ padding: 15px 0px;
2715
+ text-align: center;
2716
+ margin-bottom: 10px;
2717
+ }
2718
+ .sfsi_email_services_text {
2719
+ clear: both;
2720
+ }
2721
+ .sfsi_email_services_paragraph {
2722
+ width: 600px;
2723
+ float: left;
2724
+ margin-top: 10px;
2725
+ margin-bottom: 40px;
2726
+ }
2727
+ .sfsi_more_services_link a {
2728
+ background-color: #12a252;
2729
+ color: #fff !important;
2730
+ padding: 20px 0px;
2731
+ text-decoration: none;
2732
+ text-align: center;
2733
+ font-size: 20px;
2734
+ display: block;
2735
+ clear: both;
2736
+ font-weight: bold;
2737
+ }
2738
+ .sfsi_subscribe_popbox_link a {
2739
+ color: #00a0d2 !important;
2740
+ }
2741
+ .sfsi_email_services_paragraph ul {
2742
+ margin-left: 11% !important;
2743
+ }
2744
+ .sfsi_email_services_paragraph ul li {
2745
+ padding-bottom: 10px;
2746
+ font-size: 16px;
2747
+ }
2748
+ .sfsi_email_services_paragraph ul li span {
2749
+ color: #12a252;
2750
+ }
2751
+ .sfsi_email_services_paragraph ul li::before {
2752
+ content: url(../images/tick-icon.png);
2753
+ position: relative;
2754
+ top: 5px;
2755
+ right: 10px;
2756
+ text-indent: -22px;
2757
+ float: left;
2758
+ }
2759
+ .sfsi_email_last_paragraph {
2760
+ width: 60%;
2761
+ text-align: center !important;
2762
+ margin: 20px auto ! important;
2763
+ font-size: 16px !important;
2764
+ color: #a4a9ad !important;
2765
+ padding-top: 0 !important;
2766
+ }
2767
+ .sfsi_email_last_paragraph a {
2768
+ color: #12a252 !important;
2769
+ font-family: 'helveticaneue-light' !important;
2770
+ }
2771
+ /*new banner styles*/
2772
+ .sfsi_new_notification_cat {
2773
+ width: 100%;
2774
+ min-height: 300px;
2775
+ max-width: 700px;
2776
+ }
2777
+ .sfsi_new_notification_cat {
2778
+ background-color: #fff;
2779
+ margin: 30px auto;
2780
+ width: 100%;
2781
+ }
2782
+ .sfsi_new_notification_header_cat {
2783
+ background-color: #e8faef;
2784
+ /*display: -webkit-box;
2785
+ display: -webkit-flex;
2786
+ display: -ms-flexbox;
2787
+ display: flex;
2788
+ -webkit-box-align: center;
2789
+ -webkit-align-items: center;
2790
+ -ms-flex-align: center;
2791
+ align-items: center;
2792
+ -webkit-box-pack: justify;
2793
+ -webkit-justify-content: space-between;
2794
+ -ms-flex-pack: justify;
2795
+ justify-content: space-between;*/
2796
+ padding: 21px 0 21px 0;
2797
+ text-align: center;
2798
+ }
2799
+ .sfsi_new_notification_header_cat h1 {
2800
+ margin: 0;
2801
+ color: #000000;
2802
+ font-size: 24px;
2803
+ margin: 0 auto;
2804
+ font-family: Arial, Helvetica, sans-serif;
2805
+ font-weight: bold;
2806
+ }
2807
+ .sfsi_new_notification_header_cat h3 {
2808
+ margin-top: 10px;
2809
+ font-size: 16px;
2810
+ color: #000000;
2811
+ }
2812
+ .sfsi_new_notification_header_cat h3 a {
2813
+ text-decoration: none;
2814
+ color: #38B54A
2815
+ }
2816
+ .sfsi_new_notification_header_cat h1 a {
2817
+ margin: 0;
2818
+ color: #00c853;
2819
+ font-size: 18px;
2820
+ margin: 0 auto;
2821
+ font-family: Arial, Helvetica, sans-serif;
2822
+ text-decoration: none;
2823
+ }
2824
+ .sfsi_new_notification_cross_cat {
2825
+ float: right;
2826
+ font-size: 18px;
2827
+ font-weight: 700;
2828
+ line-height: 1;
2829
+ color: #000000;
2830
+ font-family: Arial, Helvetica, sans-serif;
2831
+ margin-right: 15px;
2832
+ cursor: pointer;
2833
+ margin-top: -50px;
2834
+ }
2835
+ .sfsi_new_notification_body_link_cat a {
2836
+ display: block;
2837
+ text-decoration: none;
2838
+ text-align: center;
2839
+ font-size: 20px;
2840
+ font-family: Arial, Helvetica, sans-serif;
2841
+ color: #fff;
2842
+ }
2843
+ .sfsi_new_notification_body_cat {
2844
+ width: 100%;
2845
+ background-color: #fff;
2846
+ /*display: -webkit-box;
2847
+ display: -webkit-flex;
2848
+ display: -ms-flexbox;
2849
+ display: flex;
2850
+ -webkit-box-align: center;
2851
+ -webkit-align-items: center;
2852
+ -ms-flex-align: center;
2853
+ align-items: center;
2854
+ -webkit-box-pack: justify;
2855
+ -webkit-justify-content: space-between;
2856
+ -ms-flex-pack: justify;
2857
+ justify-content: space-between;*/
2858
+ }
2859
+ .sfsi_new_notification_image_cat {
2860
+ /* margin: 0 20px 0px 20px; */
2861
+ width: 100%;
2862
+ text-align: center;
2863
+ overflow: hidden;
2864
+ /*padding: 10px 0px;*/
2865
+ }
2866
+ .sfsi_new_notification_image_cat img {
2867
+ width: auto;
2868
+ border: 0;
2869
+ vertical-align: middle;
2870
+ }
2871
+ .bottom_text {
2872
+ background: #38B54A;
2873
+ text-align: center;
2874
+ padding: 15px 0px;
2875
+ font-size: 18px;
2876
+ font-weight: bold;
2877
+ color: #fff;
2878
+ }
2879
+ .sfsi_new_notification_image_cat p {
2880
+ color: #000000;
2881
+ padding: 10px;
2882
+ font-size: 16px;
2883
+ }
2884
+ .sfsi_new_notification_body_link_cat .tailored_icons_img {
2885
+ display: block;
2886
+ text-decoration: none;
2887
+ text-align: center;
2888
+ font-size: 20px;
2889
+ font-family: Arial, Helvetica, sans-serif;
2890
+ color: #fff;
2891
+ margin: 28px 0px;
2892
+ }
2893
+ /**curl error box*/
2894
+ .sfsi_curlerror {
2895
+ margin: 0px 0px 10px 94px;
2896
+ background: rgba(244, 67, 54, 0.08);
2897
+ padding: 20px;
2898
+ line-height: 20px;
2899
+ }
2900
+ .sfsi_curlerrorNotification .sfsi_curlerror {
2901
+ background: rgba(244, 67, 54, 0.08);
2902
+ padding: 20px;
2903
+ line-height: 20px;
2904
+ margin: 0px 0px 10px 0px;
2905
+ }
2906
+ .sfsi_curlerror_cross {
2907
+ float: right;
2908
+ text-decoration: underline;
2909
+ margin-top: 10px;
2910
+ }
2911
+ .sfsi_curlerrortab4 a {
2912
+ color: #0073aa !important;
2913
+ }
2914
+ .sfsi_curlerror a {
2915
+ color: #0073aa !important;
2916
+ }
2917
+
2918
+ .social_data_post_types {
2919
+ float: left;
2920
+ width: 100%;
2921
+ margin-top: 10px;
2922
+ }
2923
+ .social_data_post_types .checkbox {
2924
+ float: left;
2925
+ margin-top: 5px;
2926
+ margin-right: 5px;
2927
+ }
2928
+ .social_data_post_types ul {
2929
+ float: left;
2930
+ margin-top: 5px;
2931
+ }
2932
+ .social_data_post_types li {
2933
+ float: left;
2934
+ min-width: 90px;
2935
+ }
2936
+ .social_data_post_types .radio_section.tb_4_ck {
2937
+ float: left;
2938
+ margin-right: 5px;
2939
+ }
2940
+ .social_data_post_types .radio_section.tb_4_ck .cstmdsplsub {
2941
+ font-size: 16px;
2942
+ }
2943
+ .social_data_post_types ul {
2944
+ float: left;
2945
+ width: 84%;
2946
+ }
2947
+ .social_data_post_types .radio_section.tb_4_ck input.styled {
2948
+ margin-top: 20px;
2949
+ }
2950
+ ul.sfsi_show_hide_section {
2951
+ float: right;
2952
+ width: 16%;
2953
+ }
2954
+
2955
+ .sfsi_social_sharing {
2956
+ margin-bottom: 15px;
2957
+ float: left;
2958
+ width: 51%;
2959
+ }
2960
+ .socialPostTypesUl span {
2961
+ pointer-events: none
2962
+ }
2963
+ .bannerPopupQue6 {
2964
+ width: 98% !important;
2965
+ float: left !important;
2966
+ padding: 15px !important;
2967
+ }
2968
+ .pinterest_section .sfsi_new_prmium_follw a {
2969
+ font-weight: bold !important;
2970
+ }
2971
+ #accordion,
2972
+ #accordion1 {
2973
+ float: left;
2974
+ clear: both;
2975
+ width: 100%;
2976
+ }
2977
+ h2.optional {
2978
+ float: left;
2979
+ clear: both;
2980
+ margin-top: 25px !important;
2981
+ }
2982
+
2983
+ /*support forum*/
2984
+ .welcometext {
2985
+ float: left;
2986
+ width: 72%;
2987
+ }
2988
+ .welcometext p {
2989
+ margin-bottom: 8px !important;
2990
+ margin-top: 15px !important;
2991
+ font-size: 16px;
2992
+ }
2993
+ .supportforum {
2994
+ float: right;
2995
+ width: auto;
2996
+ background: #fff;
2997
+ text-align: center;
2998
+ padding: 0 20px 3px 7px;
2999
+ }
3000
+ .support-container p {
3001
+ font-family: helveticaregular !important;
3002
+ }
3003
+ .support-container {
3004
+ padding: 7px 4px;
3005
+ }
3006
+ .have-questions {
3007
+ text-align: center;
3008
+ font-size: 20px;
3009
+ }
3010
+ .have-questions img {
3011
+ width: 45px;
3012
+ display: inline-block;
3013
+ }
3014
+ .have-questions .have-quest {
3015
+ display: inline-block;
3016
+ font-size: 20px;
3017
+ font-weight: 700;
3018
+ margin: 0;
3019
+ vertical-align: sub;
3020
+ }
3021
+ .have-questions .ask-question {
3022
+ margin-bottom: 3px !important;
3023
+ margin-top: 2px !important;
3024
+ }
3025
+ .support-forum-green-bg {
3026
+ margin-top: 5px;
3027
+ margin-left: 20px;
3028
+ background: #26B654;
3029
+ width: 145px;
3030
+ border-radius: 5px;
3031
+ padding: 10px 16px 8px 15px;
3032
+ }
3033
+ .support-forum-green-bg img {
3034
+ display: inline-block;
3035
+ padding-right: 5px;
3036
+ }
3037
+ .support-forum-green-div p.support-forum {
3038
+ display: inline-block;
3039
+ color: #fff;
3040
+ font-weight: 700;
3041
+ margin: 0 !important;
3042
+ }
3043
+ .support-forum-green-div a {
3044
+ text-decoration: none !important;
3045
+ }
3046
+ .respond-text p {
3047
+ margin: 10px 0 0 0px !important
3048
+ }
3049
+ .respond-text {
3050
+ margin-left: 20px;
3051
+ float: left;
3052
+ margin-bottom: 8px;
3053
+ }
3054
+
3055
+ @media (min-width: 1631px) and (max-width: 1631px) {
3056
+ .premiumComponent {
3057
+ width: 52% !important;
3058
+ }
3059
+ .premiumButtonsContainer {
3060
+ width: 44% !important;
3061
+ }
3062
+ .premiumButtonsContainer .premiumSection2 {
3063
+ width: 41% !important;
3064
+ }
3065
+ .premiumButtonsContainer .premiumSection3 {
3066
+ width: 41% !important;
3067
+ }
3068
+ }
3069
+
3070
+ /************************************ Question 3-> Where shall they be displayed? CSS STARTS *************************/
3071
+ .tab9 h1 {
3072
+ font-size: 20px !important;
3073
+ font-weight: bold !important;
3074
+ margin-bottom: 20px !important;
3075
+ }
3076
+ .tab9 span.checkbox {
3077
+ margin-top: 3px;
3078
+ }
3079
+ .tab9 input {
3080
+ width: 317px;
3081
+ background: #e5e5e5;
3082
+ box-shadow: 2px 2px 3px #dcdcdc inset;
3083
+ border: 0;
3084
+ padding: 13px 10px !important;
3085
+ font-size: 17px;
3086
+ color: #5a6570;
3087
+ }
3088
+ .tab9 ul.sfsi_icn_listing8 {
3089
+ list-style: outside none none;
3090
+ margin: 5px 0 0;
3091
+ overflow: hidden;
3092
+ }
3093
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_right_info {
3094
+ font-family: helveticaregular;
3095
+ width: 94.7%;
3096
+ float: left;
3097
+ }
3098
+ .tab9 ul.sfsi_icn_listing8 li {
3099
+ float: left;
3100
+ padding: 11px 0 15px 0;
3101
+ width: 100%;
3102
+ margin: 0;
3103
+ }
3104
+ .tab9 .sfsi_float_position_icon_label img {
3105
+ margin-left: auto;
3106
+ margin-right: auto;
3107
+ display: block;
3108
+ margin-top: 7px;
3109
+ }
3110
+ .tab9 .sfsi_float_position_icon_label img.sfsi_img_center_bottom {
3111
+ position: absolute;
3112
+ bottom: 0px;
3113
+ left: 18%;
3114
+ }
3115
+ .tab9 .sfsiLocationli .cstmfltonpgstck p {
3116
+ padding-top: 5px !important;
3117
+ padding-left: 20px !important;
3118
+ display: table;
3119
+ font-size: 19px !important
3120
+ }
3121
+ .sfsi_mainContainer .checkbox {
3122
+ float: left;
3123
+ }#accordion .tab9 .sfsi_icn_listing8 li .sfsi_right_info .kckslctn p:first-child {
3124
+ margin-top: 17px !important;
3125
+ }
3126
+ #accordion .tab9 .sfsi_icn_listing8 li .sfsi_right_info p {
3127
+ padding-left: 20px;
3128
+ font-size: 19px !important;
3129
+ display: table
3130
+ }
3131
+ #accordion .tab9 .sfsi_icn_listing8 li.sfsi_show_via_afterposts .sfsi_right_info p{
3132
+ font-size: 18px!important;
3133
+ }
3134
+ #accordion .tab9 .sfsi_icn_listing8 li.sfsi_show_via_shortcode .sfsi_right_info p:last-child {
3135
+ padding-top: 0px;
3136
+ }
3137
+ #accordion .tab9 .sfsi_icn_listing8 li.sfsi_show_via_shortcode .sfsi_right_info .kckslctn p:last-child {
3138
+ padding-top: 19px !important;
3139
+ }
3140
+ .tab9 .sfsi_feature_note {
3141
+ font-size: 18px !important;
3142
+ margin-left: 12px !important;
3143
+ padding-top: 0px !important;
3144
+ }
3145
+ .tab9 .ul.sfsi_make_icons.sfsi_mobile_float {
3146
+ float: left;
3147
+ }
3148
+ .tab9 .sfsi_disable_floatingicons_mobile {
3149
+ width: 88%;
3150
+ float: left;
3151
+ margin: 25px 0 0 27px
3152
+ }
3153
+ .tab9 .sfsi_disable_floatingicons_mobile h4 {
3154
+ float: left;
3155
+ line-height: 56px !important;
3156
+ margin-right: 40px !important;
3157
+ font-family: 'helveticaneue-light' !important;
3158
+ color: #5a6570 !important;
3159
+ }
3160
+ .tab9 .sfsi_toglepstpgspn {
3161
+ font-weight: bold;
3162
+ }
3163
+ .tab9 .sfsi_show_via_shortcode .kckslctn,
3164
+ .tab9 .sfsi_show_via_afterposts .kckslctn {
3165
+ font-size: 15px;
3166
+ margin-top: 5px;
3167
+ }
3168
+ .tab9 .sfsi_show_via_shortcode .kckslctn h4,
3169
+ .tab9 .sfsi_show_via_afterposts .kckslctn h4 {
3170
+ font-size: 18px !important;
3171
+ padding: 18px 0 0 0 !important;
3172
+ }
3173
+ .tab9 .sfsi_navigate_to_question7 {
3174
+ text-decoration: underline;
3175
+ cursor: pointer
3176
+ }
3177
+ .tab9 .sfsiLocationli h4 {
3178
+ font-size: 19px !important
3179
+ }
3180
+ .tab9 .sfsi_make_icons span.radio {
3181
+ background-position: 0 0;
3182
+ display: inline-block;
3183
+ vertical-align: middle;
3184
+ float: left;
3185
+ }
3186
+ .tab9 ul.sfsi_icn_listing8 li .flthmonpg li {
3187
+ min-width: 33%;
3188
+ width: 33% !important
3189
+ }
3190
+
3191
+ . .tab9 .radio_section.tb_4_ck {
3192
+ margin: 0 20px 0 0 !important;
3193
+ float: left
3194
+ }
3195
+ .tab9 .sfsi_tab_3_icns {
3196
+ display: block;
3197
+ }
3198
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns .sfsi_make_icons li {
3199
+ width: 13%;
3200
+ min-width: 35px
3201
+ }
3202
+ .tab9 .sfsi_make_icons .sfsi_flicnsoptn3 {
3203
+ color: #69737c;
3204
+ display: inline-block;
3205
+ float: none;
3206
+ font-family: helveticaneue-light;
3207
+ font-size: 20px;
3208
+ margin: 7px 0 0 15px;
3209
+ vertical-align: middle;
3210
+ width: auto
3211
+ }
3212
+ .tab9 .sfsi_float_position_icon_label {
3213
+ border: 1px solid #ccc;
3214
+ border-radius: 18px;
3215
+ margin-top: 3px;
3216
+ position: relative;
3217
+ width: 189px;
3218
+ height: 148px
3219
+ }
3220
+ .tab9 .save_button {
3221
+ padding-top: 0
3222
+ }
3223
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns li {
3224
+ padding-left: 0;
3225
+ padding-bottom: 15px
3226
+ }
3227
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns ul.sfsi_floaticon_margin_sec li {
3228
+ min-width: 50%;
3229
+ padding-left: 0;
3230
+ padding-bottom: 15px;
3231
+ float: left;
3232
+ width: 50%
3233
+ }
3234
+ .tab9 .sfsi_tab_3_icns.flthmonpg .radio {
3235
+ margin-top: 55px
3236
+ }
3237
+ .tab9 .sfsi_position_divider {
3238
+ float: left;
3239
+ margin-top: 0;
3240
+ margin-left: 15px;
3241
+ width: 100%
3242
+ }
3243
+ #accordion .tab9 ul.shwthmbfraftr .labelhdng4,
3244
+ #accordion .tab9 ul.shwthmbfraftr .row h4.labelhdng4 {
3245
+ color: #555;
3246
+ font-size: 20px;
3247
+ margin-left: 20px;
3248
+ font-family: helveticaregular
3249
+ }
3250
+ .tab9 .sfsiLocationli .sfsi_right_info .sfsi_tab_3_icns {
3251
+ float: left;
3252
+ clear: both
3253
+ }
3254
+ .tab9 ul.sfsi_tab_3_icns li .icns_tab_3,
3255
+ ul.sfsi_tab_3_icns li .radio {
3256
+ float: left
3257
+ }
3258
+ .tab9 ul.sfsi_tab_3_icns.flthmonpg {
3259
+ margin-top: 20px
3260
+ }
3261
+ .tab9 .sfsi_right_info ul.sfsi_floaticon_margin_sec li {
3262
+ float: left
3263
+ }
3264
+ .tab9 .sfsi_right_info ul.sfsi_floaticon_margin_sec label {
3265
+ font-size: 17px;
3266
+ padding-right: 7px;
3267
+ width: 63px !important;
3268
+ display: inline-block;
3269
+ margin-top: 10px
3270
+ }
3271
+ .tab9 .sfsi_right_info ul.sfsi_floaticon_margin_sec ins {
3272
+ margin-top: 10px
3273
+ }
3274
+ .tab9 .sfsi_right_info ul.sfsi_floaticon_margin_sec li input {
3275
+ background-color: #dedede;
3276
+ border: none;
3277
+ box-shadow: none;
3278
+ padding: 14px 8px;
3279
+ width: 80px
3280
+ }
3281
+ .tab9 .sfsi_right_info ul.sfsi_floaticon_margin_sec li ins {
3282
+ font-size: 17px;
3283
+ font-weight: 400;
3284
+ margin-left: 15px;
3285
+ text-decoration: none
3286
+ }
3287
+ .tab9 .sfsi_flicnsoptn3 {
3288
+ color: #69737c;
3289
+ float: left;
3290
+ font-size: 20px;
3291
+ margin: 62px 5px 0 20px;
3292
+ font-family: helveticaneue-light;
3293
+ width: 136px
3294
+ }
3295
+ .tab9 ul.sfsi_tab_3_icns label {
3296
+ float: left;
3297
+ line-height: 42px;
3298
+ color: #69737C;
3299
+ font-size: 18px;
3300
+ font-family: helveticaregular;
3301
+ min-width: 120px
3302
+ }
3303
+
3304
+ @media screen and (max-width: 823px) {
3305
+ .wapper {
3306
+ padding: 0 15px;
3307
+ }
3308
+ .welcometext {
3309
+ width: 62% !important;
3310
+ }
3311
+ .supportforum {
3312
+ margin-top: 22px;
3313
+ }
3314
+ .main_contant h1 {
3315
+ line-height: 35px;
3316
+ }
3317
+ #sfpageLoad {
3318
+ width: 100% !important;
3319
+ left: 0px !important;
3320
+ }
3321
+ .tab9 .sfsi_position_divider {
3322
+ margin-left: 0px !important;
3323
+ }
3324
+ .row ul.tab_2_email_sec li {
3325
+ width: 31%;
3326
+ }
3327
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_right_info {
3328
+ width: 89.7% !important;
3329
+ }
3330
+ .tab9 ul.sfsi_icn_listing8 li.sfsiLocationli .sfsi_right_info {
3331
+ width: 100% !important;
3332
+ }
3333
+ .tab9 .sfsi_float_position_icon_label {
3334
+ clear: both !important;
3335
+ }
3336
+ .tab9 .sfsi_tab_3_icns.flthmonpg .radio {
3337
+ margin-top: 0px !important;
3338
+ }
3339
+ .tab9 .sfsi_flicnsoptn3 {
3340
+ margin: 5px 5px 0 20px !important;
3341
+ width: 131px !important;
3342
+ }
3343
+ .tab9 .sfsiLocationli label,
3344
+ .tab9 .sfsi_float_position_icon_label {
3345
+ margin-top: 13px;
3346
+ clear: both !important;
3347
+ }
3348
+ .tab9 .sfsi_position_divider:nth-child(2) {
3349
+ margin: 20px 0;
3350
+ }
3351
+ .tab9 ul.sfsi_tab_3_icns.flthmonpg {
3352
+ margin-left: 44px;
3353
+ }
3354
+
3355
+ .tab9 ul.sfsi_make_icons.sfsi_mobile_float {
3356
+ float: left;
3357
+ clear: both;
3358
+ }
3359
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns .sfsi_make_icons li {
3360
+ width: 50% !important;
3361
+ }
3362
+ }
3363
+ @media screen and (min-width: 360px) and (max-width: 414px) {
3364
+ .tab9 ul.sfsi_icn_listing8 li .flthmonpg li {
3365
+ width: 100% !important;
3366
+ }
3367
+ }
3368
+ @media screen and (min-width: 640px) and (max-width: 640px) {
3369
+ .tab9 ul.sfsi_icn_listing8 li .flthmonpg li {
3370
+ width: 100% !important;
3371
+ }
3372
+ .tab9 .sfsi_img_center_bottom {
3373
+ padding-top: 0px !important;
3374
+ width: 62% !important;
3375
+ margin-top: -10px;
3376
+ margin-left: 5px;
3377
+ }
3378
+ }
3379
+ @media screen and (min-width: 1024px) and (max-width: 1024px) {
3380
+ .wapper {
3381
+ padding: 0 30px 0px 15px;
3382
+ }
3383
+ .welcometext {
3384
+ width: 62% !important;
3385
+ }
3386
+ .supportforum {
3387
+ margin-top: 22px;
3388
+ }
3389
+ .main_contant h1 {
3390
+ line-height: 35px;
3391
+ }
3392
+ #sfpageLoad {
3393
+ width: 100% !important;
3394
+ }
3395
+ .tab9 ul.sfsi_tab_3_icns.flthmonpg {
3396
+ margin-left: 45px;
3397
+ }
3398
+ .row ul.tab_2_email_sec li {
3399
+ width: 31%;
3400
+ }
3401
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_right_info {
3402
+ width: 90.7% !important;
3403
+ }
3404
+ .tab9 ul.sfsi_icn_listing8 li.sfsiLocationli .sfsi_right_info {
3405
+ width: 100% !important;
3406
+ }
3407
+ .tab9 .sfsi_float_position_icon_label {
3408
+ clear: both !important;
3409
+ }
3410
+ .tab9 .sfsiLocationli label,
3411
+ .tab9 .sfsi_float_position_icon_label {
3412
+ margin-top: 13px;
3413
+ clear: both;
3414
+ float: left;
3415
+ }
3416
+ .tab9 .sfsi_tab_3_icns.flthmonpg .radio {
3417
+ margin-top: 0px !important;
3418
+ }
3419
+ .tab9 .sfsi_flicnsoptn3 {
3420
+ margin-top: 3px !important
3421
+ }
3422
+ .tab9 .sfsi_position_divider:nth-child(2) {
3423
+ margin: 20px 0;
3424
+ }
3425
+ .tab9 .sfsi_position_divider {
3426
+ margin-left: 0px !important;
3427
+ }
3428
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns .sfsi_make_icons li {
3429
+ width: 30% !important;
3430
+ }
3431
+ .tab9 ul.sfsi_make_icons.sfsi_mobile_float {
3432
+ width: 100% !important;
3433
+ }
3434
+ }
3435
+
3436
+ @media screen and (min-width: 1080px) and (max-width: 1080px) {
3437
+ .tab9 ul.sfsi_tab_3_icns label {
3438
+ clear: both;
3439
+ margin-top: 20px;
3440
+ }
3441
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns ul.sfsi_make_icons {
3442
+ float: left;
3443
+ clear: both;
3444
+ width: 100%;
3445
+ }
3446
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns ul.sfsi_make_icons li {
3447
+ width: 50%;
3448
+ }
3449
+ }
3450
+
3451
+ @media screen and (min-width: 1920px) and (max-width: 1920px) {
3452
+ .tab9 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns ul.sfsi_make_icons li span.sfsi_flicnsoptn3 {
3453
+ padding-top: 6px;
3454
+ padding-left: 5px;
3455
+ }
3456
+ }
3457
+
3458
+ @media screen and (min-width: 1366px) and (max-width: 1366px) {
3459
+ .wapper {
3460
+ padding: 40px 40px 40px 10px;
3461
+ }
3462
+ .tab9 ul.sfsi_icn_listing8 li.sfsiLocationli .sfsi_right_info {
3463
+ width: 100% !important;
3464
+ }
3465
+ .tab9 .sfsi_flicnsoptn3 {
3466
+ font-size: 18px !important;
3467
+ min-width: 113px !important;
3468
+ margin: 60px 0px 0 10px !important;
3469
+ width: auto !important;
3470
+ }
3471
+ .tab9 .sfsi_position_divider {
3472
+ margin-left: 0px !important;
3473
+ }
3474
+ }
3475
+ /************************************ Question 3-> Where shall they be displayed? CSS CLOSES *************************/
3476
+
3477
+ /* Link to support forum left of every Save button */
3478
+ .ui-accordion .ui-accordion-content {
3479
+ position: relative;
3480
+ }
3481
+ .sfsi_askforhelp {
3482
+ float: left;
3483
+ width: 32%;
3484
+ position: absolute;
3485
+ bottom: 30px;
3486
+ }
3487
+ .sfsi_askforhelp img {
3488
+ float: left;
3489
+ width: 35px;
3490
+ height: 35px;
3491
+ vertical-align: middle;
3492
+ }
3493
+ .sfsi_askforhelp span {
3494
+ float: left;
3495
+ margin-left: 6px;
3496
+ margin-top: 8px;
3497
+ }
3498
+ .askhelpInview2 {
3499
+ bottom: 25px;
3500
+ }
3501
+ .askhelpInview3 {
3502
+ bottom: 38px;
3503
+ }
3504
+ .askhelpInview7 {
3505
+ bottom: 50px;
3506
+ }
3507
+
3508
+ div#sfsi_langnotice,
3509
+ div#sfsi_addThis_removal_notice,
3510
+ div#sfsi_error_reporting_notice {
3511
+ padding: 10px;
3512
+ margin-left: 0px;
3513
+ position: relative;
3514
+ }
3515
+
3516
+ .clear {
3517
+ clear: both;
3518
+ }
3519
+ .show {
3520
+ display: block;
3521
+ }
3522
+ .hide {
3523
+ display: none;
3524
+ }
3525
+
3526
+ .zeropadding {
3527
+ padding: 0px !important;
3528
+ }
3529
+ .zerotoppadding {
3530
+ padding-top: 0px !important;
3531
+ }
3532
+ .zerobottompadding {
3533
+ padding-bottom: 0px !important;
3534
+ }
3535
+ .zerotopmargin {
3536
+ margin-top: 0px !important;
3537
+ }
3538
+
3539
+ .rowpadding10 {
3540
+ padding: 10px 0 !important;
3541
+ }
3542
+ .rowmarginleft15 {
3543
+ margin-left: 15px !important;
3544
+ }
3545
+ .rowmarginleft25 {
3546
+ margin-left: 25px !important;
3547
+ }
3548
+ .rowmarginleft45 {
3549
+ margin-left: 45px !important;
3550
+ }
3551
+
3552
+ .bottommargin20 {
3553
+ margin-bottom: 20px !important;
3554
+ }
3555
+ .bottommargin30 {
3556
+ margin-bottom: 30px !important;
3557
+ }
3558
+ .bottommargin40 {
3559
+ margin-bottom: 40px !important;
3560
+ }
3561
+ .inactiveSection {
3562
+ opacity: 0.2;
3563
+ pointer-events: none;
3564
+ }
3565
+
3566
+ /* */
3567
+ .tab3 .sub_row {
3568
+ float: left;
3569
+ margin: 15px 0 0 4%;
3570
+ width: 80%;
3571
+ }
3572
+ .tab3 .sub_row label {
3573
+ float: left;
3574
+ margin: 0 0px 0 10px;
3575
+ line-height: 36px;
3576
+ font-size: 18px;
3577
+ }
3578
+ .tab3 .sub_row .effectContainer {
3579
+ float: left;
3580
+ width: 100%;
3581
+ margin-left: 45px;
3582
+ }
3583
+ .tab3 .sub_row .effectName {
3584
+ float: left;
3585
+ width: 35%;
3586
+ }
3587
+ .tab3 .tab_3_sav {
3588
+ padding-top: 0;
3589
+ margin: 0px auto 10px;
3590
+ position: relative;
3591
+ z-index: 9;
3592
+ }
3593
+ .tab3 .Shuffle_auto {
3594
+ float: left;
3595
+ width: 80%;
3596
+ clear: both;
3597
+ }
3598
+ .tab3 #animationSection label {
3599
+ font-family: 'helveticaneue-light';
3600
+ }
3601
+
3602
+ .tab3 select[name='mouseover_other_icons_transition_effect'] {
3603
+ margin-left: 10px;
3604
+ padding: 0px 11px;
3605
+ margin-top: 4px;
3606
+ font-size: 15px;
3607
+ border-radius: 5px;
3608
+ }
3609
+ .tab3 .other_icons_effects_options .mouseover_other_icon_label {
3610
+ float: left;
3611
+ width: 30%;
3612
+ font-size: 16px;
3613
+ }
3614
+ .tab3 .mouse-over-effects span.radio {
3615
+ float: left;
3616
+ display: inline-block;
3617
+ }
3618
+ .tab3 .same_icons_effects label span {
3619
+ float: left;
3620
+ clear: both;
3621
+ line-height: 20px;
3622
+ }
3623
+ .tab3 .same_icons_effects label span:nth-child(2) {
3624
+ font-size: 14px;
3625
+ }
3626
+ .tab3 .other_icons_effects_options .mouseover_other_icon_img {
3627
+ float: left;
3628
+ width: 40px;
3629
+ height: 40px;
3630
+ }
3631
+ .tab3 .other_icons_effects_options .mouseover_other_icon_change_link,
3632
+ .tab3 .other_icons_effects_options .mouseover_other_icon_revert_link {
3633
+ float: left;
3634
+ color: #337ab7;
3635
+ margin-left: 15px;
3636
+ padding: 5px 0px;
3637
+ font-size: 15px;
3638
+ text-decoration: underline;
3639
+ }
3640
+ .mouseover-premium-notice {}
3641
+ .mouseover-premium-notice label {
3642
+ width: auto !important;
3643
+ margin: 0 !important;
3644
+ }
3645
+ .mouseover-premium-notice a {
3646
+ float: left;
3647
+ color: #12a252 !important;
3648
+ padding-top: 5px;
3649
+ margin-left: 5px;
3650
+ font-size: 18px;
3651
+ }
3652
+
3653
+ @media (min-width:414px) and (max-width: 736px) and (orientation:portrait) {
3654
+ .tab3 .sub_row {
3655
+ width: 100%;
3656
+ }
3657
+ .tab3 .sub_row .effectContainer {
3658
+ margin-left: 25px;
3659
+ margin-bottom: 0px;
3660
+ clear: both;
3661
+ }
3662
+ .tab3 .sub_row .effectName {
3663
+ width: 100%;
3664
+ margin-bottom: 25px
3665
+ }
3666
+ .rowmarginleft45 {
3667
+ margin-left: 0px !important;
3668
+ }
3669
+ .bottommargin40 {
3670
+ margin-bottom: 0px !important;
3671
+ }
3672
+ }
3673
+
3674
+ @media (min-width:414px) and (max-width: 736px) and (orientation:landscape) {
3675
+ .tab3 .sub_row {
3676
+ width: 100%;
3677
+ }
3678
+ .tab3 .sub_row .effectContainer {
3679
+ margin-left: 25px;
3680
+ margin-bottom: 0px;
3681
+ clear: both;
3682
+ }
3683
+ .tab3 .sub_row .effectName {
3684
+ width: 50%;
3685
+ margin-bottom: 25px
3686
+ }
3687
+ .rowmarginleft45 {
3688
+ margin-left: 25px !important;
3689
+ }
3690
+ .bottommargin40 {
3691
+ margin-bottom: 0px !important;
3692
+ }
3693
+ }
3694
+ @media (min-width:768px) and (max-width: 1024px) {
3695
+ .tab3 .sub_row {
3696
+ width: 100%;
3697
+ }
3698
+ .tab3 .sub_row .effectContainer {
3699
+ margin-bottom: 25px;
3700
+ clear: both;
3701
+ }
3702
+ .tab3 .sub_row .effectName {
3703
+ width: 50%;
3704
+ }
3705
+ }/* */
3706
+
3707
+ .col-lg-1,
3708
+ .col-lg-10,
3709
+ .col-lg-11,
3710
+ .col-lg-12,
3711
+ .col-lg-2,
3712
+ .col-lg-3,
3713
+ .col-lg-4,
3714
+ .col-lg-5,
3715
+ .col-lg-6,
3716
+ .col-lg-7,
3717
+ .col-lg-8,
3718
+ .col-lg-9,
3719
+ .col-md-1,
3720
+ .col-md-10,
3721
+ .col-md-11,
3722
+ .col-md-12,
3723
+ .col-md-2,
3724
+ .col-md-3,
3725
+ .col-md-4,
3726
+ .col-md-5,
3727
+ .col-md-6,
3728
+ .col-md-7,
3729
+ .col-md-8,
3730
+ .col-md-9,
3731
+ .col-sm-1,
3732
+ .col-sm-10,
3733
+ .col-sm-11,
3734
+ .col-sm-12,
3735
+ .col-sm-2,
3736
+ .col-sm-3,
3737
+ .col-sm-4,
3738
+ .col-sm-5,
3739
+ .col-sm-6,
3740
+ .col-sm-7,
3741
+ .col-sm-8,
3742
+ .col-sm-9,
3743
+ .col-xs-1,
3744
+ .col-xs-10,
3745
+ .col-xs-11,
3746
+ .col-xs-12,
3747
+ .col-xs-2,
3748
+ .col-xs-3,
3749
+ .col-xs-4,
3750
+ .col-xs-5,
3751
+ .col-xs-6,
3752
+ .col-xs-7,
3753
+ .col-xs-8,
3754
+ .col-xs-9 {
3755
+ position: relative;
3756
+ min-height: 1px;
3757
+ padding-right: 15px;
3758
+ padding-left: 15px;
3759
+ }
3760
+ @media (min-width: 992px) {
3761
+ .col-md-12 {
3762
+ width: 100%;
3763
+ }
3764
+
3765
+ .col-md-3 {
3766
+ width: 25%;
3767
+ }
3768
+
3769
+ .col-md-1,
3770
+ .col-md-10,
3771
+ .col-md-11,
3772
+ .col-md-12,
3773
+ .col-md-2,
3774
+ .col-md-3,
3775
+ .col-md-4,
3776
+ .col-md-5,
3777
+ .col-md-6,
3778
+ .col-md-7,
3779
+ .col-md-8,
3780
+ .col-md-9 {
3781
+ float: left;
3782
+ }
3783
+
3784
+ .col-md-12 {
3785
+ width: 100%
3786
+ }
3787
+
3788
+ .col-md-11 {
3789
+ width: 91.66666667%
3790
+ }
3791
+
3792
+ .col-md-10 {
3793
+ width: 83.33333333%
3794
+ }
3795
+
3796
+ .col-md-9 {
3797
+ width: 75%
3798
+ }
3799
+
3800
+ .col-md-8 {
3801
+ width: 66.66666667%
3802
+ }
3803
+
3804
+ .col-md-7 {
3805
+ width: 58.33333333%
3806
+ }
3807
+
3808
+ .col-md-6 {
3809
+ width: 50%
3810
+ }
3811
+
3812
+ .col-md-5 {
3813
+ width: 41.66666667%
3814
+ }
3815
+
3816
+ .col-md-4 {
3817
+ width: 33.33333333%
3818
+ }
3819
+
3820
+ .col-md-3 {
3821
+ width: 25%
3822
+ }
3823
+
3824
+ .col-md-2 {
3825
+ width: 16.66666667%
3826
+ }
3827
+
3828
+ .col-md-1 {
3829
+ width: 8.33333333%
3830
+ }
3831
+
3832
+ .col-md-pull-12 {
3833
+ right: 100%
3834
+ }
3835
+
3836
+ .col-md-pull-11 {
3837
+ right: 91.66666667%
3838
+ }
3839
+
3840
+ .col-md-pull-10 {
3841
+ right: 83.33333333%
3842
+ }
3843
+
3844
+ .col-md-pull-9 {
3845
+ right: 75%
3846
+ }
3847
+
3848
+ .col-md-pull-8 {
3849
+ right: 66.66666667%
3850
+ }
3851
+
3852
+ .col-md-pull-7 {
3853
+ right: 58.33333333%
3854
+ }
3855
+
3856
+ .col-md-pull-6 {
3857
+ right: 50%
3858
+ }
3859
+
3860
+ .col-md-pull-5 {
3861
+ right: 41.66666667%
3862
+ }
3863
+
3864
+ .col-md-pull-4 {
3865
+ right: 33.33333333%
3866
+ }
3867
+
3868
+ .col-md-pull-3 {
3869
+ right: 25%
3870
+ }
3871
+
3872
+ .col-md-pull-2 {
3873
+ right: 16.66666667%
3874
+ }
3875
+
3876
+ .col-md-pull-1 {
3877
+ right: 8.33333333%
3878
+ }
3879
+
3880
+ .col-md-pull-0 {
3881
+ right: auto
3882
+ }
3883
+
3884
+ .col-md-push-12 {
3885
+ left: 100%
3886
+ }
3887
+
3888
+ .col-md-push-11 {
3889
+ left: 91.66666667%
3890
+ }
3891
+
3892
+ .col-md-push-10 {
3893
+ left: 83.33333333%
3894
+ }
3895
+
3896
+ .col-md-push-9 {
3897
+ left: 75%
3898
+ }
3899
+
3900
+ .col-md-push-8 {
3901
+ left: 66.66666667%
3902
+ }
3903
+
3904
+ .col-md-push-7 {
3905
+ left: 58.33333333%
3906
+ }
3907
+
3908
+ .col-md-push-6 {
3909
+ left: 50%
3910
+ }
3911
+
3912
+ .col-md-push-5 {
3913
+ left: 41.66666667%
3914
+ }
3915
+
3916
+ .col-md-push-4 {
3917
+ left: 33.33333333%
3918
+ }
3919
+
3920
+ .col-md-push-3 {
3921
+ left: 25%
3922
+ }
3923
+
3924
+ .col-md-push-2 {
3925
+ left: 16.66666667%
3926
+ }
3927
+
3928
+ .col-md-push-1 {
3929
+ left: 8.33333333%
3930
+ }
3931
+
3932
+ .col-md-push-0 {
3933
+ left: auto
3934
+ }
3935
+
3936
+ .col-md-offset-12 {
3937
+ margin-left: 100%
3938
+ }
3939
+
3940
+ .col-md-offset-11 {
3941
+ margin-left: 91.66666667%
3942
+ }
3943
+
3944
+ .col-md-offset-10 {
3945
+ margin-left: 83.33333333%
3946
+ }
3947
+
3948
+ .col-md-offset-9 {
3949
+ margin-left: 75%
3950
+ }
3951
+
3952
+ .col-md-offset-8 {
3953
+ margin-left: 66.66666667%
3954
+ }
3955
+
3956
+ .col-md-offset-7 {
3957
+ margin-left: 58.33333333%
3958
+ }
3959
+
3960
+ .col-md-offset-6 {
3961
+ margin-left: 50%
3962
+ }
3963
+
3964
+ .col-md-offset-5 {
3965
+ margin-left: 41.66666667%
3966
+ }
3967
+
3968
+ .col-md-offset-4 {
3969
+ margin-left: 33.33333333%
3970
+ }
3971
+
3972
+ .col-md-offset-3 {
3973
+ margin-left: 25%
3974
+ }
3975
+
3976
+ .col-md-offset-2 {
3977
+ margin-left: 16.66666667%
3978
+ }
3979
+
3980
+ .col-md-offset-1 {
3981
+ margin-left: 8.33333333%
3982
+ }
3983
+
3984
+ .col-md-offset-0 {
3985
+ margin-left: 0
3986
+ }
3987
+ }
3988
+ @media (min-width:768px) {
3989
+
3990
+ .col-sm-1,
3991
+ .col-sm-10,
3992
+ .col-sm-11,
3993
+ .col-sm-12,
3994
+ .col-sm-2,
3995
+ .col-sm-3,
3996
+ .col-sm-4,
3997
+ .col-sm-5,
3998
+ .col-sm-6,
3999
+ .col-sm-7,
4000
+ .col-sm-8,
4001
+ .col-sm-9 {
4002
+ float: left
4003
+ }
4004
+
4005
+ .col-sm-12 {
4006
+ width: 100%
4007
+ }
4008
+
4009
+ .col-sm-11 {
4010
+ width: 91.66666667%
4011
+ }
4012
+
4013
+ .col-sm-10 {
4014
+ width: 83.33333333%
4015
+ }
4016
+
4017
+ .col-sm-9 {
4018
+ width: 75%
4019
+ }
4020
+
4021
+ .col-sm-8 {
4022
+ width: 66.66666667%
4023
+ }
4024
+
4025
+ .col-sm-7 {
4026
+ width: 58.33333333%
4027
+ }
4028
+
4029
+ .col-sm-6 {
4030
+ width: 50%
4031
+ }
4032
+
4033
+ .col-sm-5 {
4034
+ width: 41.66666667%
4035
+ }
4036
+
4037
+ .col-sm-4 {
4038
+ width: 33.33333333%
4039
+ }
4040
+
4041
+ .col-sm-3 {
4042
+ width: 25%
4043
+ }
4044
+
4045
+ .col-sm-2 {
4046
+ width: 16.66666667%
4047
+ }
4048
+
4049
+ .col-sm-1 {
4050
+ width: 8.33333333%
4051
+ }
4052
+
4053
+ .col-sm-pull-12 {
4054
+ right: 100%
4055
+ }
4056
+
4057
+ .col-sm-pull-11 {
4058
+ right: 91.66666667%
4059
+ }
4060
+
4061
+ .col-sm-pull-10 {
4062
+ right: 83.33333333%
4063
+ }
4064
+
4065
+ .col-sm-pull-9 {
4066
+ right: 75%
4067
+ }
4068
+
4069
+ .col-sm-pull-8 {
4070
+ right: 66.66666667%
4071
+ }
4072
+
4073
+ .col-sm-pull-7 {
4074
+ right: 58.33333333%
4075
+ }
4076
+
4077
+ .col-sm-pull-6 {
4078
+ right: 50%
4079
+ }
4080
+
4081
+ .col-sm-pull-5 {
4082
+ right: 41.66666667%
4083
+ }
4084
+
4085
+ .col-sm-pull-4 {
4086
+ right: 33.33333333%
4087
+ }
4088
+
4089
+ .col-sm-pull-3 {
4090
+ right: 25%
4091
+ }
4092
+
4093
+ .col-sm-pull-2 {
4094
+ right: 16.66666667%
4095
+ }
4096
+
4097
+ .col-sm-pull-1 {
4098
+ right: 8.33333333%
4099
+ }
4100
+
4101
+ .col-sm-pull-0 {
4102
+ right: auto
4103
+ }
4104
+
4105
+ .col-sm-push-12 {
4106
+ left: 100%
4107
+ }
4108
+
4109
+ .col-sm-push-11 {
4110
+ left: 91.66666667%
4111
+ }
4112
+
4113
+ .col-sm-push-10 {
4114
+ left: 83.33333333%
4115
+ }
4116
+
4117
+ .col-sm-push-9 {
4118
+ left: 75%
4119
+ }
4120
+
4121
+ .col-sm-push-8 {
4122
+ left: 66.66666667%
4123
+ }
4124
+
4125
+ .col-sm-push-7 {
4126
+ left: 58.33333333%
4127
+ }
4128
+
4129
+ .col-sm-push-6 {
4130
+ left: 50%
4131
+ }
4132
+
4133
+ .col-sm-push-5 {
4134
+ left: 41.66666667%
4135
+ }
4136
+
4137
+ .col-sm-push-4 {
4138
+ left: 33.33333333%
4139
+ }
4140
+
4141
+ .col-sm-push-3 {
4142
+ left: 25%
4143
+ }
4144
+
4145
+ .col-sm-push-2 {
4146
+ left: 16.66666667%
4147
+ }
4148
+
4149
+ .col-sm-push-1 {
4150
+ left: 8.33333333%
4151
+ }
4152
+
4153
+ .col-sm-push-0 {
4154
+ left: auto
4155
+ }
4156
+
4157
+ .col-sm-offset-12 {
4158
+ margin-left: 100%
4159
+ }
4160
+
4161
+ .col-sm-offset-11 {
4162
+ margin-left: 91.66666667%
4163
+ }
4164
+
4165
+ .col-sm-offset-10 {
4166
+ margin-left: 83.33333333%
4167
+ }
4168
+
4169
+ .col-sm-offset-9 {
4170
+ margin-left: 75%
4171
+ }
4172
+
4173
+ .col-sm-offset-8 {
4174
+ margin-left: 66.66666667%
4175
+ }
4176
+
4177
+ .col-sm-offset-7 {
4178
+ margin-left: 58.33333333%
4179
+ }
4180
+
4181
+ .col-sm-offset-6 {
4182
+ margin-left: 50%
4183
+ }
4184
+
4185
+ .col-sm-offset-5 {
4186
+ margin-left: 41.66666667%
4187
+ }
4188
+
4189
+ .col-sm-offset-4 {
4190
+ margin-left: 33.33333333%
4191
+ }
4192
+
4193
+ .col-sm-offset-3 {
4194
+ margin-left: 25%
4195
+ }
4196
+
4197
+ .col-sm-offset-2 {
4198
+ margin-left: 16.66666667%
4199
+ }
4200
+
4201
+ .col-sm-offset-1 {
4202
+ margin-left: 8.33333333%
4203
+ }
4204
+
4205
+ .col-sm-offset-0 {
4206
+ margin-left: 0
4207
+ }
4208
+ }
4209
+ @media (min-width:1200px) {
4210
+
4211
+ .col-lg-1,
4212
+ .col-lg-10,
4213
+ .col-lg-11,
4214
+ .col-lg-12,
4215
+ .col-lg-2,
4216
+ .col-lg-3,
4217
+ .col-lg-4,
4218
+ .col-lg-5,
4219
+ .col-lg-6,
4220
+ .col-lg-7,
4221
+ .col-lg-8,
4222
+ .col-lg-9 {
4223
+ float: left
4224
+ }
4225
+
4226
+ .col-lg-12 {
4227
+ width: 100%
4228
+ }
4229
+
4230
+ .col-lg-11 {
4231
+ width: 91.66666667%
4232
+ }
4233
+
4234
+ .col-lg-10 {
4235
+ width: 83.33333333%
4236
+ }
4237
+
4238
+ .col-lg-9 {
4239
+ width: 75%
4240
+ }
4241
+
4242
+ .col-lg-8 {
4243
+ width: 66.66666667%
4244
+ }
4245
+
4246
+ .col-lg-7 {
4247
+ width: 58.33333333%
4248
+ }
4249
+
4250
+ .col-lg-6 {
4251
+ width: 50%
4252
+ }
4253
+
4254
+ .col-lg-5 {
4255
+ width: 41.66666667%
4256
+ }
4257
+
4258
+ .col-lg-4 {
4259
+ width: 33.33333333%
4260
+ }
4261
+
4262
+ .col-lg-3 {
4263
+ width: 25%
4264
+ }
4265
+
4266
+ .col-lg-2 {
4267
+ width: 16.66666667%
4268
+ }
4269
+
4270
+ .col-lg-1 {
4271
+ width: 8.33333333%
4272
+ }
4273
+
4274
+ .col-lg-pull-12 {
4275
+ right: 100%
4276
+ }
4277
+
4278
+ .col-lg-pull-11 {
4279
+ right: 91.66666667%
4280
+ }
4281
+
4282
+ .col-lg-pull-10 {
4283
+ right: 83.33333333%
4284
+ }
4285
+
4286
+ .col-lg-pull-9 {
4287
+ right: 75%
4288
+ }
4289
+
4290
+ .col-lg-pull-8 {
4291
+ right: 66.66666667%
4292
+ }
4293
+
4294
+ .col-lg-pull-7 {
4295
+ right: 58.33333333%
4296
+ }
4297
+
4298
+ .col-lg-pull-6 {
4299
+ right: 50%
4300
+ }
4301
+
4302
+ .col-lg-pull-5 {
4303
+ right: 41.66666667%
4304
+ }
4305
+
4306
+ .col-lg-pull-4 {
4307
+ right: 33.33333333%
4308
+ }
4309
+
4310
+ .col-lg-pull-3 {
4311
+ right: 25%
4312
+ }
4313
+
4314
+ .col-lg-pull-2 {
4315
+ right: 16.66666667%
4316
+ }
4317
+
4318
+ .col-lg-pull-1 {
4319
+ right: 8.33333333%
4320
+ }
4321
+
4322
+ .col-lg-pull-0 {
4323
+ right: auto
4324
+ }
4325
+
4326
+ .col-lg-push-12 {
4327
+ left: 100%
4328
+ }
4329
+
4330
+ .col-lg-push-11 {
4331
+ left: 91.66666667%
4332
+ }
4333
+
4334
+ .col-lg-push-10 {
4335
+ left: 83.33333333%
4336
+ }
4337
+
4338
+ .col-lg-push-9 {
4339
+ left: 75%
4340
+ }
4341
+
4342
+ .col-lg-push-8 {
4343
+ left: 66.66666667%
4344
+ }
4345
+
4346
+ .col-lg-push-7 {
4347
+ left: 58.33333333%
4348
+ }
4349
+
4350
+ .col-lg-push-6 {
4351
+ left: 50%
4352
+ }
4353
+
4354
+ .col-lg-push-5 {
4355
+ left: 41.66666667%
4356
+ }
4357
+
4358
+ .col-lg-push-4 {
4359
+ left: 33.33333333%
4360
+ }
4361
+
4362
+ .col-lg-push-3 {
4363
+ left: 25%
4364
+ }
4365
+
4366
+ .col-lg-push-2 {
4367
+ left: 16.66666667%
4368
+ }
4369
+
4370
+ .col-lg-push-1 {
4371
+ left: 8.33333333%
4372
+ }
4373
+
4374
+ .col-lg-push-0 {
4375
+ left: auto
4376
+ }
4377
+
4378
+ .col-lg-offset-12 {
4379
+ margin-left: 100%
4380
+ }
4381
+
4382
+ .col-lg-offset-11 {
4383
+ margin-left: 91.66666667%
4384
+ }
4385
+
4386
+ .col-lg-offset-10 {
4387
+ margin-left: 83.33333333%
4388
+ }
4389
+
4390
+ .col-lg-offset-9 {
4391
+ margin-left: 75%
4392
+ }
4393
+
4394
+ .col-lg-offset-8 {
4395
+ margin-left: 66.66666667%
4396
+ }
4397
+
4398
+ .col-lg-offset-7 {
4399
+ margin-left: 58.33333333%
4400
+ }
4401
+
4402
+ .col-lg-offset-6 {
4403
+ margin-left: 50%
4404
+ }
4405
+
4406
+ .col-lg-offset-5 {
4407
+ margin-left: 41.66666667%
4408
+ }
4409
+
4410
+ .col-lg-offset-4 {
4411
+ margin-left: 33.33333333%
4412
+ }
4413
+
4414
+ .col-lg-offset-3 {
4415
+ margin-left: 25%
4416
+ }
4417
+
4418
+ .col-lg-offset-2 {
4419
+ margin-left: 16.66666667%
4420
+ }
4421
+
4422
+ .col-lg-offset-1 {
4423
+ margin-left: 8.33333333%
4424
+ }
4425
+
4426
+ .col-lg-offset-0 {
4427
+ margin-left: 0
4428
+ }
4429
+ }
4430
+ #sfsi_jivo_offline_chat {
4431
+ position: fixed;
4432
+ bottom: 0;
4433
+ right: 30px;
4434
+ height: 350px;
4435
+ min-width: 45%;
4436
+ background: #fff;
4437
+ border-top-left-radius: 30px;
4438
+ border-top-right-radius: 30px;
4439
+ padding: 10px;
4440
+ border: 3px solid #ddd;
4441
+ border-bottom: 0;
4442
+ }
4443
+ #sfsi_jivo_offline_chat .heading-text {
4444
+ font-size: 16px;
4445
+ font-weight: 500;
4446
+ color: #999;
4447
+ }
4448
+ #sfsi_jivo_offline_chat .heading-text a {
4449
+ font-size: 16px;
4450
+ font-weight: 900;
4451
+ color: #999;
4452
+ }
4453
+ #sfsi_jivo_offline_chat .tab-changer {
4454
+ /*width:100%;*/
4455
+ padding: 0 15px;
4456
+
4457
+ }
4458
+ #sfsi_jivo_offline_chat .tab-changer .tab-link {
4459
+ float: left;
4460
+ width: 50%;
4461
+ text-align: center;
4462
+ background: #eee;
4463
+ border-bottom: 5px solid #24497B;
4464
+ }
4465
+ #sfsi_jivo_offline_chat .tab-changer .tab-link:first-child {
4466
+ border-top-left-radius: 8px;
4467
+ }
4468
+ #sfsi_jivo_offline_chat .tab-changer .tab-link:last-child {
4469
+ border-top-right-radius: 8px;
4470
+ }
4471
+ #sfsi_jivo_offline_chat .tab-changer .tab-link p {
4472
+ background: #eee;
4473
+ padding: 5px 0;
4474
+ margin: 0;
4475
+ border-top-left-radius: 10px;
4476
+ border-top-right-radius: 10px;
4477
+ font-size: 25px;
4478
+ cursor: pointer;
4479
+ line-height: 1;
4480
+ }
4481
+ #sfsi_jivo_offline_chat .tab-changer .tab-link p span {
4482
+ font-size: 15px;
4483
+ }
4484
+ #sfsi_jivo_offline_chat .tab-changer .tab-link.active p {
4485
+ background: #24497B;
4486
+ color: #fff;
4487
+ }
4488
+ #sfsi_jivo_offline_chat .tabs {
4489
+ /*background: #dbeef4;*/
4490
+ background: #ddd;
4491
+ margin: -6px 15px 0 15px;
4492
+ min-height: 250px;
4493
+ }
4494
+ #sfsi_jivo_offline_chat #sfsi_technical {
4495
+ padding: 50px;
4496
+ }
4497
+ #sfsi_jivo_offline_chat .tabs .support-forum-green-div {
4498
+ margin: 10px 0;
4499
+ }
4500
+ #sfsi_jivo_offline_chat .tabs .support-forum-green-div a {
4501
+ padding: 20px 26px 18px 25px;
4502
+ width: 245px;
4503
+ margin: 0;
4504
+ }
4505
+ #sfsi_jivo_offline_chat .tabs .support-forum-green-div a img {
4506
+ margin-top: 11px;
4507
+ }
4508
+ #sfsi_jivo_offline_chat .tabs #sfsi_technical p {
4509
+ font-size: 20px;
4510
+ padding-top: 5px;
4511
+ margin: 0;
4512
+ margin-top: 20px;
4513
+ }
4514
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales {
4515
+ padding: 15px;
4516
+ }
4517
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .right-message {
4518
+ width: 50%;
4519
+ float: right;
4520
+ text-align: right;
4521
+ margin: 0;
4522
+ }
4523
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales form>div {
4524
+ margin-top: 5px;
4525
+ }
4526
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales label {
4527
+ font-size: 20px;
4528
+ color: #000;
4529
+ font-weight: 900;
4530
+ padding-bottom: 5px;
4531
+ }
4532
+
4533
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales input,
4534
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales textarea {
4535
+ margin-top: 5px;
4536
+ width: 100%;
4537
+ border: 0;
4538
+ box-shadow: 0 0 5px 0 #888;
4539
+ }
4540
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales input {
4541
+ height: 40px;
4542
+ }
4543
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales textarea {
4544
+ height: 80px;
4545
+ resize: none;
4546
+ }
4547
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales input[type="submit"],
4548
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
4549
+ border: 0;
4550
+ background: #079345;
4551
+ color: #fff;
4552
+ margin-top: 23px;
4553
+ width: 100%;
4554
+ font-size: 16px;
4555
+ border-radius: 4px;
4556
+ cursor: pointer;
4557
+ box-shadow: none;
4558
+ }
4559
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent {
4560
+ text-align: center;
4561
+ }
4562
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h2 {
4563
+ font-size: 35px;
4564
+ }
4565
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h3 {
4566
+ font-size: 25px;
4567
+ font-weight: 300;
4568
+ }
4569
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
4570
+ width: auto;
4571
+ margin-top: 0;
4572
+ padding: 10px;
4573
+ }
4574
+ #sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side {
4575
+ font-size: 13px !important;
4576
+ font-weight: 900;
4577
+ /*float: right;*/
4578
+ /*text-align: right;*/
4579
+ margin-top: -40px !important;
4580
+ margin-left: 320px !important;
4581
+ }
4582
+ #sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side .sfsi-button-right-side-icon {
4583
+ background-image: url('images/select-arrow.png');
4584
+ width: 15px;
4585
+ height: 9px;
4586
+ display: inline-block;
4587
+ -webkit-transform: rotate(90deg);
4588
+ -moz-transform: rotate(90deg);
4589
+ -ms-transform: rotate(90deg);
4590
+ -o-transform: rotate(90deg);
4591
+ transform: rotate(90deg);
4592
+ }
4593
+ @media (max-width: 543px) {
4594
+ #sfsi_jivo_offline_chat {
4595
+ width: 400px;
4596
+ }
4597
+ }
4598
+
4599
+ #sfsi_jivo_offline_chat {
4600
+ border: 3px solid #ececec;
4601
+ }
4602
+
4603
+ #sfsi_jivo_offline_chat {
4604
+ padding-bottom: 30px;
4605
+ }
4606
+
4607
+ #sfsi_jivo_offline_chat .heading-text {
4608
+ font-size: 14px;
4609
+ }
4610
+
4611
+ #sfsi_jivo_offline_chat .tabs {
4612
+ background-color: #ededed;
4613
+ }#sfsi_jivo_offline_chat .tab-changer li p {
4614
+ padding: 8px !important;
4615
+ }
4616
+
4617
+ #sfsi_jivo_offline_chat .tab-changer .tab-link p {
4618
+ font-size: 21px !important;
4619
+ font-weight: 500;
4620
+ color: #000000;
4621
+ }#sfsi_jivo_offline_chat .tab-changer .tab-link p span {
4622
+ font-size: 14px !important;
4623
+ font-weight: 400;
4624
+ color: #000000;
4625
+ }
4626
+
4627
+ #sfsi_jivo_offline_chat .tab-changer .active p span {
4628
+ color: #ffffff;
4629
+ }
4630
+
4631
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales {
4632
+ padding: 30px 30px 40px 30px;
4633
+ background: #ededed;
4634
+ }#sfsi_jivo_offline_chat .tabs #sfsi_sales .label {
4635
+ margin-bottom: 8px;
4636
+ font-size: 17px;
4637
+ font-weight: 500;
4638
+ color: #000000;
4639
+ }#sfsi_jivo_offline_chat .tabs #sfsi_sales .email {
4640
+ margin-top: 15px;
4641
+ }
4642
+
4643
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .right-message {
4644
+ font-size: 14px;
4645
+ color: #000000;
4646
+ }
4647
+
4648
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales textarea {
4649
+ padding: 10px !important;
4650
+ font-size: 14px;
4651
+ font-weight: 500;
4652
+ margin-top: 0 !important;
4653
+ }
4654
+
4655
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales input {
4656
+ padding: 10px;
4657
+ font-size: 14px;
4658
+ font-weight: 500;
4659
+ margin-top: 0 !important;
4660
+ }
4661
+
4662
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales input[type="submit"],
4663
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
4664
+ background: #52b250;
4665
+ }#sfsi_jivo_offline_chat #sfsi_technical {
4666
+ padding: 57px;
4667
+ background-color: #ededed
4668
+ }
4669
+
4670
+ #sfsi_technical h5 {
4671
+ font-size: 18px;
4672
+ color: #000000;
4673
+ margin: 10px;
4674
+ }
4675
+
4676
+ #sfsi_technical h5 b {
4677
+ font-weight: 700;
4678
+ }
4679
+
4680
+ #sfsi_technical h5 b {
4681
+ font-weight: 700;
4682
+ }
4683
+
4684
+ #sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side {
4685
+ font-size: 12px !important;
4686
+ font-weight: 700;
4687
+ margin-top: 0px !important;
4688
+ margin-left: 0px !important;
4689
+ color: #000000;
4690
+ position: absolute;
4691
+ padding: 12px;
4692
+ }
4693
+
4694
+ #sfsi_jivo_offline_chat .tabs .support-forum-green-div {
4695
+ text-align: center;
4696
+ margin: 20px 0 25px 0;
4697
+ }
4698
+
4699
+ #sfsi_jivo_offline_chat .tabs .support-forum-green-div a {
4700
+ padding: 12px 25px;
4701
+ background: #52b250;
4702
+ }
4703
+
4704
+ #sfsi_jivo_offline_chat #sfsi_technical .support-forum-green-div .support-forum-green-bg p {
4705
+ padding: 0;
4706
+ margin: 0;
4707
+ font-size: 18px;
4708
+ font-weight: 500;
4709
+ }
4710
+
4711
+ #sfsi_jivo_offline_chat #sfsi_technical .support-forum-green-div .support-forum-green-bg img {
4712
+ height: 28px;
4713
+ position: relative;
4714
+ top: 9px;
4715
+ padding-right: 5px;
4716
+ margin-top: 0px;
4717
+ }
4718
+
4719
+ #sfsi_jivo_offline_chat #sfsi_technical .sfsi-button-right-side .sfsi-button-right-side-icon {
4720
+ padding-right: -1px;
4721
+ }
4722
+
4723
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h3 {
4724
+ font-size: 20px;
4725
+ font-weight: 500;
4726
+ }
4727
+
4728
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent h2 {
4729
+ font-size: 35px;
4730
+ font-weight: 700;
4731
+ margin: 25px 0;
4732
+ }
4733
+
4734
+ #sfsi_jivo_offline_chat .tabs #sfsi_sales .after_message_sent button {
4735
+ width: auto;
4736
+ margin-top: 6px;
4737
+ padding: 8px 30px;
4738
+ font-size: 16px;
4739
+ background: #52b250;
4740
+ }
4741
+ @media (max-width: 543px) {
4742
+ #sfsi_jivo_offline_chat {
4743
+ width: 400px;
4744
+ }
4745
+ }
4746
+ .sfsi_unbold_link {
4747
+ font-family: inherit !important;
4748
+ }
4749
+ .sfsi_quickpay-overlay a {
4750
+ display: inline;
4751
+ font-size: inherit;
4752
+ text-decoration: underline;
4753
+ font-weight: 900;
4754
+ color: #666;
4755
+ }
4756
+ .sfsi_row {
4757
+ width: 100%;
4758
+ }
4759
+ .sfsi_col_6 {
4760
+ width: 49%;
4761
+ display: inline-block;
4762
+ }
4763
+ .sfsi_text_center {
4764
+ text-align: center;
4765
+ }
4766
+ .sfsi_col_6>div {
4767
+ padding: 18px 30px !important;
4768
+ margin: 20px 0 0 0;
4769
+ border: 1px solid #999;
4770
+ display: inline-block;
4771
+ float: none;
4772
+ /* height: 42px;
4773
+ width: 150px;*/
4774
+ }
4775
+ .sfsi_col_6>div:hover {
4776
+ background-image: radial-gradient(circle, #fff, #eee);
4777
+ }.sfsi_quickpay-overlay .sfsi_pop_up .sellcodes-quick-purchase img {
4778
+ vertical-align: middle;
4779
+ height: 40px;
4780
+ }
4781
+
4782
+ .sfsi_quickpay-overlay .sfsi_pop_up .sellcodes-quick-purchase p {
4783
+ text-align: center;
4784
+ }
4785
+
4786
+ .pop-overlay.read-overlay.sfsi_quickpay-overlay * {
4787
+ font-family: 'Josefin Sans', sans-serif;
4788
+ }
4789
+ .sfsi_quickpay-overlay a {
4790
+ display: inline !important;
4791
+ font-size: inherit !important;
4792
+ text-decoration: underline !important;
4793
+ font-weight: 900;
4794
+ color: #666;
4795
+ }
4796
+
4797
+ .wp-admin select {
4798
+ padding: 9px;
4799
+ }
4800
+
4801
+ .sfsi_mainContainer .no_check .checkbox {
4802
+ display: none;
4803
+ }
4804
+
4805
+ .sfsi_new_prmium_follw p .sfsi-share-op {
4806
+ color: #0c0b0b !important;
4807
+ text-decoration: none !important;
4808
+ border-bottom: none;
4809
+ }
4810
+ .sfsi_instagramInstruction ol>li {
4811
+ list-style-type: decimal !important;
4812
+ }
4813
+ .sfsi_instagramInstruction>p {
4814
+ list-style-type: decimal !important;
4815
+ }
4816
+ .sfsi_font_inherit {
4817
+ font-family: inherit !important;
4818
+ border: 0 !important;
4819
+ }
4820
+
4821
+ .pop-up {
4822
+ font-weight: normal;
4823
+ }
4824
+ /* by developer 23-05-2019 */
4825
+
4826
+ .sfsi_instagramFields .input_facebook {
4827
+
4828
+ margin-left: 0 !important;
4829
+
4830
+ }
4831
+
4832
+ body .specify_counts .listing .sfsi_instagramInstruction li {
4833
+ font-size: 17px !important;
4834
+ font-family: helveticaregular !important;
4835
+ font-weight: 400 !important;
4836
+ color: #1a1d20 !important;
4837
+ }
4838
+
4839
+ /* end */
4840
+
4841
+ /*start 4-6-19*/
4842
+ .wp-admin .sfsi_tool_tip_2.sfsi_tool_tip_2_inr.twt_tool_bdr {
4843
+ margin-bottom: -12px !important;
4844
+ }
4845
+
4846
+ .wp-admin .sfsi_tool_tip_2.sfsi_tool_tip_2_inr.printst_tool_bdr {
4847
+ margin-bottom: 2px;
4848
+ }
4849
+
4850
+ .wp-admin .pop-overlay .sfsi_tool_tip_2.sfsi_tool_tip_2_inr.printst_tool_bdr {
4851
+ margin-bottom: 2px;
4852
+ }
4853
+
4854
+ .wp-admin .sfsi_tool_tip_2.sfsi_tool_tip_2_inr.linkedin_tool_bdr {
4855
+ margin-bottom: -12px;
4856
+ }
4857
+
4858
+ /*end 4-6-19*/
4859
+
4860
+ .sfsi_border_left_0 {
4861
+ border-left: 0 !important;
4862
+ }
4863
+
4864
+ .tab8 .sfsi_inputSec input {
4865
+ width: 140px !important;
4866
+ padding: 13px;
4867
+ }
4868
+
4869
+ .tab8 .sfsi_inputSec span {
4870
+ width: auto;
4871
+ }
4872
+
4873
+ .tab8 .sfsi_inputSec span {
4874
+ display: inline-block;
4875
+ font-size: 18px;
4876
+ vertical-align: middle;
4877
+ width: 200px;
4878
+ color: #5A6570;
4879
+ }
4880
+
4881
+ .sfsi_responsive_icon_item_container {
4882
+ height: 40px;
4883
+ vertical-align: middle;
4884
+ margin-top: auto;
4885
+ margin-bottom: auto;
4886
+ }
4887
+
4888
+ .sfsi_responsive_icon_item_container img {
4889
+ padding: 7px;
4890
+ vertical-align: middle !important;
4891
+ box-shadow: unset !important;
4892
+ -webkit-box-shadow: unset !important;
4893
+ max-width: 40px !important;
4894
+ max-height: 40px;
4895
+ }
4896
+
4897
+ .sfsi_responsive_icon_item_container span {
4898
+ padding: 7px;
4899
+ vertical-align: middle !important;
4900
+ box-shadow: unset !important;
4901
+ -webkit-box-shadow: unset !important;
4902
+ line-height: 40px
4903
+ }.sfsi_responsive_icon_facebook_container {
4904
+ background-color: #336699;
4905
+ }
4906
+
4907
+ .sfsi_responsive_icon_follow_container {
4908
+ background-color: #00B04E;
4909
+ }
4910
+
4911
+ .sfsi_responsive_icon_twitter_container {
4912
+ background-color: #55ACEE;
4913
+ }.sfsi_icons_container_box_fully_container {
4914
+ flex-wrap: wrap;
4915
+ }
4916
+
4917
+ .sfsi_icons_container_box_fully_container a {
4918
+ flex-basis: auto !important;
4919
+ flex-grow: 1;
4920
+ flex-shrink: 1;
4921
+ }
4922
+
4923
+ .sfsi_responsive_icons .sfsi_icons_container span {
4924
+ font-family: sans-serif;
4925
+ font-size: 15px;
4926
+ }
4927
+
4928
+ .sfsi_widget_title {
4929
+ font-weight: 700;
4930
+ line-height: 1.2;
4931
+ font-size: 27px;
4932
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
4933
+
4934
+ }
4935
+
4936
+ .sfsi_responsive_default_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container,
4937
+ .sfsi_responsive_custom_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container {
4938
+ width: 236px;
4939
+ text-align: center;
4940
+ margin-right: 8px;
4941
+ margin-top: -5px;
4942
+ }
4943
+
4944
+ .sfsi_responsive_default_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container img,
4945
+ .sfsi_responsive_custom_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container img {
4946
+ max-height: 25px !important;
4947
+ max-width: 40px !important;
4948
+ float: left;
4949
+ height: 25px;
4950
+ }
4951
+
4952
+ .sfsi_responsive_default_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container span,
4953
+ .sfsi_responsive_custom_icon_container .sfsi_icon_container .sfsi_responsive_icon_item_container span {
4954
+ color: #ffffff;
4955
+ font-size: 20px;
4956
+ padding: 0 10px;
4957
+ letter-spacing: 0.5px;
4958
+ font-weight: 500;
4959
+ }
4960
+
4961
+ .tab6 .sfsi_responsive_default_icon_container,
4962
+ .tab6 .sfsi_responsive_custom_icon_container {
4963
+ width: 100% !important;
4964
+ max-width: unset !important;
4965
+ /* padding-left: 60px!important; */
4966
+ }
4967
+
4968
+ .tab6 .sfsi_responsive_default_icon_container input {
4969
+ padding: 8px 11px;
4970
+ height: 39px;
4971
+ }
4972
+
4973
+ .tab6 .heading-label {
4974
+ font-size: 18px !important;
4975
+ font-weight: 400;
4976
+ }
4977
+
4978
+ .sfsi_responsive_default_icon_container,
4979
+ .sfsi_responsive_custom_icon_container {
4980
+ padding: 2px 0 !important;
4981
+ }
4982
+
4983
+ .sfsi_responsive_default_icon_container .sfsi_responsive_default_url_toggler,
4984
+ .sfsi_responsive_custom_icon_container .sfsi_responsive_default_url_toggler,
4985
+ .sfsi_responsive_default_icon_container .sfsi_responsive_default_url_hide {
4986
+ color: #337ab7 !important;
4987
+ font-size: 18px !important;
4988
+ letter-spacing: 1px;
4989
+ font-weight: 500;
4990
+ margin-left: 20px;
4991
+ text-decoration: none !important
4992
+ }
4993
+
4994
+ .sfsi_responsive_fluid {
4995
+ text-decoration: none !important;
4996
+ }
4997
+
4998
+ .sfsi_large_button_container {
4999
+ width: calc(100% - 81px) !important;
5000
+ }
5001
+
5002
+ .sfsi_medium_button_container {
5003
+ width: calc(100% - 70px) !important;
5004
+ }
5005
+
5006
+ .sfsi_small_button_container {
5007
+ width: calc(100% - 100px) !important;
5008
+ }
5009
+
5010
+ /* .sfsi_responsive_custom_icon{line-height: 6px;} */
5011
+ /* .sfsi_responsive_fixed_width .sfsi_responsive_custom_icon{line-height: 6px;} */
5012
+ /*Override for front end - icon of right height*/
5013
+ /* .sfsi_responsive_fluid .sfsi_large_button{padding: 13px !important;} */
5014
+ /* .sfsi_responsive_fluid .sfsi_medium_button{padding: 10px !important;} */
5015
+
5016
+ .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_large_button {
5017
+ padding: 12px 13px 9px 13px !important;
5018
+ }
5019
+
5020
+ .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_large_button h3 {
5021
+ margin: 0px 0px 15px 0px !important;
5022
+ }
5023
+
5024
+ .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_medium_button {
5025
+ padding: 9px 10px 7px 10px !important;
5026
+ }
5027
+
5028
+ .sfsi_responsive_icons_count.sfsi_responsive_count_container.sfsi_large_button {
5029
+ padding: 12px 13px 9px 13px !important;
5030
+ }
5031
+
5032
+ .sfsi_responsive_icons_count.sfsi_responsive_count_container.sfsi_large_button h3 {
5033
+ margin: 0px 0px 15px 0px !important;
5034
+ }
5035
+
5036
+ .sfsi_responsive_icons_count.sfsi_responsive_count_container.sfsi_medium_button {
5037
+ padding: 9px 10px 7px 10px !important;
5038
+ }
5039
+
5040
+ .sfsi_responsive_icon_preview .sfsi_icons_container a .sfsi_responsive_icon_item_container {
5041
+ /* white-space: nowrap;
5042
+ overflow: hidden;
5043
+ text-overflow: ellipsis;*/
5044
+ display: inline-block;
5045
+ }
5046
+
5047
+ .sfsi_right_info ul .sfsi_responsive_icon_option_li .options .field .sfsi_responsive_icons_icon_width input,
5048
+ .sfsi_right_info ul .sfsi_responsive_icon_option_li .options .field input {
5049
+ width: 75px !important;
5050
+ background: #ffffff;
5051
+ box-shadow: none;
5052
+ border: 1px solid rgb(221, 221, 221);
5053
+ border-radius: 0px;
5054
+ }
5055
+
5056
+ input[type="number"] {
5057
+ height: 46px !important;
5058
+ }
5059
+
5060
+ .tab6 .sfsi_inputSec span {
5061
+ display: inline-block;
5062
+ font-size: 18px;
5063
+ margin-left: 10px;
5064
+ vertical-align: middle;
5065
+ width: 200px;
5066
+ color: #5A6570;
5067
+ }
5068
+
5069
+ .tab6 .sfsi_responsive_icon_item_container {
5070
+ width: 300px;
5071
+ /* padding: 5px 10px; */
5072
+ display: inline-block;
5073
+ box-sizing: border-box !important;
5074
+ }
5075
+
5076
+ .tab6 .options select.styled {
5077
+ line-height: 46px;
5078
+ }
5079
+
5080
+ .tab6 .options select.styled {
5081
+ height: 46px;
5082
+ left: 0;
5083
+ line-height: 46px;
5084
+ position: absolute;
5085
+ top: 0;
5086
+ width: 213px;
5087
+ }
5088
+
5089
+ .tab6 .sfsi_responsive_icon_option_li span{
5090
+ margin-left: 0!important;
5091
+ }
5092
+
5093
+ .tab6 ul.sfsi_icn_listing8 li .sfsi_right_info {
5094
+ font-family: helveticaregular;
5095
+ float: left;
5096
+ }
5097
+ .sfsi_margin_top_0{
5098
+ margin-top: 0 !important;
5099
+ }
5100
+ .sfsi_responsive_icon_preview .sfsi_icons_container a{
5101
+ text-decoration: none;
5102
+ }
5103
+ .sfsi_small_button {
5104
+ line-height: 0px;
5105
+ height: unset;
5106
+ padding: 6px !important;
5107
+ }
5108
+ .sfsi_small_button span {
5109
+ margin-left: 10px;
5110
+ font-size: 16px;
5111
+ padding: 0px;
5112
+ line-height: 16px;
5113
+ vertical-align: -webkit-baseline-middle !important;
5114
+ margin-left: 10px;
5115
+ }
5116
+ .sfsi_small_button img {
5117
+ max-height: 16px !important;
5118
+ padding: 0px;
5119
+ line-height: 0px;
5120
+ vertical-align: -webkit-baseline-middle !important;
5121
+ }
5122
+ .sfsi_medium_button span {
5123
+ margin-left: 10px;
5124
+ font-size: 18px;
5125
+ padding: 0px;
5126
+ line-height: 16px;
5127
+ vertical-align: -webkit-baseline-middle !important;
5128
+ margin-left: 10px;
5129
+ }
5130
+ .sfsi_medium_button img {
5131
+ max-height: 16px !important;
5132
+ padding: 0px;
5133
+ line-height: 0px;
5134
+ vertical-align: -webkit-baseline-middle !important;
5135
+ }
5136
+ .sfsi_medium_button {
5137
+ line-height: 0px;
5138
+ height: unset;
5139
+ padding: 10px !important;
5140
+ }
5141
+
5142
+ .sfsi_medium_button span {
5143
+ margin-left: 10px;
5144
+ font-size: 18px;
5145
+ padding: 0px;
5146
+ line-height: 16px;
5147
+ vertical-align: -webkit-baseline-middle !important;
5148
+ margin-left: 10px;
5149
+ }
5150
+ .sfsi_medium_button img {
5151
+ max-height: 16px !important;
5152
+ padding: 0px;
5153
+ line-height: 0px;
5154
+ vertical-align: -webkit-baseline-middle !important;
5155
+ }
5156
+ .sfsi_medium_button {
5157
+ line-height: 0px;
5158
+ height: unset;
5159
+ padding: 10px !important;
5160
+ }
5161
+ .sfsi_large_button span {
5162
+ font-size: 20px;
5163
+ padding: 0px;
5164
+ line-height: 16px;
5165
+ vertical-align: -webkit-baseline-middle !important;
5166
+ display: inline;
5167
+ margin-left: 10px;
5168
+ }
5169
+ .sfsi_large_button img {
5170
+ max-height: 16px !important;
5171
+ padding: 0px;
5172
+ line-height: 0px;
5173
+ vertical-align: -webkit-baseline-middle !important;
5174
+ display: inline;
5175
+ }
5176
+ .sfsi_large_button {
5177
+ line-height: 0px;
5178
+ height: unset;
5179
+ padding: 13px !important;
5180
+ }
5181
+ .sfsi_responsive_icons_count{
5182
+ padding: 5px 10px;
5183
+ float: left !important;
5184
+ display: inline-block;
5185
+ margin-right: 0px;
5186
+ margin-top: 2px;
5187
+ }
5188
+
5189
+ .sfsi_responsive_icons_count h3{
5190
+ font-family: 'sans-serif' !important;
5191
+ font-weight: 900;
5192
+ font-size: 32px !important;
5193
+ line-height: 0px !important;
5194
+ padding: 0px;
5195
+ margin: 0px;
5196
+ }
5197
+
5198
+ .sfsi_responsive_icons_count h6{
5199
+ font-family: 'sans-serif' !important;
5200
+ font-weight: 900;
5201
+ padding: 0px;
5202
+ margin: 0px;
5203
+ }
5204
+ .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6 {
5205
+ text-decoration: none!important;
5206
+ border: 0!important;
5207
+ }
5208
+ .sfsi_responsive_with_counter_icons{
5209
+ width: calc(100% - 100px)!important;
5210
+ }
5211
+ .sfsiresponsive_icon_preview {
5212
+ padding: 0px 0 20px 0;
5213
+ min-width: 100%;
5214
+ }
5215
+ .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_large_button {
5216
+ padding: 12px 13px 9px 13px !important;
5217
+ }
5218
+ .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_medium_button {
5219
+ padding: 9px 10px 7px 10px !important;
5220
+ }
5221
+ .sfsi_responsive_icons_count.sfsi_small_button {
5222
+ padding: 7px 6px !important;
5223
+ }
5224
+ .sfsi_responsive_icons_count.sfsi_small_button {
5225
+ padding: 7px 6px !important;
5226
+ margin-top: 2px;
5227
+ }
5228
+ .sfsi_responsive_icons_count.sfsi_small_button h6 {
5229
+ display: inline-block;
5230
+ font-size: 12px !important;
5231
+ vertical-align: middle;
5232
+ }
5233
+ .sfsi_responsive_icons_count.sfsi_responsive_count_container.sfsi_medium_button {
5234
+ padding: 9px 10px 7px 10px !important;
5235
+ }
5236
+ .sfsi_responsive_icons_count.sfsi_medium_button h3 {
5237
+ font-size: 21px !important;
5238
+ vertical-align: top;
5239
+ line-height: 8px !important;
5240
+ margin: 0px 0px 12px 0px !important;
5241
+ font-family: 'sans-serif' !important;
5242
+ font-weight: 900;
5243
+ padding: 0px;
5244
+ }
5245
+ .sfsi_esponsive_icons_count.sfsi_responsive_count_container.sfsi_large_button h3 {
5246
+ margin: 0px 0px 15px 0px !important;
5247
+ }
5248
+ .sfsi_responsive_icons_count.sfsi_large_button h3 {
5249
+ font-size: 26px !important;
5250
+ vertical-align: top;
5251
+ line-height: 6px !important;
5252
+ }
5253
+
5254
+ .sfsi_responsive_icons_count h3 {
5255
+ font-family: 'sans-serif' !important;
5256
+ font-weight: 900;
5257
+ padding: 0px;
5258
+ }
5259
+
5260
+ .sfsi_responsive_icons_count.sfsi_small_button h3 {
5261
+ font-size: 20px !important;
5262
+ display: inline-block;
5263
+ vertical-align: middle;
5264
+ }
5265
+ .sfsi_responsive_icons_count.sfsi_small_button h3 {
5266
+ margin: 0px !important;
5267
+ }
5268
+ .sfsi_responsive_icons_count h3 {
5269
+ font-family: 'sans-serif' !important;
5270
+ font-weight: 900;
5271
+ line-height: 0px !important;
5272
+ padding: 0px;
5273
+ margin: 0px;
5274
+ }
5275
+ #accordion .ui-state-active, #accordion1 .ui-state-active, #accordion2 .ui-state-active{
5276
+ background: #d22b30 url(../images/arrow.png) right -105px no-repeat !important;
5277
+ color: #eee !important;
5278
+ border: 0;
5279
+ }
5280
+
5281
+ #accordion .ui-state-hover, #accordion1 .ui-state-hover, #accordion2 .ui-state-hover {
5282
+ background: #d22b30 url(../images/arrow.png) right -105px no-repeat !important;
5283
+ color: #eee !important;
5284
+ }
5285
+
5286
+
5287
+ .sfsi_disable_radio .radio{
5288
+ background-position: 0px 0px !important;
5289
+ opacity: 0.3;
5290
+ }
5291
+ .sfsi_disable_radio .labelhdng4{
5292
+ opacity: 0.3;
5293
+ }
5294
+ #ui-id-6 .tab6{
5295
+ margin-left:10px!important;
5296
+ }
5297
+ #ui-id-6 .tab6 p.sfsi_border_left_0{
5298
+ margin-left:0 !important;
5299
+ padding-left:5px !important;
5300
+ }
5301
+ #ui-id-6 .tab6 .sfsi_toggleonlystndrshrng{
5302
+ border-left:0!important;
5303
+ }
5304
+ #ui-id-6 .tab6 .sfsi_toggleonlystndrshrng p{
5305
+ padding-left:0!important;
5306
  }
css/sfsi-style.css CHANGED
@@ -1,3626 +1,3626 @@
1
- @charset "utf-8";
2
-
3
- @font-face {
4
- font-family: helveticabold;
5
- src: url(fonts/helvetica_bold_0-webfont.eot);
6
- src: url(fonts/helvetica_bold_0-webfont.eot?#iefix) format('embedded-opentype'), url(fonts/helvetica_bold_0-webfont.woff) format('woff'), url(fonts/helvetica_bold_0-webfont.ttf) format('truetype'), url(fonts/helvetica_bold_0-webfont.svg#helveticabold) format('svg');
7
- font-weight: 400;
8
- font-style: normal;
9
- }
10
-
11
- @font-face {
12
- font-family: helveticaregular;
13
- src: url(fonts/helvetica_0-webfont.eot);
14
- src: url(fonts/helvetica_0-webfont.eot?#iefix) format('embedded-opentype'), url(fonts/helvetica_0-webfont.woff) format('woff'), url(fonts/helvetica_0-webfont.ttf) format('truetype'), url(fonts/helvetica_0-webfont.svg#helveticaregular) format('svg');
15
- font-weight: 400;
16
- font-style: normal;
17
- }
18
-
19
- @font-face {
20
- font-family: helveticaneue-light;
21
- src: url(fonts/helveticaneue-light.eot);
22
- src: url(fonts/helveticaneue-light.eot?#iefix) format('embedded-opentype'), url(fonts/helveticaneue-light.woff) format('woff'), url(fonts/helveticaneue-light.ttf) format('truetype'), url(fonts/helveticaneue-light.svg#helveticaneue-light) format('svg');
23
- font-weight: 400;
24
- font-style: normal;
25
- }
26
-
27
- body {
28
- margin: 0;
29
- padding: 0;
30
- }
31
-
32
- .clear {
33
- clear: both;
34
- }
35
-
36
- .space {
37
- clear: both;
38
- padding: 30px 0 0;
39
- width: 100%;
40
- float: left;
41
- }
42
-
43
- .like_txt {
44
- margin: 30px 0 0;
45
- padding: 0;
46
- color: #12a252;
47
- font-family: helveticaregular;
48
- font-size: 20px;
49
- line-height: 20px;
50
- text-align: center;
51
- }
52
-
53
- .like_txt a {
54
- color: #12a252;
55
- }
56
-
57
- .sfsibeforpstwpr iframe,
58
- .sfsiaftrpstwpr iframe {
59
- max-width: none;
60
- }
61
-
62
- .sfwp_fivestar_ul li {
63
- display: block;
64
- padding-right: 20px;
65
- }
66
-
67
- .shwthmbfraftr {
68
- margin-top: 5px !important
69
- }
70
-
71
- label.toglpstpgsbttl {
72
- float: left;
73
- margin-top: 5px !important
74
- }
75
-
76
- .tab_3_icns.shwthmbfraftr .cstmdisplaysharingtxt {
77
- float: left;
78
- }
79
-
80
- .tab6 ul.enough_waffling.sfsi_dsplyatend {
81
- width: 24%;
82
- float: left;
83
- }
84
-
85
- .tab4 ul.like_icon {
86
- margin: 0;
87
- padding: 20px 0 0;
88
- list-style: none;
89
- text-align: center;
90
- }
91
-
92
- .tab4 ul.like_icon li {
93
- margin: 0;
94
- padding: 0;
95
- list-style: none;
96
- display: inline-block;
97
- }
98
-
99
- .tab4 ul.like_icon li span {
100
- margin: 0;
101
- width: 54px;
102
- display: block;
103
- background: url(../images/count_bg.png) no-repeat;
104
- height: 24px;
105
- overflow: hidden;
106
- padding: 10px 2px 2px;
107
- font-size: 17px;
108
- text-align: center;
109
- line-height: 24px;
110
- color: #5a6570;
111
- }
112
-
113
- .tab4 ul.like_icon li a {
114
- color: #5a6570;
115
- text-decoration: none;
116
- }
117
-
118
- .tab4 ul.enough_waffling {
119
- margin: 0;
120
- padding: 25px 0 27px;
121
- list-style: none;
122
- text-align: center;
123
- }
124
-
125
- .tab4 ul.enough_waffling li {
126
- margin: 0 22px;
127
- padding: 0;
128
- list-style: none;
129
- display: inline-block;
130
- }
131
-
132
- .tab4 ul.enough_waffling li span {
133
- float: left;
134
- }
135
-
136
- .tab4 ul.enough_waffling li label {
137
- margin: 0 0 0 20px;
138
- float: left;
139
- font-family: helveticaregular;
140
- font-size: 18px;
141
- font-weight: 400;
142
- text-align: center;
143
- line-height: 38px;
144
- color: #5a6570;
145
- }
146
-
147
- .sfsi_mainContainer .checkbox {
148
- width: 31px;
149
- height: 31px;
150
- background: url(../images/check_bg.jpg) no-repeat;
151
- display: inherit;
152
- }
153
-
154
- .sfsi_mainContainer .radio {
155
- width: 40px;
156
- height: 40px;
157
- background: url(../images/radio_bg.png) no-repeat;
158
- display: inherit;
159
- }
160
-
161
- .sfsi_mainContainer .select {
162
- width: 127px;
163
- height: 47px;
164
- font-size: 17px;
165
- background: url(../images/select_bg.jpg) no-repeat;
166
- display: block;
167
- padding-left: 16px;
168
- line-height: 49px;
169
- }
170
-
171
- .sfsi_mainContainer .line {
172
- background: #eaebee;
173
- height: 1px;
174
- font-size: 0;
175
- margin: 15px 0 0;
176
- clear: both;
177
- width: 100%;
178
- float: left;
179
- }
180
-
181
- .specify_counts {
182
- display: block;
183
- margin-top: 15px;
184
- padding-top: 15px;
185
- clear: both;
186
- width: 100%;
187
- float: left;
188
- border-top: 1px solid #eaebee;
189
- }
190
-
191
- .specify_counts .radio_section {
192
- width: 30px;
193
- float: left;
194
- margin: 12px 10px 0 0;
195
- }
196
-
197
- .specify_counts .social_icon_like {
198
- width: 54px;
199
- float: left;
200
- margin: 0 15px 0 0;
201
- }
202
-
203
- .specify_counts .social_icon_like ul {
204
- margin: 0;
205
- padding: 0;
206
- list-style: none;
207
- text-align: center;
208
- }
209
-
210
- .specify_counts .social_icon_like li {
211
- margin: 0;
212
- padding: 0;
213
- list-style: none;
214
- display: inline-block;
215
- }
216
-
217
- .specify_counts .social_icon_like li span {
218
- margin: 0;
219
- width: 54px;
220
- display: block;
221
- background: url(../images/count_bg.jpg) no-repeat;
222
- height: 24px;
223
- overflow: hidden;
224
- padding: 10px 2px 2px;
225
- font-family: helveticaregular;
226
- font-size: 16px;
227
- text-align: center;
228
- line-height: 24px;
229
- color: #5a6570;
230
- }
231
-
232
- .specify_counts .social_icon_like li a {
233
- color: #5a6570;
234
- text-decoration: none;
235
- }
236
-
237
- .specify_counts .listing {
238
- width: 88%;
239
- margin-top: -5px;
240
- display: inherit;
241
- float: left;
242
- }
243
-
244
- .specify_counts .listing ul {
245
- margin: 0;
246
- padding: 0;
247
- list-style: none;
248
- text-align: left;
249
- }
250
-
251
- .specify_counts .listing li {
252
- margin: 15px 0 0;
253
- padding: 0;
254
- list-style: none;
255
- clear: both;
256
- line-height: 39px;
257
- font-size: 17px;
258
- }
259
-
260
- .specify_counts .listing li span {
261
- float: left;
262
- margin-right: 20px;
263
- }
264
-
265
- .specify_counts .listing li .input {
266
- background: #e5e5e5;
267
- box-shadow: 2px 2px 3px #dcdcdc inset;
268
- border: 0;
269
- padding: 10px;
270
- margin-left: 25px;
271
- }
272
-
273
- .specify_counts .listing li .input_facebook {
274
- width: 288px;
275
- background: #e5e5e5;
276
- box-shadow: 2px 2px 3px #dcdcdc inset;
277
- border: 0;
278
- padding: 10px;
279
- margin-left: 16px;
280
- }
281
-
282
- .save_button {
283
- width: 450px;
284
- padding-top: 30px;
285
- clear: both;
286
- margin: auto;
287
- }
288
-
289
- .save_button a {
290
- background: #12a252;
291
- text-align: center;
292
- font-size: 23px;
293
- color: #FFF !important;
294
- display: block;
295
- padding: 11px 0;
296
- text-decoration: none;
297
- }
298
-
299
- .save_button a:hover {
300
- background: #079345
301
- }
302
-
303
- .tab5 ul.share_icon_order {
304
- margin: 0;
305
- padding: 0;
306
- list-style: none;
307
- text-align: left;
308
- }
309
-
310
- .tab5 ul.share_icon_order li {
311
- margin: 22px 6px 0 0;
312
- padding: 0;
313
- list-style: none;
314
- float: left;
315
- line-height: 37px;
316
- }
317
-
318
- .tab5 ul.share_icon_order li:last-child {
319
- margin: 22px 0 0 3px;
320
- }
321
-
322
- .tab5 .row {
323
- border-top: 1px solid #eaebee;
324
- margin-top: 25px;
325
- padding-top: 15px;
326
- clear: both;
327
- display: block;
328
- width: 100%;
329
- float: left;
330
- font-family: helveticaregular;
331
- line-height: 42px;
332
- }
333
-
334
- .tab5 .icons_size {
335
- position: relative;
336
- }
337
-
338
- .tab5 .icons_size span {
339
- margin-right: 18px;
340
- display: block;
341
- float: left;
342
- font-size: 18px;
343
- font-weight: 400;
344
- line-height: 46px;
345
- }
346
-
347
- .tab5 .icons_size span.last {
348
- margin-left: 55px;
349
- }
350
-
351
- .tab5 .icons_size input {
352
- width: 73px;
353
- background: #e5e5e5;
354
- box-shadow: 2px 2px 3px #dcdcdc inset;
355
- border: 0;
356
- padding: 13px 13px 12px;
357
- margin-right: 18px;
358
- float: left;
359
- display: block;
360
- }
361
-
362
- .tab5 .icons_size select.styled {
363
- position: absolute;
364
- left: 0;
365
- width: 135px;
366
- height: 46px;
367
- line-height: 46px;
368
- }
369
-
370
- .tab5 .icons_size .field {
371
- position: relative;
372
- float: left;
373
- display: block;
374
- margin-right: 20px;
375
- }
376
-
377
- .tab5 .icons_size ins {
378
- margin-right: 25px;
379
- float: left;
380
- font-size: 17px;
381
- font-weight: 400;
382
- text-decoration: none;
383
- }
384
-
385
- .tab5 .icons_size ins.leave_empty {
386
- line-height: 23px;
387
- }
388
-
389
- .tab5 .icons_size {
390
- padding-top: 15px;
391
- }
392
-
393
- .tab5 ul.enough_waffling {
394
- margin: -5px 0 0;
395
- padding: 0;
396
- list-style: none;
397
- text-align: center;
398
- }
399
-
400
- .tab5 .new_wind .row_onl ul.enough_waffling {
401
- /*margin: 14px 0 0 167px;*/
402
- margin: 20px 0 0 0;
403
- padding: 0;
404
- list-style: none;
405
- height: 38px;
406
- text-align: center;
407
- width: 61%;
408
- }
409
-
410
- .tab5 ul.enough_waffling li {
411
- margin: 0 22px;
412
- padding: 0;
413
- list-style: none;
414
- display: inline-block;
415
- float: left;
416
- }
417
-
418
- .tab5 ul.enough_waffling li span {
419
- float: left;
420
- }
421
-
422
- .tab5 ul.enough_waffling li label {
423
- margin: 0 0 0 20px;
424
- float: left;
425
- font-family: helveticaregular;
426
- font-size: 18px;
427
- font-weight: 400;
428
- text-align: center;
429
- line-height: 38px;
430
- color: #5a6570;
431
- }
432
-
433
- .sticking p {
434
- float: left;
435
- font-size: 18px !important;
436
- }
437
-
438
- .sticking p.list {
439
- width: 168px;
440
- }
441
-
442
- .sticking p.link {
443
- margin: 3px 0 0 12px;
444
- padding: 0 !important;
445
- float: left;
446
- }
447
-
448
- .sticking .float {
449
- margin-left: 188px;
450
- margin-top: 3px;
451
- float: left;
452
- font-size: 17px;
453
- }
454
-
455
- .sticking ul {
456
- margin: 0;
457
- padding: 30px 0 0;
458
- list-style: none;
459
- float: left;
460
- }
461
-
462
- .sticking a {
463
- color: #a4a9ad;
464
- }
465
-
466
- .sticking p {
467
- line-height: 19px !important;
468
- }
469
-
470
- .sticking .field {
471
- position: relative;
472
- float: left;
473
- display: block;
474
- margin-left: 20px;
475
- }
476
-
477
- .sticking .field .select {
478
- width: 206px;
479
- height: 47px;
480
- background: url(../images/select_bg1.jpg) no-repeat;
481
- display: block;
482
- padding-left: 10px;
483
- }
484
-
485
- .sticking .field select.styled {
486
- position: absolute;
487
- left: 0;
488
- top: 0;
489
- width: 211px;
490
- line-height: 46px;
491
- height: 46px;
492
- }
493
-
494
- .mouseover_field {
495
- width: 455px;
496
- float: left;
497
- font-size: 18px;
498
- margin-top: 10px;
499
- }
500
-
501
- .mouseover_field label {
502
- width: 125px;
503
- float: left;
504
- }
505
-
506
- .mouseover_field input {
507
- width: 256px;
508
- float: left;
509
- background: #e5e5e5;
510
- box-shadow: 2px 2px 3px #dcdcdc inset;
511
- border: 0;
512
- padding: 10px;
513
- }
514
-
515
- .pop_up_box {
516
- width: 474px;
517
- background: #FFF;
518
- box-shadow: 0 0 5px 3px #d8d8d8;
519
- margin: 200px auto;
520
- padding: 20px 25px 0px;
521
- font-family: helveticaregular;
522
- color: #5a6570;
523
- min-height: 250px;
524
- position: relative;
525
- }
526
-
527
- .pop_up_box h4,
528
- .pop_up_box_ex h4 {
529
- font-size: 20px;
530
- color: #5a6570;
531
- text-align: center;
532
- margin: 0;
533
- padding: 0;
534
- line-height: 22px;
535
- }
536
-
537
- .pop_up_box p,
538
- .pop_up_box_ex p {
539
- font-size: 17px;
540
- line-height: 28px;
541
- color: #5a6570;
542
- text-align: left;
543
- margin: 0;
544
- padding: 25px 0 0;
545
- font-family: helveticaregular;
546
- }
547
-
548
- .sfsi_popupcntnr {
549
- float: left;
550
- width: 100%
551
- }
552
-
553
- .sfsi_popupcntnr>h3 {
554
- color: #000;
555
- float: left;
556
- font-weight: 700;
557
- margin-bottom: 5px;
558
- width: 100%
559
- }
560
-
561
- ul.flwstep {
562
- float: left;
563
- width: 100%
564
- }
565
-
566
- ul.flwstep>li {
567
- color: #000;
568
- font-size: 16px;
569
- margin: 5px;
570
- }
571
-
572
- .upldbtn {
573
- float: left;
574
- text-align: center;
575
- width: 100%
576
- }
577
-
578
- .upload_butt {
579
- background-color: #12a252;
580
- border: none;
581
- color: #fff;
582
- font-weight: 700;
583
- margin-top: 10px;
584
- padding: 7px 22px;
585
- width: auto;
586
- cursor: pointer;
587
- font-size: 19px;
588
- }
589
-
590
- .pop_up_box .button {
591
- background: #12a252;
592
- font-size: 22px;
593
- line-height: 24px;
594
- color: #5a6570;
595
- text-align: center;
596
- min-height: 80px;
597
- margin-top: 32px;
598
- box-shadow: none;
599
- }
600
-
601
- .pop_up_box .button:hover {
602
- box-shadow: none !important;
603
- }
604
-
605
- .pop_up_box .button a.activate {
606
- padding: 0px 0;
607
- }
608
-
609
- .pop_up_box a,
610
- .pop_up_box_ex a {
611
- color: #a4a9ad;
612
- font-size: 20px;
613
- text-decoration: none;
614
- text-align: center;
615
- display: inline-block;
616
- margin-top: 18px;
617
- width: 100%;
618
- }
619
-
620
- .pop_up_box .upload {
621
- width: 100%;
622
- float: left;
623
- text-align: left;
624
- margin-top: 15px;
625
- height: 46px;
626
- }
627
-
628
- .pop_up_box .upload label {
629
- width: 135px;
630
- float: left;
631
- line-height: 45px;
632
- font-size: 18px;
633
- font-family: helveticaregular;
634
- text-align: left;
635
- }
636
-
637
- .pop_up_box .upload input[type=text] {
638
- width: 248px;
639
- float: left;
640
- background: #e5e5e5;
641
- box-shadow: 2px 2px 3px #dcdcdc inset;
642
- border: 0;
643
- padding: 0 10px;
644
- font-size: 16px;
645
- height: 44px;
646
- text-align: left;
647
- color: #5a6570;
648
- font-family: helveticaregular;
649
- }
650
-
651
- .pop_up_box .upload input.upload_butt {
652
- width: 100px;
653
- background: #12a252;
654
- box-shadow: 0 0 0;
655
- border: 0;
656
- text-align: center;
657
- font-size: 18px;
658
- color: #fff;
659
- font-family: helveticaregular;
660
- height: 45px;
661
- right: 32px;
662
- top: 71px;
663
- position: absolute;
664
- }
665
-
666
- .pop_up_box .upload a {
667
- color: #12a252;
668
- font-size: 18px;
669
- text-decoration: underline;
670
- font-family: helveticaregular;
671
- margin: 0 0 16px 140px;
672
- }
673
-
674
- .pop_up_box a:hover,
675
- .pop_up_box_ex a:hover {
676
- color: #a4a9ad;
677
- }
678
-
679
- .inr_cont .fb_url {
680
- clear: both;
681
- }
682
-
683
- .inr_cont .fb_url .checkbox,
684
- .inr_cont .fb_url input.add,
685
- .inr_cont .fb_url label,
686
- .inr_cont .fb_url lable {
687
- float: left;
688
- }
689
-
690
- .inr_cont .fb_url input.add {
691
- margin-left: 19px;
692
- }
693
-
694
- .inr_cont .fb_url .checkbox {
695
- margin: 6px 0 0;
696
- }
697
-
698
- .inr_cont .fb_url label {
699
- /*line-height: 41px; margin: 0 0 0 15px;*/
700
- line-height: 22px;
701
- margin: 10px 0 0 15px;
702
- font-size: 17px;
703
- }
704
-
705
- .inr_cont textarea.add_txt {
706
- resize: none;
707
- margin: 0 0 0 19px !important;
708
- height: 60px;
709
- }
710
-
711
- .tab2 .inr_cont textarea.add_txt {
712
- width: 382px !important;
713
- height: 90px;
714
- overflow: hidden;
715
- }
716
-
717
- .tab2 .inr_cont input.add {
718
- width: 417px;
719
- }
720
-
721
- .red_txt,
722
- .tab2 .red_txt {
723
- color: #ef4745 !important;
724
- text-align: center !important;
725
- padding-top: 5px !important;
726
- }
727
-
728
- .green_txt {
729
- color: #12A252 !important;
730
- text-align: center !important;
731
- padding-top: 5px !important;
732
- }
733
-
734
- .red_txt {
735
- color: #f80000 !important;
736
- text-align: center !important;
737
- padding-top: 5px !important;
738
- }
739
-
740
- .linked_tab_2 .fb_url label {
741
- /* width: 32%;*/
742
- /* width: 26.99%;*/
743
- width: 22%;
744
- }
745
-
746
- .twt_tab_2 label {
747
- width: 18%
748
- }
749
-
750
- .bdr_top {
751
- border-top: none !important;
752
- }
753
-
754
- .linked_tab_2 .fb_url input.link_dbl {
755
- margin-bottom: 6px;
756
- }
757
-
758
- .tab3 {
759
- overflow: hidden;
760
- }
761
-
762
- .tab3 .row {
763
- /*border-top: 1px solid #EAEBEE;*/
764
- padding: 25px 0;
765
- clear: both;
766
- overflow: hidden;
767
- }
768
-
769
- .tab3 ul.tab_3_list {
770
- overflow: hidden;
771
- margin: 4px 0 11px;
772
- }
773
-
774
- ul.tab_3_list li {
775
- background: url(../images/tab_3_list_bg.jpg) 13px 7px no-repeat;
776
- padding: 0 0 0 30px;
777
- color: #778088;
778
- font-family: helveticaregular;
779
- font-size: 17px;
780
- margin-bottom: 4px;
781
- }
782
-
783
- .tab5 ul.tab_3_list li {
784
- background: url(../images/tab_3_list_bg.jpg) 13px 18px no-repeat;
785
- }
786
-
787
- .tab3 .row h3 {
788
- /* margin: 0 0 20px;*/
789
- margin: 20px 0 0px;
790
- color: #414951;
791
- font-family: helveticabold;
792
- font-size: 20px;
793
- }
794
-
795
- ul.tab_3_icns {
796
- list-style: none;
797
- margin: 10px 0 0;
798
- overflow: hidden;
799
- }
800
-
801
- ul.tab_3_icns li {
802
- width: 100%;
803
- margin: 0 0 21px;
804
- float: left;
805
- }
806
-
807
- ul.tab_3_icns label {
808
- float: left;
809
- line-height: 42px;
810
- /*margin: 0 20px;*/
811
- color: #69737C;
812
- font-size: 18px;
813
- font-family: helveticaregular;
814
- min-width: 125px;
815
- }
816
-
817
- ul.tab_3_icns li .icns_tab_3,
818
- ul.tab_3_icns li .radio {
819
- float: left;
820
- }
821
-
822
- .tab3 .sub_row h4 {
823
- color: #a4a9ad !important;
824
- }
825
-
826
- .tab3 .sub_row p {
827
- padding-top: 18px !important;
828
- clear: both;
829
- overflow: hidden;
830
- }
831
-
832
- .sub_row .sub_sub_box p {
833
- padding-top: 18px !important;
834
- }
835
-
836
- .tab3 .sub_row .checkbox {
837
- float: left;
838
- margin-top: 4px;
839
- }
840
-
841
- .tab3 .sub_row .sub_sub_box {
842
- width: 80%;
843
- margin: 7px 0 15px 10%;
844
- float: left;
845
- }
846
-
847
- .tab3 .sub_row input.smal_inpt {
848
- width: 73px;
849
- background: #e5e5e5;
850
- box-shadow: 2px 2px 3px #dcdcdc inset;
851
- border: 0;
852
- padding: 10px;
853
- float: left;
854
- margin-left: 10px;
855
- }
856
-
857
- .tab3 .sub_row .drop_lst {
858
- border: 1px solid #d6d6d6;
859
- font-size: 16px;
860
- color: #5a6570;
861
- width: 120px;
862
- }
863
-
864
- .tab3 .first_row,
865
- .tab3 .first_row p,
866
- .tab3 .first_row p .radio,
867
- .tab3 .first_row p label {
868
- float: left;
869
- }
870
-
871
- .tab3 .first_row {
872
- width: 90%;
873
- float: left;
874
- }
875
-
876
- .tab3 .first_row p {
877
- padding: 0 !important;
878
- }
879
-
880
- .tab3 .first_row p label {
881
- line-height: 44px;
882
- margin: 0 10px;
883
- }
884
-
885
- .tab3 .first_row p:last-child {
886
- margin-left: 27%
887
- }
888
-
889
- .tab3 .tab_1_sav {
890
- padding-top: 20px !important;
891
- margin: 10px auto 20px;
892
- }
893
-
894
- .suc_msg {
895
- background: #12A252;
896
- color: #FFF;
897
- display: none;
898
- font-size: 23px;
899
- padding: 10px;
900
- text-align: left;
901
- text-decoration: none;
902
- }
903
-
904
- .error_msg {
905
- background: #D22B30;
906
- color: #FFF;
907
- display: none;
908
- font-size: 23px;
909
- padding: 10px;
910
- text-align: left;
911
- text-decoration: none;
912
- }
913
-
914
- .fileUPInput {
915
- cursor: pointer;
916
- position: relative;
917
- top: -43px;
918
- right: 0;
919
- z-index: 99;
920
- height: 42px;
921
- font-size: 5px;
922
- opacity: 0;
923
- -moz-opacity: 0;
924
- filter: alpha(opacity=0);
925
- width: 100%
926
- }
927
-
928
- .inputWrapper {
929
- height: 20px;
930
- width: 50px;
931
- overflow: hidden;
932
- position: relative;
933
- cursor: pointer;
934
- }
935
-
936
- .custom-txt {
937
- background: none !important;
938
- padding-left: 2px !important;
939
- }
940
-
941
- .custom-img {
942
- float: left;
943
- margin-left: 20px;
944
- }
945
-
946
- .loader-img {
947
- float: left;
948
- margin-left: -70px;
949
- display: none;
950
- }
951
-
952
- .pop-overlay {
953
- position: fixed;
954
- top: 0;
955
- left: 0;
956
- width: 100%;
957
- height: 100%;
958
- backgound-color: #d3d3d3;
959
- z-index: 10;
960
- padding: 20px;
961
- display: none;
962
- }
963
-
964
- .fb-overlay {
965
- position: fixed;
966
- top: 0;
967
- left: 0;
968
- width: 100%;
969
- height: 100%;
970
- backgound-color: #d3d3d3;
971
- z-index: -1000;
972
- padding: 20px;
973
- opacity: 0;
974
- display: block;
975
- }
976
-
977
- .inputError {
978
- border: 1px solid #f80000 !important;
979
- }
980
-
981
- .sfsicloseBtn {
982
- position: absolute;
983
- top: 0;
984
- right: 0;
985
- cursor: pointer;
986
- }
987
-
988
-
989
-
990
- .sfsi_tool_tip_2 .tool_tip>img,
991
- .tool_tip>img {
992
- display: inline-block;
993
- margin-right: 4px;
994
- float: left;
995
- }
996
-
997
- .norm_row {
998
- float: left;
999
- min-width: 25px;
1000
- }
1001
-
1002
- .norm_row a {
1003
- border: none;
1004
- display: inline-block;
1005
- position: relative;
1006
- float: left;
1007
- }
1008
-
1009
- .sfsi_tool_tip_2 a {
1010
- min-height: 0 !important;
1011
- }
1012
-
1013
- .sfsi_widget {
1014
- min-height: 55px;
1015
- }
1016
-
1017
- .sfsi_widget a img {
1018
- box-shadow: none !important;
1019
- outline: 0;
1020
- }
1021
-
1022
- .sfsi_wicons {
1023
- display: inline-block;
1024
- color: #000;
1025
- }
1026
-
1027
- .sel-active {
1028
- background-color: #f7941d;
1029
- }
1030
-
1031
- .sfsi_outr_div .close {
1032
- position: absolute;
1033
- right: 18px;
1034
- top: 18px;
1035
- }
1036
-
1037
- .sfsi_outr_div h2 {
1038
- color: #778088;
1039
- font-family: helveticaregular;
1040
- font-size: 26px;
1041
- margin: 0 0 9px;
1042
- padding: 0;
1043
- text-align: center;
1044
- font-weight: 400;
1045
- }
1046
-
1047
- .sfsi_outr_div ul li a {
1048
- color: #5A6570;
1049
- text-decoration: none;
1050
- }
1051
-
1052
- .sfsi_outr_div ul li {
1053
- display: inline-block;
1054
- list-style: none;
1055
- margin: 0;
1056
- padding: 0;
1057
- float: none;
1058
- }
1059
-
1060
- .expanded-area {
1061
- display: none;
1062
- }
1063
-
1064
- .sfsi_wicons a {
1065
- -webkit-transition: all .2s ease-in-out;
1066
- -moz-transition: all .2s ease-in-out;
1067
- -o-transition: all .2s ease-in-out;
1068
- -ms-transition: all .2s ease-in-out;
1069
- }
1070
-
1071
- .scale,
1072
- .scale-div {
1073
- -webkit-transform: scale(1.1);
1074
- -moz-transform: scale(1.1);
1075
- -o-transform: scale(1.1);
1076
- transform: scale(1.1);
1077
- }
1078
-
1079
- .sfsi_Sicons {
1080
- float: left;
1081
- }
1082
-
1083
- .sfsi_Sicons .sf_subscrbe {
1084
- margin: 2px 3px 3px 0;
1085
- line-height: 20px;
1086
- }
1087
-
1088
- .sfsi_Sicons .sf_fb
1089
- {
1090
- margin: 0 4px 0 5px;
1091
- line-height: 20px;
1092
- }
1093
- .sfsi_Sicons .sf_fb_share {
1094
- text-align: left;
1095
- vertical-align: middle;
1096
- float: left;
1097
- line-height: 20px;
1098
- width: auto;
1099
- margin-right: 7px;
1100
- }
1101
-
1102
- .sfsi_Sicons .sf_twiter {
1103
- margin: -12px 7px 0 4px;
1104
- line-height: 17px;
1105
- }
1106
-
1107
- .sfsi_Sicons.left .sf_subscrbe {
1108
- margin: 2px 8px 3px 0;
1109
- }
1110
-
1111
- .sfsi_Sicons.left .sf_fb {
1112
- margin: 0 8px 0 0;
1113
- }
1114
-
1115
-
1116
-
1117
- .sfsi_Sicons.left .sf_twiter {
1118
- margin: 2px 7px 0 0;
1119
- }
1120
-
1121
- .sfsi_Sicons.right .sf_subscrbe {
1122
- margin: 2px 0 3px;
1123
- }
1124
-
1125
- .sfsi_Sicons.right .sf_fb {
1126
- margin: 0 0 0 7px;
1127
- }
1128
-
1129
- .sfsi_Sicons.right .sf_twiter {
1130
- margin: 2px 0 0 8px;
1131
- }
1132
-
1133
-
1134
-
1135
- .sfsi_Sicons .sf_subscrbe,
1136
- .sfsi_Sicons .sf_twiter {
1137
- position: relative;
1138
- width: 75px;
1139
- }
1140
-
1141
- .sfsi_Sicons .sf_twiter iframe {
1142
- margin: 0px;
1143
- height: 20px !important;
1144
- overflow: visible !important;
1145
- }
1146
-
1147
- .sfsi_Sicons .sf_twiter iframe #widget {
1148
- overflow: visible !important;
1149
- }
1150
-
1151
- .sfsi_Sicons .sf_subscrbe a {
1152
- width: auto;
1153
- float: left;
1154
- border: medium none;
1155
- padding-top: 0px;
1156
- }
1157
-
1158
- .sfsi_Sicons .sf_subscrbe a:focus {
1159
- outline: medium none;
1160
- }
1161
-
1162
- .sfsi_Sicons .sf_subscrbe a img {
1163
- width: 65px;
1164
- float: left;
1165
- height: 20px !important;
1166
- }
1167
-
1168
- .sfsi_Sicons .sf_fb {
1169
- position: relative;
1170
- width: 75px;
1171
- }
1172
-
1173
-
1174
- .sfsi_Sicons .fb_iframe_widget {
1175
- float: left;
1176
- min-width: 115px;
1177
- width: 73px;
1178
- margin: 2px 0 0;
1179
- }
1180
- .sfsi_Sicons .fb_iframe_widget[data-layout="button_count"]{
1181
- min-width:125px;
1182
- }
1183
-
1184
- .sfsi_pop_up .button a:hover {
1185
- color: #fff;
1186
- }
1187
-
1188
- .sfsi_pop_up .button:hover {
1189
- background: #12a252;
1190
- color: #fff;
1191
- border: none;
1192
- }
1193
-
1194
- ul.icn_listing li .right_info a {
1195
- outline: 0;
1196
- font-family: helveticaregular;
1197
- }
1198
-
1199
- .upload_pop_up .upload_butt {
1200
- line-height: 27px;
1201
- margin-left: 6px;
1202
- }
1203
-
1204
- .drop_lsts {
1205
- left: 220px;
1206
- position: relative;
1207
- top: -40px;
1208
- }
1209
-
1210
- .drop_lsts .styled {
1211
- top: -42px;
1212
- width: 127px;
1213
- height: 33px;
1214
- }
1215
-
1216
- .drop_lsts span {
1217
- line-height: 50px;
1218
- }
1219
-
1220
- .drag_drp {
1221
- left: 11px;
1222
- position: relative;
1223
- top: 38px;
1224
- font-size: 17px;
1225
- }
1226
-
1227
- .listing ul li label {
1228
- width: 224px;
1229
- float: left;
1230
- }
1231
-
1232
- .row_onl {
1233
- width: 100%;
1234
- float: left;
1235
- }
1236
-
1237
- #sfsi_Show_popupOn_PageIDs option.sel-active {
1238
- background: #f7941d;
1239
- }
1240
-
1241
- .sfsi_inside div iframe {
1242
- float: left;
1243
- margin: 0;
1244
- }
1245
-
1246
- .sfsi_inside div #___plus_0,
1247
- .sfsi_inside div #___plusone_0 {
1248
- height: 27px;
1249
- }
1250
-
1251
- .sfsi_outr_div li {
1252
- float: left;
1253
- }
1254
-
1255
- .sfsi_tool_tip_2 .sfsi_inside div {
1256
- min-height: 0;
1257
- }
1258
-
1259
- #___plus_1>iframe {
1260
- height: 30px;
1261
- }
1262
-
1263
- .main_contant h1 {
1264
- margin: 0 0 19px;
1265
- }
1266
-
1267
- .main_contant p {
1268
- margin: 0 0 26px;
1269
- }
1270
-
1271
- .main_contant p>a {
1272
- color: #1a1d20;
1273
- text-decoration: underline;
1274
- }
1275
-
1276
- .tab1 .gary_bg {
1277
- background: #f1f1f1;
1278
- }
1279
-
1280
- #accordion {
1281
- margin-top: 25px;
1282
- }
1283
-
1284
- .main_contant p>a,
1285
- .tab1 p span {
1286
- font-family: helveticabold;
1287
- }
1288
-
1289
- .wapper .ui-accordion-header-active {
1290
- margin-top: 20px !important;
1291
- }
1292
-
1293
- .wapper .tab2 {
1294
- padding: 20px 33px 12px 34px !important;
1295
- }
1296
-
1297
- .wapper .tab2 p {
1298
- margin-bottom: 6px;
1299
- }
1300
-
1301
- .tab2 .twt_tab_2 label {
1302
- width: 175px;
1303
- }
1304
-
1305
- .tab2 .twt_fld {
1306
- margin: 16px 0 23px;
1307
- float: left;
1308
- }
1309
-
1310
- .tab2 .twt_fld_2 {
1311
- margin: 0 0 12px;
1312
- float: left;
1313
- }
1314
-
1315
- .tab2 .utube_inn {
1316
- padding-bottom: 2px;
1317
- float: left;
1318
- }
1319
-
1320
- .tab2 .utube_inn label {
1321
- max-width: 90%
1322
- }
1323
-
1324
- .tab2 .utube_inn label span {
1325
- font-family: helveticabold;
1326
- }
1327
-
1328
- .tab2 .inr_cont p>a {
1329
- font-family: helveticaneue-light;
1330
- color: #778088;
1331
- text-decoration: underline;
1332
- }
1333
-
1334
- .pinterest_section .inr_cont .pint_url {
1335
- float: left;
1336
- padding-top: 6px;
1337
- clear: both;
1338
- }
1339
-
1340
- .pinterest_section .inr_cont .add {
1341
- width: 417px !important;
1342
- }
1343
-
1344
- .linkedin_section .link_1,
1345
- .linkedin_section .link_2,
1346
- .linkedin_section .link_3,
1347
- .linkedin_section .link_4 {
1348
- float: left;
1349
- width: 100%
1350
- }
1351
-
1352
- .linkedin_section .link_1 input.add,
1353
- .linkedin_section .link_2 input.add,
1354
- .linkedin_section .link_3 input.add,
1355
- .linkedin_section .link_4 input.add {
1356
- width: 417px;
1357
- }
1358
-
1359
- .linkedin_section .link_1 {
1360
- margin-bottom: 7px;
1361
- }
1362
-
1363
- .linkedin_section .link_2 {
1364
- margin-bottom: 12px;
1365
- }
1366
-
1367
- .linkedin_section .link_3,
1368
- .linkedin_section .link_4 {
1369
- margin-bottom: 13px;
1370
- }
1371
-
1372
- .tab2 .linkedin_section .link_4 {
1373
- margin-bottom: 0;
1374
- }
1375
-
1376
- ul.tab_3_list li span {
1377
- font-family: helveticaregular;
1378
- }
1379
-
1380
- #accordion .tab4 h4,
1381
- #accordion1 .tab4 h4 {
1382
- color: #414951;
1383
- font-size: 20px;
1384
- }
1385
-
1386
- .specify_counts .listing li .input {
1387
- width: 73px;
1388
- }
1389
-
1390
- .sfsi_fbpgidwpr {
1391
- width: 160px;
1392
- float: left;
1393
- font-weight: bold;
1394
- font-size: 17px;
1395
- color: #000000;
1396
- }
1397
-
1398
- .sfsi_fbpgiddesc {
1399
- font-weight: normal;
1400
- width: 42%;
1401
- font-size: 14px;
1402
- color: #888888;
1403
- padding: 4px 0 0 60px;
1404
- }
1405
-
1406
- .specify_counts .listing li .input.mypginpt {
1407
- width: 288px;
1408
- }
1409
-
1410
- .tab3 .Shuffle_auto .sub_sub_box .tab_3_option {
1411
- padding-top: 0 !important;
1412
- margin-bottom: 10px !important;
1413
- }
1414
-
1415
- .tab4 {
1416
- padding-top: 35px !important;
1417
- }
1418
-
1419
- .tab4 .save_button {
1420
- padding-top: 46px;
1421
- }
1422
-
1423
- .tab5 {
1424
- padding-top: 31px !important;
1425
- }
1426
-
1427
- .tab7 {
1428
- padding-top: 28px !important;
1429
- }
1430
-
1431
- .tab5 .row_onl {
1432
- margin-top: 15px;
1433
- }
1434
-
1435
- .tab5 .sticking .link>a {
1436
- color: #a4a9ad;
1437
- text-decoration: underline;
1438
- }
1439
-
1440
- .tab5 .mouse_txt h4 {
1441
- /*margin-bottom: 8px!important;*/
1442
- padding-bottom: 30px !important;
1443
- }
1444
-
1445
- .tab5 .save_button {
1446
- padding-top: 54px;
1447
- }
1448
-
1449
- .tab7 .like_pop_box h2 {
1450
- font-family: helveticabold;
1451
- text-align: center;
1452
- color: #414951;
1453
- font-size: 26px;
1454
- }
1455
-
1456
- .tab1 ul.icn_listing li .right_info label:hover {
1457
- text-decoration: none !important;
1458
- }
1459
-
1460
- .tab1 ul.icn_listing li .right_info label.expanded-area {
1461
- clear: both;
1462
- float: left;
1463
- margin-top: 14px;
1464
- width: 100%;
1465
- }
1466
-
1467
- .tab7 .space {
1468
- margin-top: 14px;
1469
- }
1470
-
1471
- .tab7 .pop_up_show label {
1472
- font-family: helveticaregular !important;
1473
- }
1474
-
1475
- .tab7 .save_button {
1476
- padding-top: 78px;
1477
- }
1478
-
1479
- .like_txt a {
1480
- text-decoration: none;
1481
- font-family: helveticaregular;
1482
- }
1483
-
1484
- .bdr_btm_non {
1485
- border-bottom: none !important;
1486
- }
1487
-
1488
- .tab1 .tab_1_sav {
1489
- padding-top: 13px;
1490
- }
1491
-
1492
- #accordion .tab2 .facebook_section .inr_cont p.extra_sp,
1493
- #accordion1 .tab2 .facebook_section .inr_cont p.extra_sp {
1494
- padding-top: 7px;
1495
- }
1496
-
1497
- .tab2 .custom_section {
1498
- width: 100%
1499
- }
1500
-
1501
- .tab7 {
1502
- padding-bottom: 40px !important;
1503
- }
1504
-
1505
- .tab9 .save_button {
1506
- padding-top: 40px;
1507
- }
1508
-
1509
- .tab9 .save_button a {
1510
- padding: 16px 0;
1511
- }
1512
-
1513
- .tab2 .twitter_section .twt_fld input.add,
1514
- .tab2 .twitter_section .twt_fld_2 textarea.add_txt {
1515
- width: 464px !important;
1516
- }
1517
-
1518
- .tab2 .utube_inn .fb_url label span {
1519
- font-family: helveticaneue-light;
1520
- }
1521
-
1522
- .tab1 label,
1523
- .tab2 label,
1524
- .tab3 label,
1525
- .tab4 label,
1526
- .tab5 label,
1527
- .tab6 label,
1528
- .tab7 label,
1529
- .tab8 label {
1530
- cursor: default !important;
1531
- }
1532
-
1533
- .tab5 .new_wind h4 {
1534
- margin-bottom: 11px !important;
1535
- }
1536
-
1537
- .pop_up_box .fb_2 span {
1538
- height: 28px !important;
1539
- }
1540
-
1541
- .pop_up_box .sfsi_tool_tip_2 .fbb .fb_1 a {
1542
- margin-top: 0;
1543
- }
1544
-
1545
- .tab6 .social_icon_like1 ul li span {
1546
- margin-top: -1px;
1547
- }
1548
-
1549
- #sfpageLoad {
1550
- background: url(../images/ajax-loader.gif) 50% 50% no-repeat #F9F9F9;
1551
- height: 100%;
1552
- left: 160px;
1553
- opacity: 1;
1554
- position: fixed;
1555
- top: 0;
1556
- width: 92%;
1557
- z-index: 9999;
1558
- }
1559
-
1560
- .sfsi_tool_tip_2,
1561
- .tool_tip {
1562
- background: #FFF;
1563
- border: 1px solid #e7e7e7;
1564
- box-shadow: #e7e7e7 0 0 2px 1px;
1565
- display: block;
1566
- float: left;
1567
- margin: 0 0 0 -52px;
1568
- padding: 5px 14px 5px 14px;
1569
- position: absolute;
1570
- z-index: 10000;
1571
- border-bottom: #e5e5e5 solid 4px;
1572
- width: 100px;
1573
- }
1574
-
1575
- .sfsi_tool_tip_2 {
1576
- display: inline-table;
1577
- }
1578
-
1579
- .inerCnt,
1580
- .inerCnt:hover,
1581
- .inerCnt>a,
1582
- .inerCnt>a:hover,
1583
- .widget-area .widget a {
1584
- outline: 0;
1585
- }
1586
-
1587
- .sfsi_tool_tip_2_inr {
1588
- bottom: 90%;
1589
- left: 20%;
1590
- opacity: 0;
1591
- }
1592
-
1593
- .sfsi_tool_tip_2 .bot_arow {
1594
- background: url(../images/bot_tip_icn.png) no-repeat;
1595
- position: absolute;
1596
- bottom: -21px;
1597
- left: 50%;
1598
- width: 15px;
1599
- height: 21px;
1600
- margin-left: -5px;
1601
- }
1602
-
1603
- .sfsi_tool_tip_2 .top_big_arow {
1604
- position: absolute;
1605
- -webkit-transform: rotate(180deg);
1606
- -moz-transform: rotate(180deg);
1607
- -ms-transform: rotate(180deg);
1608
- -o-transform: rotate(180deg);
1609
- transform: rotate(180deg);
1610
- top: -21px;
1611
- left: 50%;
1612
- width: 15px;
1613
- height: 21px;
1614
- margin-right: -5px;
1615
- }
1616
-
1617
- .sfsi_tool_tip_2_inr .gpls_visit>a,
1618
- .sfsi_tool_tip_2_inr .prints_visit_1 a,
1619
- .sfsi_tool_tip_2_inr .utub_visit>a {
1620
- margin-top: 0;
1621
- }
1622
-
1623
- .sfsi_tool_tip_2_inr .linkin_1 a,
1624
- .sfsi_tool_tip_2_inr .linkin_2 a,
1625
- .sfsi_tool_tip_2_inr .linkin_3 a,
1626
- .sfsi_tool_tip_2_inr .linkin_4 a,
1627
- .sfsi_tool_tip_2_inr .prints_visit a {
1628
- margin: 0;
1629
- }
1630
-
1631
- .sfsiTlleftBig {
1632
- bottom: 121%;
1633
- left: 22%;
1634
- margin-left: -54%
1635
- }
1636
-
1637
- .sfsiTlleft {
1638
- bottom: 100%;
1639
- left: 50%;
1640
- margin-left: -66px;
1641
- margin-bottom: 2px;
1642
- }
1643
-
1644
- .sfsi_plc_btm {
1645
- bottom: auto;
1646
- top: 100%;
1647
- left: 50%;
1648
- margin-left: -63px;
1649
- margin-top: -6px;
1650
- margin-bottom: auto;
1651
- }
1652
-
1653
- .inerCnt {
1654
- position: relative;
1655
- z-index: inherit !important;
1656
- float: left;
1657
- width: 100%;
1658
- float: left;
1659
- }
1660
-
1661
- .sfsi_wicons {
1662
- margin-bottom: 30px;
1663
- position: relative;
1664
- padding-top: 5px;
1665
- }
1666
-
1667
- .norm_row .bot_no {
1668
- position: absolute;
1669
- padding: 1px 0;
1670
- font-size: 12px !important;
1671
- text-align: center;
1672
- line-height: 12px !important;
1673
- background: #fff;
1674
- border-radius: 5px;
1675
- left: 50%;
1676
- margin-left: -20px;
1677
- z-index: 9;
1678
- border: 1px solid #333;
1679
- top: 100%;
1680
- white-space: pre;
1681
- -webkit-box-sizing: border-box;
1682
- -moz-box-sizing: border-box;
1683
- box-sizing: border-box;
1684
- margin-top: 0px;
1685
- width: 40px;
1686
- }
1687
-
1688
- .norm_row .bot_no:before {
1689
- content: url(images/count_top_arow.png);
1690
- position: absolute;
1691
- height: 9px;
1692
- margin-left: -7.5px;
1693
- top: -10px;
1694
- left: 50%;
1695
- width: 15px;
1696
- }
1697
-
1698
- .bot_no.sfsiSmBtn {
1699
- font-size: 10px;
1700
- margin-top: 4px;
1701
- }
1702
-
1703
- .bot_no.sfsiSmBtn:before {
1704
- margin-left: -8px;
1705
- top: -9px;
1706
- }
1707
-
1708
- .norm_row .cbtn_vsmall {
1709
- font-size: 9px;
1710
- left: -28%;
1711
- top: 4px;
1712
- }
1713
-
1714
- .norm_row .cbtn_vsmall:before {
1715
- left: 31%;
1716
- top: -9px;
1717
- margin-left: -31%
1718
- }
1719
-
1720
- h2.optional {
1721
- font-family: helveticaregular;
1722
- font-size: 25px;
1723
- margin: 14px 0 19px;
1724
- color: #5a6570;
1725
- }
1726
-
1727
- .utube_tool_bdr .utub_visit {
1728
- margin: 9px 0 0;
1729
- height: 24px;
1730
- display: inline-block;
1731
- float: none;
1732
- }
1733
-
1734
- .utube_tool_bdr .utub_2 {
1735
- margin: 9px 0 0;
1736
- height: 24px;
1737
- width: 86px;
1738
- display: inline-block;
1739
- float: none;
1740
- }
1741
-
1742
- .printst_tool_bdr {
1743
- width: 79px;
1744
- }
1745
-
1746
- .printst_tool_bdr .prints_visit {
1747
- margin: 0 0 10px -22px;
1748
- }
1749
-
1750
- .printst_tool_bdr .prints_visit_1 {
1751
- margin: 0 0 0 -53px;
1752
- }
1753
-
1754
- .fb_tool_bdr {
1755
- width: 68px;
1756
- height: auto;
1757
- }
1758
-
1759
- .fb_tool_bdr .sfsi_inside {
1760
- text-align: center;
1761
- width: 100%;
1762
- float: left;
1763
- overflow: hidden;
1764
- }
1765
-
1766
- .fb_tool_bdr .sfsi_inside .icon1 {
1767
- /* margin: 0 0 -5px 0;*/
1768
- margin: 2px 0px 4px 0;
1769
- height: auto;
1770
- display: inline-block;
1771
- float: none;
1772
- width: 62px;
1773
- }
1774
-
1775
- .fb_tool_bdr .sfsi_inside .icon2 {
1776
- margin: 2px 0 3px 0 !important;
1777
- height: auto;
1778
- width: 53px;
1779
- display: inline-block;
1780
- overflow: hidden;
1781
- }
1782
-
1783
- .fb_tool_bdr .sfsi_inside .icon3 {
1784
- margin: 2px 0 2px 0;
1785
- height: auto;
1786
- width: 62px;
1787
- display: inline-block;
1788
- float: none;
1789
- }
1790
-
1791
- .fb_tool_bdr .sfsi_inside .fb_1,
1792
- .fb_tool_bdr .sfsi_inside .fb_2,
1793
- .fb_tool_bdr .sfsi_inside .fb_3 {
1794
- margin: 9px 0 0;
1795
- height: 25px;
1796
- }
1797
-
1798
- .printst_tool_bdr .sfsi_inside {
1799
- text-align: center;
1800
- float: left;
1801
- width: 100%
1802
- }
1803
-
1804
- .printst_tool_bdr .sfsi_inside .icon1 {
1805
- /* margin: 2px 0;*/
1806
- margin: 3px 0 3px 0;
1807
- /* height: 24px;*/
1808
- height: auto;
1809
- display: inline-block;
1810
- float: none;
1811
- width: 73px;
1812
- }
1813
-
1814
- .printst_tool_bdr .sfsi_inside .icon2 {
1815
- /* margin: 2px 0;*/
1816
- margin: 2px 0 2px 0;
1817
- height: auto;
1818
- display: inline-block;
1819
- float: none;
1820
- max-width: 73px;
1821
- width: auto;
1822
- }
1823
-
1824
- .printst_tool_bdr .sfsi_inside .prints_visit,
1825
- .printst_tool_bdr .sfsi_inside .prints_visit_1 {
1826
- margin: 9px 0 0;
1827
- height: 20px;
1828
- float: none;
1829
- display: inline-block;
1830
- }
1831
-
1832
- .printst_tool_bdr {
1833
- margin-left: -59px;
1834
- }
1835
-
1836
- .fb_tool_bdr .sfsi_inside .icon1>a>img,
1837
- .gpls_tool_bdr .sfsi_inside .icon1>a>img,
1838
- .linkedin_tool_bdr .sfsi_inside .icon1>a>img,
1839
- .linkedin_tool_bdr .sfsi_inside .icon4>a>img,
1840
- .printst_tool_bdr .sfsi_inside .icon1>a>img,
1841
- .printst_tool_bdr .sfsi_inside .icon2>a>img,
1842
- .utube_tool_bdr .sfsi_inside .icon1>a>img {
1843
- padding-top: 0;
1844
- }
1845
-
1846
- .gpls_tool_bdr {
1847
- width: 76px;
1848
- }
1849
-
1850
- .gpls_tool_bdr .sfsi_inside .icon1>a>img {
1851
- padding-top: 0;
1852
- }
1853
-
1854
- .gpls_tool_bdr .sfsi_inside {
1855
- text-align: center;
1856
- width: 100%;
1857
- float: left;
1858
- }
1859
-
1860
- .gpls_tool_bdr .sfsi_inside .icon1 {
1861
- margin: 2px 0;
1862
- display: inline-block;
1863
- float: none;
1864
- height: 29px;
1865
- width: 76px;
1866
- }
1867
-
1868
- .gpls_tool_bdr .sfsi_inside .icon2 {
1869
- margin: 2px 0 3px 0;
1870
- display: inline-block;
1871
- float: none;
1872
- height: 24px;
1873
- width: 38px;
1874
- }
1875
-
1876
- .gpls_tool_bdr .sfsi_inside .icon3 {
1877
- margin: 3px 0 2px 0;
1878
- display: inline-block;
1879
- float: none;
1880
- height: 24px;
1881
- width: 76px;
1882
- }
1883
-
1884
- .gpls_tool_bdr .sfsi_inside .gpls_visit,
1885
- .gpls_tool_bdr .sfsi_inside .gtalk_2,
1886
- .gpls_tool_bdr .sfsi_inside .gtalk_3 {
1887
- margin: 9px 0 0;
1888
- height: 29px;
1889
- }
1890
-
1891
- .pop_up_box_ex.sfsi_pop_up .fb_tool_bdr,
1892
- .gpls_tool_bdr,
1893
- .linkedin_tool_bdr,
1894
- .twt_tool_bdr {
1895
- bottom: 100%;
1896
- left: 50%;
1897
- margin-bottom: -12px;
1898
- }
1899
-
1900
- .fb_tool_bdr,
1901
- .gpls_tool_bdr,
1902
- .linkedin_tool_bdr,
1903
- .twt_tool_bdr {
1904
- bottom: 100%;
1905
- left: 50%;
1906
- margin-bottom: 8px;
1907
- }
1908
-
1909
- .printst_tool_bdr {
1910
- bottom: 80%;
1911
- left: 50%;
1912
- /* margin-bottom: 2px;*/
1913
- margin-bottom: 0px;
1914
- margin-bottom: 18px;
1915
- }
1916
-
1917
- .printst_tool_bdr {
1918
- bottom: 80%;
1919
- left: 50%;
1920
- margin-bottom: 18px;
1921
- }
1922
-
1923
- .twt_tool_bdr .sfsi_inside {
1924
- text-align: center;
1925
- width: 100%;
1926
- float: left;
1927
- }
1928
-
1929
- .twt_tool_bdr .sfsi_inside .cstmicon1 {
1930
- margin: 2px 0px 2px 0 !important;
1931
- /*margin: 2px 0!important; display: inline-block;*/
1932
- float: none;
1933
- width: 62px;
1934
- /* overflow: hidden;*/
1935
- /*height: 20px;*/
1936
- }
1937
-
1938
- .twt_tool_bdr .sfsi_inside .cstmicon1 a img {
1939
- float: left;
1940
- }
1941
-
1942
- .twt_tool_bdr .sfsi_inside .icon1 {
1943
- /*margin: -4px 0 -5px 0 !important;*/
1944
- margin: 5px 0px 3px 0 !important;
1945
- display: inline-block;
1946
- float: none;
1947
- width: 61px;
1948
- /* overflow: hidden;*/
1949
- height: auto;
1950
- }
1951
-
1952
- .twt_tool_bdr .sfsi_inside .icon1 iframe {
1953
- width: 61px !important;
1954
- }
1955
-
1956
- .twt_tool_bdr .sfsi_inside .icon2 {
1957
- margin: 3px 0px 2px 0px !important;
1958
- display: inline-block;
1959
- float: none;
1960
- height: auto;
1961
- width: 58px;
1962
- }
1963
-
1964
- .twt_tool_bdr .sfsi_inside .twt_1 {
1965
- margin: 9px 0 0;
1966
- display: inline-block;
1967
- float: none;
1968
- width: 58px;
1969
- height: 20px;
1970
- overflow: hidden;
1971
- }
1972
-
1973
- .twt_tool_bdr .sfsi_inside .twt_1 iframe {
1974
- width: 100% !important;
1975
- }
1976
-
1977
- .twt_tool_bdr .sfsi_inside .twt_2 {
1978
- margin: 9px 0 0;
1979
- height: 20px;
1980
- display: inline-block;
1981
- float: none;
1982
- width: 58px;
1983
- }
1984
-
1985
- .utube_tool_bdr .sfsi_inside {
1986
- text-align: center;
1987
- width: 100%;
1988
- float: left;
1989
- }
1990
-
1991
- .utube_tool_bdr .sfsi_inside .icon1 {
1992
- /*margin: 5px 0 0;*/
1993
- margin: 4px 0px 3px 0;
1994
- height: 24px;
1995
- display: inline-block;
1996
- float: none;
1997
- width: 96px;
1998
- }
1999
-
2000
- .utube_tool_bdr .sfsi_inside .icon2 {
2001
- /* margin: 9px 0 0;*/
2002
- margin: 2px 0 3px 0 !important;
2003
- height: 24px;
2004
- display: inline-block;
2005
- float: none;
2006
- max-width: 96px;
2007
- width: 82px;
2008
- }
2009
-
2010
- .pop-overlay.read-overlay.ytex-s2 .utube_tool_bdr {
2011
- width: 93px;
2012
- bottom: 100%;
2013
- left: 50%;
2014
- margin-bottom: -12px;
2015
- }
2016
-
2017
- .utube_tool_bdr {
2018
- width: 93px;
2019
- bottom: 100%;
2020
- left: 50%;
2021
- margin-bottom: 8px;
2022
- }
2023
-
2024
- .linkedin_tool_bdr {
2025
- width: 66px;
2026
- }
2027
-
2028
- .linkedin_tool_bdr .sfsi_inside {
2029
- text-align: center;
2030
- float: left;
2031
- width: 100%
2032
- }
2033
-
2034
- .linkedin_tool_bdr .sfsi_inside .icon1 {
2035
- margin: 2px 0 2px 0px;
2036
- display: inline-block;
2037
- float: none;
2038
- /* height: 20px;*/
2039
- width: 100%;
2040
- }
2041
-
2042
- .linkedin_tool_bdr .sfsi_inside .icon2 {
2043
- margin: 2px 0 2px 0px;
2044
- display: inline-block;
2045
- float: none;
2046
- /* height: 20px;*/
2047
- width: 100%;
2048
- }
2049
-
2050
- .linkedin_tool_bdr .sfsi_inside .icon3 {
2051
- margin: 2px 0 2px 0px;
2052
- display: inline-block;
2053
- float: none;
2054
- /* height: 20px;*/
2055
- width: 100%;
2056
- }
2057
-
2058
- .linkedin_tool_bdr .sfsi_inside .icon4 {
2059
- margin: 2px 0 1px 0px;
2060
- display: inline-block;
2061
- float: none;
2062
- /* height: 25px !important;*/
2063
- width: 100%;
2064
- }
2065
-
2066
- .sfsi_FrntInner_chg .linkedin_tool_bdr .sfsi_inside .icon1 {
2067
- margin: 7px 0;
2068
- }
2069
-
2070
- .sfsi_widget .linkedin_tool_bdr .sfsi_inside .icon4,
2071
- .sfsi_widget .gpls_tool_bdr .sfsi_inside .icon1,
2072
- .sfsi_widget .fb_tool_bdr .sfsi_inside .icon1 {
2073
- height: auto
2074
- }
2075
-
2076
- .linkedin_tool_bdr .linkin_1,
2077
- .linkedin_tool_bdr .linkin_2,
2078
- .linkedin_tool_bdr .linkin_3,
2079
- .linkedin_tool_bdr .linkin_4 {
2080
- margin: 9px 0 0 !important;
2081
- height: 20px;
2082
- display: inline-block;
2083
- float: none;
2084
- overflow: hidden;
2085
- }
2086
-
2087
- .twt_tool_bdr {
2088
- width: 62px;
2089
- height: auto;
2090
- }
2091
-
2092
- .twt_tool_bdr .sfsi_inside .icon1>iframe {
2093
- margin: 0 auto !important;
2094
- float: none !important;
2095
- width: 100%
2096
- }
2097
-
2098
- .twt_tool_bdr .sfsi_inside .icon1>iframe #widget {
2099
- text-align: center;
2100
- }
2101
-
2102
- .sfsi_pop_up .button {
2103
- border: none;
2104
- padding: 0;
2105
- }
2106
-
2107
- .pop_up_box .button a {
2108
- color: #fff;
2109
- line-height: normal;
2110
- font-size: 22px;
2111
- text-decoration: none;
2112
- text-align: center;
2113
- width: 482px;
2114
- height: 80px;
2115
- margin: 0;
2116
- display: table-cell;
2117
- vertical-align: middle;
2118
- font-family: helveticabold;
2119
- }
2120
-
2121
- .tab3 ul.tab_3_icns li .radio {
2122
- margin-top: 7px;
2123
- }
2124
-
2125
- .tab3 ul.tab_3_icns li label {
2126
- line-height: 50px !important;
2127
- margin-left: 20px;
2128
- }
2129
-
2130
- .sfsi_mainContainer input[type=email],
2131
- .sfsi_mainContainer input[type=number],
2132
- .sfsi_mainContainer input[type=password],
2133
- .sfsi_mainContainer input[type=search],
2134
- .sfsi_mainContainer input[type=tel],
2135
- .sfsi_mainContainer input[type=text],
2136
- .sfsi_mainContainer input[type=url],
2137
- .sfsi_mainContainer select,
2138
- .sfsi_mainContainer textarea {
2139
- color: #5a6570 !important;
2140
- }
2141
-
2142
- .adminTooltip {
2143
- left: 142px;
2144
- position: absolute;
2145
- }
2146
-
2147
- .adPopWidth {
2148
- min-height: 100px !important;
2149
- }
2150
-
2151
- .main_contant p>a.lit_txt,
2152
- .tab4 p>a {
2153
- font-family: helveticaregular;
2154
- color: #414951;
2155
- }
2156
-
2157
- .tab1 ul.icn_listing li .custom-txt {
2158
- margin-left: 5px;
2159
- }
2160
-
2161
- .tab1 ul.icn_listing li .custom-img {
2162
- margin-left: 18px;
2163
- }
2164
-
2165
- .linkedin_section .link_4>label.anthr_labl {
2166
- height: 94px;
2167
- }
2168
-
2169
- .mediam_txt {
2170
- font-family: helveticabold;
2171
- }
2172
-
2173
- .sfsiCtxt {
2174
- line-height: 51px;
2175
- font-family: helveticaregular;
2176
- font-size: 22px;
2177
- float: left;
2178
- padding-left: 19px;
2179
- color: #5a6570;
2180
- }
2181
-
2182
- .customstep2-img {
2183
- width: 51px;
2184
- float: left;
2185
- }
2186
-
2187
- .tab2 .row h2.custom {
2188
- margin: 15px 0 7px 21px;
2189
- height: 52px;
2190
- line-height: 51px;
2191
- font-family: helveticaregular;
2192
- font-size: 22px;
2193
- }
2194
-
2195
- .custom-links p.cus_link label {
2196
- margin-left: 0;
2197
- }
2198
-
2199
- .pop_up_box .sfsi_tool_tip_2 .fbb .fb_1 a>img:hover {
2200
- opacity: .9;
2201
- }
2202
-
2203
- .tab2 .rss_url_row .sfrsTxt {
2204
- font-size: 17px;
2205
- line-height: 47px;
2206
- margin: 0 0 0 4px;
2207
- font-family: helveticaregular;
2208
- }
2209
-
2210
- .tab2 .rss_url_row .sfrsTxt>strong {
2211
- font-family: helveticaregular;
2212
- }
2213
-
2214
- .tab2 .utube_inn p.extra_pp {
2215
- float: left;
2216
- width: 100%;
2217
- margin: 0 0 0 48px;
2218
- }
2219
-
2220
- .tab2 .utube_inn p.extra_pp label {
2221
- float: left;
2222
- line-height: 41px;
2223
- margin-right: 8px;
2224
- }
2225
-
2226
- .sfsi_inside .icon2 .fb_iframe_widget span {
2227
- width: 500px !important;
2228
- }
2229
-
2230
- @media (max-width:767px) {
2231
- .sfsi_inside .icon2 .fb_iframe_widget span {
2232
- width: auto;
2233
- }
2234
-
2235
- .sfsi_outr_div {
2236
- top: 10%
2237
- }
2238
-
2239
- .sfsi_outr_div h2 {
2240
- font-size: 22px !important;
2241
- line-height: 28px;
2242
- }
2243
-
2244
- .sfsi_wicons {
2245
- padding-top: 0;
2246
- }
2247
- }
2248
-
2249
- .specify_counts .listing li .high_prb {
2250
- height: 41px;
2251
- }
2252
-
2253
- .sfsi_Sicons {
2254
- position: relative;
2255
- }
2256
-
2257
-
2258
-
2259
- .sfsi_Sicons .fb_iframe_widget {
2260
- float: left;
2261
- width: 73px;
2262
- margin: 2px 0 0;
2263
- }
2264
-
2265
- .sfsi_Sicons .sf_fb .fb_iframe_widget>span {
2266
- position: absolute;
2267
- /*width: 450px!important; z-index: 1;*/
2268
- }
2269
-
2270
- .tab2 .utube_inn label {
2271
- font-size: 17px;
2272
- }
2273
-
2274
- .sfsi_plc_btm {
2275
- padding: 5px 14px 9px;
2276
- }
2277
-
2278
- .tab7 .field {
2279
- margin-top: 7px;
2280
- }
2281
-
2282
- .sfsi_outr_div ul li .cmcls img {
2283
- margin-top: 0 !important;
2284
- }
2285
-
2286
- .sfsi_outr_div ul li .inerCnt {
2287
- float: left;
2288
- }
2289
-
2290
- .sfsi_outr_div ul li .inerCnt .bot_no {
2291
- position: absolute;
2292
- padding: 1px 0;
2293
- font-size: 12px !important;
2294
- line-height: 12px !important;
2295
- text-align: center;
2296
- background: #fff;
2297
- border-radius: 5px;
2298
- display: block;
2299
- left: 50%;
2300
- margin-left: -20px;
2301
- border: 1px solid #333;
2302
- white-space: pre;
2303
- -webkit-box-sizing: border-box;
2304
- -moz-box-sizing: border-box;
2305
- box-sizing: border-box;
2306
- margin-top: 6px;
2307
- width: 40px;
2308
- word-break: break-all;
2309
- word-wrap: break-word;
2310
- }
2311
-
2312
- .sfsi_outr_div ul li .inerCnt .bot_no:before {
2313
- content: url(images/count_top_arow.png);
2314
- position: absolute;
2315
- height: 9px;
2316
- margin-left: -7.5px;
2317
- top: -10px;
2318
- left: 50%;
2319
- width: 15px;
2320
- }
2321
-
2322
- .sfsi_outr_div {
2323
- position: fixed;
2324
- width: 100%;
2325
- float: none;
2326
- left: 50%;
2327
- top: 20%;
2328
- margin-left: -50%;
2329
- opacity: 0;
2330
- z-index: -1;
2331
- display: block;
2332
- text-align: center;
2333
- }
2334
-
2335
- .sfsi_outr_div .sfsi_FrntInner_chg {
2336
- display: inline-block;
2337
- padding: 15px 17px 27px 18px;
2338
- background: #FFF;
2339
- border: 1px solid #EDEDED;
2340
- box-shadow: 0 0 5px #CCC;
2341
- margin: 20px;
2342
- position: relative;
2343
- }
2344
-
2345
- .sfsi_FrntInner_chg .sfsiclpupwpr {
2346
- position: absolute;
2347
- right: -10px;
2348
- top: -10px;
2349
- width: 25px;
2350
- cursor: pointer;
2351
- }
2352
-
2353
- .sfsi_FrntInner_chg .sfsiclpupwpr img {
2354
- width: auto;
2355
- float: left;
2356
- border: medium none;
2357
- }
2358
-
2359
- .tab7 .like_pop_box {
2360
- width: 100%;
2361
- margin: 35px auto auto;
2362
- position: relative;
2363
- text-align: center;
2364
- }
2365
-
2366
- .tab7 .like_pop_box .sfsi_Popinner {
2367
- display: inline-block;
2368
- padding: 18px 20px;
2369
- box-shadow: 0 0 5px #ccc;
2370
- -webkit-box-shadow: 0 0 5px #ccc;
2371
- border: 1px solid #ededed;
2372
- background: #FFF;
2373
- }
2374
-
2375
- .tab7 .like_pop_box .sfsi_Popinner h2 {
2376
- margin: 0 0 23px;
2377
- padding: 0;
2378
- color: #414951;
2379
- font-family: helveticabold;
2380
- font-size: 26px;
2381
- text-align: center;
2382
- }
2383
-
2384
- .tab7 .like_pop_box .sfsi_Popinner ul {
2385
- margin: 0;
2386
- padding: 0;
2387
- list-style: none;
2388
- text-align: center;
2389
- }
2390
-
2391
- .tab7 .like_pop_box .sfsi_Popinner ul li {
2392
- margin: 0;
2393
- padding: 0;
2394
- list-style: none;
2395
- display: inline-block;
2396
- }
2397
-
2398
- .tab7 .like_pop_box .sfsi_Popinner ul li span {
2399
- margin: 0;
2400
- width: 54px;
2401
- display: block;
2402
- background: url(../images/count_bg.png) no-repeat;
2403
- height: 24px;
2404
- overflow: hidden;
2405
- padding: 10px 2px 2px;
2406
- font-family: helveticaregular;
2407
- font-size: 16px;
2408
- text-align: center;
2409
- line-height: 24px;
2410
- color: #5a6570;
2411
- }
2412
-
2413
- .tab7 .like_pop_box .sfsi_Popinner ul li a {
2414
- color: #5a6570;
2415
- text-decoration: none;
2416
- }
2417
-
2418
- .sfsi_outr_div .sfsi_FrntInner_chg .sfsi_wicons {
2419
- margin-bottom: 0;
2420
- }
2421
-
2422
- .sfsi_outr_div ul {
2423
- list-style: none;
2424
- margin: 0 0 24px;
2425
- padding: 0;
2426
- text-align: center;
2427
- }
2428
-
2429
- a.sfsiColbtn {
2430
- color: #5a6570 !important;
2431
- float: right;
2432
- font-size: 14px;
2433
- margin: -35px -30px 0 0;
2434
- position: relative;
2435
- right: 0;
2436
- font-family: helveticaregular;
2437
- width: 100px;
2438
- text-decoration: none;
2439
- }
2440
-
2441
- .tab3 a.sfsiColbtn {
2442
- margin-top: -43px;
2443
- }
2444
-
2445
- .sfsi_FrntInner_chg ul li:first-of-type .sfsi_wicons {
2446
- margin-left: 0 !important;
2447
- }
2448
-
2449
- ul.tab_3_icns li .trans_bg {
2450
- background: #000;
2451
- padding-left: 3px;
2452
- }
2453
-
2454
- .tab2 .instagram_section {
2455
- padding-bottom: 20px;
2456
- }
2457
-
2458
- h1.abt_titl {
2459
- text-align: center;
2460
- margin: 19% 0 0;
2461
- }
2462
-
2463
- .sfcm.sfsi_wicon {
2464
- padding: 0;
2465
- width: 100%;
2466
- border: medium none;
2467
- }
2468
-
2469
- .fb_iframe_widget span {
2470
- vertical-align: top !important;
2471
- }
2472
-
2473
- .sfsi_outr_div .sfsi_FrntInner_chg ul {
2474
- margin: 0 0 0 3px;
2475
- }
2476
-
2477
- .sfsi_outr_div .sfsi_FrntInner_chg ul li {
2478
- margin: 0 3px 0 0;
2479
- }
2480
-
2481
- .sfcm.sfsi_wicon {
2482
- margin: -1px;
2483
- padding: 0;
2484
- }
2485
-
2486
- @media (min-width:320px) and (max-width:480px) {
2487
-
2488
- .sfsi_tool_tip_2,
2489
- .tool_tip {
2490
- padding: 5px 14px 0;
2491
- }
2492
-
2493
- .sfsi_inside:last-child {
2494
- margin-bottom: 18px;
2495
- clear: both;
2496
- }
2497
-
2498
- .sfsi_outr_div {
2499
- top: 10%;
2500
- }
2501
-
2502
- .sfsi_FrntInner_chg .sfsi_wicons {
2503
- width: 31px !important;
2504
- height: 31px !important;
2505
- }
2506
-
2507
- .sfsi_FrntInner_chg .sfsi_wicons img {
2508
- width: 100%;
2509
- }
2510
-
2511
- .sfsi_Sicons .sf_fb
2512
- {
2513
- margin-bottom: 24px;
2514
- }
2515
-
2516
-
2517
- .sfsi_Sicons .sf_twiter {
2518
- margin-bottom: 4px;
2519
- }
2520
- }
2521
-
2522
- @media (max-width:320px) {
2523
-
2524
- .sfsi_tool_tip_2,
2525
- .tool_tip {
2526
- padding: 5px 14px 0;
2527
- }
2528
-
2529
- .sfsi_inside:last-child {
2530
- margin-bottom: 18px;
2531
- clear: both;
2532
- }
2533
-
2534
- .sfsi_FrntInner_chg .sfsi_wicons {
2535
- width: 31px !important;
2536
- height: 31px !important;
2537
- }
2538
-
2539
- .sfsi_FrntInner_chg .sfsi_wicons img {
2540
- width: 100%
2541
- }
2542
- }
2543
-
2544
- ul.SFSI_lsngfrm {
2545
- float: left;
2546
- /* width: 61%;*/
2547
- width: 51.33%;
2548
- padding-left: 60px !important;
2549
- }
2550
-
2551
- ul.SFSI_instructions {
2552
- float: left;
2553
- width: 35%;
2554
- }
2555
-
2556
- li.youtube_options {
2557
- padding-left: 60px !important;
2558
- }
2559
-
2560
- input[name="sfsi_pinterest_manualCounts"] {
2561
- margin-left: -20px !important;
2562
- }
2563
-
2564
- ul.SFSI_instructions li {
2565
- font-size: 12px !important;
2566
- line-height: 25px !important;
2567
- margin: 0 !important;
2568
- padding: 0 0 0 15px !important;
2569
- width: 100%
2570
- }
2571
-
2572
- /*{Monad}*/
2573
- /*Upload Skins css*/
2574
- .cstmskin_popup {
2575
- width: 500px;
2576
- background: #FFF;
2577
- box-shadow: 0 0 5px 3px #d8d8d8;
2578
- margin: 40px 0px auto;
2579
- padding: 20px 25px 20px;
2580
- font-family: helveticaregular;
2581
- color: #5a6570;
2582
- height: auto;
2583
- float: left;
2584
- position: relative;
2585
- left: 35%;
2586
- }
2587
-
2588
- .cstomskins_wrpr {
2589
- float: left;
2590
- width: 100%;
2591
- }
2592
-
2593
- .custskinmsg {
2594
- float: left;
2595
- font-size: 15px;
2596
- margin-top: 10px;
2597
- width: 100%;
2598
- }
2599
-
2600
- .custskinmsg>ul {
2601
- color: #000;
2602
- float: left;
2603
- margin-top: 8px;
2604
- width: 100%;
2605
- }
2606
-
2607
- ul.cstmskin_iconlist {
2608
- float: left;
2609
- padding: 11px 0 40px 8px;
2610
- width: 100%;
2611
- max-width: 1000px;
2612
- margin: 0;
2613
- height: 307px;
2614
- overflow-y: scroll;
2615
- }
2616
-
2617
- .placethemanulywpr {
2618
- max-width: 98% !important
2619
- }
2620
-
2621
- .cstmskin_iconlist>li {
2622
- float: left;
2623
- margin: 3px 0;
2624
- width: 100%;
2625
- }
2626
-
2627
- .cstm_icnname {
2628
- float: left;
2629
- width: 30%;
2630
- }
2631
-
2632
- .cstmskins_btn>img {
2633
- float: left;
2634
- margin-right: 25px;
2635
- }
2636
-
2637
- .cstmskin_btn {
2638
- width: auto;
2639
- float: left;
2640
- padding: 3px 20px;
2641
- color: #fff;
2642
- background-color: #12a252;
2643
- text-decoration: none;
2644
- margin: 0 10px;
2645
- }
2646
-
2647
- .cstmskins_sbmt {
2648
- width: 100%;
2649
- float: left;
2650
- text-align: center;
2651
- margin-top: 15px;
2652
- }
2653
-
2654
- .done_btn {
2655
- width: auto;
2656
- padding: 3px 80px;
2657
- color: #fff;
2658
- background-color: #12a252;
2659
- text-decoration: none;
2660
- font-size: 18px;
2661
- }
2662
-
2663
- .cstmskin_btn:hover,
2664
- .done_btn:hover,
2665
- .cstmskin_btn:focus,
2666
- .done_btn:focus {
2667
- color: #fff;
2668
- }
2669
-
2670
- .skswrpr,
2671
- .dlt_btn {
2672
- display: none;
2673
- }
2674
-
2675
- .cstmutbewpr {
2676
- width: 100%;
2677
- float: left;
2678
- margin-top: 10px;
2679
- margin-left: 40px;
2680
- }
2681
-
2682
- .cstmutbewpr ul.enough_waffling li {
2683
- width: auto;
2684
- float: left;
2685
- margin-right: 20px;
2686
- }
2687
-
2688
- .cstmutbewpr ul.enough_waffling li span {
2689
- float: left;
2690
- }
2691
-
2692
- .cstmutbewpr ul.enough_waffling li label {
2693
- width: auto;
2694
- float: left;
2695
- margin-top: 10px;
2696
- margin-left: 10px;
2697
- }
2698
-
2699
- .cstmutbewpr .cstmutbtxtwpr {
2700
- width: 100%;
2701
- float: left;
2702
- padding-top: 10px;
2703
- }
2704
-
2705
- .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlnmewpr {
2706
- width: 100%;
2707
- float: left;
2708
- display: none;
2709
- }
2710
-
2711
- #accordion .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlnmewpr p,
2712
- #accordion .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlidwpr p {
2713
- margin-left: 0px;
2714
- }
2715
-
2716
- .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlidwpr {
2717
- width: 100%;
2718
- float: left;
2719
- display: none;
2720
- }
2721
-
2722
- #accordion .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlnmewpr p label,
2723
- #accordion .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlidwpr p label {
2724
- width: 120px;
2725
- }
2726
-
2727
- .sfsi_widget .sfsi_wDiv .sfsi_wicons .inerCnt a,
2728
- .sfsi_widget .sfsi_wDiv .sfsi_wicons .inerCnt a.sficn {
2729
- padding: 0px;
2730
- margin: 0px;
2731
- width: 100%;
2732
- float: left;
2733
- border: medium none;
2734
- }
2735
-
2736
- .sfsi_socialwpr {
2737
- width: auto;
2738
- display: inline-block;
2739
- vertical-align: middle;
2740
- }
2741
-
2742
- .sfsi_socialwpr .sf_fb
2743
- {
2744
- float: left;
2745
- }
2746
-
2747
- .sfsipyplfrm {
2748
- float: left;
2749
- margin-top: 10px;
2750
- width: 100%;
2751
- }
2752
-
2753
- .sfsipyplfrm input[type="submit"] {
2754
- background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
2755
- border: medium none;
2756
- color: #0074a2;
2757
- cursor: pointer;
2758
- font-weight: normal;
2759
- margin: 0;
2760
- padding: 5px 10px;
2761
- text-decoration: underline;
2762
- }
2763
-
2764
- .sfsipyplfrm input[type="submit"]:hover {
2765
- color: #2ea2cc
2766
- }
2767
-
2768
- .pop_up_box_ex {
2769
- background: none repeat scroll 0 0 #fff;
2770
- box-shadow: 0 0 5px 3px #d8d8d8;
2771
- color: #5a6570;
2772
- font-family: helveticaregular;
2773
- margin: 200px auto;
2774
- min-height: 150px;
2775
- padding: 20px 25px 0px;
2776
- position: relative;
2777
- width: 290px;
2778
- }
2779
-
2780
- .pop_up_box_ex {
2781
- color: #5a6570;
2782
- font-family: helveticaregular;
2783
- }
2784
-
2785
- .cstmutbchnlidwpr .utbe_instruction,
2786
- .cstmutbchnlnmewpr .utbe_instruction,
2787
- .lnkdin_instruction {
2788
- float: left;
2789
- line-height: 22px;
2790
- margin-top: 10px;
2791
- width: 100%;
2792
- }
2793
-
2794
- .fb_iframe_widget iframe {
2795
- max-width: none;
2796
- }
2797
-
2798
- .sfsi_mainContainer p.bldtxtmsg {
2799
- float: left;
2800
- font-size: 15px;
2801
- font-weight: bold;
2802
- margin-top: 12px;
2803
- width: 100%;
2804
- text-align: center;
2805
- }
2806
-
2807
- .sfsinewplgndesc {
2808
- background: none repeat scroll 0 0 #e5e5e5;
2809
- float: left;
2810
- padding: 5px 10px 8px;
2811
- margin-top: 25px;
2812
- }
2813
-
2814
- .sfsinewplgndesc>.clear>a {
2815
- color: #5a6570;
2816
- font-weight: bold;
2817
- }
2818
-
2819
- .sfsiicnsdvwrp {
2820
- float: left;
2821
- width: 110px;
2822
- }
2823
-
2824
- .sfsi_Sicons .sf_subscrbe .bot_no {
2825
- background: rgba(0, 0, 0, 0) url(images/count_left_arow.png) no-repeat scroll 0 0 / 27px auto;
2826
- font-size: 12px !important;
2827
- left: 67px;
2828
- line-height: 18px !important;
2829
- margin-left: 0px;
2830
- margin-top: 0px;
2831
- padding: 1px 0;
2832
- /*position: absolute;*/
2833
- text-align: center;
2834
- top: -8px;
2835
- white-space: pre;
2836
- width: 33px;
2837
- height: 24px;
2838
- z-index: 9;
2839
- float:left;
2840
- }
2841
-
2842
- .sfsi_wicons a.sficn,
2843
- .sfsi_wicons .sfsi_inside a,
2844
- .sfsi_Sicons div a {
2845
- box-shadow: none;
2846
- border: none;
2847
- }
2848
-
2849
- .sfsi_Sicons .sf_pinit>span {
2850
- height: 20px !important;
2851
- }
2852
-
2853
- .sfsi_Sicons .sf_pinit>span>span {
2854
- width: 38px !important;
2855
- right: -45px !important;
2856
- }
2857
-
2858
- .sfsi_wicons a {
2859
- box-shadow: none !important;
2860
- }
2861
-
2862
- a.sficn {
2863
- cursor: pointer;
2864
- }
2865
-
2866
- .sfsi_Sicons .fb_iframe_widget>span {
2867
- vertical-align: top !important;
2868
- }
2869
-
2870
- .sfsi_Sicons .sf_fb
2871
- {
2872
- margin: 0 0 0 5px !important;
2873
- }
2874
-
2875
- .disabled_checkbox .sfsi_right_info:before {
2876
- position: absolute;
2877
- content: "";
2878
- width: 500px;
2879
- height: 60px;
2880
- display: inline-block;
2881
- z-index: 99;
2882
- margin-left: -66px;
2883
- margin-top: -14px;
2884
- background: rgba(255, 255, 255, .8);
2885
- }
2886
-
2887
- #sfsi_floater .fb_tool_bdr .sfsi_inside .icon2 {
2888
- /*margin: -2px 0 -5px 0;*/
2889
- }
2890
-
2891
- .sfsi_wechat_follow_overlay {
2892
- position: fixed;
2893
- top: 0;
2894
- width: 100%;
2895
- z-index: 99999;
2896
- background: rgba(0, 0, 0, 0.7);
2897
- height:100vh;
2898
- }
2899
-
2900
- .sfsi_wechat_follow_overlay .close_btn {
2901
- position: absolute;
2902
- right: 60px;
2903
- top: 60px;
2904
- font-size: 40px;
2905
- line-height: 40px;
2906
- text-decoration: none;
2907
- border: 1px solid #fff;
2908
- padding: 0 10px;
2909
- border-radius: 60px;
2910
- color: #333;
2911
- background-color: #ffff;
2912
- text-decoration: none;
2913
- }
2914
-
2915
- @media (max-width:786px) {
2916
- .sfsi_upload_butt_container {
2917
- display: inline-block;
2918
- }
2919
-
2920
- .upload_butt {
2921
- height: 38px;
2922
- }
2923
-
2924
- .sfsi_wechat_follow_overlay .sfsi_inner_display>div div.sfsi_upload_butt_container:first-child {
2925
- margin-left: 0;
2926
- margin-right: 20px;
2927
- }
2928
- }
2929
-
2930
- /*added by Developer */
2931
- #accordion1 p:nth-child(2) {
2932
- padding-top: 0px !important;
2933
- }
2934
-
2935
- input[name="sfsi_instagram_manualCounts"] {
2936
- margin-left: -15px !important;
2937
- }
2938
-
2939
- .sfsi_prem_cmn_rowlisting {
2940
- width: 33.33%;
2941
- }
2942
-
2943
- .rss_url_row h4 {
2944
- line-height: 43px !important;
2945
- font-size: 17px !important;
2946
- font-family: 'helveticaneue-light' !important;
2947
- }
2948
-
2949
- .cstmutbchnlnmewpr p.extra_pp label {
2950
- width: auto !important;
2951
- }
2952
-
2953
- .cstmutbchnlidwpr p.extra_pp label {
2954
- width: auto !important;
2955
- }
2956
-
2957
- .tab_3_option {
2958
- margin: 10px 0 0;
2959
- }
2960
-
2961
- div.tab3 .sub_row.stand.sec_new {
2962
- margin: 0;
2963
- }
2964
-
2965
- div#custom_social_data_setting h4 {
2966
- padding-bottom: 30px;
2967
- }
2968
-
2969
- .like_pop_box img.sfcm {
2970
- height: 50px;
2971
- width: 50px;
2972
- }
2973
-
2974
- .linkedin_tool_bdr {
2975
- line-height: 0 !important;
2976
- }
2977
-
2978
- .twt_tool_bdr {
2979
- line-height: 0 !important;
2980
- }
2981
-
2982
- div#sfsiid_facebook {
2983
- line-height: 0 !important;
2984
- }
2985
-
2986
- div#sfsiid_youtube {
2987
- line-height: 0 !important;
2988
- }
2989
-
2990
- .printst_tool_bdr {
2991
- line-height: 0 !important;
2992
- }
2993
-
2994
- /*end added by Developer */
2995
- /*by developer - 29-5-2019 */
2996
- ul.SFSI_instructions li,
2997
- ul.SFSI_instructions li a {
2998
- font-size: 17px !important;
2999
- font-family: helveticaregular !important;
3000
- font-weight: 400;
3001
- color: #1a1d20 !important;
3002
- }
3003
-
3004
- body .specify_counts .listing .sfsi_instagramInstruction li {
3005
- font-size: 17px !important;
3006
- font-family: helveticaregular !important;
3007
- font-weight: 400 !important;
3008
- color: #1a1d20 !important;
3009
- line-height: 26px !important;
3010
- }
3011
-
3012
- /*end - 29-5-2019*/
3013
-
3014
- a.pop-up .radio{
3015
- opacity: 0.5;
3016
- background-position: 0px 0px !important;
3017
- /* padding-right: 3px; */
3018
- }
3019
-
3020
- .sfsi_vertically_center{
3021
- display: flex;
3022
- justify-content: space-between;
3023
- align-items: center;
3024
- }
3025
- .sfsi_center{
3026
- display: flex;
3027
- justify-content: center;
3028
- }
3029
- .sfsi_custom_icons_q4{
3030
- display: flex;
3031
- align-items: center;
3032
- }
3033
- .tab6 .sfsi_responsive_icon_option_li .options .first.first.first {
3034
- width: 25%!important;
3035
- }
3036
- .sfsi_responsive_icon_gradient{
3037
- background-image: -webkit-linear-gradient(bottom,rgba(0, 0, 0, 0.17) 0%,rgba(255, 255, 255, 0.17) 100%);
3038
- background-image: -moz-linear-gradient(bottom,rgba(0, 0, 0, 0.17) 0%,rgba(255, 255, 255, 0.17) 100%);
3039
- background-image: linear-gradient(bottom,rgba(0,0,0,.17) 0%,rgba(255,255,255,.17) 100%);
3040
- }
3041
- .tab6 ul.sfsi_icn_listing8 ul.sfsi_tab_3_icns li {
3042
- width: 50%;
3043
- max-width: 450px;
3044
- padding-left: 0;
3045
- padding-bottom: 0;
3046
- }
3047
- .tab6 .sfsi_tab_3_icns.sfsi_shwthmbfraftr > li {
3048
- width:100% !important;
3049
- max-width:100% !important;
3050
- border-left: 45px solid transparent;
3051
- }
3052
-
3053
- .tab6 ul.sfsi_icn_listing8 li {
3054
- float: left;
3055
- padding: 11px 0 40px 8px;
3056
- width: 100%;
3057
- max-width: 1000px;
3058
- margin: 0;
3059
- }
3060
-
3061
- ul.sfsi_icn_listing8 li .sfsi_right_info a {
3062
- outline: 0;
3063
- font-family: helveticaregular;
3064
- }
3065
- #accordion .tab6 ul.sfsi_tab_3_icns {
3066
- margin-top: 25px;
3067
- }
3068
- .sfsi_tab_3_icns.sfsi_shwthmbfraftr {
3069
- overflow: visible;
3070
- }
3071
- ul.sfsi_tab_3_icns {
3072
- list-style: none;
3073
- margin: 34px 0 0;
3074
- overflow: hidden;
3075
- }
3076
-
3077
- .tab6 ul.sfsi_icn_listing8 li {
3078
- float: left;
3079
- padding: 11px 0 40px 8px;
3080
- width: 100%;
3081
- max-width: 1000px;
3082
- margin: 0;
3083
- }
3084
- .tab6 .sfsi_tab_3_icns.sfsi_shwthmbfraftr .social_icon_like1 li {
3085
- width: auto;
3086
- max-width: auto;
3087
- min-width: auto;
3088
- margin: 0 30px 0 0;
3089
- }
3090
-
3091
- ul.sfsi_tab_3_icns label {
3092
- float: left;
3093
- line-height: 42px;
3094
- color: #69737C;
3095
- font-size: 18px;
3096
- font-family: helveticaregular;
3097
- min-width: 120px;
3098
- }
3099
- .tab6 ul.sfsi_tab_3_icns li label {
3100
- line-height: 50px !important;
3101
- }
3102
-
3103
- #accordion1 .tab6 ul.sfsi_shwthmbfraftr .labelhdng4, #accordion .tab6 ul.sfsi_shwthmbfraftr .row h4.labelhdng4, #accordion .tab6 ul.sfsi_shwthmbfraftr .labelhdng4, #accordion .tab6 ul.sfsi_shwthmbfraftr .row h4.labelhdng4 {
3104
- color: #555;
3105
- font-size: 20px;
3106
- margin-left: 20px;
3107
- font-family: 'helveticaregular';
3108
- }
3109
- .tab6 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns.sfsi_shwthmbfraftr>li:nth-child(1), .tab6 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns.sfsi_shwthmbfraftr>li:nth-child(2){
3110
- width: 27% !important;
3111
- }
3112
-
3113
- .tab6 ul.sfsi_tab_3_icns li .radio{
3114
- margin-top: 7px;
3115
- }
3116
-
3117
- ul.sfsi_icn_listing8 li .tb_4_ck{
3118
- float: left;
3119
- }
3120
- .sfsi_responsive_default_icon_container .radio_section.tb_4_ck, .sfsi_responsive_custom_icon_container .radio_section.tb_4_ck {
3121
- margin: 5px 20px 0 0 !important;
3122
- }
3123
-
3124
- .sfsi_responsive_icon_option_li .options .field .select {
3125
- font-family: helveticaregular;
3126
- font-weight: 400;
3127
- font-size: 17px;
3128
- color: #5a6570!important;
3129
- }
3130
-
3131
- .tab6 ul.sfsi_icn_listing8 ul.sfsi_tab_3_icns .usually li {
3132
- width: 100% !important;
3133
- max-width: 1000px !important;
3134
- padding: 3px 0 5px 5px !important;
3135
- }
3136
- .sfsi_responsive_icons a{
3137
- text-decoration: none!important;
3138
- box-shadow: none!important;
3139
- }
3140
- .sfsi_responsive_icons *{
3141
- box-shadow: none!important;
3142
- }
3143
-
3144
- .sfsi_responsive_icons .sfsi_responsive_icon_facebook_container{ background-color:#336699;}
3145
- .sfsi_responsive_icons .sfsi_responsive_icon_follow_container{ background-color:#00B04E;}
3146
- .sfsi_responsive_icons .sfsi_responsive_icon_twitter_container{ background-color:#55ACEE;}
3147
- .sfsi_small_button {
3148
- line-height: 0px;
3149
- height: unset;
3150
- padding: 6px !important;
3151
- }
3152
- .sfsi_small_button span {
3153
- margin-left: 10px;
3154
- font-size: 16px;
3155
- padding: 0px;
3156
- line-height: 16px;
3157
- vertical-align: -webkit-baseline-middle !important;
3158
- margin-left: 10px;
3159
- }
3160
- .sfsi_small_button img {
3161
- max-height: 16px !important;
3162
- padding: 0px;
3163
- line-height: 0px;
3164
- vertical-align: -webkit-baseline-middle !important;
3165
- }
3166
- .sfsi_medium_button span {
3167
- margin-left: 10px;
3168
- font-size: 18px;
3169
- padding: 0px;
3170
- line-height: 16px;
3171
- vertical-align: -webkit-baseline-middle !important;
3172
- margin-left: 10px;
3173
- }
3174
- .sfsi_medium_button img {
3175
- max-height: 16px !important;
3176
- padding: 0px;
3177
- line-height: 0px;
3178
- vertical-align: -webkit-baseline-middle !important;
3179
- }
3180
- .sfsi_medium_button {
3181
- line-height: 0px;
3182
- height: unset;
3183
- padding: 10px !important;
3184
- }
3185
-
3186
- .sfsi_medium_button span {
3187
- margin-left: 10px;
3188
- font-size: 18px;
3189
- padding: 0px;
3190
- line-height: 16px;
3191
- vertical-align: -webkit-baseline-middle !important;
3192
- margin-left: 10px;
3193
- }
3194
- .sfsi_medium_button img {
3195
- max-height: 16px !important;
3196
- padding: 0px;
3197
- line-height: 0px;
3198
- vertical-align: -webkit-baseline-middle !important;
3199
- }
3200
- .sfsi_medium_button {
3201
- line-height: 0px;
3202
- height: unset;
3203
- padding: 10px !important;
3204
- }
3205
- .sfsi_large_button span {
3206
- font-size: 20px;
3207
- padding: 0px;
3208
- line-height: 16px;
3209
- vertical-align: -webkit-baseline-middle !important;
3210
- display: inline;
3211
- margin-left: 10px;
3212
- }
3213
- .sfsi_large_button img {
3214
- max-height: 16px !important;
3215
- padding: 0px;
3216
- line-height: 0px;
3217
- vertical-align: -webkit-baseline-middle !important;
3218
- display: inline;
3219
- }
3220
- .sfsi_large_button {
3221
- line-height: 0px;
3222
- height: unset;
3223
- padding: 13px !important;
3224
- }
3225
- .sfsi_responsive_icons .sfsi_icons_container span {
3226
- font-family: sans-serif;
3227
- font-size: 15px;
3228
- }
3229
- .sfsi_icons_container_box_fully_container {
3230
- flex-wrap: wrap;
3231
- }
3232
- .sfsi_icons_container_box_fully_container a {
3233
- flex-basis: auto !important;
3234
- flex-grow: 1;
3235
- flex-shrink: 1;
3236
- margin-bottom: 5px;
3237
- }
3238
- .sfsi_icons_container>a {
3239
- float: left!important;
3240
- text-decoration: none!important;
3241
- -webkit-box-shadow: unset!important;
3242
- box-shadow: unset!important;
3243
- -webkit-transition: unset!important;
3244
- transition: unset!important;
3245
- margin-bottom:5px!important;
3246
- }
3247
- .sfsi_small_button {
3248
- line-height: 0px;
3249
- height: unset;
3250
- padding: 6px !important;
3251
- }
3252
- .sfsi_small_button span {
3253
- margin-left: 10px;
3254
- font-size: 16px;
3255
- padding: 0px;
3256
- line-height: 16px;
3257
- vertical-align: -webkit-baseline-middle !important;
3258
- margin-left: 10px;
3259
- }
3260
- .sfsi_small_button img {
3261
- max-height: 16px !important;
3262
- padding: 0px;
3263
- line-height: 0px;
3264
- vertical-align: -webkit-baseline-middle !important;
3265
- }
3266
- .sfsi_medium_button span {
3267
- margin-left: 10px;
3268
- font-size: 18px;
3269
- padding: 0px;
3270
- line-height: 16px;
3271
- vertical-align: -webkit-baseline-middle !important;
3272
- margin-left: 10px;
3273
- }
3274
- .sfsi_medium_button img {
3275
- max-height: 16px !important;
3276
- padding: 0px;
3277
- line-height: 0px;
3278
- vertical-align: -webkit-baseline-middle !important;
3279
- }
3280
- .sfsi_medium_button {
3281
- line-height: 0px;
3282
- height: unset;
3283
- padding: 10px !important;
3284
- }
3285
-
3286
- .sfsi_medium_button span {
3287
- margin-left: 10px;
3288
- font-size: 18px;
3289
- padding: 0px;
3290
- line-height: 16px;
3291
- vertical-align: -webkit-baseline-middle !important;
3292
- margin-left: 10px;
3293
- }
3294
- .sfsi_medium_button img {
3295
- max-height: 16px !important;
3296
- padding: 0px;
3297
- line-height: 0px;
3298
- vertical-align: -webkit-baseline-middle !important;
3299
- }
3300
- .sfsi_medium_button {
3301
- line-height: 0px;
3302
- height: unset;
3303
- padding: 10px !important;
3304
- }
3305
- .sfsi_large_button span {
3306
- font-size: 20px;
3307
- padding: 0px;
3308
- line-height: 16px;
3309
- vertical-align: -webkit-baseline-middle !important;
3310
- display: inline;
3311
- margin-left: 10px;
3312
- }
3313
- .sfsi_large_button img {
3314
- max-height: 16px !important;
3315
- padding: 0px;
3316
- line-height: 0px;
3317
- vertical-align: -webkit-baseline-middle !important;
3318
- display: inline;
3319
- }
3320
- .sfsi_large_button {
3321
- line-height: 0px;
3322
- height: unset;
3323
- padding: 13px !important;
3324
- }
3325
- .sfsi_responsive_icons_count{
3326
- padding: 5px 10px;
3327
- float: left !important;
3328
- display: inline-block;
3329
- margin-right: 0px;
3330
- margin-top: 2px;
3331
- }
3332
-
3333
- .sfsi_responsive_icons_count h3{
3334
- font-family: 'sans-serif' !important;
3335
- font-weight: 900;
3336
- font-size: 32px !important;
3337
- line-height: 0px !important;
3338
- padding: 0px;
3339
- margin: 0px;
3340
- }
3341
-
3342
- .sfsi_responsive_icons_count h6{
3343
- font-family: 'sans-serif' !important;
3344
- font-weight: 900;
3345
- padding: 0px;
3346
- margin: 0px;
3347
- }
3348
- .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6 {
3349
- text-decoration: none!important;
3350
- border: 0!important;
3351
- }
3352
- .sfsi_responsive_with_counter_icons{
3353
- width: calc(100% - 100px)!important;
3354
- }
3355
- .sfsiresponsive_icon_preview {
3356
- padding: 0px 0 20px 0;
3357
- min-width: 100%;
3358
- }
3359
- .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_large_button {
3360
- padding: 12px 13px 9px 13px !important;
3361
- }
3362
- .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_medium_button {
3363
- padding: 9px 10px 7px 10px !important;
3364
- }
3365
- .sfsi_responsive_icons_count.sfsi_small_button {
3366
- padding: 7px 6px !important;
3367
- }
3368
- .sfsi_responsive_icons_count.sfsi_small_button {
3369
- padding: 7px 6px !important;
3370
- margin-top: 2px;
3371
- }
3372
- .sfsi_responsive_icons_count.sfsi_small_button h6 {
3373
- display: inline-block;
3374
- font-size: 12px !important;
3375
- vertical-align: middle;
3376
- }
3377
- .sfsi_responsive_icons_count.sfsi_responsive_count_container.sfsi_medium_button {
3378
- padding: 9px 10px 7px 10px !important;
3379
- }
3380
- .sfsi_responsive_icons_count.sfsi_medium_button h3 {
3381
- font-size: 21px !important;
3382
- vertical-align: top;
3383
- line-height: 8px !important;
3384
- margin: 0px 0px 12px 0px !important;
3385
- font-weight: 900;
3386
- padding: 0px;
3387
- }
3388
- .sfsi_esponsive_icons_count.sfsi_responsive_count_container.sfsi_large_button h3 {
3389
- margin: 0px 0px 15px 0px !important;
3390
- }
3391
- .sfsi_responsive_icons_count.sfsi_large_button h3 {
3392
- font-size: 26px !important;
3393
- vertical-align: top;
3394
- line-height: 6px !important;
3395
- }
3396
-
3397
- .sfsi_responsive_icons_count h3 {
3398
- font-family: 'sans-serif' !important;
3399
- font-weight: 900;
3400
- padding: 0px;
3401
- }
3402
-
3403
- .sfsi_responsive_icons_count.sfsi_small_button h3 {
3404
- font-size: 20px !important;
3405
- display: inline-block;
3406
- vertical-align: middle;
3407
- }
3408
- .sfsi_responsive_icons_count.sfsi_small_button h3 {
3409
- margin: 0px !important;
3410
- }
3411
- .sfsi_responsive_icons_count h3 {
3412
- font-family: 'sans-serif' !important;
3413
- font-weight: 900;
3414
- line-height: 0px !important;
3415
- padding: 0px;
3416
- margin: 0px;
3417
- }
3418
- .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6 {
3419
- text-decoration: none!important;
3420
- border: 0!important;
3421
- }
3422
- .sfsi_responsive_icons_count.sfsi_small_button {
3423
- padding: 7px 6px !important;
3424
- margin-top: 2px;
3425
- }
3426
-
3427
- .sfsi_responsive_icons_count {
3428
- vertical-align: top;
3429
- }
3430
- .sfsi_responsive_icons_count {
3431
- float: left;
3432
- }
3433
- .sfsi_small_button {
3434
- line-height: 0px;
3435
- height: unset;
3436
- }
3437
- .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6 {
3438
- text-decoration: none!important;
3439
- border: 0!important;
3440
- }
3441
- .sfsi_responsive_icons_count.sfsi_small_button h3 {
3442
- font-size: 20px !important;
3443
- display: inline-block;
3444
- vertical-align: middle;
3445
- margin: 0px !important;
3446
- }
3447
-
3448
- .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6 {
3449
- text-decoration: none!important;
3450
- font-family: helveticaregular!important;
3451
- border: 0!important;
3452
- }
3453
- .sfsi_responsive_icons_count h3 {
3454
- line-height: 0px !important;
3455
- padding: 0px;
3456
- }
3457
- .sfsi_responsive_icons_count.sfsi_small_button h6 {
3458
- display: inline-block;
3459
- font-size: 12px !important;
3460
- /*vertical-align: middle;*/
3461
- margin: 0px !important;
3462
- line-height: initial !important;
3463
- padding: 0;
3464
- margin: 0;
3465
- }
3466
- .sfsi_responsive_icons_count h6{
3467
- margin:0!important;
3468
- }
3469
- .sfsi_responsive_icons_count h6 {
3470
- padding: 0px;
3471
- }
3472
- .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6{
3473
- text-decoration: none!important;
3474
- font-family: helveticaregular!important;
3475
- border: 0!important;
3476
- }
3477
- .sfsi_responsive_icons_count.sfsi_medium_button h6{
3478
- font-size: 11px !important;
3479
- line-height: 0px !important;
3480
- margin: 0px 0px 0px 0px !important;
3481
- }
3482
-
3483
- /* .sfsi_widget .sfsi_shortcode_container{
3484
- width: 100%;
3485
- } */
3486
-
3487
- .export_selections{
3488
- clear: both;
3489
- color: #afafaf;
3490
- font-size: 23px;
3491
- display: flex;
3492
- height: 0px;
3493
- position: absolute;
3494
- top: 42px;
3495
- right: 0;
3496
- }
3497
-
3498
- .save_export{
3499
- clear: both;
3500
- position: relative;
3501
- }
3502
-
3503
- .export{
3504
- padding-right: 11px;
3505
- text-decoration: underline;
3506
- cursor: pointer;
3507
- }
3508
-
3509
- .sf_subscrbe .bot_no,
3510
- .sf_fb .bot_no,
3511
- .sf_fb_share .bot_no,
3512
- .sf_twiter .bot_no,
3513
- .sf_pinit .bot_no,
3514
- .sf_linkedin .bot_no
3515
- {
3516
- background: rgba(0, 0, 0, 0) url(images/count_left_arow.png) no-repeat scroll 0 0 / 27px auto;
3517
- font-size: 12px !important;
3518
- left: 67px;
3519
- line-height: 17px !important;
3520
- margin-left: 0;
3521
- padding: 1px 0;
3522
- text-align: center;
3523
- white-space: pre;
3524
- width: 33px;
3525
- height: 19px;
3526
- z-index: 9;
3527
- display: inline-block;
3528
- vertical-align:top!important;
3529
- }
3530
- .sfsi_responsive_icon_item_container {
3531
- height: 40px;
3532
- vertical-align: middle;
3533
- margin-top: auto;
3534
- margin-bottom: auto;
3535
- padding: 0 10px;
3536
- }
3537
-
3538
- .sfsi_responsive_icon_item_container img {
3539
- padding: 7px;
3540
- vertical-align: middle !important;
3541
- box-shadow: unset !important;
3542
- -webkit-box-shadow: unset !important;
3543
- max-width: 40px !important;
3544
- max-height: 40px !important;
3545
- }
3546
-
3547
- .sfsi_responsive_icon_item_container span {
3548
- padding: 7px;
3549
- vertical-align: middle !important;
3550
- box-shadow: unset !important;
3551
- -webkit-box-shadow: unset !important;
3552
- line-height: 40px
3553
- }
3554
-
3555
- .sfsi_icons_container>a {
3556
- float: left !important;
3557
- text-decoration: none !important;
3558
- -webkit-box-shadow: unset !important;
3559
- box-shadow: unset !important;
3560
- -webkit-transition: unset !important;
3561
- transition: unset !important;
3562
- }
3563
-
3564
- .sfsi_icons_container a:hover,
3565
- .sfsi_icons_container a:focus,
3566
- .sfsi_icons_container a:active {
3567
- -webkit-box-shadow: unset !important;
3568
- box-shadow: unset !important;
3569
- }
3570
-
3571
- .sfsi_Sicons .sfsi_icons_container img {
3572
- height: unset !important;
3573
- width: unset !important;
3574
- }
3575
-
3576
- .sfsi_flex_container {
3577
- display: flex;
3578
- flex-wrap: wrap;
3579
- overflow-y: scroll;
3580
- height: 36vh;
3581
- }
3582
-
3583
- .sfsi_flex_container>div {
3584
- height: 90px;
3585
- width: 139px;
3586
- margin: 10px;
3587
- margin-bottom: 0;
3588
- text-align: center;
3589
- font-size: 30px;
3590
- position: relative;
3591
- border: 1px solid #ddd;
3592
- }
3593
-
3594
- .sfsi_flex_container>div>a>img {
3595
- width: 100%;
3596
- height: 88px;
3597
- object-fit: scale-down;
3598
- }
3599
-
3600
- .sfsi_flex_container>div a {
3601
- position: relative;
3602
- margin: 0;
3603
- padding: 0;
3604
- z-index: 100;
3605
- height: 90px;
3606
- }
3607
-
3608
- .sfsi_pinterest_overlay {
3609
- position: absolute;
3610
- top: -61px;
3611
- left: 0;
3612
- width: 100%;
3613
- height: 90px;
3614
- z-index: 1000;
3615
- display: inline-block;
3616
- background: rgba(189, 8, 28, .3);
3617
- text-align: center;
3618
- padding-top: 22px;
3619
- color: #fff;
3620
- transition: all .3s;
3621
- display: none;
3622
- }
3623
-
3624
- .sfsi_flex_container>div:hover a .sfsi_pinterest_overlay {
3625
- display: block;
3626
- }
1
+ @charset "utf-8";
2
+
3
+ @font-face {
4
+ font-family: helveticabold;
5
+ src: url(fonts/helvetica_bold_0-webfont.eot);
6
+ src: url(fonts/helvetica_bold_0-webfont.eot?#iefix) format('embedded-opentype'), url(fonts/helvetica_bold_0-webfont.woff) format('woff'), url(fonts/helvetica_bold_0-webfont.ttf) format('truetype'), url(fonts/helvetica_bold_0-webfont.svg#helveticabold) format('svg');
7
+ font-weight: 400;
8
+ font-style: normal;
9
+ }
10
+
11
+ @font-face {
12
+ font-family: helveticaregular;
13
+ src: url(fonts/helvetica_0-webfont.eot);
14
+ src: url(fonts/helvetica_0-webfont.eot?#iefix) format('embedded-opentype'), url(fonts/helvetica_0-webfont.woff) format('woff'), url(fonts/helvetica_0-webfont.ttf) format('truetype'), url(fonts/helvetica_0-webfont.svg#helveticaregular) format('svg');
15
+ font-weight: 400;
16
+ font-style: normal;
17
+ }
18
+
19
+ @font-face {
20
+ font-family: helveticaneue-light;
21
+ src: url(fonts/helveticaneue-light.eot);
22
+ src: url(fonts/helveticaneue-light.eot?#iefix) format('embedded-opentype'), url(fonts/helveticaneue-light.woff) format('woff'), url(fonts/helveticaneue-light.ttf) format('truetype'), url(fonts/helveticaneue-light.svg#helveticaneue-light) format('svg');
23
+ font-weight: 400;
24
+ font-style: normal;
25
+ }
26
+
27
+ body {
28
+ margin: 0;
29
+ padding: 0;
30
+ }
31
+
32
+ .clear {
33
+ clear: both;
34
+ }
35
+
36
+ .space {
37
+ clear: both;
38
+ padding: 30px 0 0;
39
+ width: 100%;
40
+ float: left;
41
+ }
42
+
43
+ .like_txt {
44
+ margin: 30px 0 0;
45
+ padding: 0;
46
+ color: #12a252;
47
+ font-family: helveticaregular;
48
+ font-size: 20px;
49
+ line-height: 20px;
50
+ text-align: center;
51
+ }
52
+
53
+ .like_txt a {
54
+ color: #12a252;
55
+ }
56
+
57
+ .sfsibeforpstwpr iframe,
58
+ .sfsiaftrpstwpr iframe {
59
+ max-width: none;
60
+ }
61
+
62
+ .sfwp_fivestar_ul li {
63
+ display: block;
64
+ padding-right: 20px;
65
+ }
66
+
67
+ .shwthmbfraftr {
68
+ margin-top: 5px !important
69
+ }
70
+
71
+ label.toglpstpgsbttl {
72
+ float: left;
73
+ margin-top: 5px !important
74
+ }
75
+
76
+ .tab_3_icns.shwthmbfraftr .cstmdisplaysharingtxt {
77
+ float: left;
78
+ }
79
+
80
+ .tab6 ul.enough_waffling.sfsi_dsplyatend {
81
+ width: 24%;
82
+ float: left;
83
+ }
84
+
85
+ .tab4 ul.like_icon {
86
+ margin: 0;
87
+ padding: 20px 0 0;
88
+ list-style: none;
89
+ text-align: center;
90
+ }
91
+
92
+ .tab4 ul.like_icon li {
93
+ margin: 0;
94
+ padding: 0;
95
+ list-style: none;
96
+ display: inline-block;
97
+ }
98
+
99
+ .tab4 ul.like_icon li span {
100
+ margin: 0;
101
+ width: 54px;
102
+ display: block;
103
+ background: url(../images/count_bg.png) no-repeat;
104
+ height: 24px;
105
+ overflow: hidden;
106
+ padding: 10px 2px 2px;
107
+ font-size: 17px;
108
+ text-align: center;
109
+ line-height: 24px;
110
+ color: #5a6570;
111
+ }
112
+
113
+ .tab4 ul.like_icon li a {
114
+ color: #5a6570;
115
+ text-decoration: none;
116
+ }
117
+
118
+ .tab4 ul.enough_waffling {
119
+ margin: 0;
120
+ padding: 25px 0 27px;
121
+ list-style: none;
122
+ text-align: center;
123
+ }
124
+
125
+ .tab4 ul.enough_waffling li {
126
+ margin: 0 22px;
127
+ padding: 0;
128
+ list-style: none;
129
+ display: inline-block;
130
+ }
131
+
132
+ .tab4 ul.enough_waffling li span {
133
+ float: left;
134
+ }
135
+
136
+ .tab4 ul.enough_waffling li label {
137
+ margin: 0 0 0 20px;
138
+ float: left;
139
+ font-family: helveticaregular;
140
+ font-size: 18px;
141
+ font-weight: 400;
142
+ text-align: center;
143
+ line-height: 38px;
144
+ color: #5a6570;
145
+ }
146
+
147
+ .sfsi_mainContainer .checkbox {
148
+ width: 31px;
149
+ height: 31px;
150
+ background: url(../images/check_bg.jpg) no-repeat;
151
+ display: inherit;
152
+ }
153
+
154
+ .sfsi_mainContainer .radio {
155
+ width: 40px;
156
+ height: 40px;
157
+ background: url(../images/radio_bg.png) no-repeat;
158
+ display: inherit;
159
+ }
160
+
161
+ .sfsi_mainContainer .select {
162
+ width: 127px;
163
+ height: 47px;
164
+ font-size: 17px;
165
+ background: url(../images/select_bg.jpg) no-repeat;
166
+ display: block;
167
+ padding-left: 16px;
168
+ line-height: 49px;
169
+ }
170
+
171
+ .sfsi_mainContainer .line {
172
+ background: #eaebee;
173
+ height: 1px;
174
+ font-size: 0;
175
+ margin: 15px 0 0;
176
+ clear: both;
177
+ width: 100%;
178
+ float: left;
179
+ }
180
+
181
+ .specify_counts {
182
+ display: block;
183
+ margin-top: 15px;
184
+ padding-top: 15px;
185
+ clear: both;
186
+ width: 100%;
187
+ float: left;
188
+ border-top: 1px solid #eaebee;
189
+ }
190
+
191
+ .specify_counts .radio_section {
192
+ width: 30px;
193
+ float: left;
194
+ margin: 12px 10px 0 0;
195
+ }
196
+
197
+ .specify_counts .social_icon_like {
198
+ width: 54px;
199
+ float: left;
200
+ margin: 0 15px 0 0;
201
+ }
202
+
203
+ .specify_counts .social_icon_like ul {
204
+ margin: 0;
205
+ padding: 0;
206
+ list-style: none;
207
+ text-align: center;
208
+ }
209
+
210
+ .specify_counts .social_icon_like li {
211
+ margin: 0;
212
+ padding: 0;
213
+ list-style: none;
214
+ display: inline-block;
215
+ }
216
+
217
+ .specify_counts .social_icon_like li span {
218
+ margin: 0;
219
+ width: 54px;
220
+ display: block;
221
+ background: url(../images/count_bg.jpg) no-repeat;
222
+ height: 24px;
223
+ overflow: hidden;
224
+ padding: 10px 2px 2px;
225
+ font-family: helveticaregular;
226
+ font-size: 16px;
227
+ text-align: center;
228
+ line-height: 24px;
229
+ color: #5a6570;
230
+ }
231
+
232
+ .specify_counts .social_icon_like li a {
233
+ color: #5a6570;
234
+ text-decoration: none;
235
+ }
236
+
237
+ .specify_counts .listing {
238
+ width: 88%;
239
+ margin-top: -5px;
240
+ display: inherit;
241
+ float: left;
242
+ }
243
+
244
+ .specify_counts .listing ul {
245
+ margin: 0;
246
+ padding: 0;
247
+ list-style: none;
248
+ text-align: left;
249
+ }
250
+
251
+ .specify_counts .listing li {
252
+ margin: 15px 0 0;
253
+ padding: 0;
254
+ list-style: none;
255
+ clear: both;
256
+ line-height: 39px;
257
+ font-size: 17px;
258
+ }
259
+
260
+ .specify_counts .listing li span {
261
+ float: left;
262
+ margin-right: 20px;
263
+ }
264
+
265
+ .specify_counts .listing li .input {
266
+ background: #e5e5e5;
267
+ box-shadow: 2px 2px 3px #dcdcdc inset;
268
+ border: 0;
269
+ padding: 10px;
270
+ margin-left: 25px;
271
+ }
272
+
273
+ .specify_counts .listing li .input_facebook {
274
+ width: 288px;
275
+ background: #e5e5e5;
276
+ box-shadow: 2px 2px 3px #dcdcdc inset;
277
+ border: 0;
278
+ padding: 10px;
279
+ margin-left: 16px;
280
+ }
281
+
282
+ .save_button {
283
+ width: 450px;
284
+ padding-top: 30px;
285
+ clear: both;
286
+ margin: auto;
287
+ }
288
+
289
+ .save_button a {
290
+ background: #12a252;
291
+ text-align: center;
292
+ font-size: 23px;
293
+ color: #FFF !important;
294
+ display: block;
295
+ padding: 11px 0;
296
+ text-decoration: none;
297
+ }
298
+
299
+ .save_button a:hover {
300
+ background: #079345
301
+ }
302
+
303
+ .tab5 ul.share_icon_order {
304
+ margin: 0;
305
+ padding: 0;
306
+ list-style: none;
307
+ text-align: left;
308
+ }
309
+
310
+ .tab5 ul.share_icon_order li {
311
+ margin: 22px 6px 0 0;
312
+ padding: 0;
313
+ list-style: none;
314
+ float: left;
315
+ line-height: 37px;
316
+ }
317
+
318
+ .tab5 ul.share_icon_order li:last-child {
319
+ margin: 22px 0 0 3px;
320
+ }
321
+
322
+ .tab5 .row {
323
+ border-top: 1px solid #eaebee;
324
+ margin-top: 25px;
325
+ padding-top: 15px;
326
+ clear: both;
327
+ display: block;
328
+ width: 100%;
329
+ float: left;
330
+ font-family: helveticaregular;
331
+ line-height: 42px;
332
+ }
333
+
334
+ .tab5 .icons_size {
335
+ position: relative;
336
+ }
337
+
338
+ .tab5 .icons_size span {
339
+ margin-right: 18px;
340
+ display: block;
341
+ float: left;
342
+ font-size: 18px;
343
+ font-weight: 400;
344
+ line-height: 46px;
345
+ }
346
+
347
+ .tab5 .icons_size span.last {
348
+ margin-left: 55px;
349
+ }
350
+
351
+ .tab5 .icons_size input {
352
+ width: 73px;
353
+ background: #e5e5e5;
354
+ box-shadow: 2px 2px 3px #dcdcdc inset;
355
+ border: 0;
356
+ padding: 13px 13px 12px;
357
+ margin-right: 18px;
358
+ float: left;
359
+ display: block;
360
+ }
361
+
362
+ .tab5 .icons_size select.styled {
363
+ position: absolute;
364
+ left: 0;
365
+ width: 135px;
366
+ height: 46px;
367
+ line-height: 46px;
368
+ }
369
+
370
+ .tab5 .icons_size .field {
371
+ position: relative;
372
+ float: left;
373
+ display: block;
374
+ margin-right: 20px;
375
+ }
376
+
377
+ .tab5 .icons_size ins {
378
+ margin-right: 25px;
379
+ float: left;
380
+ font-size: 17px;
381
+ font-weight: 400;
382
+ text-decoration: none;
383
+ }
384
+
385
+ .tab5 .icons_size ins.leave_empty {
386
+ line-height: 23px;
387
+ }
388
+
389
+ .tab5 .icons_size {
390
+ padding-top: 15px;
391
+ }
392
+
393
+ .tab5 ul.enough_waffling {
394
+ margin: -5px 0 0;
395
+ padding: 0;
396
+ list-style: none;
397
+ text-align: center;
398
+ }
399
+
400
+ .tab5 .new_wind .row_onl ul.enough_waffling {
401
+ /*margin: 14px 0 0 167px;*/
402
+ margin: 20px 0 0 0;
403
+ padding: 0;
404
+ list-style: none;
405
+ height: 38px;
406
+ text-align: center;
407
+ width: 61%;
408
+ }
409
+
410
+ .tab5 ul.enough_waffling li {
411
+ margin: 0 22px;
412
+ padding: 0;
413
+ list-style: none;
414
+ display: inline-block;
415
+ float: left;
416
+ }
417
+
418
+ .tab5 ul.enough_waffling li span {
419
+ float: left;
420
+ }
421
+
422
+ .tab5 ul.enough_waffling li label {
423
+ margin: 0 0 0 20px;
424
+ float: left;
425
+ font-family: helveticaregular;
426
+ font-size: 18px;
427
+ font-weight: 400;
428
+ text-align: center;
429
+ line-height: 38px;
430
+ color: #5a6570;
431
+ }
432
+
433
+ .sticking p {
434
+ float: left;
435
+ font-size: 18px !important;
436
+ }
437
+
438
+ .sticking p.list {
439
+ width: 168px;
440
+ }
441
+
442
+ .sticking p.link {
443
+ margin: 3px 0 0 12px;
444
+ padding: 0 !important;
445
+ float: left;
446
+ }
447
+
448
+ .sticking .float {
449
+ margin-left: 188px;
450
+ margin-top: 3px;
451
+ float: left;
452
+ font-size: 17px;
453
+ }
454
+
455
+ .sticking ul {
456
+ margin: 0;
457
+ padding: 30px 0 0;
458
+ list-style: none;
459
+ float: left;
460
+ }
461
+
462
+ .sticking a {
463
+ color: #a4a9ad;
464
+ }
465
+
466
+ .sticking p {
467
+ line-height: 19px !important;
468
+ }
469
+
470
+ .sticking .field {
471
+ position: relative;
472
+ float: left;
473
+ display: block;
474
+ margin-left: 20px;
475
+ }
476
+
477
+ .sticking .field .select {
478
+ width: 206px;
479
+ height: 47px;
480
+ background: url(../images/select_bg1.jpg) no-repeat;
481
+ display: block;
482
+ padding-left: 10px;
483
+ }
484
+
485
+ .sticking .field select.styled {
486
+ position: absolute;
487
+ left: 0;
488
+ top: 0;
489
+ width: 211px;
490
+ line-height: 46px;
491
+ height: 46px;
492
+ }
493
+
494
+ .mouseover_field {
495
+ width: 455px;
496
+ float: left;
497
+ font-size: 18px;
498
+ margin-top: 10px;
499
+ }
500
+
501
+ .mouseover_field label {
502
+ width: 125px;
503
+ float: left;
504
+ }
505
+
506
+ .mouseover_field input {
507
+ width: 256px;
508
+ float: left;
509
+ background: #e5e5e5;
510
+ box-shadow: 2px 2px 3px #dcdcdc inset;
511
+ border: 0;
512
+ padding: 10px;
513
+ }
514
+
515
+ .pop_up_box {
516
+ width: 474px;
517
+ background: #FFF;
518
+ box-shadow: 0 0 5px 3px #d8d8d8;
519
+ margin: 200px auto;
520
+ padding: 20px 25px 0px;
521
+ font-family: helveticaregular;
522
+ color: #5a6570;
523
+ min-height: 250px;
524
+ position: relative;
525
+ }
526
+
527
+ .pop_up_box h4,
528
+ .pop_up_box_ex h4 {
529
+ font-size: 20px;
530
+ color: #5a6570;
531
+ text-align: center;
532
+ margin: 0;
533
+ padding: 0;
534
+ line-height: 22px;
535
+ }
536
+
537
+ .pop_up_box p,
538
+ .pop_up_box_ex p {
539
+ font-size: 17px;
540
+ line-height: 28px;
541
+ color: #5a6570;
542
+ text-align: left;
543
+ margin: 0;
544
+ padding: 25px 0 0;
545
+ font-family: helveticaregular;
546
+ }
547
+
548
+ .sfsi_popupcntnr {
549
+ float: left;
550
+ width: 100%
551
+ }
552
+
553
+ .sfsi_popupcntnr>h3 {
554
+ color: #000;
555
+ float: left;
556
+ font-weight: 700;
557
+ margin-bottom: 5px;
558
+ width: 100%
559
+ }
560
+
561
+ ul.flwstep {
562
+ float: left;
563
+ width: 100%
564
+ }
565
+
566
+ ul.flwstep>li {
567
+ color: #000;
568
+ font-size: 16px;
569
+ margin: 5px;
570
+ }
571
+
572
+ .upldbtn {
573
+ float: left;
574
+ text-align: center;
575
+ width: 100%
576
+ }
577
+
578
+ .upload_butt {
579
+ background-color: #12a252;
580
+ border: none;
581
+ color: #fff;
582
+ font-weight: 700;
583
+ margin-top: 10px;
584
+ padding: 7px 22px;
585
+ width: auto;
586
+ cursor: pointer;
587
+ font-size: 19px;
588
+ }
589
+
590
+ .pop_up_box .button {
591
+ background: #12a252;
592
+ font-size: 22px;
593
+ line-height: 24px;
594
+ color: #5a6570;
595
+ text-align: center;
596
+ min-height: 80px;
597
+ margin-top: 32px;
598
+ box-shadow: none;
599
+ }
600
+
601
+ .pop_up_box .button:hover {
602
+ box-shadow: none !important;
603
+ }
604
+
605
+ .pop_up_box .button a.activate {
606
+ padding: 0px 0;
607
+ }
608
+
609
+ .pop_up_box a,
610
+ .pop_up_box_ex a {
611
+ color: #a4a9ad;
612
+ font-size: 20px;
613
+ text-decoration: none;
614
+ text-align: center;
615
+ display: inline-block;
616
+ margin-top: 18px;
617
+ width: 100%;
618
+ }
619
+
620
+ .pop_up_box .upload {
621
+ width: 100%;
622
+ float: left;
623
+ text-align: left;
624
+ margin-top: 15px;
625
+ height: 46px;
626
+ }
627
+
628
+ .pop_up_box .upload label {
629
+ width: 135px;
630
+ float: left;
631
+ line-height: 45px;
632
+ font-size: 18px;
633
+ font-family: helveticaregular;
634
+ text-align: left;
635
+ }
636
+
637
+ .pop_up_box .upload input[type=text] {
638
+ width: 248px;
639
+ float: left;
640
+ background: #e5e5e5;
641
+ box-shadow: 2px 2px 3px #dcdcdc inset;
642
+ border: 0;
643
+ padding: 0 10px;
644
+ font-size: 16px;
645
+ height: 44px;
646
+ text-align: left;
647
+ color: #5a6570;
648
+ font-family: helveticaregular;
649
+ }
650
+
651
+ .pop_up_box .upload input.upload_butt {
652
+ width: 100px;
653
+ background: #12a252;
654
+ box-shadow: 0 0 0;
655
+ border: 0;
656
+ text-align: center;
657
+ font-size: 18px;
658
+ color: #fff;
659
+ font-family: helveticaregular;
660
+ height: 45px;
661
+ right: 32px;
662
+ top: 71px;
663
+ position: absolute;
664
+ }
665
+
666
+ .pop_up_box .upload a {
667
+ color: #12a252;
668
+ font-size: 18px;
669
+ text-decoration: underline;
670
+ font-family: helveticaregular;
671
+ margin: 0 0 16px 140px;
672
+ }
673
+
674
+ .pop_up_box a:hover,
675
+ .pop_up_box_ex a:hover {
676
+ color: #a4a9ad;
677
+ }
678
+
679
+ .inr_cont .fb_url {
680
+ clear: both;
681
+ }
682
+
683
+ .inr_cont .fb_url .checkbox,
684
+ .inr_cont .fb_url input.add,
685
+ .inr_cont .fb_url label,
686
+ .inr_cont .fb_url lable {
687
+ float: left;
688
+ }
689
+
690
+ .inr_cont .fb_url input.add {
691
+ margin-left: 19px;
692
+ }
693
+
694
+ .inr_cont .fb_url .checkbox {
695
+ margin: 6px 0 0;
696
+ }
697
+
698
+ .inr_cont .fb_url label {
699
+ /*line-height: 41px; margin: 0 0 0 15px;*/
700
+ line-height: 22px;
701
+ margin: 10px 0 0 15px;
702
+ font-size: 17px;
703
+ }
704
+
705
+ .inr_cont textarea.add_txt {
706
+ resize: none;
707
+ margin: 0 0 0 19px !important;
708
+ height: 60px;
709
+ }
710
+
711
+ .tab2 .inr_cont textarea.add_txt {
712
+ width: 382px !important;
713
+ height: 90px;
714
+ overflow: hidden;
715
+ }
716
+
717
+ .tab2 .inr_cont input.add {
718
+ width: 417px;
719
+ }
720
+
721
+ .red_txt,
722
+ .tab2 .red_txt {
723
+ color: #ef4745 !important;
724
+ text-align: center !important;
725
+ padding-top: 5px !important;
726
+ }
727
+
728
+ .green_txt {
729
+ color: #12A252 !important;
730
+ text-align: center !important;
731
+ padding-top: 5px !important;
732
+ }
733
+
734
+ .red_txt {
735
+ color: #f80000 !important;
736
+ text-align: center !important;
737
+ padding-top: 5px !important;
738
+ }
739
+
740
+ .linked_tab_2 .fb_url label {
741
+ /* width: 32%;*/
742
+ /* width: 26.99%;*/
743
+ width: 22%;
744
+ }
745
+
746
+ .twt_tab_2 label {
747
+ width: 18%
748
+ }
749
+
750
+ .bdr_top {
751
+ border-top: none !important;
752
+ }
753
+
754
+ .linked_tab_2 .fb_url input.link_dbl {
755
+ margin-bottom: 6px;
756
+ }
757
+
758
+ .tab3 {
759
+ overflow: hidden;
760
+ }
761
+
762
+ .tab3 .row {
763
+ /*border-top: 1px solid #EAEBEE;*/
764
+ padding: 25px 0;
765
+ clear: both;
766
+ overflow: hidden;
767
+ }
768
+
769
+ .tab3 ul.tab_3_list {
770
+ overflow: hidden;
771
+ margin: 4px 0 11px;
772
+ }
773
+
774
+ ul.tab_3_list li {
775
+ background: url(../images/tab_3_list_bg.jpg) 13px 7px no-repeat;
776
+ padding: 0 0 0 30px;
777
+ color: #778088;
778
+ font-family: helveticaregular;
779
+ font-size: 17px;
780
+ margin-bottom: 4px;
781
+ }
782
+
783
+ .tab5 ul.tab_3_list li {
784
+ background: url(../images/tab_3_list_bg.jpg) 13px 18px no-repeat;
785
+ }
786
+
787
+ .tab3 .row h3 {
788
+ /* margin: 0 0 20px;*/
789
+ margin: 20px 0 0px;
790
+ color: #414951;
791
+ font-family: helveticabold;
792
+ font-size: 20px;
793
+ }
794
+
795
+ ul.tab_3_icns {
796
+ list-style: none;
797
+ margin: 10px 0 0;
798
+ overflow: hidden;
799
+ }
800
+
801
+ ul.tab_3_icns li {
802
+ width: 100%;
803
+ margin: 0 0 21px;
804
+ float: left;
805
+ }
806
+
807
+ ul.tab_3_icns label {
808
+ float: left;
809
+ line-height: 42px;
810
+ /*margin: 0 20px;*/
811
+ color: #69737C;
812
+ font-size: 18px;
813
+ font-family: helveticaregular;
814
+ min-width: 125px;
815
+ }
816
+
817
+ ul.tab_3_icns li .icns_tab_3,
818
+ ul.tab_3_icns li .radio {
819
+ float: left;
820
+ }
821
+
822
+ .tab3 .sub_row h4 {
823
+ color: #a4a9ad !important;
824
+ }
825
+
826
+ .tab3 .sub_row p {
827
+ padding-top: 18px !important;
828
+ clear: both;
829
+ overflow: hidden;
830
+ }
831
+
832
+ .sub_row .sub_sub_box p {
833
+ padding-top: 18px !important;
834
+ }
835
+
836
+ .tab3 .sub_row .checkbox {
837
+ float: left;
838
+ margin-top: 4px;
839
+ }
840
+
841
+ .tab3 .sub_row .sub_sub_box {
842
+ width: 80%;
843
+ margin: 7px 0 15px 10%;
844
+ float: left;
845
+ }
846
+
847
+ .tab3 .sub_row input.smal_inpt {
848
+ width: 73px;
849
+ background: #e5e5e5;
850
+ box-shadow: 2px 2px 3px #dcdcdc inset;
851
+ border: 0;
852
+ padding: 10px;
853
+ float: left;
854
+ margin-left: 10px;
855
+ }
856
+
857
+ .tab3 .sub_row .drop_lst {
858
+ border: 1px solid #d6d6d6;
859
+ font-size: 16px;
860
+ color: #5a6570;
861
+ width: 120px;
862
+ }
863
+
864
+ .tab3 .first_row,
865
+ .tab3 .first_row p,
866
+ .tab3 .first_row p .radio,
867
+ .tab3 .first_row p label {
868
+ float: left;
869
+ }
870
+
871
+ .tab3 .first_row {
872
+ width: 90%;
873
+ float: left;
874
+ }
875
+
876
+ .tab3 .first_row p {
877
+ padding: 0 !important;
878
+ }
879
+
880
+ .tab3 .first_row p label {
881
+ line-height: 44px;
882
+ margin: 0 10px;
883
+ }
884
+
885
+ .tab3 .first_row p:last-child {
886
+ margin-left: 27%
887
+ }
888
+
889
+ .tab3 .tab_1_sav {
890
+ padding-top: 20px !important;
891
+ margin: 10px auto 20px;
892
+ }
893
+
894
+ .suc_msg {
895
+ background: #12A252;
896
+ color: #FFF;
897
+ display: none;
898
+ font-size: 23px;
899
+ padding: 10px;
900
+ text-align: left;
901
+ text-decoration: none;
902
+ }
903
+
904
+ .error_msg {
905
+ background: #D22B30;
906
+ color: #FFF;
907
+ display: none;
908
+ font-size: 23px;
909
+ padding: 10px;
910
+ text-align: left;
911
+ text-decoration: none;
912
+ }
913
+
914
+ .fileUPInput {
915
+ cursor: pointer;
916
+ position: relative;
917
+ top: -43px;
918
+ right: 0;
919
+ z-index: 99;
920
+ height: 42px;
921
+ font-size: 5px;
922
+ opacity: 0;
923
+ -moz-opacity: 0;
924
+ filter: alpha(opacity=0);
925
+ width: 100%
926
+ }
927
+
928
+ .inputWrapper {
929
+ height: 20px;
930
+ width: 50px;
931
+ overflow: hidden;
932
+ position: relative;
933
+ cursor: pointer;
934
+ }
935
+
936
+ .custom-txt {
937
+ background: none !important;
938
+ padding-left: 2px !important;
939
+ }
940
+
941
+ .custom-img {
942
+ float: left;
943
+ margin-left: 20px;
944
+ }
945
+
946
+ .loader-img {
947
+ float: left;
948
+ margin-left: -70px;
949
+ display: none;
950
+ }
951
+
952
+ .pop-overlay {
953
+ position: fixed;
954
+ top: 0;
955
+ left: 0;
956
+ width: 100%;
957
+ height: 100%;
958
+ backgound-color: #d3d3d3;
959
+ z-index: 10;
960
+ padding: 20px;
961
+ display: none;
962
+ }
963
+
964
+ .fb-overlay {
965
+ position: fixed;
966
+ top: 0;
967
+ left: 0;
968
+ width: 100%;
969
+ height: 100%;
970
+ backgound-color: #d3d3d3;
971
+ z-index: -1000;
972
+ padding: 20px;
973
+ opacity: 0;
974
+ display: block;
975
+ }
976
+
977
+ .inputError {
978
+ border: 1px solid #f80000 !important;
979
+ }
980
+
981
+ .sfsicloseBtn {
982
+ position: absolute;
983
+ top: 0;
984
+ right: 0;
985
+ cursor: pointer;
986
+ }
987
+
988
+
989
+
990
+ .sfsi_tool_tip_2 .tool_tip>img,
991
+ .tool_tip>img {
992
+ display: inline-block;
993
+ margin-right: 4px;
994
+ float: left;
995
+ }
996
+
997
+ .norm_row {
998
+ float: left;
999
+ min-width: 25px;
1000
+ }
1001
+
1002
+ .norm_row a {
1003
+ border: none;
1004
+ display: inline-block;
1005
+ position: relative;
1006
+ float: left;
1007
+ }
1008
+
1009
+ .sfsi_tool_tip_2 a {
1010
+ min-height: 0 !important;
1011
+ }
1012
+
1013
+ .sfsi_widget {
1014
+ min-height: 55px;
1015
+ }
1016
+
1017
+ .sfsi_widget a img {
1018
+ box-shadow: none !important;
1019
+ outline: 0;
1020
+ }
1021
+
1022
+ .sfsi_wicons {
1023
+ display: inline-block;
1024
+ color: #000;
1025
+ }
1026
+
1027
+ .sel-active {
1028
+ background-color: #f7941d;
1029
+ }
1030
+
1031
+ .sfsi_outr_div .close {
1032
+ position: absolute;
1033
+ right: 18px;
1034
+ top: 18px;
1035
+ }
1036
+
1037
+ .sfsi_outr_div h2 {
1038
+ color: #778088;
1039
+ font-family: helveticaregular;
1040
+ font-size: 26px;
1041
+ margin: 0 0 9px;
1042
+ padding: 0;
1043
+ text-align: center;
1044
+ font-weight: 400;
1045
+ }
1046
+
1047
+ .sfsi_outr_div ul li a {
1048
+ color: #5A6570;
1049
+ text-decoration: none;
1050
+ }
1051
+
1052
+ .sfsi_outr_div ul li {
1053
+ display: inline-block;
1054
+ list-style: none;
1055
+ margin: 0;
1056
+ padding: 0;
1057
+ float: none;
1058
+ }
1059
+
1060
+ .expanded-area {
1061
+ display: none;
1062
+ }
1063
+
1064
+ .sfsi_wicons a {
1065
+ -webkit-transition: all .2s ease-in-out;
1066
+ -moz-transition: all .2s ease-in-out;
1067
+ -o-transition: all .2s ease-in-out;
1068
+ -ms-transition: all .2s ease-in-out;
1069
+ }
1070
+
1071
+ .scale,
1072
+ .scale-div {
1073
+ -webkit-transform: scale(1.1);
1074
+ -moz-transform: scale(1.1);
1075
+ -o-transform: scale(1.1);
1076
+ transform: scale(1.1);
1077
+ }
1078
+
1079
+ .sfsi_Sicons {
1080
+ float: left;
1081
+ }
1082
+
1083
+ .sfsi_Sicons .sf_subscrbe {
1084
+ margin: 2px 3px 3px 0;
1085
+ line-height: 20px;
1086
+ }
1087
+
1088
+ .sfsi_Sicons .sf_fb
1089
+ {
1090
+ margin: 0 4px 0 5px;
1091
+ line-height: 20px;
1092
+ }
1093
+ .sfsi_Sicons .sf_fb_share {
1094
+ text-align: left;
1095
+ vertical-align: middle;
1096
+ float: left;
1097
+ line-height: 20px;
1098
+ width: auto;
1099
+ margin-right: 7px;
1100
+ }
1101
+
1102
+ .sfsi_Sicons .sf_twiter {
1103
+ margin: -12px 7px 0 4px;
1104
+ line-height: 17px;
1105
+ }
1106
+
1107
+ .sfsi_Sicons.left .sf_subscrbe {
1108
+ margin: 2px 8px 3px 0;
1109
+ }
1110
+
1111
+ .sfsi_Sicons.left .sf_fb {
1112
+ margin: 0 8px 0 0;
1113
+ }
1114
+
1115
+
1116
+
1117
+ .sfsi_Sicons.left .sf_twiter {
1118
+ margin: 2px 7px 0 0;
1119
+ }
1120
+
1121
+ .sfsi_Sicons.right .sf_subscrbe {
1122
+ margin: 2px 0 3px;
1123
+ }
1124
+
1125
+ .sfsi_Sicons.right .sf_fb {
1126
+ margin: 0 0 0 7px;
1127
+ }
1128
+
1129
+ .sfsi_Sicons.right .sf_twiter {
1130
+ margin: 2px 0 0 8px;
1131
+ }
1132
+
1133
+
1134
+
1135
+ .sfsi_Sicons .sf_subscrbe,
1136
+ .sfsi_Sicons .sf_twiter {
1137
+ position: relative;
1138
+ width: 75px;
1139
+ }
1140
+
1141
+ .sfsi_Sicons .sf_twiter iframe {
1142
+ margin: 0px;
1143
+ height: 20px !important;
1144
+ overflow: visible !important;
1145
+ }
1146
+
1147
+ .sfsi_Sicons .sf_twiter iframe #widget {
1148
+ overflow: visible !important;
1149
+ }
1150
+
1151
+ .sfsi_Sicons .sf_subscrbe a {
1152
+ width: auto;
1153
+ float: left;
1154
+ border: medium none;
1155
+ padding-top: 0px;
1156
+ }
1157
+
1158
+ .sfsi_Sicons .sf_subscrbe a:focus {
1159
+ outline: medium none;
1160
+ }
1161
+
1162
+ .sfsi_Sicons .sf_subscrbe a img {
1163
+ width: 65px;
1164
+ float: left;
1165
+ height: 20px !important;
1166
+ }
1167
+
1168
+ .sfsi_Sicons .sf_fb {
1169
+ position: relative;
1170
+ width: 75px;
1171
+ }
1172
+
1173
+
1174
+ .sfsi_Sicons .fb_iframe_widget {
1175
+ float: left;
1176
+ min-width: 115px;
1177
+ width: 73px;
1178
+ margin: 2px 0 0;
1179
+ }
1180
+ .sfsi_Sicons .fb_iframe_widget[data-layout="button_count"]{
1181
+ min-width:125px;
1182
+ }
1183
+
1184
+ .sfsi_pop_up .button a:hover {
1185
+ color: #fff;
1186
+ }
1187
+
1188
+ .sfsi_pop_up .button:hover {
1189
+ background: #12a252;
1190
+ color: #fff;
1191
+ border: none;
1192
+ }
1193
+
1194
+ ul.icn_listing li .right_info a {
1195
+ outline: 0;
1196
+ font-family: helveticaregular;
1197
+ }
1198
+
1199
+ .upload_pop_up .upload_butt {
1200
+ line-height: 27px;
1201
+ margin-left: 6px;
1202
+ }
1203
+
1204
+ .drop_lsts {
1205
+ left: 220px;
1206
+ position: relative;
1207
+ top: -40px;
1208
+ }
1209
+
1210
+ .drop_lsts .styled {
1211
+ top: -42px;
1212
+ width: 127px;
1213
+ height: 33px;
1214
+ }
1215
+
1216
+ .drop_lsts span {
1217
+ line-height: 50px;
1218
+ }
1219
+
1220
+ .drag_drp {
1221
+ left: 11px;
1222
+ position: relative;
1223
+ top: 38px;
1224
+ font-size: 17px;
1225
+ }
1226
+
1227
+ .listing ul li label {
1228
+ width: 224px;
1229
+ float: left;
1230
+ }
1231
+
1232
+ .row_onl {
1233
+ width: 100%;
1234
+ float: left;
1235
+ }
1236
+
1237
+ #sfsi_Show_popupOn_PageIDs option.sel-active {
1238
+ background: #f7941d;
1239
+ }
1240
+
1241
+ .sfsi_inside div iframe {
1242
+ float: left;
1243
+ margin: 0;
1244
+ }
1245
+
1246
+ .sfsi_inside div #___plus_0,
1247
+ .sfsi_inside div #___plusone_0 {
1248
+ height: 27px;
1249
+ }
1250
+
1251
+ .sfsi_outr_div li {
1252
+ float: left;
1253
+ }
1254
+
1255
+ .sfsi_tool_tip_2 .sfsi_inside div {
1256
+ min-height: 0;
1257
+ }
1258
+
1259
+ #___plus_1>iframe {
1260
+ height: 30px;
1261
+ }
1262
+
1263
+ .main_contant h1 {
1264
+ margin: 0 0 19px;
1265
+ }
1266
+
1267
+ .main_contant p {
1268
+ margin: 0 0 26px;
1269
+ }
1270
+
1271
+ .main_contant p>a {
1272
+ color: #1a1d20;
1273
+ text-decoration: underline;
1274
+ }
1275
+
1276
+ .tab1 .gary_bg {
1277
+ background: #f1f1f1;
1278
+ }
1279
+
1280
+ #accordion {
1281
+ margin-top: 25px;
1282
+ }
1283
+
1284
+ .main_contant p>a,
1285
+ .tab1 p span {
1286
+ font-family: helveticabold;
1287
+ }
1288
+
1289
+ .wapper .ui-accordion-header-active {
1290
+ margin-top: 20px !important;
1291
+ }
1292
+
1293
+ .wapper .tab2 {
1294
+ padding: 20px 33px 12px 34px !important;
1295
+ }
1296
+
1297
+ .wapper .tab2 p {
1298
+ margin-bottom: 6px;
1299
+ }
1300
+
1301
+ .tab2 .twt_tab_2 label {
1302
+ width: 175px;
1303
+ }
1304
+
1305
+ .tab2 .twt_fld {
1306
+ margin: 16px 0 23px;
1307
+ float: left;
1308
+ }
1309
+
1310
+ .tab2 .twt_fld_2 {
1311
+ margin: 0 0 12px;
1312
+ float: left;
1313
+ }
1314
+
1315
+ .tab2 .utube_inn {
1316
+ padding-bottom: 2px;
1317
+ float: left;
1318
+ }
1319
+
1320
+ .tab2 .utube_inn label {
1321
+ max-width: 90%
1322
+ }
1323
+
1324
+ .tab2 .utube_inn label span {
1325
+ font-family: helveticabold;
1326
+ }
1327
+
1328
+ .tab2 .inr_cont p>a {
1329
+ font-family: helveticaneue-light;
1330
+ color: #778088;
1331
+ text-decoration: underline;
1332
+ }
1333
+
1334
+ .pinterest_section .inr_cont .pint_url {
1335
+ float: left;
1336
+ padding-top: 6px;
1337
+ clear: both;
1338
+ }
1339
+
1340
+ .pinterest_section .inr_cont .add {
1341
+ width: 417px !important;
1342
+ }
1343
+
1344
+ .linkedin_section .link_1,
1345
+ .linkedin_section .link_2,
1346
+ .linkedin_section .link_3,
1347
+ .linkedin_section .link_4 {
1348
+ float: left;
1349
+ width: 100%
1350
+ }
1351
+
1352
+ .linkedin_section .link_1 input.add,
1353
+ .linkedin_section .link_2 input.add,
1354
+ .linkedin_section .link_3 input.add,
1355
+ .linkedin_section .link_4 input.add {
1356
+ width: 417px;
1357
+ }
1358
+
1359
+ .linkedin_section .link_1 {
1360
+ margin-bottom: 7px;
1361
+ }
1362
+
1363
+ .linkedin_section .link_2 {
1364
+ margin-bottom: 12px;
1365
+ }
1366
+
1367
+ .linkedin_section .link_3,
1368
+ .linkedin_section .link_4 {
1369
+ margin-bottom: 13px;
1370
+ }
1371
+
1372
+ .tab2 .linkedin_section .link_4 {
1373
+ margin-bottom: 0;
1374
+ }
1375
+
1376
+ ul.tab_3_list li span {
1377
+ font-family: helveticaregular;
1378
+ }
1379
+
1380
+ #accordion .tab4 h4,
1381
+ #accordion1 .tab4 h4 {
1382
+ color: #414951;
1383
+ font-size: 20px;
1384
+ }
1385
+
1386
+ .specify_counts .listing li .input {
1387
+ width: 73px;
1388
+ }
1389
+
1390
+ .sfsi_fbpgidwpr {
1391
+ width: 160px;
1392
+ float: left;
1393
+ font-weight: bold;
1394
+ font-size: 17px;
1395
+ color: #000000;
1396
+ }
1397
+
1398
+ .sfsi_fbpgiddesc {
1399
+ font-weight: normal;
1400
+ width: 42%;
1401
+ font-size: 14px;
1402
+ color: #888888;
1403
+ padding: 4px 0 0 60px;
1404
+ }
1405
+
1406
+ .specify_counts .listing li .input.mypginpt {
1407
+ width: 288px;
1408
+ }
1409
+
1410
+ .tab3 .Shuffle_auto .sub_sub_box .tab_3_option {
1411
+ padding-top: 0 !important;
1412
+ margin-bottom: 10px !important;
1413
+ }
1414
+
1415
+ .tab4 {
1416
+ padding-top: 35px !important;
1417
+ }
1418
+
1419
+ .tab4 .save_button {
1420
+ padding-top: 46px;
1421
+ }
1422
+
1423
+ .tab5 {
1424
+ padding-top: 31px !important;
1425
+ }
1426
+
1427
+ .tab7 {
1428
+ padding-top: 28px !important;
1429
+ }
1430
+
1431
+ .tab5 .row_onl {
1432
+ margin-top: 15px;
1433
+ }
1434
+
1435
+ .tab5 .sticking .link>a {
1436
+ color: #a4a9ad;
1437
+ text-decoration: underline;
1438
+ }
1439
+
1440
+ .tab5 .mouse_txt h4 {
1441
+ /*margin-bottom: 8px!important;*/
1442
+ padding-bottom: 30px !important;
1443
+ }
1444
+
1445
+ .tab5 .save_button {
1446
+ padding-top: 54px;
1447
+ }
1448
+
1449
+ .tab7 .like_pop_box h2 {
1450
+ font-family: helveticabold;
1451
+ text-align: center;
1452
+ color: #414951;
1453
+ font-size: 26px;
1454
+ }
1455
+
1456
+ .tab1 ul.icn_listing li .right_info label:hover {
1457
+ text-decoration: none !important;
1458
+ }
1459
+
1460
+ .tab1 ul.icn_listing li .right_info label.expanded-area {
1461
+ clear: both;
1462
+ float: left;
1463
+ margin-top: 14px;
1464
+ width: 100%;
1465
+ }
1466
+
1467
+ .tab7 .space {
1468
+ margin-top: 14px;
1469
+ }
1470
+
1471
+ .tab7 .pop_up_show label {
1472
+ font-family: helveticaregular !important;
1473
+ }
1474
+
1475
+ .tab7 .save_button {
1476
+ padding-top: 78px;
1477
+ }
1478
+
1479
+ .like_txt a {
1480
+ text-decoration: none;
1481
+ font-family: helveticaregular;
1482
+ }
1483
+
1484
+ .bdr_btm_non {
1485
+ border-bottom: none !important;
1486
+ }
1487
+
1488
+ .tab1 .tab_1_sav {
1489
+ padding-top: 13px;
1490
+ }
1491
+
1492
+ #accordion .tab2 .facebook_section .inr_cont p.extra_sp,
1493
+ #accordion1 .tab2 .facebook_section .inr_cont p.extra_sp {
1494
+ padding-top: 7px;
1495
+ }
1496
+
1497
+ .tab2 .custom_section {
1498
+ width: 100%
1499
+ }
1500
+
1501
+ .tab7 {
1502
+ padding-bottom: 40px !important;
1503
+ }
1504
+
1505
+ .tab9 .save_button {
1506
+ padding-top: 40px;
1507
+ }
1508
+
1509
+ .tab9 .save_button a {
1510
+ padding: 16px 0;
1511
+ }
1512
+
1513
+ .tab2 .twitter_section .twt_fld input.add,
1514
+ .tab2 .twitter_section .twt_fld_2 textarea.add_txt {
1515
+ width: 464px !important;
1516
+ }
1517
+
1518
+ .tab2 .utube_inn .fb_url label span {
1519
+ font-family: helveticaneue-light;
1520
+ }
1521
+
1522
+ .tab1 label,
1523
+ .tab2 label,
1524
+ .tab3 label,
1525
+ .tab4 label,
1526
+ .tab5 label,
1527
+ .tab6 label,
1528
+ .tab7 label,
1529
+ .tab8 label {
1530
+ cursor: default !important;
1531
+ }
1532
+
1533
+ .tab5 .new_wind h4 {
1534
+ margin-bottom: 11px !important;
1535
+ }
1536
+
1537
+ .pop_up_box .fb_2 span {
1538
+ height: 28px !important;
1539
+ }
1540
+
1541
+ .pop_up_box .sfsi_tool_tip_2 .fbb .fb_1 a {
1542
+ margin-top: 0;
1543
+ }
1544
+
1545
+ .tab6 .social_icon_like1 ul li span {
1546
+ margin-top: -1px;
1547
+ }
1548
+
1549
+ #sfpageLoad {
1550
+ background: url(../images/ajax-loader.gif) 50% 50% no-repeat #F9F9F9;
1551
+ height: 100%;
1552
+ left: 160px;
1553
+ opacity: 1;
1554
+ position: fixed;
1555
+ top: 0;
1556
+ width: 92%;
1557
+ z-index: 9999;
1558
+ }
1559
+
1560
+ .sfsi_tool_tip_2,
1561
+ .tool_tip {
1562
+ background: #FFF;
1563
+ border: 1px solid #e7e7e7;
1564
+ box-shadow: #e7e7e7 0 0 2px 1px;
1565
+ display: block;
1566
+ float: left;
1567
+ margin: 0 0 0 -52px;
1568
+ padding: 5px 14px 5px 14px;
1569
+ position: absolute;
1570
+ z-index: 10000;
1571
+ border-bottom: #e5e5e5 solid 4px;
1572
+ width: 100px;
1573
+ }
1574
+
1575
+ .sfsi_tool_tip_2 {
1576
+ display: inline-table;
1577
+ }
1578
+
1579
+ .inerCnt,
1580
+ .inerCnt:hover,
1581
+ .inerCnt>a,
1582
+ .inerCnt>a:hover,
1583
+ .widget-area .widget a {
1584
+ outline: 0;
1585
+ }
1586
+
1587
+ .sfsi_tool_tip_2_inr {
1588
+ bottom: 90%;
1589
+ left: 20%;
1590
+ opacity: 0;
1591
+ }
1592
+
1593
+ .sfsi_tool_tip_2 .bot_arow {
1594
+ background: url(../images/bot_tip_icn.png) no-repeat;
1595
+ position: absolute;
1596
+ bottom: -21px;
1597
+ left: 50%;
1598
+ width: 15px;
1599
+ height: 21px;
1600
+ margin-left: -5px;
1601
+ }
1602
+
1603
+ .sfsi_tool_tip_2 .top_big_arow {
1604
+ position: absolute;
1605
+ -webkit-transform: rotate(180deg);
1606
+ -moz-transform: rotate(180deg);
1607
+ -ms-transform: rotate(180deg);
1608
+ -o-transform: rotate(180deg);
1609
+ transform: rotate(180deg);
1610
+ top: -21px;
1611
+ left: 50%;
1612
+ width: 15px;
1613
+ height: 21px;
1614
+ margin-right: -5px;
1615
+ }
1616
+
1617
+ .sfsi_tool_tip_2_inr .gpls_visit>a,
1618
+ .sfsi_tool_tip_2_inr .prints_visit_1 a,
1619
+ .sfsi_tool_tip_2_inr .utub_visit>a {
1620
+ margin-top: 0;
1621
+ }
1622
+
1623
+ .sfsi_tool_tip_2_inr .linkin_1 a,
1624
+ .sfsi_tool_tip_2_inr .linkin_2 a,
1625
+ .sfsi_tool_tip_2_inr .linkin_3 a,
1626
+ .sfsi_tool_tip_2_inr .linkin_4 a,
1627
+ .sfsi_tool_tip_2_inr .prints_visit a {
1628
+ margin: 0;
1629
+ }
1630
+
1631
+ .sfsiTlleftBig {
1632
+ bottom: 121%;
1633
+ left: 22%;
1634
+ margin-left: -54%
1635
+ }
1636
+
1637
+ .sfsiTlleft {
1638
+ bottom: 100%;
1639
+ left: 50%;
1640
+ margin-left: -66px;
1641
+ margin-bottom: 2px;
1642
+ }
1643
+
1644
+ .sfsi_plc_btm {
1645
+ bottom: auto;
1646
+ top: 100%;
1647
+ left: 50%;
1648
+ margin-left: -63px;
1649
+ margin-top: -6px;
1650
+ margin-bottom: auto;
1651
+ }
1652
+
1653
+ .inerCnt {
1654
+ position: relative;
1655
+ z-index: inherit !important;
1656
+ float: left;
1657
+ width: 100%;
1658
+ float: left;
1659
+ }
1660
+
1661
+ .sfsi_wicons {
1662
+ margin-bottom: 30px;
1663
+ position: relative;
1664
+ padding-top: 5px;
1665
+ }
1666
+
1667
+ .norm_row .bot_no {
1668
+ position: absolute;
1669
+ padding: 1px 0;
1670
+ font-size: 12px !important;
1671
+ text-align: center;
1672
+ line-height: 12px !important;
1673
+ background: #fff;
1674
+ border-radius: 5px;
1675
+ left: 50%;
1676
+ margin-left: -20px;
1677
+ z-index: 9;
1678
+ border: 1px solid #333;
1679
+ top: 100%;
1680
+ white-space: pre;
1681
+ -webkit-box-sizing: border-box;
1682
+ -moz-box-sizing: border-box;
1683
+ box-sizing: border-box;
1684
+ margin-top: 0px;
1685
+ width: 40px;
1686
+ }
1687
+
1688
+ .norm_row .bot_no:before {
1689
+ content: url(images/count_top_arow.png);
1690
+ position: absolute;
1691
+ height: 9px;
1692
+ margin-left: -7.5px;
1693
+ top: -10px;
1694
+ left: 50%;
1695
+ width: 15px;
1696
+ }
1697
+
1698
+ .bot_no.sfsiSmBtn {
1699
+ font-size: 10px;
1700
+ margin-top: 4px;
1701
+ }
1702
+
1703
+ .bot_no.sfsiSmBtn:before {
1704
+ margin-left: -8px;
1705
+ top: -9px;
1706
+ }
1707
+
1708
+ .norm_row .cbtn_vsmall {
1709
+ font-size: 9px;
1710
+ left: -28%;
1711
+ top: 4px;
1712
+ }
1713
+
1714
+ .norm_row .cbtn_vsmall:before {
1715
+ left: 31%;
1716
+ top: -9px;
1717
+ margin-left: -31%
1718
+ }
1719
+
1720
+ h2.optional {
1721
+ font-family: helveticaregular;
1722
+ font-size: 25px;
1723
+ margin: 14px 0 19px;
1724
+ color: #5a6570;
1725
+ }
1726
+
1727
+ .utube_tool_bdr .utub_visit {
1728
+ margin: 9px 0 0;
1729
+ height: 24px;
1730
+ display: inline-block;
1731
+ float: none;
1732
+ }
1733
+
1734
+ .utube_tool_bdr .utub_2 {
1735
+ margin: 9px 0 0;
1736
+ height: 24px;
1737
+ width: 86px;
1738
+ display: inline-block;
1739
+ float: none;
1740
+ }
1741
+
1742
+ .printst_tool_bdr {
1743
+ width: 79px;
1744
+ }
1745
+
1746
+ .printst_tool_bdr .prints_visit {
1747
+ margin: 0 0 10px -22px;
1748
+ }
1749
+
1750
+ .printst_tool_bdr .prints_visit_1 {
1751
+ margin: 0 0 0 -53px;
1752
+ }
1753
+
1754
+ .fb_tool_bdr {
1755
+ width: 68px;
1756
+ height: auto;
1757
+ }
1758
+
1759
+ .fb_tool_bdr .sfsi_inside {
1760
+ text-align: center;
1761
+ width: 100%;
1762
+ float: left;
1763
+ overflow: hidden;
1764
+ }
1765
+
1766
+ .fb_tool_bdr .sfsi_inside .icon1 {
1767
+ /* margin: 0 0 -5px 0;*/
1768
+ margin: 2px 0px 4px 0;
1769
+ height: auto;
1770
+ display: inline-block;
1771
+ float: none;
1772
+ width: 62px;
1773
+ }
1774
+
1775
+ .fb_tool_bdr .sfsi_inside .icon2 {
1776
+ margin: 2px 0 3px 0 !important;
1777
+ height: auto;
1778
+ width: 53px;
1779
+ display: inline-block;
1780
+ overflow: hidden;
1781
+ }
1782
+
1783
+ .fb_tool_bdr .sfsi_inside .icon3 {
1784
+ margin: 2px 0 2px 0;
1785
+ height: auto;
1786
+ width: 62px;
1787
+ display: inline-block;
1788
+ float: none;
1789
+ }
1790
+
1791
+ .fb_tool_bdr .sfsi_inside .fb_1,
1792
+ .fb_tool_bdr .sfsi_inside .fb_2,
1793
+ .fb_tool_bdr .sfsi_inside .fb_3 {
1794
+ margin: 9px 0 0;
1795
+ height: 25px;
1796
+ }
1797
+
1798
+ .printst_tool_bdr .sfsi_inside {
1799
+ text-align: center;
1800
+ float: left;
1801
+ width: 100%
1802
+ }
1803
+
1804
+ .printst_tool_bdr .sfsi_inside .icon1 {
1805
+ /* margin: 2px 0;*/
1806
+ margin: 3px 0 3px 0;
1807
+ /* height: 24px;*/
1808
+ height: auto;
1809
+ display: inline-block;
1810
+ float: none;
1811
+ width: 73px;
1812
+ }
1813
+
1814
+ .printst_tool_bdr .sfsi_inside .icon2 {
1815
+ /* margin: 2px 0;*/
1816
+ margin: 2px 0 2px 0;
1817
+ height: auto;
1818
+ display: inline-block;
1819
+ float: none;
1820
+ max-width: 73px;
1821
+ width: auto;
1822
+ }
1823
+
1824
+ .printst_tool_bdr .sfsi_inside .prints_visit,
1825
+ .printst_tool_bdr .sfsi_inside .prints_visit_1 {
1826
+ margin: 9px 0 0;
1827
+ height: 20px;
1828
+ float: none;
1829
+ display: inline-block;
1830
+ }
1831
+
1832
+ .printst_tool_bdr {
1833
+ margin-left: -59px;
1834
+ }
1835
+
1836
+ .fb_tool_bdr .sfsi_inside .icon1>a>img,
1837
+ .gpls_tool_bdr .sfsi_inside .icon1>a>img,
1838
+ .linkedin_tool_bdr .sfsi_inside .icon1>a>img,
1839
+ .linkedin_tool_bdr .sfsi_inside .icon4>a>img,
1840
+ .printst_tool_bdr .sfsi_inside .icon1>a>img,
1841
+ .printst_tool_bdr .sfsi_inside .icon2>a>img,
1842
+ .utube_tool_bdr .sfsi_inside .icon1>a>img {
1843
+ padding-top: 0;
1844
+ }
1845
+
1846
+ .gpls_tool_bdr {
1847
+ width: 76px;
1848
+ }
1849
+
1850
+ .gpls_tool_bdr .sfsi_inside .icon1>a>img {
1851
+ padding-top: 0;
1852
+ }
1853
+
1854
+ .gpls_tool_bdr .sfsi_inside {
1855
+ text-align: center;
1856
+ width: 100%;
1857
+ float: left;
1858
+ }
1859
+
1860
+ .gpls_tool_bdr .sfsi_inside .icon1 {
1861
+ margin: 2px 0;
1862
+ display: inline-block;
1863
+ float: none;
1864
+ height: 29px;
1865
+ width: 76px;
1866
+ }
1867
+
1868
+ .gpls_tool_bdr .sfsi_inside .icon2 {
1869
+ margin: 2px 0 3px 0;
1870
+ display: inline-block;
1871
+ float: none;
1872
+ height: 24px;
1873
+ width: 38px;
1874
+ }
1875
+
1876
+ .gpls_tool_bdr .sfsi_inside .icon3 {
1877
+ margin: 3px 0 2px 0;
1878
+ display: inline-block;
1879
+ float: none;
1880
+ height: 24px;
1881
+ width: 76px;
1882
+ }
1883
+
1884
+ .gpls_tool_bdr .sfsi_inside .gpls_visit,
1885
+ .gpls_tool_bdr .sfsi_inside .gtalk_2,
1886
+ .gpls_tool_bdr .sfsi_inside .gtalk_3 {
1887
+ margin: 9px 0 0;
1888
+ height: 29px;
1889
+ }
1890
+
1891
+ .pop_up_box_ex.sfsi_pop_up .fb_tool_bdr,
1892
+ .gpls_tool_bdr,
1893
+ .linkedin_tool_bdr,
1894
+ .twt_tool_bdr {
1895
+ bottom: 100%;
1896
+ left: 50%;
1897
+ margin-bottom: -12px;
1898
+ }
1899
+
1900
+ .fb_tool_bdr,
1901
+ .gpls_tool_bdr,
1902
+ .linkedin_tool_bdr,
1903
+ .twt_tool_bdr {
1904
+ bottom: 100%;
1905
+ left: 50%;
1906
+ margin-bottom: 8px;
1907
+ }
1908
+
1909
+ .printst_tool_bdr {
1910
+ bottom: 80%;
1911
+ left: 50%;
1912
+ /* margin-bottom: 2px;*/
1913
+ margin-bottom: 0px;
1914
+ margin-bottom: 18px;
1915
+ }
1916
+
1917
+ .printst_tool_bdr {
1918
+ bottom: 80%;
1919
+ left: 50%;
1920
+ margin-bottom: 18px;
1921
+ }
1922
+
1923
+ .twt_tool_bdr .sfsi_inside {
1924
+ text-align: center;
1925
+ width: 100%;
1926
+ float: left;
1927
+ }
1928
+
1929
+ .twt_tool_bdr .sfsi_inside .cstmicon1 {
1930
+ margin: 2px 0px 2px 0 !important;
1931
+ /*margin: 2px 0!important; display: inline-block;*/
1932
+ float: none;
1933
+ width: 62px;
1934
+ /* overflow: hidden;*/
1935
+ /*height: 20px;*/
1936
+ }
1937
+
1938
+ .twt_tool_bdr .sfsi_inside .cstmicon1 a img {
1939
+ float: left;
1940
+ }
1941
+
1942
+ .twt_tool_bdr .sfsi_inside .icon1 {
1943
+ /*margin: -4px 0 -5px 0 !important;*/
1944
+ margin: 5px 0px 3px 0 !important;
1945
+ display: inline-block;
1946
+ float: none;
1947
+ width: 61px;
1948
+ /* overflow: hidden;*/
1949
+ height: auto;
1950
+ }
1951
+
1952
+ .twt_tool_bdr .sfsi_inside .icon1 iframe {
1953
+ width: 61px !important;
1954
+ }
1955
+
1956
+ .twt_tool_bdr .sfsi_inside .icon2 {
1957
+ margin: 3px 0px 2px 0px !important;
1958
+ display: inline-block;
1959
+ float: none;
1960
+ height: auto;
1961
+ width: 58px;
1962
+ }
1963
+
1964
+ .twt_tool_bdr .sfsi_inside .twt_1 {
1965
+ margin: 9px 0 0;
1966
+ display: inline-block;
1967
+ float: none;
1968
+ width: 58px;
1969
+ height: 20px;
1970
+ overflow: hidden;
1971
+ }
1972
+
1973
+ .twt_tool_bdr .sfsi_inside .twt_1 iframe {
1974
+ width: 100% !important;
1975
+ }
1976
+
1977
+ .twt_tool_bdr .sfsi_inside .twt_2 {
1978
+ margin: 9px 0 0;
1979
+ height: 20px;
1980
+ display: inline-block;
1981
+ float: none;
1982
+ width: 58px;
1983
+ }
1984
+
1985
+ .utube_tool_bdr .sfsi_inside {
1986
+ text-align: center;
1987
+ width: 100%;
1988
+ float: left;
1989
+ }
1990
+
1991
+ .utube_tool_bdr .sfsi_inside .icon1 {
1992
+ /*margin: 5px 0 0;*/
1993
+ margin: 4px 0px 3px 0;
1994
+ height: 24px;
1995
+ display: inline-block;
1996
+ float: none;
1997
+ width: 96px;
1998
+ }
1999
+
2000
+ .utube_tool_bdr .sfsi_inside .icon2 {
2001
+ /* margin: 9px 0 0;*/
2002
+ margin: 2px 0 3px 0 !important;
2003
+ height: 24px;
2004
+ display: inline-block;
2005
+ float: none;
2006
+ max-width: 96px;
2007
+ width: 82px;
2008
+ }
2009
+
2010
+ .pop-overlay.read-overlay.ytex-s2 .utube_tool_bdr {
2011
+ width: 93px;
2012
+ bottom: 100%;
2013
+ left: 50%;
2014
+ margin-bottom: -12px;
2015
+ }
2016
+
2017
+ .utube_tool_bdr {
2018
+ width: 93px;
2019
+ bottom: 100%;
2020
+ left: 50%;
2021
+ margin-bottom: 8px;
2022
+ }
2023
+
2024
+ .linkedin_tool_bdr {
2025
+ width: 66px;
2026
+ }
2027
+
2028
+ .linkedin_tool_bdr .sfsi_inside {
2029
+ text-align: center;
2030
+ float: left;
2031
+ width: 100%
2032
+ }
2033
+
2034
+ .linkedin_tool_bdr .sfsi_inside .icon1 {
2035
+ margin: 2px 0 2px 0px;
2036
+ display: inline-block;
2037
+ float: none;
2038
+ /* height: 20px;*/
2039
+ width: 100%;
2040
+ }
2041
+
2042
+ .linkedin_tool_bdr .sfsi_inside .icon2 {
2043
+ margin: 2px 0 2px 0px;
2044
+ display: inline-block;
2045
+ float: none;
2046
+ /* height: 20px;*/
2047
+ width: 100%;
2048
+ }
2049
+
2050
+ .linkedin_tool_bdr .sfsi_inside .icon3 {
2051
+ margin: 2px 0 2px 0px;
2052
+ display: inline-block;
2053
+ float: none;
2054
+ /* height: 20px;*/
2055
+ width: 100%;
2056
+ }
2057
+
2058
+ .linkedin_tool_bdr .sfsi_inside .icon4 {
2059
+ margin: 2px 0 1px 0px;
2060
+ display: inline-block;
2061
+ float: none;
2062
+ /* height: 25px !important;*/
2063
+ width: 100%;
2064
+ }
2065
+
2066
+ .sfsi_FrntInner_chg .linkedin_tool_bdr .sfsi_inside .icon1 {
2067
+ margin: 7px 0;
2068
+ }
2069
+
2070
+ .sfsi_widget .linkedin_tool_bdr .sfsi_inside .icon4,
2071
+ .sfsi_widget .gpls_tool_bdr .sfsi_inside .icon1,
2072
+ .sfsi_widget .fb_tool_bdr .sfsi_inside .icon1 {
2073
+ height: auto
2074
+ }
2075
+
2076
+ .linkedin_tool_bdr .linkin_1,
2077
+ .linkedin_tool_bdr .linkin_2,
2078
+ .linkedin_tool_bdr .linkin_3,
2079
+ .linkedin_tool_bdr .linkin_4 {
2080
+ margin: 9px 0 0 !important;
2081
+ height: 20px;
2082
+ display: inline-block;
2083
+ float: none;
2084
+ overflow: hidden;
2085
+ }
2086
+
2087
+ .twt_tool_bdr {
2088
+ width: 62px;
2089
+ height: auto;
2090
+ }
2091
+
2092
+ .twt_tool_bdr .sfsi_inside .icon1>iframe {
2093
+ margin: 0 auto !important;
2094
+ float: none !important;
2095
+ width: 100%
2096
+ }
2097
+
2098
+ .twt_tool_bdr .sfsi_inside .icon1>iframe #widget {
2099
+ text-align: center;
2100
+ }
2101
+
2102
+ .sfsi_pop_up .button {
2103
+ border: none;
2104
+ padding: 0;
2105
+ }
2106
+
2107
+ .pop_up_box .button a {
2108
+ color: #fff;
2109
+ line-height: normal;
2110
+ font-size: 22px;
2111
+ text-decoration: none;
2112
+ text-align: center;
2113
+ width: 482px;
2114
+ height: 80px;
2115
+ margin: 0;
2116
+ display: table-cell;
2117
+ vertical-align: middle;
2118
+ font-family: helveticabold;
2119
+ }
2120
+
2121
+ .tab3 ul.tab_3_icns li .radio {
2122
+ margin-top: 7px;
2123
+ }
2124
+
2125
+ .tab3 ul.tab_3_icns li label {
2126
+ line-height: 50px !important;
2127
+ margin-left: 20px;
2128
+ }
2129
+
2130
+ .sfsi_mainContainer input[type=email],
2131
+ .sfsi_mainContainer input[type=number],
2132
+ .sfsi_mainContainer input[type=password],
2133
+ .sfsi_mainContainer input[type=search],
2134
+ .sfsi_mainContainer input[type=tel],
2135
+ .sfsi_mainContainer input[type=text],
2136
+ .sfsi_mainContainer input[type=url],
2137
+ .sfsi_mainContainer select,
2138
+ .sfsi_mainContainer textarea {
2139
+ color: #5a6570 !important;
2140
+ }
2141
+
2142
+ .adminTooltip {
2143
+ left: 142px;
2144
+ position: absolute;
2145
+ }
2146
+
2147
+ .adPopWidth {
2148
+ min-height: 100px !important;
2149
+ }
2150
+
2151
+ .main_contant p>a.lit_txt,
2152
+ .tab4 p>a {
2153
+ font-family: helveticaregular;
2154
+ color: #414951;
2155
+ }
2156
+
2157
+ .tab1 ul.icn_listing li .custom-txt {
2158
+ margin-left: 5px;
2159
+ }
2160
+
2161
+ .tab1 ul.icn_listing li .custom-img {
2162
+ margin-left: 18px;
2163
+ }
2164
+
2165
+ .linkedin_section .link_4>label.anthr_labl {
2166
+ height: 94px;
2167
+ }
2168
+
2169
+ .mediam_txt {
2170
+ font-family: helveticabold;
2171
+ }
2172
+
2173
+ .sfsiCtxt {
2174
+ line-height: 51px;
2175
+ font-family: helveticaregular;
2176
+ font-size: 22px;
2177
+ float: left;
2178
+ padding-left: 19px;
2179
+ color: #5a6570;
2180
+ }
2181
+
2182
+ .customstep2-img {
2183
+ width: 51px;
2184
+ float: left;
2185
+ }
2186
+
2187
+ .tab2 .row h2.custom {
2188
+ margin: 15px 0 7px 21px;
2189
+ height: 52px;
2190
+ line-height: 51px;
2191
+ font-family: helveticaregular;
2192
+ font-size: 22px;
2193
+ }
2194
+
2195
+ .custom-links p.cus_link label {
2196
+ margin-left: 0;
2197
+ }
2198
+
2199
+ .pop_up_box .sfsi_tool_tip_2 .fbb .fb_1 a>img:hover {
2200
+ opacity: .9;
2201
+ }
2202
+
2203
+ .tab2 .rss_url_row .sfrsTxt {
2204
+ font-size: 17px;
2205
+ line-height: 47px;
2206
+ margin: 0 0 0 4px;
2207
+ font-family: helveticaregular;
2208
+ }
2209
+
2210
+ .tab2 .rss_url_row .sfrsTxt>strong {
2211
+ font-family: helveticaregular;
2212
+ }
2213
+
2214
+ .tab2 .utube_inn p.extra_pp {
2215
+ float: left;
2216
+ width: 100%;
2217
+ margin: 0 0 0 48px;
2218
+ }
2219
+
2220
+ .tab2 .utube_inn p.extra_pp label {
2221
+ float: left;
2222
+ line-height: 41px;
2223
+ margin-right: 8px;
2224
+ }
2225
+
2226
+ .sfsi_inside .icon2 .fb_iframe_widget span {
2227
+ width: 500px !important;
2228
+ }
2229
+
2230
+ @media (max-width:767px) {
2231
+ .sfsi_inside .icon2 .fb_iframe_widget span {
2232
+ width: auto;
2233
+ }
2234
+
2235
+ .sfsi_outr_div {
2236
+ top: 10%
2237
+ }
2238
+
2239
+ .sfsi_outr_div h2 {
2240
+ font-size: 22px !important;
2241
+ line-height: 28px;
2242
+ }
2243
+
2244
+ .sfsi_wicons {
2245
+ padding-top: 0;
2246
+ }
2247
+ }
2248
+
2249
+ .specify_counts .listing li .high_prb {
2250
+ height: 41px;
2251
+ }
2252
+
2253
+ .sfsi_Sicons {
2254
+ position: relative;
2255
+ }
2256
+
2257
+
2258
+
2259
+ .sfsi_Sicons .fb_iframe_widget {
2260
+ float: left;
2261
+ width: 73px;
2262
+ margin: 2px 0 0;
2263
+ }
2264
+
2265
+ .sfsi_Sicons .sf_fb .fb_iframe_widget>span {
2266
+ position: absolute;
2267
+ /*width: 450px!important; z-index: 1;*/
2268
+ }
2269
+
2270
+ .tab2 .utube_inn label {
2271
+ font-size: 17px;
2272
+ }
2273
+
2274
+ .sfsi_plc_btm {
2275
+ padding: 5px 14px 9px;
2276
+ }
2277
+
2278
+ .tab7 .field {
2279
+ margin-top: 7px;
2280
+ }
2281
+
2282
+ .sfsi_outr_div ul li .cmcls img {
2283
+ margin-top: 0 !important;
2284
+ }
2285
+
2286
+ .sfsi_outr_div ul li .inerCnt {
2287
+ float: left;
2288
+ }
2289
+
2290
+ .sfsi_outr_div ul li .inerCnt .bot_no {
2291
+ position: absolute;
2292
+ padding: 1px 0;
2293
+ font-size: 12px !important;
2294
+ line-height: 12px !important;
2295
+ text-align: center;
2296
+ background: #fff;
2297
+ border-radius: 5px;
2298
+ display: block;
2299
+ left: 50%;
2300
+ margin-left: -20px;
2301
+ border: 1px solid #333;
2302
+ white-space: pre;
2303
+ -webkit-box-sizing: border-box;
2304
+ -moz-box-sizing: border-box;
2305
+ box-sizing: border-box;
2306
+ margin-top: 6px;
2307
+ width: 40px;
2308
+ word-break: break-all;
2309
+ word-wrap: break-word;
2310
+ }
2311
+
2312
+ .sfsi_outr_div ul li .inerCnt .bot_no:before {
2313
+ content: url(images/count_top_arow.png);
2314
+ position: absolute;
2315
+ height: 9px;
2316
+ margin-left: -7.5px;
2317
+ top: -10px;
2318
+ left: 50%;
2319
+ width: 15px;
2320
+ }
2321
+
2322
+ .sfsi_outr_div {
2323
+ position: fixed;
2324
+ width: 100%;
2325
+ float: none;
2326
+ left: 50%;
2327
+ top: 20%;
2328
+ margin-left: -50%;
2329
+ opacity: 0;
2330
+ z-index: -1;
2331
+ display: block;
2332
+ text-align: center;
2333
+ }
2334
+
2335
+ .sfsi_outr_div .sfsi_FrntInner_chg {
2336
+ display: inline-block;
2337
+ padding: 15px 17px 27px 18px;
2338
+ background: #FFF;
2339
+ border: 1px solid #EDEDED;
2340
+ box-shadow: 0 0 5px #CCC;
2341
+ margin: 20px;
2342
+ position: relative;
2343
+ }
2344
+
2345
+ .sfsi_FrntInner_chg .sfsiclpupwpr {
2346
+ position: absolute;
2347
+ right: -10px;
2348
+ top: -10px;
2349
+ width: 25px;
2350
+ cursor: pointer;
2351
+ }
2352
+
2353
+ .sfsi_FrntInner_chg .sfsiclpupwpr img {
2354
+ width: auto;
2355
+ float: left;
2356
+ border: medium none;
2357
+ }
2358
+
2359
+ .tab7 .like_pop_box {
2360
+ width: 100%;
2361
+ margin: 35px auto auto;
2362
+ position: relative;
2363
+ text-align: center;
2364
+ }
2365
+
2366
+ .tab7 .like_pop_box .sfsi_Popinner {
2367
+ display: inline-block;
2368
+ padding: 18px 20px;
2369
+ box-shadow: 0 0 5px #ccc;
2370
+ -webkit-box-shadow: 0 0 5px #ccc;
2371
+ border: 1px solid #ededed;
2372
+ background: #FFF;
2373
+ }
2374
+
2375
+ .tab7 .like_pop_box .sfsi_Popinner h2 {
2376
+ margin: 0 0 23px;
2377
+ padding: 0;
2378
+ color: #414951;
2379
+ font-family: helveticabold;
2380
+ font-size: 26px;
2381
+ text-align: center;
2382
+ }
2383
+
2384
+ .tab7 .like_pop_box .sfsi_Popinner ul {
2385
+ margin: 0;
2386
+ padding: 0;
2387
+ list-style: none;
2388
+ text-align: center;
2389
+ }
2390
+
2391
+ .tab7 .like_pop_box .sfsi_Popinner ul li {
2392
+ margin: 0;
2393
+ padding: 0;
2394
+ list-style: none;
2395
+ display: inline-block;
2396
+ }
2397
+
2398
+ .tab7 .like_pop_box .sfsi_Popinner ul li span {
2399
+ margin: 0;
2400
+ width: 54px;
2401
+ display: block;
2402
+ background: url(../images/count_bg.png) no-repeat;
2403
+ height: 24px;
2404
+ overflow: hidden;
2405
+ padding: 10px 2px 2px;
2406
+ font-family: helveticaregular;
2407
+ font-size: 16px;
2408
+ text-align: center;
2409
+ line-height: 24px;
2410
+ color: #5a6570;
2411
+ }
2412
+
2413
+ .tab7 .like_pop_box .sfsi_Popinner ul li a {
2414
+ color: #5a6570;
2415
+ text-decoration: none;
2416
+ }
2417
+
2418
+ .sfsi_outr_div .sfsi_FrntInner_chg .sfsi_wicons {
2419
+ margin-bottom: 0;
2420
+ }
2421
+
2422
+ .sfsi_outr_div ul {
2423
+ list-style: none;
2424
+ margin: 0 0 24px;
2425
+ padding: 0;
2426
+ text-align: center;
2427
+ }
2428
+
2429
+ a.sfsiColbtn {
2430
+ color: #5a6570 !important;
2431
+ float: right;
2432
+ font-size: 14px;
2433
+ margin: -35px -30px 0 0;
2434
+ position: relative;
2435
+ right: 0;
2436
+ font-family: helveticaregular;
2437
+ width: 100px;
2438
+ text-decoration: none;
2439
+ }
2440
+
2441
+ .tab3 a.sfsiColbtn {
2442
+ margin-top: -43px;
2443
+ }
2444
+
2445
+ .sfsi_FrntInner_chg ul li:first-of-type .sfsi_wicons {
2446
+ margin-left: 0 !important;
2447
+ }
2448
+
2449
+ ul.tab_3_icns li .trans_bg {
2450
+ background: #000;
2451
+ padding-left: 3px;
2452
+ }
2453
+
2454
+ .tab2 .instagram_section {
2455
+ padding-bottom: 20px;
2456
+ }
2457
+
2458
+ h1.abt_titl {
2459
+ text-align: center;
2460
+ margin: 19% 0 0;
2461
+ }
2462
+
2463
+ .sfcm.sfsi_wicon {
2464
+ padding: 0;
2465
+ width: 100%;
2466
+ border: medium none;
2467
+ }
2468
+
2469
+ .fb_iframe_widget span {
2470
+ vertical-align: top !important;
2471
+ }
2472
+
2473
+ .sfsi_outr_div .sfsi_FrntInner_chg ul {
2474
+ margin: 0 0 0 3px;
2475
+ }
2476
+
2477
+ .sfsi_outr_div .sfsi_FrntInner_chg ul li {
2478
+ margin: 0 3px 0 0;
2479
+ }
2480
+
2481
+ .sfcm.sfsi_wicon {
2482
+ margin: -1px;
2483
+ padding: 0;
2484
+ }
2485
+
2486
+ @media (min-width:320px) and (max-width:480px) {
2487
+
2488
+ .sfsi_tool_tip_2,
2489
+ .tool_tip {
2490
+ padding: 5px 14px 0;
2491
+ }
2492
+
2493
+ .sfsi_inside:last-child {
2494
+ margin-bottom: 18px;
2495
+ clear: both;
2496
+ }
2497
+
2498
+ .sfsi_outr_div {
2499
+ top: 10%;
2500
+ }
2501
+
2502
+ .sfsi_FrntInner_chg .sfsi_wicons {
2503
+ width: 31px !important;
2504
+ height: 31px !important;
2505
+ }
2506
+
2507
+ .sfsi_FrntInner_chg .sfsi_wicons img {
2508
+ width: 100%;
2509
+ }
2510
+
2511
+ .sfsi_Sicons .sf_fb
2512
+ {
2513
+ margin-bottom: 24px;
2514
+ }
2515
+
2516
+
2517
+ .sfsi_Sicons .sf_twiter {
2518
+ margin-bottom: 4px;
2519
+ }
2520
+ }
2521
+
2522
+ @media (max-width:320px) {
2523
+
2524
+ .sfsi_tool_tip_2,
2525
+ .tool_tip {
2526
+ padding: 5px 14px 0;
2527
+ }
2528
+
2529
+ .sfsi_inside:last-child {
2530
+ margin-bottom: 18px;
2531
+ clear: both;
2532
+ }
2533
+
2534
+ .sfsi_FrntInner_chg .sfsi_wicons {
2535
+ width: 31px !important;
2536
+ height: 31px !important;
2537
+ }
2538
+
2539
+ .sfsi_FrntInner_chg .sfsi_wicons img {
2540
+ width: 100%
2541
+ }
2542
+ }
2543
+
2544
+ ul.SFSI_lsngfrm {
2545
+ float: left;
2546
+ /* width: 61%;*/
2547
+ width: 51.33%;
2548
+ padding-left: 60px !important;
2549
+ }
2550
+
2551
+ ul.SFSI_instructions {
2552
+ float: left;
2553
+ width: 35%;
2554
+ }
2555
+
2556
+ li.youtube_options {
2557
+ padding-left: 60px !important;
2558
+ }
2559
+
2560
+ input[name="sfsi_pinterest_manualCounts"] {
2561
+ margin-left: -20px !important;
2562
+ }
2563
+
2564
+ ul.SFSI_instructions li {
2565
+ font-size: 12px !important;
2566
+ line-height: 25px !important;
2567
+ margin: 0 !important;
2568
+ padding: 0 0 0 15px !important;
2569
+ width: 100%
2570
+ }
2571
+
2572
+ /*{Monad}*/
2573
+ /*Upload Skins css*/
2574
+ .cstmskin_popup {
2575
+ width: 500px;
2576
+ background: #FFF;
2577
+ box-shadow: 0 0 5px 3px #d8d8d8;
2578
+ margin: 40px 0px auto;
2579
+ padding: 20px 25px 20px;
2580
+ font-family: helveticaregular;
2581
+ color: #5a6570;
2582
+ height: auto;
2583
+ float: left;
2584
+ position: relative;
2585
+ left: 35%;
2586
+ }
2587
+
2588
+ .cstomskins_wrpr {
2589
+ float: left;
2590
+ width: 100%;
2591
+ }
2592
+
2593
+ .custskinmsg {
2594
+ float: left;
2595
+ font-size: 15px;
2596
+ margin-top: 10px;
2597
+ width: 100%;
2598
+ }
2599
+
2600
+ .custskinmsg>ul {
2601
+ color: #000;
2602
+ float: left;
2603
+ margin-top: 8px;
2604
+ width: 100%;
2605
+ }
2606
+
2607
+ ul.cstmskin_iconlist {
2608
+ float: left;
2609
+ padding: 11px 0 40px 8px;
2610
+ width: 100%;
2611
+ max-width: 1000px;
2612
+ margin: 0;
2613
+ height: 307px;
2614
+ overflow-y: scroll;
2615
+ }
2616
+
2617
+ .placethemanulywpr {
2618
+ max-width: 98% !important
2619
+ }
2620
+
2621
+ .cstmskin_iconlist>li {
2622
+ float: left;
2623
+ margin: 3px 0;
2624
+ width: 100%;
2625
+ }
2626
+
2627
+ .cstm_icnname {
2628
+ float: left;
2629
+ width: 30%;
2630
+ }
2631
+
2632
+ .cstmskins_btn>img {
2633
+ float: left;
2634
+ margin-right: 25px;
2635
+ }
2636
+
2637
+ .cstmskin_btn {
2638
+ width: auto;
2639
+ float: left;
2640
+ padding: 3px 20px;
2641
+ color: #fff;
2642
+ background-color: #12a252;
2643
+ text-decoration: none;
2644
+ margin: 0 10px;
2645
+ }
2646
+
2647
+ .cstmskins_sbmt {
2648
+ width: 100%;
2649
+ float: left;
2650
+ text-align: center;
2651
+ margin-top: 15px;
2652
+ }
2653
+
2654
+ .done_btn {
2655
+ width: auto;
2656
+ padding: 3px 80px;
2657
+ color: #fff;
2658
+ background-color: #12a252;
2659
+ text-decoration: none;
2660
+ font-size: 18px;
2661
+ }
2662
+
2663
+ .cstmskin_btn:hover,
2664
+ .done_btn:hover,
2665
+ .cstmskin_btn:focus,
2666
+ .done_btn:focus {
2667
+ color: #fff;
2668
+ }
2669
+
2670
+ .skswrpr,
2671
+ .dlt_btn {
2672
+ display: none;
2673
+ }
2674
+
2675
+ .cstmutbewpr {
2676
+ width: 100%;
2677
+ float: left;
2678
+ margin-top: 10px;
2679
+ margin-left: 40px;
2680
+ }
2681
+
2682
+ .cstmutbewpr ul.enough_waffling li {
2683
+ width: auto;
2684
+ float: left;
2685
+ margin-right: 20px;
2686
+ }
2687
+
2688
+ .cstmutbewpr ul.enough_waffling li span {
2689
+ float: left;
2690
+ }
2691
+
2692
+ .cstmutbewpr ul.enough_waffling li label {
2693
+ width: auto;
2694
+ float: left;
2695
+ margin-top: 10px;
2696
+ margin-left: 10px;
2697
+ }
2698
+
2699
+ .cstmutbewpr .cstmutbtxtwpr {
2700
+ width: 100%;
2701
+ float: left;
2702
+ padding-top: 10px;
2703
+ }
2704
+
2705
+ .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlnmewpr {
2706
+ width: 100%;
2707
+ float: left;
2708
+ display: none;
2709
+ }
2710
+
2711
+ #accordion .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlnmewpr p,
2712
+ #accordion .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlidwpr p {
2713
+ margin-left: 0px;
2714
+ }
2715
+
2716
+ .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlidwpr {
2717
+ width: 100%;
2718
+ float: left;
2719
+ display: none;
2720
+ }
2721
+
2722
+ #accordion .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlnmewpr p label,
2723
+ #accordion .cstmutbewpr .cstmutbtxtwpr .cstmutbchnlidwpr p label {
2724
+ width: 120px;
2725
+ }
2726
+
2727
+ .sfsi_widget .sfsi_wDiv .sfsi_wicons .inerCnt a,
2728
+ .sfsi_widget .sfsi_wDiv .sfsi_wicons .inerCnt a.sficn {
2729
+ padding: 0px;
2730
+ margin: 0px;
2731
+ width: 100%;
2732
+ float: left;
2733
+ border: medium none;
2734
+ }
2735
+
2736
+ .sfsi_socialwpr {
2737
+ width: auto;
2738
+ display: inline-block;
2739
+ vertical-align: middle;
2740
+ }
2741
+
2742
+ .sfsi_socialwpr .sf_fb
2743
+ {
2744
+ float: left;
2745
+ }
2746
+
2747
+ .sfsipyplfrm {
2748
+ float: left;
2749
+ margin-top: 10px;
2750
+ width: 100%;
2751
+ }
2752
+
2753
+ .sfsipyplfrm input[type="submit"] {
2754
+ background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
2755
+ border: medium none;
2756
+ color: #0074a2;
2757
+ cursor: pointer;
2758
+ font-weight: normal;
2759
+ margin: 0;
2760
+ padding: 5px 10px;
2761
+ text-decoration: underline;
2762
+ }
2763
+
2764
+ .sfsipyplfrm input[type="submit"]:hover {
2765
+ color: #2ea2cc
2766
+ }
2767
+
2768
+ .pop_up_box_ex {
2769
+ background: none repeat scroll 0 0 #fff;
2770
+ box-shadow: 0 0 5px 3px #d8d8d8;
2771
+ color: #5a6570;
2772
+ font-family: helveticaregular;
2773
+ margin: 200px auto;
2774
+ min-height: 150px;
2775
+ padding: 20px 25px 0px;
2776
+ position: relative;
2777
+ width: 290px;
2778
+ }
2779
+
2780
+ .pop_up_box_ex {
2781
+ color: #5a6570;
2782
+ font-family: helveticaregular;
2783
+ }
2784
+
2785
+ .cstmutbchnlidwpr .utbe_instruction,
2786
+ .cstmutbchnlnmewpr .utbe_instruction,
2787
+ .lnkdin_instruction {
2788
+ float: left;
2789
+ line-height: 22px;
2790
+ margin-top: 10px;
2791
+ width: 100%;
2792
+ }
2793
+
2794
+ .fb_iframe_widget iframe {
2795
+ max-width: none;
2796
+ }
2797
+
2798
+ .sfsi_mainContainer p.bldtxtmsg {
2799
+ float: left;
2800
+ font-size: 15px;
2801
+ font-weight: bold;
2802
+ margin-top: 12px;
2803
+ width: 100%;
2804
+ text-align: center;
2805
+ }
2806
+
2807
+ .sfsinewplgndesc {
2808
+ background: none repeat scroll 0 0 #e5e5e5;
2809
+ float: left;
2810
+ padding: 5px 10px 8px;
2811
+ margin-top: 25px;
2812
+ }
2813
+
2814
+ .sfsinewplgndesc>.clear>a {
2815
+ color: #5a6570;
2816
+ font-weight: bold;
2817
+ }
2818
+
2819
+ .sfsiicnsdvwrp {
2820
+ float: left;
2821
+ width: 110px;
2822
+ }
2823
+
2824
+ .sfsi_Sicons .sf_subscrbe .bot_no {
2825
+ background: rgba(0, 0, 0, 0) url(images/count_left_arow.png) no-repeat scroll 0 0 / 27px auto;
2826
+ font-size: 12px !important;
2827
+ left: 67px;
2828
+ line-height: 18px !important;
2829
+ margin-left: 0px;
2830
+ margin-top: 0px;
2831
+ padding: 1px 0;
2832
+ /*position: absolute;*/
2833
+ text-align: center;
2834
+ top: -8px;
2835
+ white-space: pre;
2836
+ width: 33px;
2837
+ height: 24px;
2838
+ z-index: 9;
2839
+ float:left;
2840
+ }
2841
+
2842
+ .sfsi_wicons a.sficn,
2843
+ .sfsi_wicons .sfsi_inside a,
2844
+ .sfsi_Sicons div a {
2845
+ box-shadow: none;
2846
+ border: none;
2847
+ }
2848
+
2849
+ .sfsi_Sicons .sf_pinit>span {
2850
+ height: 20px !important;
2851
+ }
2852
+
2853
+ .sfsi_Sicons .sf_pinit>span>span {
2854
+ width: 38px !important;
2855
+ right: -45px !important;
2856
+ }
2857
+
2858
+ .sfsi_wicons a {
2859
+ box-shadow: none !important;
2860
+ }
2861
+
2862
+ a.sficn {
2863
+ cursor: pointer;
2864
+ }
2865
+
2866
+ .sfsi_Sicons .fb_iframe_widget>span {
2867
+ vertical-align: top !important;
2868
+ }
2869
+
2870
+ .sfsi_Sicons .sf_fb
2871
+ {
2872
+ margin: 0 0 0 5px !important;
2873
+ }
2874
+
2875
+ .disabled_checkbox .sfsi_right_info:before {
2876
+ position: absolute;
2877
+ content: "";
2878
+ width: 500px;
2879
+ height: 60px;
2880
+ display: inline-block;
2881
+ z-index: 99;
2882
+ margin-left: -66px;
2883
+ margin-top: -14px;
2884
+ background: rgba(255, 255, 255, .8);
2885
+ }
2886
+
2887
+ #sfsi_floater .fb_tool_bdr .sfsi_inside .icon2 {
2888
+ /*margin: -2px 0 -5px 0;*/
2889
+ }
2890
+
2891
+ .sfsi_wechat_follow_overlay {
2892
+ position: fixed;
2893
+ top: 0;
2894
+ width: 100%;
2895
+ z-index: 99999;
2896
+ background: rgba(0, 0, 0, 0.7);
2897
+ height:100vh;
2898
+ }
2899
+
2900
+ .sfsi_wechat_follow_overlay .close_btn {
2901
+ position: absolute;
2902
+ right: 60px;
2903
+ top: 60px;
2904
+ font-size: 40px;
2905
+ line-height: 40px;
2906
+ text-decoration: none;
2907
+ border: 1px solid #fff;
2908
+ padding: 0 10px;
2909
+ border-radius: 60px;
2910
+ color: #333;
2911
+ background-color: #ffff;
2912
+ text-decoration: none;
2913
+ }
2914
+
2915
+ @media (max-width:786px) {
2916
+ .sfsi_upload_butt_container {
2917
+ display: inline-block;
2918
+ }
2919
+
2920
+ .upload_butt {
2921
+ height: 38px;
2922
+ }
2923
+
2924
+ .sfsi_wechat_follow_overlay .sfsi_inner_display>div div.sfsi_upload_butt_container:first-child {
2925
+ margin-left: 0;
2926
+ margin-right: 20px;
2927
+ }
2928
+ }
2929
+
2930
+ /*added by Developer */
2931
+ #accordion1 p:nth-child(2) {
2932
+ padding-top: 0px !important;
2933
+ }
2934
+
2935
+ input[name="sfsi_instagram_manualCounts"] {
2936
+ margin-left: -15px !important;
2937
+ }
2938
+
2939
+ .sfsi_prem_cmn_rowlisting {
2940
+ width: 33.33%;
2941
+ }
2942
+
2943
+ .rss_url_row h4 {
2944
+ line-height: 43px !important;
2945
+ font-size: 17px !important;
2946
+ font-family: 'helveticaneue-light' !important;
2947
+ }
2948
+
2949
+ .cstmutbchnlnmewpr p.extra_pp label {
2950
+ width: auto !important;
2951
+ }
2952
+
2953
+ .cstmutbchnlidwpr p.extra_pp label {
2954
+ width: auto !important;
2955
+ }
2956
+
2957
+ .tab_3_option {
2958
+ margin: 10px 0 0;
2959
+ }
2960
+
2961
+ div.tab3 .sub_row.stand.sec_new {
2962
+ margin: 0;
2963
+ }
2964
+
2965
+ div#custom_social_data_setting h4 {
2966
+ padding-bottom: 30px;
2967
+ }
2968
+
2969
+ .like_pop_box img.sfcm {
2970
+ height: 50px;
2971
+ width: 50px;
2972
+ }
2973
+
2974
+ .linkedin_tool_bdr {
2975
+ line-height: 0 !important;
2976
+ }
2977
+
2978
+ .twt_tool_bdr {
2979
+ line-height: 0 !important;
2980
+ }
2981
+
2982
+ div#sfsiid_facebook {
2983
+ line-height: 0 !important;
2984
+ }
2985
+
2986
+ div#sfsiid_youtube {
2987
+ line-height: 0 !important;
2988
+ }
2989
+
2990
+ .printst_tool_bdr {
2991
+ line-height: 0 !important;
2992
+ }
2993
+
2994
+ /*end added by Developer */
2995
+ /*by developer - 29-5-2019 */
2996
+ ul.SFSI_instructions li,
2997
+ ul.SFSI_instructions li a {
2998
+ font-size: 17px !important;
2999
+ font-family: helveticaregular !important;
3000
+ font-weight: 400;
3001
+ color: #1a1d20 !important;
3002
+ }
3003
+
3004
+ body .specify_counts .listing .sfsi_instagramInstruction li {
3005
+ font-size: 17px !important;
3006
+ font-family: helveticaregular !important;
3007
+ font-weight: 400 !important;
3008
+ color: #1a1d20 !important;
3009
+ line-height: 26px !important;
3010
+ }
3011
+
3012
+ /*end - 29-5-2019*/
3013
+
3014
+ a.pop-up .radio{
3015
+ opacity: 0.5;
3016
+ background-position: 0px 0px !important;
3017
+ /* padding-right: 3px; */
3018
+ }
3019
+
3020
+ .sfsi_vertically_center{
3021
+ display: flex;
3022
+ justify-content: space-between;
3023
+ align-items: center;
3024
+ }
3025
+ .sfsi_center{
3026
+ display: flex;
3027
+ justify-content: center;
3028
+ }
3029
+ .sfsi_custom_icons_q4{
3030
+ display: flex;
3031
+ align-items: center;
3032
+ }
3033
+ .tab6 .sfsi_responsive_icon_option_li .options .first.first.first {
3034
+ width: 25%!important;
3035
+ }
3036
+ .sfsi_responsive_icon_gradient{
3037
+ background-image: -webkit-linear-gradient(bottom,rgba(0, 0, 0, 0.17) 0%,rgba(255, 255, 255, 0.17) 100%);
3038
+ background-image: -moz-linear-gradient(bottom,rgba(0, 0, 0, 0.17) 0%,rgba(255, 255, 255, 0.17) 100%);
3039
+ background-image: linear-gradient(bottom,rgba(0,0,0,.17) 0%,rgba(255,255,255,.17) 100%);
3040
+ }
3041
+ .tab6 ul.sfsi_icn_listing8 ul.sfsi_tab_3_icns li {
3042
+ width: 50%;
3043
+ max-width: 450px;
3044
+ padding-left: 0;
3045
+ padding-bottom: 0;
3046
+ }
3047
+ .tab6 .sfsi_tab_3_icns.sfsi_shwthmbfraftr > li {
3048
+ width:100% !important;
3049
+ max-width:100% !important;
3050
+ border-left: 45px solid transparent;
3051
+ }
3052
+
3053
+ .tab6 ul.sfsi_icn_listing8 li {
3054
+ float: left;
3055
+ padding: 11px 0 40px 8px;
3056
+ width: 100%;
3057
+ max-width: 1000px;
3058
+ margin: 0;
3059
+ }
3060
+
3061
+ ul.sfsi_icn_listing8 li .sfsi_right_info a {
3062
+ outline: 0;
3063
+ font-family: helveticaregular;
3064
+ }
3065
+ #accordion .tab6 ul.sfsi_tab_3_icns {
3066
+ margin-top: 25px;
3067
+ }
3068
+ .sfsi_tab_3_icns.sfsi_shwthmbfraftr {
3069
+ overflow: visible;
3070
+ }
3071
+ ul.sfsi_tab_3_icns {
3072
+ list-style: none;
3073
+ margin: 34px 0 0;
3074
+ overflow: hidden;
3075
+ }
3076
+
3077
+ .tab6 ul.sfsi_icn_listing8 li {
3078
+ float: left;
3079
+ padding: 11px 0 40px 8px;
3080
+ width: 100%;
3081
+ max-width: 1000px;
3082
+ margin: 0;
3083
+ }
3084
+ .tab6 .sfsi_tab_3_icns.sfsi_shwthmbfraftr .social_icon_like1 li {
3085
+ width: auto;
3086
+ max-width: auto;
3087
+ min-width: auto;
3088
+ margin: 0 30px 0 0;
3089
+ }
3090
+
3091
+ ul.sfsi_tab_3_icns label {
3092
+ float: left;
3093
+ line-height: 42px;
3094
+ color: #69737C;
3095
+ font-size: 18px;
3096
+ font-family: helveticaregular;
3097
+ min-width: 120px;
3098
+ }
3099
+ .tab6 ul.sfsi_tab_3_icns li label {
3100
+ line-height: 50px !important;
3101
+ }
3102
+
3103
+ #accordion1 .tab6 ul.sfsi_shwthmbfraftr .labelhdng4, #accordion .tab6 ul.sfsi_shwthmbfraftr .row h4.labelhdng4, #accordion .tab6 ul.sfsi_shwthmbfraftr .labelhdng4, #accordion .tab6 ul.sfsi_shwthmbfraftr .row h4.labelhdng4 {
3104
+ color: #555;
3105
+ font-size: 20px;
3106
+ margin-left: 20px;
3107
+ font-family: 'helveticaregular';
3108
+ }
3109
+ .tab6 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns.sfsi_shwthmbfraftr>li:nth-child(1), .tab6 ul.sfsi_icn_listing8 li .sfsi_tab_3_icns.sfsi_shwthmbfraftr>li:nth-child(2){
3110
+ width: 27% !important;
3111
+ }
3112
+
3113
+ .tab6 ul.sfsi_tab_3_icns li .radio{
3114
+ margin-top: 7px;
3115
+ }
3116
+
3117
+ ul.sfsi_icn_listing8 li .tb_4_ck{
3118
+ float: left;
3119
+ }
3120
+ .sfsi_responsive_default_icon_container .radio_section.tb_4_ck, .sfsi_responsive_custom_icon_container .radio_section.tb_4_ck {
3121
+ margin: 5px 20px 0 0 !important;
3122
+ }
3123
+
3124
+ .sfsi_responsive_icon_option_li .options .field .select {
3125
+ font-family: helveticaregular;
3126
+ font-weight: 400;
3127
+ font-size: 17px;
3128
+ color: #5a6570!important;
3129
+ }
3130
+
3131
+ .tab6 ul.sfsi_icn_listing8 ul.sfsi_tab_3_icns .usually li {
3132
+ width: 100% !important;
3133
+ max-width: 1000px !important;
3134
+ padding: 3px 0 5px 5px !important;
3135
+ }
3136
+ .sfsi_responsive_icons a{
3137
+ text-decoration: none!important;
3138
+ box-shadow: none!important;
3139
+ }
3140
+ .sfsi_responsive_icons *{
3141
+ box-shadow: none!important;
3142
+ }
3143
+
3144
+ .sfsi_responsive_icons .sfsi_responsive_icon_facebook_container{ background-color:#336699;}
3145
+ .sfsi_responsive_icons .sfsi_responsive_icon_follow_container{ background-color:#00B04E;}
3146
+ .sfsi_responsive_icons .sfsi_responsive_icon_twitter_container{ background-color:#55ACEE;}
3147
+ .sfsi_small_button {
3148
+ line-height: 0px;
3149
+ height: unset;
3150
+ padding: 6px !important;
3151
+ }
3152
+ .sfsi_small_button span {
3153
+ margin-left: 10px;
3154
+ font-size: 16px;
3155
+ padding: 0px;
3156
+ line-height: 16px;
3157
+ vertical-align: -webkit-baseline-middle !important;
3158
+ margin-left: 10px;
3159
+ }
3160
+ .sfsi_small_button img {
3161
+ max-height: 16px !important;
3162
+ padding: 0px;
3163
+ line-height: 0px;
3164
+ vertical-align: -webkit-baseline-middle !important;
3165
+ }
3166
+ .sfsi_medium_button span {
3167
+ margin-left: 10px;
3168
+ font-size: 18px;
3169
+ padding: 0px;
3170
+ line-height: 16px;
3171
+ vertical-align: -webkit-baseline-middle !important;
3172
+ margin-left: 10px;
3173
+ }
3174
+ .sfsi_medium_button img {
3175
+ max-height: 16px !important;
3176
+ padding: 0px;
3177
+ line-height: 0px;
3178
+ vertical-align: -webkit-baseline-middle !important;
3179
+ }
3180
+ .sfsi_medium_button {
3181
+ line-height: 0px;
3182
+ height: unset;
3183
+ padding: 10px !important;
3184
+ }
3185
+
3186
+ .sfsi_medium_button span {
3187
+ margin-left: 10px;
3188
+ font-size: 18px;
3189
+ padding: 0px;
3190
+ line-height: 16px;
3191
+ vertical-align: -webkit-baseline-middle !important;
3192
+ margin-left: 10px;
3193
+ }
3194
+ .sfsi_medium_button img {
3195
+ max-height: 16px !important;
3196
+ padding: 0px;
3197
+ line-height: 0px;
3198
+ vertical-align: -webkit-baseline-middle !important;
3199
+ }
3200
+ .sfsi_medium_button {
3201
+ line-height: 0px;
3202
+ height: unset;
3203
+ padding: 10px !important;
3204
+ }
3205
+ .sfsi_large_button span {
3206
+ font-size: 20px;
3207
+ padding: 0px;
3208
+ line-height: 16px;
3209
+ vertical-align: -webkit-baseline-middle !important;
3210
+ display: inline;
3211
+ margin-left: 10px;
3212
+ }
3213
+ .sfsi_large_button img {
3214
+ max-height: 16px !important;
3215
+ padding: 0px;
3216
+ line-height: 0px;
3217
+ vertical-align: -webkit-baseline-middle !important;
3218
+ display: inline;
3219
+ }
3220
+ .sfsi_large_button {
3221
+ line-height: 0px;
3222
+ height: unset;
3223
+ padding: 13px !important;
3224
+ }
3225
+ .sfsi_responsive_icons .sfsi_icons_container span {
3226
+ font-family: sans-serif;
3227
+ font-size: 15px;
3228
+ }
3229
+ .sfsi_icons_container_box_fully_container {
3230
+ flex-wrap: wrap;
3231
+ }
3232
+ .sfsi_icons_container_box_fully_container a {
3233
+ flex-basis: auto !important;
3234
+ flex-grow: 1;
3235
+ flex-shrink: 1;
3236
+ margin-bottom: 5px;
3237
+ }
3238
+ .sfsi_icons_container>a {
3239
+ float: left!important;
3240
+ text-decoration: none!important;
3241
+ -webkit-box-shadow: unset!important;
3242
+ box-shadow: unset!important;
3243
+ -webkit-transition: unset!important;
3244
+ transition: unset!important;
3245
+ margin-bottom:5px!important;
3246
+ }
3247
+ .sfsi_small_button {
3248
+ line-height: 0px;
3249
+ height: unset;
3250
+ padding: 6px !important;
3251
+ }
3252
+ .sfsi_small_button span {
3253
+ margin-left: 10px;
3254
+ font-size: 16px;
3255
+ padding: 0px;
3256
+ line-height: 16px;
3257
+ vertical-align: -webkit-baseline-middle !important;
3258
+ margin-left: 10px;
3259
+ }
3260
+ .sfsi_small_button img {
3261
+ max-height: 16px !important;
3262
+ padding: 0px;
3263
+ line-height: 0px;
3264
+ vertical-align: -webkit-baseline-middle !important;
3265
+ }
3266
+ .sfsi_medium_button span {
3267
+ margin-left: 10px;
3268
+ font-size: 18px;
3269
+ padding: 0px;
3270
+ line-height: 16px;
3271
+ vertical-align: -webkit-baseline-middle !important;
3272
+ margin-left: 10px;
3273
+ }
3274
+ .sfsi_medium_button img {
3275
+ max-height: 16px !important;
3276
+ padding: 0px;
3277
+ line-height: 0px;
3278
+ vertical-align: -webkit-baseline-middle !important;
3279
+ }
3280
+ .sfsi_medium_button {
3281
+ line-height: 0px;
3282
+ height: unset;
3283
+ padding: 10px !important;
3284
+ }
3285
+
3286
+ .sfsi_medium_button span {
3287
+ margin-left: 10px;
3288
+ font-size: 18px;
3289
+ padding: 0px;
3290
+ line-height: 16px;
3291
+ vertical-align: -webkit-baseline-middle !important;
3292
+ margin-left: 10px;
3293
+ }
3294
+ .sfsi_medium_button img {
3295
+ max-height: 16px !important;
3296
+ padding: 0px;
3297
+ line-height: 0px;
3298
+ vertical-align: -webkit-baseline-middle !important;
3299
+ }
3300
+ .sfsi_medium_button {
3301
+ line-height: 0px;
3302
+ height: unset;
3303
+ padding: 10px !important;
3304
+ }
3305
+ .sfsi_large_button span {
3306
+ font-size: 20px;
3307
+ padding: 0px;
3308
+ line-height: 16px;
3309
+ vertical-align: -webkit-baseline-middle !important;
3310
+ display: inline;
3311
+ margin-left: 10px;
3312
+ }
3313
+ .sfsi_large_button img {
3314
+ max-height: 16px !important;
3315
+ padding: 0px;
3316
+ line-height: 0px;
3317
+ vertical-align: -webkit-baseline-middle !important;
3318
+ display: inline;
3319
+ }
3320
+ .sfsi_large_button {
3321
+ line-height: 0px;
3322
+ height: unset;
3323
+ padding: 13px !important;
3324
+ }
3325
+ .sfsi_responsive_icons_count{
3326
+ padding: 5px 10px;
3327
+ float: left !important;
3328
+ display: inline-block;
3329
+ margin-right: 0px;
3330
+ margin-top: 2px;
3331
+ }
3332
+
3333
+ .sfsi_responsive_icons_count h3{
3334
+ font-family: 'sans-serif' !important;
3335
+ font-weight: 900;
3336
+ font-size: 32px !important;
3337
+ line-height: 0px !important;
3338
+ padding: 0px;
3339
+ margin: 0px;
3340
+ }
3341
+
3342
+ .sfsi_responsive_icons_count h6{
3343
+ font-family: 'sans-serif' !important;
3344
+ font-weight: 900;
3345
+ padding: 0px;
3346
+ margin: 0px;
3347
+ }
3348
+ .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6 {
3349
+ text-decoration: none!important;
3350
+ border: 0!important;
3351
+ }
3352
+ .sfsi_responsive_with_counter_icons{
3353
+ width: calc(100% - 100px)!important;
3354
+ }
3355
+ .sfsiresponsive_icon_preview {
3356
+ padding: 0px 0 20px 0;
3357
+ min-width: 100%;
3358
+ }
3359
+ .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_large_button {
3360
+ padding: 12px 13px 9px 13px !important;
3361
+ }
3362
+ .sfsi_responsive_icons_count.sfsi_fixed_count_container.sfsi_medium_button {
3363
+ padding: 9px 10px 7px 10px !important;
3364
+ }
3365
+ .sfsi_responsive_icons_count.sfsi_small_button {
3366
+ padding: 7px 6px !important;
3367
+ }
3368
+ .sfsi_responsive_icons_count.sfsi_small_button {
3369
+ padding: 7px 6px !important;
3370
+ margin-top: 2px;
3371
+ }
3372
+ .sfsi_responsive_icons_count.sfsi_small_button h6 {
3373
+ display: inline-block;
3374
+ font-size: 12px !important;
3375
+ vertical-align: middle;
3376
+ }
3377
+ .sfsi_responsive_icons_count.sfsi_responsive_count_container.sfsi_medium_button {
3378
+ padding: 9px 10px 7px 10px !important;
3379
+ }
3380
+ .sfsi_responsive_icons_count.sfsi_medium_button h3 {
3381
+ font-size: 21px !important;
3382
+ vertical-align: top;
3383
+ line-height: 8px !important;
3384
+ margin: 0px 0px 12px 0px !important;
3385
+ font-weight: 900;
3386
+ padding: 0px;
3387
+ }
3388
+ .sfsi_esponsive_icons_count.sfsi_responsive_count_container.sfsi_large_button h3 {
3389
+ margin: 0px 0px 15px 0px !important;
3390
+ }
3391
+ .sfsi_responsive_icons_count.sfsi_large_button h3 {
3392
+ font-size: 26px !important;
3393
+ vertical-align: top;
3394
+ line-height: 6px !important;
3395
+ }
3396
+
3397
+ .sfsi_responsive_icons_count h3 {
3398
+ font-family: 'sans-serif' !important;
3399
+ font-weight: 900;
3400
+ padding: 0px;
3401
+ }
3402
+
3403
+ .sfsi_responsive_icons_count.sfsi_small_button h3 {
3404
+ font-size: 20px !important;
3405
+ display: inline-block;
3406
+ vertical-align: middle;
3407
+ }
3408
+ .sfsi_responsive_icons_count.sfsi_small_button h3 {
3409
+ margin: 0px !important;
3410
+ }
3411
+ .sfsi_responsive_icons_count h3 {
3412
+ font-family: 'sans-serif' !important;
3413
+ font-weight: 900;
3414
+ line-height: 0px !important;
3415
+ padding: 0px;
3416
+ margin: 0px;
3417
+ }
3418
+ .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6 {
3419
+ text-decoration: none!important;
3420
+ border: 0!important;
3421
+ }
3422
+ .sfsi_responsive_icons_count.sfsi_small_button {
3423
+ padding: 7px 6px !important;
3424
+ margin-top: 2px;
3425
+ }
3426
+
3427
+ .sfsi_responsive_icons_count {
3428
+ vertical-align: top;
3429
+ }
3430
+ .sfsi_responsive_icons_count {
3431
+ float: left;
3432
+ }
3433
+ .sfsi_small_button {
3434
+ line-height: 0px;
3435
+ height: unset;
3436
+ }
3437
+ .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6 {
3438
+ text-decoration: none!important;
3439
+ border: 0!important;
3440
+ }
3441
+ .sfsi_responsive_icons_count.sfsi_small_button h3 {
3442
+ font-size: 20px !important;
3443
+ display: inline-block;
3444
+ vertical-align: middle;
3445
+ margin: 0px !important;
3446
+ }
3447
+
3448
+ .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6 {
3449
+ text-decoration: none!important;
3450
+ font-family: helveticaregular!important;
3451
+ border: 0!important;
3452
+ }
3453
+ .sfsi_responsive_icons_count h3 {
3454
+ line-height: 0px !important;
3455
+ padding: 0px;
3456
+ }
3457
+ .sfsi_responsive_icons_count.sfsi_small_button h6 {
3458
+ display: inline-block;
3459
+ font-size: 12px !important;
3460
+ /*vertical-align: middle;*/
3461
+ margin: 0px !important;
3462
+ line-height: initial !important;
3463
+ padding: 0;
3464
+ margin: 0;
3465
+ }
3466
+ .sfsi_responsive_icons_count h6{
3467
+ margin:0!important;
3468
+ }
3469
+ .sfsi_responsive_icons_count h6 {
3470
+ padding: 0px;
3471
+ }
3472
+ .sfsi_responsive_icons a, .sfsi_responsive_icons h3, .sfsi_responsive_icons h6{
3473
+ text-decoration: none!important;
3474
+ font-family: helveticaregular!important;
3475
+ border: 0!important;
3476
+ }
3477
+ .sfsi_responsive_icons_count.sfsi_medium_button h6{
3478
+ font-size: 11px !important;
3479
+ line-height: 0px !important;
3480
+ margin: 0px 0px 0px 0px !important;
3481
+ }
3482
+
3483
+ /* .sfsi_widget .sfsi_shortcode_container{
3484
+ width: 100%;
3485
+ } */
3486
+
3487
+ .export_selections{
3488
+ clear: both;
3489
+ color: #afafaf;
3490
+ font-size: 23px;
3491
+ display: flex;
3492
+ height: 0px;
3493
+ position: absolute;
3494
+ top: 42px;
3495
+ right: 0;
3496
+ }
3497
+
3498
+ .save_export{
3499
+ clear: both;
3500
+ position: relative;
3501
+ }
3502
+
3503
+ .export{
3504
+ padding-right: 11px;
3505
+ text-decoration: underline;
3506
+ cursor: pointer;
3507
+ }
3508
+
3509
+ .sf_subscrbe .bot_no,
3510
+ .sf_fb .bot_no,
3511
+ .sf_fb_share .bot_no,
3512
+ .sf_twiter .bot_no,
3513
+ .sf_pinit .bot_no,
3514
+ .sf_linkedin .bot_no
3515
+ {
3516
+ background: rgba(0, 0, 0, 0) url(images/count_left_arow.png) no-repeat scroll 0 0 / 27px auto;
3517
+ font-size: 12px !important;
3518
+ left: 67px;
3519
+ line-height: 17px !important;
3520
+ margin-left: 0;
3521
+ padding: 1px 0;
3522
+ text-align: center;
3523
+ white-space: pre;
3524
+ width: 33px;
3525
+ height: 19px;
3526
+ z-index: 9;
3527
+ display: inline-block;
3528
+ vertical-align:top!important;
3529
+ }
3530
+ .sfsi_responsive_icon_item_container {
3531
+ height: 40px;
3532
+ vertical-align: middle;
3533
+ margin-top: auto;
3534
+ margin-bottom: auto;
3535
+ padding: 0 10px;
3536
+ }
3537
+
3538
+ .sfsi_responsive_icon_item_container img {
3539
+ padding: 7px;
3540
+ vertical-align: middle !important;
3541
+ box-shadow: unset !important;
3542
+ -webkit-box-shadow: unset !important;
3543
+ max-width: 40px !important;
3544
+ max-height: 40px !important;
3545
+ }
3546
+
3547
+ .sfsi_responsive_icon_item_container span {
3548
+ padding: 7px;
3549
+ vertical-align: middle !important;
3550
+ box-shadow: unset !important;
3551
+ -webkit-box-shadow: unset !important;
3552
+ line-height: 40px
3553
+ }
3554
+
3555
+ .sfsi_icons_container>a {
3556
+ float: left !important;
3557
+ text-decoration: none !important;
3558
+ -webkit-box-shadow: unset !important;
3559
+ box-shadow: unset !important;
3560
+ -webkit-transition: unset !important;
3561
+ transition: unset !important;
3562
+ }
3563
+
3564
+ .sfsi_icons_container a:hover,
3565
+ .sfsi_icons_container a:focus,
3566
+ .sfsi_icons_container a:active {
3567
+ -webkit-box-shadow: unset !important;
3568
+ box-shadow: unset !important;
3569
+ }
3570
+
3571
+ .sfsi_Sicons .sfsi_icons_container img {
3572
+ height: unset !important;
3573
+ width: unset !important;
3574
+ }
3575
+
3576
+ .sfsi_flex_container {
3577
+ display: flex;
3578
+ flex-wrap: wrap;
3579
+ overflow-y: scroll;
3580
+ height: 36vh;
3581
+ }
3582
+
3583
+ .sfsi_flex_container>div {
3584
+ height: 90px;
3585
+ width: 139px;
3586
+ margin: 10px;
3587
+ margin-bottom: 0;
3588
+ text-align: center;
3589
+ font-size: 30px;
3590
+ position: relative;
3591
+ border: 1px solid #ddd;
3592
+ }
3593
+
3594
+ .sfsi_flex_container>div>a>img {
3595
+ width: 100%;
3596
+ height: 88px;
3597
+ object-fit: scale-down;
3598
+ }
3599
+
3600
+ .sfsi_flex_container>div a {
3601
+ position: relative;
3602
+ margin: 0;
3603
+ padding: 0;
3604
+ z-index: 100;
3605
+ height: 90px;
3606
+ }
3607
+
3608
+ .sfsi_pinterest_overlay {
3609
+ position: absolute;
3610
+ top: -61px;
3611
+ left: 0;
3612
+ width: 100%;
3613
+ height: 90px;
3614
+ z-index: 1000;
3615
+ display: inline-block;
3616
+ background: rgba(189, 8, 28, .3);
3617
+ text-align: center;
3618
+ padding-top: 22px;
3619
+ color: #fff;
3620
+ transition: all .3s;
3621
+ display: none;
3622
+ }
3623
+
3624
+ .sfsi_flex_container>div:hover a .sfsi_pinterest_overlay {
3625
+ display: block;
3626
+ }
helpers/common_helper.php CHANGED
@@ -1,203 +1,203 @@
1
- <?php
2
- if(!function_exists('sfsi_get_displayed_std_desktop_icons')){
3
-
4
- function sfsi_get_displayed_std_desktop_icons($option1=false){
5
-
6
- $option1 = false !== $option1 && is_array($option1) ? $option1 : unserialize(get_option('sfsi_section1_options',false));
7
-
8
- $arrDisplay = array();
9
-
10
- if(false !== $option1 && is_array($option1) ){
11
-
12
- foreach ($option1 as $key => $value) {
13
-
14
- if(strpos($key, '_display') !== false){
15
-
16
- $arrDisplay[$key] = isset($option1[$key]) ? sanitize_text_field($option1[$key]) : '';
17
-
18
- }
19
- }
20
- }
21
-
22
- return $arrDisplay;
23
-
24
- }
25
- }
26
-
27
- if(!function_exists('sfsi_get_displayed_custom_desktop_icons')){
28
-
29
- function sfsi_get_displayed_custom_desktop_icons($option1=false){
30
-
31
- $option1 = false != $option1 && is_array($option1) ? $option1 : unserialize(get_option('sfsi_section1_options',false));
32
-
33
- $arrDisplay = array();
34
-
35
- if(!empty($option1) && is_array($option1) && isset($option1['sfsi_custom_files'])
36
- && !empty($option1['sfsi_custom_files']) ) :
37
-
38
- $arrdbDisplay = unserialize($option1['sfsi_custom_files']);
39
-
40
- if(is_array($arrdbDisplay)):
41
-
42
- $arrDisplay = $arrdbDisplay;
43
-
44
- endif;
45
-
46
- endif;
47
-
48
- return $arrDisplay;
49
- }
50
-
51
- }
52
-
53
- if(!function_exists('sfsi_icon_get_icon_image')){
54
- function sfsi_icon_get_icon_image($icon_name,$iconImgName=false){
55
-
56
- $icon = false;
57
-
58
- $option3 = unserialize(get_option('sfsi_section3_options',false));
59
-
60
- if(isset($option3['sfsi_actvite_theme']) && !empty($option3['sfsi_actvite_theme'])){
61
-
62
- $active_theme = $option3['sfsi_actvite_theme'];
63
-
64
- $icons_baseUrl = SFSI_PLUGURL."images/icons_theme/".$active_theme."/";
65
- $visit_iconsUrl = SFSI_PLUGURL."images/visit_icons/";
66
-
67
- if(isset($icon_name) && !empty($icon_name)):
68
-
69
- if($active_theme == 'custom_support')
70
- {
71
- switch (strtolower($icon_name)) {
72
-
73
- case 'facebook':
74
- $custom_icon_name = "fb";
75
- break;
76
-
77
- case 'pinterest':
78
- $custom_icon_name = "pintrest";
79
- break;
80
-
81
- default:
82
- $custom_icon_name = $icon_name;
83
- break;
84
- }
85
-
86
- $key = $custom_icon_name."_skin";
87
-
88
- $skin = get_option($key,false);
89
-
90
- $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
91
-
92
- if($skin)
93
- {
94
- $skin_url = parse_url($skin);
95
- if($skin_url['scheme']==='http' && $scheme==='https'){
96
- $icon = str_replace('http','https',$skin);
97
- }else if($skin_url['scheme']==='https' && $scheme==='http'){
98
- $icon = str_replace('https','http',$skin);
99
- }else{
100
- $icon = $skin;
101
- }
102
- }
103
- else
104
- {
105
- $active_theme = 'default';
106
- $icons_baseUrl = SFSI_PLUGURL."images/icons_theme/default/";
107
-
108
- $iconImgName = false != $iconImgName ? $iconImgName: $icon_name;
109
- $icon = $icons_baseUrl.$active_theme."_".$iconImgName.".png";
110
- }
111
- }
112
- else
113
- {
114
- $iconImgName = false != $iconImgName ? $iconImgName: $icon_name;
115
- $icon = $icons_baseUrl.$active_theme."_".$iconImgName.".png";
116
- }
117
-
118
- endif;
119
-
120
- }
121
-
122
- return $icon;
123
- }
124
- }
125
-
126
- if(!function_exists('sfsi_icon_generate_other_icon_effect_admin_html')){
127
-
128
- function sfsi_icon_generate_other_icon_effect_admin_html($iconName,$arrActiveDesktopIcons,$customIconIndex=-1,$customIconImgUrl=null,$customIconSrNo=null){
129
-
130
- $iconImgVal = false;
131
- $activeIconImgUrl = false;
132
-
133
- $classForRevertLink = 'hide';
134
- $defaultIconImgUrl = false;
135
-
136
- $displayIconClass = "hide";
137
-
138
- $arruploadDir = wp_upload_dir();
139
-
140
- if( isset($iconName) && !empty($iconName)){
141
-
142
- if("custom" == $iconName && $customIconIndex >-1){
143
-
144
- if(null !== $customIconImgUrl){
145
-
146
- $activeIconImgUrl = $customIconImgUrl;
147
- $defaultIconImgUrl = $customIconImgUrl;
148
-
149
- // Check if icon is selected under Question 1
150
- if(in_array($customIconImgUrl, $arrActiveDesktopIcons)){
151
- $displayIconClass = "show";
152
- }
153
-
154
- $iconNameStr = $iconName.$customIconSrNo;
155
-
156
- }
157
-
158
- }
159
-
160
- else{
161
-
162
- $dbKey = "sfsi_".$iconName."_display";
163
-
164
- if(isset($arrActiveDesktopIcons[$dbKey]) && !empty($arrActiveDesktopIcons[$dbKey])
165
- && "yes" == $arrActiveDesktopIcons[$dbKey]){
166
- $displayIconClass = "show";
167
- }
168
-
169
- $activeIconImgUrl = sfsi_icon_get_icon_image($iconName);
170
-
171
- $iconNameStr = $iconName;
172
- }
173
- if(false != $iconImgVal && !filter_var($iconImgVal, FILTER_VALIDATE_URL)){
174
-
175
- $iconImgVal = SFSI_UPLOAD_DIR_BASEURL.$iconImgVal;
176
- }
177
-
178
- $attrCustomIconSrNo = null !== $customIconSrNo ? 'data-customiconsrno="'.$customIconSrNo.'"': null;
179
- $attrCustomIconIndex = -1 != $customIconIndex ? 'data-customiconindex="'.$customIconIndex.'"': null;
180
-
181
- $attrIconName = 'data-iconname="'.$iconName.'"';
182
-
183
- ?>
184
- <div <?php echo $attrCustomIconIndex;?><?php echo $attrIconName; ?> class="col-md-3 bottommargin20 <?php echo $displayIconClass; ?>">
185
-
186
- <label <?php echo $attrCustomIconSrNo; ?> class="mouseover_other_icon_label"><?php echo ucfirst($iconNameStr); ?> </label>
187
-
188
- <img data-defaultImg="<?php echo $defaultIconImgUrl; ?>" class="mouseover_other_icon_img" src="<?php echo $activeIconImgUrl; ?>" alt="error">
189
-
190
- <input <?php echo $attrCustomIconIndex; ?><?php echo $attrIconName; ?> type="hidden" value="<?php echo $iconImgVal; ?>" name="mouseover_other_icon_<?php echo $iconName; ?>">
191
-
192
- <a <?php echo $attrCustomIconIndex; ?><?php echo $attrIconName; ?> id="btn_mouseover_other_icon_<?php echo $iconName; ?>" class="mouseover_other_icon_change_link mouseover_other_icon" href="javascript:void(0)" >Change</a>
193
-
194
- <a <?php echo $attrCustomIconIndex; ?><?php echo $attrIconName; ?> class="<?php echo $classForRevertLink; ?> mouseover_other_icon_revert_link mouseover_other_icon" href="javascript:void(0)">Revert</a>
195
-
196
- </div>
197
-
198
- <?php
199
-
200
- }
201
-
202
- }
203
  }
1
+ <?php
2
+ if(!function_exists('sfsi_get_displayed_std_desktop_icons')){
3
+
4
+ function sfsi_get_displayed_std_desktop_icons($option1=false){
5
+
6
+ $option1 = false !== $option1 && is_array($option1) ? $option1 : unserialize(get_option('sfsi_section1_options',false));
7
+
8
+ $arrDisplay = array();
9
+
10
+ if(false !== $option1 && is_array($option1) ){
11
+
12
+ foreach ($option1 as $key => $value) {
13
+
14
+ if(strpos($key, '_display') !== false){
15
+
16
+ $arrDisplay[$key] = isset($option1[$key]) ? sanitize_text_field($option1[$key]) : '';
17
+
18
+ }
19
+ }
20
+ }
21
+
22
+ return $arrDisplay;
23
+
24
+ }
25
+ }
26
+
27
+ if(!function_exists('sfsi_get_displayed_custom_desktop_icons')){
28
+
29
+ function sfsi_get_displayed_custom_desktop_icons($option1=false){
30
+
31
+ $option1 = false != $option1 && is_array($option1) ? $option1 : unserialize(get_option('sfsi_section1_options',false));
32
+
33
+ $arrDisplay = array();
34
+
35
+ if(!empty($option1) && is_array($option1) && isset($option1['sfsi_custom_files'])
36
+ && !empty($option1['sfsi_custom_files']) ) :
37
+
38
+ $arrdbDisplay = unserialize($option1['sfsi_custom_files']);
39
+
40
+ if(is_array($arrdbDisplay)):
41
+
42
+ $arrDisplay = $arrdbDisplay;
43
+
44
+ endif;
45
+
46
+ endif;
47
+
48
+ return $arrDisplay;
49
+ }
50
+
51
+ }
52
+
53
+ if(!function_exists('sfsi_icon_get_icon_image')){
54
+ function sfsi_icon_get_icon_image($icon_name,$iconImgName=false){
55
+
56
+ $icon = false;
57
+
58
+ $option3 = unserialize(get_option('sfsi_section3_options',false));
59
+
60
+ if(isset($option3['sfsi_actvite_theme']) && !empty($option3['sfsi_actvite_theme'])){
61
+
62
+ $active_theme = $option3['sfsi_actvite_theme'];
63
+
64
+ $icons_baseUrl = SFSI_PLUGURL."images/icons_theme/".$active_theme."/";
65
+ $visit_iconsUrl = SFSI_PLUGURL."images/visit_icons/";
66
+
67
+ if(isset($icon_name) && !empty($icon_name)):
68
+
69
+ if($active_theme == 'custom_support')
70
+ {
71
+ switch (strtolower($icon_name)) {
72
+
73
+ case 'facebook':
74
+ $custom_icon_name = "fb";
75
+ break;
76
+
77
+ case 'pinterest':
78
+ $custom_icon_name = "pintrest";
79
+ break;
80
+
81
+ default:
82
+ $custom_icon_name = $icon_name;
83
+ break;
84
+ }
85
+
86
+ $key = $custom_icon_name."_skin";
87
+
88
+ $skin = get_option($key,false);
89
+
90
+ $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
91
+
92
+ if($skin)
93
+ {
94
+ $skin_url = parse_url($skin);
95
+ if($skin_url['scheme']==='http' && $scheme==='https'){
96
+ $icon = str_replace('http','https',$skin);
97
+ }else if($skin_url['scheme']==='https' && $scheme==='http'){
98
+ $icon = str_replace('https','http',$skin);
99
+ }else{
100
+ $icon = $skin;
101
+ }
102
+ }
103
+ else
104
+ {
105
+ $active_theme = 'default';
106
+ $icons_baseUrl = SFSI_PLUGURL."images/icons_theme/default/";
107
+
108
+ $iconImgName = false != $iconImgName ? $iconImgName: $icon_name;
109
+ $icon = $icons_baseUrl.$active_theme."_".$iconImgName.".png";
110
+ }
111
+ }
112
+ else
113
+ {
114
+ $iconImgName = false != $iconImgName ? $iconImgName: $icon_name;
115
+ $icon = $icons_baseUrl.$active_theme."_".$iconImgName.".png";
116
+ }
117
+
118
+ endif;
119
+
120
+ }
121
+
122
+ return $icon;
123
+ }
124
+ }
125
+
126
+ if(!function_exists('sfsi_icon_generate_other_icon_effect_admin_html')){
127
+
128
+ function sfsi_icon_generate_other_icon_effect_admin_html($iconName,$arrActiveDesktopIcons,$customIconIndex=-1,$customIconImgUrl=null,$customIconSrNo=null){
129
+
130
+ $iconImgVal = false;
131
+ $activeIconImgUrl = false;
132
+
133
+ $classForRevertLink = 'hide';
134
+ $defaultIconImgUrl = false;
135
+
136
+ $displayIconClass = "hide";
137
+
138
+ $arruploadDir = wp_upload_dir();
139
+
140
+ if( isset($iconName) && !empty($iconName)){
141
+
142
+ if("custom" == $iconName && $customIconIndex >-1){
143
+
144
+ if(null !== $customIconImgUrl){
145
+
146
+ $activeIconImgUrl = $customIconImgUrl;
147
+ $defaultIconImgUrl = $customIconImgUrl;
148
+
149
+ // Check if icon is selected under Question 1
150
+ if(in_array($customIconImgUrl, $arrActiveDesktopIcons)){
151
+ $displayIconClass = "show";
152
+ }
153
+
154
+ $iconNameStr = $iconName.$customIconSrNo;
155
+
156
+ }
157
+
158
+ }
159
+
160
+ else{
161
+
162
+ $dbKey = "sfsi_".$iconName."_display";
163
+
164
+ if(isset($arrActiveDesktopIcons[$dbKey]) && !empty($arrActiveDesktopIcons[$dbKey])
165
+ && "yes" == $arrActiveDesktopIcons[$dbKey]){
166
+ $displayIconClass = "show";
167
+ }
168
+
169
+ $activeIconImgUrl = sfsi_icon_get_icon_image($iconName);
170
+
171
+ $iconNameStr = $iconName;
172
+ }
173
+ if(false != $iconImgVal && !filter_var($iconImgVal, FILTER_VALIDATE_URL)){
174
+
175
+ $iconImgVal = SFSI_UPLOAD_DIR_BASEURL.$iconImgVal;
176
+ }
177
+
178
+ $attrCustomIconSrNo = null !== $customIconSrNo ? 'data-customiconsrno="'.$customIconSrNo.'"': null;
179
+ $attrCustomIconIndex = -1 != $customIconIndex ? 'data-customiconindex="'.$customIconIndex.'"': null;
180
+
181
+ $attrIconName = 'data-iconname="'.$iconName.'"';
182
+
183
+ ?>
184
+ <div <?php echo $attrCustomIconIndex;?><?php echo $attrIconName; ?> class="col-md-3 bottommargin20 <?php echo $displayIconClass; ?>">
185
+
186
+ <label <?php echo $attrCustomIconSrNo; ?> class="mouseover_other_icon_label"><?php echo ucfirst($iconNameStr); ?> </label>
187
+
188
+ <img data-defaultImg="<?php echo $defaultIconImgUrl; ?>" class="mouseover_other_icon_img" src="<?php echo $activeIconImgUrl; ?>" alt="error">
189
+
190
+ <input <?php echo $attrCustomIconIndex; ?><?php echo $attrIconName; ?> type="hidden" value="<?php echo $iconImgVal; ?>" name="mouseover_other_icon_<?php echo $iconName; ?>">
191
+
192
+ <a <?php echo $attrCustomIconIndex; ?><?php echo $attrIconName; ?> id="btn_mouseover_other_icon_<?php echo $iconName; ?>" class="mouseover_other_icon_change_link mouseover_other_icon" href="javascript:void(0)" >Change</a>
193
+
194
+ <a <?php echo $attrCustomIconIndex; ?><?php echo $attrIconName; ?> class="<?php echo $classForRevertLink; ?> mouseover_other_icon_revert_link mouseover_other_icon" href="javascript:void(0)">Revert</a>
195
+
196
+ </div>
197
+
198
+ <?php
199
+
200
+ }
201
+
202
+ }
203
  }
helpers/linkedin-api/linkedin-api.php CHANGED
@@ -1,136 +1,136 @@
1
- <?php
2
- require_once(SFSI_DOCROOT.'/helpers/sfsi_OAuth.php');
3
-
4
- class LinkedIn {
5
- public $base_url = "http://api.linkedin.com";
6
- public $secure_base_url = "https://api.linkedin.com";
7
- public $oauth_callback = "oob";
8
- public $consumer;
9
- public $request_token;
10
- public $access_token;
11
- public $oauth_verifier;
12
- public $signature_method;
13
- public $request_token_path;
14
- public $access_token_path;
15
- public $authorize_path;
16
-
17
- function __construct($consumer_key, $consumer_secret,$request_token, $oauth_callback = NULL)
18
- {
19
-
20
- if($oauth_callback) {
21
- $this->oauth_callback = $oauth_callback;
22
- }
23
- $this->request_token=
24
- $this->consumer = new OAuthConsumer($consumer_key, $consumer_secret, $this->oauth_callback);
25
- $this->signature_method = new OAuthSignatureMethod_HMAC_SHA1();
26
- $this->request_token_path = $this->secure_base_url . "/uas/oauth/requestToken?scope=r_basicprofile+r_emailaddress+r_network+w_messages";
27
- $this->access_token_path = $this->secure_base_url . "/uas/oauth/accessToken";
28
- $this->authorize_path = $this->secure_base_url . "/uas/oauth/authorize";
29
- }
30
-
31
- function getRequestToken()
32
- {
33
- $consumer = $this->consumer;
34
- $request = OAuthRequest::from_consumer_and_token($consumer, NULL, "GET", $this->request_token_path);
35
- $request->set_parameter("oauth_callback", $this->oauth_callback);
36
- $request->sign_request($this->signature_method, $consumer, NULL);
37
- $headers = Array();
38
- $url = $request->to_url();
39
- $response = $this->httpRequest($url, $headers, "GET");
40
- parse_str($response, $response_params);
41
- $this->request_token = new OAuthConsumer($response_params['oauth_token'], $response_params['oauth_token_secret'], 1);
42
- }
43
-
44
- function generateAuthorizeUrl()
45
- {
46
- $consumer = $this->consumer;
47
- $request_token = $this->request_token;
48
- return $this->authorize_path . "?oauth_token=" . $request_token->key;
49
- }
50
-
51
- function getAccessToken($oauth_verifier)
52
- {
53
- $request = OAuthRequest::from_consumer_and_token($this->consumer, $this->request_token, "GET", $this->access_token_path);
54
- $request->set_parameter("oauth_verifier", $oauth_verifier);
55
- $request->sign_request($this->signature_method, $this->consumer, $this->request_token);
56
- $headers = Array();
57
- $url = $request->to_url();
58
- $response = $this->httpRequest($url, $headers, "GET");
59
- parse_str($response, $response_params);
60
- $this->access_token = new OAuthConsumer($response_params['oauth_token'], $response_params['oauth_token_secret'], 1);
61
- }
62
-
63
- function getCompanyFollowersById($companyID = "")
64
- {
65
- $api_url = $this->base_url . "/v1/companies/".$companyID.":(num-followers)/";
66
- $request = OAuthRequest::from_consumer_and_token($this->consumer, $this->access_token, "GET", $api_url);
67
- $request->sign_request($this->signature_method, $this->consumer, $this->access_token);
68
- $auth_header = $request->to_header("https://api.linkedin.com"); # this is the realm
69
- $response = $this->httpRequest($api_url, $auth_header, "GET");
70
- return $response;
71
- }
72
- function getCompanyFollowersByName($companyName = "")
73
- {
74
- $api_url = $this->base_url . "/v1/companies/universal-name=".$companyName.":(num-followers)/";
75
- $request = OAuthRequest::from_consumer_and_token($this->consumer, $this->access_token, "GET", $api_url);
76
- $request->sign_request($this->signature_method, $this->consumer, $this->access_token);
77
- $auth_header = $request->to_header("https://api.linkedin.com"); # this is the realm
78
- $response = $this->httpRequest($api_url, $auth_header, "GET");
79
-
80
- return $response;
81
- }
82
-
83
-
84
-
85
- function httpRequest($url, $auth_header, $method, $body = NULL)
86
- {
87
- if (!$method) {
88
- $method = "GET";
89
- };
90
-
91
- $args = array(
92
- 'headers' => array($auth_header),
93
- 'blocking' => true,
94
- );
95
-
96
- if ($body) {
97
- $args2 = array(
98
- 'headers' => array($auth_header),
99
- 'blocking' => true,
100
- 'body' => $body,
101
- 'method' => $method,
102
- 'headers' => array($auth_header, "Content-Type: text/xml;charset=utf-8")
103
- );
104
- $args =array_merge($args,$args2);
105
- }
106
- $curl = wp_remote_get($url, $args);
107
-
108
- return $curl['body'];
109
- }
110
-
111
- }
112
-
113
- function array_msort($array, $cols)
114
- {
115
- $colarr = array();
116
- foreach ($cols as $col => $order) {
117
- $colarr[$col] = array();
118
- foreach ($array as $k => $row) { $colarr[$col]['_'.$k] = strtolower($row[$col]); }
119
- }
120
- $eval = 'array_multisort(';
121
- foreach ($cols as $col => $order) {
122
- $eval .= '$colarr[\''.$col.'\'],'.$order.',';
123
- }
124
- $eval = substr($eval,0,-1).');';
125
- eval($eval);
126
- $ret = array();
127
- foreach ($colarr as $col => $arr) {
128
- foreach ($arr as $k => $v) {
129
- $k = substr($k,1);
130
- if (!isset($ret[$k])) $ret[$k] = $array[$k];
131
- $ret[$k][$col] = $array[$k][$col];
132
- }
133
- }
134
- return $ret;
135
-
136
- }
1
+ <?php
2
+ require_once(SFSI_DOCROOT.'/helpers/sfsi_OAuth.php');
3
+
4
+ class LinkedIn {
5
+ public $base_url = "http://api.linkedin.com";
6
+ public $secure_base_url = "https://api.linkedin.com";
7
+ public $oauth_callback = "oob";
8
+ public $consumer;
9
+ public $request_token;
10
+ public $access_token;
11
+ public $oauth_verifier;
12
+ public $signature_method;
13
+ public $request_token_path;
14
+ public $access_token_path;
15
+ public $authorize_path;
16
+
17
+ function __construct($consumer_key, $consumer_secret,$request_token, $oauth_callback = NULL)
18
+ {
19
+
20
+ if($oauth_callback) {
21
+ $this->oauth_callback = $oauth_callback;
22
+ }
23
+ $this->request_token=
24
+ $this->consumer = new OAuthConsumer($consumer_key, $consumer_secret, $this->oauth_callback);
25
+ $this->signature_method = new OAuthSignatureMethod_HMAC_SHA1();
26
+ $this->request_token_path = $this->secure_base_url . "/uas/oauth/requestToken?scope=r_basicprofile+r_emailaddress+r_network+w_messages";
27
+ $this->access_token_path = $this->secure_base_url . "/uas/oauth/accessToken";
28
+ $this->authorize_path = $this->secure_base_url . "/uas/oauth/authorize";
29
+ }
30
+
31
+ function getRequestToken()
32
+ {
33
+ $consumer = $this->consumer;
34
+ $request = OAuthRequest::from_consumer_and_token($consumer, NULL, "GET", $this->request_token_path);
35
+ $request->set_parameter("oauth_callback", $this->oauth_callback);
36
+ $request->sign_request($this->signature_method, $consumer, NULL);
37
+ $headers = Array();
38
+ $url = $request->to_url();
39
+ $response = $this->httpRequest($url, $headers, "GET");
40
+ parse_str($response, $response_params);
41
+ $this->request_token = new OAuthConsumer($response_params['oauth_token'], $response_params['oauth_token_secret'], 1);
42
+ }
43
+
44
+ function generateAuthorizeUrl()
45
+ {
46
+ $consumer = $this->consumer;
47
+ $request_token = $this->request_token;
48
+ return $this->authorize_path . "?oauth_token=" . $request_token->key;
49
+ }
50
+
51
+ function getAccessToken($oauth_verifier)
52
+ {
53
+ $request = OAuthRequest::from_consumer_and_token($this->consumer, $this->request_token, "GET", $this->access_token_path);
54
+ $request->set_parameter("oauth_verifier", $oauth_verifier);
55
+ $request->sign_request($this->signature_method, $this->consumer, $this->request_token);
56
+ $headers = Array();
57
+ $url = $request->to_url();
58
+ $response = $this->httpRequest($url, $headers, "GET");
59
+ parse_str($response, $response_params);
60
+ $this->access_token = new OAuthConsumer($response_params['oauth_token'], $response_params['oauth_token_secret'], 1);
61
+ }
62
+
63
+ function getCompanyFollowersById($companyID = "")
64
+ {
65
+ $api_url = $this->base_url . "/v1/companies/".$companyID.":(num-followers)/";
66
+ $request = OAuthRequest::from_consumer_and_token($this->consumer, $this->access_token, "GET", $api_url);
67
+ $request->sign_request($this->signature_method, $this->consumer, $this->access_token);
68
+ $auth_header = $request->to_header("https://api.linkedin.com"); # this is the realm
69
+ $response = $this->httpRequest($api_url, $auth_header, "GET");
70
+ return $response;
71
+ }
72
+ function getCompanyFollowersByName($companyName = "")
73
+ {
74
+ $api_url = $this->base_url . "/v1/companies/universal-name=".$companyName.":(num-followers)/";
75
+ $request = OAuthRequest::from_consumer_and_token($this->consumer, $this->access_token, "GET", $api_url);
76
+ $request->sign_request($this->signature_method, $this->consumer, $this->access_token);
77
+ $auth_header = $request->to_header("https://api.linkedin.com"); # this is the realm
78
+ $response = $this->httpRequest($api_url, $auth_header, "GET");
79
+
80
+ return $response;
81
+ }
82
+
83
+
84
+
85
+ function httpRequest($url, $auth_header, $method, $body = NULL)
86
+ {
87
+ if (!$method) {
88
+ $method = "GET";
89
+ };
90
+
91
+ $args = array(
92
+ 'headers' => array($auth_header),
93
+ 'blocking' => true,
94
+ );
95
+
96
+ if ($body) {
97
+ $args2 = array(
98
+ 'headers' => array($auth_header),
99
+ 'blocking' => true,
100
+ 'body' => $body,
101
+ 'method' => $method,
102
+ 'headers' => array($auth_header, "Content-Type: text/xml;charset=utf-8")
103
+ );
104
+ $args =array_merge($args,$args2);
105
+ }
106
+ $curl = wp_remote_get($url, $args);
107
+
108
+ return $curl['body'];
109
+ }
110
+
111
+ }
112
+
113
+ function array_msort($array, $cols)
114
+ {
115
+ $colarr = array();
116
+ foreach ($cols as $col => $order) {
117
+ $colarr[$col] = array();
118
+ foreach ($array as $k => $row) { $colarr[$col]['_'.$k] = strtolower($row[$col]); }
119
+ }
120
+ $eval = 'array_multisort(';
121
+ foreach ($cols as $col => $order) {
122
+ $eval .= '$colarr[\''.$col.'\'],'.$order.',';
123
+ }
124
+ $eval = substr($eval,0,-1).');';
125
+ eval($eval);
126
+ $ret = array();
127
+ foreach ($colarr as $col => $arr) {
128
+ foreach ($arr as $k => $v) {
129
+ $k = substr($k,1);
130
+ if (!isset($ret[$k])) $ret[$k] = $array[$k];
131
+ $ret[$k][$col] = $array[$k][$col];
132
+ }
133
+ }
134
+ return $ret;
135
+
136
+ }
helpers/sfsi_OAuth.php CHANGED
@@ -1,911 +1,911 @@
1
- <?php
2
- // vim: foldmethod=marker
3
-
4
- /* Generic exception class
5
- */
6
- if (!class_exists('OAuthException'))
7
- {
8
- class OAuthException extends Exception
9
- {
10
- // pass
11
- }
12
- }
13
-
14
- if (!class_exists('OAuthConsumer'))
15
- {
16
- class OAuthConsumer
17
- {
18
- public $key;
19
- public $secret;
20
-
21
- function __construct($key, $secret, $callback_url=NULL) {
22
- $this->key = $key;
23
- $this->secret = $secret;
24
- $this->callback_url = $callback_url;
25
- }
26
-
27
- function __toString() {
28
- return "OAuthConsumer[key=$this->key,secret=$this->secret]";
29
- }
30
- }
31
- }
32
-
33
- if (!class_exists('OAuthToken'))
34
- {
35
- class OAuthToken
36
- {
37
- // access tokens and request tokens
38
- public $key;
39
- public $secret;
40
-
41
- /**
42
- * key = the token
43
- * secret = the token secret
44
- */
45
- function __construct($key, $secret)
46
- {
47
- $this->key = $key;
48
- $this->secret = $secret;
49
- }
50
-
51
- /**
52
- * generates the basic string serialization of a token that a server
53
- * would respond to request_token and access_token calls with
54
- */
55
- function to_string()
56
- {
57
- return "oauth_token=" .
58
- OAuthUtil::urlencode_rfc3986($this->key) .
59
- "&oauth_token_secret=" .
60
- OAuthUtil::urlencode_rfc3986($this->secret);
61
- }
62
-
63
- function __toString()
64
- {
65
- return $this->to_string();
66
- }
67
- }
68
- }
69
- /**
70
- * A class for implementing a Signature Method
71
- * See section 9 ("Signing Requests") in the spec
72
- */
73
-
74
- if (!class_exists('OAuthSignatureMethod'))
75
- {
76
- abstract class OAuthSignatureMethod {
77
- /**
78
- * Needs to return the name of the Signature Method (ie HMAC-SHA1)
79
- * @return string
80
- */
81
- abstract public function get_name();
82
-
83
- /**
84
- * Build up the signature
85
- * NOTE: The output of this function MUST NOT be urlencoded.
86
- * the encoding is handled in OAuthRequest when the final
87
- * request is serialized
88
- * @param OAuthRequest $request
89
- * @param OAuthConsumer $consumer
90
- * @param OAuthToken $token
91
- * @return string
92
- */
93
- abstract public function build_signature($request, $consumer, $token);
94
-
95
- /**
96
- * Verifies that a given signature is correct
97
- * @param OAuthRequest $request
98
- * @param OAuthConsumer $consumer
99
- * @param OAuthToken $token
100
- * @param string $signature
101
- * @return bool
102
- */
103
- public function check_signature($request, $consumer, $token, $signature) {
104
- $built = $this->build_signature($request, $consumer, $token);
105
- return $built == $signature;
106
- }
107
- }
108
- }
109
- /**
110
- * The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104]
111
- * where the Signature Base String is the text and the key is the concatenated values (each first
112
- * encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&'
113
- * character (ASCII code 38) even if empty.
114
- * - Chapter 9.2 ("HMAC-SHA1")
115
- */
116
-
117
- if (!class_exists('OAuthSignatureMethod_HMAC_SHA1'))
118
- {
119
- class OAuthSignatureMethod_HMAC_SHA1 extends OAuthSignatureMethod
120
- {
121
- function get_name()
122
- {
123
- return "HMAC-SHA1";
124
- }
125
-
126
- public function build_signature($request, $consumer, $token)
127
- {
128
- $base_string = $request->get_signature_base_string();
129
- $request->base_string = $base_string;
130
-
131
- $key_parts = array(
132
- $consumer->secret,
133
- ($token) ? $token->secret : ""
134
- );
135
-
136
- $key_parts = OAuthUtil::urlencode_rfc3986($key_parts);
137
- $key = implode('&', $key_parts);
138
-
139
- return base64_encode(hash_hmac('sha1', $base_string, $key, true));
140
- }
141
- }
142
- }
143
-
144
- /**
145
- * The PLAINTEXT method does not provide any security protection and SHOULD only be used
146
- * over a secure channel such as HTTPS. It does not use the Signature Base String.
147
- * - Chapter 9.4 ("PLAINTEXT")
148
- */
149
- if (!class_exists('OAuthSignatureMethod_PLAINTEXT'))
150
- {
151
- class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod
152
- {
153
- public function get_name() {
154
- return "PLAINTEXT";
155
- }
156
-
157
- /**
158
- * oauth_signature is set to the concatenated encoded values of the Consumer Secret and
159
- * Token Secret, separated by a '&' character (ASCII code 38), even if either secret is
160
- * empty. The result MUST be encoded again.
161
- * - Chapter 9.4.1 ("Generating Signatures")
162
- *
163
- * Please note that the second encoding MUST NOT happen in the SignatureMethod, as
164
- * OAuthRequest handles this!
165
- */
166
- public function build_signature($request, $consumer, $token) {
167
- $key_parts = array(
168
- $consumer->secret,
169
- ($token) ? $token->secret : ""
170
- );
171
-
172
- $key_parts = OAuthUtil::urlencode_rfc3986($key_parts);
173
- $key = implode('&', $key_parts);
174
- $request->base_string = $key;
175
-
176
- return $key;
177
- }
178
- }
179
- }
180
-
181
- /**
182
- * The RSA-SHA1 signature method uses the RSASSA-PKCS1-v1_5 signature algorithm as defined in
183
- * [RFC3447] section 8.2 (more simply known as PKCS#1), using SHA-1 as the hash function for
184
- * EMSA-PKCS1-v1_5. It is assumed that the Consumer has provided its RSA public key in a
185
- * verified way to the Service Provider, in a manner which is beyond the scope of this
186
- * specification.
187
- * - Chapter 9.3 ("RSA-SHA1")
188
- */
189
-
190
- if (!class_exists('OAuthSignatureMethod_RSA_SHA1'))
191
- {
192
- abstract class OAuthSignatureMethod_RSA_SHA1 extends OAuthSignatureMethod {
193
- public function get_name() {
194
- return "RSA-SHA1";
195
- }
196
-
197
- // Up to the SP to implement this lookup of keys. Possible ideas are:
198
- // (1) do a lookup in a table of trusted certs keyed off of consumer
199
- // (2) fetch via http using a url provided by the requester
200
- // (3) some sort of specific discovery code based on request
201
- //
202
- // Either way should return a string representation of the certificate
203
- protected abstract function fetch_public_cert(&$request);
204
-
205
- // Up to the SP to implement this lookup of keys. Possible ideas are:
206
- // (1) do a lookup in a table of trusted certs keyed off of consumer
207
- //
208
- // Either way should return a string representation of the certificate
209
- protected abstract function fetch_private_cert(&$request);
210
-
211
- public function build_signature($request, $consumer, $token) {
212
- $base_string = $request->get_signature_base_string();
213
- $request->base_string = $base_string;
214
-
215
- // Fetch the private key cert based on the request
216
- $cert = $this->fetch_private_cert($request);
217
-
218
- // Pull the private key ID from the certificate
219
- $privatekeyid = openssl_get_privatekey($cert);
220
-
221
- // Sign using the key
222
- $ok = openssl_sign($base_string, $signature, $privatekeyid);
223
-
224
- // Release the key resource
225
- openssl_free_key($privatekeyid);
226
-
227
- return base64_encode($signature);
228
- }
229
-
230
- public function check_signature($request, $consumer, $token, $signature) {
231
- $decoded_sig = base64_decode($signature);
232
-
233
- $base_string = $request->get_signature_base_string();
234
-
235
- // Fetch the public key cert based on the request
236
- $cert = $this->fetch_public_cert($request);
237
-
238
- // Pull the public key ID from the certificate
239
- $publickeyid = openssl_get_publickey($cert);
240
-
241
- // Check the computed signature against the one passed in the query
242
- $ok = openssl_verify($base_string, $decoded_sig, $publickeyid);
243
-
244
- // Release the key resource
245
- openssl_free_key($publickeyid);
246
-
247
- return $ok == 1;
248
- }
249
- }
250
- }
251
-
252
- if (!class_exists('OAuthRequest'))
253
- {
254
- class OAuthRequest
255
- {
256
- private $parameters;
257
- private $http_method;
258
- private $http_url;
259
- // for debug purposes
260
- public $base_string;
261
- public static $version = '1.0';
262
- public static $POST_INPUT = 'php://input';
263
-
264
- function __construct($http_method, $http_url, $parameters=NULL) {
265
- @$parameters or $parameters = array();
266
- $parameters = array_merge( OAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $parameters);
267
- $this->parameters = $parameters;
268
- $this->http_method = $http_method;
269
- $this->http_url = $http_url;
270
- }
271
- /**
272
- * attempt to build up a request from what was passed to the server
273
- */
274
- public static function from_request($http_method=NULL, $http_url=NULL, $parameters=NULL) {
275
- $scheme = (!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] != "on")
276
- ? 'http'
277
- : 'https';
278
- @$http_url or $http_url = $scheme .
279
- '://' . $_SERVER['HTTP_HOST'] .
280
- ':' .
281
- $_SERVER['SERVER_PORT'] .
282
- $_SERVER['REQUEST_URI'];
283
- @$http_method or $http_method = $_SERVER['REQUEST_METHOD'];
284
-
285
- // We weren't handed any parameters, so let's find the ones relevant to
286
- // this request.
287
- // If you run XML-RPC or similar you should use this to provide your own
288
- // parsed parameter-list
289
- if (!$parameters) {
290
- // Find request headers
291
- $request_headers = OAuthUtil::get_headers();
292
-
293
- // Parse the query-string to find GET parameters
294
- $parameters = OAuthUtil::parse_parameters($_SERVER['QUERY_STRING']);
295
-
296
- // It's a POST request of the proper content-type, so parse POST
297
- // parameters and add those overriding any duplicates from GET
298
- if ($http_method == "POST"
299
- && @strstr($request_headers["Content-Type"],
300
- "application/x-www-form-urlencoded")
301
- ) {
302
- $post_data = OAuthUtil::parse_parameters(
303
- file_get_contents(self::$POST_INPUT)
304
- );
305
- $parameters = array_merge($parameters, $post_data);
306
- }
307
-
308
- // We have a Authorization-header with OAuth data. Parse the header
309
- // and add those overriding any duplicates from GET or POST
310
- if (@substr($request_headers['Authorization'], 0, 6) == "OAuth ") {
311
- $header_parameters = OAuthUtil::split_header(
312
- $request_headers['Authorization']
313
- );
314
- $parameters = array_merge($parameters, $header_parameters);
315
- }
316
-
317
- }
318
-
319
- return new OAuthRequest($http_method, $http_url, $parameters);
320
- }
321
-
322
- /**
323
- * pretty much a helper function to set up the request
324
- */
325
- public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parameters=NULL) {
326
- @$parameters or $parameters = array();
327
- $defaults = array("oauth_version" => OAuthRequest::$version,
328
- "oauth_nonce" => OAuthRequest::generate_nonce(),
329
- "oauth_timestamp" => OAuthRequest::generate_timestamp(),
330
- "oauth_consumer_key" => $consumer->key);
331
- if ($token)
332
- $defaults['oauth_token'] = $token->key;
333
-
334
- $parameters = array_merge($defaults, $parameters);
335
-
336
- return new OAuthRequest($http_method, $http_url, $parameters);
337
- }
338
-
339
- public function set_parameter($name, $value, $allow_duplicates = true) {
340
- if ($allow_duplicates && isset($this->parameters[$name])) {
341
- // We have already added parameter(s) with this name, so add to the list
342
- if (is_scalar($this->parameters[$name])) {
343
- // This is the first duplicate, so transform scalar (string)
344
- // into an array so we can add the duplicates
345
- $this->parameters[$name] = array($this->parameters[$name]);
346
- }
347
-
348
- $this->parameters[$name][] = $value;
349
- } else {
350
- $this->parameters[$name] = $value;
351
- }
352
- }
353
-
354
- public function get_parameter($name) {
355
- return isset($this->parameters[$name]) ? $this->parameters[$name] : null;
356
- }
357
-
358
- public function get_parameters() {
359
- return $this->parameters;
360
- }
361
-
362
- public function unset_parameter($name) {
363
- unset($this->parameters[$name]);
364
- }
365
-
366
- /**
367
- * The request parameters, sorted and concatenated into a normalized string.
368
- * @return string
369
- */
370
- public function get_signable_parameters() {
371
- // Grab all parameters
372
- $params = $this->parameters;
373
-
374
- // Remove oauth_signature if present
375
- // Ref: Spec: 9.1.1 ("The oauth_signature parameter MUST be excluded.")
376
- if (isset($params['oauth_signature'])) {
377
- unset($params['oauth_signature']);
378
- }
379
-
380
- return OAuthUtil::build_http_query($params);
381
- }
382
-
383
- /**
384
- * Returns the base string of this request
385
- *
386
- * The base string defined as the method, the url
387
- * and the parameters (normalized), each urlencoded
388
- * and the concated with &.
389
- */
390
- public function get_signature_base_string() {
391
- $parts = array(
392
- $this->get_normalized_http_method(),
393
- $this->get_normalized_http_url(),
394
- $this->get_signable_parameters()
395
- );
396
-
397
- $parts = OAuthUtil::urlencode_rfc3986($parts);
398
-
399
- return implode('&', $parts);
400
- }
401
-
402
- /**
403
- * just uppercases the http method
404
- */
405
- public function get_normalized_http_method() {
406
- return strtoupper($this->http_method);
407
- }
408
-
409
- /**
410
- * parses the url and rebuilds it to be
411
- * scheme://host/path
412
- */
413
- public function get_normalized_http_url() {
414
- $parts = parse_url($this->http_url);
415
-
416
- $port = @$parts['port'];
417
- $scheme = $parts['scheme'];
418
- $host = $parts['host'];
419
- $path = @$parts['path'];
420
-
421
- $port or $port = ($scheme == 'https') ? '443' : '80';
422
-
423
- if (($scheme == 'https' && $port != '443')
424
- || ($scheme == 'http' && $port != '80')) {
425
- $host = "$host:$port";
426
- }
427
- return "$scheme://$host$path";
428
- }
429
-
430
- /**
431
- * builds a url usable for a GET request
432
- */
433
- public function to_url() {
434
- $post_data = $this->to_postdata();
435
- $out = $this->get_normalized_http_url();
436
- if ($post_data) {
437
- $out .= '?'.$post_data;
438
- }
439
- return $out;
440
- }
441
-
442
- /**
443
- * builds the data one would send in a POST request
444
- */
445
- public function to_postdata() {
446
- return OAuthUtil::build_http_query($this->parameters);
447
- }
448
-
449
- /**
450
- * builds the Authorization: header
451
- */
452
- public function to_header($realm=null) {
453
- $first = true;
454
- if($realm) {
455
- $out = 'Authorization: OAuth realm="' . OAuthUtil::urlencode_rfc3986($realm) . '"';
456
- $first = false;
457
- } else
458
- $out = 'Authorization: OAuth';
459
-
460
- $total = array();
461
- foreach ($this->parameters as $k => $v) {
462
- if (substr($k, 0, 5) != "oauth") continue;
463
- if (is_array($v)) {
464
- throw new OAuthException('Arrays not supported in headers');
465
- }
466
- $out .= ($first) ? ' ' : ',';
467
- $out .= OAuthUtil::urlencode_rfc3986($k) .
468
- '="' .
469
- OAuthUtil::urlencode_rfc3986($v) .
470
- '"';
471
- $first = false;
472
- }
473
- return $out;
474
- }
475
-
476
- public function __toString() {
477
- return $this->to_url();
478
- }
479
- public function sign_request($signature_method, $consumer, $token) {
480
- $this->set_parameter(
481
- "oauth_signature_method",
482
- $signature_method->get_name(),
483
- false
484
- );
485
- $signature = $this->build_signature($signature_method, $consumer, $token);
486
- $this->set_parameter("oauth_signature", $signature, false);
487
- }
488
-
489
- public function build_signature($signature_method, $consumer, $token) {
490
- $signature = $signature_method->build_signature($this, $consumer, $token);
491
- return $signature;
492
- }
493
-
494
- /**
495
- * util function: current timestamp
496
- */
497
- private static function generate_timestamp() {
498
- return time();
499
- }
500
-
501
- /**
502
- * util function: current nonce
503
- */
504
- private static function generate_nonce() {
505
- $mt = microtime();
506
- $rand = mt_rand();
507
-
508
- return md5($mt . $rand); // md5s look nicer than numbers
509
- }
510
- }
511
- }
512
-
513
- if (!class_exists('OAuthServer'))
514
- {
515
- class OAuthServer {
516
- protected $timestamp_threshold = 300; // in seconds, five minutes
517
- protected $version = '1.0'; // hi blaine
518
- protected $signature_methods = array();
519
-
520
- protected $data_store;
521
-
522
- function __construct($data_store) {
523
- $this->data_store = $data_store;
524
- }
525
-
526
- public function add_signature_method($signature_method) {
527
- $this->signature_methods[$signature_method->get_name()] =
528
- $signature_method;
529
- }
530
-
531
- // high level functions
532
-
533
- /**
534
- * process a request_token request
535
- * returns the request token on success
536
- */
537
- public function fetch_request_token(&$request) {
538
- $this->get_version($request);
539
-
540
- $consumer = $this->get_consumer($request);
541
-
542
- // no token required for the initial token request
543
- $token = NULL;
544
-
545
- $this->check_signature($request, $consumer, $token);
546
-
547
- // Rev A change
548
- $callback = $request->get_parameter('oauth_callback');
549
- $new_token = $this->data_store->new_request_token($consumer, $callback);
550
-
551
- return $new_token;
552
- }
553
-
554
- /**
555
- * process an access_token request
556
- * returns the access token on success
557
- */
558
- public function fetch_access_token(&$request) {
559
- $this->get_version($request);
560
-
561
- $consumer = $this->get_consumer($request);
562
-
563
- // requires authorized request token
564
- $token = $this->get_token($request, $consumer, "request");
565
-
566
- $this->check_signature($request, $consumer, $token);
567
-
568
- // Rev A change
569
- $verifier = $request->get_parameter('oauth_verifier');
570
- $new_token = $this->data_store->new_access_token($token, $consumer, $verifier);
571
-
572
- return $new_token;
573
- }
574
-
575
- /**
576
- * verify an api call, checks all the parameters
577
- */
578
- public function verify_request(&$request) {
579
- $this->get_version($request);
580
- $consumer = $this->get_consumer($request);
581
- $token = $this->get_token($request, $consumer, "access");
582
- $this->check_signature($request, $consumer, $token);
583
- return array($consumer, $token);
584
- }
585
-
586
- // Internals from here
587
- /**
588
- * version 1
589
- */
590
- private function get_version(&$request) {
591
- $version = $request->get_parameter("oauth_version");
592
- if (!$version) {
593
- // Service Providers MUST assume the protocol version to be 1.0 if this parameter is not present.
594
- // Chapter 7.0 ("Accessing Protected Ressources")
595
- $version = '1.0';
596
- }
597
- if ($version !== $this->version) {
598
- throw new OAuthException("OAuth version '$version' not supported");
599
- }
600
- return $version;
601
- }
602
-
603
- /**
604
- * figure out the signature with some defaults
605
- */
606
- private function get_signature_method(&$request) {
607
- $signature_method =
608
- @$request->get_parameter("oauth_signature_method");
609
-
610
- if (!$signature_method) {
611
- // According to chapter 7 ("Accessing Protected Ressources") the signature-method
612
- // parameter is required, and we can't just fallback to PLAINTEXT
613
- throw new OAuthException('No signature method parameter. This parameter is required');
614
- }
615
-
616
- if (!in_array($signature_method,
617
- array_keys($this->signature_methods))) {
618
- throw new OAuthException(
619
- "Signature method '$signature_method' not supported " .
620
- "try one of the following: " .
621
- implode(", ", array_keys($this->signature_methods))
622
- );
623
- }
624
- return $this->signature_methods[$signature_method];
625
- }
626
-
627
- /**
628
- * try to find the consumer for the provided request's consumer key
629
- */
630
- private function get_consumer(&$request) {
631
- $consumer_key = @$request->get_parameter("oauth_consumer_key");
632
- if (!$consumer_key) {
633
- throw new OAuthException("Invalid consumer key");
634
- }
635
-
636
- $consumer = $this->data_store->lookup_consumer($consumer_key);
637
- if (!$consumer) {
638
- throw new OAuthException("Invalid consumer");
639
- }
640
-
641
- return $consumer;
642
- }
643
-
644
- /**
645
- * try to find the token for the provided request's token key
646
- */
647
- private function get_token(&$request, $consumer, $token_type="access") {
648
- $token_field = @$request->get_parameter('oauth_token');
649
- $token = $this->data_store->lookup_token(
650
- $consumer, $token_type, $token_field
651
- );
652
- if (!$token) {
653
- throw new OAuthException("Invalid $token_type token: $token_field");
654
- }
655
- return $token;
656
- }
657
-
658
- /**
659
- * all-in-one function to check the signature on a request
660
- * should guess the signature method appropriately
661
- */
662
- private function check_signature(&$request, $consumer, $token) {
663
- // this should probably be in a different method
664
- $timestamp = @$request->get_parameter('oauth_timestamp');
665
- $nonce = @$request->get_parameter('oauth_nonce');
666
-
667
- $this->check_timestamp($timestamp);
668
- $this->check_nonce($consumer, $token, $nonce, $timestamp);
669
-
670
- $signature_method = $this->get_signature_method($request);
671
-
672
- $signature = $request->get_parameter('oauth_signature');
673
- $valid_sig = $signature_method->check_signature(
674
- $request,
675
- $consumer,
676
- $token,
677
- $signature
678
- );
679
-
680
- if (!$valid_sig) {
681
- throw new OAuthException("Invalid signature");
682
- }
683
- }
684
-
685
- /**
686
- * check that the timestamp is new enough
687
- */
688
- private function check_timestamp($timestamp) {
689
- if( ! $timestamp )
690
- throw new OAuthException(
691
- 'Missing timestamp parameter. The parameter is required'
692
- );
693
-
694
- // verify that timestamp is recentish
695
- $now = time();
696
- if (abs($now - $timestamp) > $this->timestamp_threshold) {
697
- throw new OAuthException(
698
- "Expired timestamp, yours $timestamp, ours $now"
699
- );
700
- }
701
- }
702
-
703
- /**
704
- * check that the nonce is not repeated
705
- */
706
- private function check_nonce($consumer, $token, $nonce, $timestamp) {
707
- if( ! $nonce )
708
- throw new OAuthException(
709
- 'Missing nonce parameter. The parameter is required'
710
- );
711
-
712
- // verify that the nonce is uniqueish
713
- $found = $this->data_store->lookup_nonce(
714
- $consumer,
715
- $token,
716
- $nonce,
717
- $timestamp
718
- );
719
- if ($found) {
720
- throw new OAuthException("Nonce already used: $nonce");
721
- }
722
- }
723
- }
724
- }
725
- if (!class_exists('OAuthDataStore'))
726
- {
727
- class OAuthDataStore {
728
- function lookup_consumer($consumer_key) {
729
- // implement me
730
- }
731
-
732
- function lookup_token($consumer, $token_type, $token) {
733
- // implement me
734
- }
735
-
736
- function lookup_nonce($consumer, $token, $nonce, $timestamp) {
737
- // implement me
738
- }
739
-
740
- function new_request_token($consumer, $callback = null) {
741
- // return a new token attached to this consumer
742
- }
743
-
744
- function new_access_token($token, $consumer, $verifier = null) {
745
- // return a new access token attached to this consumer
746
- // for the user associated with this token if the request token
747
- // is authorized
748
- // should also invalidate the request token
749
- }
750
-
751
- }
752
- }
753
-
754
- if (!class_exists('OAuthUtil'))
755
- {
756
- class OAuthUtil {
757
- public static function urlencode_rfc3986($input) {
758
- if (is_array($input)) {
759
- return array_map(array('OAuthUtil', 'urlencode_rfc3986'), $input);
760
- } else if (is_scalar($input)) {
761
- return str_replace(
762
- '+',
763
- ' ',
764
- str_replace('%7E', '~', rawurlencode($input))
765
- );
766
- } else {
767
- return '';
768
- }
769
- }
770
-
771
-
772
- // This decode function isn't taking into consideration the above
773
- // modifications to the encoding process. However, this method doesn't
774
- // seem to be used anywhere so leaving it as is.
775
- public static function urldecode_rfc3986($string) {
776
- return urldecode($string);
777
- }
778
-
779
- // Utility function for turning the Authorization: header into
780
- // parameters, has to do some unescaping
781
- // Can filter out any non-oauth parameters if needed (default behaviour)
782
- public static function split_header($header, $only_allow_oauth_parameters = true) {
783
- $pattern = '/(([-_a-z]*)=("([^"]*)"|([^,]*)),?)/';
784
- $offset = 0;
785
- $params = array();
786
- while (preg_match($pattern, $header, $matches, PREG_OFFSET_CAPTURE, $offset) > 0) {
787
- $match = $matches[0];
788
- $header_name = $matches[2][0];
789
- $header_content = (isset($matches[5])) ? $matches[5][0] : $matches[4][0];
790
- if (preg_match('/^oauth_/', $header_name) || !$only_allow_oauth_parameters) {
791
- $params[$header_name] = OAuthUtil::urldecode_rfc3986($header_content);
792
- }
793
- $offset = $match[1] + strlen($match[0]);
794
- }
795
-
796
- if (isset($params['realm'])) {
797
- unset($params['realm']);
798
- }
799
-
800
- return $params;
801
- }
802
-
803
- // helper to try to sort out headers for people who aren't running apache
804
- public static function get_headers() {
805
- if (function_exists('apache_request_headers')) {
806
- // we need this to get the actual Authorization: header
807
- // because apache tends to tell us it doesn't exist
808
- $headers = apache_request_headers();
809
-
810
- // sanitize the output of apache_request_headers because
811
- // we always want the keys to be Cased-Like-This and arh()
812
- // returns the headers in the same case as they are in the
813
- // request
814
- $out = array();
815
- foreach( $headers AS $key => $value ) {
816
- $key = str_replace(
817
- " ",
818
- "-",
819
- ucwords(strtolower(str_replace("-", " ", $key)))
820
- );
821
- $out[$key] = $value;
822
- }
823
- } else {
824
- // otherwise we don't have apache and are just going to have to hope
825
- // that $_SERVER actually contains what we need
826
- $out = array();
827
- if( isset($_SERVER['CONTENT_TYPE']) )
828
- $out['Content-Type'] = $_SERVER['CONTENT_TYPE'];
829
- if( isset($_ENV['CONTENT_TYPE']) )
830
- $out['Content-Type'] = $_ENV['CONTENT_TYPE'];
831
-
832
- foreach ($_SERVER as $key => $value) {
833
- if (substr($key, 0, 5) == "HTTP_") {
834
- // this is chaos, basically it is just there to capitalize the first
835
- // letter of every word that is not an initial HTTP and strip HTTP
836
- // code from przemek
837
- $key = str_replace(
838
- " ",
839
- "-",
840
- ucwords(strtolower(str_replace("_", " ", substr($key, 5))))
841
- );
842
- $out[$key] = $value;
843
- }
844
- }
845
- }
846
- return $out;
847
- }
848
-
849
- // This function takes a input like a=b&a=c&d=e and returns the parsed
850
- // parameters like this
851
- // array('a' => array('b','c'), 'd' => 'e')
852
- public static function parse_parameters( $input ) {
853
- if (!isset($input) || !$input) return array();
854
-
855
- $pairs = explode('&', $input);
856
-
857
- $parsed_parameters = array();
858
- foreach ($pairs as $pair) {
859
- $split = explode('=', $pair, 2);
860
- $parameter = OAuthUtil::urldecode_rfc3986($split[0]);
861
- $value = isset($split[1]) ? OAuthUtil::urldecode_rfc3986($split[1]) : '';
862
-
863
- if (isset($parsed_parameters[$parameter])) {
864
- // We have already recieved parameter(s) with this name, so add to the list
865
- // of parameters with this name
866
-
867
- if (is_scalar($parsed_parameters[$parameter])) {
868
- // This is the first duplicate, so transform scalar (string) into an array
869
- // so we can add the duplicates
870
- $parsed_parameters[$parameter] = array($parsed_parameters[$parameter]);
871
- }
872
-
873
- $parsed_parameters[$parameter][] = $value;
874
- } else {
875
- $parsed_parameters[$parameter] = $value;
876
- }
877
- }
878
- return $parsed_parameters;
879
- }
880
-
881
- public static function build_http_query($params) {
882
- if (!$params) return '';
883
-
884
- // Urlencode both keys and values
885
- $keys = OAuthUtil::urlencode_rfc3986(array_keys($params));
886
- $values = OAuthUtil::urlencode_rfc3986(array_values($params));
887
- $params = array_combine($keys, $values);
888
-
889
- // Parameters are sorted by name, using lexicographical byte value ordering.
890
- // Ref: Spec: 9.1.1 (1)
891
- uksort($params, 'strcmp');
892
-
893
- $pairs = array();
894
- foreach ($params as $parameter => $value) {
895
- if (is_array($value)) {
896
- // If two or more parameters share the same name, they are sorted by their value
897
- // Ref: Spec: 9.1.1 (1)
898
- natsort($value);
899
- foreach ($value as $duplicate_value) {
900
- $pairs[] = $parameter . '=' . $duplicate_value;
901
- }
902
- } else {
903
- $pairs[] = $parameter . '=' . $value;
904
- }
905
- }
906
- // For each parameter, the name is separated from the corresponding value by an '=' character (ASCII code 61)
907
- // Each name-value pair is separated by an '&' character (ASCII code 38)
908
- return implode('&', $pairs);
909
- }
910
- }
911
  }
1
+ <?php
2
+ // vim: foldmethod=marker
3
+
4
+ /* Generic exception class
5
+ */
6
+ if (!class_exists('OAuthException'))
7
+ {
8
+ class OAuthException extends Exception
9
+ {
10
+ // pass
11
+ }
12
+ }
13
+
14
+ if (!class_exists('OAuthConsumer'))
15
+ {
16
+ class OAuthConsumer
17
+ {
18
+ public $key;
19
+ public $secret;
20
+
21
+ function __construct($key, $secret, $callback_url=NULL) {
22
+ $this->key = $key;
23
+ $this->secret = $secret;
24
+ $this->callback_url = $callback_url;
25
+ }
26
+
27
+ function __toString() {
28
+ return "OAuthConsumer[key=$this->key,secret=$this->secret]";
29
+ }
30
+ }
31
+ }
32
+
33
+ if (!class_exists('OAuthToken'))
34
+ {
35
+ class OAuthToken
36
+ {
37
+ // access tokens and request tokens
38
+ public $key;
39
+ public $secret;
40
+
41
+ /**
42
+ * key = the token
43
+ * secret = the token secret
44
+ */
45
+ function __construct($key, $secret)
46
+ {
47
+ $this->key = $key;
48
+ $this->secret = $secret;
49
+ }
50
+
51
+ /**
52
+ * generates the basic string serialization of a token that a server
53
+ * would respond to request_token and access_token calls with
54
+ */
55
+ function to_string()
56
+ {
57
+ return "oauth_token=" .
58
+ OAuthUtil::urlencode_rfc3986($this->key) .
59
+ "&oauth_token_secret=" .
60
+ OAuthUtil::urlencode_rfc3986($this->secret);
61
+ }
62
+
63
+ function __toString()
64
+ {
65
+ return $this->to_string();
66
+ }
67
+ }
68
+ }
69
+ /**
70
+ * A class for implementing a Signature Method
71
+ * See section 9 ("Signing Requests") in the spec
72
+ */
73
+
74
+ if (!class_exists('OAuthSignatureMethod'))
75
+ {
76
+ abstract class OAuthSignatureMethod {
77
+ /**
78
+ * Needs to return the name of the Signature Method (ie HMAC-SHA1)
79
+ * @return string
80
+ */
81
+ abstract public function get_name();
82
+
83
+ /**
84
+ * Build up the signature
85
+ * NOTE: The output of this function MUST NOT be urlencoded.
86
+ * the encoding is handled in OAuthRequest when the final
87
+ * request is serialized
88
+ * @param OAuthRequest $request
89
+ * @param OAuthConsumer $consumer
90
+ * @param OAuthToken $token
91
+ * @return string
92
+ */
93
+ abstract public function build_signature($request, $consumer, $token);
94
+
95
+ /**
96
+ * Verifies that a given signature is correct
97
+ * @param OAuthRequest $request
98
+ * @param OAuthConsumer $consumer
99
+ * @param OAuthToken $token
100
+ * @param string $signature
101
+ * @return bool
102
+ */
103
+ public function check_signature($request, $consumer, $token, $signature) {
104
+ $built = $this->build_signature($request, $consumer, $token);
105
+ return $built == $signature;
106
+ }
107
+ }
108
+ }
109
+ /**
110
+ * The HMAC-SHA1 signature method uses the HMAC-SHA1 signature algorithm as defined in [RFC2104]
111
+ * where the Signature Base String is the text and the key is the concatenated values (each first
112
+ * encoded per Parameter Encoding) of the Consumer Secret and Token Secret, separated by an '&'
113
+ * character (ASCII code 38) even if empty.
114
+ * - Chapter 9.2 ("HMAC-SHA1")
115
+ */
116
+
117
+ if (!class_exists('OAuthSignatureMethod_HMAC_SHA1'))
118
+ {
119
+ class OAuthSignatureMethod_HMAC_SHA1 extends OAuthSignatureMethod
120
+ {
121
+ function get_name()
122
+ {
123
+ return "HMAC-SHA1";
124
+ }
125
+
126
+ public function build_signature($request, $consumer, $token)
127
+ {
128
+ $base_string = $request->get_signature_base_string();
129
+ $request->base_string = $base_string;
130
+
131
+ $key_parts = array(
132
+ $consumer->secret,
133
+ ($token) ? $token->secret : ""
134
+ );
135
+
136
+ $key_parts = OAuthUtil::urlencode_rfc3986($key_parts);
137
+ $key = implode('&', $key_parts);
138
+
139
+ return base64_encode(hash_hmac('sha1', $base_string, $key, true));
140
+ }
141
+ }
142
+ }
143
+
144
+ /**
145
+ * The PLAINTEXT method does not provide any security protection and SHOULD only be used
146
+ * over a secure channel such as HTTPS. It does not use the Signature Base String.
147
+ * - Chapter 9.4 ("PLAINTEXT")
148
+ */
149
+ if (!class_exists('OAuthSignatureMethod_PLAINTEXT'))
150
+ {
151
+ class OAuthSignatureMethod_PLAINTEXT extends OAuthSignatureMethod
152
+ {
153
+ public function get_name() {
154
+ return "PLAINTEXT";
155
+ }
156
+
157
+ /**
158
+ * oauth_signature is set to the concatenated encoded values of the Consumer Secret and
159
+ * Token Secret, separated by a '&' character (ASCII code 38), even if either secret is
160
+ * empty. The result MUST be encoded again.
161
+ * - Chapter 9.4.1 ("Generating Signatures")
162
+ *
163
+ * Please note that the second encoding MUST NOT happen in the SignatureMethod, as
164
+ * OAuthRequest handles this!
165
+ */
166
+ public function build_signature($request, $consumer, $token) {
167
+ $key_parts = array(
168
+ $consumer->secret,
169
+ ($token) ? $token->secret : ""
170
+ );
171
+
172
+ $key_parts = OAuthUtil::urlencode_rfc3986($key_parts);
173
+ $key = implode('&', $key_parts);
174
+ $request->base_string = $key;
175
+
176
+ return $key;
177
+ }
178
+ }
179
+ }
180
+
181
+ /**
182
+ * The RSA-SHA1 signature method uses the RSASSA-PKCS1-v1_5 signature algorithm as defined in
183
+ * [RFC3447] section 8.2 (more simply known as PKCS#1), using SHA-1 as the hash function for
184
+ * EMSA-PKCS1-v1_5. It is assumed that the Consumer has provided its RSA public key in a
185
+ * verified way to the Service Provider, in a manner which is beyond the scope of this
186
+ * specification.
187
+ * - Chapter 9.3 ("RSA-SHA1")
188
+ */
189
+
190
+ if (!class_exists('OAuthSignatureMethod_RSA_SHA1'))
191
+ {
192
+ abstract class OAuthSignatureMethod_RSA_SHA1 extends OAuthSignatureMethod {
193
+ public function get_name() {
194
+ return "RSA-SHA1";
195
+ }
196
+
197
+ // Up to the SP to implement this lookup of keys. Possible ideas are:
198
+ // (1) do a lookup in a table of trusted certs keyed off of consumer
199
+ // (2) fetch via http using a url provided by the requester
200
+ // (3) some sort of specific discovery code based on request
201
+ //
202
+ // Either way should return a string representation of the certificate
203
+ protected abstract function fetch_public_cert(&$request);
204
+
205
+ // Up to the SP to implement this lookup of keys. Possible ideas are:
206
+ // (1) do a lookup in a table of trusted certs keyed off of consumer
207
+ //
208
+ // Either way should return a string representation of the certificate
209
+ protected abstract function fetch_private_cert(&$request);
210
+
211
+ public function build_signature($request, $consumer, $token) {
212
+ $base_string = $request->get_signature_base_string();
213
+ $request->base_string = $base_string;
214
+
215
+ // Fetch the private key cert based on the request
216
+ $cert = $this->fetch_private_cert($request);
217
+
218
+ // Pull the private key ID from the certificate
219
+ $privatekeyid = openssl_get_privatekey($cert);
220
+
221
+ // Sign using the key
222
+ $ok = openssl_sign($base_string, $signature, $privatekeyid);
223
+
224
+ // Release the key resource
225
+ openssl_free_key($privatekeyid);
226
+
227
+ return base64_encode($signature);
228
+ }
229
+
230
+ public function check_signature($request, $consumer, $token, $signature) {
231
+ $decoded_sig = base64_decode($signature);
232
+
233
+ $base_string = $request->get_signature_base_string();
234
+
235
+ // Fetch the public key cert based on the request
236
+ $cert = $this->fetch_public_cert($request);
237
+
238
+ // Pull the public key ID from the certificate
239
+ $publickeyid = openssl_get_publickey($cert);
240
+
241
+ // Check the computed signature against the one passed in the query
242
+ $ok = openssl_verify($base_string, $decoded_sig, $publickeyid);
243
+
244
+ // Release the key resource
245
+ openssl_free_key($publickeyid);
246
+
247
+ return $ok == 1;
248
+ }
249
+ }
250
+ }
251
+
252
+ if (!class_exists('OAuthRequest'))
253
+ {
254
+ class OAuthRequest
255
+ {
256
+ private $parameters;
257
+ private $http_method;
258
+ private $http_url;
259
+ // for debug purposes
260
+ public $base_string;
261
+ public static $version = '1.0';
262
+ public static $POST_INPUT = 'php://input';
263
+
264
+ function __construct($http_method, $http_url, $parameters=NULL) {
265
+ @$parameters or $parameters = array();
266
+ $parameters = array_merge( OAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $parameters);
267
+ $this->parameters = $parameters;
268
+ $this->http_method = $http_method;
269
+ $this->http_url = $http_url;
270
+ }
271
+ /**
272
+ * attempt to build up a request from what was passed to the server
273
+ */
274
+ public static function from_request($http_method=NULL, $http_url=NULL, $parameters=NULL) {
275
+ $scheme = (!isset($_SERVER['HTTPS']) || $_SERVER['HTTPS'] != "on")
276
+ ? 'http'
277
+ : 'https';
278
+ @$http_url or $http_url = $scheme .
279
+ '://' . $_SERVER['HTTP_HOST'] .
280
+ ':' .
281
+ $_SERVER['SERVER_PORT'] .
282
+ $_SERVER['REQUEST_URI'];
283
+ @$http_method or $http_method = $_SERVER['REQUEST_METHOD'];
284
+
285
+ // We weren't handed any parameters, so let's find the ones relevant to
286
+ // this request.
287
+ // If you run XML-RPC or similar you should use this to provide your own
288
+ // parsed parameter-list
289
+ if (!$parameters) {
290
+ // Find request headers
291
+ $request_headers = OAuthUtil::get_headers();
292
+
293
+ // Parse the query-string to find GET parameters
294
+ $parameters = OAuthUtil::parse_parameters($_SERVER['QUERY_STRING']);
295
+
296
+ // It's a POST request of the proper content-type, so parse POST
297
+ // parameters and add those overriding any duplicates from GET
298
+ if ($http_method == "POST"
299
+ && @strstr($request_headers["Content-Type"],
300
+ "application/x-www-form-urlencoded")
301
+ ) {
302
+ $post_data = OAuthUtil::parse_parameters(
303
+ file_get_contents(self::$POST_INPUT)
304
+ );
305
+ $parameters = array_merge($parameters, $post_data);
306
+ }
307
+
308
+ // We have a Authorization-header with OAuth data. Parse the header
309
+ // and add those overriding any duplicates from GET or POST
310
+ if (@substr($request_headers['Authorization'], 0, 6) == "OAuth ") {
311
+ $header_parameters = OAuthUtil::split_header(
312
+ $request_headers['Authorization']
313
+ );
314
+ $parameters = array_merge($parameters, $header_parameters);
315
+ }
316
+
317
+ }
318
+
319
+ return new OAuthRequest($http_method, $http_url, $parameters);
320
+ }
321
+
322
+ /**
323
+ * pretty much a helper function to set up the request
324
+ */
325
+ public static function from_consumer_and_token($consumer, $token, $http_method, $http_url, $parameters=NULL) {
326
+ @$parameters or $parameters = array();
327
+ $defaults = array("oauth_version" => OAuthRequest::$version,
328
+ "oauth_nonce" => OAuthRequest::generate_nonce(),
329
+ "oauth_timestamp" => OAuthRequest::generate_timestamp(),
330
+ "oauth_consumer_key" => $consumer->key);
331
+ if ($token)
332
+ $defaults['oauth_token'] = $token->key;
333
+
334
+ $parameters = array_merge($defaults, $parameters);
335
+
336
+ return new OAuthRequest($http_method, $http_url, $parameters);
337
+ }
338
+
339
+ public function set_parameter($name, $value, $allow_duplicates = true) {
340
+ if ($allow_duplicates && isset($this->parameters[$name])) {
341
+ // We have already added parameter(s) with this name, so add to the list
342
+ if (is_scalar($this->parameters[$name])) {
343
+ // This is the first duplicate, so transform scalar (string)
344
+ // into an array so we can add the duplicates
345
+ $this->parameters[$name] = array($this->parameters[$name]);
346
+ }
347
+
348
+ $this->parameters[$name][] = $value;
349
+ } else {
350
+ $this->parameters[$name] = $value;
351
+ }
352
+ }
353
+
354
+ public function get_parameter($name) {
355
+ return isset($this->parameters[$name]) ? $this->parameters[$name] : null;
356
+ }
357
+
358
+ public function get_parameters() {
359
+ return $this->parameters;
360
+ }
361
+
362
+ public function unset_parameter($name) {
363
+ unset($this->parameters[$name]);
364
+ }
365
+
366
+ /**
367
+ * The request parameters, sorted and concatenated into a normalized string.
368
+ * @return string
369
+ */
370
+ public function get_signable_parameters() {
371
+ // Grab all parameters
372
+ $params = $this->parameters;
373
+
374
+ // Remove oauth_signature if present
375
+ // Ref: Spec: 9.1.1 ("The oauth_signature parameter MUST be excluded.")
376
+ if (isset($params['oauth_signature'])) {
377
+ unset($params['oauth_signature']);
378
+ }
379
+
380
+ return OAuthUtil::build_http_query($params);
381
+ }
382
+
383
+ /**
384
+ * Returns the base string of this request
385
+ *
386
+ * The base string defined as the method, the url
387
+ * and the parameters (normalized), each urlencoded
388
+ * and the concated with &.
389
+ */
390
+ public function get_signature_base_string() {
391
+ $parts = array(
392
+ $this->get_normalized_http_method(),
393
+ $this->get_normalized_http_url(),
394
+ $this->get_signable_parameters()
395
+ );
396
+
397
+ $parts = OAuthUtil::urlencode_rfc3986($parts);
398
+
399
+ return implode('&', $parts);
400
+ }
401
+
402
+ /**
403
+ * just uppercases the http method
404
+ */
405
+ public function get_normalized_http_method() {
406
+ return strtoupper($this->http_method);
407
+ }
408
+
409
+ /**
410
+ * parses the url and rebuilds it to be
411
+ * scheme://host/path
412
+ */
413
+ public function get_normalized_http_url() {
414
+ $parts = parse_url($this->http_url);
415
+
416
+ $port = @$parts['port'];
417
+ $scheme = $parts['scheme'];
418
+ $host = $parts['host'];
419
+ $path = @$parts['path'];
420
+
421
+ $port or $port = ($scheme == 'https') ? '443' : '80';
422
+
423
+ if (($scheme == 'https' && $port != '443')
424
+ || ($scheme == 'http' && $port != '80')) {
425
+ $host = "$host:$port";
426
+ }
427
+ return "$scheme://$host$path";
428
+ }
429
+
430
+ /**
431
+ * builds a url usable for a GET request
432
+ */
433
+ public function to_url() {
434
+ $post_data = $this->to_postdata();
435
+ $out = $this->get_normalized_http_url();
436
+ if ($post_data) {
437
+ $out .= '?'.$post_data;
438
+ }
439
+ return $out;
440
+ }
441
+
442
+ /**
443
+ * builds the data one would send in a POST request
444
+ */
445
+ public function to_postdata() {
446
+ return OAuthUtil::build_http_query($this->parameters);
447
+ }
448
+
449
+ /**
450
+ * builds the Authorization: header
451
+ */
452
+ public function to_header($realm=null) {
453
+ $first = true;
454
+ if($realm) {
455
+ $out = 'Authorization: OAuth realm="' . OAuthUtil::urlencode_rfc3986($realm) . '"';
456
+ $first = false;
457
+ } else
458
+ $out = 'Authorization: OAuth';
459
+
460
+ $total = array();
461
+ foreach ($this->parameters as $k => $v) {
462
+ if (substr($k, 0, 5) != "oauth") continue;
463
+ if (is_array($v)) {
464
+ throw new OAuthException('Arrays not supported in headers');
465
+ }
466
+ $out .= ($first) ? ' ' : ',';
467
+ $out .= OAuthUtil::urlencode_rfc3986($k) .
468
+ '="' .
469
+ OAuthUtil::urlencode_rfc3986($v) .
470
+ '"';
471
+ $first = false;
472
+ }
473
+ return $out;
474
+ }
475
+
476
+ public function __toString() {
477
+ return $this->to_url();
478
+ }
479
+ public function sign_request($signature_method, $consumer, $token) {
480
+ $this->set_parameter(
481
+ "oauth_signature_method",
482
+ $signature_method->get_name(),
483
+ false
484
+ );
485
+ $signature = $this->build_signature($signature_method, $consumer, $token);
486
+ $this->set_parameter("oauth_signature", $signature, false);
487
+ }
488
+
489
+ public function build_signature($signature_method, $consumer, $token) {
490
+ $signature = $signature_method->build_signature($this, $consumer, $token);
491
+ return $signature;
492
+ }
493
+
494
+ /**
495
+ * util function: current timestamp
496
+ */
497
+ private static function generate_timestamp() {
498
+ return time();
499
+ }
500
+
501
+ /**
502
+ * util function: current nonce
503
+ */
504
+ private static function generate_nonce() {
505
+ $mt = microtime();
506
+ $rand = mt_rand();
507
+
508
+ return md5($mt . $rand); // md5s look nicer than numbers
509
+ }
510
+ }
511
+ }
512
+
513
+ if (!class_exists('OAuthServer'))
514
+ {
515
+ class OAuthServer {
516
+ protected $timestamp_threshold = 300; // in seconds, five minutes
517
+ protected $version = '1.0'; // hi blaine
518
+ protected $signature_methods = array();
519
+
520
+ protected $data_store;
521
+
522
+ function __construct($data_store) {
523
+ $this->data_store = $data_store;
524
+ }
525
+
526
+ public function add_signature_method($signature_method) {
527
+ $this->signature_methods[$signature_method->get_name()] =
528
+ $signature_method;
529
+ }
530
+
531
+ // high level functions
532
+
533
+ /**
534
+ * process a request_token request
535
+ * returns the request token on success
536
+ */
537
+ public function fetch_request_token(&$request) {
538
+ $this->get_version($request);
539
+
540
+ $consumer = $this->get_consumer($request);
541
+
542
+ // no token required for the initial token request
543
+ $token = NULL;
544
+
545
+ $this->check_signature($request, $consumer, $token);
546
+
547
+ // Rev A change
548
+ $callback = $request->get_parameter('oauth_callback');
549
+ $new_token = $this->data_store->new_request_token($consumer, $callback);
550
+
551
+ return $new_token;
552
+ }
553
+
554
+ /**
555
+ * process an access_token request
556
+ * returns the access token on success
557
+ */
558
+ public function fetch_access_token(&$request) {
559
+ $this->get_version($request);
560
+
561
+ $consumer = $this->get_consumer($request);
562
+
563
+ // requires authorized request token
564
+ $token = $this->get_token($request, $consumer, "request");
565
+
566
+ $this->check_signature($request, $consumer, $token);
567
+
568
+ // Rev A change
569
+ $verifier = $request->get_parameter('oauth_verifier');
570
+ $new_token = $this->data_store->new_access_token($token, $consumer, $verifier);
571
+
572
+ return $new_token;
573
+ }
574
+
575
+ /**
576
+ * verify an api call, checks all the parameters
577
+ */
578
+ public function verify_request(&$request) {
579
+ $this->get_version($request);
580
+ $consumer = $this->get_consumer($request);
581
+ $token = $this->get_token($request, $consumer, "access");
582
+ $this->check_signature($request, $consumer, $token);
583
+ return array($consumer, $token);
584
+ }
585
+
586
+ // Internals from here
587
+ /**
588
+ * version 1
589
+ */
590
+ private function get_version(&$request) {
591
+ $version = $request->get_parameter("oauth_version");
592
+ if (!$version) {
593
+ // Service Providers MUST assume the protocol version to be 1.0 if this parameter is not present.
594
+ // Chapter 7.0 ("Accessing Protected Ressources")
595
+ $version = '1.0';
596
+ }
597
+ if ($version !== $this->version) {
598
+ throw new OAuthException("OAuth version '$version' not supported");
599
+ }
600
+ return $version;
601
+ }
602
+
603
+ /**
604
+ * figure out the signature with some defaults
605
+ */
606
+ private function get_signature_method(&$request) {
607
+ $signature_method =
608
+ @$request->get_parameter("oauth_signature_method");
609
+
610
+ if (!$signature_method) {
611
+ // According to chapter 7 ("Accessing Protected Ressources") the signature-method
612
+ // parameter is required, and we can't just fallback to PLAINTEXT
613
+ throw new OAuthException('No signature method parameter. This parameter is required');
614
+ }
615
+
616
+ if (!in_array($signature_method,
617
+ array_keys($this->signature_methods))) {
618
+ throw new OAuthException(
619
+ "Signature method '$signature_method' not supported " .
620
+ "try one of the following: " .
621
+ implode(", ", array_keys($this->signature_methods))
622
+ );
623
+ }
624
+ return $this->signature_methods[$signature_method];
625
+ }
626
+
627
+ /**
628
+ * try to find the consumer for the provided request's consumer key
629
+ */
630
+ private function get_consumer(&$request) {
631
+ $consumer_key = @$request->get_parameter("oauth_consumer_key");
632
+ if (!$consumer_key) {
633
+ throw new OAuthException("Invalid consumer key");
634
+ }
635
+
636
+ $consumer = $this->data_store->lookup_consumer($consumer_key);
637
+ if (!$consumer) {
638
+ throw new OAuthException("Invalid consumer");
639
+ }
640
+
641
+ return $consumer;
642
+ }
643
+
644
+ /**
645
+ * try to find the token for the provided request's token key
646
+ */
647
+ private function get_token(&$request, $consumer, $token_type="access") {
648
+ $token_field = @$request->get_parameter('oauth_token');
649
+ $token = $this->data_store->lookup_token(
650
+ $consumer, $token_type, $token_field
651
+ );
652
+ if (!$token) {
653
+ throw new OAuthException("Invalid $token_type token: $token_field");
654
+ }
655
+ return $token;
656
+ }
657
+
658
+ /**
659
+ * all-in-one function to check the signature on a request
660
+ * should guess the signature method appropriately
661
+ */
662
+ private function check_signature(&$request, $consumer, $token) {
663
+ // this should probably be in a different method
664
+ $timestamp = @$request->get_parameter('oauth_timestamp');
665
+ $nonce = @$request->get_parameter('oauth_nonce');
666
+
667
+ $this->check_timestamp($timestamp);
668
+ $this->check_nonce($consumer, $token, $nonce, $timestamp);
669
+
670
+ $signature_method = $this->get_signature_method($request);
671
+
672
+ $signature = $request->get_parameter('oauth_signature');
673
+ $valid_sig = $signature_method->check_signature(
674
+ $request,
675
+ $consumer,
676
+ $token,
677
+ $signature
678
+ );
679
+
680
+ if (!$valid_sig) {
681
+ throw new OAuthException("Invalid signature");
682
+ }
683
+ }
684
+
685
+ /**
686
+ * check that the timestamp is new enough
687
+ */
688
+ private function check_timestamp($timestamp) {
689
+ if( ! $timestamp )
690
+ throw new OAuthException(
691
+ 'Missing timestamp parameter. The parameter is required'
692
+ );
693
+
694
+ // verify that timestamp is recentish
695
+ $now = time();
696
+ if (abs($now - $timestamp) > $this->timestamp_threshold) {
697
+ throw new OAuthException(
698
+ "Expired timestamp, yours $timestamp, ours $now"
699
+ );
700
+ }
701
+ }
702
+
703
+ /**
704
+ * check that the nonce is not repeated
705
+ */
706
+ private function check_nonce($consumer, $token, $nonce, $timestamp) {
707
+ if( ! $nonce )
708
+ throw new OAuthException(
709
+ 'Missing nonce parameter. The parameter is required'
710
+ );
711
+
712
+ // verify that the nonce is uniqueish
713
+ $found = $this->data_store->lookup_nonce(
714
+ $consumer,
715
+ $token,
716
+ $nonce,
717
+ $timestamp
718
+ );
719
+ if ($found) {
720
+ throw new OAuthException("Nonce already used: $nonce");
721
+ }
722
+ }
723
+ }
724
+ }
725
+ if (!class_exists('OAuthDataStore'))
726
+ {
727
+ class OAuthDataStore {
728
+ function lookup_consumer($consumer_key) {
729
+ // implement me
730
+ }
731
+
732
+ function lookup_token($consumer, $token_type, $token) {
733
+ // implement me
734
+ }
735
+
736
+ function lookup_nonce($consumer, $token, $nonce, $timestamp) {
737
+ // implement me
738
+ }
739
+
740
+ function new_request_token($consumer, $callback = null) {
741
+ // return a new token attached to this consumer
742
+ }
743
+
744
+ function new_access_token($token, $consumer, $verifier = null) {
745
+ // return a new access token attached to this consumer
746
+ // for the user associated with this token if the request token
747
+ // is authorized
748
+ // should also invalidate the request token
749
+ }
750
+
751
+ }
752
+ }
753
+
754
+ if (!class_exists('OAuthUtil'))
755
+ {
756
+ class OAuthUtil {
757
+ public static function urlencode_rfc3986($input) {
758
+ if (is_array($input)) {
759
+ return array_map(array('OAuthUtil', 'urlencode_rfc3986'), $input);
760
+ } else if (is_scalar($input)) {
761
+ return str_replace(
762
+ '+',
763
+ ' ',
764
+ str_replace('%7E', '~', rawurlencode($input))
765
+ );
766
+ } else {
767
+ return '';
768
+ }
769
+ }
770
+
771
+
772
+ // This decode function isn't taking into consideration the above
773
+ // modifications to the encoding process. However, this method doesn't
774
+ // seem to be used anywhere so leaving it as is.
775
+ public static function urldecode_rfc3986($string) {
776
+ return urldecode($string);
777
+ }
778
+
779
+ // Utility function for turning the Authorization: header into
780
+ // parameters, has to do some unescaping
781
+ // Can filter out any non-oauth parameters if needed (default behaviour)
782
+ public static function split_header($header, $only_allow_oauth_parameters = true) {
783
+ $pattern = '/(([-_a-z]*)=("([^"]*)"|([^,]*)),?)/';
784
+ $offset = 0;
785
+ $params = array();
786
+ while (preg_match($pattern, $header, $matches, PREG_OFFSET_CAPTURE, $offset) > 0) {
787
+ $match = $matches[0];
788
+ $header_name = $matches[2][0];
789
+ $header_content = (isset($matches[5])) ? $matches[5][0] : $matches[4][0];
790
+ if (preg_match('/^oauth_/', $header_name) || !$only_allow_oauth_parameters) {
791
+ $params[$header_name] = OAuthUtil::urldecode_rfc3986($header_content);
792
+ }
793
+ $offset = $match[1] + strlen($match[0]);
794
+ }
795
+
796
+ if (isset($params['realm'])) {
797
+ unset($params['realm']);
798
+ }
799
+
800
+ return $params;
801
+ }
802
+
803
+ // helper to try to sort out headers for people who aren't running apache
804
+ public static function get_headers() {
805
+ if (function_exists('apache_request_headers')) {
806
+ // we need this to get the actual Authorization: header
807
+ // because apache tends to tell us it doesn't exist
808
+ $headers = apache_request_headers();
809
+
810
+ // sanitize the output of apache_request_headers because
811
+ // we always want the keys to be Cased-Like-This and arh()
812
+ // returns the headers in the same case as they are in the
813
+ // request
814
+ $out = array();
815
+ foreach( $headers AS $key => $value ) {
816
+ $key = str_replace(
817
+ " ",
818
+ "-",
819
+ ucwords(strtolower(str_replace("-", " ", $key)))
820
+ );
821
+ $out[$key] = $value;
822
+ }
823
+ } else {
824
+ // otherwise we don't have apache and are just going to have to hope
825
+ // that $_SERVER actually contains what we need
826
+ $out = array();
827
+ if( isset($_SERVER['CONTENT_TYPE']) )
828
+ $out['Content-Type'] = $_SERVER['CONTENT_TYPE'];
829
+ if( isset($_ENV['CONTENT_TYPE']) )
830
+ $out['Content-Type'] = $_ENV['CONTENT_TYPE'];
831
+
832
+ foreach ($_SERVER as $key => $value) {
833
+ if (substr($key, 0, 5) == "HTTP_") {
834
+ // this is chaos, basically it is just there to capitalize the first
835
+ // letter of every word that is not an initial HTTP and strip HTTP
836
+ // code from przemek
837
+ $key = str_replace(
838
+ " ",
839
+ "-",
840
+ ucwords(strtolower(str_replace("_", " ", substr($key, 5))))
841
+ );
842
+ $out[$key] = $value;
843
+ }
844
+ }
845
+ }
846
+ return $out;
847
+ }
848
+
849
+ // This function takes a input like a=b&a=c&d=e and returns the parsed
850
+ // parameters like this
851
+ // array('a' => array('b','c'), 'd' => 'e')
852
+ public static function parse_parameters( $input ) {
853
+ if (!isset($input) || !$input) return array();
854
+
855
+ $pairs = explode('&', $input);
856
+
857
+ $parsed_parameters = array();
858
+ foreach ($pairs as $pair) {
859
+ $split = explode('=', $pair, 2);
860
+ $parameter = OAuthUtil::urldecode_rfc3986($split[0]);
861
+ $value = isset($split[1]) ? OAuthUtil::urldecode_rfc3986($split[1]) : '';
862
+
863
+ if (isset($parsed_parameters[$parameter])) {
864
+ // We have already recieved parameter(s) with this name, so add to the list
865
+ // of parameters with this name
866
+
867
+ if (is_scalar($parsed_parameters[$parameter])) {
868
+ // This is the first duplicate, so transform scalar (string) into an array
869
+ // so we can add the duplicates
870
+ $parsed_parameters[$parameter] = array($parsed_parameters[$parameter]);
871
+ }
872
+
873
+ $parsed_parameters[$parameter][] = $value;
874
+ } else {
875
+ $parsed_parameters[$parameter] = $value;
876
+ }
877
+ }
878
+ return $parsed_parameters;
879
+ }
880
+
881
+ public static function build_http_query($params) {
882
+ if (!$params) return '';
883
+
884
+ // Urlencode both keys and values
885
+ $keys = OAuthUtil::urlencode_rfc3986(array_keys($params));
886
+ $values = OAuthUtil::urlencode_rfc3986(array_values($params));
887
+ $params = array_combine($keys, $values);
888
+
889
+ // Parameters are sorted by name, using lexicographical byte value ordering.
890
+ // Ref: Spec: 9.1.1 (1)
891
+ uksort($params, 'strcmp');
892
+
893
+ $pairs = array();
894
+ foreach ($params as $parameter => $value) {
895
+ if (is_array($value)) {
896
+ // If two or more parameters share the same name, they are sorted by their value
897
+ // Ref: Spec: 9.1.1 (1)
898
+ natsort($value);
899
+ foreach ($value as $duplicate_value) {
900
+ $pairs[] = $parameter . '=' . $duplicate_value;
901
+ }
902
+ } else {
903
+ $pairs[] = $parameter . '=' . $value;
904
+ }
905
+ }
906
+ // For each parameter, the name is separated from the corresponding value by an '=' character (ASCII code 61)
907
+ // Each name-value pair is separated by an '&' character (ASCII code 38)
908
+ return implode('&', $pairs);
909
+ }
910
+ }
911
  }
helpers/twitteroauth/src/TwitterOAuth.php CHANGED
@@ -1,506 +1,506 @@
1
- <?php
2
- /**
3
- * The most popular PHP library for use with the Twitter OAuth REST API.
4
- *
5
- * @license MIT
6
- */
7
- namespace Abraham\TwitterOAuth;
8
-
9
- use Abraham\TwitterOAuth\Util\JsonDecoder;
10
-
11
- /**
12
- * TwitterOAuth class for interacting with the Twitter API.
13
- *
14
- * @author Abraham Williams <abraham@abrah.am>
15
- */
16
- class TwitterOAuth extends Config
17
- {
18
- const API_VERSION = '1.1';
19
- const API_HOST = 'https://api.twitter.com';
20
- const UPLOAD_HOST = 'https://upload.twitter.com';
21
-
22
- /** @var Response details about the result of the last request */
23
- private $response;
24
- /** @var string|null Application bearer token */
25
- private $bearer;
26
- /** @var Consumer Twitter application details */
27
- private $consumer;
28
- /** @var Token|null User access token details */
29
- private $token;
30
- /** @var HmacSha1 OAuth 1 signature type used by Twitter */
31
- private $signatureMethod;
32
-
33
- /**
34
- * Constructor
35
- *
36
- * @param string $consumerKey The Application Consumer Key
37
- * @param string $consumerSecret The Application Consumer Secret
38
- * @param string|null $oauthToken The Client Token (optional)
39
- * @param string|null $oauthTokenSecret The Client Token Secret (optional)
40
- */
41
- public function __construct($consumerKey, $consumerSecret, $oauthToken = null, $oauthTokenSecret = null)
42
- {
43
- $this->resetLastResponse();
44
- $this->signatureMethod = new HmacSha1();
45
- $this->consumer = new Consumer($consumerKey, $consumerSecret);
46
- if (!empty($oauthToken) && !empty($oauthTokenSecret)) {
47
- $this->token = new Token($oauthToken, $oauthTokenSecret);
48
- }
49
- if (empty($oauthToken) && !empty($oauthTokenSecret)) {
50
- $this->bearer = $oauthTokenSecret;
51
- }
52
- }
53
-
54
- /**
55
- * @param string $oauthToken
56
- * @param string $oauthTokenSecret
57
- */
58
- public function setOauthToken($oauthToken, $oauthTokenSecret)
59
- {
60
- $this->token = new Token($oauthToken, $oauthTokenSecret);
61
- }
62
-
63
- /**
64
- * @return string|null
65
- */
66
- public function getLastApiPath()
67
- {
68
- return $this->response->getApiPath();
69
- }
70
-
71
- /**
72
- * @return int
73
- */
74
- public function getLastHttpCode()
75
- {
76
- return $this->response->getHttpCode();
77
- }
78
-
79
- /**
80
- * @return array
81
- */
82
- public function getLastXHeaders()
83
- {
84
- return $this->response->getXHeaders();
85
- }
86
-
87
- /**
88
- * @return array|object|null
89
- */
90
- public function getLastBody()
91
- {
92
- return $this->response->getBody();
93
- }
94
-
95
- /**
96
- * Resets the last response cache.
97
- */
98
- public function resetLastResponse()
99
- {
100
- $this->response = new Response();
101
- }
102
-
103
- /**
104
- * Make URLs for user browser navigation.
105
- *
106
- * @param string $path
107
- * @param array $parameters
108
- *
109
- * @return string
110
- */
111
- public function url($path, array $parameters)
112
- {
113
- $this->resetLastResponse();
114
- $this->response->setApiPath($path);
115
- $query = http_build_query($parameters);
116
- return sprintf('%s/%s?%s', self::API_HOST, $path, $query);
117
- }
118
-
119
- /**
120
- * Make /oauth/* requests to the API.
121
- *
122
- * @param string $path
123
- * @param array $parameters
124
- *
125
- * @return array
126
- * @throws TwitterOAuthException
127
- */
128
- public function oauth($path, array $parameters = [])
129
- {
130
- $response = [];
131
- $this->resetLastResponse();
132
- $this->response->setApiPath($path);
133
- $url = sprintf('%s/%s', self::API_HOST, $path);
134
- $result = $this->oAuthRequest($url, 'POST', $parameters);
135
-
136
- if ($this->getLastHttpCode() != 200) {
137
- throw new TwitterOAuthException($result);
138
- }
139
-
140
- parse_str($result, $response);
141
- $this->response->setBody($response);
142
-
143
- return $response;
144
- }
145
-
146
- /**
147
- * Make /oauth2/* requests to the API.
148
- *
149
- * @param string $path
150
- * @param array $parameters
151
- *
152
- * @return array|object
153
- */
154
- public function oauth2($path, array $parameters = [])
155
- {
156
- $method = 'POST';
157
- $this->resetLastResponse();
158
- $this->response->setApiPath($path);
159
- $url = sprintf('%s/%s', self::API_HOST, $path);
160
- $request = Request::fromConsumerAndToken($this->consumer, $this->token, $method, $url, $parameters);
161
- $authorization = 'Authorization: Basic ' . $this->encodeAppAuthorization($this->consumer);
162
- $result = $this->request($request->getNormalizedHttpUrl(), $method, $authorization, $parameters);
163
- $response = JsonDecoder::decode($result, $this->decodeJsonAsArray);
164
- $this->response->setBody($response);
165
- return $response;
166
- }
167
-
168
- /**
169
- * Make GET requests to the API.
170
- *
171
- * @param string $path
172
- * @param array $parameters
173
- *
174
- * @return array|object
175
- */
176
- public function get($path, array $parameters = [])
177
- {
178
- return $this->http('GET', self::API_HOST, $path, $parameters);
179
- }
180
-
181
- /**
182
- * Make POST requests to the API.
183
- *
184
- * @param string $path
185
- * @param array $parameters
186
- *
187
- * @return array|object
188
- */
189
- public function post($path, array $parameters = [])
190
- {
191
- return $this->http('POST', self::API_HOST, $path, $parameters);
192
- }
193
-
194
- /**
195
- * Make DELETE requests to the API.
196
- *
197
- * @param string $path
198
- * @param array $parameters
199
- *
200
- * @return array|object
201
- */
202
- public function delete($path, array $parameters = [])
203
- {
204
- return $this->http('DELETE', self::API_HOST, $path, $parameters);
205
- }
206
-
207
- /**
208
- * Make PUT requests to the API.
209
- *
210
- * @param string $path
211
- * @param array $parameters
212
- *
213
- * @return array|object
214
- */
215
- public function put($path, array $parameters = [])
216
- {
217
- return $this->http('PUT', self::API_HOST, $path, $parameters);
218
- }
219
-
220
- /**
221
- * Upload media to upload.twitter.com.
222
- *
223
- * @param string $path
224
- * @param array $parameters
225
- * @param boolean $chunked
226
- *
227
- * @return array|object
228
- */
229
- public function upload($path, array $parameters = [], $chunked = false)
230
- {
231
- if ($chunked) {
232
- return $this->uploadMediaChunked($path, $parameters);
233
- } else {
234
- return $this->uploadMediaNotChunked($path, $parameters);
235
- }
236
- }
237
-
238
- /**
239
- * Private method to upload media (not chunked) to upload.twitter.com.
240
- *
241
- * @param string $path
242
- * @param array $parameters
243
- *
244
- * @return array|object
245
- */
246
- private function uploadMediaNotChunked($path, array $parameters)
247
- {
248
- $file = file_get_contents($parameters['media']);
249
- $base = base64_encode($file);
250
- $parameters['media'] = $base;
251
- return $this->http('POST', self::UPLOAD_HOST, $path, $parameters);
252
- }
253
-
254
- /**
255
- * Private method to upload media (chunked) to upload.twitter.com.
256
- *
257
- * @param string $path
258
- * @param array $parameters
259
- *
260
- * @return array|object
261
- */
262
- private function uploadMediaChunked($path, array $parameters)
263
- {
264
- $init = $this->http('POST', self::UPLOAD_HOST, $path, $this->mediaInitParameters($parameters));
265
- // Append
266
- $segmentIndex = 0;
267
- $media = fopen($parameters['media'], 'rb');
268
- while (!feof($media))
269
- {
270
- $this->http('POST', self::UPLOAD_HOST, 'media/upload', [
271
- 'command' => 'APPEND',
272
- 'media_id' => $init->media_id_string,
273
- 'segment_index' => $segmentIndex++,
274
- 'media_data' => base64_encode(fread($media, $this->chunkSize))
275
- ]);
276
- }
277
- fclose($media);
278
- // Finalize
279
- $finalize = $this->http('POST', self::UPLOAD_HOST, 'media/upload', [
280
- 'command' => 'FINALIZE',
281
- 'media_id' => $init->media_id_string
282
- ]);
283
- return $finalize;
284
- }
285
-
286
- /**
287
- * Private method to get params for upload media chunked init.
288
- * Twitter docs: https://dev.twitter.com/rest/reference/post/media/upload-init.html
289
- *
290
- * @param array $parameters
291
- *
292
- * @return array
293
- */
294
- private function mediaInitParameters(array $parameters)
295
- {
296
- $return = [
297
- 'command' => 'INIT',
298
- 'media_type' => $parameters['media_type'],
299
- 'total_bytes' => filesize($parameters['media'])
300
- ];
301
- if (isset($parameters['additional_owners'])) {
302
- $return['additional_owners'] = $parameters['additional_owners'];
303
- }
304
- if (isset($parameters['media_category'])) {
305
- $return['media_category'] = $parameters['media_category'];
306
- }
307
- return $return;
308
- }
309
-
310
- /**
311
- * @param string $method
312
- * @param string $host
313
- * @param string $path
314
- * @param array $parameters
315
- *
316
- * @return array|object
317
- */
318
- private function http($method, $host, $path, array $parameters)
319
- {
320
- $this->resetLastResponse();
321
- $url = sprintf('%s/%s/%s.json', $host, self::API_VERSION, $path);
322
- $this->response->setApiPath($path);
323
- $result = $this->oAuthRequest($url, $method, $parameters);
324
- $response = JsonDecoder::decode($result, $this->decodeJsonAsArray);
325
- $this->response->setBody($response);
326
- return $response;
327
- }
328
-
329
- /**
330
- * Format and sign an OAuth / API request
331
- *
332
- * @param string $url
333
- * @param string $method
334
- * @param array $parameters
335
- *
336
- * @return string
337
- * @throws TwitterOAuthException
338
- */
339
- private function oAuthRequest($url, $method, array $parameters)
340
- {
341
- $request = Request::fromConsumerAndToken($this->consumer, $this->token, $method, $url, $parameters);
342
- if (array_key_exists('oauth_callback', $parameters)) {
343
- // Twitter doesn't like oauth_callback as a parameter.
344
- unset($parameters['oauth_callback']);
345
- }
346
- if ($this->bearer === null) {
347
- $request->signRequest($this->signatureMethod, $this->consumer, $this->token);
348
- $authorization = $request->toHeader();
349
- if (array_key_exists('oauth_verifier', $parameters)) {
350
- // Twitter doesn't always work with oauth in the body and in the header
351
- // and it's already included in the $authorization header
352
- unset($parameters['oauth_verifier']);
353
- }
354
- } else {
355
- $authorization = 'Authorization: Bearer ' . $this->bearer;
356
- }
357
- return $this->request($request->getNormalizedHttpUrl(), $method, $authorization, $parameters);
358
- }
359
-
360
- /**
361
- * Set Curl options.
362
- *
363
- * @return array
364
- */
365
- private function curlOptions()
366
- {
367
- $options = [
368
- // CURLOPT_VERBOSE => true,
369
- CURLOPT_CONNECTTIMEOUT => $this->connectionTimeout,
370
- CURLOPT_HEADER => true,
371
- CURLOPT_RETURNTRANSFER => true,
372
- CURLOPT_SSL_VERIFYHOST => 2,
373
- CURLOPT_SSL_VERIFYPEER => true,
374
- CURLOPT_TIMEOUT => $this->timeout,
375
- CURLOPT_USERAGENT => $this->userAgent,
376
- ];
377
-
378
- if ($this->useCAFile()) {
379
- $options[CURLOPT_CAINFO] = __DIR__ . DIRECTORY_SEPARATOR . 'cacert.pem';
380
- }
381
-
382
- if($this->gzipEncoding) {
383
- $options[CURLOPT_ENCODING] = 'gzip';
384
- }
385
-
386
- if (!empty($this->proxy)) {
387
- $options[CURLOPT_PROXY] = $this->proxy['CURLOPT_PROXY'];
388
- $options[CURLOPT_PROXYUSERPWD] = $this->proxy['CURLOPT_PROXYUSERPWD'];
389
- $options[CURLOPT_PROXYPORT] = $this->proxy['CURLOPT_PROXYPORT'];
390
- $options[CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
391
- $options[CURLOPT_PROXYTYPE] = CURLPROXY_HTTP;
392
- }
393
-
394
- return $options;
395
- }
396
-
397
- /**
398
- * Make an HTTP request
399
- *
400
- * @param string $url
401
- * @param string $method
402
- * @param string $authorization
403
- * @param array $postfields
404
- *
405
- * @return string
406
- * @throws TwitterOAuthException
407
- */
408
- private function request($url, $method, $authorization, array $postfields)
409
- {
410
- $options = $this->curlOptions($url, $authorization);
411
- $options[CURLOPT_URL] = $url;
412
- $options[CURLOPT_HTTPHEADER] = ['Accept: application/json', $authorization, 'Expect:'];
413
-
414
- switch ($method) {
415
- case 'GET':
416
- break;
417
- case 'POST':
418
- $options[CURLOPT_POST] = true;
419
- $options[CURLOPT_POSTFIELDS] = Util::buildHttpQuery($postfields);
420
- break;
421
- case 'DELETE':
422
- $options[CURLOPT_CUSTOMREQUEST] = 'DELETE';
423
- break;
424
- case 'PUT':
425
- $options[CURLOPT_CUSTOMREQUEST] = 'PUT';
426
- break;
427
- }
428
-
429
- if (in_array($method, ['GET', 'PUT', 'DELETE']) && !empty($postfields)) {
430
- $options[CURLOPT_URL] .= '?' . Util::buildHttpQuery($postfields);
431
- }
432
- $curlHandle = curl_init();
433
- curl_setopt_array($curlHandle, $options);
434
- $response = curl_exec($curlHandle);
435
-
436
- // Throw exceptions on cURL errors.
437
- if (curl_errno($curlHandle) > 0) {
438
- throw new TwitterOAuthException(curl_error($curlHandle), curl_errno($curlHandle));
439
- }
440
-
441
- $this->response->setHttpCode(curl_getinfo($curlHandle, CURLINFO_HTTP_CODE));
442
- $parts = explode("\r\n\r\n", $response);
443
- $responseBody = array_pop($parts);
444
- $responseHeader = array_pop($parts);
445
- $this->response->setHeaders($this->parseHeaders($responseHeader));
446
-
447
- curl_close($curlHandle);
448
-
449
- return $responseBody;
450
- }
451
-
452
- /**
453
- * Get the header info to store.
454
- *
455
- * @param string $header
456
- *
457
- * @return array
458
- */
459
- private function parseHeaders($header)
460
- {
461
- $headers = [];
462
- foreach (explode("\r\n", $header) as $line) {
463
- if (strpos($line, ':') !== false) {
464
- list ($key, $value) = explode(': ', $line);
465
- $key = str_replace('-', '_', strtolower($key));
466
- $headers[$key] = trim($value);
467
- }
468
- }
469
- return $headers;
470
- }
471
-
472
- /**
473
- * Encode application authorization header with base64.
474
- *
475
- * @param Consumer $consumer
476
- *
477
- * @return string
478
- */
479
- private function encodeAppAuthorization(Consumer $consumer)
480
- {
481
- $key = rawurlencode($consumer->key);
482
- $secret = rawurlencode($consumer->secret);
483
- return base64_encode($key . ':' . $secret);
484
- }
485
-
486
- /**
487
- * Is the code running from a Phar module.
488
- *
489
- * @return boolean
490
- */
491
- private function pharRunning()
492
- {
493
- return class_exists('Phar') && \Phar::running(false) !== '';
494
- }
495
-
496
- /**
497
- * Use included CA file instead of OS provided list.
498
- *
499
- * @return boolean
500
- */
501
- private function useCAFile()
502
- {
503
- /* Use CACert file when not in a PHAR file. */
504
- return !$this->pharRunning();
505
- }
506
- }
1
+ <?php
2
+ /**
3
+ * The most popular PHP library for use with the Twitter OAuth REST API.
4
+ *
5
+ * @license MIT
6
+ */
7
+ namespace Abraham\TwitterOAuth;
8
+
9
+ use Abraham\TwitterOAuth\Util\JsonDecoder;
10
+
11
+ /**
12
+ * TwitterOAuth class for interacting with the Twitter API.
13
+ *
14
+ * @author Abraham Williams <abraham@abrah.am>
15
+ */
16
+ class TwitterOAuth extends Config
17
+ {
18
+ const API_VERSION = '1.1';
19
+ const API_HOST = 'https://api.twitter.com';
20
+ const UPLOAD_HOST = 'https://upload.twitter.com';
21
+
22
+ /** @var Response details about the result of the last request */
23
+ private $response;
24
+ /** @var string|null Application bearer token */
25
+ private $bearer;
26
+ /** @var Consumer Twitter application details */
27
+ private $consumer;
28
+ /** @var Token|null User access token details */
29
+ private $token;
30
+ /** @var HmacSha1 OAuth 1 signature type used by Twitter */
31
+ private $signatureMethod;
32
+
33
+ /**
34
+ * Constructor
35
+ *
36
+ * @param string $consumerKey The Application Consumer Key
37
+ * @param string $consumerSecret The Application Consumer Secret
38
+ * @param string|null $oauthToken The Client Token (optional)
39
+ * @param string|null $oauthTokenSecret The Client Token Secret (optional)
40
+ */
41
+ public function __construct($consumerKey, $consumerSecret, $oauthToken = null, $oauthTokenSecret = null)
42
+ {
43
+ $this->resetLastResponse();
44
+ $this->signatureMethod = new HmacSha1();
45
+ $this->consumer = new Consumer($consumerKey, $consumerSecret);
46
+ if (!empty($oauthToken) && !empty($oauthTokenSecret)) {
47
+ $this->token = new Token($oauthToken, $oauthTokenSecret);
48
+ }
49
+ if (empty($oauthToken) && !empty($oauthTokenSecret)) {
50
+ $this->bearer = $oauthTokenSecret;
51
+ }
52
+ }
53
+
54
+ /**
55
+ * @param string $oauthToken
56
+ * @param string $oauthTokenSecret
57
+ */
58
+ public function setOauthToken($oauthToken, $oauthTokenSecret)
59
+ {
60
+ $this->token = new Token($oauthToken, $oauthTokenSecret);
61
+ }
62
+
63
+ /**
64
+ * @return string|null
65
+ */
66
+ public function getLastApiPath()
67
+ {
68
+ return $this->response->getApiPath();
69
+ }
70
+
71
+ /**
72
+ * @return int
73
+ */
74
+ public function getLastHttpCode()
75
+ {
76
+ return $this->response->getHttpCode();
77
+ }
78
+
79
+ /**
80
+ * @return array
81
+ */
82
+ public function getLastXHeaders()
83
+ {
84
+ return $this->response->getXHeaders();
85
+ }
86
+
87
+ /**
88
+ * @return array|object|null
89
+ */
90
+ public function getLastBody()
91
+ {
92
+ return $this->response->getBody();
93
+ }
94
+
95
+ /**
96
+ * Resets the last response cache.
97
+ */
98
+ public function resetLastResponse()
99
+ {
100
+ $this->response = new Response();
101
+ }
102
+
103
+ /**
104
+ * Make URLs for user browser navigation.
105
+ *
106
+ * @param string $path
107
+ * @param array $parameters
108
+ *
109
+ * @return string
110
+ */
111
+ public function url($path, array $parameters)
112
+ {
113
+ $this->resetLastResponse();
114
+ $this->response->setApiPath($path);
115
+ $query = http_build_query($parameters);
116
+ return sprintf('%s/%s?%s', self::API_HOST, $path, $query);
117
+ }
118
+
119
+ /**
120
+ * Make /oauth/* requests to the API.
121
+ *
122
+ * @param string $path
123
+ * @param array $parameters
124
+ *
125
+ * @return array
126
+ * @throws TwitterOAuthException
127
+ */
128
+ public function oauth($path, array $parameters = [])
129
+ {
130
+ $response = [];
131
+ $this->resetLastResponse();
132
+ $this->response->setApiPath($path);
133
+ $url = sprintf('%s/%s', self::API_HOST, $path);
134
+ $result = $this->oAuthRequest($url, 'POST', $parameters);
135
+
136
+ if ($this->getLastHttpCode() != 200) {
137
+ throw new TwitterOAuthException($result);
138
+ }
139
+
140
+ parse_str($result, $response);
141
+ $this->response->setBody($response);
142
+
143
+ return $response;
144
+ }
145
+
146
+ /**
147
+ * Make /oauth2/* requests to the API.
148
+ *
149
+ * @param string $path
150
+ * @param array $parameters
151
+ *
152
+ * @return array|object
153
+ */
154
+ public function oauth2($path, array $parameters = [])
155
+ {
156
+ $method = 'POST';
157
+ $this->resetLastResponse();
158
+ $this->response->setApiPath($path);
159
+ $url = sprintf('%s/%s', self::API_HOST, $path);
160
+ $request = Request::fromConsumerAndToken($this->consumer, $this->token, $method, $url, $parameters);
161
+ $authorization = 'Authorization: Basic ' . $this->encodeAppAuthorization($this->consumer);
162
+ $result = $this->request($request->getNormalizedHttpUrl(), $method, $authorization, $parameters);
163
+ $response = JsonDecoder::decode($result, $this->decodeJsonAsArray);
164
+ $this->response->setBody($response);
165
+ return $response;
166
+ }
167
+
168
+ /**
169
+ * Make GET requests to the API.
170
+ *
171
+ * @param string $path
172
+ * @param array $parameters
173
+ *
174
+ * @return array|object
175
+ */
176
+ public function get($path, array $parameters = [])
177
+ {
178
+ return $this->http('GET', self::API_HOST, $path, $parameters);
179
+ }
180
+
181
+ /**
182
+ * Make POST requests to the API.
183
+ *
184
+ * @param string $path
185
+ * @param array $parameters
186
+ *
187
+ * @return array|object
188
+ */
189
+ public function post($path, array $parameters = [])
190
+ {
191
+ return $this->http('POST', self::API_HOST, $path, $parameters);
192
+ }
193
+
194
+ /**
195
+ * Make DELETE requests to the API.
196
+ *
197
+ * @param string $path
198
+ * @param array $parameters
199
+ *
200
+ * @return array|object
201
+ */
202
+ public function delete($path, array $parameters = [])
203
+ {
204
+ return $this->http('DELETE', self::API_HOST, $path, $parameters);
205
+ }
206
+
207
+ /**
208
+ * Make PUT requests to the API.
209
+ *
210
+ * @param string $path
211
+ * @param array $parameters
212
+ *
213
+ * @return array|object
214
+ */
215
+ public function put($path, array $parameters = [])
216
+ {
217
+ return $this->http('PUT', self::API_HOST, $path, $parameters);
218
+ }
219
+
220
+ /**
221
+ * Upload media to upload.twitter.com.
222
+ *
223
+ * @param string $path
224
+ * @param array $parameters
225
+ * @param boolean $chunked
226
+ *
227
+ * @return array|object
228
+ */
229
+ public function upload($path, array $parameters = [], $chunked = false)
230
+ {
231
+ if ($chunked) {
232
+ return $this->uploadMediaChunked($path, $parameters);
233
+ } else {
234
+ return $this->uploadMediaNotChunked($path, $parameters);
235
+ }
236
+ }
237
+
238
+ /**
239
+ * Private method to upload media (not chunked) to upload.twitter.com.
240
+ *
241
+ * @param string $path
242
+ * @param array $parameters
243
+ *
244
+ * @return array|object
245
+ */
246
+ private function uploadMediaNotChunked($path, array $parameters)
247
+ {
248
+ $file = file_get_contents($parameters['media']);
249
+ $base = base64_encode($file);
250
+ $parameters['media'] = $base;
251
+ return $this->http('POST', self::UPLOAD_HOST, $path, $parameters);
252
+ }
253
+
254
+ /**
255
+ * Private method to upload media (chunked) to upload.twitter.com.
256
+ *
257
+ * @param string $path
258
+ * @param array $parameters
259
+ *
260
+ * @return array|object
261
+ */
262
+ private function uploadMediaChunked($path, array $parameters)
263
+ {
264
+ $init = $this->http('POST', self::UPLOAD_HOST, $path, $this->mediaInitParameters($parameters));
265
+ // Append
266
+ $segmentIndex = 0;
267
+ $media = fopen($parameters['media'], 'rb');
268
+ while (!feof($media))
269
+ {
270
+ $this->http('POST', self::UPLOAD_HOST, 'media/upload', [
271
+ 'command' => 'APPEND',
272
+ 'media_id' => $init->media_id_string,
273
+ 'segment_index' => $segmentIndex++,
274
+ 'media_data' => base64_encode(fread($media, $this->chunkSize))
275
+ ]);
276
+ }
277
+ fclose($media);
278
+ // Finalize
279
+ $finalize = $this->http('POST', self::UPLOAD_HOST, 'media/upload', [
280
+ 'command' => 'FINALIZE',
281
+ 'media_id' => $init->media_id_string
282
+ ]);
283
+ return $finalize;
284
+ }
285
+
286
+ /**
287
+ * Private method to get params for upload media chunked init.
288
+ * Twitter docs: https://dev.twitter.com/rest/reference/post/media/upload-init.html
289
+ *
290
+ * @param array $parameters
291
+ *
292
+ * @return array
293
+ */
294
+ private function mediaInitParameters(array $parameters)
295
+ {
296
+ $return = [
297
+ 'command' => 'INIT',
298
+ 'media_type' => $parameters['media_type'],
299
+ 'total_bytes' => filesize($parameters['media'])
300
+ ];
301
+ if (isset($parameters['additional_owners'])) {
302
+ $return['additional_owners'] = $parameters['additional_owners'];
303
+ }
304
+ if (isset($parameters['media_category'])) {
305
+ $return['media_category'] = $parameters['media_category'];
306
+ }
307
+ return $return;
308
+ }
309
+
310
+ /**
311
+ * @param string $method
312
+ * @param string $host
313
+ * @param string $path
314
+ * @param array $parameters
315
+ *
316
+ * @return array|object
317
+ */
318
+ private function http($method, $host, $path, array $parameters)
319
+ {
320
+ $this->resetLastResponse();
321
+ $url = sprintf('%s/%s/%s.json', $host, self::API_VERSION, $path);
322
+ $this->response->setApiPath($path);
323
+ $result = $this->oAuthRequest($url, $method, $parameters);
324
+ $response = JsonDecoder::decode($result, $this->decodeJsonAsArray);
325
+ $this->response->setBody($response);
326
+ return $response;
327
+ }
328
+
329
+ /**
330
+ * Format and sign an OAuth / API request
331
+ *
332
+ * @param string $url
333
+ * @param string $method
334
+ * @param array $parameters
335
+ *
336
+ * @return string
337
+ * @throws TwitterOAuthException
338
+ */
339
+ private function oAuthRequest($url, $method, array $parameters)
340
+ {
341
+ $request = Request::fromConsumerAndToken($this->consumer, $this->token, $method, $url, $parameters);
342
+ if (array_key_exists('oauth_callback', $parameters)) {
343
+ // Twitter doesn't like oauth_callback as a parameter.
344
+ unset($parameters['oauth_callback']);
345
+ }
346
+ if ($this->bearer === null) {
347
+ $request->signRequest($this->signatureMethod, $this->consumer, $this->token);
348
+ $authorization = $request->toHeader();
349
+ if (array_key_exists('oauth_verifier', $parameters)) {
350
+ // Twitter doesn't always work with oauth in the body and in the header
351
+ // and it's already included in the $authorization header
352
+ unset($parameters['oauth_verifier']);
353
+ }
354
+ } else {
355
+ $authorization = 'Authorization: Bearer ' . $this->bearer;
356
+ }
357
+ return $this->request($request->getNormalizedHttpUrl(), $method, $authorization, $parameters);
358
+ }
359
+
360
+ /**
361
+ * Set Curl options.
362
+ *
363
+ * @return array
364
+ */
365
+ private function curlOptions()
366
+ {
367
+ $options = [
368
+ // CURLOPT_VERBOSE => true,
369
+ CURLOPT_CONNECTTIMEOUT => $this->connectionTimeout,
370
+ CURLOPT_HEADER => true,
371
+ CURLOPT_RETURNTRANSFER => true,
372
+ CURLOPT_SSL_VERIFYHOST => 2,
373
+ CURLOPT_SSL_VERIFYPEER => true,
374
+ CURLOPT_TIMEOUT => $this->timeout,
375
+ CURLOPT_USERAGENT => $this->userAgent,
376
+ ];
377
+
378
+ if ($this->useCAFile()) {
379
+ $options[CURLOPT_CAINFO] = __DIR__ . DIRECTORY_SEPARATOR . 'cacert.pem';
380
+ }
381
+
382
+ if($this->gzipEncoding) {
383
+ $options[CURLOPT_ENCODING] = 'gzip';
384
+ }
385
+
386
+ if (!empty($this->proxy)) {
387
+ $options[CURLOPT_PROXY] = $this->proxy['CURLOPT_PROXY'];
388
+ $options[CURLOPT_PROXYUSERPWD] = $this->proxy['CURLOPT_PROXYUSERPWD'];
389
+ $options[CURLOPT_PROXYPORT] = $this->proxy['CURLOPT_PROXYPORT'];
390
+ $options[CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
391
+ $options[CURLOPT_PROXYTYPE] = CURLPROXY_HTTP;
392
+ }
393
+
394
+ return $options;
395
+ }
396
+
397
+ /**
398
+ * Make an HTTP request
399
+ *
400
+ * @param string $url
401
+ * @param string $method
402
+ * @param string $authorization
403
+ * @param array $postfields
404
+ *
405
+ * @return string
406
+ * @throws TwitterOAuthException
407
+ */
408
+ private function request($url, $method, $authorization, array $postfields)
409
+ {
410
+ $options = $this->curlOptions($url, $authorization);
411
+ $options[CURLOPT_URL] = $url;
412
+ $options[CURLOPT_HTTPHEADER] = ['Accept: application/json', $authorization, 'Expect:'];
413
+
414
+ switch ($method) {
415
+ case 'GET':
416
+ break;
417
+ case 'POST':
418
+ $options[CURLOPT_POST] = true;
419
+ $options[CURLOPT_POSTFIELDS] = Util::buildHttpQuery($postfields);
420
+ break;
421
+ case 'DELETE':
422
+ $options[CURLOPT_CUSTOMREQUEST] = 'DELETE';
423
+ break;
424
+ case 'PUT':
425
+ $options[CURLOPT_CUSTOMREQUEST] = 'PUT';
426
+ break;
427
+ }
428
+
429
+ if (in_array($method, ['GET', 'PUT', 'DELETE']) && !empty($postfields)) {
430
+ $options[CURLOPT_URL] .= '?' . Util::buildHttpQuery($postfields);
431
+ }
432
+ $curlHandle = curl_init();
433
+ curl_setopt_array($curlHandle, $options);
434
+ $response = curl_exec($curlHandle);
435
+
436
+ // Throw exceptions on cURL errors.
437
+ if (curl_errno($curlHandle) > 0) {
438
+ throw new TwitterOAuthException(curl_error($curlHandle), curl_errno($curlHandle));
439
+ }
440
+
441
+ $this->response->setHttpCode(curl_getinfo($curlHandle, CURLINFO_HTTP_CODE));
442
+ $parts = explode("\r\n\r\n", $response);
443
+ $responseBody = array_pop($parts);
444
+ $responseHeader = array_pop($parts);
445
+ $this->response->setHeaders($this->parseHeaders($responseHeader));
446
+
447
+ curl_close($curlHandle);
448
+
449
+ return $responseBody;
450
+ }
451
+
452
+ /**
453
+ * Get the header info to store.
454
+ *
455
+ * @param string $header
456
+ *
457
+ * @return array
458
+ */
459
+ private function parseHeaders($header)
460
+ {
461
+ $headers = [];
462
+ foreach (explode("\r\n", $header) as $line) {
463
+ if (strpos($line, ':') !== false) {
464
+ list ($key, $value) = explode(': ', $line);
465
+ $key = str_replace('-', '_', strtolower($key));
466
+ $headers[$key] = trim($value);
467
+ }
468
+ }
469
+ return $headers;
470
+ }
471
+
472
+ /**
473
+ * Encode application authorization header with base64.
474
+ *
475
+ * @param Consumer $consumer
476
+ *
477
+ * @return string
478
+ */
479
+ private function encodeAppAuthorization(Consumer $consumer)
480
+ {
481
+ $key = rawurlencode($consumer->key);
482
+ $secret = rawurlencode($consumer->secret);
483
+ return base64_encode($key . ':' . $secret);
484
+ }
485
+
486
+ /**
487
+ * Is the code running from a Phar module.
488
+ *
489
+ * @return boolean
490
+ */
491
+ private function pharRunning()
492
+ {
493
+ return class_exists('Phar') && \Phar::running(false) !== '';
494
+ }
495
+
496
+ /**
497
+ * Use included CA file instead of OS provided list.
498
+ *
499
+ * @return boolean
500
+ */
501
+ private function useCAFile()
502
+ {
503
+ /* Use CACert file when not in a PHAR file. */
504
+ return !$this->pharRunning();
505
+ }
506
+ }
images/responsive-icon/Twitter.svg CHANGED
@@ -1,3 +1,3 @@
1
- <svg width="60" height="49" viewBox="0 0 60 49" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M58.292 1.08755C56.5487 2.20994 52.546 3.84093 50.572 3.84093V3.84428C48.318 1.47754 45.1447 0 41.6253 0C34.79 0 29.2473 5.57109 29.2473 12.4388C29.2473 13.393 29.3573 14.3237 29.5607 15.2163H29.5587C20.2867 14.9717 10.146 10.3006 4.04133 2.30576C0.288 8.83575 3.536 16.0981 7.79533 18.7443C6.33733 18.8549 3.65333 18.5754 2.39 17.3365C2.30533 21.6706 4.37867 27.4132 11.9387 29.4965C10.4827 30.2838 7.90533 30.058 6.78467 29.8905C7.178 33.5492 12.2753 38.3322 17.8493 38.3322C15.8627 40.642 8.388 44.8314 0 43.4986C5.69667 46.9824 12.336 49 19.3633 49C39.3333 49 54.842 32.7323 54.0073 12.6639C54.004 12.6418 54.004 12.6197 54.002 12.5956C54.004 12.544 54.0073 12.4924 54.0073 12.4388C54.0073 12.3765 54.002 12.3175 54 12.2572C55.818 11.0075 58.2573 8.79688 60 5.88737C58.9893 6.44689 55.9573 7.56728 53.136 7.84536C54.9467 6.86302 57.6293 3.64594 58.292 1.08755Z" fill="white"/>
3
- </svg>
1
+ <svg width="60" height="49" viewBox="0 0 60 49" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M58.292 1.08755C56.5487 2.20994 52.546 3.84093 50.572 3.84093V3.84428C48.318 1.47754 45.1447 0 41.6253 0C34.79 0 29.2473 5.57109 29.2473 12.4388C29.2473 13.393 29.3573 14.3237 29.5607 15.2163H29.5587C20.2867 14.9717 10.146 10.3006 4.04133 2.30576C0.288 8.83575 3.536 16.0981 7.79533 18.7443C6.33733 18.8549 3.65333 18.5754 2.39 17.3365C2.30533 21.6706 4.37867 27.4132 11.9387 29.4965C10.4827 30.2838 7.90533 30.058 6.78467 29.8905C7.178 33.5492 12.2753 38.3322 17.8493 38.3322C15.8627 40.642 8.388 44.8314 0 43.4986C5.69667 46.9824 12.336 49 19.3633 49C39.3333 49 54.842 32.7323 54.0073 12.6639C54.004 12.6418 54.004 12.6197 54.002 12.5956C54.004 12.544 54.0073 12.4924 54.0073 12.4388C54.0073 12.3765 54.002 12.3175 54 12.2572C55.818 11.0075 58.2573 8.79688 60 5.88737C58.9893 6.44689 55.9573 7.56728 53.136 7.84536C54.9467 6.86302 57.6293 3.64594 58.292 1.08755Z" fill="white"/>
3
+ </svg>
images/responsive-icon/facebook.svg CHANGED
@@ -1,3 +1,3 @@
1
- <svg width="26" height="60" viewBox="0 0 26 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M5.42204 60H16.2608V30.0147H24.3919L26 20.6453H16.2608V13.856C16.2608 11.6673 17.6659 9.36933 19.6741 9.36933H25.2092V0H18.4257V0.042C7.8117 0.43 5.63099 6.62133 5.44188 13.1247H5.42204V20.6453H0V30.0147H5.42204V60Z" fill="white"/>
3
- </svg>
1
+ <svg width="26" height="60" viewBox="0 0 26 60" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M5.42204 60H16.2608V30.0147H24.3919L26 20.6453H16.2608V13.856C16.2608 11.6673 17.6659 9.36933 19.6741 9.36933H25.2092V0H18.4257V0.042C7.8117 0.43 5.63099 6.62133 5.44188 13.1247H5.42204V20.6453H0V30.0147H5.42204V60Z" fill="white"/>
3
+ </svg>
images/share_icons/Pinterest_Save/en_US_save.svg CHANGED
@@ -1,23 +1,23 @@
1
- <svg width="62" height="23" viewBox="0 0 62 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="62" height="23">
3
- <path d="M58.1 0H3.80002C1.70002 0 0 1.70002 0 3.80002V19.2C0 21.3 1.70002 23 3.80002 23H58.1C60.2 23 61.9 21.3 61.9 19.2V3.80002C61.8 1.70002 60.1 0 58.1 0Z" fill="#50ABF1"/>
4
- </mask>
5
- <g mask="url(#mask0)">
6
- <rect width="63" height="23" fill="#0274B3"/>
7
- <rect width="63" height="23" fill="#E1E7EC"/>
8
- <rect width="63" height="23" fill="#CB1F24"/>
9
- <path d="M27.5 13.3L29.3 13.1C29.4 13.7 29.6 14.1 29.9 14.4C30.2 14.7 30.7 14.8 31.2 14.8C31.8 14.8 32.2 14.7 32.5 14.4C32.8 14.2 32.9 13.9 32.9 13.5C32.9 13.3 32.8 13.1 32.7 13C32.6 12.9 32.4 12.7 32 12.6C31.8 12.5 31.3 12.4 30.6 12.2C29.6 12 28.9 11.7 28.6 11.3C28 10.8 27.8 10.2 27.8 9.5C27.8 9 27.9 8.59998 28.2 8.19998C28.5 7.79998 28.8 7.49999 29.3 7.29999C29.8 7.09999 30.4 7 31.1 7C32.2 7 33.1 7.19998 33.6 7.69998C34.2 8.19998 34.5 8.89998 34.5 9.69998L32.7 9.79999C32.6 9.29999 32.5 8.99999 32.2 8.79999C31.9 8.59999 31.6 8.5 31.1 8.5C30.6 8.5 30.2 8.59999 29.9 8.79999C29.7 8.89999 29.6 9.09999 29.6 9.39999C29.6 9.59999 29.7 9.79999 29.9 9.89999C30.1 10.1 30.7 10.3 31.6 10.5C32.5 10.7 33.1 10.9 33.6 11.1C34 11.3 34.4 11.6 34.6 12C34.8 12.4 35 12.9 35 13.4C35 13.9 34.9 14.4 34.6 14.8C34.3 15.2 33.9 15.6 33.4 15.8C32.9 16 32.2 16.1 31.5 16.1C30.4 16.1 29.5 15.8 28.9 15.3C28 15 27.6 14.3 27.5 13.3Z" fill="white"/>
10
- <path d="M37.6 11.7L36 11.4C36.2 10.8 36.5 10.3 36.9 10C37.3 9.7 38 9.5 38.8 9.5C39.6 9.5 40.1 9.59999 40.5 9.79999C40.9 9.99999 41.1 10.2 41.3 10.5C41.5 10.8 41.5 11.3 41.5 12V14C41.5 14.6 41.5 15 41.6 15.3C41.7 15.6 41.8 15.9 41.9 16.2H40.2C40.2 16.1 40.1 15.9 40 15.7C40 15.6 40 15.5 39.9 15.5C39.6 15.8 39.3 16 39 16.1C38.7 16.2 38.3 16.3 37.9 16.3C37.2 16.3 36.7 16.1 36.3 15.8C35.9 15.4 35.7 15 35.7 14.4C35.7 14 35.8 13.7 36 13.4C36.2 13.1 36.4 12.9 36.7 12.7C37 12.5 37.5 12.4 38.1 12.3C38.9 12.1 39.5 12 39.8 11.9V11.7C39.8 11.4 39.7 11.1 39.6 11C39.5 10.9 39.1 10.8 38.7 10.8C38.4 10.8 38.2 10.9 38 11C37.8 11.2 37.7 11.4 37.6 11.7ZM39.9 13.1C39.7 13.2 39.3 13.3 38.9 13.4C38.5 13.5 38.1 13.6 38 13.7C37.8 13.9 37.7 14.1 37.7 14.3C37.7 14.5 37.8 14.7 38 14.9C38.2 15.1 38.4 15.2 38.7 15.2C39 15.2 39.3 15.1 39.6 14.9C39.8 14.7 39.9 14.6 40 14.3C40 14.2 40.1 13.9 40.1 13.5V13.1H39.9Z" fill="white"/>
11
- <path d="M45 16.2L42.4 9.69998H44.2L45.4 13L45.8 14.1C45.9 13.8 46 13.6 46 13.5C46.1 13.3 46.1 13.1 46.2 12.9L47.4 9.59998H49.2L46.6 16.1H45V16.2Z" fill="white"/>
12
- <path d="M54 14.1L55.7 14.4C55.5 15 55.1 15.5 54.7 15.8C54.2 16.1 53.6 16.3 52.9 16.3C51.8 16.3 50.9 15.9 50.4 15.2C50 14.6 49.8 13.9 49.8 13C49.8 11.9 50.1 11.1 50.6 10.5C51.2 9.9 51.9 9.59998 52.7 9.59998C53.7 9.59998 54.4 9.89998 55 10.6C55.6 11.2 55.8 12.2 55.8 13.5H51.5C51.5 14 51.7 14.4 51.9 14.7C52.1 15 52.5 15.1 52.9 15.1C53.2 15.1 53.4 15 53.6 14.9C53.7 14.7 53.9 14.4 54 14.1ZM54.1 12.4C54.1 11.9 54 11.5 53.7 11.3C53.5 11 53.2 10.9 52.8 10.9C52.4 10.9 52.1 11 51.9 11.3C51.7 11.6 51.5 11.9 51.5 12.4H54.1Z" fill="white"/>
13
- <g clip-path="url(#clip0)">
14
- <path d="M13.3656 4.48386C9.62208 4.48386 6.58044 7.62361 6.58044 11.4879C6.58044 14.362 8.24165 16.8255 10.6515 17.9123C10.6281 17.4293 10.6515 16.8255 10.7685 16.2941C10.9089 15.7145 11.6342 12.4781 11.6342 12.4781C11.6342 12.4781 11.4237 12.0193 11.4237 11.3671C11.4237 10.3286 12.0086 9.55575 12.7339 9.55575C13.3422 9.55575 13.6464 10.0388 13.6464 10.6184C13.6464 11.2464 13.2486 12.2124 13.038 13.1061C12.8743 13.8548 13.389 14.4586 14.1143 14.4586C15.4012 14.4586 16.2669 12.7438 16.2669 10.7392C16.2669 9.19342 15.2608 8.0583 13.4358 8.0583C11.3768 8.0583 10.09 9.65233 10.09 11.4154C10.09 12.0192 10.2538 12.4539 10.5346 12.7921C10.6515 12.937 10.675 13.0094 10.6281 13.1785C10.6047 13.2992 10.5112 13.6132 10.4877 13.734C10.4409 13.903 10.3006 13.9755 10.1368 13.903C9.17752 13.4924 8.75636 12.4298 8.75636 11.2222C8.75636 9.24171 10.3708 6.85068 13.5996 6.85068C16.1967 6.85068 17.9047 8.78284 17.9047 10.8599C17.9047 13.6132 16.4306 15.6661 14.2547 15.6661C13.5294 15.6661 12.8275 15.2555 12.5935 14.7967C12.5935 14.7967 12.1958 16.4148 12.1256 16.7288C11.9852 17.2602 11.7044 17.8157 11.4471 18.2262C12.0554 18.4195 12.7105 18.5161 13.3656 18.5161C17.1092 18.5161 20.1508 15.3763 20.1508 11.512C20.1508 7.64772 17.1092 4.48386 13.3656 4.48386Z" fill="#CB1F24"/>
15
- <path d="M13.3656 4.48386C9.62208 4.48386 6.58044 7.62361 6.58044 11.4879C6.58044 14.362 8.24165 16.8255 10.6515 17.9123C10.6281 17.4293 10.6515 16.8255 10.7685 16.2941C10.9089 15.7145 11.6342 12.4781 11.6342 12.4781C11.6342 12.4781 11.4237 12.0193 11.4237 11.3671C11.4237 10.3286 12.0086 9.55575 12.7339 9.55575C13.3422 9.55575 13.6464 10.0388 13.6464 10.6184C13.6464 11.2464 13.2486 12.2124 13.038 13.1061C12.8743 13.8548 13.389 14.4586 14.1143 14.4586C15.4012 14.4586 16.2669 12.7438 16.2669 10.7392C16.2669 9.19342 15.2608 8.0583 13.4358 8.0583C11.3768 8.0583 10.09 9.65233 10.09 11.4154C10.09 12.0192 10.2538 12.4539 10.5346 12.7921C10.6515 12.937 10.675 13.0094 10.6281 13.1785C10.6047 13.2992 10.5112 13.6132 10.4877 13.734C10.4409 13.903 10.3006 13.9755 10.1368 13.903C9.17752 13.4924 8.75636 12.4298 8.75636 11.2222C8.75636 9.24171 10.3708 6.85068 13.5996 6.85068C16.1967 6.85068 17.9047 8.78284 17.9047 10.8599C17.9047 13.6132 16.4306 15.6661 14.2547 15.6661C13.5294 15.6661 12.8275 15.2555 12.5935 14.7967C12.5935 14.7967 12.1958 16.4148 12.1256 16.7288C11.9852 17.2602 11.7044 17.8157 11.4471 18.2262C12.0554 18.4195 12.7105 18.5161 13.3656 18.5161C17.1092 18.5161 20.1508 15.3763 20.1508 11.512C20.1508 7.64772 17.1092 4.48386 13.3656 4.48386Z" fill="white"/>
16
- </g>
17
- </g>
18
- <defs>
19
- <clipPath id="clip0">
20
- <rect width="13.5938" height="14.0323" fill="white" transform="matrix(-1 0 0 1 20.1625 4.48386)"/>
21
- </clipPath>
22
- </defs>
23
- </svg>
1
+ <svg width="62" height="23" viewBox="0 0 62 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="62" height="23">
3
+ <path d="M58.1 0H3.80002C1.70002 0 0 1.70002 0 3.80002V19.2C0 21.3 1.70002 23 3.80002 23H58.1C60.2 23 61.9 21.3 61.9 19.2V3.80002C61.8 1.70002 60.1 0 58.1 0Z" fill="#50ABF1"/>
4
+ </mask>
5
+ <g mask="url(#mask0)">
6
+ <rect width="63" height="23" fill="#0274B3"/>
7
+ <rect width="63" height="23" fill="#E1E7EC"/>
8
+ <rect width="63" height="23" fill="#CB1F24"/>
9
+ <path d="M27.5 13.3L29.3 13.1C29.4 13.7 29.6 14.1 29.9 14.4C30.2 14.7 30.7 14.8 31.2 14.8C31.8 14.8 32.2 14.7 32.5 14.4C32.8 14.2 32.9 13.9 32.9 13.5C32.9 13.3 32.8 13.1 32.7 13C32.6 12.9 32.4 12.7 32 12.6C31.8 12.5 31.3 12.4 30.6 12.2C29.6 12 28.9 11.7 28.6 11.3C28 10.8 27.8 10.2 27.8 9.5C27.8 9 27.9 8.59998 28.2 8.19998C28.5 7.79998 28.8 7.49999 29.3 7.29999C29.8 7.09999 30.4 7 31.1 7C32.2 7 33.1 7.19998 33.6 7.69998C34.2 8.19998 34.5 8.89998 34.5 9.69998L32.7 9.79999C32.6 9.29999 32.5 8.99999 32.2 8.79999C31.9 8.59999 31.6 8.5 31.1 8.5C30.6 8.5 30.2 8.59999 29.9 8.79999C29.7 8.89999 29.6 9.09999 29.6 9.39999C29.6 9.59999 29.7 9.79999 29.9 9.89999C30.1 10.1 30.7 10.3 31.6 10.5C32.5 10.7 33.1 10.9 33.6 11.1C34 11.3 34.4 11.6 34.6 12C34.8 12.4 35 12.9 35 13.4C35 13.9 34.9 14.4 34.6 14.8C34.3 15.2 33.9 15.6 33.4 15.8C32.9 16 32.2 16.1 31.5 16.1C30.4 16.1 29.5 15.8 28.9 15.3C28 15 27.6 14.3 27.5 13.3Z" fill="white"/>
10
+ <path d="M37.6 11.7L36 11.4C36.2 10.8 36.5 10.3 36.9 10C37.3 9.7 38 9.5 38.8 9.5C39.6 9.5 40.1 9.59999 40.5 9.79999C40.9 9.99999 41.1 10.2 41.3 10.5C41.5 10.8 41.5 11.3 41.5 12V14C41.5 14.6 41.5 15 41.6 15.3C41.7 15.6 41.8 15.9 41.9 16.2H40.2C40.2 16.1 40.1 15.9 40 15.7C40 15.6 40 15.5 39.9 15.5C39.6 15.8 39.3 16 39 16.1C38.7 16.2 38.3 16.3 37.9 16.3C37.2 16.3 36.7 16.1 36.3 15.8C35.9 15.4 35.7 15 35.7 14.4C35.7 14 35.8 13.7 36 13.4C36.2 13.1 36.4 12.9 36.7 12.7C37 12.5 37.5 12.4 38.1 12.3C38.9 12.1 39.5 12 39.8 11.9V11.7C39.8 11.4 39.7 11.1 39.6 11C39.5 10.9 39.1 10.8 38.7 10.8C38.4 10.8 38.2 10.9 38 11C37.8 11.2 37.7 11.4 37.6 11.7ZM39.9 13.1C39.7 13.2 39.3 13.3 38.9 13.4C38.5 13.5 38.1 13.6 38 13.7C37.8 13.9 37.7 14.1 37.7 14.3C37.7 14.5 37.8 14.7 38 14.9C38.2 15.1 38.4 15.2 38.7 15.2C39 15.2 39.3 15.1 39.6 14.9C39.8 14.7 39.9 14.6 40 14.3C40 14.2 40.1 13.9 40.1 13.5V13.1H39.9Z" fill="white"/>
11
+ <path d="M45 16.2L42.4 9.69998H44.2L45.4 13L45.8 14.1C45.9 13.8 46 13.6 46 13.5C46.1 13.3 46.1 13.1 46.2 12.9L47.4 9.59998H49.2L46.6 16.1H45V16.2Z" fill="white"/>
12
+ <path d="M54 14.1L55.7 14.4C55.5 15 55.1 15.5 54.7 15.8C54.2 16.1 53.6 16.3 52.9 16.3C51.8 16.3 50.9 15.9 50.4 15.2C50 14.6 49.8 13.9 49.8 13C49.8 11.9 50.1 11.1 50.6 10.5C51.2 9.9 51.9 9.59998 52.7 9.59998C53.7 9.59998 54.4 9.89998 55 10.6C55.6 11.2 55.8 12.2 55.8 13.5H51.5C51.5 14 51.7 14.4 51.9 14.7C52.1 15 52.5 15.1 52.9 15.1C53.2 15.1 53.4 15 53.6 14.9C53.7 14.7 53.9 14.4 54 14.1ZM54.1 12.4C54.1 11.9 54 11.5 53.7 11.3C53.5 11 53.2 10.9 52.8 10.9C52.4 10.9 52.1 11 51.9 11.3C51.7 11.6 51.5 11.9 51.5 12.4H54.1Z" fill="white"/>
13
+ <g clip-path="url(#clip0)">
14
+ <path d="M13.3656 4.48386C9.62208 4.48386 6.58044 7.62361 6.58044 11.4879C6.58044 14.362 8.24165 16.8255 10.6515 17.9123C10.6281 17.4293 10.6515 16.8255 10.7685 16.2941C10.9089 15.7145 11.6342 12.4781 11.6342 12.4781C11.6342 12.4781 11.4237 12.0193 11.4237 11.3671C11.4237 10.3286 12.0086 9.55575 12.7339 9.55575C13.3422 9.55575 13.6464 10.0388 13.6464 10.6184C13.6464 11.2464 13.2486 12.2124 13.038 13.1061C12.8743 13.8548 13.389 14.4586 14.1143 14.4586C15.4012 14.4586 16.2669 12.7438 16.2669 10.7392C16.2669 9.19342 15.2608 8.0583 13.4358 8.0583C11.3768 8.0583 10.09 9.65233 10.09 11.4154C10.09 12.0192 10.2538 12.4539 10.5346 12.7921C10.6515 12.937 10.675 13.0094 10.6281 13.1785C10.6047 13.2992 10.5112 13.6132 10.4877 13.734C10.4409 13.903 10.3006 13.9755 10.1368 13.903C9.17752 13.4924 8.75636 12.4298 8.75636 11.2222C8.75636 9.24171 10.3708 6.85068 13.5996 6.85068C16.1967 6.85068 17.9047 8.78284 17.9047 10.8599C17.9047 13.6132 16.4306 15.6661 14.2547 15.6661C13.5294 15.6661 12.8275 15.2555 12.5935 14.7967C12.5935 14.7967 12.1958 16.4148 12.1256 16.7288C11.9852 17.2602 11.7044 17.8157 11.4471 18.2262C12.0554 18.4195 12.7105 18.5161 13.3656 18.5161C17.1092 18.5161 20.1508 15.3763 20.1508 11.512C20.1508 7.64772 17.1092 4.48386 13.3656 4.48386Z" fill="#CB1F24"/>
15
+ <path d="M13.3656 4.48386C9.62208 4.48386 6.58044 7.62361 6.58044 11.4879C6.58044 14.362 8.24165 16.8255 10.6515 17.9123C10.6281 17.4293 10.6515 16.8255 10.7685 16.2941C10.9089 15.7145 11.6342 12.4781 11.6342 12.4781C11.6342 12.4781 11.4237 12.0193 11.4237 11.3671C11.4237 10.3286 12.0086 9.55575 12.7339 9.55575C13.3422 9.55575 13.6464 10.0388 13.6464 10.6184C13.6464 11.2464 13.2486 12.2124 13.038 13.1061C12.8743 13.8548 13.389 14.4586 14.1143 14.4586C15.4012 14.4586 16.2669 12.7438 16.2669 10.7392C16.2669 9.19342 15.2608 8.0583 13.4358 8.0583C11.3768 8.0583 10.09 9.65233 10.09 11.4154C10.09 12.0192 10.2538 12.4539 10.5346 12.7921C10.6515 12.937 10.675 13.0094 10.6281 13.1785C10.6047 13.2992 10.5112 13.6132 10.4877 13.734C10.4409 13.903 10.3006 13.9755 10.1368 13.903C9.17752 13.4924 8.75636 12.4298 8.75636 11.2222C8.75636 9.24171 10.3708 6.85068 13.5996 6.85068C16.1967 6.85068 17.9047 8.78284 17.9047 10.8599C17.9047 13.6132 16.4306 15.6661 14.2547 15.6661C13.5294 15.6661 12.8275 15.2555 12.5935 14.7967C12.5935 14.7967 12.1958 16.4148 12.1256 16.7288C11.9852 17.2602 11.7044 17.8157 11.4471 18.2262C12.0554 18.4195 12.7105 18.5161 13.3656 18.5161C17.1092 18.5161 20.1508 15.3763 20.1508 11.512C20.1508 7.64772 17.1092 4.48386 13.3656 4.48386Z" fill="white"/>
16
+ </g>
17
+ </g>
18
+ <defs>
19
+ <clipPath id="clip0">
20
+ <rect width="13.5938" height="14.0323" fill="white" transform="matrix(-1 0 0 1 20.1625 4.48386)"/>
21
+ </clipPath>
22
+ </defs>
23
+ </svg>
images/visit_icons/en_US_Follow.svg CHANGED
@@ -1,16 +1,16 @@
1
- <svg width="73" height="23" viewBox="0 0 73 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="73" height="23">
3
- <path d="M69.1 0H3.79999C1.69999 0 0 1.69999 0 3.79999V19.2C0 21.3 1.69999 23 3.79999 23H69.1C71.2 23 72.9 21.3 72.9 19.2V3.79999C72.9 1.69999 71.2 0 69.1 0Z" fill="#50ABF1"/>
4
- </mask>
5
- <g mask="url(#mask0)">
6
- <rect width="73" height="23" fill="#0274B3"/>
7
- <rect width="73" height="23" fill="#50ABF1"/>
8
- <path d="M27.6 16V7H33.7V8.5H29.4V10.6H33.1V12.1H29.4V15.9H27.6V16Z" fill="white"/>
9
- <path d="M34.8 12.6C34.8 12 34.9 11.5 35.2 10.9C35.5 10.4 35.9 10 36.4 9.70001C36.9 9.40001 37.5 9.29999 38.1 9.29999C39.1 9.29999 39.9 9.59999 40.5 10.3C41.1 11 41.4 11.7 41.4 12.7C41.4 13.7 41.1 14.5 40.5 15.1C39.9 15.7 39.1 16.1 38.1 16.1C37.5 16.1 36.9 16 36.4 15.7C35.9 15.4 35.4 15 35.2 14.5C35 14 34.8 13.4 34.8 12.6ZM36.6 12.7C36.6 13.3 36.8 13.8 37.1 14.2C37.4 14.5 37.8 14.7 38.2 14.7C38.6 14.7 39 14.5 39.3 14.2C39.6 13.9 39.8 13.4 39.8 12.7C39.8 12.1 39.6 11.6 39.3 11.2C39 10.9 38.6 10.7 38.2 10.7C37.8 10.7 37.4 10.9 37.1 11.2C36.8 11.6 36.6 12.1 36.6 12.7Z" fill="white"/>
10
- <path d="M42.9 16V7H44.6V16H42.9Z" fill="white"/>
11
- <path d="M46.4 16V7H48.1V16H46.4Z" fill="white"/>
12
- <path d="M49.4 12.6C49.4 12 49.5 11.5 49.8 10.9C50.1 10.4 50.5 10 51 9.70001C51.5 9.40001 52.1 9.29999 52.7 9.29999C53.7 9.29999 54.5 9.59999 55.1 10.3C55.7 10.9 56 11.7 56 12.7C56 13.7 55.7 14.5 55 15.1C54.4 15.7 53.6 16.1 52.6 16.1C52 16.1 51.4 16 50.9 15.7C50.4 15.4 49.9 15 49.7 14.5C49.5 14 49.4 13.4 49.4 12.6ZM51.2 12.7C51.2 13.3 51.4 13.8 51.7 14.2C52 14.5 52.4 14.7 52.8 14.7C53.2 14.7 53.6 14.5 53.9 14.2C54.2 13.9 54.4 13.4 54.4 12.7C54.4 12.1 54.2 11.6 53.9 11.2C53.6 10.9 53.2 10.7 52.8 10.7C52.4 10.7 52 10.9 51.7 11.2C51.4 11.6 51.2 12.1 51.2 12.7Z" fill="white"/>
13
- <path d="M58.7 16L56.6 9.5H58.3L59.5 13.8L60.6 9.5H62.3L63.4 13.8L64.6001 9.5H66.3L64.2 16H62.5L61.4 11.8L60.3 16H58.7Z" fill="white"/>
14
- <path d="M11.3726 14.3343C10.7002 14.3343 10.1959 14.0751 9.69158 13.6431C9.35537 13.3839 9.18726 12.9519 9.01916 12.6063C9.35537 12.6927 9.77563 12.6926 10.1118 12.5198C9.52347 12.3471 9.01915 12.0879 8.68294 11.5695C8.34674 11.0511 8.09459 10.5327 8.09459 9.92787C8.43079 10.1007 8.85105 10.2735 9.18726 10.2735C8.5989 9.84149 8.17864 9.23671 8.09459 8.45912C8.01053 7.85432 8.17864 7.33588 8.4308 6.90389C9.77563 8.54548 11.5407 9.4095 13.5579 9.5823C13.5579 9.4959 13.558 9.40951 13.4739 9.32311C13.3899 8.89112 13.4739 8.45912 13.642 8.02712C13.9782 7.24953 14.5666 6.64469 15.4071 6.47189C16.3317 6.29909 17.0881 6.55833 17.7605 7.16313C17.7605 7.16313 17.7605 7.16313 17.8446 7.16313C18.3489 7.07673 18.8532 6.81752 19.3575 6.55832C19.3575 6.64472 19.1054 7.16309 18.9373 7.33588C18.7692 7.59508 18.517 7.76789 18.2648 7.94069C18.7692 7.85429 19.1894 7.76789 19.6937 7.50869C19.6937 7.50869 19.6937 7.50873 19.6937 7.59512C19.6937 7.59512 19.6937 7.5951 19.6937 7.6815C19.4416 8.0271 19.1054 8.37271 18.7692 8.71831C18.6851 8.80471 18.6011 8.89112 18.517 8.89112C18.517 8.89112 18.517 8.89109 18.517 8.97749C18.517 9.40949 18.517 9.84151 18.4329 10.1871C18.3489 10.8783 18.1808 11.5695 17.8446 12.2607C17.5924 12.8655 17.1722 13.4703 16.7519 14.0751C16.1636 14.7663 15.5752 15.2846 14.7347 15.7166C14.1463 16.0622 13.4739 16.3214 12.8015 16.4078C12.2131 16.4942 11.6248 16.5806 10.9524 16.5806C10.1118 16.5806 9.27131 16.3214 8.51484 15.9758C8.17864 15.803 7.84243 15.6302 7.50623 15.4575C9.10321 15.5438 10.2799 15.1983 11.3726 14.3343Z" fill="white"/>
15
- </g>
16
- </svg>
1
+ <svg width="73" height="23" viewBox="0 0 73 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="73" height="23">
3
+ <path d="M69.1 0H3.79999C1.69999 0 0 1.69999 0 3.79999V19.2C0 21.3 1.69999 23 3.79999 23H69.1C71.2 23 72.9 21.3 72.9 19.2V3.79999C72.9 1.69999 71.2 0 69.1 0Z" fill="#50ABF1"/>
4
+ </mask>
5
+ <g mask="url(#mask0)">
6
+ <rect width="73" height="23" fill="#0274B3"/>
7
+ <rect width="73" height="23" fill="#50ABF1"/>
8
+ <path d="M27.6 16V7H33.7V8.5H29.4V10.6H33.1V12.1H29.4V15.9H27.6V16Z" fill="white"/>
9
+ <path d="M34.8 12.6C34.8 12 34.9 11.5 35.2 10.9C35.5 10.4 35.9 10 36.4 9.70001C36.9 9.40001 37.5 9.29999 38.1 9.29999C39.1 9.29999 39.9 9.59999 40.5 10.3C41.1 11 41.4 11.7 41.4 12.7C41.4 13.7 41.1 14.5 40.5 15.1C39.9 15.7 39.1 16.1 38.1 16.1C37.5 16.1 36.9 16 36.4 15.7C35.9 15.4 35.4 15 35.2 14.5C35 14 34.8 13.4 34.8 12.6ZM36.6 12.7C36.6 13.3 36.8 13.8 37.1 14.2C37.4 14.5 37.8 14.7 38.2 14.7C38.6 14.7 39 14.5 39.3 14.2C39.6 13.9 39.8 13.4 39.8 12.7C39.8 12.1 39.6 11.6 39.3 11.2C39 10.9 38.6 10.7 38.2 10.7C37.8 10.7 37.4 10.9 37.1 11.2C36.8 11.6 36.6 12.1 36.6 12.7Z" fill="white"/>
10
+ <path d="M42.9 16V7H44.6V16H42.9Z" fill="white"/>
11
+ <path d="M46.4 16V7H48.1V16H46.4Z" fill="white"/>
12
+ <path d="M49.4 12.6C49.4 12 49.5 11.5 49.8 10.9C50.1 10.4 50.5 10 51 9.70001C51.5 9.40001 52.1 9.29999 52.7 9.29999C53.7 9.29999 54.5 9.59999 55.1 10.3C55.7 10.9 56 11.7 56 12.7C56 13.7 55.7 14.5 55 15.1C54.4 15.7 53.6 16.1 52.6 16.1C52 16.1 51.4 16 50.9 15.7C50.4 15.4 49.9 15 49.7 14.5C49.5 14 49.4 13.4 49.4 12.6ZM51.2 12.7C51.2 13.3 51.4 13.8 51.7 14.2C52 14.5 52.4 14.7 52.8 14.7C53.2 14.7 53.6 14.5 53.9 14.2C54.2 13.9 54.4 13.4 54.4 12.7C54.4 12.1 54.2 11.6 53.9 11.2C53.6 10.9 53.2 10.7 52.8 10.7C52.4 10.7 52 10.9 51.7 11.2C51.4 11.6 51.2 12.1 51.2 12.7Z" fill="white"/>
13
+ <path d="M58.7 16L56.6 9.5H58.3L59.5 13.8L60.6 9.5H62.3L63.4 13.8L64.6001 9.5H66.3L64.2 16H62.5L61.4 11.8L60.3 16H58.7Z" fill="white"/>
14
+ <path d="M11.3726 14.3343C10.7002 14.3343 10.1959 14.0751 9.69158 13.6431C9.35537 13.3839 9.18726 12.9519 9.01916 12.6063C9.35537 12.6927 9.77563 12.6926 10.1118 12.5198C9.52347 12.3471 9.01915 12.0879 8.68294 11.5695C8.34674 11.0511 8.09459 10.5327 8.09459 9.92787C8.43079 10.1007 8.85105 10.2735 9.18726 10.2735C8.5989 9.84149 8.17864 9.23671 8.09459 8.45912C8.01053 7.85432 8.17864 7.33588 8.4308 6.90389C9.77563 8.54548 11.5407 9.4095 13.5579 9.5823C13.5579 9.4959 13.558 9.40951 13.4739 9.32311C13.3899 8.89112 13.4739 8.45912 13.642 8.02712C13.9782 7.24953 14.5666 6.64469 15.4071 6.47189C16.3317 6.29909 17.0881 6.55833 17.7605 7.16313C17.7605 7.16313 17.7605 7.16313 17.8446 7.16313C18.3489 7.07673 18.8532 6.81752 19.3575 6.55832C19.3575 6.64472 19.1054 7.16309 18.9373 7.33588C18.7692 7.59508 18.517 7.76789 18.2648 7.94069C18.7692 7.85429 19.1894 7.76789 19.6937 7.50869C19.6937 7.50869 19.6937 7.50873 19.6937 7.59512C19.6937 7.59512 19.6937 7.5951 19.6937 7.6815C19.4416 8.0271 19.1054 8.37271 18.7692 8.71831C18.6851 8.80471 18.6011 8.89112 18.517 8.89112C18.517 8.89112 18.517 8.89109 18.517 8.97749C18.517 9.40949 18.517 9.84151 18.4329 10.1871C18.3489 10.8783 18.1808 11.5695 17.8446 12.2607C17.5924 12.8655 17.1722 13.4703 16.7519 14.0751C16.1636 14.7663 15.5752 15.2846 14.7347 15.7166C14.1463 16.0622 13.4739 16.3214 12.8015 16.4078C12.2131 16.4942 11.6248 16.5806 10.9524 16.5806C10.1118 16.5806 9.27131 16.3214 8.51484 15.9758C8.17864 15.803 7.84243 15.6302 7.50623 15.4575C9.10321 15.5438 10.2799 15.1983 11.3726 14.3343Z" fill="white"/>
15
+ </g>
16
+ </svg>
images/visit_icons/en_US_Tweet.svg CHANGED
@@ -1,18 +1,18 @@
1
- <svg width="69" height="23" viewBox="0 0 69 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="69" height="23">
3
- <path d="M65.1 0H3.8C1.7 0 0 1.7 0 3.8V19.2C0 21.3 1.7 23 3.8 23H65.1C67.2 23 68.9 21.3 68.9 19.2V3.8C68.8 1.7 67.1 0 65.1 0Z" fill="#50ABF1"/>
4
- </mask>
5
- <g mask="url(#mask0)">
6
- <rect width="69" height="23" fill="#0274B3"/>
7
- <rect width="69" height="23" fill="#E1E7EC"/>
8
- <rect width="69" height="23" fill="#CB1F24"/>
9
- <rect width="69" height="23" fill="#3A559F"/>
10
- <rect width="69" height="23" fill="#50ABF1"/>
11
- <path d="M30.7 15.9V8.5H28V7H35.1V8.5H32.4V15.9H30.7Z" fill="white"/>
12
- <path d="M36.6 15.9L34.5 9.39999H36.2L37.4 13.7L38.5 9.39999H40.2L41.3 13.7L42.5 9.39999H44.2L42.1 15.9H40.4L39.3 11.7L38.2 15.9H36.6Z" fill="white"/>
13
- <path d="M48.9 13.9L50.6 14.2C50.4 14.8 50 15.3 49.6 15.6C49.2 15.9 48.5 16.1 47.8 16.1C46.7 16.1 45.8 15.7 45.3 15C44.9 14.4 44.7 13.7 44.7 12.8C44.7 11.7 45 10.9 45.5 10.3C46.1 9.69999 46.8 9.39999 47.6 9.39999C48.6 9.39999 49.3 9.69999 49.9 10.4C50.5 11 50.7 12 50.7 13.3H46.4C46.4 13.8 46.6 14.2 46.8 14.5C47.1 14.8 47.4 14.9 47.8 14.9C48.1 14.9 48.3 14.8 48.5 14.7C48.7 14.4 48.8 14.2 48.9 13.9ZM49 12.1C49 11.6 48.9 11.2 48.6 11C48.3 10.8 48.1 10.6 47.7 10.6C47.3 10.6 47 10.7 46.8 11C46.6 11.3 46.4 11.6 46.4 12.1H49Z" fill="white"/>
14
- <path d="M55.9 13.9L57.6 14.2C57.4 14.8 57 15.3 56.6 15.6C56.2 15.9 55.5 16.1 54.8 16.1C53.7 16.1 52.8 15.7 52.3 15C51.9 14.4 51.7 13.7 51.7 12.8C51.7 11.7 52 10.9 52.5 10.3C53.1 9.69999 53.8 9.39999 54.6 9.39999C55.6 9.39999 56.3 9.69999 56.9 10.4C57.5 11 57.7 12 57.7 13.3H53.4C53.4 13.8 53.6 14.2 53.8 14.5C54.1 14.8 54.4 14.9 54.8 14.9C55.1 14.9 55.3 14.8 55.5 14.7C55.6 14.4 55.8 14.2 55.9 13.9ZM56 12.1C56 11.6 55.9 11.2 55.6 11C55.3 10.8 55.1 10.6 54.7 10.6C54.3 10.6 54 10.7 53.8 11C53.6 11.3 53.4 11.6 53.4 12.1H56Z" fill="white"/>
15
- <path d="M62 9.4V10.8H60.8V13.4C60.8 13.9 60.8 14.2 60.8 14.3C60.8 14.4 60.9 14.5 61 14.5C61.1 14.6 61.2 14.6 61.3 14.6C61.5 14.6 61.7 14.5 62 14.4L62.1 15.7C61.7 15.9 61.2 16 60.7 16C60.4 16 60.1 15.9 59.9 15.8C59.7 15.7 59.5 15.6 59.4 15.4C59.3 15.2 59.2 15 59.2 14.7C59.2 14.5 59.1 14.1 59.1 13.5V10.7H58.3V9.3H59.1V8L60.8 7V9.3H62V9.4Z" fill="white"/>
16
- <path d="M10.3726 14.3343C9.7002 14.3343 9.19589 14.0751 8.69158 13.6431C8.35537 13.3839 8.18726 12.9519 8.01916 12.6063C8.35537 12.6927 8.77563 12.6926 9.11183 12.5198C8.52347 12.3471 8.01915 12.0879 7.68294 11.5695C7.34674 11.0511 7.09459 10.5327 7.09459 9.92787C7.43079 10.1007 7.85105 10.2735 8.18726 10.2735C7.5989 9.84149 7.17864 9.23671 7.09459 8.45912C7.01053 7.85432 7.17864 7.33588 7.4308 6.90389C8.77563 8.54548 10.5407 9.4095 12.5579 9.5823C12.5579 9.4959 12.558 9.40951 12.4739 9.32311C12.3899 8.89112 12.4739 8.45912 12.642 8.02712C12.9782 7.24953 13.5666 6.64469 14.4071 6.47189C15.3317 6.29909 16.0881 6.55833 16.7605 7.16313C16.7605 7.16313 16.7605 7.16313 16.8446 7.16313C17.3489 7.07673 17.8532 6.81752 18.3575 6.55832C18.3575 6.64472 18.1054 7.16309 17.9373 7.33588C17.7692 7.59508 17.517 7.76789 17.2648 7.94069C17.7692 7.85429 18.1894 7.76789 18.6937 7.50869C18.6937 7.50869 18.6937 7.50873 18.6937 7.59512C18.6937 7.59512 18.6937 7.5951 18.6937 7.6815C18.4416 8.0271 18.1054 8.37271 17.7692 8.71831C17.6851 8.80471 17.6011 8.89112 17.517 8.89112C17.517 8.89112 17.517 8.89109 17.517 8.97749C17.517 9.40949 17.517 9.84151 17.4329 10.1871C17.3489 10.8783 17.1808 11.5695 16.8446 12.2607C16.5924 12.8655 16.1722 13.4703 15.7519 14.0751C15.1636 14.7663 14.5752 15.2846 13.7347 15.7166C13.1463 16.0622 12.4739 16.3214 11.8015 16.4078C11.2131 16.4942 10.6248 16.5806 9.95235 16.5806C9.11183 16.5806 8.27131 16.3214 7.51484 15.9758C7.17864 15.803 6.84243 15.6302 6.50623 15.4575C8.10321 15.5438 9.27994 15.1983 10.3726 14.3343Z" fill="white"/>
17
- </g>
18
- </svg>
1
+ <svg width="69" height="23" viewBox="0 0 69 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="69" height="23">
3
+ <path d="M65.1 0H3.8C1.7 0 0 1.7 0 3.8V19.2C0 21.3 1.7 23 3.8 23H65.1C67.2 23 68.9 21.3 68.9 19.2V3.8C68.8 1.7 67.1 0 65.1 0Z" fill="#50ABF1"/>
4
+ </mask>
5
+ <g mask="url(#mask0)">
6
+ <rect width="69" height="23" fill="#0274B3"/>
7
+ <rect width="69" height="23" fill="#E1E7EC"/>
8
+ <rect width="69" height="23" fill="#CB1F24"/>
9
+ <rect width="69" height="23" fill="#3A559F"/>
10
+ <rect width="69" height="23" fill="#50ABF1"/>
11
+ <path d="M30.7 15.9V8.5H28V7H35.1V8.5H32.4V15.9H30.7Z" fill="white"/>
12
+ <path d="M36.6 15.9L34.5 9.39999H36.2L37.4 13.7L38.5 9.39999H40.2L41.3 13.7L42.5 9.39999H44.2L42.1 15.9H40.4L39.3 11.7L38.2 15.9H36.6Z" fill="white"/>
13
+ <path d="M48.9 13.9L50.6 14.2C50.4 14.8 50 15.3 49.6 15.6C49.2 15.9 48.5 16.1 47.8 16.1C46.7 16.1 45.8 15.7 45.3 15C44.9 14.4 44.7 13.7 44.7 12.8C44.7 11.7 45 10.9 45.5 10.3C46.1 9.69999 46.8 9.39999 47.6 9.39999C48.6 9.39999 49.3 9.69999 49.9 10.4C50.5 11 50.7 12 50.7 13.3H46.4C46.4 13.8 46.6 14.2 46.8 14.5C47.1 14.8 47.4 14.9 47.8 14.9C48.1 14.9 48.3 14.8 48.5 14.7C48.7 14.4 48.8 14.2 48.9 13.9ZM49 12.1C49 11.6 48.9 11.2 48.6 11C48.3 10.8 48.1 10.6 47.7 10.6C47.3 10.6 47 10.7 46.8 11C46.6 11.3 46.4 11.6 46.4 12.1H49Z" fill="white"/>
14
+ <path d="M55.9 13.9L57.6 14.2C57.4 14.8 57 15.3 56.6 15.6C56.2 15.9 55.5 16.1 54.8 16.1C53.7 16.1 52.8 15.7 52.3 15C51.9 14.4 51.7 13.7 51.7 12.8C51.7 11.7 52 10.9 52.5 10.3C53.1 9.69999 53.8 9.39999 54.6 9.39999C55.6 9.39999 56.3 9.69999 56.9 10.4C57.5 11 57.7 12 57.7 13.3H53.4C53.4 13.8 53.6 14.2 53.8 14.5C54.1 14.8 54.4 14.9 54.8 14.9C55.1 14.9 55.3 14.8 55.5 14.7C55.6 14.4 55.8 14.2 55.9 13.9ZM56 12.1C56 11.6 55.9 11.2 55.6 11C55.3 10.8 55.1 10.6 54.7 10.6C54.3 10.6 54 10.7 53.8 11C53.6 11.3 53.4 11.6 53.4 12.1H56Z" fill="white"/>
15
+ <path d="M62 9.4V10.8H60.8V13.4C60.8 13.9 60.8 14.2 60.8 14.3C60.8 14.4 60.9 14.5 61 14.5C61.1 14.6 61.2 14.6 61.3 14.6C61.5 14.6 61.7 14.5 62 14.4L62.1 15.7C61.7 15.9 61.2 16 60.7 16C60.4 16 60.1 15.9 59.9 15.8C59.7 15.7 59.5 15.6 59.4 15.4C59.3 15.2 59.2 15 59.2 14.7C59.2 14.5 59.1 14.1 59.1 13.5V10.7H58.3V9.3H59.1V8L60.8 7V9.3H62V9.4Z" fill="white"/>
16
+ <path d="M10.3726 14.3343C9.7002 14.3343 9.19589 14.0751 8.69158 13.6431C8.35537 13.3839 8.18726 12.9519 8.01916 12.6063C8.35537 12.6927 8.77563 12.6926 9.11183 12.5198C8.52347 12.3471 8.01915 12.0879 7.68294 11.5695C7.34674 11.0511 7.09459 10.5327 7.09459 9.92787C7.43079 10.1007 7.85105 10.2735 8.18726 10.2735C7.5989 9.84149 7.17864 9.23671 7.09459 8.45912C7.01053 7.85432 7.17864 7.33588 7.4308 6.90389C8.77563 8.54548 10.5407 9.4095 12.5579 9.5823C12.5579 9.4959 12.558 9.40951 12.4739 9.32311C12.3899 8.89112 12.4739 8.45912 12.642 8.02712C12.9782 7.24953 13.5666 6.64469 14.4071 6.47189C15.3317 6.29909 16.0881 6.55833 16.7605 7.16313C16.7605 7.16313 16.7605 7.16313 16.8446 7.16313C17.3489 7.07673 17.8532 6.81752 18.3575 6.55832C18.3575 6.64472 18.1054 7.16309 17.9373 7.33588C17.7692 7.59508 17.517 7.76789 17.2648 7.94069C17.7692 7.85429 18.1894 7.76789 18.6937 7.50869C18.6937 7.50869 18.6937 7.50873 18.6937 7.59512C18.6937 7.59512 18.6937 7.5951 18.6937 7.6815C18.4416 8.0271 18.1054 8.37271 17.7692 8.71831C17.6851 8.80471 17.6011 8.89112 17.517 8.89112C17.517 8.89112 17.517 8.89109 17.517 8.97749C17.517 9.40949 17.517 9.84151 17.4329 10.1871C17.3489 10.8783 17.1808 11.5695 16.8446 12.2607C16.5924 12.8655 16.1722 13.4703 15.7519 14.0751C15.1636 14.7663 14.5752 15.2846 13.7347 15.7166C13.1463 16.0622 12.4739 16.3214 11.8015 16.4078C11.2131 16.4942 10.6248 16.5806 9.95235 16.5806C9.11183 16.5806 8.27131 16.3214 7.51484 15.9758C7.17864 15.803 6.84243 15.6302 6.50623 15.4575C8.10321 15.5438 9.27994 15.1983 10.3726 14.3343Z" fill="white"/>
17
+ </g>
18
+ </svg>
images/visit_icons/en_US_save.svg CHANGED
@@ -1,23 +1,23 @@
1
- <svg width="62" height="23" viewBox="0 0 62 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="62" height="23">
3
- <path d="M58.1 0H3.80002C1.70002 0 0 1.70002 0 3.80002V19.2C0 21.3 1.70002 23 3.80002 23H58.1C60.2 23 61.9 21.3 61.9 19.2V3.80002C61.8 1.70002 60.1 0 58.1 0Z" fill="#50ABF1"/>
4
- </mask>
5
- <g mask="url(#mask0)">
6
- <rect width="63" height="23" fill="#0274B3"/>
7
- <rect width="63" height="23" fill="#E1E7EC"/>
8
- <rect width="63" height="23" fill="#CB1F24"/>
9
- <path d="M27.5 13.3L29.3 13.1C29.4 13.7 29.6 14.1 29.9 14.4C30.2 14.7 30.7 14.8 31.2 14.8C31.8 14.8 32.2 14.7 32.5 14.4C32.8 14.2 32.9 13.9 32.9 13.5C32.9 13.3 32.8 13.1 32.7 13C32.6 12.9 32.4 12.7 32 12.6C31.8 12.5 31.3 12.4 30.6 12.2C29.6 12 28.9 11.7 28.6 11.3C28 10.8 27.8 10.2 27.8 9.5C27.8 9 27.9 8.59998 28.2 8.19998C28.5 7.79998 28.8 7.49999 29.3 7.29999C29.8 7.09999 30.4 7 31.1 7C32.2 7 33.1 7.19998 33.6 7.69998C34.2 8.19998 34.5 8.89998 34.5 9.69998L32.7 9.79999C32.6 9.29999 32.5 8.99999 32.2 8.79999C31.9 8.59999 31.6 8.5 31.1 8.5C30.6 8.5 30.2 8.59999 29.9 8.79999C29.7 8.89999 29.6 9.09999 29.6 9.39999C29.6 9.59999 29.7 9.79999 29.9 9.89999C30.1 10.1 30.7 10.3 31.6 10.5C32.5 10.7 33.1 10.9 33.6 11.1C34 11.3 34.4 11.6 34.6 12C34.8 12.4 35 12.9 35 13.4C35 13.9 34.9 14.4 34.6 14.8C34.3 15.2 33.9 15.6 33.4 15.8C32.9 16 32.2 16.1 31.5 16.1C30.4 16.1 29.5 15.8 28.9 15.3C28 15 27.6 14.3 27.5 13.3Z" fill="white"/>
10
- <path d="M37.6 11.7L36 11.4C36.2 10.8 36.5 10.3 36.9 10C37.3 9.7 38 9.5 38.8 9.5C39.6 9.5 40.1 9.59999 40.5 9.79999C40.9 9.99999 41.1 10.2 41.3 10.5C41.5 10.8 41.5 11.3 41.5 12V14C41.5 14.6 41.5 15 41.6 15.3C41.7 15.6 41.8 15.9 41.9 16.2H40.2C40.2 16.1 40.1 15.9 40 15.7C40 15.6 40 15.5 39.9 15.5C39.6 15.8 39.3 16 39 16.1C38.7 16.2 38.3 16.3 37.9 16.3C37.2 16.3 36.7 16.1 36.3 15.8C35.9 15.4 35.7 15 35.7 14.4C35.7 14 35.8 13.7 36 13.4C36.2 13.1 36.4 12.9 36.7 12.7C37 12.5 37.5 12.4 38.1 12.3C38.9 12.1 39.5 12 39.8 11.9V11.7C39.8 11.4 39.7 11.1 39.6 11C39.5 10.9 39.1 10.8 38.7 10.8C38.4 10.8 38.2 10.9 38 11C37.8 11.2 37.7 11.4 37.6 11.7ZM39.9 13.1C39.7 13.2 39.3 13.3 38.9 13.4C38.5 13.5 38.1 13.6 38 13.7C37.8 13.9 37.7 14.1 37.7 14.3C37.7 14.5 37.8 14.7 38 14.9C38.2 15.1 38.4 15.2 38.7 15.2C39 15.2 39.3 15.1 39.6 14.9C39.8 14.7 39.9 14.6 40 14.3C40 14.2 40.1 13.9 40.1 13.5V13.1H39.9Z" fill="white"/>
11
- <path d="M45 16.2L42.4 9.69998H44.2L45.4 13L45.8 14.1C45.9 13.8 46 13.6 46 13.5C46.1 13.3 46.1 13.1 46.2 12.9L47.4 9.59998H49.2L46.6 16.1H45V16.2Z" fill="white"/>
12
- <path d="M54 14.1L55.7 14.4C55.5 15 55.1 15.5 54.7 15.8C54.2 16.1 53.6 16.3 52.9 16.3C51.8 16.3 50.9 15.9 50.4 15.2C50 14.6 49.8 13.9 49.8 13C49.8 11.9 50.1 11.1 50.6 10.5C51.2 9.9 51.9 9.59998 52.7 9.59998C53.7 9.59998 54.4 9.89998 55 10.6C55.6 11.2 55.8 12.2 55.8 13.5H51.5C51.5 14 51.7 14.4 51.9 14.7C52.1 15 52.5 15.1 52.9 15.1C53.2 15.1 53.4 15 53.6 14.9C53.7 14.7 53.9 14.4 54 14.1ZM54.1 12.4C54.1 11.9 54 11.5 53.7 11.3C53.5 11 53.2 10.9 52.8 10.9C52.4 10.9 52.1 11 51.9 11.3C51.7 11.6 51.5 11.9 51.5 12.4H54.1Z" fill="white"/>
13
- <g clip-path="url(#clip0)">
14
- <path d="M13.3656 4.48386C9.62208 4.48386 6.58044 7.62361 6.58044 11.4879C6.58044 14.362 8.24165 16.8255 10.6515 17.9123C10.6281 17.4293 10.6515 16.8255 10.7685 16.2941C10.9089 15.7145 11.6342 12.4781 11.6342 12.4781C11.6342 12.4781 11.4237 12.0193 11.4237 11.3671C11.4237 10.3286 12.0086 9.55575 12.7339 9.55575C13.3422 9.55575 13.6464 10.0388 13.6464 10.6184C13.6464 11.2464 13.2486 12.2124 13.038 13.1061C12.8743 13.8548 13.389 14.4586 14.1143 14.4586C15.4012 14.4586 16.2669 12.7438 16.2669 10.7392C16.2669 9.19342 15.2608 8.0583 13.4358 8.0583C11.3768 8.0583 10.09 9.65233 10.09 11.4154C10.09 12.0192 10.2538 12.4539 10.5346 12.7921C10.6515 12.937 10.675 13.0094 10.6281 13.1785C10.6047 13.2992 10.5112 13.6132 10.4877 13.734C10.4409 13.903 10.3006 13.9755 10.1368 13.903C9.17752 13.4924 8.75636 12.4298 8.75636 11.2222C8.75636 9.24171 10.3708 6.85068 13.5996 6.85068C16.1967 6.85068 17.9047 8.78284 17.9047 10.8599C17.9047 13.6132 16.4306 15.6661 14.2547 15.6661C13.5294 15.6661 12.8275 15.2555 12.5935 14.7967C12.5935 14.7967 12.1958 16.4148 12.1256 16.7288C11.9852 17.2602 11.7044 17.8157 11.4471 18.2262C12.0554 18.4195 12.7105 18.5161 13.3656 18.5161C17.1092 18.5161 20.1508 15.3763 20.1508 11.512C20.1508 7.64772 17.1092 4.48386 13.3656 4.48386Z" fill="#CB1F24"/>
15
- <path d="M13.3656 4.48386C9.62208 4.48386 6.58044 7.62361 6.58044 11.4879C6.58044 14.362 8.24165 16.8255 10.6515 17.9123C10.6281 17.4293 10.6515 16.8255 10.7685 16.2941C10.9089 15.7145 11.6342 12.4781 11.6342 12.4781C11.6342 12.4781 11.4237 12.0193 11.4237 11.3671C11.4237 10.3286 12.0086 9.55575 12.7339 9.55575C13.3422 9.55575 13.6464 10.0388 13.6464 10.6184C13.6464 11.2464 13.2486 12.2124 13.038 13.1061C12.8743 13.8548 13.389 14.4586 14.1143 14.4586C15.4012 14.4586 16.2669 12.7438 16.2669 10.7392C16.2669 9.19342 15.2608 8.0583 13.4358 8.0583C11.3768 8.0583 10.09 9.65233 10.09 11.4154C10.09 12.0192 10.2538 12.4539 10.5346 12.7921C10.6515 12.937 10.675 13.0094 10.6281 13.1785C10.6047 13.2992 10.5112 13.6132 10.4877 13.734C10.4409 13.903 10.3006 13.9755 10.1368 13.903C9.17752 13.4924 8.75636 12.4298 8.75636 11.2222C8.75636 9.24171 10.3708 6.85068 13.5996 6.85068C16.1967 6.85068 17.9047 8.78284 17.9047 10.8599C17.9047 13.6132 16.4306 15.6661 14.2547 15.6661C13.5294 15.6661 12.8275 15.2555 12.5935 14.7967C12.5935 14.7967 12.1958 16.4148 12.1256 16.7288C11.9852 17.2602 11.7044 17.8157 11.4471 18.2262C12.0554 18.4195 12.7105 18.5161 13.3656 18.5161C17.1092 18.5161 20.1508 15.3763 20.1508 11.512C20.1508 7.64772 17.1092 4.48386 13.3656 4.48386Z" fill="white"/>
16
- </g>
17
- </g>
18
- <defs>
19
- <clipPath id="clip0">
20
- <rect width="13.5938" height="14.0323" fill="white" transform="matrix(-1 0 0 1 20.1625 4.48386)"/>
21
- </clipPath>
22
- </defs>
23
- </svg>
1
+ <svg width="62" height="23" viewBox="0 0 62 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="62" height="23">
3
+ <path d="M58.1 0H3.80002C1.70002 0 0 1.70002 0 3.80002V19.2C0 21.3 1.70002 23 3.80002 23H58.1C60.2 23 61.9 21.3 61.9 19.2V3.80002C61.8 1.70002 60.1 0 58.1 0Z" fill="#50ABF1"/>
4
+ </mask>
5
+ <g mask="url(#mask0)">
6
+ <rect width="63" height="23" fill="#0274B3"/>
7
+ <rect width="63" height="23" fill="#E1E7EC"/>
8
+ <rect width="63" height="23" fill="#CB1F24"/>
9
+ <path d="M27.5 13.3L29.3 13.1C29.4 13.7 29.6 14.1 29.9 14.4C30.2 14.7 30.7 14.8 31.2 14.8C31.8 14.8 32.2 14.7 32.5 14.4C32.8 14.2 32.9 13.9 32.9 13.5C32.9 13.3 32.8 13.1 32.7 13C32.6 12.9 32.4 12.7 32 12.6C31.8 12.5 31.3 12.4 30.6 12.2C29.6 12 28.9 11.7 28.6 11.3C28 10.8 27.8 10.2 27.8 9.5C27.8 9 27.9 8.59998 28.2 8.19998C28.5 7.79998 28.8 7.49999 29.3 7.29999C29.8 7.09999 30.4 7 31.1 7C32.2 7 33.1 7.19998 33.6 7.69998C34.2 8.19998 34.5 8.89998 34.5 9.69998L32.7 9.79999C32.6 9.29999 32.5 8.99999 32.2 8.79999C31.9 8.59999 31.6 8.5 31.1 8.5C30.6 8.5 30.2 8.59999 29.9 8.79999C29.7 8.89999 29.6 9.09999 29.6 9.39999C29.6 9.59999 29.7 9.79999 29.9 9.89999C30.1 10.1 30.7 10.3 31.6 10.5C32.5 10.7 33.1 10.9 33.6 11.1C34 11.3 34.4 11.6 34.6 12C34.8 12.4 35 12.9 35 13.4C35 13.9 34.9 14.4 34.6 14.8C34.3 15.2 33.9 15.6 33.4 15.8C32.9 16 32.2 16.1 31.5 16.1C30.4 16.1 29.5 15.8 28.9 15.3C28 15 27.6 14.3 27.5 13.3Z" fill="white"/>
10
+ <path d="M37.6 11.7L36 11.4C36.2 10.8 36.5 10.3 36.9 10C37.3 9.7 38 9.5 38.8 9.5C39.6 9.5 40.1 9.59999 40.5 9.79999C40.9 9.99999 41.1 10.2 41.3 10.5C41.5 10.8 41.5 11.3 41.5 12V14C41.5 14.6 41.5 15 41.6 15.3C41.7 15.6 41.8 15.9 41.9 16.2H40.2C40.2 16.1 40.1 15.9 40 15.7C40 15.6 40 15.5 39.9 15.5C39.6 15.8 39.3 16 39 16.1C38.7 16.2 38.3 16.3 37.9 16.3C37.2 16.3 36.7 16.1 36.3 15.8C35.9 15.4 35.7 15 35.7 14.4C35.7 14 35.8 13.7 36 13.4C36.2 13.1 36.4 12.9 36.7 12.7C37 12.5 37.5 12.4 38.1 12.3C38.9 12.1 39.5 12 39.8 11.9V11.7C39.8 11.4 39.7 11.1 39.6 11C39.5 10.9 39.1 10.8 38.7 10.8C38.4 10.8 38.2 10.9 38 11C37.8 11.2 37.7 11.4 37.6 11.7ZM39.9 13.1C39.7 13.2 39.3 13.3 38.9 13.4C38.5 13.5 38.1 13.6 38 13.7C37.8 13.9 37.7 14.1 37.7 14.3C37.7 14.5 37.8 14.7 38 14.9C38.2 15.1 38.4 15.2 38.7 15.2C39 15.2 39.3 15.1 39.6 14.9C39.8 14.7 39.9 14.6 40 14.3C40 14.2 40.1 13.9 40.1 13.5V13.1H39.9Z" fill="white"/>
11
+ <path d="M45 16.2L42.4 9.69998H44.2L45.4 13L45.8 14.1C45.9 13.8 46 13.6 46 13.5C46.1 13.3 46.1 13.1 46.2 12.9L47.4 9.59998H49.2L46.6 16.1H45V16.2Z" fill="white"/>
12
+ <path d="M54 14.1L55.7 14.4C55.5 15 55.1 15.5 54.7 15.8C54.2 16.1 53.6 16.3 52.9 16.3C51.8 16.3 50.9 15.9 50.4 15.2C50 14.6 49.8 13.9 49.8 13C49.8 11.9 50.1 11.1 50.6 10.5C51.2 9.9 51.9 9.59998 52.7 9.59998C53.7 9.59998 54.4 9.89998 55 10.6C55.6 11.2 55.8 12.2 55.8 13.5H51.5C51.5 14 51.7 14.4 51.9 14.7C52.1 15 52.5 15.1 52.9 15.1C53.2 15.1 53.4 15 53.6 14.9C53.7 14.7 53.9 14.4 54 14.1ZM54.1 12.4C54.1 11.9 54 11.5 53.7 11.3C53.5 11 53.2 10.9 52.8 10.9C52.4 10.9 52.1 11 51.9 11.3C51.7 11.6 51.5 11.9 51.5 12.4H54.1Z" fill="white"/>
13
+ <g clip-path="url(#clip0)">
14
+ <path d="M13.3656 4.48386C9.62208 4.48386 6.58044 7.62361 6.58044 11.4879C6.58044 14.362 8.24165 16.8255 10.6515 17.9123C10.6281 17.4293 10.6515 16.8255 10.7685 16.2941C10.9089 15.7145 11.6342 12.4781 11.6342 12.4781C11.6342 12.4781 11.4237 12.0193 11.4237 11.3671C11.4237 10.3286 12.0086 9.55575 12.7339 9.55575C13.3422 9.55575 13.6464 10.0388 13.6464 10.6184C13.6464 11.2464 13.2486 12.2124 13.038 13.1061C12.8743 13.8548 13.389 14.4586 14.1143 14.4586C15.4012 14.4586 16.2669 12.7438 16.2669 10.7392C16.2669 9.19342 15.2608 8.0583 13.4358 8.0583C11.3768 8.0583 10.09 9.65233 10.09 11.4154C10.09 12.0192 10.2538 12.4539 10.5346 12.7921C10.6515 12.937 10.675 13.0094 10.6281 13.1785C10.6047 13.2992 10.5112 13.6132 10.4877 13.734C10.4409 13.903 10.3006 13.9755 10.1368 13.903C9.17752 13.4924 8.75636 12.4298 8.75636 11.2222C8.75636 9.24171 10.3708 6.85068 13.5996 6.85068C16.1967 6.85068 17.9047 8.78284 17.9047 10.8599C17.9047 13.6132 16.4306 15.6661 14.2547 15.6661C13.5294 15.6661 12.8275 15.2555 12.5935 14.7967C12.5935 14.7967 12.1958 16.4148 12.1256 16.7288C11.9852 17.2602 11.7044 17.8157 11.4471 18.2262C12.0554 18.4195 12.7105 18.5161 13.3656 18.5161C17.1092 18.5161 20.1508 15.3763 20.1508 11.512C20.1508 7.64772 17.1092 4.48386 13.3656 4.48386Z" fill="#CB1F24"/>
15
+ <path d="M13.3656 4.48386C9.62208 4.48386 6.58044 7.62361 6.58044 11.4879C6.58044 14.362 8.24165 16.8255 10.6515 17.9123C10.6281 17.4293 10.6515 16.8255 10.7685 16.2941C10.9089 15.7145 11.6342 12.4781 11.6342 12.4781C11.6342 12.4781 11.4237 12.0193 11.4237 11.3671C11.4237 10.3286 12.0086 9.55575 12.7339 9.55575C13.3422 9.55575 13.6464 10.0388 13.6464 10.6184C13.6464 11.2464 13.2486 12.2124 13.038 13.1061C12.8743 13.8548 13.389 14.4586 14.1143 14.4586C15.4012 14.4586 16.2669 12.7438 16.2669 10.7392C16.2669 9.19342 15.2608 8.0583 13.4358 8.0583C11.3768 8.0583 10.09 9.65233 10.09 11.4154C10.09 12.0192 10.2538 12.4539 10.5346 12.7921C10.6515 12.937 10.675 13.0094 10.6281 13.1785C10.6047 13.2992 10.5112 13.6132 10.4877 13.734C10.4409 13.903 10.3006 13.9755 10.1368 13.903C9.17752 13.4924 8.75636 12.4298 8.75636 11.2222C8.75636 9.24171 10.3708 6.85068 13.5996 6.85068C16.1967 6.85068 17.9047 8.78284 17.9047 10.8599C17.9047 13.6132 16.4306 15.6661 14.2547 15.6661C13.5294 15.6661 12.8275 15.2555 12.5935 14.7967C12.5935 14.7967 12.1958 16.4148 12.1256 16.7288C11.9852 17.2602 11.7044 17.8157 11.4471 18.2262C12.0554 18.4195 12.7105 18.5161 13.3656 18.5161C17.1092 18.5161 20.1508 15.3763 20.1508 11.512C20.1508 7.64772 17.1092 4.48386 13.3656 4.48386Z" fill="white"/>
16
+ </g>
17
+ </g>
18
+ <defs>
19
+ <clipPath id="clip0">
20
+ <rect width="13.5938" height="14.0323" fill="white" transform="matrix(-1 0 0 1 20.1625 4.48386)"/>
21
+ </clipPath>
22
+ </defs>
23
+ </svg>
js/custom-admin.js CHANGED
@@ -1,3486 +1,3486 @@
1
- function sfsi_update_index() {
2
- var s = 1;
3
- SFSI("ul.icn_listing li.custom").each(function () {
4
- SFSI(this).children("span.custom-txt").html("Custom " + s), s++;
5
- }), cntt = 1, SFSI("div.cm_lnk").each(function () {
6
- SFSI(this).find("h2.custom").find("span.sfsiCtxt").html("Custom " + cntt + ":"),
7
- cntt++;
8
- }), cntt = 1, SFSI("div.custom_m").find("div.custom_section").each(function () {
9
- SFSI(this).find("label").html("Custom " + cntt + ":"), cntt++;
10
- });
11
- }
12
-
13
- function sfsicollapse(s) {
14
- var i = !0,
15
- e = SFSI(s).closest("div.ui-accordion-content").prev("h3.ui-accordion-header"),
16
- t = SFSI(s).closest("div.ui-accordion-content").first();
17
- e.toggleClass("ui-corner-all", i).toggleClass("accordion-header-active ui-state-active ui-corner-top", !i).attr("aria-selected", (!i).toString()),
18
- e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", i).toggleClass("ui-icon-triangle-1-s", !i),
19
- t.toggleClass("accordion-content-active", !i), i ? t.slideUp() : t.slideDown();
20
- }
21
-
22
- function sfsi_delete_CusIcon(s, i) {
23
- beForeLoad();
24
- var e = {
25
- action: "deleteIcons",
26
- icon_name: i.attr("name"),
27
- nonce: SFSI(i).parents('.custom').find('input[name="nonce"]').val()
28
- };
29
- SFSI.ajax({
30
- url: sfsi_icon_ajax_object.ajax_url,
31
- type: "post",
32
- data: e,
33
- dataType: "json",
34
- success: function (e) {
35
- if ("success" == e.res) {
36
- showErrorSuc("success", "Saved !", 1);
37
- var t = e.last_index + 1;
38
- SFSI("#total_cusotm_icons").val(e.total_up), SFSI(s).closest(".custom").remove(),
39
- SFSI("li.custom:last-child").addClass("bdr_btm_non"), SFSI(".custom-links").find("div." + i.attr("name")).remove(),
40
- SFSI(".custom_m").find("div." + i.attr("name")).remove(), SFSI(".share_icon_order").children("li." + i.attr("name")).remove(),
41
- SFSI("ul.sfsi_sample_icons").children("li." + i.attr("name")).remove();
42
-
43
- if (e.total_up == 0) {
44
- SFSI(".notice_custom_icons_premium").hide();
45
- }
46
- var n = e.total_up + 1;
47
- 4 == e.total_up && SFSI(".icn_listing").append('<li id="c' + t + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style=" 0px 0px;"></span><input name="sfsiICON_' + t + '_display" type="checkbox" value="yes" class="styled" style="display:none;" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + t + '" alt="error" /> </span> <span class="custom custom-txt">Custom' + n + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>');
48
- } else showErrorSuc("error", "Unkown error , please try again", 1);
49
- return sfsi_update_index(), update_Sec5Iconorder(), sfsi_update_step1(), sfsi_update_step5(),
50
- afterLoad(), "suc";
51
- }
52
- });
53
- }
54
-
55
- function update_Sec5Iconorder() {
56
- SFSI("ul.share_icon_order").children("li").each(function () {
57
- SFSI(this).attr("data-index", SFSI(this).index() + 1);
58
- });
59
- }
60
-
61
- function sfsi_section_Display(s, i) {
62
- "hide" == i ? (SFSI("." + s + " :input").prop("disabled", !0), SFSI("." + s + " :button").prop("disabled", !0),
63
- SFSI("." + s).hide()) : (SFSI("." + s + " :input").removeAttr("disabled", !0), SFSI("." + s + " :button").removeAttr("disabled", !0),
64
- SFSI("." + s).show());
65
- }
66
-
67
- function sfsi_depened_sections() {
68
- if ("sfsi" == SFSI("input[name='sfsi_rss_icons']:checked").val()) {
69
- for (i = 0; 16 > i; i++) {
70
- var s = i + 1,
71
- e = 74 * i;
72
- SFSI(".row_" + s + "_2").css("background-position", "-588px -" + e + "px");
73
- }
74
- var t = SFSI(".icon_img").attr("src");
75
- if (t) {
76
- if (t.indexOf("subscribe") != -1) {
77
- var n = t.replace("subscribe.png", "sf_arow_icn.png");
78
- } else {
79
- var n = t.replace("email.png", "sf_arow_icn.png");
80
- }
81
- SFSI(".icon_img").attr("src", n);
82
- }
83
- } else {
84
- if ("email" == SFSI("input[name='sfsi_rss_icons']:checked").val()) {
85
- for (SFSI(".row_1_2").css("background-position", "-58px 0"), i = 0; 16 > i; i++) {
86
- var s = i + 1,
87
- e = 74 * i;
88
- SFSI(".row_" + s + "_2").css("background-position", "-58px -" + e + "px");
89
- }
90
- var t = SFSI(".icon_img").attr("src");
91
- if (t) {
92
- if (t.indexOf("sf_arow_icn") != -1) {
93
- var n = t.replace("sf_arow_icn.png", "email.png");
94
- } else {
95
- var n = t.replace("subscribe.png", "email.png");
96
- }
97
- SFSI(".icon_img").attr("src", n);
98
- }
99
- } else {
100
- for (SFSI(".row_1_2").css("background-position", "-649px 0"), i = 0; 16 > i; i++) {
101
- var s = i + 1,
102
- e = 74 * i;
103
- SFSI(".row_" + s + "_2").css("background-position", "-649px -" + e + "px");
104
- }
105
- var t = SFSI(".icon_img").attr("src");
106
- if (t) {
107
- if (t.indexOf("email") != -1) {
108
- var n = t.replace("email.png", "subscribe.png");
109
- } else {
110
- var n = t.replace("sf_arow_icn.png", "subscribe.png");
111
- }
112
- SFSI(".icon_img").attr("src", n);
113
- }
114
- }
115
- }
116
- SFSI("input[name='sfsi_rss_display']").prop("checked") ? sfsi_section_Display("rss_section", "show") : sfsi_section_Display("rss_section", "hide"),
117
- SFSI("input[name='sfsi_email_display']").prop("checked") ? sfsi_section_Display("email_section", "show") : sfsi_section_Display("email_section", "hide"),
118
- SFSI("input[name='sfsi_facebook_display']").prop("checked") ? sfsi_section_Display("facebook_section", "show") : sfsi_section_Display("facebook_section", "hide"),
119
- SFSI("input[name='sfsi_twitter_display']").prop("checked") ? sfsi_section_Display("twitter_section", "show") : sfsi_section_Display("twitter_section", "hide"),
120
- SFSI("input[name='sfsi_youtube_display']").prop("checked") ? sfsi_section_Display("youtube_section", "show") : sfsi_section_Display("youtube_section", "hide"),
121
- SFSI("input[name='sfsi_pinterest_display']").prop("checked") ? sfsi_section_Display("pinterest_section", "show") : sfsi_section_Display("pinterest_section", "hide"),
122
- SFSI("input[name='sfsi_telegram_display']").prop("checked") ? sfsi_section_Display("telegram_section", "show") : sfsi_section_Display("telegram_section", "hide"),
123
- SFSI("input[name='sfsi_vk_display']").prop("checked") ? sfsi_section_Display("vk_section", "show") : sfsi_section_Display("vk_section", "hide"),
124
- SFSI("input[name='sfsi_ok_display']").prop("checked") ? sfsi_section_Display("ok_section", "show") : sfsi_section_Display("ok_section", "hide"),
125
- SFSI("input[name='sfsi_wechat_display']").prop("checked") ? sfsi_section_Display("wechat_section", "show") : sfsi_section_Display("wechat_section", "hide"),
126
- SFSI("input[name='sfsi_weibo_display']").prop("checked") ? sfsi_section_Display("weibo_section", "show") : sfsi_section_Display("weibo_section", "hide"),
127
- SFSI("input[name='sfsi_instagram_display']").prop("checked") ? sfsi_section_Display("instagram_section", "show") : sfsi_section_Display("instagram_section", "hide"),
128
- SFSI("input[name='sfsi_linkedin_display']").prop("checked") ? sfsi_section_Display("linkedin_section", "show") : sfsi_section_Display("linkedin_section", "hide"),
129
- SFSI("input[element-type='cusotm-icon']").prop("checked") ? sfsi_section_Display("custom_section", "show") : sfsi_section_Display("custom_section", "hide");
130
- }
131
-
132
- function CustomIConSectionsUpdate() {
133
- sfsi_section_Display("counter".ele, show);
134
- }
135
-
136
- // Upload Custom Skin {Monad}
137
- function sfsi_customskin_upload(s, ref, nonce) {
138
- var ttl = jQuery(ref).attr("title");
139
- var i = s,
140
- e = {
141
- action: "UploadSkins",
142
- custom_imgurl: i,
143
- nonce: nonce
144
- };
145
- SFSI.ajax({
146
- url: sfsi_icon_ajax_object.ajax_url,
147
- type: "post",
148
- data: e,
149
- success: function (msg) {
150
- if (msg.res = "success") {
151
- var arr = s.split('=');
152
- jQuery(ref).prev('.imgskin').attr('src', arr[1]);
153
- jQuery(ref).prev('.imgskin').css("display", "block");
154
- jQuery(ref).text("Update");
155
- jQuery(ref).next('.dlt_btn').css("display", "block");
156
- }
157
- }
158
- });
159
- }
160
-
161
- // Delete Custom Skin {Monad}
162
- function deleteskin_icon(s) {
163
- var iconname = jQuery(s).attr("title");
164
- var nonce = jQuery(s).attr("data-nonce");
165
- var i = iconname,
166
- e = {
167
- action: "DeleteSkin",
168
- iconname: i,
169
- nonce: nonce
170
- };
171
- // console.log('delete sin icon', i, iconname, nonce);
172
- SFSI.ajax({
173
- url: sfsi_icon_ajax_object.ajax_url,
174
- type: "post",
175
- data: e,
176
- dataType: "json",
177
- success: function (msg) {
178
- // console.log(s, e, msg);
179
-
180
- if (msg.res === "success") {
181
- SFSI(s).prev("a").text("Upload");
182
- SFSI(s).prev("a").prev("img").attr("src", '');
183
- SFSI(s).prev("a").prev("img").css("display", "none");
184
- SFSI(s).css("display", "none");
185
- } else {
186
- alert("Whoops! something went wrong.")
187
- }
188
- }
189
- });
190
- }
191
-
192
- // Save Custom Skin {Monad}
193
- function SFSI_done(nonce) {
194
- e = {
195
- action: "Iamdone",
196
- nonce: nonce
197
- };
198
-
199
- SFSI.ajax({
200
- url: sfsi_icon_ajax_object.ajax_url,
201
- type: "post",
202
- data: e,
203
- success: function (msg) {
204
- if (msg.res === "success") {
205
-
206
-
207
- jQuery("li.cstomskins_upload").children(".icns_tab_3").html(msg);
208
- SFSI("input[name='sfsi_rss_display']").prop("checked") ? sfsi_section_Display("rss_section", "show") : sfsi_section_Display("rss_section", "hide"), SFSI("input[name='sfsi_email_display']").prop("checked") ? sfsi_section_Display("email_section", "show") : sfsi_section_Display("email_section", "hide"), SFSI("input[name='sfsi_facebook_display']").prop("checked") ? sfsi_section_Display("facebook_section", "show") : sfsi_section_Display("facebook_section", "hide"), SFSI("input[name='sfsi_twitter_display']").prop("checked") ? sfsi_section_Display("twitter_section", "show") : sfsi_section_Display("twitter_section", "hide"), SFSI("input[name='sfsi_youtube_display']").prop("checked") ? sfsi_section_Display("youtube_section", "show") : sfsi_section_Display("youtube_section", "hide"), SFSI("input[name='sfsi_pinterest_display']").prop("checked") ? sfsi_section_Display("pinterest_section", "show") : sfsi_section_Display("pinterest_section", "hide"), SFSI("input[name='sfsi_instagram_display']").prop("checked") ? sfsi_section_Display("instagram_section", "show") : sfsi_section_Display("instagram_section", "hide"), SFSI("input[name='sfsi_linkedin_display']").prop("checked") ? sfsi_section_Display("linkedin_section", "show") : sfsi_section_Display("linkedin_section", "hide"), SFSI("input[element-type='cusotm-icon']").prop("checked") ? sfsi_section_Display("custom_section", "show") : sfsi_section_Display("custom_section", "hide");
209
- SFSI(".cstmskins-overlay").hide("slow");
210
- sfsi_update_step3() && sfsicollapse(this);
211
- }
212
- }
213
- });
214
- }
215
-
216
- // Upload Custom Icons {Monad}
217
- function sfsi_newcustomicon_upload(s, nonce, nonce2) {
218
- var i = s,
219
- e = {
220
- action: "UploadIcons",
221
- custom_imgurl: i,
222
- nonce: nonce
223
- };
224
- SFSI.ajax({
225
- url: sfsi_icon_ajax_object.ajax_url,
226
- type: "post",
227
- data: e,
228
- dataType: "json",
229
- async: !0,
230
- success: function (s) {
231
- if (s.res == 'success') {
232
- afterIconSuccess(s, nonce2);
233
- } else {
234
- SFSI(".upload-overlay").hide("slow");
235
- SFSI(".uperror").html(s.res);
236
- showErrorSuc("Error", "Some Error Occured During Upload Custom Icon", 1)
237
- }
238
- }
239
- });
240
- }
241
-
242
- function sfsi_update_step1() {
243
- var nonce = SFSI("#sfsi_save1").attr("data-nonce");
244
- global_error = 0, beForeLoad(), sfsi_depened_sections();
245
- var s = !1,
246
- i = SFSI("input[name='sfsi_rss_display']:checked").val(),
247
- e = SFSI("input[name='sfsi_email_display']:checked").val(),
248
- t = SFSI("input[name='sfsi_facebook_display']:checked").val(),
249
- n = SFSI("input[name='sfsi_twitter_display']:checked").val(),
250
- r = SFSI("input[name='sfsi_youtube_display']:checked").val(),
251
- c = SFSI("input[name='sfsi_pinterest_display']:checked").val(),
252
- p = SFSI("input[name='sfsi_linkedin_display']:checked").val(),
253
- tg = SFSI("input[name='sfsi_telegram_display']:checked").val(),
254
- vk = SFSI("input[name='sfsi_vk_display']:checked").val(),
255
- ok = SFSI("input[name='sfsi_ok_display']:checked").val(),
256
- wc = SFSI("input[name='sfsi_wechat_display']:checked").val(),
257
- wb = SFSI("input[name='sfsi_weibo_display']:checked").val(),
258
- _ = SFSI("input[name='sfsi_instagram_display']:checked").val(),
259
- l = SFSI("input[name='sfsi_custom1_display']:checked").val(),
260
- S = SFSI("input[name='sfsi_custom2_display']:checked").val(),
261
- u = SFSI("input[name='sfsi_custom3_display']:checked").val(),
262
- f = SFSI("input[name='sfsi_custom4_display']:checked").val(),
263
- d = SFSI("input[name='sfsi_custom5_display']:checked").val(),
264
- I = {
265
- action: "updateSrcn1",
266
- sfsi_rss_display: i,
267
- sfsi_email_display: e,
268
- sfsi_facebook_display: t,
269
- sfsi_twitter_display: n,
270
- sfsi_youtube_display: r,
271
- sfsi_pinterest_display: c,
272
- sfsi_linkedin_display: p,
273
- sfsi_telegram_display: tg,
274
- sfsi_vk_display: vk,
275
- sfsi_ok_display: ok,
276
- sfsi_wechat_display: wc,
277
- sfsi_weibo_display: wb,
278
- sfsi_instagram_display: _,
279
- sfsi_custom1_display: l,
280
- sfsi_custom2_display: S,
281
- sfsi_custom3_display: u,
282
- sfsi_custom4_display: f,
283
- sfsi_custom5_display: d,
284
- nonce: nonce
285
- };
286
- SFSI.ajax({
287
- url: sfsi_icon_ajax_object.ajax_url,
288
- type: "post",
289
- data: I,
290
- async: !0,
291
- dataType: "json",
292
- success: function (i) {
293
- if (i == "wrong_nonce") {
294
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 1);
295
- s = !1;
296
- afterLoad();
297
- } else {
298
- "success" == i ? (showErrorSuc("success", "Saved !", 1), sfsicollapse("#sfsi_save1"),
299
- sfsi_make_popBox()) : (global_error = 1, showErrorSuc("error", "Unkown error , please try again", 1),
300
- s = !1), afterLoad();
301
- }
302
- }
303
- });
304
- }
305
-
306
- function sfsi_update_step2() {
307
-
308
- var nonce = SFSI("#sfsi_save2").attr("data-nonce");
309
- var s = sfsi_validationStep2();
310
- if (!s) return global_error = 1, !1;
311
- beForeLoad();
312
- var i = 1 == SFSI("input[name='sfsi_rss_url']").prop("disabled") ? "" : SFSI("input[name='sfsi_rss_url']").val(),
313
- e = 1 == SFSI("input[name='sfsi_rss_icons']").prop("disabled") ? "" : SFSI("input[name='sfsi_rss_icons']:checked").val(),
314
-
315
- t = 1 == SFSI("input[name='sfsi_facebookPage_option']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebookPage_option']:checked").val(),
316
- n = 1 == SFSI("input[name='sfsi_facebookLike_option']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebookLike_option']:checked").val(),
317
- o = 1 == SFSI("input[name='sfsi_facebookShare_option']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebookShare_option']:checked").val(),
318
- a = SFSI("input[name='sfsi_facebookPage_url']").val(),
319
- r = 1 == SFSI("input[name='sfsi_twitter_followme']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_followme']:checked").val(),
320
- c = 1 == SFSI("input[name='sfsi_twitter_followUserName']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_followUserName']").val(),
321
- p = 1 == SFSI("input[name='sfsi_twitter_aboutPage']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_aboutPage']:checked").val(),
322
- _ = 1 == SFSI("input[name='sfsi_twitter_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_page']:checked").val(),
323
- l = SFSI("input[name='sfsi_twitter_pageURL']").val(),
324
- S = SFSI("textarea[name='sfsi_twitter_aboutPageText']").val(),
325
- m = 1 == SFSI("input[name='sfsi_youtube_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_page']:checked").val(),
326
- F = 1 == SFSI("input[name='sfsi_youtube_pageUrl']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_pageUrl']").val(),
327
- h = 1 == SFSI("input[name='sfsi_youtube_follow']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_follow']:checked").val(),
328
- cls = SFSI("input[name='sfsi_youtubeusernameorid']:checked").val(),
329
- v = SFSI("input[name='sfsi_ytube_user']").val(),
330
- vchid = SFSI("input[name='sfsi_ytube_chnlid']").val(),
331
- g = 1 == SFSI("input[name='sfsi_pinterest_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_page']:checked").val(),
332
- k = 1 == SFSI("input[name='sfsi_pinterest_pageUrl']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_pageUrl']").val(),
333
- y = 1 == SFSI("input[name='sfsi_pinterest_pingBlog']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_pingBlog']:checked").val(),
334
- b = 1 == SFSI("input[name='sfsi_instagram_pageUrl']").prop("disabled") ? "" : SFSI("input[name='sfsi_instagram_pageUrl']").val(),
335
- w = 1 == SFSI("input[name='sfsi_linkedin_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedin_page']:checked").val(),
336
- x = 1 == SFSI("input[name='sfsi_linkedin_pageURL']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedin_pageURL']").val(),
337
- C = 1 == SFSI("input[name='sfsi_linkedin_follow']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedin_follow']:checked").val(),
338
- D = SFSI("input[name='sfsi_linkedin_followCompany']").val(),
339
- U = 1 == SFSI("input[name='sfsi_linkedin_SharePage']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedin_SharePage']:checked").val(),
340
- O = SFSI("input[name='sfsi_linkedin_recommendBusines']:checked").val(),
341
- T = SFSI("input[name='sfsi_linkedin_recommendProductId']").val(),
342
- j = SFSI("input[name='sfsi_linkedin_recommendCompany']").val(),
343
- tp = 1 == SFSI("input[name='sfsi_telegram_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_telegram_page']:checked").val(),
344
- tpu = SFSI("input[name='sfsi_telegram_pageURL']").val(),
345
- tm = SFSI("input[name='sfsi_telegram_message']").val(),
346
- tmn = SFSI("input[name='sfsi_telegram_username']").val(),
347
- wp = 1 == SFSI("input[name='sfsi_weibo_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_weibo_page']:checked").val(),
348
- wpu = SFSI("input[name='sfsi_weibo_pageURL']").val(),
349
- vp = 1 == SFSI("input[name='sfsi_vk_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_vk_page']:checked").val(),
350
- vpu = SFSI("input[name='sfsi_vk_pageURL']").val(),
351
- op = 1 == SFSI("input[name='sfsi_ok_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_ok_page']:checked").val(),
352
- opu = SFSI("input[name='sfsi_ok_pageURL']").val(),
353
- P = {};
354
- SFSI("input[name='sfsi_CustomIcon_links[]']").each(function () {
355
- P[SFSI(this).attr("file-id")] = this.value;
356
- });
357
- var M = {
358
- action: "updateSrcn2",
359
- sfsi_rss_url: i,
360
- sfsi_rss_icons: e,
361
- sfsi_facebookPage_option: t,
362
- sfsi_facebookLike_option: n,
363
- sfsi_facebookShare_option: o,
364
- sfsi_facebookPage_url: a,
365
- sfsi_twitter_followme: r,
366
- sfsi_twitter_followUserName: c,
367
- sfsi_twitter_aboutPage: p,
368
- sfsi_twitter_page: _,
369
- sfsi_twitter_pageURL: l,
370
- sfsi_twitter_aboutPageText: S,
371
- sfsi_youtube_page: m,
372
- sfsi_youtube_pageUrl: F,
373
- sfsi_youtube_follow: h,
374
- sfsi_youtubeusernameorid: cls,
375
- sfsi_ytube_user: v,
376
- sfsi_ytube_chnlid: vchid,
377
- sfsi_pinterest_page: g,
378
- sfsi_pinterest_pageUrl: k,
379
- sfsi_instagram_pageUrl: b,
380
- sfsi_pinterest_pingBlog: y,
381
- sfsi_linkedin_page: w,
382
- sfsi_linkedin_pageURL: x,
383
- sfsi_linkedin_follow: C,
384
- sfsi_linkedin_followCompany: D,
385
- sfsi_linkedin_SharePage: U,
386
- sfsi_linkedin_recommendBusines: O,
387
- sfsi_linkedin_recommendCompany: j,
388
- sfsi_linkedin_recommendProductId: T,
389
- sfsi_custom_links: P,
390
- sfsi_telegram_page: tp,
391
- sfsi_telegram_pageURL: tpu,
392
- sfsi_telegram_message: tm,
393
- sfsi_telegram_username: tmn,
394
- sfsi_weibo_page: wp,
395
- sfsi_weibo_pageURL: wpu,
396
- sfsi_vk_page: vp,
397
- sfsi_vk_pageURL: vpu,
398
- sfsi_ok_page: op,
399
- sfsi_ok_pageURL: opu,
400
- nonce: nonce
401
- };
402
- SFSI.ajax({
403
- url: sfsi_icon_ajax_object.ajax_url,
404
- type: "post",
405
- data: M,
406
- async: !0,
407
- dataType: "json",
408
- success: function (s) {
409
- if (s == "wrong_nonce") {
410
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 2);
411
- return_value = !1;
412
- afterLoad();
413
- } else {
414
- "success" == s ? (showErrorSuc("success", "Saved !", 2), sfsicollapse("#sfsi_save2"),
415
- sfsi_depened_sections()) : (global_error = 1, showErrorSuc("error", "Unkown error , please try again", 2),
416
- return_value = !1), afterLoad();
417
- }
418
- }
419
- });
420
- }
421
-
422
- function sfsi_update_step3() {
423
- var nonce = SFSI("#sfsi_save3").attr("data-nonce");
424
- var s = sfsi_validationStep3();
425
- if (!s) return global_error = 1, !1;
426
- beForeLoad();
427
- var i = SFSI("input[name='sfsi_actvite_theme']:checked").val(),
428
- e = SFSI("input[name='sfsi_mouseOver']:checked").val(),
429
- t = SFSI("input[name='sfsi_shuffle_icons']:checked").val(),
430
- n = SFSI("input[name='sfsi_shuffle_Firstload']:checked").val(),
431
- o = SFSI("input[name='sfsi_same_icons_mouseOver_effect']:checked").val(),
432
- a = SFSI("input[name='sfsi_shuffle_interval']:checked").val(),
433
- r = SFSI("input[name='sfsi_shuffle_intervalTime']").val(),
434
- c = SFSI("input[name='sfsi_specialIcon_animation']:checked").val(),
435
- p = SFSI("input[name='sfsi_specialIcon_MouseOver']:checked").val(),
436
- _ = SFSI("input[name='sfsi_specialIcon_Firstload']:checked").val(),
437
- l = SFSI("#sfsi_specialIcon_Firstload_Icons option:selected").val(),
438
- S = SFSI("input[name='sfsi_specialIcon_interval']:checked").val(),
439
- u = SFSI("input[name='sfsi_specialIcon_intervalTime']").val(),
440
- f = SFSI("#sfsi_specialIcon_intervalIcons option:selected").val();
441
-
442
- var mouseover_effect_type = 'same_icons'; //SFSI("input[name='sfsi_mouseOver_effect_type']:checked").val();
443
-
444
- d = {
445
- action: "updateSrcn3",
446
- sfsi_actvite_theme: i,
447
- sfsi_mouseOver: e,
448
- sfsi_shuffle_icons: t,
449
- sfsi_shuffle_Firstload: n,
450
- sfsi_mouseOver_effect: o,
451
- sfsi_mouseover_effect_type: mouseover_effect_type,
452
- sfsi_shuffle_interval: a,
453
- sfsi_shuffle_intervalTime: r,
454
- sfsi_specialIcon_animation: c,
455
- sfsi_specialIcon_MouseOver: p,
456
- sfsi_specialIcon_Firstload: _,
457
- sfsi_specialIcon_Firstload_Icons: l,
458
- sfsi_specialIcon_interval: S,
459
- sfsi_specialIcon_intervalTime: u,
460
- sfsi_specialIcon_intervalIcons: f,
461
- nonce: nonce
462
- };
463
- SFSI.ajax({
464
- url: sfsi_icon_ajax_object.ajax_url,
465
- type: "post",
466
- data: d,
467
- async: !0,
468
- dataType: "json",
469
- success: function (s) {
470
- if (s == "wrong_nonce") {
471
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 3);
472
- return_value = !1;
473
- afterLoad();
474
- } else {
475
- "success" == s ? (showErrorSuc("success", "Saved !", 3), sfsicollapse("#sfsi_save3")) : (showErrorSuc("error", "Unkown error , please try again", 3),
476
- return_value = !1), afterLoad();
477
- }
478
- }
479
- });
480
- }
481
-
482
- function sfsi_show_counts() {
483
- "yes" == SFSI("input[name='sfsi_display_counts']:checked").val() ? (SFSI(".count_sections").slideDown(),
484
- sfsi_showPreviewCounts()) : (SFSI(".count_sections").slideUp(), sfsi_showPreviewCounts());
485
- }
486
-
487
- function sfsi_showPreviewCounts() {
488
- var s = 0;
489
- 1 == SFSI("input[name='sfsi_rss_countsDisplay']").prop("checked") ? (SFSI("#sfsi_rss_countsDisplay").css("opacity", 1), s = 1) : SFSI("#sfsi_rss_countsDisplay").css("opacity", 0),
490
- 1 == SFSI("input[name='sfsi_email_countsDisplay']").prop("checked") ? (SFSI("#sfsi_email_countsDisplay").css("opacity", 1),
491
- s = 1) : SFSI("#sfsi_email_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_facebook_countsDisplay']").prop("checked") ? (SFSI("#sfsi_facebook_countsDisplay").css("opacity", 1),
492
- s = 1) : SFSI("#sfsi_facebook_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_twitter_countsDisplay']").prop("checked") ? (SFSI("#sfsi_twitter_countsDisplay").css("opacity", 1),
493
- s = 1) : SFSI("#sfsi_twitter_countsDisplay").css("opacity", 0),
494
- 1 == SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("checked") ? (SFSI("#sfsi_linkedIn_countsDisplay").css("opacity", 1), s = 1) : SFSI("#sfsi_linkedIn_countsDisplay").css("opacity", 0),
495
- 1 == SFSI("input[name='sfsi_youtube_countsDisplay']").prop("checked") ? (SFSI("#sfsi_youtube_countsDisplay").css("opacity", 1),
496
- s = 1) : SFSI("#sfsi_youtube_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_pinterest_countsDisplay']").prop("checked") ? (SFSI("#sfsi_pinterest_countsDisplay").css("opacity", 1),
497
- s = 1) : SFSI("#sfsi_pinterest_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_instagram_countsDisplay']").prop("checked") ? (SFSI("#sfsi_instagram_countsDisplay").css("opacity", 1),
498
- s = 1) : SFSI("#sfsi_instagram_countsDisplay").css("opacity", 0),
499
- 1 == SFSI("input[name='sfsi_telegram_countsDisplay']").prop("checked") ? (SFSI("#sfsi_telegram_countsDisplay").css("opacity", 0), s = 1) : SFSI("#sfsi_telegram_countsDisplay").css("opacity", 0),
500
- 1 == SFSI("input[name='sfsi_vk_countsDisplay']").prop("checked") ? (SFSI("#sfsi_vk_countsDisplay").css("opacity", 0), s = 1) : SFSI("#sfsi_vk_countsDisplay").css("opacity", 0),
501
- 1 == SFSI("input[name='sfsi_ok_countsDisplay']").prop("checked") ? (SFSI("#sfsi_ok_countsDisplay").css("opacity", 0), s = 1) : SFSI("#sfsi_ok_countsDisplay").css("opacity", 0),
502
- 1 == SFSI("input[name='sfsi_weibo_countsDisplay']").prop("checked") ? (SFSI("#sfsi_weibo_countsDisplay").css("opacity", 0), s = 1) : SFSI("#sfsi_weibo_countsDisplay").css("opacity", 0),
503
- 1 == SFSI("input[name='sfsi_wechat_countsDisplay']").prop("checked") ? (SFSI("#sfsi_wechat_countsDisplay").css("opacity", 0), s = 1) : SFSI("#sfsi_wechat_countsDisplay").css("opacity", 0),
504
-
505
- 0 == s || "no" == SFSI("input[name='sfsi_display_counts']:checked").val() ? SFSI(".sfsi_Cdisplay").hide() : SFSI(".sfsi_Cdisplay").show();
506
- }
507
-
508
- function sfsi_show_OnpostsDisplay() {
509
- //"yes" == SFSI("input[name='sfsi_show_Onposts']:checked").val() ? SFSI(".PostsSettings_section").slideDown() :SFSI(".PostsSettings_section").slideUp();
510
- }
511
-
512
- function sfsi_update_step4() {
513
- var nonce = SFSI("#sfsi_save4").attr("data-nonce");
514
- var s = !1,
515
- i = sfsi_validationStep4();
516
- if (!i) return global_error = 1, !1;
517
- beForeLoad();
518
- var e = SFSI("input[name='sfsi_display_counts']:checked").val(),
519
- t = 1 == SFSI("input[name='sfsi_email_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_email_countsDisplay']:checked").val(),
520
- n = 1 == SFSI("input[name='sfsi_email_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_email_countsFrom']:checked").val(),
521
- o = SFSI("input[name='sfsi_email_manualCounts']").val(),
522
- r = 1 == SFSI("input[name='sfsi_rss_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_rss_countsDisplay']:checked").val(),
523
- c = SFSI("input[name='sfsi_rss_manualCounts']").val(),
524
- p = 1 == SFSI("input[name='sfsi_facebook_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebook_countsDisplay']:checked").val(),
525
- _ = 1 == SFSI("input[name='sfsi_facebook_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebook_countsFrom']:checked").val(),
526
- mp = SFSI("input[name='sfsi_facebook_mypageCounts']").val(),
527
- l = SFSI("input[name='sfsi_facebook_manualCounts']").val(),
528
- S = 1 == SFSI("input[name='sfsi_twitter_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_countsDisplay']:checked").val(),
529
- u = 1 == SFSI("input[name='sfsi_twitter_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_countsFrom']:checked").val(),
530
- f = SFSI("input[name='sfsi_twitter_manualCounts']").val(),
531
- d = SFSI("input[name='tw_consumer_key']").val(),
532
- I = SFSI("input[name='tw_consumer_secret']").val(),
533
- m = SFSI("input[name='tw_oauth_access_token']").val(),
534
- F = SFSI("input[name='tw_oauth_access_token_secret']").val(),
535
- k = 1 == SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),
536
- y = SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),
537
- b = SFSI("input[name='ln_company']").val(),
538
- w = SFSI("input[name='ln_api_key']").val(),
539
- x = SFSI("input[name='ln_secret_key']").val(),
540
- C = SFSI("input[name='ln_oAuth_user_token']").val(),
541
- D = 1 == SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedIn_countsDisplay']:checked").val(),
542
- k = 1 == SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),
543
- y = SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),
544
- U = 1 == SFSI("input[name='sfsi_youtube_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_countsDisplay']:checked").val(),
545
- O = 1 == SFSI("input[name='sfsi_youtube_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_countsFrom']:checked").val(),
546
- T = SFSI("input[name='sfsi_youtube_manualCounts']").val(),
547
- j = SFSI("input[name='sfsi_youtube_user']").val(),
548
- P = 1 == SFSI("input[name='sfsi_pinterest_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_countsDisplay']:checked").val(),
549
- M = 1 == SFSI("input[name='sfsi_pinterest_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val(),
550
- L = SFSI("input[name='sfsi_pinterest_manualCounts']").val(),
551
- B = SFSI("input[name='sfsi_pinterest_user']").val(),
552
- E = SFSI("input[name='sfsi_pinterest_board']").val(),
553
- z = 1 == SFSI("input[name='sfsi_instagram_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_instagram_countsDisplay']:checked").val(),
554
- A = 1 == SFSI("input[name='sfsi_instagram_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_instagram_countsFrom']:checked").val(),
555
- N = SFSI("input[name='sfsi_instagram_manualCounts']").val(),
556
- H = SFSI("input[name='sfsi_instagram_User']").val(),
557
- ha = SFSI("input[name='sfsi_instagram_clientid']").val(),
558
- ia = SFSI("input[name='sfsi_instagram_appurl']").val(),
559
- ja = SFSI("input[name='sfsi_instagram_token']").val(),
560
-
561
- tc = 1 == SFSI("input[name='sfsi_telegram_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_telegram_countsDisplay']:checked").val(),
562
- tm = SFSI("input[name='sfsi_telegram_manualCounts']").val(),
563
-
564
- vc = 1 == SFSI("input[name='sfsi_vk_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_vk_countsDisplay']:checked").val(),
565
- vm = SFSI("input[name='sfsi_vk_manualCounts']").val(),
566
-
567
-
568
- oc = 1 == SFSI("input[name='sfsi_ok_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_ok_countsDisplay']:checked").val(),
569
- om = SFSI("input[name='sfsi_ok_manualCounts']").val(),
570
-
571
-
572
- wc = 1 == SFSI("input[name='sfsi_weibo_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_weibo_countsDisplay']:checked").val(),
573
- wm = SFSI("input[name='sfsi_weibo_manualCounts']").val(),
574
-
575
- wcc = 1 == SFSI("input[name='sfsi_wechat_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_wechat_countsDisplay']:checked").val(),
576
- wcm = SFSI("input[name='sfsi_wechat_manualCounts']").val(),
577
- $ = {
578
- action: "updateSrcn4",
579
- sfsi_display_counts: e,
580
- sfsi_email_countsDisplay: t,
581
- sfsi_email_countsFrom: n,
582
- sfsi_email_manualCounts: o,
583
- sfsi_rss_countsDisplay: r,
584
- sfsi_rss_manualCounts: c,
585
- sfsi_facebook_countsDisplay: p,
586
- sfsi_facebook_countsFrom: _,
587
- sfsi_facebook_mypageCounts: mp,
588
- sfsi_facebook_manualCounts: l,
589
- sfsi_twitter_countsDisplay: S,
590
- sfsi_twitter_countsFrom: u,
591
- sfsi_twitter_manualCounts: f,
592
- tw_consumer_key: d,
593
- tw_consumer_secret: I,
594
- tw_oauth_access_token: m,
595
- tw_oauth_access_token_secret: F,
596
- sfsi_linkedIn_countsDisplay: D,
597
- sfsi_linkedIn_countsFrom: k,
598
- sfsi_linkedIn_manualCounts: y,
599
- ln_company: b,
600
- ln_api_key: w,
601
- ln_secret_key: x,
602
- ln_oAuth_user_token: C,
603
- sfsi_youtube_countsDisplay: U,
604
- sfsi_youtube_countsFrom: O,
605
- sfsi_youtube_manualCounts: T,
606
- sfsi_youtube_user: j,
607
- sfsi_youtube_channelId: SFSI("input[name='sfsi_youtube_channelId']").val(),
608
- sfsi_pinterest_countsDisplay: P,
609
- sfsi_pinterest_countsFrom: M,
610
- sfsi_pinterest_manualCounts: L,
611
- sfsi_pinterest_user: B,
612
- sfsi_pinterest_board: E,
613
- sfsi_instagram_countsDisplay: z,
614
- sfsi_instagram_countsFrom: A,
615
- sfsi_instagram_manualCounts: N,
616
- sfsi_instagram_User: H,
617
- sfsi_instagram_clientid: ha,
618
- sfsi_instagram_appurl: ia,
619
- sfsi_instagram_token: ja,
620
- sfsi_telegram_countsDisplay: tc,
621
- sfsi_telegram_manualCounts: tm,
622
- sfsi_vk_countsDisplay: vc,
623
- sfsi_vk_manualCounts: vm,
624
- sfsi_ok_countsDisplay: oc,
625
- sfsi_ok_manualCounts: om,
626
- sfsi_weibo_countsDisplay: wc,
627
- sfsi_weibo_manualCounts: wm,
628
- sfsi_wechat_countsDisplay: wcc,
629
- sfsi_wechat_manualCounts: wcm,
630
- nonce: nonce
631
- };
632
- // console.log($);
633
- return SFSI.ajax({
634
- url: sfsi_icon_ajax_object.ajax_url,
635
- type: "post",
636
- data: $,
637
- dataType: "json",
638
- async: !0,
639
- success: function (s) {
640
- if (s == "wrong_nonce") {
641
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 4);
642
- global_error = 1;
643
- afterLoad();
644
- } else {
645
- "success" == s.res ? (showErrorSuc("success", "Saved !", 4), sfsicollapse("#sfsi_save4"),
646
- sfsi_showPreviewCounts()) : (showErrorSuc("error", "Unkown error , please try again", 4),
647
- global_error = 1), afterLoad();
648
- }
649
- }
650
- }), s;
651
- }
652
-
653
- function sfsi_update_step5() {
654
- var nonce = SFSI("#sfsi_save5").attr("data-nonce");
655
- sfsi_update_step3();
656
-
657
- var s = sfsi_validationStep5();
658
-
659
- if (!s) return global_error = 1, !1;
660
-
661
- beForeLoad();
662
-
663
- var i = SFSI("input[name='sfsi_icons_size']").val(),
664
- e = SFSI("input[name='sfsi_icons_perRow']").val(),
665
- t = SFSI("input[name='sfsi_icons_spacing']").val(),
666
- n = SFSI("#sfsi_icons_Alignment").val(),
667
- vw = SFSI("#sfsi_icons_Alignment_via_widget").val(),
668
- vs = SFSI("#sfsi_icons_Alignment_via_shortcode").val(),
669
-
670
- o = SFSI("input[name='sfsi_icons_ClickPageOpen']:checked").val(),
671
-
672
- se = SFSI("input[name='sfsi_icons_suppress_errors']:checked").val(),
673
- c = SFSI("input[name='sfsi_icons_stick']:checked").val(),
674
- p = SFSI("#sfsi_rssIcon_order").attr("data-index"),
675
- _ = SFSI("#sfsi_emailIcon_order").attr("data-index"),
676
- S = SFSI("#sfsi_facebookIcon_order").attr("data-index"),
677
- u = SFSI("#sfsi_twitterIcon_order").attr("data-index"),
678
- f = SFSI("#sfsi_youtubeIcon_order").attr("data-index"),
679
- d = SFSI("#sfsi_pinterestIcon_order").attr("data-index"),
680
- I = SFSI("#sfsi_instagramIcon_order").attr("data-index"),
681
- F = SFSI("#sfsi_linkedinIcon_order").attr("data-index"),
682
- tgi = SFSI("#sfsi_telegramIcon_order").attr("data-index"),
683
- vki = SFSI("#sfsi_vkIcon_order").attr("data-index"),
684
- oki = SFSI("#sfsi_okIcon_order").attr("data-index"),
685
- wbi = SFSI("#sfsi_weiboIcon_order").attr("data-index"),
686
- wci = SFSI("#sfsi_wechatIcon_order").attr("data-index"),
687
-
688
- h = new Array();
689
-
690
- SFSI(".custom_iconOrder").each(function () {
691
- h.push({
692
- order: SFSI(this).attr("data-index"),
693
- ele: SFSI(this).attr("element-id")
694
- });
695
- });
696
-
697
- var v = 1 == SFSI("input[name='sfsi_rss_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_rss_MouseOverText']").val(),
698
- g = 1 == SFSI("input[name='sfsi_email_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_email_MouseOverText']").val(),
699
- k = 1 == SFSI("input[name='sfsi_twitter_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_MouseOverText']").val(),
700
- y = 1 == SFSI("input[name='sfsi_facebook_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebook_MouseOverText']").val(),
701
- w = 1 == SFSI("input[name='sfsi_linkedIn_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedIn_MouseOverText']").val(),
702
- x = 1 == SFSI("input[name='sfsi_youtube_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_MouseOverText']").val(),
703
- C = 1 == SFSI("input[name='sfsi_pinterest_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_MouseOverText']").val(),
704
- D = 1 == SFSI("input[name='sfsi_instagram_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_instagram_MouseOverText']").val(),
705
- tg = 1 == SFSI("input[name='sfsi_telegram_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_telegram_MouseOverText']").val(),
706
- vk = 1 == SFSI("input[name='sfsi_vk_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_vk_MouseOverText']").val(),
707
- ok = 1 == SFSI("input[name='sfsi_ok_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_ok_MouseOverText']").val(),
708
- wb = 1 == SFSI("input[name='sfsi_weibo_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_weibo_MouseOverText']").val(),
709
- wc = 1 == SFSI("input[name='sfsi_wechat_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_wechat_MouseOverText']").val(),
710
-
711
- O = {};
712
- SFSI("input[name='sfsi_custom_MouseOverTexts[]']").each(function () {
713
- O[SFSI(this).attr("file-id")] = this.value;
714
- });
715
-
716
- var sfsi_custom_social_hide = SFSI("input[name='sfsi_custom_social_hide']").val();
717
-
718
- var T = {
719
- action: "updateSrcn5",
720
- sfsi_icons_size: i,
721
- sfsi_icons_Alignment: n,
722
- sfsi_icons_Alignment_via_widget: vw,
723
- sfsi_icons_Alignment_via_shortcode: vs,
724
- sfsi_icons_perRow: e,
725
- sfsi_icons_spacing: t,
726
- sfsi_icons_ClickPageOpen: o,
727
- sfsi_icons_suppress_errors: se,
728
- sfsi_icons_stick: c,
729
- sfsi_rss_MouseOverText: v,
730
- sfsi_email_MouseOverText: g,
731
- sfsi_twitter_MouseOverText: k,
732
- sfsi_facebook_MouseOverText: y,
733
- sfsi_youtube_MouseOverText: x,
734
- sfsi_linkedIn_MouseOverText: w,
735
- sfsi_pinterest_MouseOverText: C,
736
- sfsi_instagram_MouseOverText: D,
737
- sfsi_telegram_MouseOverText: tg,
738
- sfsi_vk_MouseOverText: vk,
739
- sfsi_ok_MouseOverText: ok,
740
- sfsi_weibo_MouseOverText: wb,
741
- sfsi_wechat_MouseOverText: wc,
742
- sfsi_custom_MouseOverTexts: O,
743
- sfsi_rssIcon_order: p,
744
- sfsi_emailIcon_order: _,
745
- sfsi_facebookIcon_order: S,
746
- sfsi_twitterIcon_order: u,
747
- sfsi_youtubeIcon_order: f,
748
- sfsi_pinterestIcon_order: d,
749
- sfsi_instagramIcon_order: I,
750
- sfsi_linkedinIcon_order: F,
751
- sfsi_telegramIcon_order: tgi,
752
- sfsi_vkIcon_order: vki,
753
- sfsi_okIcon_order: oki,
754
- sfsi_weiboIcon_order: wbi,
755
- sfsi_wechatIcon_order: wci,
756
-
757
- sfsi_custom_orders: h,
758
- sfsi_custom_social_hide: sfsi_custom_social_hide,
759
- nonce: nonce
760
- };
761
- // console.log(T);
762
- SFSI.ajax({
763
- url: sfsi_icon_ajax_object.ajax_url,
764
- type: "post",
765
- data: T,
766
- dataType: "json",
767
- async: !0,
768
- success: function (s) {
769
- if (s == "wrong_nonce") {
770
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 5);
771
- global_error = 1;
772
- afterLoad();
773
- } else {
774
- "success" == s ? (showErrorSuc("success", "Saved !", 5), sfsicollapse("#sfsi_save5")) : (global_error = 1,
775
- showErrorSuc("error", "Unkown error , please try again", 5)), afterLoad();
776
- }
777
- }
778
- });
779
- }
780
-
781
- function sfsi_update_step6() {
782
- var nonce = SFSI("#sfsi_save9").attr("data-nonce2");
783
- beForeLoad();
784
- var s = SFSI("input[name='sfsi_show_Onposts']:checked").val(),
785
- i = SFSI("input[name='sfsi_textBefor_icons']").val(),
786
- e = SFSI("#sfsi_icons_alignment").val(),
787
- t = SFSI("#sfsi_icons_DisplayCounts").val(),
788
- rsub = SFSI("input[name='sfsi_rectsub']:checked").val(),
789
- rfb = SFSI("input[name='sfsi_rectfb']:checked").val(),
790
- rpin = SFSI("input[name='sfsi_rectpinit']:checked").val(),
791
- rshr = SFSI("input[name='sfsi_rectshr']:checked").val(),
792
- rtwr = SFSI("input[name='sfsi_recttwtr']:checked").val(),
793
- rfbshare = SFSI("input[name='sfsi_rectfbshare']:checked").val(),
794
- a = SFSI("input[name='sfsi_display_button_type']:checked").val();
795
- countshare = SFSI("input[name='sfsi_share_count']:checked").val();
796
- endpost = SFSI("input[name='sfsi_responsive_icons_end_post']:checked").val();
797
-
798
- var responsive_icons = {
799
- "default_icons": {},
800
- "settings": {}
801
- };
802
- SFSI('.sfsi_responsive_default_icon_container input[type="checkbox"]').each(function (index, obj) {
803
- var data_obj = {};
804
- data_obj.active = ('checked' == SFSI(obj).attr('checked')) ? 'yes' : 'no';
805
- var iconname = SFSI(obj).attr('data-icon');
806
- var next_section = SFSI(obj).parent().parent();
807
- data_obj.text = next_section.find('input[name="sfsi_responsive_' + iconname + '_input"]').val();
808
- data_obj.url = next_section.find('input[name="sfsi_responsive_' + iconname + '_url_input"]').val();
809
- responsive_icons.default_icons[iconname] = data_obj;
810
- });
811
- SFSI('.sfsi_responsive_custom_icon_container input[type="checkbox"]').each(function (index, obj) {
812
- if (SFSI(obj).attr('id') != "sfsi_responsive_custom_new_display") {
813
- var data_obj = {};
814
- data_obj.active = 'checked' == SFSI(obj).attr('checked') ? 'yes' : 'no';
815
- var icon_index = SFSI(obj).attr('data-custom-index');
816
- var next_section = SFSI(obj).parent().parent();
817
- data_obj['added'] = SFSI('input[name="sfsi_responsive_custom_' + index + '_added"]').val();
818
- data_obj.icon = next_section.find('img').attr('src');
819
- data_obj["bg-color"] = next_section.find('.sfsi_bg-color-picker').val();
820
-
821
- data_obj.text = next_section.find('input[name="sfsi_responsive_custom_' + icon_index + '_input"]').val();
822
- data_obj.url = next_section.find('input[name="sfsi_responsive_custom_' + icon_index + '_url_input"]').val();
823
- responsive_icons.custom_icons[index] = data_obj;
824
- }
825
- });
826
- responsive_icons.settings.icon_size = SFSI('select[name="sfsi_responsive_icons_settings_icon_size"]').val();
827
- responsive_icons.settings.icon_width_type = SFSI('select[name="sfsi_responsive_icons_settings_icon_width_type"]').val();
828
- responsive_icons.settings.icon_width_size = SFSI('input[name="sfsi_responsive_icons_sttings_icon_width_size"]').val();
829
- responsive_icons.settings.edge_type = SFSI('select[name="sfsi_responsive_icons_settings_edge_type"]').val();
830
- responsive_icons.settings.edge_radius = SFSI('select[name="sfsi_responsive_icons_settings_edge_radius"]').val();
831
- responsive_icons.settings.style = SFSI('select[name="sfsi_responsive_icons_settings_style"]').val();
832
- responsive_icons.settings.margin = SFSI('input[name="sfsi_responsive_icons_settings_margin"]').val();
833
- responsive_icons.settings.text_align = SFSI('select[name="sfsi_responsive_icons_settings_text_align"]').val();
834
- responsive_icons.settings.show_count = SFSI('input[name="sfsi_responsive_icon_show_count"]:checked').val();
835
- responsive_icons.settings.counter_color = SFSI('input[name="sfsi_responsive_counter_color"]').val();
836
- responsive_icons.settings.counter_bg_color = SFSI('input[name="sfsi_responsive_counter_bg_color"]').val();
837
- responsive_icons.settings.share_count_text = SFSI('input[name="sfsi_responsive_counter_share_count_text"]').val();
838
- responsive_icons.settings.show_count = countshare;
839
- responsive_icons.settings.margin_above = SFSI('input[name="sfsi_responsive_icons_settings_margin_above"]').val();
840
- responsive_icons.settings.margin_below = SFSI('input[name="sfsi_responsive_icons_settings_margin_below"]').val();
841
-
842
- n = {
843
- action: "updateSrcn6",
844
- sfsi_show_Onposts: s,
845
- sfsi_icons_DisplayCounts: t,
846
- sfsi_icons_alignment: e,
847
- sfsi_textBefor_icons: i,
848
- sfsi_rectsub: rsub,
849
- sfsi_rectfb: rfb,
850
- sfsi_rectpinit: rpin,
851
- sfsi_rectshr: rshr,
852
- sfsi_recttwtr: rtwr,
853
- sfsi_rectfbshare: rfbshare,
854
- sfsi_responsive_icons: responsive_icons,
855
- sfsi_display_button_type: a,
856
- sfsi_responsive_icons_end_post:endpost,
857
- sfsi_share_count: countshare,
858
- nonce: nonce
859
- };
860
- SFSI.ajax({
861
- url: sfsi_icon_ajax_object.ajax_url,
862
- type: "post",
863
- data: n,
864
- dataType: "json",
865
- async: !0,
866
- success: function (s) {
867
- if (s == "wrong_nonce") {
868
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 6);
869
- global_error = 1;
870
- afterLoad();
871
- } else {
872
- "success" == s ? (showErrorSuc("success", "Saved !", 6), sfsicollapse("#sfsi_save6")) : (global_error = 1,
873
- showErrorSuc("error", "Unkown error , please try again", 6)), afterLoad();
874
- }
875
- }
876
- });
877
- }
878
-
879
- function sfsi_update_step7() {
880
- var nonce = SFSI("#sfsi_save7").attr("data-nonce");
881
- var s = sfsi_validationStep7();
882
- if (!s) return global_error = 1, !1;
883
- beForeLoad();
884
- var i = SFSI("input[name='sfsi_popup_text']").val(),
885
- e = SFSI("#sfsi_popup_font option:selected").val(),
886
- t = SFSI("#sfsi_popup_fontStyle option:selected").val(),
887
- color = SFSI("input[name='sfsi_popup_fontColor']").val(),
888
- n = SFSI("input[name='sfsi_popup_fontSize']").val(),
889
- o = SFSI("input[name='sfsi_popup_background_color']").val(),
890
- a = SFSI("input[name='sfsi_popup_border_color']").val(),
891
- r = SFSI("input[name='sfsi_popup_border_thickness']").val(),
892
- c = SFSI("input[name='sfsi_popup_border_shadow']:checked").val(),
893
- p = SFSI("input[name='sfsi_Show_popupOn']:checked").val(),
894
- _ = [];
895
- SFSI("#sfsi_Show_popupOn_PageIDs :selected").each(function (s, i) {
896
- _[s] = SFSI(i).val();
897
- });
898
- var l = SFSI("input[name='sfsi_Shown_pop']:checked").val(),
899
- S = SFSI("input[name='sfsi_Shown_popupOnceTime']").val(),
900
- u = SFSI("#sfsi_Shown_popuplimitPerUserTime").val(),
901
- f = {
902
- action: "updateSrcn7",
903
- sfsi_popup_text: i,
904
- sfsi_popup_font: e,
905
- sfsi_popup_fontColor: color,
906
- /*sfsi_popup_fontStyle: t,*/
907
- sfsi_popup_fontSize: n,
908
- sfsi_popup_background_color: o,
909
- sfsi_popup_border_color: a,
910
- sfsi_popup_border_thickness: r,
911
- sfsi_popup_border_shadow: c,
912
- sfsi_Show_popupOn: p,
913
- sfsi_Show_popupOn_PageIDs: _,
914
- sfsi_Shown_pop: l,
915
- sfsi_Shown_popupOnceTime: S,
916
- sfsi_Shown_popuplimitPerUserTime: u,
917
- nonce: nonce
918
- };
919
- SFSI.ajax({
920
- url: sfsi_icon_ajax_object.ajax_url,
921
- type: "post",
922
- data: f,
923
- dataType: "json",
924
- async: !0,
925
- success: function (s) {
926
- if (s == "wrong_nonce") {
927
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 7);
928
- afterLoad();
929
- } else {
930
- "success" == s ? (showErrorSuc("success", "Saved !", 7), sfsicollapse("#sfsi_save7")) : showErrorSuc("error", "Unkown error , please try again", 7),
931
- afterLoad();
932
- }
933
- }
934
- });
935
- }
936
-
937
- function sfsi_update_step8() {
938
- var nonce = SFSI("#sfsi_save8").attr("data-nonce");
939
- beForeLoad();
940
- var ie = SFSI("input[name='sfsi_form_adjustment']:checked").val(),
941
- je = SFSI("input[name='sfsi_form_height']").val(),
942
- ke = SFSI("input[name='sfsi_form_width']").val(),
943
- le = SFSI("input[name='sfsi_form_border']:checked").val(),
944
- me = SFSI("input[name='sfsi_form_border_thickness']").val(),
945
- ne = SFSI("input[name='sfsi_form_border_color']").val(),
946
- oe = SFSI("input[name='sfsi_form_background']").val(),
947
-
948
- ae = SFSI("input[name='sfsi_form_heading_text']").val(),
949
- be = SFSI("#sfsi_form_heading_font option:selected").val(),
950
- ce = SFSI("#sfsi_form_heading_fontstyle option:selected").val(),
951
- de = SFSI("input[name='sfsi_form_heading_fontcolor']").val(),
952
- ee = SFSI("input[name='sfsi_form_heading_fontsize']").val(),
953
- fe = SFSI("#sfsi_form_heading_fontalign option:selected").val(),
954
-
955
- ue = SFSI("input[name='sfsi_form_field_text']").val(),
956
- ve = SFSI("#sfsi_form_field_font option:selected").val(),
957
- we = SFSI("#sfsi_form_field_fontstyle option:selected").val(),
958
- xe = SFSI("input[name='sfsi_form_field_fontcolor']").val(),
959
- ye = SFSI("input[name='sfsi_form_field_fontsize']").val(),
960
- ze = SFSI("#sfsi_form_field_fontalign option:selected").val(),
961
-
962
- i = SFSI("input[name='sfsi_form_button_text']").val(),
963
- j = SFSI("#sfsi_form_button_font option:selected").val(),
964
- k = SFSI("#sfsi_form_button_fontstyle option:selected").val(),
965
- l = SFSI("input[name='sfsi_form_button_fontcolor']").val(),
966
- m = SFSI("input[name='sfsi_form_button_fontsize']").val(),
967
- n = SFSI("#sfsi_form_button_fontalign option:selected").val(),
968
- o = SFSI("input[name='sfsi_form_button_background']").val();
969
-
970
- var f = {
971
- action: "updateSrcn8",
972
- sfsi_form_adjustment: ie,
973
- sfsi_form_height: je,
974
- sfsi_form_width: ke,
975
- sfsi_form_border: le,
976
- sfsi_form_border_thickness: me,
977
- sfsi_form_border_color: ne,
978
- sfsi_form_background: oe,
979
-
980
- sfsi_form_heading_text: ae,
981
- sfsi_form_heading_font: be,
982
- sfsi_form_heading_fontstyle: ce,
983
- sfsi_form_heading_fontcolor: de,
984
- sfsi_form_heading_fontsize: ee,
985
- sfsi_form_heading_fontalign: fe,
986
-
987
- sfsi_form_field_text: ue,
988
- sfsi_form_field_font: ve,
989
- sfsi_form_field_fontstyle: we,
990
- sfsi_form_field_fontcolor: xe,
991
- sfsi_form_field_fontsize: ye,
992
- sfsi_form_field_fontalign: ze,
993
-
994
- sfsi_form_button_text: i,
995
- sfsi_form_button_font: j,
996
- sfsi_form_button_fontstyle: k,
997
- sfsi_form_button_fontcolor: l,
998
- sfsi_form_button_fontsize: m,
999
- sfsi_form_button_fontalign: n,
1000
- sfsi_form_button_background: o,
1001
-
1002
- nonce: nonce
1003
- };
1004
- SFSI.ajax({
1005
- url: sfsi_icon_ajax_object.ajax_url,
1006
- type: "post",
1007
- data: f,
1008
- dataType: "json",
1009
- async: !0,
1010
- success: function (s) {
1011
- if (s == "wrong_nonce") {
1012
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 7);
1013
- afterLoad();
1014
- } else {
1015
- "success" == s ? (showErrorSuc("success", "Saved !", 8), sfsicollapse("#sfsi_save8"), create_suscriber_form()) : showErrorSuc("error", "Unkown error , please try again", 8),
1016
- afterLoad();
1017
- }
1018
- }
1019
- });
1020
- }
1021
-
1022
- // Queestion 3
1023
- function sfsi_update_step9() {
1024
- sfsi_update_step6();
1025
- var nonce = SFSI("#sfsi_save9").attr("data-nonce");
1026
- beForeLoad();
1027
-
1028
- var i_float = SFSI("input[name='sfsi_icons_float']:checked").val(),
1029
- i_floatP = SFSI("input[name='sfsi_icons_floatPosition']:checked").val(),
1030
- i_floatMt = SFSI("input[name='sfsi_icons_floatMargin_top']").val(),
1031
- i_floatMb = SFSI("input[name='sfsi_icons_floatMargin_bottom']").val(),
1032
- i_floatMl = SFSI("input[name='sfsi_icons_floatMargin_left']").val(),
1033
- i_floatMr = SFSI("input[name='sfsi_icons_floatMargin_right']").val(),
1034
- i_disableFloat = SFSI("input[name='sfsi_disable_floaticons']:checked").val(),
1035
-
1036
- show_via_widget = SFSI("input[name='sfsi_show_via_widget']").val(),
1037
- show_via__shortcode = SFSI("input[name='sfsi_show_via_shortcode']:checked").length==0?"no":"yes",
1038
- sfsi_show_via_afterposts = SFSI("input[name='sfsi_show_via_afterposts']").val();
1039
-
1040
- var f = {
1041
-
1042
- action: "updateSrcn9",
1043
-
1044
- sfsi_icons_float: i_float,
1045
- sfsi_icons_floatPosition: i_floatP,
1046
- sfsi_icons_floatMargin_top: i_floatMt,
1047
- sfsi_icons_floatMargin_bottom: i_floatMb,
1048
- sfsi_icons_floatMargin_left: i_floatMl,
1049
- sfsi_icons_floatMargin_right: i_floatMr,
1050
- sfsi_disable_floaticons: i_disableFloat,
1051
-
1052
- sfsi_show_via_widget: show_via_widget,
1053
- sfsi_show_via_shortcode: show_via__shortcode,
1054
- sfsi_show_via_afterposts: sfsi_show_via_afterposts,
1055
- nonce: nonce
1056
- };
1057
- SFSI.ajax({
1058
- url: sfsi_icon_ajax_object.ajax_url,
1059
- type: "post",
1060
- data: f,
1061
- dataType: "json",
1062
- async: !0,
1063
- success: function (s) {
1064
- if (s == "wrong_nonce") {
1065
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 9);
1066
- afterLoad();
1067
- } else {
1068
- "success" == s ? (showErrorSuc("success", "Saved !", 9), sfsicollapse("#sfsi_save9")) : showErrorSuc("error", "Unkown error , please try again", 9),
1069
- afterLoad();
1070
- }
1071
- }
1072
- });
1073
- }
1074
-
1075
- function sfsi_validationStep2() {
1076
- //var class_name= SFSI(element).hasAttr('sfsi_validate');
1077
- SFSI('input').removeClass('inputError'); // remove previous error
1078
- if (sfsi_validator(SFSI('input[name="sfsi_rss_display"]'), 'checked')) {
1079
- if (!sfsi_validator(SFSI('input[name="sfsi_rss_url"]'), 'url')) {
1080
- showErrorSuc("error", "Error : Invalid Rss url ", 2);
1081
- SFSI('input[name="sfsi_rss_url"]').addClass('inputError');
1082
-
1083
- return false;
1084
- }
1085
- }
1086
- /* validate facebook */
1087
- if (sfsi_validator(SFSI('input[name="sfsi_facebookPage_option"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_facebookPage_option"]'), 'checked')) {
1088
- if (!sfsi_validator(SFSI('input[name="sfsi_facebookPage_url"]'), 'blank')) {
1089
- showErrorSuc("error", "Error : Invalid Facebook page url ", 2);
1090
- SFSI('input[name="sfsi_facebookPage_url"]').addClass('inputError');
1091
-
1092
- return false;
1093
- }
1094
- }
1095
- /* validate twitter user name */
1096
- if (sfsi_validator(SFSI('input[name="sfsi_twitter_followme"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_twitter_followme"]'), 'checked')) {
1097
- if (!sfsi_validator(SFSI('input[name="sfsi_twitter_followUserName"]'), 'blank')) {
1098
- showErrorSuc("error", "Error : Invalid Twitter UserName ", 2);
1099
- SFSI('input[name="sfsi_twitter_followUserName"]').addClass('inputError');
1100
- return false;
1101
- }
1102
- }
1103
- // /* validate twitter about page */
1104
- // if (sfsi_validator(SFSI('input[name="sfsi_twitter_aboutPage"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_twitter_aboutPage"]'), 'checked')) {
1105
- // if (!sfsi_validator(SFSI('#sfsi_twitter_aboutPageText'), 'blank')) {
1106
- // showErrorSuc("error", "Error : Tweet about my page is blank ", 2);
1107
- // SFSI('#sfsi_twitter_aboutPageText').addClass('inputError');
1108
- // return false;
1109
- // }
1110
- // }
1111
- /* twitter validation */
1112
- if (sfsi_validator(SFSI('input[name="sfsi_twitter_page"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_twitter_page"]'), 'checked')) {
1113
- if (!sfsi_validator(SFSI('input[name="sfsi_twitter_pageURL"]'), 'blank')) {
1114
- showErrorSuc("error", "Error : Invalid twitter page Url ", 2);
1115
- SFSI('input[name="sfsi_twitter_pageURL"]').addClass('inputError');
1116
- return false;
1117
- }
1118
- }
1119
-
1120
- /* youtube validation */
1121
- if (sfsi_validator(SFSI('input[name="sfsi_youtube_page"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_youtube_page"]'), 'checked')) {
1122
- if (!sfsi_validator(SFSI('input[name="sfsi_youtube_pageUrl"]'), 'blank')) {
1123
- showErrorSuc("error", "Error : Invalid youtube Url ", 2);
1124
- SFSI('input[name="sfsi_youtube_pageUrl"]').addClass('inputError');
1125
- return false;
1126
- }
1127
- }
1128
- /* youtube validation */
1129
- if (sfsi_validator(SFSI('input[name="sfsi_youtube_page"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_youtube_follow"]'), 'checked')) {
1130
- cls = SFSI("input[name='sfsi_youtubeusernameorid']:checked").val();
1131
- if (cls == 'name' && !sfsi_validator(SFSI('input[name="sfsi_ytube_user"]'), 'blank')) {
1132
- showErrorSuc("error", "Error : Invalid youtube user name", 2);
1133
- SFSI('input[name="sfsi_ytube_user"]').addClass('inputError');
1134
- return false;
1135
- }
1136
-
1137
- if (cls == 'id' && !sfsi_validator(SFSI('input[name="sfsi_ytube_chnlid"]'), 'blank')) {
1138
- showErrorSuc("error", "Error : Invalid youtube Channel ID ", 2);
1139
- SFSI('input[name="sfsi_ytube_user"]').addClass('inputError');
1140
- return false;
1141
- }
1142
- }
1143
- /* pinterest validation */
1144
- if (sfsi_validator(SFSI('input[name="sfsi_pinterest_page"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_pinterest_page"]'), 'checked')) {
1145
- if (!sfsi_validator(SFSI('input[name="sfsi_pinterest_pageUrl"]'), 'blank')) {
1146
- showErrorSuc("error", "Error : Invalid pinterest page url ", 2);
1147
- SFSI('input[name="sfsi_pinterest_pageUrl"]').addClass('inputError');
1148
- return false;
1149
- }
1150
- }
1151
- /* instagram validation */
1152
- if (sfsi_validator(SFSI('input[name="sfsi_instagram_display"]'), 'checked')) {
1153
- if (!sfsi_validator(SFSI('input[name="sfsi_instagram_pageUrl"]'), 'blank')) {
1154
- showErrorSuc("error", "Error : Invalid Instagram url ", 2);
1155
- SFSI('input[name="sfsi_instagram_pageUrl"]').addClass('inputError');
1156
- return false;
1157
- }
1158
- }
1159
- /* telegram validation */
1160
- if (sfsi_validator(SFSI('input[name="sfsi_telegram_display"]'), 'checked')) {
1161
- if (!sfsi_validator(SFSI('input[name="sfsi_telegram_username"]'), 'blank')) {
1162
- showErrorSuc("error", "Error : Invalid telegram username ", 2);
1163
- SFSI('input[name="sfsi_telegram_username"]').addClass('inputError');
1164
- return false;
1165
- }
1166
- }
1167
- /* telegram validation */
1168
- if (sfsi_validator(SFSI('input[name="sfsi_telegram_display"]'), 'checked')) {
1169
- if (!sfsi_validator(SFSI('input[name="sfsi_telegram_message"]'), 'blank')) {
1170
- showErrorSuc("error", "Error : Invalid Message ", 2);
1171
- SFSI('input[name="sfsi_telegram_message"]').addClass('inputError');
1172
- return false;
1173
- }
1174
- }
1175
- /* vk validation */
1176
- if (sfsi_validator(SFSI('input[name="sfsi_vk_display"]'), 'checked')) {
1177
- if (!sfsi_validator(SFSI('input[name="sfsi_vk_pageURL"]'), 'blank')) {
1178
- showErrorSuc("error", "Error : Invalid vk url ", 2);
1179
- SFSI('input[name="sfsi_vk_pageURL"]').addClass('inputError');
1180
- return false;
1181
- }
1182
- }
1183
- /* ok validation */
1184
- if (sfsi_validator(SFSI('input[name="sfsi_ok_display"]'), 'checked')) {
1185
- if (!sfsi_validator(SFSI('input[name="sfsi_ok_pageURL"]'), 'blank')) {
1186
- showErrorSuc("error", "Error : Invalid ok url ", 2);
1187
- SFSI('input[name="sfsi_ok_pageURL"]').addClass('inputError');
1188
- return false;
1189
- }
1190
- }
1191
- /* weibo validation */
1192
- if (sfsi_validator(SFSI('input[name="sfsi_weibo_display"]'), 'checked')) {
1193
- if (!sfsi_validator(SFSI('input[name="sfsi_weibo_pageURL"]'), 'blank')) {
1194
- showErrorSuc("error", "Error : Invalid weibo url ", 2);
1195
- SFSI('input[name="sfsi_weibo_pageURL"]').addClass('inputError');
1196
- return false;
1197
- }
1198
- }
1199
- /* LinkedIn validation */
1200
- if (sfsi_validator(SFSI('input[name="sfsi_linkedin_page"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_linkedin_page"]'), 'checked')) {
1201
- if (!sfsi_validator(SFSI('input[name="sfsi_linkedin_pageURL"]'), 'blank')) {
1202
- showErrorSuc("error", "Error : Invalid LinkedIn page url ", 2);
1203
- SFSI('input[name="sfsi_linkedin_pageURL"]').addClass('inputError');
1204
- return false;
1205
- }
1206
- }
1207
- if (sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendBusines"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendBusines"]'), 'checked')) {
1208
- if (!sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendProductId"]'), 'blank') || !sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendCompany"]'), 'blank')) {
1209
- showErrorSuc("error", "Error : Please Enter Product Id and Company for LinkedIn Recommendation ", 2);
1210
- SFSI('input[name="sfsi_linkedin_recommendProductId"]').addClass('inputError');
1211
- SFSI('input[name="sfsi_linkedin_recommendCompany"]').addClass('inputError');
1212
- return false;
1213
- }
1214
- }
1215
- /* validate custom links */
1216
- var er = 0;
1217
- SFSI("input[name='sfsi_CustomIcon_links[]']").each(function () {
1218
-
1219
- //if(!sfsi_validator(SFSI(this),'blank') || !sfsi_validator(SFSI(SFSI(this)),'url') )
1220
- if (!sfsi_validator(SFSI(this), 'blank')) {
1221
- showErrorSuc("error", "Error : Please Enter a valid Custom link ", 2);
1222
- SFSI(this).addClass('inputError');
1223
- er = 1;
1224
- }
1225
- });
1226
- if (!er) return true;
1227
- else return false;
1228
- }
1229
-
1230
- function sfsi_validationStep3() {
1231
- SFSI('input').removeClass('inputError'); // remove previous error
1232
- /* validate shuffle effect */
1233
- if (sfsi_validator(SFSI('input[name="sfsi_shuffle_icons"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_shuffle_icons"]'), 'checked')) {
1234
- if ((!sfsi_validator(SFSI('input[name="sfsi_shuffle_Firstload"]'), 'activte') || !sfsi_validator(SFSI('input[name="sfsi_shuffle_Firstload"]'), 'checked')) && (!sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'), 'activte') || !sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'), 'checked'))) {
1235
- showErrorSuc("error", "Error : Please Chose a Shuffle option ", 3);
1236
- SFSI('input[name="sfsi_shuffle_Firstload"]').addClass('inputError');
1237
- SFSI('input[name="sfsi_shuffle_interval"]').addClass('inputError');
1238
- return false;
1239
- }
1240
- }
1241
- if (!sfsi_validator(SFSI('input[name="sfsi_shuffle_icons"]'), 'checked') && (sfsi_validator(SFSI('input[name="sfsi_shuffle_Firstload"]'), 'checked') || sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'), 'checked'))) {
1242
- showErrorSuc("error", "Error : Please check \"Shuffle them automatically\" option also ", 3);
1243
- SFSI('input[name="sfsi_shuffle_Firstload"]').addClass('inputError');
1244
- SFSI('input[name="sfsi_shuffle_interval"]').addClass('inputError');
1245
- return false;
1246
- }
1247
-
1248
- /* validate twitter user name */
1249
- if (sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'), 'checked')) {
1250
-
1251
- if (!sfsi_validator(SFSI('input[name="sfsi_shuffle_intervalTime"]'), 'blank') || !sfsi_validator(SFSI('input[name="sfsi_shuffle_intervalTime"]'), 'int')) {
1252
- showErrorSuc("error", "Error : Invalid shuffle time interval", 3);
1253
- SFSI('input[name="sfsi_shuffle_intervalTime"]').addClass('inputError');
1254
- return false;
1255
- }
1256
- }
1257
- return true;
1258
- }
1259
-
1260
- function sfsi_validationStep4() {
1261
- //var class_name= SFSI(element).hasAttr('sfsi_validate');
1262
- /* validate email */
1263
- if (sfsi_validator(SFSI('input[name="sfsi_email_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_email_countsDisplay"]'), 'checked')) {
1264
- if (SFSI('input[name="sfsi_email_countsFrom"]:checked').val() == 'manual') {
1265
- if (!sfsi_validator(SFSI('input[name="sfsi_email_manualCounts"]'), 'blank')) {
1266
- showErrorSuc("error", "Error : Please Enter manual counts for Email icon ", 4);
1267
- SFSI('input[name="sfsi_email_manualCounts"]').addClass('inputError');
1268
- return false;
1269
- }
1270
- }
1271
- }
1272
- /* validate RSS count */
1273
- if (sfsi_validator(SFSI('input[name="sfsi_rss_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_rss_countsDisplay"]'), 'checked')) {
1274
- if (!sfsi_validator(SFSI('input[name="sfsi_rss_manualCounts"]'), 'blank')) {
1275
- showErrorSuc("error", "Error : Please Enter manual counts for Rss icon ", 4);
1276
- SFSI('input[name="sfsi_rss_countsDisplay"]').addClass('inputError');
1277
- return false;
1278
- }
1279
- }
1280
- /* validate facebook */
1281
- if (sfsi_validator(SFSI('input[name="sfsi_facebook_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_facebook_countsDisplay"]'), 'checked')) {
1282
- /*if(SFSI('input[name="sfsi_facebook_countsFrom"]:checked').val()=='likes' )
1283
- {
1284
- if(!sfsi_validator(SFSI('input[name="sfsi_facebook_PageLink"]'),'blank'))
1285
- { showErrorSuc("error","Error : Please Enter facebook page Url ",4);
1286
- SFSI('input[name="sfsi_facebook_PageLink"]').addClass('inputError');
1287
- return false;
1288
- }
1289
- } */
1290
- if (SFSI('input[name="sfsi_facebook_countsFrom"]:checked').val() == 'manual') {
1291
- if (!sfsi_validator(SFSI('input[name="sfsi_facebook_manualCounts"]'), 'blank') && !sfsi_validator(SFSI('input[name="sfsi_facebook_manualCounts"]'), 'url')) {
1292
- showErrorSuc("error", "Error : Please Enter a valid facebook manual counts ", 4);
1293
- SFSI('input[name="sfsi_facebook_manualCounts"]').addClass('inputError');
1294
- return false;
1295
- }
1296
- }
1297
- }
1298
-
1299
- /* validate twitter */
1300
- if (sfsi_validator(SFSI('input[name="sfsi_twitter_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_twitter_countsDisplay"]'), 'checked')) {
1301
- if (SFSI('input[name="sfsi_twitter_countsFrom"]:checked').val() == 'source') {
1302
- if (!sfsi_validator(SFSI('input[name="tw_consumer_key"]'), 'blank')) {
1303
- showErrorSuc("error", "Error : Please Enter a valid consumer key", 4);
1304
- SFSI('input[name="tw_consumer_key"]').addClass('inputError');
1305
- return false;
1306
- }
1307
- if (!sfsi_validator(SFSI('input[name="tw_consumer_secret"]'), 'blank')) {
1308
- showErrorSuc("error", "Error : Please Enter a valid consume secret ", 4);
1309
- SFSI('input[name="tw_consumer_secret"]').addClass('inputError');
1310
- return false;
1311
- }
1312
- if (!sfsi_validator(SFSI('input[name="tw_oauth_access_token"]'), 'blank')) {
1313
- showErrorSuc("error", "Error : Please Enter a valid oauth access token", 4);
1314
- SFSI('input[name="tw_oauth_access_token"]').addClass('inputError');
1315
- return false;
1316
- }
1317
- if (!sfsi_validator(SFSI('input[name="tw_oauth_access_token_secret"]'), 'blank')) {
1318
- showErrorSuc("error", "Error : Please Enter a oAuth access token secret", 4);
1319
- SFSI('input[name="tw_oauth_access_token_secret"]').addClass('inputError');
1320
- return false;
1321
- }
1322
- }
1323
- if (SFSI('input[name="sfsi_linkedIn_countsFrom"]:checked').val() == 'manual') {
1324
-
1325
- if (!sfsi_validator(SFSI('input[name="sfsi_twitter_manualCounts"]'), 'blank')) {
1326
- showErrorSuc("error", "Error : Please Enter Twitter manual counts ", 4);
1327
- SFSI('input[name="sfsi_twitter_manualCounts"]').addClass('inputError');
1328
- return false;
1329
- }
1330
- }
1331
- }
1332
- /* validate LinkedIn */
1333
- if (sfsi_validator(SFSI('input[name="sfsi_linkedIn_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_linkedIn_countsDisplay"]'), 'checked')) {
1334
- if (SFSI('input[name="sfsi_linkedIn_countsFrom"]:checked').val() == 'follower') {
1335
- if (!sfsi_validator(SFSI('input[name="ln_company"]'), 'blank')) {
1336
- showErrorSuc("error", "Error : Please Enter a valid company name", 4);
1337
- SFSI('input[name="ln_company"]').addClass('inputError');
1338
- return false;
1339
- }
1340
- if (!sfsi_validator(SFSI('input[name="ln_api_key"]'), 'blank')) {
1341
- showErrorSuc("error", "Error : Please Enter a valid API key ", 4);
1342
- SFSI('input[name="ln_api_key"]').addClass('inputError');
1343
- return false;
1344
- }
1345
- if (!sfsi_validator(SFSI('input[name="ln_secret_key"]'), 'blank')) {
1346
- showErrorSuc("error", "Error : Please Enter a valid secret ", 4);
1347
- SFSI('input[name="ln_secret_key"]').addClass('inputError');
1348
- return false;
1349
- }
1350
- if (!sfsi_validator(SFSI('input[name="ln_oAuth_user_token"]'), 'blank')) {
1351
- showErrorSuc("error", "Error : Please Enter a oAuth Access Token", 4);
1352
- SFSI('input[name="ln_oAuth_user_token"]').addClass('inputError');
1353
- return false;
1354
- }
1355
- }
1356
- if (SFSI('input[name="sfsi_linkedIn_countsFrom"]:checked').val() == 'manual') {
1357
- if (!sfsi_validator(SFSI('input[name="sfsi_linkedIn_manualCounts"]'), 'blank')) {
1358
- showErrorSuc("error", "Error : Please Enter LinkedIn manual counts ", 4);
1359
- SFSI('input[name="sfsi_linkedIn_manualCounts"]').addClass('inputError');
1360
- return false;
1361
- }
1362
- }
1363
- }
1364
- /* validate youtube */
1365
- if (sfsi_validator(SFSI('input[name="sfsi_youtube_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_youtube_countsDisplay"]'), 'checked')) {
1366
- if (SFSI('input[name="sfsi_youtube_countsFrom"]:checked').val() == 'subscriber') {
1367
- if (
1368
- !sfsi_validator(SFSI('input[name="sfsi_youtube_user"]'), 'blank') &&
1369
- !sfsi_validator(SFSI('input[name="sfsi_youtube_channelId"]'), 'blank')
1370
- ) {
1371
- showErrorSuc("error", "Error : Please Enter a youtube user name or channel id", 4);
1372
- SFSI('input[name="sfsi_youtube_user"]').addClass('inputError');
1373
- SFSI('input[name="sfsi_youtube_channelId"]').addClass('inputError');
1374
- return false;
1375
- }
1376
- }
1377
- if (SFSI('input[name="sfsi_youtube_countsFrom"]:checked').val() == 'manual') {
1378
- if (!sfsi_validator(SFSI('input[name="sfsi_youtube_manualCounts"]'), 'blank')) {
1379
- showErrorSuc("error", "Error : Please Enter youtube manual counts ", 4);
1380
- SFSI('input[name="sfsi_youtube_manualCounts"]').addClass('inputError');
1381
- return false;
1382
- }
1383
- }
1384
- }
1385
- /* validate pinterest */
1386
- if (sfsi_validator(SFSI('input[name="sfsi_pinterest_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_pinterest_countsDisplay"]'), 'checked')) {
1387
- if (SFSI('input[name="sfsi_pinterest_countsFrom"]:checked').val() == 'manual') {
1388
- if (!sfsi_validator(SFSI('input[name="sfsi_pinterest_manualCounts"]'), 'blank')) {
1389
- showErrorSuc("error", "Error : Please Enter Pinterest manual counts ", 4);
1390
- SFSI('input[name="sfsi_pinterest_manualCounts"]').addClass('inputError');
1391
- return false;
1392
- }
1393
- }
1394
- }
1395
- /* validate instagram */
1396
- if (sfsi_validator(SFSI('input[name="sfsi_instagram_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_instagram_countsDisplay"]'), 'checked')) {
1397
- if (SFSI('input[name="sfsi_instagram_countsFrom"]:checked').val() == 'manual') {
1398
- if (!sfsi_validator(SFSI('input[name="sfsi_instagram_manualCounts"]'), 'blank')) {
1399
- showErrorSuc("error", "Error : Please Enter Instagram manual counts ", 4);
1400
- SFSI('input[name="sfsi_instagram_manualCounts"]').addClass('inputError');
1401
- return false;
1402
- }
1403
- }
1404
- if (SFSI('input[name="sfsi_instagram_countsFrom"]:checked').val() == 'followers') {
1405
- if (!sfsi_validator(SFSI('input[name="sfsi_instagram_User"]'), 'blank')) {
1406
- showErrorSuc("error", "Error : Please Enter a instagram user name", 4);
1407
- SFSI('input[name="sfsi_instagram_User"]').addClass('inputError');
1408
- return false;
1409
- }
1410
- }
1411
- }
1412
- return true;
1413
- }
1414
-
1415
- function sfsi_validationStep5() {
1416
- //var class_name= SFSI(element).hasAttr('sfsi_validate');
1417
- /* validate size */
1418
- if (!sfsi_validator(SFSI('input[name="sfsi_icons_size"]'), 'int')) {
1419
- showErrorSuc("error", "Error : Please enter a numeric value only ", 5);
1420
- SFSI('input[name="sfsi_icons_size"]').addClass('inputError');
1421
- return false;
1422
- }
1423
- if (parseInt(SFSI('input[name="sfsi_icons_size"]').val()) > 100) {
1424
- showErrorSuc("error", "Error : Icons Size allow 100px maximum ", 5);
1425
- SFSI('input[name="sfsi_icons_size"]').addClass('inputError');
1426
- return false;
1427
- }
1428
- if (parseInt(SFSI('input[name="sfsi_icons_size"]').val()) <= 0) {
1429
- showErrorSuc("error", "Error : Icons Size should be more than 0 ", 5);
1430
- SFSI('input[name="sfsi_icons_size"]').addClass('inputError');
1431
- return false;
1432
- }
1433
- /* validate spacing */
1434
- if (!sfsi_validator(SFSI('input[name="sfsi_icons_spacing"]'), 'int')) {
1435
- showErrorSuc("error", "Error : Please enter a numeric value only ", 5);
1436
- SFSI('input[name="sfsi_icons_spacing"]').addClass('inputError');
1437
- return false;
1438
- }
1439
- if (parseInt(SFSI('input[name="sfsi_icons_spacing"]').val()) < 0) {
1440
- showErrorSuc("error", "Error : Icons Spacing should be 0 or more", 5);
1441
- SFSI('input[name="sfsi_icons_spacing"]').addClass('inputError');
1442
- return false;
1443
- }
1444
- /* icons per row spacing */
1445
- if (!sfsi_validator(SFSI('input[name="sfsi_icons_perRow"]'), 'int')) {
1446
- showErrorSuc("error", "Error : Please enter a numeric value only ", 5);
1447
- SFSI('input[name="sfsi_icons_perRow"]').addClass('inputError');
1448
- return false;
1449
- }
1450
- if (parseInt(SFSI('input[name="sfsi_icons_perRow"]').val()) <= 0) {
1451
- showErrorSuc("error", "Error : Icons Per row should be more than 0", 5);
1452
- SFSI('input[name="sfsi_icons_perRow"]').addClass('inputError');
1453
- return false;
1454
- }
1455
- /* validate icons effects */
1456
- // if(SFSI('input[name="sfsi_icons_float"]:checked').val()=="yes" && SFSI('input[name="sfsi_icons_stick"]:checked').val()=="yes")
1457
- // {
1458
- // showErrorSuc("error","Error : Only one allow from Sticking & floating ",5);
1459
- // SFSI('input[name="sfsi_icons_float"][value="no"]').prop("checked", true);
1460
- // return false;
1461
- // }
1462
- return true;
1463
- }
1464
-
1465
- function sfsi_validationStep7() {
1466
- //var class_name= SFSI(element).hasAttr('sfsi_validate');
1467
- /* validate border thikness */
1468
- if (!sfsi_validator(SFSI('input[name="sfsi_popup_border_thickness"]'), 'int')) {
1469
- showErrorSuc("error", "Error : Please enter a numeric value only ", 7);
1470
- SFSI('input[name="sfsi_popup_border_thickness"]').addClass('inputError');
1471
- return false;
1472
- }
1473
- /* validate fotn size */
1474
- if (!sfsi_validator(SFSI('input[name="sfsi_popup_fontSize"]'), 'int')) {
1475
- showErrorSuc("error", "Error : Please enter a numeric value only ", 7);
1476
- SFSI('input[name="sfsi_popup_fontSize"]').addClass('inputError');
1477
- return false;
1478
- }
1479
- /* validate pop up shown */
1480
- if (SFSI('input[name="sfsi_Shown_pop"]:checked').val() == 'once') {
1481
-
1482
- if (!sfsi_validator(SFSI('input[name="sfsi_Shown_popupOnceTime"]'), 'blank') && !sfsi_validator(SFSI('input[name="sfsi_Shown_popupOnceTime"]'), 'url')) {
1483
- showErrorSuc("error", "Error : Please Enter a valid pop up shown time ", 7);
1484
- SFSI('input[name="sfsi_Shown_popupOnceTime"]').addClass('inputError');
1485
- return false;
1486
- }
1487
- }
1488
- /* validate page ids */
1489
- if (SFSI('input[name="sfsi_Show_popupOn"]:checked').val() == 'selectedpage') {
1490
- if (!sfsi_validator(SFSI('input[name="sfsi_Show_popupOn"]'), 'blank')) {
1491
- showErrorSuc("error", "Error : Please Enter page ids with comma ", 7);
1492
- SFSI('input[name="sfsi_Show_popupOn"]').addClass('inputError');
1493
- return false;
1494
- }
1495
- }
1496
- /* validate spacing */
1497
- if (!sfsi_validator(SFSI('input[name="sfsi_icons_spacing"]'), 'int')) {
1498
- showErrorSuc("error", "Error : Please enter a numeric value only ", 7);
1499
- SFSI('input[name="sfsi_icons_spacing"]').addClass('inputError');
1500
- return false;
1501
- }
1502
- /* icons per row spacing */
1503
- if (!sfsi_validator(SFSI('input[name="sfsi_icons_perRow"]'), 'int')) {
1504
- showErrorSuc("error", "Error : Please enter a numeric value only ", 7);
1505
- SFSI('input[name="sfsi_icons_perRow"]').addClass('inputError');
1506
- return false;
1507
- }
1508
- return true;
1509
- }
1510
-
1511
- function sfsi_validator(element, valType) {
1512
- var Vurl = new RegExp("^(http|https|ftp)\://([a-zA-Z0-9\.\-]+(\:[a-zA-Z0-9\.&amp;%\$\-]+)*@)*((25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])|([a-zA-Z0-9\-]+\.)*[a-zA-Z0-9\-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(\:[0-9]+)*(/($|[a-zA-Z0-9\.\,\@\?\'\\\+&amp;%\$#\=~_\-]+))*$");
1513
- //var Vurl = /http:\/\/[A-Za-z0-9\.-]{3,}\.[A-Za-z]{3}/;
1514
-
1515
- switch (valType) {
1516
- case "blank":
1517
- if (!element.val().trim()) return false;
1518
- else return true;
1519
- break;
1520
- case "url":
1521
- if (!Vurl.test(element.val().trim())) return false;
1522
- else return true;
1523
- break;
1524
- case "checked":
1525
- if (!element.attr('checked') === true) return false;
1526
- else return true;
1527
- break;
1528
- case "activte":
1529
- if (!element.attr('disabled')) return true;
1530
- else return false;
1531
- break;
1532
- case "int":
1533
- if (!isNaN(element.val())) return true;
1534
- else return false;
1535
- break;
1536
-
1537
- }
1538
- }
1539
-
1540
- function afterIconSuccess(s, nonce) {
1541
- if (s.res = "success") {
1542
- var i = s.key + 1,
1543
- e = s.element,
1544
- t = e + 1;
1545
- SFSI("#total_cusotm_icons").val(s.element);
1546
- SFSI(".upload-overlay").hide("slow");
1547
- SFSI(".uperror").html("");
1548
- showErrorSuc("success", "Custom Icon updated successfully", 1);
1549
- d = new Date();
1550
-
1551
- var ele = SFSI(".notice_custom_icons_premium");
1552
-
1553
- SFSI("li.custom:last-child").removeClass("bdr_btm_non");
1554
- SFSI("li.custom:last-child").children("span.custom-img").children("img").attr("src", s.img_path + "?" + d.getTime());
1555
- SFSI("input[name=sfsiICON_" + s.key + "]").removeAttr("ele-type");
1556
- SFSI("input[name=sfsiICON_" + s.key + "]").removeAttr("isnew");
1557
- icons_name = SFSI("li.custom:last-child").find("input.styled").attr("name");
1558
- var n = icons_name.split("_");
1559
- s.key = s.key, s.img_path += "?" + d.getTime(), 5 > e && SFSI(".icn_listing").append('<li id="c' + i + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style=" 0px 0px;"></span><input name="sfsiICON_' + i + '" type="checkbox" value="yes" class="styled" style="display:none;" element-type="cusotm-icon" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + i + '" alt="error" /> </span> <span class="custom custom-txt">Custom' + t + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>'),
1560
- SFSI(".custom_section").show(),
1561
- SFSI('<div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" alt="error" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>').insertBefore('.notice_custom_icons_premium');
1562
- //SFSI(".custom-links").append(' <div class="row sfsiICON_' + s.key + ' cm_lnk"> <h2 class="custom"> <span class="customstep2-img"> <img src="' + s.img_path + "?" + d.getTime() + '" style="border-radius:48%" /> </span> <span class="sfsiCtxt">Custom ' + e + '</span> </h2> <div class="inr_cont "><p>Where do you want this icon to link to?</p> <p class="radio_section fb_url custom_section sfsiICON_' + s.key + '" ><label>Link :</label><input file-id="' + s.key + '" name="sfsi_CustomIcon_links[]" type="text" value="" placeholder="http://" class="add" /></p></div></div>');
1563
- SFSI(".notice_custom_icons_premium").show();
1564
- SFSI("#c" + s.key).append('<input type="hidden" name="nonce" value="' + nonce + '">');
1565
- var o = SFSI("div.custom_m").find("div.mouseover_field").length;
1566
- SFSI("div.custom_m").append(0 == o % 2 ? '<div class="clear"> </div> <div class="mouseover_field custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>' : '<div class="cHover " ><div class="mouseover_field custom_section sfsiICON_' + s.key + '"><label>Custom ' + e + ':</label><input name="sfsi_custom_MouseOverTexts[]" value="" type="text" file-id="' + s.key + '" /></div>'),
1567
- SFSI("ul.share_icon_order").append('<li class="custom_iconOrder sfsiICON_' + s.key + '" data-index="" element-id="' + s.key + '" id=""><a href="#" title="Custom Icon" ><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/></a></li>'),
1568
- SFSI("ul.sfsi_sample_icons").append('<li class="sfsiICON_' + s.key + '" element-id="' + s.key + '" ><div><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),
1569
- sfsi_update_index(), update_Sec5Iconorder(), sfsi_update_step1(), sfsi_update_step2(),
1570
- sfsi_update_step5(), SFSI(".upload-overlay").css("pointer-events", "auto"), sfsi_showPreviewCounts(),
1571
- afterLoad();
1572
- }
1573
- }
1574
-
1575
- function beforeIconSubmit(s) {
1576
- if (SFSI(".uperror").html("Uploading....."), window.File && window.FileReader && window.FileList && window.Blob) {
1577
- SFSI(s).val() || SFSI(".uperror").html("File is empty");
1578
- var i = s.files[0].size,
1579
- e = s.files[0].type;
1580
- switch (e) {
1581
- case "image/png":
1582
- case "image/gif":
1583
- case "image/jpeg":
1584
- case "image/pjpeg":
1585
- break;
1586
-
1587
- default:
1588
- return SFSI(".uperror").html("Unsupported file"), !1;
1589
- }
1590
- return i > 1048576 ? (SFSI(".uperror").html("Image should be less than 1 MB"), !1) : !0;
1591
- }
1592
- return !0;
1593
- }
1594
-
1595
- function bytesToSize(s) {
1596
- var i = ["Bytes", "KB", "MB", "GB", "TB"];
1597
- if (0 == s) return "0 Bytes";
1598
- var e = parseInt(Math.floor(Math.log(s) / Math.log(1024)));
1599
- return Math.round(s / Math.pow(1024, e), 2) + " " + i[e];
1600
- }
1601
-
1602
- function showErrorSuc(s, i, e) {
1603
- if ("error" == s) var t = "errorMsg";
1604
- else var t = "sucMsg";
1605
- return SFSI(".tab" + e + ">." + t).html(i), SFSI(".tab" + e + ">." + t).show(),
1606
- SFSI(".tab" + e + ">." + t).effect("highlight", {}, 5e3), setTimeout(function () {
1607
- SFSI("." + t).slideUp("slow");
1608
- }, 5e3), !1;
1609
- }
1610
-
1611
- function beForeLoad() {
1612
- SFSI(".loader-img").show(), SFSI(".save_button >a").html("Saving..."), SFSI(".save_button >a").css("pointer-events", "none");
1613
- }
1614
-
1615
- function afterLoad() {
1616
- SFSI("input").removeClass("inputError"), SFSI(".save_button >a").html("Save"), SFSI(".tab10>div.save_button >a").html("Save All Settings"),
1617
- SFSI(".save_button >a").css("pointer-events", "auto"), SFSI(".save_button >a").removeAttr("onclick"),
1618
- SFSI(".loader-img").hide();
1619
- }
1620
-
1621
- function sfsi_make_popBox() {
1622
- var s = 0;
1623
- SFSI(".sfsi_sample_icons >li").each(function () {
1624
- "none" != SFSI(this).css("display") && (s = 1);
1625
- }),
1626
- 0 == s ? SFSI(".sfsi_Popinner").hide() : SFSI(".sfsi_Popinner").show(),
1627
- "" != SFSI('input[name="sfsi_popup_text"]').val() ? (SFSI(".sfsi_Popinner >h2").html(SFSI('input[name="sfsi_popup_text"]').val()),
1628
- SFSI(".sfsi_Popinner >h2").show()) : SFSI(".sfsi_Popinner >h2").hide(), SFSI(".sfsi_Popinner").css({
1629
- "border-color": SFSI('input[name="sfsi_popup_border_color"]').val(),
1630
- "border-width": SFSI('input[name="sfsi_popup_border_thickness"]').val(),
1631
- "border-style": "solid"
1632
- }),
1633
- SFSI(".sfsi_Popinner").css("background-color", SFSI('input[name="sfsi_popup_background_color"]').val()),
1634
- SFSI(".sfsi_Popinner h2").css("font-family", SFSI("#sfsi_popup_font").val()), SFSI(".sfsi_Popinner h2").css("font-style", SFSI("#sfsi_popup_fontStyle").val()),
1635
- SFSI(".sfsi_Popinner >h2").css("font-size", parseInt(SFSI('input[name="sfsi_popup_fontSize"]').val())),
1636
- SFSI(".sfsi_Popinner >h2").css("color", SFSI('input[name="sfsi_popup_fontColor"]').val() + " !important"),
1637
- "yes" == SFSI('input[name="sfsi_popup_border_shadow"]:checked').val() ? SFSI(".sfsi_Popinner").css("box-shadow", "12px 30px 18px #CCCCCC") : SFSI(".sfsi_Popinner").css("box-shadow", "none");
1638
- }
1639
-
1640
- function sfsi_stick_widget(s) {
1641
- 0 == initTop.length && (SFSI(".sfsi_widget").each(function (s) {
1642
- initTop[s] = SFSI(this).position().top;
1643
- })
1644
- // console.log(initTop)
1645
- );
1646
- var i = SFSI(window).scrollTop(),
1647
- e = [],
1648
- t = [];
1649
- SFSI(".sfsi_widget").each(function (s) {
1650
- e[s] = SFSI(this).position().top, t[s] = SFSI(this);
1651
- });
1652
- var n = !1;
1653
- for (var o in e) {
1654
- var a = parseInt(o) + 1;
1655
- e[o] < i && e[a] > i && a < e.length ? (SFSI(t[o]).css({
1656
- position: "fixed",
1657
- top: s
1658
- }), SFSI(t[a]).css({
1659
- position: "",
1660
- top: initTop[a]
1661
- }), n = !0) : SFSI(t[o]).css({
1662
- position: "",
1663
- top: initTop[o]
1664
- });
1665
- }
1666
- if (!n) {
1667
- var r = e.length - 1,
1668
- c = -1;
1669
- e.length > 1 && (c = e.length - 2), initTop[r] < i ? (SFSI(t[r]).css({
1670
- position: "fixed",
1671
- top: s
1672
- }), c >= 0 && SFSI(t[c]).css({
1673
- position: "",
1674
- top: initTop[c]
1675
- })) : (SFSI(t[r]).css({
1676
- position: "",
1677
- top: initTop[r]
1678
- }), c >= 0 && e[c] < i);
1679
- }
1680
- }
1681
-
1682
- function sfsi_setCookie(s, i, e) {
1683
- var t = new Date();
1684
- t.setTime(t.getTime() + 1e3 * 60 * 60 * 24 * e);
1685
- var n = "expires=" + t.toGMTString();
1686
- document.cookie = s + "=" + i + "; " + n;
1687
- }
1688
-
1689
- function sfsfi_getCookie(s) {
1690
- for (var i = s + "=", e = document.cookie.split(";"), t = 0; t < e.length; t++) {
1691
- var n = e[t].trim();
1692
- if (0 == n.indexOf(i)) return n.substring(i.length, n.length);
1693
- }
1694
- return "";
1695
- }
1696
-
1697
- function sfsi_hideFooter() {}
1698
-
1699
- window.onerror = function () {},
1700
- SFSI = jQuery,
1701
- SFSI(window).on('load', function () {
1702
- SFSI("#sfpageLoad").fadeOut(2e3);
1703
- });
1704
-
1705
- //changes done {Monad}
1706
- function selectText(containerid) {
1707
- if (document.selection) {
1708
- var range = document.body.createTextRange();
1709
- range.moveToElementText(document.getElementById(containerid));
1710
- range.select();
1711
- } else if (window.getSelection()) {
1712
- var range = document.createRange();
1713
- range.selectNode(document.getElementById(containerid));
1714
- window.getSelection().removeAllRanges();
1715
- window.getSelection().addRange(range);
1716
- }
1717
- }
1718
-
1719
- function create_suscriber_form() {
1720
- //Popbox customization
1721
- "no" == SFSI('input[name="sfsi_form_adjustment"]:checked').val() ? SFSI(".sfsi_subscribe_Popinner").css({
1722
- "width": parseInt(SFSI('input[name="sfsi_form_width"]').val()),
1723
- "height": parseInt(SFSI('input[name="sfsi_form_height"]').val())
1724
- }) : SFSI(".sfsi_subscribe_Popinner").css({
1725
- "width": '',
1726
- "height": ''
1727
- });
1728
-
1729
- "yes" == SFSI('input[name="sfsi_form_adjustment"]:checked').val() ? SFSI(".sfsi_html > .sfsi_subscribe_Popinner").css({
1730
- "width": "100%"
1731
- }) : '';
1732
-
1733
- "yes" == SFSI('input[name="sfsi_form_border"]:checked').val() ? SFSI(".sfsi_subscribe_Popinner").css({
1734
- "border": SFSI('input[name="sfsi_form_border_thickness"]').val() + "px solid " + SFSI('input[name="sfsi_form_border_color"]').val()
1735
- }) : SFSI(".sfsi_subscribe_Popinner").css("border", "none");
1736
-
1737
- SFSI('input[name="sfsi_form_background"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").css("background-color", SFSI('input[name="sfsi_form_background"]').val())) : '';
1738
-
1739
- //Heading customization
1740
- SFSI('input[name="sfsi_form_heading_text"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner > form > h5").html(SFSI('input[name="sfsi_form_heading_text"]').val())) : SFSI(".sfsi_subscribe_Popinner > form > h5").html('');
1741
-
1742
- SFSI('#sfsi_form_heading_font').val() != "" ? (SFSI(".sfsi_subscribe_Popinner > form > h5").css("font-family", SFSI("#sfsi_form_heading_font").val())) : '';
1743
-
1744
- if (SFSI('#sfsi_form_heading_fontstyle').val() != 'bold') {
1745
- SFSI('#sfsi_form_heading_fontstyle').val() != "" ? (SFSI(".sfsi_subscribe_Popinner > form > h5").css("font-style", SFSI("#sfsi_form_heading_fontstyle").val())) : '';
1746
- SFSI(".sfsi_subscribe_Popinner > form > h5").css("font-weight", '');
1747
- } else {
1748
- SFSI('#sfsi_form_heading_fontstyle').val() != "" ? (SFSI(".sfsi_subscribe_Popinner > form > h5").css("font-weight", "bold")) : '';
1749
- SFSI(".sfsi_subscribe_Popinner > form > h5").css("font-style", '');
1750
- }
1751
-
1752
- SFSI('input[name="sfsi_form_heading_fontcolor"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner > form > h5").css("color", SFSI('input[name="sfsi_form_heading_fontcolor"]').val())) : '';
1753
-
1754
- SFSI('input[name="sfsi_form_heading_fontsize"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner > form > h5").css({
1755
- "font-size": parseInt(SFSI('input[name="sfsi_form_heading_fontsize"]').val())
1756
- })) : '';
1757
-
1758
- SFSI('#sfsi_form_heading_fontalign').val() != "" ? (SFSI(".sfsi_subscribe_Popinner > form > h5").css("text-align", SFSI("#sfsi_form_heading_fontalign").val())) : '';
1759
-
1760
- //Field customization
1761
- SFSI('input[name="sfsi_form_field_text"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').attr("placeholder", SFSI('input[name="sfsi_form_field_text"]').val())) : SFSI(".sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').attr("placeholder", '');
1762
-
1763
- SFSI('input[name="sfsi_form_field_text"]').val() != "" ? (SFSI(".sfsi_left_container > .sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').val(SFSI('input[name="sfsi_form_field_text"]').val())) : SFSI(".sfsi_left_container > .sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').val('');
1764
-
1765
- SFSI('input[name="sfsi_form_field_text"]').val() != "" ? (SFSI(".like_pop_box > .sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').val(SFSI('input[name="sfsi_form_field_text"]').val())) : SFSI(".like_pop_box > .sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').val('');
1766
-
1767
- SFSI('#sfsi_form_field_font').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-family", SFSI("#sfsi_form_field_font").val())) : '';
1768
-
1769
- if (SFSI('#sfsi_form_field_fontstyle').val() != "bold") {
1770
- SFSI('#sfsi_form_field_fontstyle').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-style", SFSI("#sfsi_form_field_fontstyle").val())) : '';
1771
- SFSI(".sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-weight", '');
1772
- } else {
1773
- SFSI('#sfsi_form_field_fontstyle').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-weight", 'bold')) : '';
1774
- SFSI(".sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("font-style", '');
1775
- }
1776
-
1777
- SFSI('input[name="sfsi_form_field_fontcolor"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("color", SFSI('input[name="sfsi_form_field_fontcolor"]').val())) : '';
1778
-
1779
- SFSI('input[name="sfsi_form_field_fontsize"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').css({
1780
- "font-size": parseInt(SFSI('input[name="sfsi_form_field_fontsize"]').val())
1781
- })) : '';
1782
-
1783
- SFSI('#sfsi_form_field_fontalign').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="data[Widget][email]"]').css("text-align", SFSI("#sfsi_form_field_fontalign").val())) : '';
1784
-
1785
- //Button customization
1786
- SFSI('input[name="sfsi_form_button_text"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="subscribe"]').attr("value", SFSI('input[name="sfsi_form_button_text"]').val())) : '';
1787
-
1788
- SFSI('#sfsi_form_button_font').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="subscribe"]').css("font-family", SFSI("#sfsi_form_button_font").val())) : '';
1789
-
1790
- if (SFSI('#sfsi_form_button_fontstyle').val() != "bold") {
1791
- SFSI('#sfsi_form_button_fontstyle').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="subscribe"]').css("font-style", SFSI("#sfsi_form_button_fontstyle").val())) : '';
1792
- SFSI(".sfsi_subscribe_Popinner").find('input[name="subscribe"]').css("font-weight", '');
1793
- } else {
1794
- SFSI('#sfsi_form_button_fontstyle').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="subscribe"]').css("font-weight", 'bold')) : '';
1795
- SFSI(".sfsi_subscribe_Popinner").find('input[name="subscribe"]').css("font-style", '');
1796
- }
1797
-
1798
- SFSI('input[name="sfsi_form_button_fontcolor"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="subscribe"]').css("color", SFSI('input[name="sfsi_form_button_fontcolor"]').val())) : '';
1799
-
1800
- SFSI('input[name="sfsi_form_button_fontsize"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="subscribe"]').css({
1801
- "font-size": parseInt(SFSI('input[name="sfsi_form_button_fontsize"]').val())
1802
- })) : '';
1803
-
1804
- SFSI('#sfsi_form_button_fontalign').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="subscribe"]').css("text-align", SFSI("#sfsi_form_button_fontalign").val())) : '';
1805
-
1806
- SFSI('input[name="sfsi_form_button_background"]').val() != "" ? (SFSI(".sfsi_subscribe_Popinner").find('input[name="subscribe"]').css("background-color", SFSI('input[name="sfsi_form_button_background"]').val())) : '';
1807
-
1808
- var innerHTML = SFSI(".sfsi_html > .sfsi_subscribe_Popinner").html();
1809
- var styleCss = SFSI(".sfsi_html > .sfsi_subscribe_Popinner").attr("style");
1810
- innerHTML = '<div style="' + styleCss + '">' + innerHTML + '</div>';
1811
- SFSI(".sfsi_subscription_html > xmp").html(innerHTML);
1812
-
1813
- /*var data = {
1814
- action:"getForm",
1815
- heading: SFSI('input[name="sfsi_form_heading_text"]').val(),
1816
- placeholder:SFSI('input[name="sfsi_form_field_text"]').val(),
1817
- button:SFSI('input[name="sfsi_form_button_text"]').val()
1818
- };
1819
- SFSI.ajax({
1820
- url:sfsi_icon_ajax_object.ajax_url,
1821
- type:"post",
1822
- data:data,
1823
- success:function(s) {
1824
- SFSI(".sfsi_subscription_html").html(s);
1825
- }
1826
- });*/
1827
- }
1828
-
1829
- var global_error = 0;
1830
- if (typeof SFSI != 'undefined') {
1831
-
1832
- function sfsi_dismiss_notice(btnClass, ajaxAction) {
1833
-
1834
- var btnClass = "." + btnClass;
1835
-
1836
- SFSI(document).on("click", btnClass, function () {
1837
-
1838
- SFSI.ajax({
1839
- url: sfsi_icon_ajax_object.ajax_url,
1840
- type: "post",
1841
- data: {
1842
- action: ajaxAction
1843
- },
1844
- success: function (e) {
1845
- if (false != e) {
1846
- SFSI(btnClass).parent().remove();
1847
- }
1848
- }
1849
- });
1850
- });
1851
- }
1852
- }
1853
-
1854
- SFSI(document).ready(function (s) {
1855
- function sfsi_open_admin_section(id){
1856
- SFSI("#ui-id-"+(id+1)).show();
1857
- SFSI("#ui-id-"+id).removeClass("ui-corner-all");
1858
- SFSI("#ui-id-"+id).addClass("ui-corner-top");
1859
- SFSI("#ui-id-"+id).addClass("accordion-header-active");
1860
- SFSI("#ui-id-"+id).addClass("ui-state-active");
1861
- SFSI("#ui-id-"+id).attr("aria-expanded","false");
1862
- SFSI("#ui-id-"+id).attr("aria-selected","true");
1863
- if(SFSI("#ui-id-"+(id+1)).length>0){
1864
- SFSI("#ui-id-"+(id+1))[0].scrollIntoView(false);
1865
- }
1866
- }
1867
- var arrDismiss = [
1868
-
1869
- {
1870
- "btnClass": "sfsi-notice-dismiss",
1871
- "action": "sfsi_dismiss_lang_notice"
1872
- },
1873
-
1874
- {
1875
- "btnClass": "sfsi-AddThis-notice-dismiss",
1876
- "action": "sfsi_dismiss_addThis_icon_notice"
1877
- },
1878
-
1879
- {
1880
- "btnClass": "sfsi_error_reporting_notice-dismiss",
1881
- "action": "sfsi_dismiss_error_reporting_notice"
1882
- }
1883
- ];
1884
-
1885
- SFSI.each(arrDismiss, function (key, valueObj) {
1886
- sfsi_dismiss_notice(valueObj.btnClass, valueObj.action);
1887
- });
1888
-
1889
- var sfsi_show_option1 = SFSI('input[name="sfsi_show_via_widget"]:checked').val()||'no';
1890
- var sfsi_show_option2 = SFSI('input[name="sfsi_icons_float"]:checked').val()||'no';
1891
- var sfsi_show_option3 = SFSI('input[name="sfsi_show_via_shortcode"]:checked').val()||'no';
1892
- var sfsi_show_option4 = SFSI('input[name="sfsi_show_via_afterposts"]:checked').val()||'no';
1893
- var sfsi_analyst_popup = SFSI('#sfsi_analyst_pop').attr('data-status');
1894
- // console.log(sfsi_show_option1);
1895
- // console.log(sfsi_show_option2);
1896
- // console.log(sfsi_show_option3);
1897
- // console.log(sfsi_show_option4);
1898
- if(sfsi_analyst_popup =="no"){
1899
- if(sfsi_show_option1=="no" && sfsi_show_option2=='no' && sfsi_show_option3 =='no' && sfsi_show_option4 == 'no'){
1900
- // console.log('should open');
1901
- sfsi_open_admin_section(5);
1902
- // console.log("check if exists",SFSI("#ui-id-5"), SFSI("#ui-id-5").length , SFSI("#ui-id-5").attr('aria-selected')=="false");
1903
- if(SFSI("#ui-id-5").length==0 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1904
- // console.log("'didnt'open in t0");
1905
- setTimeout(function(){
1906
- sfsi_open_admin_section(5);
1907
- if(SFSI("#ui-id-5").length==0 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1908
- // console.log("'didnt'open in t2");
1909
-
1910
- setTimeout(function(){
1911
- sfsi_open_admin_section(5);
1912
-
1913
- if(SFSI("#ui-id-5").length==0 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1914
- // console.log("'didnt'open in t4");
1915
-
1916
- setTimeout(function(){
1917
- sfsi_open_admin_section(5);
1918
- if(SFSI("#ui-id-5").length==0 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1919
- // console.log("'didnt'open in t6");
1920
-
1921
- setTimeout(function(){
1922
- sfsi_open_admin_section(5);
1923
-
1924
- },2000);
1925
- }
1926
- },2000);
1927
- }
1928
- },2000);
1929
- }
1930
- // SFSI('#ui-id-5').click();
1931
- },2000);
1932
- }
1933
- }
1934
- }else{
1935
- SFSI("#analyst-install-skip, #analyst-install-action").click(function(){
1936
- sfsi_open_admin_section(5);
1937
- if(SFSI("#ui-id-5").length==1 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1938
- setTimeout(function(){
1939
- sfsi_open_admin_section(5);
1940
- if(SFSI("#ui-id-5").length==1 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1941
- setTimeout(function(){
1942
- sfsi_open_admin_section(5);
1943
-
1944
- if(SFSI("#ui-id-5").length==1 || SFSI("#ui-id-5").attr('aria-selected')=="false"){
1945
- setTimeout(function(){
1946
- sfsi_open_admin_section(5);
1947
- },2000);
1948
- }
1949
- },2000);
1950
- }
1951
- // SFSI('#ui-id-5').click();
1952
- },2000);
1953
- }
1954
- })
1955
- }
1956
-
1957
- //changes done {Monad}
1958
- SFSI(".tab_3_icns").on("click", ".cstomskins_upload", function () {
1959
- SFSI(".cstmskins-overlay").show("slow", function () {
1960
- e = 0;
1961
- });
1962
- });
1963
- /*SFSI("#custmskin_clspop").live("click", function() {*/
1964
- SFSI(document).on("click", '#custmskin_clspop', function () {
1965
- SFSI_done();
1966
- SFSI(".cstmskins-overlay").hide("slow");
1967
- });
1968
-
1969
- create_suscriber_form();
1970
- SFSI('input[name="sfsi_form_heading_text"], input[name="sfsi_form_border_thickness"], input[name="sfsi_form_height"], input[name="sfsi_form_width"], input[name="sfsi_form_heading_fontsize"], input[name="sfsi_form_field_text"], input[name="sfsi_form_field_fontsize"], input[name="sfsi_form_button_text"], input[name="sfsi_form_button_fontsize"]').on("keyup", create_suscriber_form);
1971
-
1972
- SFSI('input[name="sfsi_form_border_color"], input[name="sfsi_form_background"] ,input[name="sfsi_form_heading_fontcolor"], input[name="sfsi_form_field_fontcolor"] ,input[name="sfsi_form_button_fontcolor"],input[name="sfsi_form_button_background"]').on("focus", create_suscriber_form);
1973
-
1974
- SFSI("#sfsi_form_heading_font, #sfsi_form_heading_fontstyle, #sfsi_form_heading_fontalign, #sfsi_form_field_font, #sfsi_form_field_fontstyle, #sfsi_form_field_fontalign, #sfsi_form_button_font, #sfsi_form_button_fontstyle, #sfsi_form_button_fontalign").on("change", create_suscriber_form);
1975
-
1976
- /*SFSI(".radio").live("click", function() {*/
1977
- SFSI(document).on("click", '.radio', function () {
1978
-
1979
- var s = SFSI(this).parent().find("input:radio:first");
1980
- var inputName = s.attr("name");
1981
- // console.log(inputName);
1982
-
1983
- var inputChecked = s.attr("checked");
1984
-
1985
- switch (inputName) {
1986
- case 'sfsi_form_adjustment':
1987
- if (s.val() == 'no')
1988
- s.parents(".row_tab").next(".row_tab").show("fast");
1989
- else
1990
- s.parents(".row_tab").next(".row_tab").hide("fast");
1991
- create_suscriber_form()
1992
- break;
1993
- case 'sfsi_form_border':
1994
- if (s.val() == 'yes')
1995
- s.parents(".row_tab").next(".row_tab").show("fast");
1996
- else
1997
- s.parents(".row_tab").next(".row_tab").hide("fast");
1998
- create_suscriber_form()
1999
- break;
2000
- case 'sfsi_icons_suppress_errors':
2001
-
2002
- SFSI('input[name="sfsi_icons_suppress_errors"]').removeAttr('checked');
2003
-
2004
- if (s.val() == 'yes')
2005
- SFSI('input[name="sfsi_icons_suppress_errors"][value="yes"]').attr('checked', 'true');
2006
- else
2007
- SFSI('input[name="sfsi_icons_suppress_errors"][value="no"]').attr('checked', 'true');
2008
- break;
2009
- case 'sfsi_responsive_icons_end_post':
2010
- if("yes" == s.val()){
2011
- jQuery('.sfsi_responsive_icon_option_li.sfsi_responsive_show').show();
2012
- }else{
2013
- jQuery('.sfsi_responsive_icon_option_li.sfsi_responsive_show').hide();
2014
- }
2015
- }
2016
- });
2017
-
2018
- SFSI('#sfsi_form_border_color').wpColorPicker({
2019
- defaultColor: false,
2020
- change: function (event, ui) {
2021
- create_suscriber_form()
2022
- },
2023
- clear: function () {
2024
- create_suscriber_form()
2025
- },
2026
- hide: true,
2027
- palettes: true
2028
- }),
2029
- SFSI('#sfsi_form_background').wpColorPicker({
2030
- defaultColor: false,
2031
- change: function (event, ui) {
2032
- create_suscriber_form()
2033
- },
2034
- clear: function () {
2035
- create_suscriber_form()
2036
- },
2037
- hide: true,
2038
- palettes: true
2039
- }),
2040
- SFSI('#sfsi_form_heading_fontcolor').wpColorPicker({
2041
- defaultColor: false,
2042
- change: function (event, ui) {
2043
- create_suscriber_form()
2044
- },
2045
- clear: function () {
2046
- create_suscriber_form()
2047
- },
2048
- hide: true,
2049
- palettes: true
2050
- }),
2051
- SFSI('#sfsi_form_button_fontcolor').wpColorPicker({
2052
- defaultColor: false,
2053
- change: function (event, ui) {
2054
- create_suscriber_form()
2055
- },
2056
- clear: function () {
2057
- create_suscriber_form()
2058
- },
2059
- hide: true,
2060
- palettes: true
2061
- }),
2062
- SFSI('#sfsi_form_button_background').wpColorPicker({
2063
- defaultColor: false,
2064
- change: function (event, ui) {
2065
- create_suscriber_form()
2066
- },
2067
- clear: function () {
2068
- create_suscriber_form()
2069
- },
2070
- hide: true,
2071
- palettes: true
2072
- });
2073
- //changes done {Monad}
2074
-
2075
- function i() {
2076
- SFSI(".uperror").html(""), afterLoad();
2077
- var s = SFSI('input[name="' + SFSI("#upload_id").val() + '"]');
2078
- s.removeAttr("checked");
2079
- var i = SFSI(s).parent().find("span:first");
2080
- return SFSI(i).css("background-position", "0px 0px"), SFSI(".upload-overlay").hide("slow"),
2081
- !1;
2082
- }
2083
- SFSI("#accordion").accordion({
2084
- collapsible: !0,
2085
- active: !1,
2086
- heightStyle: "content",
2087
- event: "click",
2088
- beforeActivate: function (s, i) {
2089
- if (i.newHeader[0]) var e = i.newHeader,
2090
- t = e.next(".ui-accordion-content");
2091
- else var e = i.oldHeader,
2092
- t = e.next(".ui-accordion-content");
2093
- var n = "true" == e.attr("aria-selected");
2094
- return e.toggleClass("ui-corner-all", n).toggleClass("accordion-header-active ui-state-active ui-corner-top", !n).attr("aria-selected", (!n).toString()),
2095
- e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", n).toggleClass("ui-icon-triangle-1-s", !n),
2096
- t.toggleClass("accordion-content-active", !n), n ? t.slideUp() : t.slideDown(), !1;
2097
- }
2098
- }),
2099
- SFSI("#accordion1").accordion({
2100
- collapsible: !0,
2101
- active: !1,
2102
- heightStyle: "content",
2103
- event: "click",
2104
- beforeActivate: function (s, i) {
2105
- if (i.newHeader[0]) var e = i.newHeader,
2106
- t = e.next(".ui-accordion-content");
2107
- else var e = i.oldHeader,
2108
- t = e.next(".ui-accordion-content");
2109
- var n = "true" == e.attr("aria-selected");
2110
- return e.toggleClass("ui-corner-all", n).toggleClass("accordion-header-active ui-state-active ui-corner-top", !n).attr("aria-selected", (!n).toString()),
2111
- e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", n).toggleClass("ui-icon-triangle-1-s", !n),
2112
- t.toggleClass("accordion-content-active", !n), n ? t.slideUp() : t.slideDown(), !1;
2113
- }
2114
- }),
2115
-
2116
- SFSI("#accordion2").accordion({
2117
- collapsible: !0,
2118
- active: !1,
2119
- heightStyle: "content",
2120
- event: "click",
2121
- beforeActivate: function (s, i) {
2122
- if (i.newHeader[0]) var e = i.newHeader,
2123
- t = e.next(".ui-accordion-content");
2124
- else var e = i.oldHeader,
2125
- t = e.next(".ui-accordion-content");
2126
- var n = "true" == e.attr("aria-selected");
2127
- return e.toggleClass("ui-corner-all", n).toggleClass("accordion-header-active ui-state-active ui-corner-top", !n).attr("aria-selected", (!n).toString()),
2128
- e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", n).toggleClass("ui-icon-triangle-1-s", !n),
2129
- t.toggleClass("accordion-content-active", !n), n ? t.slideUp() : t.slideDown(), !1;
2130
- }
2131
- }),
2132
- SFSI(".closeSec").on("click", function () {
2133
- var s = !0,
2134
- i = SFSI(this).closest("div.ui-accordion-content").prev("h3.ui-accordion-header").first(),
2135
- e = SFSI(this).closest("div.ui-accordion-content").first();
2136
- i.toggleClass("ui-corner-all", s).toggleClass("accordion-header-active ui-state-active ui-corner-top", !s).attr("aria-selected", (!s).toString()),
2137
- i.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", s).toggleClass("ui-icon-triangle-1-s", !s),
2138
- e.toggleClass("accordion-content-active", !s), s ? e.slideUp() : e.slideDown();
2139
- }),
2140
- SFSI(document).click(function (s) {
2141
- var i = SFSI(".sfsi_FrntInner_chg"),
2142
- e = SFSI(".sfsi_wDiv"),
2143
- t = SFSI("#at15s");
2144
- i.is(s.target) || 0 !== i.has(s.target).length || e.is(s.target) || 0 !== e.has(s.target).length || t.is(s.target) || 0 !== t.has(s.target).length || i.fadeOut();
2145
- }),
2146
- SFSI('#sfsi_popup_background_color').wpColorPicker({
2147
- defaultColor: false,
2148
- change: function (event, ui) {
2149
- sfsi_make_popBox()
2150
- },
2151
- clear: function () {
2152
- sfsi_make_popBox()
2153
- },
2154
- hide: true,
2155
- palettes: true
2156
- }),
2157
- SFSI('#sfsi_popup_border_color').wpColorPicker({
2158
- defaultColor: false,
2159
- change: function (event, ui) {
2160
- sfsi_make_popBox()
2161
- },
2162
- clear: function () {
2163
- sfsi_make_popBox()
2164
- },
2165
- hide: true,
2166
- palettes: true
2167
- }),
2168
- SFSI('#sfsi_popup_fontColor').wpColorPicker({
2169
- defaultColor: false,
2170
- change: function (event, ui) {
2171
- sfsi_make_popBox()
2172
- },
2173
- clear: function () {
2174
- sfsi_make_popBox()
2175
- },
2176
- hide: true,
2177
- palettes: true
2178
- }),
2179
- SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseover(function () {
2180
- SFSI(this).attr("src", sfsi_icon_ajax_object.plugin_url + "images/visit_icons/linkedIn_hover.svg");
2181
- }),
2182
- SFSI("div#sfsiid_linkedin").find(".icon4").find("a").find("img").mouseleave(function () {
2183
- SFSI(this).attr("src", sfsi_icon_ajax_object.plugin_url + "images/visit_icons/linkedIn.svg");
2184
- }),
2185
- SFSI("div#sfsiid_youtube").find(".icon1").find("a").find("img").mouseover(function () {
2186
- SFSI(this).attr("src", sfsi_icon_ajax_object.plugin_url + "images/visit_icons/youtube_hover.svg");
2187
- }),
2188
- SFSI("div#sfsiid_youtube").find(".icon1").find("a").find("img").mouseleave(function () {
2189
- SFSI(this).attr("src", sfsi_icon_ajax_object.plugin_url + "images/visit_icons/youtube.svg");
2190
- }),
2191
- SFSI("div#sfsiid_facebook").find(".icon1").find("a").find("img").mouseover(function () {
2192
- SFSI(this).css("opacity", "0.9");
2193
- }),
2194
- SFSI("div#sfsiid_facebook").find(".icon1").find("a").find("img").mouseleave(function () {
2195
- SFSI(this).css("opacity", "1");
2196
- }),
2197
- SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseover(function () {
2198
- SFSI(this).css("opacity", "0.9");
2199
- }),
2200
- SFSI("div#sfsiid_twitter").find(".cstmicon1").find("a").find("img").mouseleave(function () {
2201
- SFSI(this).css("opacity", "1");
2202
- }),
2203
- SFSI("#sfsi_save1").on("click", function () {
2204
- // console.log('save1',sfsi_update_step1());
2205
- sfsi_update_step1() && sfsicollapse(this);
2206
- }),
2207
- SFSI("#sfsi_save2").on("click", function () {
2208
- sfsi_update_step2() && sfsicollapse(this);
2209
- }),
2210
- SFSI("#sfsi_save3").on("click", function () {
2211
- sfsi_update_step3() && sfsicollapse(this);
2212
- }),
2213
- SFSI("#sfsi_save4").on("click", function () {
2214
- sfsi_update_step4() && sfsicollapse(this);
2215
- }),
2216
- SFSI("#sfsi_save5").on("click", function () {
2217
- sfsi_update_step5() && sfsicollapse(this);
2218
- }),
2219
- SFSI("#sfsi_save6").on("click", function () {
2220
- sfsi_update_step6() && sfsicollapse(this);
2221
- }),
2222
- SFSI("#sfsi_save7").on("click", function () {
2223
- sfsi_update_step7() && sfsicollapse(this);
2224
- }),
2225
- SFSI("#sfsi_save8").on("click", function () {
2226
- sfsi_update_step8() && sfsicollapse(this);
2227
- }),
2228
- SFSI("#sfsi_save9").on("click", function () {
2229
- sfsi_update_step9() && sfsicollapse(this);
2230
- }),
2231
- SFSI("#sfsi_save_export").on("click", function () {
2232
- sfsi_save_export();
2233
- }),
2234
- SFSI("#save_all_settings").on("click", function () {
2235
- return SFSI("#save_all_settings").text("Saving.."), SFSI(".save_button >a").css("pointer-events", "none"),
2236
- sfsi_update_step1(), sfsi_update_step8(), 1 == global_error ? (showErrorSuc("error", 'Some Selection error in "Which icons do you want to show on your site?" tab.', 8),
2237
- global_error = 0, !1) : (sfsi_update_step2(), 1 == global_error ? (showErrorSuc("error", 'Some Selection error in "What do you want the icons to do?" tab.', 8),
2238
- global_error = 0, !1) : (sfsi_update_step3(), 1 == global_error ? (showErrorSuc("error", 'Some Selection error in "What design & animation do you want to give your icons?" tab.', 8),
2239
- global_error = 0, !1) : (sfsi_update_step4(), 1 == global_error ? (showErrorSuc("error", 'Some Selection error in "Do you want to display "counts" next to your icons?" tab.', 8),
2240
- global_error = 0, !1) : (sfsi_update_step5(), 1 == global_error ? (showErrorSuc("error", 'Some Selection error in "Any other wishes for your main icons?" tab.', 8),
2241
- global_error = 0, !1) : (sfsi_update_step6(), 1 == global_error ? (showErrorSuc("error", 'Some Selection error in "Do you want to display icons at the end of every post?" tab.', 8),
2242
- global_error = 0, !1) : (sfsi_update_step7(), 1 == global_error ? (showErrorSuc("error", 'Some Selection error in "Do you want to display a pop-up, asking people to subscribe?" tab.', 8),
2243
- /*global_error = 0, !1) :void (0 == global_error && showErrorSuc("success", 'Saved! Now go to the <a href="widgets.php">widget</a> area and place the widget into your sidebar (if not done already)', 8))))))));*/
2244
- global_error = 0, !1) : void(0 == global_error && showErrorSuc("success", '', 8))))))));
2245
- }),
2246
- /*SFSI(".fileUPInput").live("change", function() {*/
2247
- SFSI(document).on("change", '.fileUPInput', function () {
2248
- beForeLoad(), beforeIconSubmit(this) && (SFSI(".upload-overlay").css("pointer-events", "none"),
2249
- SFSI("#customIconFrm").ajaxForm({
2250
- dataType: "json",
2251
- success: afterIconSuccess,
2252
- resetForm: !0
2253
- }).submit());
2254
- }),
2255
- SFSI(".pop-up").on("click", function () {
2256
- ("fbex-s2" == SFSI(this).attr("data-id") || "linkex-s2" == SFSI(this).attr("data-id")) && (SFSI("." + SFSI(this).attr("data-id")).hide(),
2257
- SFSI("." + SFSI(this).attr("data-id")).css("opacity", "1"), SFSI("." + SFSI(this).attr("data-id")).css("z-index", "1000")),
2258
- SFSI("." + SFSI(this).attr("data-id")).show("slow");
2259
- }),
2260
- /*SFSI("#close_popup").live("click", function() {*/
2261
- SFSI(document).on("click", '#close_popup', function () {
2262
- SFSI(".read-overlay").hide("slow");
2263
- });
2264
-
2265
- var e = 0;
2266
- SFSI(".icn_listing").on("click", ".checkbox", function () {
2267
- if (1 == e) return !1;
2268
- "yes" == SFSI(this).attr("dynamic_ele") && (s = SFSI(this).parent().find("input:checkbox:first"),
2269
- s.is(":checked") ? SFSI(s).attr("checked", !1) : SFSI(s).attr("checked", !0)), s = SFSI(this).parent().find("input:checkbox:first"),
2270
- "yes" == SFSI(s).attr("isNew") && ("0px 0px" == SFSI(this).css("background-position") ? (SFSI(s).attr("checked", !0),
2271
- SFSI(this).css("background-position", "0px -36px")) : (SFSI(s).removeAttr("checked", !0),
2272
- SFSI(this).css("background-position", "0px 0px")));
2273
- var s = SFSI(this).parent().find("input:checkbox:first");
2274
- if (s.is(":checked") && "cusotm-icon" == s.attr("element-type")) SFSI(".fileUPInput").attr("name", "custom_icons[]"),
2275
- SFSI(".upload-overlay").show("slow", function () {
2276
- e = 0;
2277
- }), SFSI("#upload_id").val(s.attr("name"));
2278
- else if (!s.is(":checked") && "cusotm-icon" == s.attr("element-type")) return s.attr("ele-type") ? (SFSI(this).attr("checked", !0),
2279
- SFSI(this).css("background-position", "0px -36px"), e = 0, !1) : confirm("Are you sure want to delete this Icon..?? ") ? "suc" == sfsi_delete_CusIcon(this, s) ? (s.attr("checked", !1),
2280
- SFSI(this).css("background-position", "0px 0px"), e = 0, !1) : (e = 0, !1) : (s.attr("checked", !0),
2281
- SFSI(this).css("background-position", "0px -36px"), e = 0, !1);
2282
- }),
2283
- SFSI(".icn_listing").on("click", ".checkbox", function () {
2284
- checked = SFSI(this).parent().find("input:checkbox:first"), "sfsi_email_display" != checked.attr("name") || checked.is(":checked") || SFSI(".demail-1").show("slow");
2285
- }),
2286
- SFSI("#deac_email2").on("click", function () {
2287
- SFSI(".demail-1").hide("slow"), SFSI(".demail-2").show("slow");
2288
- }),
2289
- SFSI("#deac_email3").on("click", function () {
2290
- SFSI(".demail-2").hide("slow"), SFSI(".demail-3").show("slow");
2291
- }),
2292
- SFSI(".hideemailpop").on("click", function () {
2293
- SFSI('input[name="sfsi_email_display"]').attr("checked", !0), SFSI('input[name="sfsi_email_display"]').parent().find("span:first").css("background-position", "0px -36px"),
2294
- SFSI(".demail-1").hide("slow"), SFSI(".demail-2").hide("slow"), SFSI(".demail-3").hide("slow");
2295
- }),
2296
- SFSI(".hidePop").on("click", function () {
2297
- SFSI(".demail-1").hide("slow"), SFSI(".demail-2").hide("slow"), SFSI(".demail-3").hide("slow");
2298
- }),
2299
- SFSI(".activate_footer").on("click", function () {
2300
- var nonce = SFSI(this).attr("data-nonce");
2301
- SFSI(this).text("activating....");
2302
- var s = {
2303
- action: "activateFooter",
2304
- nonce: nonce
2305
- };
2306
- SFSI.ajax({
2307
- url: sfsi_icon_ajax_object.ajax_url,
2308
- type: "post",
2309
- data: s,
2310
- dataType: "json",
2311
- success: function (s) {
2312
- if (s.res == "wrong_nonce") {
2313
- SFSI(".activate_footer").css("font-size", "18px");
2314
- SFSI(".activate_footer").text("Unauthorised Request, Try again after refreshing page");
2315
- } else {
2316
- "success" == s.res && (SFSI(".demail-1").hide("slow"), SFSI(".demail-2").hide("slow"),
2317
- SFSI(".demail-3").hide("slow"), SFSI(".activate_footer").text("Ok, activate link"));
2318
- }
2319
- }
2320
- });
2321
- }),
2322
- SFSI(".sfsi_removeFooter").on("click", function () {
2323
- var nonce = SFSI(this).attr("data-nonce");
2324
- SFSI(this).text("working....");
2325
- var s = {
2326
- action: "removeFooter",
2327
- nonce: nonce
2328
- };
2329
- SFSI.ajax({
2330
- url: sfsi_icon_ajax_object.ajax_url,
2331
- type: "post",
2332
- data: s,
2333
- dataType: "json",
2334
- success: function (s) {
2335
- if (s.res == "wrong_nonce") {
2336
- SFSI(".sfsi_removeFooter").text("Unauthorised Request, Try again after refreshing page");
2337
- } else {
2338
- "success" == s.res && (SFSI(".sfsi_removeFooter").fadeOut("slow"), SFSI(".sfsi_footerLnk").fadeOut("slow"));
2339
- }
2340
- }
2341
- });
2342
- }),
2343
- /*SFSI(".radio").live("click", function() {*/
2344
- SFSI(document).on("click", '.radio', function () {
2345
- var s = SFSI(this).parent().find("input:radio:first");
2346
- "sfsi_display_counts" == s.attr("name") && sfsi_show_counts();
2347
- }),
2348
- SFSI("#close_Uploadpopup").on("click", i), /*SFSI(".radio").live("click", function() {*/ SFSI(document).on("click", '.radio', function () {
2349
- var s = SFSI(this).parent().find("input:radio:first");
2350
- "sfsi_show_Onposts" == s.attr("name") && sfsi_show_OnpostsDisplay();
2351
- }),
2352
- sfsi_show_OnpostsDisplay(), sfsi_depened_sections(), sfsi_show_counts(), sfsi_showPreviewCounts(),
2353
- SFSI(".share_icon_order").sortable({
2354
- update: function () {
2355
- SFSI(".share_icon_order li").each(function () {
2356
- SFSI(this).attr("data-index", SFSI(this).index() + 1);
2357
- });
2358
- },
2359
- revert: !0
2360
- }),
2361
-
2362
- //*------------------------------- Sharing text & pcitures checkbox for showing section in Page, Post STARTS -------------------------------------//
2363
-
2364
- SFSI(document).on("click", '.checkbox', function () {
2365
-
2366
- var s = SFSI(this).parent().find("input:checkbox:first");
2367
- var backgroundPos = jQuery(this).css('background-position').split(" ");
2368
- var xPos = backgroundPos[0],
2369
- yPos = backgroundPos[1];
2370
-
2371
- var inputName = s.attr('name');
2372
- var inputChecked = s.attr("checked");
2373
-
2374
- switch (inputName) {
2375
-
2376
- case "sfsi_custom_social_hide":
2377
-
2378
- var val = (yPos == "0px") ? "no" : "yes";
2379
- SFSI('input[name="sfsi_custom_social_hide"]').val(val);
2380
-
2381
- break;
2382
-
2383
- case "sfsi_show_via_widget":
2384
- case "sfsi_show_via_widget":
2385
- case "sfsi_show_via_afterposts":
2386
- case "sfsi_custom_social_hide":
2387
-
2388
- var val = (yPos == "0px") ? "no" : "yes";
2389
- SFSI('input[name="' + s.attr('name') + '"]').val(val);
2390
-
2391
- break;
2392
-
2393
- case 'sfsi_mouseOver':
2394
-
2395
- var elem = SFSI('input[name="' + inputName + '"]');
2396
-
2397
- var togglelem = SFSI('.mouse-over-effects');
2398
-
2399
- if (inputChecked) {
2400
- togglelem.removeClass('hide').addClass('show');
2401
- } else {
2402
- togglelem.removeClass('show').addClass('hide');
2403
- }
2404
-
2405
- break;
2406
- case 'sfsi_responsive_facebook_display':
2407
- if(inputChecked){
2408
- SFSI('.sfsi_responsive_icon_facebook_container').parents('a').show();
2409
- var icon= inputName.replace('sfsi_responsive_','').replace('_display','');
2410
- if(SFSI('select[name="sfsi_responsive_icons_settings_icon_width_type"]').val()!=="Fully responsive"){
2411
- window.sfsi_fittext_shouldDisplay=true;
2412
- jQuery('.sfsi_responsive_icon_preview a').each(function(index,a_container){
2413
- if(jQuery(a_container).css('display')!=="none"){
2414
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
2415
- }
2416
- })
2417
- }
2418
- }else{
2419
-
2420
- SFSI('.sfsi_responsive_icon_facebook_container').parents('a').hide();
2421
- if(SFSI('select[name="sfsi_responsive_icons_settings_icon_width_type"]').val()!=="Fully responsive"){
2422
- window.sfsi_fittext_shouldDisplay=true;
2423
- jQuery('.sfsi_responsive_icon_preview a').each(function(index,a_container){
2424
- if(jQuery(a_container).css('display')!=="none"){
2425
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
2426
- }
2427
- })
2428
- }
2429
- }
2430
- break;
2431
- case 'sfsi_responsive_Twitter_display':
2432
- if(inputChecked){
2433
- SFSI('.sfsi_responsive_icon_twitter_container').parents('a').show();
2434
- var icon= inputName.replace('sfsi_responsive_','').replace('_display','');
2435
- if(SFSI('select[name="sfsi_responsive_icons_settings_icon_width_type"]').val()!=="Fully responsive"){
2436
- window.sfsi_fittext_shouldDisplay=true;
2437
- jQuery('.sfsi_responsive_icon_preview a').each(function(index,a_container){
2438
- if(jQuery(a_container).css('display')!=="none"){
2439
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
2440
- }
2441
- })
2442
- }
2443
- }else{
2444
- SFSI('.sfsi_responsive_icon_twitter_container').parents('a').hide();
2445
- if(SFSI('select[name="sfsi_responsive_icons_settings_icon_width_type"]').val()!=="Fully responsive"){
2446
- window.sfsi_fittext_shouldDisplay=true;
2447
- jQuery('.sfsi_responsive_icon_preview a').each(function(index,a_container){
2448
- if(jQuery(a_container).css('display')!=="none"){
2449
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
2450
- }
2451
- })
2452
- }
2453
- }
2454
- break;
2455
- case 'sfsi_responsive_Follow_display':
2456
- if(inputChecked){
2457
- SFSI('.sfsi_responsive_icon_follow_container').parents('a').show();
2458
- var icon= inputName.replace('sfsi_responsive_','').replace('_display','');
2459
- }else{
2460
- SFSI('.sfsi_responsive_icon_follow_container').parents('a').hide();
2461
- }
2462
- window.sfsi_fittext_shouldDisplay=true;
2463
- jQuery('.sfsi_responsive_icon_preview a').each(function(index,a_container){
2464
- if(jQuery(a_container).css('display')!=="none"){
2465
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
2466
- }
2467
- })
2468
- break;
2469
- }
2470
-
2471
- });
2472
-
2473
- //*------------------------------- Sharing text & pcitures checkbox for showing section in Page, Post CLOSES -------------------------------------//
2474
-
2475
- SFSI(document).on("click", '.radio', function () {
2476
-
2477
- var s = SFSI(this).parent().find("input:radio:first");
2478
-
2479
- switch (s.attr("name")) {
2480
-
2481
- case 'sfsi_mouseOver_effect_type':
2482
-
2483
- var _val = s.val();
2484
- var _name = s.attr("name");
2485
-
2486
- if ('same_icons' == _val) {
2487
- SFSI('.same_icons_effects').removeClass('hide').addClass('show');
2488
- SFSI('.other_icons_effects_options').removeClass('show').addClass('hide');
2489
- } else if ('other_icons' == _val) {
2490
- SFSI('.same_icons_effects').removeClass('show').addClass('hide');
2491
- SFSI('.other_icons_effects_options').removeClass('hide').addClass('show');
2492
- }
2493
-
2494
- break;
2495
- }
2496
-
2497
- });
2498
-
2499
- SFSI(document).on("click", '.radio', function () {
2500
-
2501
- var s = SFSI(this).parent().find("input:radio:first");
2502
- "sfsi_email_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_email_countsDisplay"]').prop("checked", !0),
2503
- SFSI('input[name="sfsi_email_countsDisplay"]').parent().find("span.checkbox").attr("style", "0px -36px;"),
2504
- "manual" == SFSI("input[name='sfsi_email_countsFrom']:checked").val() ? SFSI("input[name='sfsi_email_manualCounts']").slideDown() : SFSI("input[name='sfsi_email_manualCounts']").slideUp()),
2505
-
2506
- "sfsi_facebook_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_facebook_countsDisplay"]').prop("checked", !0),
2507
- SFSI('input[name="sfsi_facebook_countsDisplay"]').parent().find("span.checkbox").attr("style", "0px -36px;"),
2508
- "mypage" == SFSI("input[name='sfsi_facebook_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_facebook_mypageCounts']").slideDown(), SFSI(".sfsi_fbpgidwpr").slideDown()) : (SFSI("input[name='sfsi_facebook_mypageCounts']").slideUp(), SFSI(".sfsi_fbpgidwpr").slideUp()),
2509
-
2510
- "manual" == SFSI("input[name='sfsi_facebook_countsFrom']:checked").val() ? SFSI("input[name='sfsi_facebook_manualCounts']").slideDown() : SFSI("input[name='sfsi_facebook_manualCounts']").slideUp()),
2511
-
2512
- "sfsi_facebook_countsFrom" == s.attr("name") && (("mypage" == SFSI("input[name='sfsi_facebook_countsFrom']:checked").val() || "likes" == SFSI("input[name='sfsi_facebook_countsFrom']:checked").val()) ? (SFSI(".sfsi_facebook_pagedeasc").slideDown()) : (SFSI(".sfsi_facebook_pagedeasc").slideUp())),
2513
-
2514
- "sfsi_twitter_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_twitter_countsDisplay"]').prop("checked", !0),
2515
- SFSI('input[name="sfsi_twitter_countsDisplay"]').parent().find("span.checkbox").attr("style", "0px -36px;"),
2516
- "manual" == SFSI("input[name='sfsi_twitter_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_twitter_manualCounts']").slideDown(),
2517
- SFSI(".tw_follow_options").slideUp()) : (SFSI("input[name='sfsi_twitter_manualCounts']").slideUp(),
2518
- SFSI(".tw_follow_options").slideDown())),
2519
-
2520
-
2521
- "sfsi_linkedIn_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_linkedIn_countsDisplay"]').prop("checked", !0),
2522
- SFSI('input[name="sfsi_linkedIn_countsDisplay"]').parent().find("span.checkbox").attr("style", "0px -36px;"),
2523
- "manual" == SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_linkedIn_manualCounts']").slideDown(),
2524
- SFSI(".linkedIn_options").slideUp()) : (SFSI("input[name='sfsi_linkedIn_manualCounts']").slideUp(),
2525
- SFSI(".linkedIn_options").slideDown())),
2526
-
2527
- "sfsi_youtube_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_youtube_countsDisplay"]').prop("checked", !0),
2528
- SFSI('input[name="sfsi_youtube_countsDisplay"]').parent().find("span.checkbox").attr("style", "0px -36px;"),
2529
- "manual" == SFSI("input[name='sfsi_youtube_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_youtube_manualCounts']").slideDown(),
2530
- SFSI(".youtube_options").slideUp()) : (SFSI("input[name='sfsi_youtube_manualCounts']").slideUp(),
2531
- SFSI(".youtube_options").slideDown())), "sfsi_pinterest_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_pinterest_countsDisplay"]').prop("checked", !0),
2532
- SFSI('input[name="sfsi_pinterest_countsDisplay"]').parent().find("span.checkbox").attr("style", "0px -36px;"),
2533
- "manual" == SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_pinterest_manualCounts']").slideDown(),
2534
- SFSI(".pin_options").slideUp()) : SFSI("input[name='sfsi_pinterest_manualCounts']").slideUp()),
2535
-
2536
- "sfsi_instagram_countsFrom" == s.attr("name") && (SFSI('input[name="sfsi_instagram_countsDisplay"]').prop("checked", !0),
2537
- SFSI('input[name="sfsi_instagram_countsDisplay"]').parent().find("span.checkbox").attr("style", "0px -36px;"),
2538
- "manual" == SFSI("input[name='sfsi_instagram_countsFrom']:checked").val() ? (SFSI("input[name='sfsi_instagram_manualCounts']").slideDown(),
2539
- SFSI(".instagram_userLi").slideUp()) : (SFSI("input[name='sfsi_instagram_manualCounts']").slideUp(),
2540
- SFSI(".instagram_userLi").slideDown()));
2541
-
2542
- }),
2543
-
2544
- sfsi_make_popBox(),
2545
-
2546
- SFSI('input[name="sfsi_popup_text"] ,input[name="sfsi_popup_background_color"],input[name="sfsi_popup_border_color"],input[name="sfsi_popup_border_thickness"],input[name="sfsi_popup_fontSize"],input[name="sfsi_popup_fontColor"]').on("keyup", sfsi_make_popBox),
2547
- SFSI('input[name="sfsi_popup_text"] ,input[name="sfsi_popup_background_color"],input[name="sfsi_popup_border_color"],input[name="sfsi_popup_border_thickness"],input[name="sfsi_popup_fontSize"],input[name="sfsi_popup_fontColor"]').on("focus", sfsi_make_popBox),
2548
-
2549
- SFSI("#sfsi_popup_font ,#sfsi_popup_fontStyle").on("change", sfsi_make_popBox),
2550
-
2551
- /*SFSI(".radio").live("click", function(){*/
2552
- SFSI(document).on("click", '.radio', function () {
2553
-
2554
- var s = SFSI(this).parent().find("input:radio:first");
2555
-
2556
- if ("sfsi_icons_floatPosition" == s.attr("name")) {
2557
- SFSI('input[name="sfsi_icons_floatPosition"]').removeAttr("checked");
2558
- s.attr("checked", true);
2559
- }
2560
-
2561
- if ("sfsi_disable_floaticons" == s.attr("name")) {
2562
- SFSI('input[name="sfsi_disable_floaticons"]').removeAttr("checked");
2563
- s.attr("checked", true);
2564
- }
2565
-
2566
- "sfsi_popup_border_shadow" == s.attr("name") && sfsi_make_popBox();
2567
- }), /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? SFSI("img.sfsi_wicon").on("click", function (s) {
2568
- s.stopPropagation();
2569
- var i = SFSI("#sfsi_floater_sec").val();
2570
- SFSI("div.sfsi_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(),
2571
- SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index", "0"),
2572
- SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),
2573
- SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
2574
- "z-index": "999"
2575
- }), SFSI(this).attr("data-effect") && "fade_in" == SFSI(this).attr("data-effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2576
- opacity: 1,
2577
- "z-index": 10
2578
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "scale" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
2579
- SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2580
- opacity: 1,
2581
- "z-index": 10
2582
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "combo" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
2583
- SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2584
- opacity: 1,
2585
- "z-index": 10
2586
- })), ("top-left" == i || "top-right" == i) && SFSI(this).parent().parent().parent().parent("#sfsi_floater").length > 0 && "sfsi_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"),
2587
- SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),
2588
- SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2589
- opacity: 1,
2590
- "z-index": 10
2591
- }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()) : (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),
2592
- SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"),
2593
- SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2594
- opacity: 1,
2595
- "z-index": 1e3
2596
- }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show());
2597
- }) : SFSI("img.sfsi_wicon").on("mouseenter", function () {
2598
- var s = SFSI("#sfsi_floater_sec").val();
2599
- SFSI("div.sfsi_wicons").css("z-index", "0"), SFSI(this).parent().parent().parent().siblings("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide(),
2600
- SFSI(this).parent().parent().parent().parent().siblings("li").length > 0 && (SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_tool_tip_2").css("z-index", "0"),
2601
- SFSI(this).parent().parent().parent().parent().siblings("li").find("div.sfsi_wicons").find(".inerCnt").find("div.sfsi_tool_tip_2").hide()),
2602
- SFSI(this).parent().parent().parent().css("z-index", "1000000"), SFSI(this).parent().parent().css({
2603
- "z-index": "999"
2604
- }), SFSI(this).attr("data-effect") && "fade_in" == SFSI(this).attr("data-effect") && (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2605
- opacity: 1,
2606
- "z-index": 10
2607
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "scale" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
2608
- SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2609
- opacity: 1,
2610
- "z-index": 10
2611
- }), SFSI(this).parent().css("opacity", "1")), SFSI(this).attr("data-effect") && "combo" == SFSI(this).attr("data-effect") && (SFSI(this).parent().addClass("scale"),
2612
- SFSI(this).parent().css("opacity", "1"), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2613
- opacity: 1,
2614
- "z-index": 10
2615
- })), ("top-left" == s || "top-right" == s) && SFSI(this).parent().parent().parent().parent("#sfsi_floater").length > 0 && "sfsi_floater" == SFSI(this).parent().parent().parent().parent().attr("id") ? (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").addClass("sfsi_plc_btm"),
2616
- SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").addClass("top_big_arow"),
2617
- SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2618
- opacity: 1,
2619
- "z-index": 10
2620
- }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show()) : (SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").find("span.bot_arow").removeClass("top_big_arow"),
2621
- SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").removeClass("sfsi_plc_btm"),
2622
- SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").css({
2623
- opacity: 1,
2624
- "z-index": 10
2625
- }), SFSI(this).parentsUntil("div").siblings("div.sfsi_tool_tip_2").show());
2626
- }), SFSI("div.sfsi_wicons").on("mouseleave", function () {
2627
- SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && "fade_in" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"),
2628
- SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && "scale" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale"),
2629
- SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && "combo" == SFSI(this).children("div.inerCnt").children("a.sficn").attr("data-effect") && (SFSI(this).children("div.inerCnt").find("a.sficn").css("opacity", "0.6"),
2630
- SFSI(this).children("div.inerCnt").find("a.sficn").removeClass("scale")), SFSI(this).children(".inerCnt").find("div.sfsi_tool_tip_2").hide();
2631
- }), SFSI("body").on("click", function () {
2632
- SFSI(".inerCnt").find("div.sfsi_tool_tip_2").hide();
2633
- }), SFSI(".adminTooltip >a").on("hover", function () {
2634
- SFSI(this).offset().top, SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity", "1"),
2635
- SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").show();
2636
- }), SFSI(".adminTooltip").on("mouseleave", function () {
2637
- "none" != SFSI(".gpls_tool_bdr").css("display") && 0 != SFSI(".gpls_tool_bdr").css("opacity") ? SFSI(".pop_up_box ").on("click", function () {
2638
- SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity", "0"), SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide();
2639
- }) : (SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").css("opacity", "0"),
2640
- SFSI(this).parent("div").find("div.sfsi_tool_tip_2_inr").hide());
2641
- }), SFSI(".expand-area").on("click", function () {
2642
- "Read more" == SFSI(this).text() ? (SFSI(this).siblings("p").children("label").fadeIn("slow"),
2643
- SFSI(this).text("Collapse")) : (SFSI(this).siblings("p").children("label").fadeOut("slow"),
2644
- SFSI(this).text("Read more"));
2645
- }), /*SFSI(".radio").live("click", function() {*/ SFSI(document).on("click", '.radio', function () {
2646
-
2647
- var s = SFSI(this).parent().find("input:radio:first");
2648
-
2649
- "sfsi_icons_float" == s.attr("name") && "yes" == s.val() && (SFSI(".float_options").slideDown("slow"),
2650
-
2651
- SFSI('input[name="sfsi_icons_stick"][value="no"]').attr("checked", !0), SFSI('input[name="sfsi_icons_stick"][value="yes"]').removeAttr("checked"),
2652
- SFSI('input[name="sfsi_icons_stick"][value="no"]').parent().find("span").attr("style", "0px -41px;"),
2653
- SFSI('input[name="sfsi_icons_stick"][value="yes"]').parent().find("span").attr("style", "0px -0px;")),
2654
-
2655
- //("sfsi_icons_stick" == s.attr("name") && "yes" == s.val() || "sfsi_icons_float" == s.attr("name") && "no" == s.val()) && (SFSI(".float_options").slideUp("slow"),
2656
- ("sfsi_icons_stick" == s.attr("name") && "yes" == s.val()) && (SFSI(".float_options").slideUp("slow"),
2657
-
2658
- SFSI('input[name="sfsi_icons_float"][value="no"]').prop("checked", !0), SFSI('input[name="sfsi_icons_float"][value="yes"]').prop("checked", !1),
2659
- SFSI('input[name="sfsi_icons_float"][value="no"]').parent().find("span.radio").attr("style", "0px -41px;"),
2660
- SFSI('input[name="sfsi_icons_float"][value="yes"]').parent().find("span.radio").attr("style", "0px -0px;"));
2661
-
2662
- }),
2663
-
2664
- SFSI(".sfsi_wDiv").length > 0 && setTimeout(function () {
2665
- var s = parseInt(SFSI(".sfsi_wDiv").height()) + 0 + "px";
2666
- SFSI(".sfsi_holders").each(function () {
2667
- SFSI(this).css("height", s);
2668
- });
2669
- }, 200),
2670
- /*SFSI(".checkbox").live("click", function() {*/
2671
- SFSI(document).on("click", '.checkbox', function () {
2672
- var s = SFSI(this).parent().find("input:checkbox:first");
2673
- ("sfsi_shuffle_Firstload" == s.attr("name") && "checked" == s.attr("checked") || "sfsi_shuffle_interval" == s.attr("name") && "checked" == s.attr("checked")) && (SFSI('input[name="sfsi_shuffle_icons"]').parent().find("span").css("background-position", "0px -36px"),
2674
- SFSI('input[name="sfsi_shuffle_icons"]').attr("checked", "checked")), "sfsi_shuffle_icons" == s.attr("name") && "checked" != s.attr("checked") && (SFSI('input[name="sfsi_shuffle_Firstload"]').removeAttr("checked"),
2675
- SFSI('input[name="sfsi_shuffle_Firstload"]').parent().find("span").css("background-position", "0px 0px"),
2676
- SFSI('input[name="sfsi_shuffle_interval"]').removeAttr("checked"), SFSI('input[name="sfsi_shuffle_interval"]').parent().find("span").css("background-position", "0px 0px"));
2677
- });
2678
-
2679
- SFSI("body").on("click", "#sfsi_getMeFullAccess", function () {
2680
- var email = SFSI(this).parents("form").find("input[type='email']").val();
2681
- var feedid = SFSI(this).parents("form").find("input[name='feed_id']").val();
2682
- var error = false;
2683
- var regEx = /^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
2684
-
2685
- if (email === '') {
2686
- error = true;
2687
- }
2688
-
2689
- if (!regEx.test(email)) {
2690
- error = true;
2691
- }
2692
-
2693
- if (!error) {
2694
- // console.log("feedid",feedid);
2695
- if (feedid=="" || undefined==feedid){
2696
- var nonce = SFSI(this).attr('data-nonce-fetch-feed-id');
2697
- e = {
2698
- action: "sfsi_get_feed_id",
2699
- nonce: nonce,
2700
- };
2701
- SFSI.ajax({
2702
- url: sfsi_icon_ajax_object.ajax_url,
2703
- type: "post",
2704
- data: e,
2705
- dataType: "json",
2706
- async: !0,
2707
- success: function (s) {
2708
- if (s.res == "wrong_nonce") {
2709
- alert("Error: Unauthorised Request, Try again after refreshing page.");
2710
- } else {
2711
- if("success" == s.res){
2712
- var feedid = s.feed_id;
2713
- if(feedid=="" || null == feedid){
2714
- alert("Error: Claiming didn't work. Please try again later.")
2715
- }else{
2716
- jQuery('#calimingOptimizationForm input[name="feed_id"]').val(feedid);
2717
- // console.log("feedid",feedid,SFSI("#calimingOptimizationForm input[name='feed_id']"),SFSI('#calimingOptimizationForm input[name="feedid"]').val());
2718
- SFSI('#calimingOptimizationForm').submit();
2719
- }
2720
- }else{
2721
- if("failed"==s.res){
2722
- alert("Error: "+s.message+".");
2723
-
2724
- }else{
2725
- alert("Error: Please try again.");
2726
- }
2727
- }
2728
- }
2729
- }
2730
- });
2731
- }else{
2732
- SFSI(this).parents("form").submit();
2733
- }
2734
- } else {
2735
- alert("Error: Please provide your email address.");
2736
- }
2737
- });
2738
-
2739
- SFSI('form#calimingOptimizationForm').on('keypress', function (e) {
2740
- var keyCode = e.keyCode || e.which;
2741
- if (keyCode === 13) {
2742
- e.preventDefault();
2743
- return false;
2744
- }
2745
- });
2746
-
2747
- /*SFSI(".checkbox").live("click", function()
2748
- {
2749
- var s = SFSI(this).parent().find("input:checkbox:first");
2750
- "float_on_page" == s.attr("name") && "yes" == s.val() && (
2751
- SFSI('input[name="sfsi_icons_stick"][value="no"]').attr("checked", !0), SFSI('input[name="sfsi_icons_stick"][value="yes"]').removeAttr("checked"),
2752
- SFSI('input[name="sfsi_icons_stick"][value="no"]').parent().find("span").attr("style", "0px -41px;"),
2753
- SFSI('input[name="sfsi_icons_stick"][value="yes"]').parent().find("span").attr("style", "0px -0px;"));
2754
- });
2755
- SFSI(".radio").live("click", function()
2756
- {
2757
- var s = SFSI(this).parent().find("input:radio:first");
2758
- var a = SFSI(".cstmfltonpgstck");
2759
- ("sfsi_icons_stick" == s.attr("name") && "yes" == s.val()) && (
2760
- SFSI('input[name="float_on_page"][value="no"]').prop("checked", !0), SFSI('input[name="float_on_page"][value="yes"]').prop("checked", !1),
2761
- SFSI('input[name="float_on_page"][value="no"]').parent().find("span.checkbox").attr("style", "0px -41px;"),
2762
- SFSI('input[name="float_on_page"][value="yes"]').parent().find("span.checkbox").attr("style", "0px -0px;"),
2763
- jQuery(a).children(".checkbox").css("background-position", "0px 0px" ), toggleflotpage(a));
2764
- });*/
2765
- window.sfsi_initialization_checkbox_count = 0;
2766
- window.sfsi_initialization_checkbox = setInterval(function () {
2767
- // console.log(jQuery('.radio_section.tb_4_ck>span.checkbox').length,jQuery('.radio_section.tb_4_ck>input.styled').length);
2768
- if (jQuery('.radio_section.tb_4_ck>span.checkbox').length < jQuery('.radio_section.tb_4_ck>input.styled').length) {
2769
- window.sfsi_initialization_checkbox_count++;
2770
- // console.log('not initialized',window.sfsi_initialization_checkbox_count);
2771
- if (window.sfsi_initialization_checkbox_count > 12) {
2772
- // alert('Some script from diffrent plugin is interfearing with "Ultimate Social Icons" js files and checkbox couldn\'t be initialized. ');
2773
- // window.clearInterval(window.sfsi_initialization_checkbox);
2774
- }
2775
- } else {
2776
- // console.log('all initialized',window.sfsi_initialization_checkbox_count);
2777
- window.clearInterval(window.sfsi_initialization_checkbox);
2778
- }
2779
- }, 1000);
2780
- sfsi_responsive_icon_intraction_handler();
2781
-
2782
- });
2783
-
2784
- //for utube channel name and id
2785
- function showhideutube(ref) {
2786
- var chnlslctn = SFSI(ref).children("input").val();
2787
- if (chnlslctn == "name") {
2788
- SFSI(ref).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideDown();
2789
- SFSI(ref).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideUp();
2790
- } else {
2791
- SFSI(ref).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlidwpr").slideDown();
2792
- SFSI(ref).parent(".enough_waffling").next(".cstmutbtxtwpr").children(".cstmutbchnlnmewpr").slideUp();
2793
- }
2794
- }
2795
-
2796
- function checkforinfoslction(ref) {
2797
- var pos = jQuery(ref).children(".checkbox").css("background-position");
2798
-
2799
- var rightInfoClass = jQuery(ref).next().attr('class');
2800
-
2801
- var rightInfoPElem = jQuery(ref).next("." + rightInfoClass).children("p").first();
2802
-
2803
- var elemName = 'label';
2804
-
2805
- if (pos == "0px 0px") {
2806
- rightInfoPElem.children(elemName).hide();
2807
- } else {
2808
- rightInfoPElem.children(elemName).show();
2809
- }
2810
- }
2811
-
2812
- function checkforinfoslction_checkbox(ref) {
2813
-
2814
- var pos = jQuery(ref).children(".checkbox").css("background-position");
2815
-
2816
- var elem = jQuery(ref).parent().children('.sfsi_right_info').find('.kckslctn');
2817
-
2818
- if (pos == "0px 0px") {
2819
- elem.hide();
2820
- } else {
2821
- elem.show();
2822
- }
2823
- }
2824
-
2825
- function sfsi_toggleflotpage_que3(ref) {
2826
- var pos = jQuery(ref).children(".checkbox").css("background-position");
2827
- if (pos == "0px 0px") {
2828
- jQuery(ref).next(".sfsi_right_info").hide();
2829
-
2830
- } else {
2831
- jQuery(ref).next(".sfsi_right_info").show();
2832
- }
2833
- }
2834
-
2835
- var initTop = new Array();
2836
-
2837
- SFSI('.sfsi_navigate_to_question7').on("click", function () {
2838
-
2839
- var elem = SFSI('#ui-id-6');
2840
-
2841
- if (elem.hasClass('accordion-content-active')) {
2842
-
2843
- // Cloase tab of Question 3
2844
- elem.find('.sfsiColbtn').trigger('click');
2845
-
2846
- // Open tab of Question 7
2847
- if (!SFSI('#ui-id-14').hasClass('accordion-content-active')) {
2848
- SFSI('#ui-id-13').trigger('click');
2849
- }
2850
-
2851
- var pos = SFSI("#ui-id-13").offset();
2852
- var scrollToPos = pos.top - SFSI(window).height() * 0.99 + 30;
2853
- SFSI('html,body').animate({
2854
- scrollTop: scrollToPos
2855
- }, 500);
2856
- }
2857
- });
2858
-
2859
- SFSI("body").on("click", ".sfsi_tokenGenerateButton a", function () {
2860
- var clienId = SFSI("input[name='sfsi_instagram_clientid']").val();
2861
- var redirectUrl = SFSI("input[name='sfsi_instagram_appurl']").val();
2862
-
2863
- var scope = "basic";
2864
- var instaUrl = "https://www.instagram.com/oauth/authorize/?client_id=<id>&redirect_uri=<url>&response_type=token&scope=" + scope;
2865
-
2866
- if (clienId !== '' && redirectUrl !== '') {
2867
- instaUrl = instaUrl.replace('<id>', clienId);
2868
- instaUrl = instaUrl.replace('<url>', redirectUrl);
2869
-
2870
- window.open(instaUrl, '_blank');
2871
- } else {
2872
- alert("Please enter client id and redirect url first");
2873
- }
2874
-
2875
- });
2876
- SFSI(document).ready(function () {
2877
-
2878
- SFSI('#sfsi_jivo_offline_chat .tab-link').click(function () {
2879
- var cur = SFSI(this);
2880
- if (!cur.hasClass('active')) {
2881
- var target = cur.find('a').attr('href');
2882
- cur.parent().children().removeClass('active');
2883
- cur.addClass('active');
2884
- SFSI('#sfsi_jivo_offline_chat .tabs').children().hide();
2885
- SFSI(target).show();
2886
- }
2887
- });
2888
- SFSI('#sfsi_jivo_offline_chat #sfsi_sales form').submit(function (event) {
2889
- event & event.preventDefault();
2890
- // console.log(event);
2891
- var target = SFSI(this).parents('.tab-content');
2892
- var message = SFSI(this).find('textarea[name="question"]').val();
2893
- var email = SFSI(this).find('input[name="email"]').val();
2894
- var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
2895
- var nonce = SFSI(this).find('input[name="nonce"]').val();
2896
-
2897
- if ("" === email || false === re.test(String(email).toLowerCase())) {
2898
- // console.log(SFSI(this).find('input[name="email"]'));
2899
- SFSI(this).find('input[name="email"]').css('background-color', 'red');
2900
- SFSI(this).find('input[name="email"]').on('keyup', function () {
2901
- var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
2902
- var email = SFSI(this).val();
2903
- // console.log(email,re.test(String(email).toLowerCase()) );
2904
- if ("" !== email && true === re.test(String(email).toLowerCase())) {
2905
- SFSI(this).css('background-color', '#fff');
2906
- }
2907
- })
2908
- return false;
2909
-
2910
- }
2911
- SFSI.ajax({
2912
- url: sfsi_icon_ajax_object.ajax_url,
2913
- type: "post",
2914
- data: {
2915
- action: "sfsiOfflineChatMessage",
2916
- message: message,
2917
- email: email,
2918
- 'nonce': nonce
2919
- }
2920
- }).done(function () {
2921
- target.find('.before_message_sent').hide();
2922
- target.find('.after_message_sent').show();
2923
- });
2924
- })
2925
- });
2926
-
2927
- function sfsi_close_offline_chat(e) {
2928
- e && e.preventDefault();
2929
-
2930
- SFSI('#sfsi_jivo_offline_chat').hide();
2931
- SFSI('#sfsi_dummy_chat_icon').show();
2932
- }
2933
-
2934
- function sfsi_open_quick_checkout(e) {
2935
- e && e.preventDefault();
2936
- // console.log(jQuery('.sfsi_quick-pay-box'));
2937
- jQuery('.sfsi_quick-pay-box').show();
2938
- }
2939
-
2940
- function sfsi_close_quickpay(e) {
2941
- e && e.preventDefault();
2942
- jQuery('.sfsi_quickpay-overlay').hide();
2943
- }
2944
-
2945
- function sfsi_quickpay_container_click(event) {
2946
- if (jQuery(event.target).hasClass('sellcodes-quick-purchase')) {
2947
- jQuery(jQuery(event.target).find('p.sc-button img')[0]).click();
2948
- }
2949
- }
2950
-
2951
-
2952
-
2953
- // <------------------------* Responsive icon *----------------------->
2954
-
2955
- function sfsi_responsive_icon_intraction_handler() {
2956
- window.sfsi_fittext_shouldDisplay = true;
2957
- SFSI('select[name="sfsi_responsive_icons_settings_edge_type"]').on('change', function () {
2958
- $target_div = (SFSI(this).parent());
2959
- if (SFSI(this).val() === "Round") {
2960
- // console.log('Round', 'Round', SFSI(this).val());
2961
-
2962
- $target_div.parent().children().css('display', 'inline-block');
2963
- $target_div.parent().next().css("display","inline-block");
2964
- var radius = jQuery('select[name="sfsi_responsive_icons_settings_edge_radius"]').val() + 'px'
2965
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container,.sfsi_responsive_icon_preview .sfsi_responsive_icons_count').css('border-radius', radius);
2966
-
2967
- } else {
2968
- // console.log('sharp', 'sharp', SFSI(this).val(), $target_div.parent().children(), $target_div.parent().children().hide());
2969
-
2970
- $target_div.parent().children().hide();
2971
- $target_div.show();
2972
- $target_div.parent().next().hide();
2973
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container,.sfsi_responsive_icon_preview .sfsi_responsive_icons_count').css('border-radius', 'unset');
2974
-
2975
- }
2976
- });
2977
- SFSI('select[name="sfsi_responsive_icons_settings_icon_width_type"]').on('change', function () {
2978
- $target_div = (SFSI(this).parent());
2979
- if (SFSI(this).val() === "Fixed icon width") {
2980
- $target_div.parent().children().css('display', 'inline-block');
2981
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').css('width', 'auto').css('display', 'flex');
2982
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container a').css('flex-basis', 'unset');
2983
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container').css('width', jQuery('input[name="sfsi_responsive_icons_sttings_icon_width_size"]').val());
2984
-
2985
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container_box_fully_container').removeClass('sfsi_icons_container_box_fully_container').addClass('sfsi_icons_container_box_fixed_container');
2986
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container_box_fixed_container').removeClass('sfsi_icons_container_box_fully_container').addClass('sfsi_icons_container_box_fixed_container');
2987
- window.sfsi_fittext_shouldDisplay = true;
2988
- jQuery('.sfsi_responsive_icon_preview a').each(function (index, a_container) {
2989
- if (jQuery(a_container).css('display') !== "none") {
2990
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
2991
- }
2992
- })
2993
- } else {
2994
- $target_div.parent().children().hide();
2995
- $target_div.show();
2996
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').css('width', '100%').css('display', 'flex');
2997
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container a').css('flex-basis', '100%');
2998
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container').css('width', '100%');
2999
-
3000
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container_box_fixed_container').removeClass('sfsi_icons_container_box_fixed_container').addClass('sfsi_icons_container_box_fully_container');
3001
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container_box_fully_container').removeClass('sfsi_icons_container_box_fixed_container').addClass('sfsi_icons_container_box_fully_container');
3002
- window.sfsi_fittext_shouldDisplay = true;
3003
- jQuery('.sfsi_responsive_icon_preview a').each(function (index, a_container) {
3004
- if (jQuery(a_container).css('display') !== "none") {
3005
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
3006
- }
3007
- })
3008
- }
3009
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icons_count').removeClass('sfsi_fixed_count_container').removeClass('sfsi_responsive_count_container').addClass('sfsi_' + (jQuery(this).val() == "Fully responsive" ? 'responsive' : 'fixed') + '_count_container')
3010
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container>a').removeClass('sfsi_responsive_fluid').removeClass('sfsi_responsive_fixed_width').addClass('sfsi_responsive_' + (jQuery(this).val() == "Fully responsive" ? 'fluid' : 'fixed_width'))
3011
- sfsi_resize_icons_container();
3012
-
3013
- })
3014
- jQuery(document).on('keyup', 'input[name="sfsi_responsive_icons_sttings_icon_width_size"]', function () {
3015
- if (SFSI('select[name="sfsi_responsive_icons_settings_icon_width_type"]').val() === "Fixed icon width") {
3016
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container').css('width', jQuery(this).val() + 'px');
3017
- window.sfsi_fittext_shouldDisplay = true;
3018
- jQuery('.sfsi_responsive_icon_preview a').each(function (index, a_container) {
3019
- if (jQuery(a_container).css('display') !== "none") {
3020
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
3021
- }
3022
- })
3023
- }
3024
- sfsi_resize_icons_container();
3025
- });
3026
- jQuery(document).on('change', 'input[name="sfsi_responsive_icons_sttings_icon_width_size"]', function () {
3027
- if (SFSI('select[name="sfsi_responsive_icons_settings_icon_width_type"]').val() === "Fixed icon width") {
3028
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container').css('width', jQuery(this).val() + 'px');
3029
- }
3030
- });
3031
- jQuery(document).on('keyup', 'input[name="sfsi_responsive_icons_settings_margin"]', function () {
3032
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container a,.sfsi_responsive_icon_preview .sfsi_responsive_icons_count').css('margin-right', jQuery(this).val() + 'px');
3033
- });
3034
- jQuery(document).on('change', 'input[name="sfsi_responsive_icons_settings_margin"]', function () {
3035
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container a,.sfsi_responsive_icon_preview .sfsi_responsive_icons_count').css('margin-right', jQuery(this).val() + 'px');
3036
- // jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').css('width',(jQuery('.sfsi_responsive_icons').width()-(jQuery('.sfsi_responsive_icons_count').width()+jQuery(this).val()))+'px');
3037
-
3038
- });
3039
- jQuery(document).on('change', 'select[name="sfsi_responsive_icons_settings_text_align"]', function () {
3040
- if (jQuery(this).val() === "Centered") {
3041
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container a').css('text-align', 'center');
3042
- } else {
3043
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container a').css('text-align', 'left');
3044
- }
3045
- });
3046
- jQuery('.sfsi_responsive_default_icon_container input.sfsi_responsive_input').on('keyup', function () {
3047
- jQuery(this).parent().find('.sfsi_responsive_icon_item_container').find('span').text(jQuery(this).val());
3048
- var iconName = jQuery(this).attr('name');
3049
- var icon = iconName.replace('sfsi_responsive_', '').replace('_input', '');
3050
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_' + (icon.toLowerCase()) + '_container span').text(jQuery(this).val());
3051
- window.sfsi_fittext_shouldDisplay = true;
3052
- jQuery('.sfsi_responsive_icon_preview a').each(function (index, a_container) {
3053
- if (jQuery(a_container).css('display') !== "none") {
3054
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
3055
- }
3056
- })
3057
- sfsi_resize_icons_container();
3058
- })
3059
- jQuery('.sfsi_responsive_custom_icon_container input.sfsi_responsive_input').on('keyup', function () {
3060
- jQuery(this).parent().find('.sfsi_responsive_icon_item_container').find('span').text(jQuery(this).val());
3061
- var iconName = jQuery(this).attr('name');
3062
- var icon = iconName.replace('sfsi_responsive_custom_', '').replace('_input', '');
3063
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_' + icon + '_container span').text(jQuery(this).val())
3064
- window.sfsi_fittext_shouldDisplay = true;
3065
- jQuery('.sfsi_responsive_icon_preview a').each(function (index, a_container) {
3066
- if (jQuery(a_container).css('display') !== "none") {
3067
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
3068
- }
3069
- })
3070
- sfsi_resize_icons_container();
3071
-
3072
- })
3073
-
3074
- jQuery('.sfsi_responsive_default_url_toggler').click(function (event) {
3075
-
3076
- event.preventDefault();
3077
- sfsi_responsive_open_url(event);
3078
- });
3079
- jQuery('.sfsi_responsive_default_url_toggler').click(function (event) {
3080
- event.preventDefault();
3081
- sfsi_responsive_open_url(event);
3082
- })
3083
- jQuery('.sfsi_responsive_custom_url_hide, .sfsi_responsive_default_url_hide').click(function (event) {
3084
- event.preventDefault();
3085
- /* console.log(event,jQuery(event.target)); */
3086
- jQuery(event.target).parent().parent().find('.sfsi_responsive_custom_url_hide').hide();
3087
- jQuery(event.target).parent().parent().find('.sfsi_responsive_url_input').hide();
3088
- jQuery(event.target).parent().parent().find('.sfsi_responsive_default_url_hide').hide();
3089
- jQuery(event.target).parent().parent().find('.sfsi_responsive_default_url_toggler').show();
3090
- });
3091
- jQuery('select[name="sfsi_responsive_icons_settings_icon_size"]').change(function (event) {
3092
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container,.sfsi_responsive_icon_preview .sfsi_responsive_icons_count').removeClass('sfsi_small_button').removeClass('sfsi_medium_button').removeClass('sfsi_large_button').addClass('sfsi_' + (jQuery(this).val().toLowerCase()) + '_button');
3093
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').removeClass('sfsi_small_button_container').removeClass('sfsi_medium_button_container').removeClass('sfsi_large_button_container').addClass('sfsi_' + (jQuery(this).val().toLowerCase()) + '_button_container')
3094
- })
3095
- jQuery(document).on('change', 'select[name="sfsi_responsive_icons_settings_edge_radius"]', function (event) {
3096
- var radius = jQuery(this).val() + 'px'
3097
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container,.sfsi_responsive_icon_preview .sfsi_responsive_icons_count').css('border-radius', radius);
3098
-
3099
- });
3100
- jQuery(document).on('change', 'select[name="sfsi_responsive_icons_settings_style"]', function (event) {
3101
- if ('Flat' === jQuery(this).val()) {
3102
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container').removeClass('sfsi_responsive_icon_gradient');
3103
- } else {
3104
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container').addClass('sfsi_responsive_icon_gradient');
3105
- }
3106
- });
3107
- jQuery(document).on('mouseenter', '.sfsi_responsive_icon_preview .sfsi_icons_container a', function () {
3108
- jQuery(this).css('opacity', 0.8);
3109
- })
3110
- jQuery(document).on('mouseleave', '.sfsi_responsive_icon_preview .sfsi_icons_container a', function () {
3111
- jQuery(this).css('opacity', 1);
3112
- })
3113
- window.sfsi_fittext_shouldDisplay = true;
3114
- jQuery('.sfsi_responsive_icon_preview a').each(function (index, a_container) {
3115
- if (jQuery(a_container).css('display') !== "none") {
3116
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
3117
- }
3118
- })
3119
- sfsi_resize_icons_container();
3120
- jQuery('.ui-accordion-header.ui-state-default.ui-accordion-icons').click(function (data) {
3121
- window.sfsi_fittext_shouldDisplay = true;
3122
- jQuery('.sfsi_responsive_icon_preview a').each(function (index, a_container) {
3123
- if (jQuery(a_container).css('display') !== "none") {
3124
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
3125
- }
3126
- })
3127
- sfsi_resize_icons_container();
3128
- });
3129
- jQuery('select[name="sfsi_responsive_icons_settings_text_align"]').change(function (event) {
3130
- var data = jQuery(event.target).val();
3131
- if (data == "Centered") {
3132
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container').removeClass('sfsi_left-align_icon').addClass('sfsi_centered_icon');
3133
- } else {
3134
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container').removeClass('sfsi_centered_icon').addClass('sfsi_left-align_icon');
3135
- }
3136
- });
3137
- jQuery('a.sfsi_responsive_custom_delete_btn').click(function (event) {
3138
- event.preventDefault();
3139
- var icon_num = jQuery(this).attr('data-id');
3140
- //reset the current block;
3141
- // var last_block = jQuery('.sfsi_responsive_custom_icon_4_container').clone();
3142
- var cur_block = jQuery('.sfsi_responsive_custom_icon_' + icon_num + '_container');
3143
- cur_block.find('.sfsi_responsive_custom_delete_btn').hide();
3144
- cur_block.find('input[name="sfsi_responsive_custom_' + icon_num + '_added"]').val('no');
3145
- cur_block.find('.sfsi_responsive_custom_' + icon_num + '_added').attr('value', 'no');
3146
- cur_block.find('.radio_section.tb_4_ck .checkbox').click();
3147
- cur_block.hide();
3148
-
3149
-
3150
- if (icon_num > 0) {
3151
- var prev_block = jQuery('.sfsi_responsive_custom_icon_' + (icon_num - 1) + '_container');
3152
- prev_block.find('.sfsi_responsive_custom_delete_btn').show();
3153
- }
3154
- // jQuery('.sfsi_responsive_custom_icon_container').each(function(index,custom_icon){
3155
- // var target= jQuery(custom_icon);
3156
- // target.find('.sfsi_responsive_custom_delete_btn');
3157
- // var custom_id = target.find('.sfsi_responsive_custom_delete_btn').attr('data-id');
3158
- // if(custom_id>icon_num){
3159
- // target.removeClass('sfsi_responsive_custom_icon_'+custom_id+'_container').addClass('sfsi_responsive_custom_icon_'+(custom_id-1)+'_container');
3160
- // target.find('input[name="sfsi_responsive_custom_'+custom_id+'_added"]').attr('name',"sfsi_responsive_custom_"+(custom_id-1)+"_added");
3161
- // target.find('#sfsi_responsive_'+custom_id+'_display').removeClass('sfsi_responsive_custom_'+custom_id+'_display').addClass('sfsi_responsive_custom_'+(custom_id-1)+'_display').attr('id','sfsi_responsive_'+(custom_id-1)+'_display').attr('name','sfsi_responsive_custom_'+(custom_id-1)+'_display').attr('data-custom-index',(custom_id-1));
3162
- // target.find('.sfsi_responsive_icon_item_container').removeClass('sfsi_responsive_icon_custom_'+custom_id+'_container').addClass('sfsi_responsive_icon_custom_'+(custom_id-1)+'_container');
3163
- // target.find('.sfsi_responsive_input').attr('name','sfsi_responsive_custom_'+(custom_id-1)+'_input');
3164
- // target.find('.sfsi_responsive_url_input').attr('name','sfsi_responsive_custom_'+(custom_id-1)+'_url_input');
3165
- // target.find('.sfsi_bg-color-picker').attr('name','sfsi_responsive_icon_'+(custom_id-1)+'_bg_color');
3166
- // target.find('.sfsi_logo_upload sfsi_logo_custom_'+custom_id+'_upload').removeClass('sfsi_logo_upload sfsi_logo_custom_'+custom_id+'_upload').addClass('sfsi_logo_upload sfsi_logo_custom_'+(custom_id-1)+'_upload');
3167
- // target.find('input[type="sfsi_responsive_icons_custom_'+custom_id+'_icon"]').attr('name','input[type="sfsi_responsive_icons_custom_'+(custom_id-1)+'_icon"]');
3168
- // target.find('.sfsi_responsive_custom_delete_btn').attr('data-id',''+(custom_id-1));
3169
- // }
3170
- // });
3171
- // // sfsi_backend_section_beforeafter_set_fixed_width();
3172
- // // jQuery(window).on('resize',sfsi_backend_section_beforeafter_set_fixed_width);
3173
- // var new_block=jQuery('.sfsi_responsive_custom_icon_container').clone();
3174
- // jQuery('.sfsi_responsive_custom_icon_container').remove();
3175
- // jQuery('.sfsi_responsive_default_icon_container').parent().append(last_block).append();
3176
- // jQuery('.sfsi_responsive_default_icon_container').parent().append(new_block);
3177
- // return false;
3178
- })
3179
- }
3180
-
3181
- function sfsi_responsive_icon_counter_tgl(hide, show, ref = null) {
3182
- if (null !== hide && '' !== hide) {
3183
- jQuery('.' + hide).hide();
3184
- }
3185
- if (null !== show && '' !== show) {
3186
- jQuery('.' + show).show();
3187
- }
3188
- }
3189
-
3190
- function sfsi_responsive_toggle_count() {
3191
- var data = jQuery('input[name="sfsi_share_count"]:checked').val();
3192
- var data2 = jQuery('input[name="sfsi_display_counts"]:checked').val();
3193
- /* console.log('toggleer ',data,data2); */
3194
- if (data2 == "yes" && 'yes' == data) {
3195
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icons_count').css('display', 'inline-block');
3196
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').removeClass('sfsi_responsive_without_counter_icons').addClass('sfsi_responsive_with_counter_icons');
3197
- sfsi_resize_icons_container();
3198
- } else {
3199
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icons_count').css('display', 'none');
3200
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').removeClass('sfsi_responsive_with_counter_icons').addClass('sfsi_responsive_without_counter_icons');
3201
- sfsi_resize_icons_container();
3202
- }
3203
- }
3204
-
3205
- function sfsi_responsive_open_url(event) {
3206
- jQuery(event.target).parent().find('.sfsi_responsive_custom_url_hide').show();
3207
- jQuery(event.target).parent().find('.sfsi_responsive_default_url_hide').show();
3208
- jQuery(event.target).parent().find('.sfsi_responsive_url_input').show();
3209
- jQuery(event.target).hide();
3210
- }
3211
-
3212
- function sfsi_responsive_icon_hide_responsive_options() {
3213
- jQuery('.sfsi_PostsSettings_section').show();
3214
- jQuery('.sfsi_choose_post_types_section').show();
3215
- jQuery('.sfsi_not_responsive').show();
3216
- // jQuery('.sfsi_icn_listing8.sfsi_closerli').hide();
3217
- }
3218
-
3219
- function sfsi_responsive_icon_show_responsive_options() {
3220
- jQuery('.sfsi_PostsSettings_section').hide();
3221
- // jQuery('.sfsi_PostsSettings_section').show();
3222
- jQuery('.sfsi_choose_post_types_section').hide();
3223
- jQuery('.sfsi_not_responsive').hide();
3224
- window.sfsi_fittext_shouldDisplay = true;
3225
- jQuery('.sfsi_responsive_icon_preview a').each(function (index, a_container) {
3226
- if (jQuery(a_container).css('display') !== "none") {
3227
- sfsi_fitText(jQuery(a_container).find('.sfsi_responsive_icon_item_container'));
3228
- }
3229
- })
3230
- sfsi_resize_icons_container();
3231
- }
3232
-
3233
- function sfsi_scroll_to_div(option_id, scroll_selector) {
3234
- jQuery('#' + option_id + '.ui-accordion-header[aria-selected="false"]').click() //opened the option
3235
- //scroll to it.
3236
- if (scroll_selector && scroll_selector !== '') {
3237
- scroll_selector = scroll_selector;
3238
- } else {
3239
- scroll_selector = '#' + option_id + '.ui-accordion-header';
3240
- }
3241
- jQuery('html, body').stop().animate({
3242
- scrollTop: jQuery(scroll_selector).offset().top
3243
- }, 1000);
3244
- }
3245
-
3246
- function sfsi_fitText(container) {
3247
- /* console.log(container,container.parent().parent(),container.parent().parent().hasClass('sfsi_icons_container_box_fixed_container')); */
3248
- if (container.parent().parent().hasClass('sfsi_icons_container_box_fixed_container')) {
3249
- /* console.log(window.sfsi_fittext_shouldDisplay); */
3250
- if (window.sfsi_fittext_shouldDisplay === true) {
3251
- if (jQuery('select[name="sfsi_responsive_icons_settings_icon_width_type"]').val() == "Fully responsive") {
3252
- var all_icon_width = jQuery('.sfsi_responsive_icons .sfsi_icons_container').width();
3253
- var total_active_icons = jQuery('.sfsi_responsive_icons .sfsi_icons_container a').filter(function (i, icon) {
3254
- return jQuery(icon).css('display') && (jQuery(icon).css('display').toLowerCase() !== "none");
3255
- }).length;
3256
-
3257
- var distance_between_icon = jQuery('input[name="sfsi_responsive_icons_settings_margin"]').val()
3258
- var container_width = ((all_icon_width - distance_between_icon) / total_active_icons) - 5;
3259
- container_width = (container_width - distance_between_icon);
3260
- } else {
3261
- var container_width = container.width();
3262
- }
3263
- // var container_img_width = container.find('img').width();
3264
- var container_img_width = 70;
3265
- // var span=container.find('span').clone();
3266
- var span = container.find('span');
3267
- // var span_original_width = container.find('span').width();
3268
- var span_original_width = container_width - (container_img_width)
3269
- span
3270
- // .css('display','inline-block')
3271
- .css('white-space', 'nowrap')
3272
- // .css('width','auto')
3273
- ;
3274
- var span_flatted_width = span.width();
3275
- if (span_flatted_width == 0) {
3276
- span_flatted_width = span_original_width;
3277
- }
3278
- span
3279
- // .css('display','inline-block')
3280
- .css('white-space', 'unset')
3281
- // .css('width','auto')
3282
- ;
3283
- var shouldDisplay = ((undefined === window.sfsi_fittext_shouldDisplay) ? true : window.sfsi_fittext_shouldDisplay = true);
3284
- var fontSize = parseInt(span.css('font-size'));
3285
-
3286
- if (6 > fontSize) {
3287
- fontSize = 20;
3288
- }
3289
-
3290
- var computed_fontSize = (Math.floor((fontSize * span_original_width) / span_flatted_width));
3291
-
3292
- if (computed_fontSize < 8) {
3293
- shouldDisplay = false;
3294
- window.sfsi_fittext_shouldDisplay = false;
3295
- computed_fontSize = 20;
3296
- }
3297
- span.css('font-size', Math.min(computed_fontSize, 20));
3298
- span
3299
- // .css('display','inline-block')
3300
- .css('white-space', 'nowrap')
3301
- // .css('width','auto')
3302
- ;
3303
- if (shouldDisplay) {
3304
- span.show();
3305
- } else {
3306
- span.hide();
3307
- jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icon_item_container span').hide();
3308
- }
3309
- }
3310
- } else {
3311
- var span = container.find('span');
3312
- /* console.log(span); */
3313
- span.css('font-size', 'initial');
3314
- span.show();
3315
- }
3316
-
3317
- }
3318
-
3319
- function sfsi_fixedWidth_fitText(container) {
3320
- return;
3321
- /* console.log(sfsi_fittext_shouldDisplay); */
3322
- if (window.sfsi_fittext_shouldDisplay === true) {
3323
- if (jQuery('select[name="sfsi_responsive_icons_settings_icon_width_type"]').val() == "Fixed icon width") {
3324
- var all_icon_width = jQuery('.sfsi_responsive_icons .sfsi_icons_container').width();
3325
- var total_active_icons = jQuery('.sfsi_responsive_icons .sfsi_icons_container a').filter(function (i, icon) {
3326
- return jQuery(icon).css('display') && (jQuery(icon).css('display').toLowerCase() !== "none");
3327
- }).length;
3328
- var distance_between_icon = jQuery('input[name="sfsi_responsive_icons_settings_margin"]').val()
3329
- var container_width = ((all_icon_width - distance_between_icon) / total_active_icons) - 5;
3330
- container_width = (container_width - distance_between_icon);
3331
- } else {
3332
- var container_width = container.width();
3333
- }
3334
- // var container_img_width = container.find('img').width();
3335
- var container_img_width = 70;
3336
- // var span=container.find('span').clone();
3337
- var span = container.find('span');
3338
- // var span_original_width = container.find('span').width();
3339
- var span_original_width = container_width - (container_img_width)
3340
- span
3341
- // .css('display','inline-block')
3342
- .css('white-space', 'nowrap')
3343
- // .css('width','auto')
3344
- ;
3345
- var span_flatted_width = span.width();
3346
- if (span_flatted_width == 0) {
3347
- span_flatted_width = span_original_width;
3348
- }
3349
- span
3350
- // .css('display','inline-block')
3351
- .css('white-space', 'unset')
3352
- // .css('width','auto')
3353
- ;
3354
- var shouldDisplay = undefined === window.sfsi_fittext_shouldDisplay ? true : window.sfsi_fittext_shouldDisplay = true;;
3355
- var fontSize = parseInt(span.css('font-size'));
3356
-
3357
- if (6 > fontSize) {
3358
- fontSize = 15;
3359
- }
3360
-
3361
- var computed_fontSize = (Math.floor((fontSize * span_original_width) / span_flatted_width));
3362
-
3363
- if (computed_fontSize < 8) {
3364
- shouldDisplay = false;
3365
- window.sfsi_fittext_shouldDisplay = false;
3366
- computed_fontSize = 15;
3367
- }
3368
- span.css('font-size', Math.min(computed_fontSize, 15));
3369
- span
3370
- // .css('display','inline-block')
3371
- .css('white-space', 'nowrap')
3372
- // .css('width','auto')
3373
- ;
3374
- // var heightOfResIcons = jQuery('.sfsi_responsive_icon_item_container').height();
3375
-
3376
- // if(heightOfResIcons < 17){
3377
- // span.show();
3378
- // }else{
3379
- // span.hide();
3380
- // }
3381
-
3382
- if (shouldDisplay) {
3383
- span.show();
3384
- } else {
3385
- span.hide();
3386
- }
3387
- }
3388
- }
3389
-
3390
- function sfsi_resize_icons_container() {
3391
- // resize icon container based on the size of count
3392
- sfsi_cloned_icon_list = jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').clone();
3393
- sfsi_cloned_icon_list.removeClass('.sfsi_responsive_icon_preview .sfsi_responsive_with_counter_icons').addClass('sfsi_responsive_cloned_list');
3394
- sfsi_cloned_icon_list.css('width', '100%');
3395
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').parent().append(sfsi_cloned_icon_list);
3396
-
3397
- // sfsi_cloned_icon_list.css({
3398
- // position: "absolute",
3399
- // left: "-10000px"
3400
- // }).appendTo("body");
3401
- actual_width = sfsi_cloned_icon_list.width();
3402
- count_width = jQuery('.sfsi_responsive_icon_preview .sfsi_responsive_icons_count').width();
3403
- jQuery('.sfsi_responsive_cloned_list').remove();
3404
- sfsi_inline_style = jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').attr('style');
3405
- // remove_width
3406
- sfsi_inline_style = sfsi_inline_style.replace(/width:auto($|!important|)(;|$)/g, '').replace(/width:\s*(-|)\d*\s*(px|%)\s*($|!important|)(;|$)/g, '');
3407
- if (!(jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').hasClass('sfsi_responsive_without_counter_icons') && jQuery('.sfsi_icons_container').hasClass('sfsi_icons_container_box_fixed_container'))) {
3408
- sfsi_inline_style += "width:" + (actual_width - count_width - 1) + 'px!important;'
3409
- } else {
3410
- sfsi_inline_style += "width:auto!important;";
3411
- }
3412
- jQuery('.sfsi_responsive_icon_preview .sfsi_icons_container').attr('style', sfsi_inline_style);
3413
-
3414
- }
3415
-
3416
- function sfsi_togglbtmsection(show, hide, ref) {
3417
- // console.log(show,hide);
3418
- jQuery(ref).parent("ul").children("li.clckbltglcls").each(function (index, element) {
3419
- jQuery(this).children(".radio").css("background-position", "0px 0px");
3420
- jQuery(this).children(".styled").attr("checked", "false");
3421
- });
3422
- jQuery(ref).children(".radio").css("background-position", "0px -41px");
3423
- jQuery(ref).children(".styled").attr("checked", "true");
3424
- // console.log(show,hide);
3425
-
3426
- jQuery("." + show).show();
3427
- jQuery("." + show).children(".radiodisplaysection").show();
3428
- jQuery("." + hide).hide();
3429
- jQuery("." + hide).children(".radiodisplaysection").hide();
3430
- }
3431
- jQuery(document).ready(function(){
3432
- var sfsi_functions_loaded = new CustomEvent('sfsi_functions_loaded',{detail:{"abc":"def"}});
3433
- window.dispatchEvent(sfsi_functions_loaded);
3434
- });
3435
-
3436
- function sfsi_show_responsive(){
3437
- var icon_type = jQuery('input[name="sfsi_display_button_type"]:checked').val();
3438
- var responsive_show = jQuery('input[name="sfsi_responsive_icons_end_post"]:checked').val();
3439
- setTimeout(function(){
3440
- // console.log(icon_type, responsive_show,icon_type=="responsive_button" && responsive_show=="yes");
3441
- if(icon_type=="responsive_button" && responsive_show=="yes"){
3442
- jQuery('.sfsi_responsive_icon_option_li.sfsi_responsive_show').show();
3443
- }else{
3444
- jQuery('.sfsi_responsive_icon_option_li.sfsi_responsive_show').hide();
3445
- }
3446
- },100);
3447
- }
3448
-
3449
-
3450
- function sfsi_save_export() {
3451
- var nonce = SFSI("#sfsi_save_export").attr("data-nonce");
3452
- console.log(nonce);
3453
- var data = {
3454
- action: "sfsi_save_export",
3455
- nonce: nonce
3456
- };
3457
- console.log(data);
3458
- SFSI.ajax({
3459
- url: sfsi_icon_ajax_object.ajax_url,
3460
- type: "post",
3461
- data: data,
3462
- success: function (s) {
3463
- console.log(s);
3464
- if (s == "wrong_nonce") {
3465
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 6);
3466
- global_error = 1;
3467
- } else {
3468
- var date = new Date();
3469
- var timestamp = date.getTime();
3470
- var blob = new Blob([JSON.stringify(s, null, 2)], {
3471
- type: 'application/json'
3472
- });
3473
- var url = URL.createObjectURL(blob);
3474
- let link = document.createElement("a");
3475
- link.href = url;
3476
- link.download = "sfsi_export_options" + timestamp + ".json"
3477
- link.innerText = "Open the array URL";
3478
- document.body.appendChild(link);
3479
- link.click();
3480
- (showErrorSuc("Settings Exported !", "Settings Exported !", 10));
3481
- }
3482
- }
3483
- });
3484
-
3485
- }
3486
-
1
+ function sfsi_update_index() {
2
+ var s = 1;
3
+ SFSI("ul.icn_listing li.custom").each(function () {
4
+ SFSI(this).children("span.custom-txt").html("Custom " + s), s++;
5
+ }), cntt = 1, SFSI("div.cm_lnk").each(function () {
6
+ SFSI(this).find("h2.custom").find("span.sfsiCtxt").html("Custom " + cntt + ":"),
7
+ cntt++;
8
+ }), cntt = 1, SFSI("div.custom_m").find("div.custom_section").each(function () {
9
+ SFSI(this).find("label").html("Custom " + cntt + ":"), cntt++;
10
+ });
11
+ }
12
+
13
+ function sfsicollapse(s) {
14
+ var i = !0,
15
+ e = SFSI(s).closest("div.ui-accordion-content").prev("h3.ui-accordion-header"),
16
+ t = SFSI(s).closest("div.ui-accordion-content").first();
17
+ e.toggleClass("ui-corner-all", i).toggleClass("accordion-header-active ui-state-active ui-corner-top", !i).attr("aria-selected", (!i).toString()),
18
+ e.children(".ui-icon").toggleClass("ui-icon-triangle-1-e", i).toggleClass("ui-icon-triangle-1-s", !i),
19
+ t.toggleClass("accordion-content-active", !i), i ? t.slideUp() : t.slideDown();
20
+ }
21
+
22
+ function sfsi_delete_CusIcon(s, i) {
23
+ beForeLoad();
24
+ var e = {
25
+ action: "deleteIcons",
26
+ icon_name: i.attr("name"),
27
+ nonce: SFSI(i).parents('.custom').find('input[name="nonce"]').val()
28
+ };
29
+ SFSI.ajax({
30
+ url: sfsi_icon_ajax_object.ajax_url,
31
+ type: "post",
32
+ data: e,
33
+ dataType: "json",
34
+ success: function (e) {
35
+ if ("success" == e.res) {
36
+ showErrorSuc("success", "Saved !", 1);
37
+ var t = e.last_index + 1;
38
+ SFSI("#total_cusotm_icons").val(e.total_up), SFSI(s).closest(".custom").remove(),
39
+ SFSI("li.custom:last-child").addClass("bdr_btm_non"), SFSI(".custom-links").find("div." + i.attr("name")).remove(),
40
+ SFSI(".custom_m").find("div." + i.attr("name")).remove(), SFSI(".share_icon_order").children("li." + i.attr("name")).remove(),
41
+ SFSI("ul.sfsi_sample_icons").children("li." + i.attr("name")).remove();
42
+
43
+ if (e.total_up == 0) {
44
+ SFSI(".notice_custom_icons_premium").hide();
45
+ }
46
+ var n = e.total_up + 1;
47
+ 4 == e.total_up && SFSI(".icn_listing").append('<li id="c' + t + '" class="custom bdr_btm_non"><div class="radio_section tb_4_ck"><span class="checkbox" dynamic_ele="yes" style=" 0px 0px;"></span><input name="sfsiICON_' + t + '_display" type="checkbox" value="yes" class="styled" style="display:none;" isNew="yes" /></div> <span class="custom-img"><img src="' + SFSI("#plugin_url").val() + 'images/custom.png" id="CImg_' + t + '" alt="error" /> </span> <span class="custom custom-txt">Custom' + n + ' </span> <div class="right_info"> <p><span>It depends:</span> Upload a custom icon if you have other accounts/websites you want to link to.</p><div class="inputWrapper"></div></li>');
48
+ } else showErrorSuc("error", "Unkown error , please try again", 1);
49
+ return sfsi_update_index(), update_Sec5Iconorder(), sfsi_update_step1(), sfsi_update_step5(),
50
+ afterLoad(), "suc";
51
+ }
52
+ });
53
+ }
54
+
55
+ function update_Sec5Iconorder() {
56
+ SFSI("ul.share_icon_order").children("li").each(function () {
57
+ SFSI(this).attr("data-index", SFSI(this).index() + 1);
58
+ });
59
+ }
60
+
61
+ function sfsi_section_Display(s, i) {
62
+ "hide" == i ? (SFSI("." + s + " :input").prop("disabled", !0), SFSI("." + s + " :button").prop("disabled", !0),
63
+ SFSI("." + s).hide()) : (SFSI("." + s + " :input").removeAttr("disabled", !0), SFSI("." + s + " :button").removeAttr("disabled", !0),
64
+ SFSI("." + s).show());
65
+ }
66
+
67
+ function sfsi_depened_sections() {
68
+ if ("sfsi" == SFSI("input[name='sfsi_rss_icons']:checked").val()) {
69
+ for (i = 0; 16 > i; i++) {
70
+ var s = i + 1,
71
+ e = 74 * i;
72
+ SFSI(".row_" + s + "_2").css("background-position", "-588px -" + e + "px");
73
+ }
74
+ var t = SFSI(".icon_img").attr("src");
75
+ if (t) {
76
+ if (t.indexOf("subscribe") != -1) {
77
+ var n = t.replace("subscribe.png", "sf_arow_icn.png");
78
+ } else {
79
+ var n = t.replace("email.png", "sf_arow_icn.png");
80
+ }
81
+ SFSI(".icon_img").attr("src", n);
82
+ }
83
+ } else {
84
+ if ("email" == SFSI("input[name='sfsi_rss_icons']:checked").val()) {
85
+ for (SFSI(".row_1_2").css("background-position", "-58px 0"), i = 0; 16 > i; i++) {
86
+ var s = i + 1,
87
+ e = 74 * i;
88
+ SFSI(".row_" + s + "_2").css("background-position", "-58px -" + e + "px");
89
+ }
90
+ var t = SFSI(".icon_img").attr("src");
91
+ if (t) {
92
+ if (t.indexOf("sf_arow_icn") != -1) {
93
+ var n = t.replace("sf_arow_icn.png", "email.png");
94
+ } else {
95
+ var n = t.replace("subscribe.png", "email.png");
96
+ }
97
+ SFSI(".icon_img").attr("src", n);
98
+ }
99
+ } else {
100
+ for (SFSI(".row_1_2").css("background-position", "-649px 0"), i = 0; 16 > i; i++) {
101
+ var s = i + 1,
102
+ e = 74 * i;
103
+ SFSI(".row_" + s + "_2").css("background-position", "-649px -" + e + "px");
104
+ }
105
+ var t = SFSI(".icon_img").attr("src");
106
+ if (t) {
107
+ if (t.indexOf("email") != -1) {
108
+ var n = t.replace("email.png", "subscribe.png");
109
+ } else {
110
+ var n = t.replace("sf_arow_icn.png", "subscribe.png");
111
+ }
112
+ SFSI(".icon_img").attr("src", n);
113
+ }
114
+ }
115
+ }
116
+ SFSI("input[name='sfsi_rss_display']").prop("checked") ? sfsi_section_Display("rss_section", "show") : sfsi_section_Display("rss_section", "hide"),
117
+ SFSI("input[name='sfsi_email_display']").prop("checked") ? sfsi_section_Display("email_section", "show") : sfsi_section_Display("email_section", "hide"),
118
+ SFSI("input[name='sfsi_facebook_display']").prop("checked") ? sfsi_section_Display("facebook_section", "show") : sfsi_section_Display("facebook_section", "hide"),
119
+ SFSI("input[name='sfsi_twitter_display']").prop("checked") ? sfsi_section_Display("twitter_section", "show") : sfsi_section_Display("twitter_section", "hide"),
120
+ SFSI("input[name='sfsi_youtube_display']").prop("checked") ? sfsi_section_Display("youtube_section", "show") : sfsi_section_Display("youtube_section", "hide"),
121
+ SFSI("input[name='sfsi_pinterest_display']").prop("checked") ? sfsi_section_Display("pinterest_section", "show") : sfsi_section_Display("pinterest_section", "hide"),
122
+ SFSI("input[name='sfsi_telegram_display']").prop("checked") ? sfsi_section_Display("telegram_section", "show") : sfsi_section_Display("telegram_section", "hide"),
123
+ SFSI("input[name='sfsi_vk_display']").prop("checked") ? sfsi_section_Display("vk_section", "show") : sfsi_section_Display("vk_section", "hide"),
124
+ SFSI("input[name='sfsi_ok_display']").prop("checked") ? sfsi_section_Display("ok_section", "show") : sfsi_section_Display("ok_section", "hide"),
125
+ SFSI("input[name='sfsi_wechat_display']").prop("checked") ? sfsi_section_Display("wechat_section", "show") : sfsi_section_Display("wechat_section", "hide"),
126
+ SFSI("input[name='sfsi_weibo_display']").prop("checked") ? sfsi_section_Display("weibo_section", "show") : sfsi_section_Display("weibo_section", "hide"),
127
+ SFSI("input[name='sfsi_instagram_display']").prop("checked") ? sfsi_section_Display("instagram_section", "show") : sfsi_section_Display("instagram_section", "hide"),
128
+ SFSI("input[name='sfsi_linkedin_display']").prop("checked") ? sfsi_section_Display("linkedin_section", "show") : sfsi_section_Display("linkedin_section", "hide"),
129
+ SFSI("input[element-type='cusotm-icon']").prop("checked") ? sfsi_section_Display("custom_section", "show") : sfsi_section_Display("custom_section", "hide");
130
+ }
131
+
132
+ function CustomIConSectionsUpdate() {
133
+ sfsi_section_Display("counter".ele, show);
134
+ }
135
+
136
+ // Upload Custom Skin {Monad}
137
+ function sfsi_customskin_upload(s, ref, nonce) {
138
+ var ttl = jQuery(ref).attr("title");
139
+ var i = s,
140
+ e = {
141
+ action: "UploadSkins",
142
+ custom_imgurl: i,
143
+ nonce: nonce
144
+ };
145
+ SFSI.ajax({
146
+ url: sfsi_icon_ajax_object.ajax_url,
147
+ type: "post",
148
+ data: e,
149
+ success: function (msg) {
150
+ if (msg.res = "success") {
151
+ var arr = s.split('=');
152
+ jQuery(ref).prev('.imgskin').attr('src', arr[1]);
153
+ jQuery(ref).prev('.imgskin').css("display", "block");
154
+ jQuery(ref).text("Update");
155
+ jQuery(ref).next('.dlt_btn').css("display", "block");
156
+ }
157
+ }
158
+ });
159
+ }
160
+
161
+ // Delete Custom Skin {Monad}
162
+ function deleteskin_icon(s) {
163
+ var iconname = jQuery(s).attr("title");
164
+ var nonce = jQuery(s).attr("data-nonce");
165
+ var i = iconname,
166
+ e = {
167
+ action: "DeleteSkin",
168
+ iconname: i,
169
+ nonce: nonce
170
+ };
171
+ // console.log('delete sin icon', i, iconname, nonce);
172
+ SFSI.ajax({
173
+ url: sfsi_icon_ajax_object.ajax_url,
174
+ type: "post",
175
+ data: e,
176
+ dataType: "json",
177
+ success: function (msg) {
178
+ // console.log(s, e, msg);
179
+
180
+ if (msg.res === "success") {
181
+ SFSI(s).prev("a").text("Upload");
182
+ SFSI(s).prev("a").prev("img").attr("src", '');
183
+ SFSI(s).prev("a").prev("img").css("display", "none");
184
+ SFSI(s).css("display", "none");
185
+ } else {
186
+ alert("Whoops! something went wrong.")
187
+ }
188
+ }
189
+ });
190
+ }
191
+
192
+ // Save Custom Skin {Monad}
193
+ function SFSI_done(nonce) {
194
+ e = {
195
+ action: "Iamdone",
196
+ nonce: nonce
197
+ };
198
+
199
+ SFSI.ajax({
200
+ url: sfsi_icon_ajax_object.ajax_url,
201
+ type: "post",
202
+ data: e,
203
+ success: function (msg) {
204
+ if (msg.res === "success") {
205
+
206
+
207
+ jQuery("li.cstomskins_upload").children(".icns_tab_3").html(msg);
208
+ SFSI("input[name='sfsi_rss_display']").prop("checked") ? sfsi_section_Display("rss_section", "show") : sfsi_section_Display("rss_section", "hide"), SFSI("input[name='sfsi_email_display']").prop("checked") ? sfsi_section_Display("email_section", "show") : sfsi_section_Display("email_section", "hide"), SFSI("input[name='sfsi_facebook_display']").prop("checked") ? sfsi_section_Display("facebook_section", "show") : sfsi_section_Display("facebook_section", "hide"), SFSI("input[name='sfsi_twitter_display']").prop("checked") ? sfsi_section_Display("twitter_section", "show") : sfsi_section_Display("twitter_section", "hide"), SFSI("input[name='sfsi_youtube_display']").prop("checked") ? sfsi_section_Display("youtube_section", "show") : sfsi_section_Display("youtube_section", "hide"), SFSI("input[name='sfsi_pinterest_display']").prop("checked") ? sfsi_section_Display("pinterest_section", "show") : sfsi_section_Display("pinterest_section", "hide"), SFSI("input[name='sfsi_instagram_display']").prop("checked") ? sfsi_section_Display("instagram_section", "show") : sfsi_section_Display("instagram_section", "hide"), SFSI("input[name='sfsi_linkedin_display']").prop("checked") ? sfsi_section_Display("linkedin_section", "show") : sfsi_section_Display("linkedin_section", "hide"), SFSI("input[element-type='cusotm-icon']").prop("checked") ? sfsi_section_Display("custom_section", "show") : sfsi_section_Display("custom_section", "hide");
209
+ SFSI(".cstmskins-overlay").hide("slow");
210
+ sfsi_update_step3() && sfsicollapse(this);
211
+ }
212
+ }
213
+ });
214
+ }
215
+
216
+ // Upload Custom Icons {Monad}
217
+ function sfsi_newcustomicon_upload(s, nonce, nonce2) {
218
+ var i = s,
219
+ e = {
220
+ action: "UploadIcons",
221
+ custom_imgurl: i,
222
+ nonce: nonce
223
+ };
224
+ SFSI.ajax({
225
+ url: sfsi_icon_ajax_object.ajax_url,
226
+ type: "post",
227
+ data: e,
228
+ dataType: "json",
229
+ async: !0,
230
+ success: function (s) {
231
+ if (s.res == 'success') {
232
+ afterIconSuccess(s, nonce2);
233
+ } else {
234
+ SFSI(".upload-overlay").hide("slow");
235
+ SFSI(".uperror").html(s.res);
236
+ showErrorSuc("Error", "Some Error Occured During Upload Custom Icon", 1)
237
+ }
238
+ }
239
+ });
240
+ }
241
+
242
+ function sfsi_update_step1() {
243
+ var nonce = SFSI("#sfsi_save1").attr("data-nonce");
244
+ global_error = 0, beForeLoad(), sfsi_depened_sections();
245
+ var s = !1,
246
+ i = SFSI("input[name='sfsi_rss_display']:checked").val(),
247
+ e = SFSI("input[name='sfsi_email_display']:checked").val(),
248
+ t = SFSI("input[name='sfsi_facebook_display']:checked").val(),
249
+ n = SFSI("input[name='sfsi_twitter_display']:checked").val(),
250
+ r = SFSI("input[name='sfsi_youtube_display']:checked").val(),
251
+ c = SFSI("input[name='sfsi_pinterest_display']:checked").val(),
252
+ p = SFSI("input[name='sfsi_linkedin_display']:checked").val(),
253
+ tg = SFSI("input[name='sfsi_telegram_display']:checked").val(),
254
+ vk = SFSI("input[name='sfsi_vk_display']:checked").val(),
255
+ ok = SFSI("input[name='sfsi_ok_display']:checked").val(),
256
+ wc = SFSI("input[name='sfsi_wechat_display']:checked").val(),
257
+ wb = SFSI("input[name='sfsi_weibo_display']:checked").val(),
258
+ _ = SFSI("input[name='sfsi_instagram_display']:checked").val(),
259
+ l = SFSI("input[name='sfsi_custom1_display']:checked").val(),
260
+ S = SFSI("input[name='sfsi_custom2_display']:checked").val(),
261
+ u = SFSI("input[name='sfsi_custom3_display']:checked").val(),
262
+ f = SFSI("input[name='sfsi_custom4_display']:checked").val(),
263
+ d = SFSI("input[name='sfsi_custom5_display']:checked").val(),
264
+ I = {
265
+ action: "updateSrcn1",
266
+ sfsi_rss_display: i,
267
+ sfsi_email_display: e,
268
+ sfsi_facebook_display: t,
269
+ sfsi_twitter_display: n,
270
+ sfsi_youtube_display: r,
271
+ sfsi_pinterest_display: c,
272
+ sfsi_linkedin_display: p,
273
+ sfsi_telegram_display: tg,
274
+ sfsi_vk_display: vk,
275
+ sfsi_ok_display: ok,
276
+ sfsi_wechat_display: wc,
277
+ sfsi_weibo_display: wb,
278
+ sfsi_instagram_display: _,
279
+ sfsi_custom1_display: l,
280
+ sfsi_custom2_display: S,
281
+ sfsi_custom3_display: u,
282
+ sfsi_custom4_display: f,
283
+ sfsi_custom5_display: d,
284
+ nonce: nonce
285
+ };
286
+ SFSI.ajax({
287
+ url: sfsi_icon_ajax_object.ajax_url,
288
+ type: "post",
289
+ data: I,
290
+ async: !0,
291
+ dataType: "json",
292
+ success: function (i) {
293
+ if (i == "wrong_nonce") {
294
+ showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 1);
295
+ s = !1;
296
+ afterLoad();
297
+ } else {
298
+ "success" == i ? (showErrorSuc("success", "Saved !", 1), sfsicollapse("#sfsi_save1"),
299
+ sfsi_make_popBox()) : (global_error = 1, showErrorSuc("error", "Unkown error , please try again", 1),
300
+ s = !1), afterLoad();
301
+ }
302
+ }
303
+ });
304
+ }
305
+
306
+ function sfsi_update_step2() {
307
+
308
+ var nonce = SFSI("#sfsi_save2").attr("data-nonce");
309
+ var s = sfsi_validationStep2();
310
+ if (!s) return global_error = 1, !1;
311
+ beForeLoad();
312
+ var i = 1 == SFSI("input[name='sfsi_rss_url']").prop("disabled") ? "" : SFSI("input[name='sfsi_rss_url']").val(),
313
+ e = 1 == SFSI("input[name='sfsi_rss_icons']").prop("disabled") ? "" : SFSI("input[name='sfsi_rss_icons']:checked").val(),
314
+
315
+ t = 1 == SFSI("input[name='sfsi_facebookPage_option']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebookPage_option']:checked").val(),
316
+ n = 1 == SFSI("input[name='sfsi_facebookLike_option']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebookLike_option']:checked").val(),
317
+ o = 1 == SFSI("input[name='sfsi_facebookShare_option']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebookShare_option']:checked").val(),
318
+ a = SFSI("input[name='sfsi_facebookPage_url']").val(),
319
+ r = 1 == SFSI("input[name='sfsi_twitter_followme']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_followme']:checked").val(),
320
+ c = 1 == SFSI("input[name='sfsi_twitter_followUserName']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_followUserName']").val(),
321
+ p = 1 == SFSI("input[name='sfsi_twitter_aboutPage']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_aboutPage']:checked").val(),
322
+ _ = 1 == SFSI("input[name='sfsi_twitter_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_page']:checked").val(),
323
+ l = SFSI("input[name='sfsi_twitter_pageURL']").val(),
324
+ S = SFSI("textarea[name='sfsi_twitter_aboutPageText']").val(),
325
+ m = 1 == SFSI("input[name='sfsi_youtube_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_page']:checked").val(),
326
+ F = 1 == SFSI("input[name='sfsi_youtube_pageUrl']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_pageUrl']").val(),
327
+ h = 1 == SFSI("input[name='sfsi_youtube_follow']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_follow']:checked").val(),
328
+ cls = SFSI("input[name='sfsi_youtubeusernameorid']:checked").val(),
329
+ v = SFSI("input[name='sfsi_ytube_user']").val(),
330
+ vchid = SFSI("input[name='sfsi_ytube_chnlid']").val(),
331
+ g = 1 == SFSI("input[name='sfsi_pinterest_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_page']:checked").val(),
332
+ k = 1 == SFSI("input[name='sfsi_pinterest_pageUrl']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_pageUrl']").val(),
333
+ y = 1 == SFSI("input[name='sfsi_pinterest_pingBlog']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_pingBlog']:checked").val(),
334
+ b = 1 == SFSI("input[name='sfsi_instagram_pageUrl']").prop("disabled") ? "" : SFSI("input[name='sfsi_instagram_pageUrl']").val(),
335
+ w = 1 == SFSI("input[name='sfsi_linkedin_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedin_page']:checked").val(),
336
+ x = 1 == SFSI("input[name='sfsi_linkedin_pageURL']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedin_pageURL']").val(),
337
+ C = 1 == SFSI("input[name='sfsi_linkedin_follow']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedin_follow']:checked").val(),
338
+ D = SFSI("input[name='sfsi_linkedin_followCompany']").val(),
339
+ U = 1 == SFSI("input[name='sfsi_linkedin_SharePage']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedin_SharePage']:checked").val(),
340
+ O = SFSI("input[name='sfsi_linkedin_recommendBusines']:checked").val(),
341
+ T = SFSI("input[name='sfsi_linkedin_recommendProductId']").val(),
342
+ j = SFSI("input[name='sfsi_linkedin_recommendCompany']").val(),
343
+ tp = 1 == SFSI("input[name='sfsi_telegram_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_telegram_page']:checked").val(),
344
+ tpu = SFSI("input[name='sfsi_telegram_pageURL']").val(),
345
+ tm = SFSI("input[name='sfsi_telegram_message']").val(),
346
+ tmn = SFSI("input[name='sfsi_telegram_username']").val(),
347
+ wp = 1 == SFSI("input[name='sfsi_weibo_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_weibo_page']:checked").val(),
348
+ wpu = SFSI("input[name='sfsi_weibo_pageURL']").val(),
349
+ vp = 1 == SFSI("input[name='sfsi_vk_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_vk_page']:checked").val(),
350
+ vpu = SFSI("input[name='sfsi_vk_pageURL']").val(),
351
+ op = 1 == SFSI("input[name='sfsi_ok_page']").prop("disabled") ? "" : SFSI("input[name='sfsi_ok_page']:checked").val(),
352
+ opu = SFSI("input[name='sfsi_ok_pageURL']").val(),
353
+ P = {};
354
+ SFSI("input[name='sfsi_CustomIcon_links[]']").each(function () {
355
+ P[SFSI(this).attr("file-id")] = this.value;
356
+ });
357
+ var M = {
358
+ action: "updateSrcn2",
359
+ sfsi_rss_url: i,
360
+ sfsi_rss_icons: e,
361
+ sfsi_facebookPage_option: t,
362
+ sfsi_facebookLike_option: n,
363
+ sfsi_facebookShare_option: o,
364
+ sfsi_facebookPage_url: a,
365
+ sfsi_twitter_followme: r,
366
+ sfsi_twitter_followUserName: c,
367
+ sfsi_twitter_aboutPage: p,
368
+ sfsi_twitter_page: _,
369
+ sfsi_twitter_pageURL: l,
370
+ sfsi_twitter_aboutPageText: S,
371
+ sfsi_youtube_page: m,
372
+ sfsi_youtube_pageUrl: F,
373
+ sfsi_youtube_follow: h,
374
+ sfsi_youtubeusernameorid: cls,
375
+ sfsi_ytube_user: v,
376
+ sfsi_ytube_chnlid: vchid,
377
+ sfsi_pinterest_page: g,
378
+ sfsi_pinterest_pageUrl: k,
379
+ sfsi_instagram_pageUrl: b,
380
+ sfsi_pinterest_pingBlog: y,
381
+ sfsi_linkedin_page: w,
382
+ sfsi_linkedin_pageURL: x,
383
+ sfsi_linkedin_follow: C,
384
+ sfsi_linkedin_followCompany: D,
385
+ sfsi_linkedin_SharePage: U,
386
+ sfsi_linkedin_recommendBusines: O,
387
+ sfsi_linkedin_recommendCompany: j,
388
+ sfsi_linkedin_recommendProductId: T,
389
+ sfsi_custom_links: P,
390
+ sfsi_telegram_page: tp,
391
+ sfsi_telegram_pageURL: tpu,
392
+ sfsi_telegram_message: tm,
393
+ sfsi_telegram_username: tmn,
394
+ sfsi_weibo_page: wp,
395
+ sfsi_weibo_pageURL: wpu,
396
+ sfsi_vk_page: vp,
397
+ sfsi_vk_pageURL: vpu,
398
+ sfsi_ok_page: op,
399
+ sfsi_ok_pageURL: opu,
400
+ nonce: nonce
401
+ };
402
+ SFSI.ajax({
403
+ url: sfsi_icon_ajax_object.ajax_url,
404
+ type: "post",
405
+ data: M,
406
+ async: !0,
407
+ dataType: "json",
408
+ success: function (s) {
409
+ if (s == "wrong_nonce") {
410
+ showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 2);
411
+ return_value = !1;
412
+ afterLoad();
413
+ } else {
414
+ "success" == s ? (showErrorSuc("success", "Saved !", 2), sfsicollapse("#sfsi_save2"),
415
+ sfsi_depened_sections()) : (global_error = 1, showErrorSuc("error", "Unkown error , please try again", 2),
416
+ return_value = !1), afterLoad();
417
+ }
418
+ }
419
+ });
420
+ }
421
+
422
+ function sfsi_update_step3() {
423
+ var nonce = SFSI("#sfsi_save3").attr("data-nonce");
424
+ var s = sfsi_validationStep3();
425
+ if (!s) return global_error = 1, !1;
426
+ beForeLoad();
427
+ var i = SFSI("input[name='sfsi_actvite_theme']:checked").val(),
428
+ e = SFSI("input[name='sfsi_mouseOver']:checked").val(),
429
+ t = SFSI("input[name='sfsi_shuffle_icons']:checked").val(),
430
+ n = SFSI("input[name='sfsi_shuffle_Firstload']:checked").val(),
431
+ o = SFSI("input[name='sfsi_same_icons_mouseOver_effect']:checked").val(),
432
+ a = SFSI("input[name='sfsi_shuffle_interval']:checked").val(),
433
+ r = SFSI("input[name='sfsi_shuffle_intervalTime']").val(),
434
+ c = SFSI("input[name='sfsi_specialIcon_animation']:checked").val(),
435
+ p = SFSI("input[name='sfsi_specialIcon_MouseOver']:checked").val(),
436
+ _ = SFSI("input[name='sfsi_specialIcon_Firstload']:checked").val(),
437
+ l = SFSI("#sfsi_specialIcon_Firstload_Icons option:selected").val(),
438
+ S = SFSI("input[name='sfsi_specialIcon_interval']:checked").val(),
439
+ u = SFSI("input[name='sfsi_specialIcon_intervalTime']").val(),
440
+ f = SFSI("#sfsi_specialIcon_intervalIcons option:selected").val();
441
+
442
+ var mouseover_effect_type = 'same_icons'; //SFSI("input[name='sfsi_mouseOver_effect_type']:checked").val();
443
+
444
+ d = {
445
+ action: "updateSrcn3",
446
+ sfsi_actvite_theme: i,
447
+ sfsi_mouseOver: e,
448
+ sfsi_shuffle_icons: t,
449
+ sfsi_shuffle_Firstload: n,
450
+ sfsi_mouseOver_effect: o,
451
+ sfsi_mouseover_effect_type: mouseover_effect_type,
452
+ sfsi_shuffle_interval: a,
453
+ sfsi_shuffle_intervalTime: r,
454
+ sfsi_specialIcon_animation: c,
455
+ sfsi_specialIcon_MouseOver: p,
456
+ sfsi_specialIcon_Firstload: _,
457
+ sfsi_specialIcon_Firstload_Icons: l,
458
+ sfsi_specialIcon_interval: S,
459
+ sfsi_specialIcon_intervalTime: u,
460
+ sfsi_specialIcon_intervalIcons: f,
461
+ nonce: nonce
462
+ };
463
+ SFSI.ajax({
464
+ url: sfsi_icon_ajax_object.ajax_url,
465
+ type: "post",
466
+ data: d,
467
+ async: !0,
468
+ dataType: "json",
469
+ success: function (s) {
470
+ if (s == "wrong_nonce") {
471
+ showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 3);
472
+ return_value = !1;
473
+ afterLoad();
474
+ } else {
475
+ "success" == s ? (showErrorSuc("success", "Saved !", 3), sfsicollapse("#sfsi_save3")) : (showErrorSuc("error", "Unkown error , please try again", 3),
476
+ return_value = !1), afterLoad();
477
+ }
478
+ }
479
+ });
480
+ }
481
+
482
+ function sfsi_show_counts() {
483
+ "yes" == SFSI("input[name='sfsi_display_counts']:checked").val() ? (SFSI(".count_sections").slideDown(),
484
+ sfsi_showPreviewCounts()) : (SFSI(".count_sections").slideUp(), sfsi_showPreviewCounts());
485
+ }
486
+
487
+ function sfsi_showPreviewCounts() {
488
+ var s = 0;
489
+ 1 == SFSI("input[name='sfsi_rss_countsDisplay']").prop("checked") ? (SFSI("#sfsi_rss_countsDisplay").css("opacity", 1), s = 1) : SFSI("#sfsi_rss_countsDisplay").css("opacity", 0),
490
+ 1 == SFSI("input[name='sfsi_email_countsDisplay']").prop("checked") ? (SFSI("#sfsi_email_countsDisplay").css("opacity", 1),
491
+ s = 1) : SFSI("#sfsi_email_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_facebook_countsDisplay']").prop("checked") ? (SFSI("#sfsi_facebook_countsDisplay").css("opacity", 1),
492
+ s = 1) : SFSI("#sfsi_facebook_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_twitter_countsDisplay']").prop("checked") ? (SFSI("#sfsi_twitter_countsDisplay").css("opacity", 1),
493
+ s = 1) : SFSI("#sfsi_twitter_countsDisplay").css("opacity", 0),
494
+ 1 == SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("checked") ? (SFSI("#sfsi_linkedIn_countsDisplay").css("opacity", 1), s = 1) : SFSI("#sfsi_linkedIn_countsDisplay").css("opacity", 0),
495
+ 1 == SFSI("input[name='sfsi_youtube_countsDisplay']").prop("checked") ? (SFSI("#sfsi_youtube_countsDisplay").css("opacity", 1),
496
+ s = 1) : SFSI("#sfsi_youtube_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_pinterest_countsDisplay']").prop("checked") ? (SFSI("#sfsi_pinterest_countsDisplay").css("opacity", 1),
497
+ s = 1) : SFSI("#sfsi_pinterest_countsDisplay").css("opacity", 0), 1 == SFSI("input[name='sfsi_instagram_countsDisplay']").prop("checked") ? (SFSI("#sfsi_instagram_countsDisplay").css("opacity", 1),
498
+ s = 1) : SFSI("#sfsi_instagram_countsDisplay").css("opacity", 0),
499
+ 1 == SFSI("input[name='sfsi_telegram_countsDisplay']").prop("checked") ? (SFSI("#sfsi_telegram_countsDisplay").css("opacity", 0), s = 1) : SFSI("#sfsi_telegram_countsDisplay").css("opacity", 0),
500
+ 1 == SFSI("input[name='sfsi_vk_countsDisplay']").prop("checked") ? (SFSI("#sfsi_vk_countsDisplay").css("opacity", 0), s = 1) : SFSI("#sfsi_vk_countsDisplay").css("opacity", 0),
501
+ 1 == SFSI("input[name='sfsi_ok_countsDisplay']").prop("checked") ? (SFSI("#sfsi_ok_countsDisplay").css("opacity", 0), s = 1) : SFSI("#sfsi_ok_countsDisplay").css("opacity", 0),
502
+ 1 == SFSI("input[name='sfsi_weibo_countsDisplay']").prop("checked") ? (SFSI("#sfsi_weibo_countsDisplay").css("opacity", 0), s = 1) : SFSI("#sfsi_weibo_countsDisplay").css("opacity", 0),
503
+ 1 == SFSI("input[name='sfsi_wechat_countsDisplay']").prop("checked") ? (SFSI("#sfsi_wechat_countsDisplay").css("opacity", 0), s = 1) : SFSI("#sfsi_wechat_countsDisplay").css("opacity", 0),
504
+
505
+ 0 == s || "no" == SFSI("input[name='sfsi_display_counts']:checked").val() ? SFSI(".sfsi_Cdisplay").hide() : SFSI(".sfsi_Cdisplay").show();
506
+ }
507
+
508
+ function sfsi_show_OnpostsDisplay() {
509
+ //"yes" == SFSI("input[name='sfsi_show_Onposts']:checked").val() ? SFSI(".PostsSettings_section").slideDown() :SFSI(".PostsSettings_section").slideUp();
510
+ }
511
+
512
+ function sfsi_update_step4() {
513
+ var nonce = SFSI("#sfsi_save4").attr("data-nonce");
514
+ var s = !1,
515
+ i = sfsi_validationStep4();
516
+ if (!i) return global_error = 1, !1;
517
+ beForeLoad();
518
+ var e = SFSI("input[name='sfsi_display_counts']:checked").val(),
519
+ t = 1 == SFSI("input[name='sfsi_email_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_email_countsDisplay']:checked").val(),
520
+ n = 1 == SFSI("input[name='sfsi_email_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_email_countsFrom']:checked").val(),
521
+ o = SFSI("input[name='sfsi_email_manualCounts']").val(),
522
+ r = 1 == SFSI("input[name='sfsi_rss_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_rss_countsDisplay']:checked").val(),
523
+ c = SFSI("input[name='sfsi_rss_manualCounts']").val(),
524
+ p = 1 == SFSI("input[name='sfsi_facebook_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebook_countsDisplay']:checked").val(),
525
+ _ = 1 == SFSI("input[name='sfsi_facebook_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebook_countsFrom']:checked").val(),
526
+ mp = SFSI("input[name='sfsi_facebook_mypageCounts']").val(),
527
+ l = SFSI("input[name='sfsi_facebook_manualCounts']").val(),
528
+ S = 1 == SFSI("input[name='sfsi_twitter_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_countsDisplay']:checked").val(),
529
+ u = 1 == SFSI("input[name='sfsi_twitter_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_countsFrom']:checked").val(),
530
+ f = SFSI("input[name='sfsi_twitter_manualCounts']").val(),
531
+ d = SFSI("input[name='tw_consumer_key']").val(),
532
+ I = SFSI("input[name='tw_consumer_secret']").val(),
533
+ m = SFSI("input[name='tw_oauth_access_token']").val(),
534
+ F = SFSI("input[name='tw_oauth_access_token_secret']").val(),
535
+ k = 1 == SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),
536
+ y = SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),
537
+ b = SFSI("input[name='ln_company']").val(),
538
+ w = SFSI("input[name='ln_api_key']").val(),
539
+ x = SFSI("input[name='ln_secret_key']").val(),
540
+ C = SFSI("input[name='ln_oAuth_user_token']").val(),
541
+ D = 1 == SFSI("input[name='sfsi_linkedIn_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedIn_countsDisplay']:checked").val(),
542
+ k = 1 == SFSI("input[name='sfsi_linkedIn_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedIn_countsFrom']:checked").val(),
543
+ y = SFSI("input[name='sfsi_linkedIn_manualCounts']").val(),
544
+ U = 1 == SFSI("input[name='sfsi_youtube_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_countsDisplay']:checked").val(),
545
+ O = 1 == SFSI("input[name='sfsi_youtube_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_countsFrom']:checked").val(),
546
+ T = SFSI("input[name='sfsi_youtube_manualCounts']").val(),
547
+ j = SFSI("input[name='sfsi_youtube_user']").val(),
548
+ P = 1 == SFSI("input[name='sfsi_pinterest_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_countsDisplay']:checked").val(),
549
+ M = 1 == SFSI("input[name='sfsi_pinterest_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_countsFrom']:checked").val(),
550
+ L = SFSI("input[name='sfsi_pinterest_manualCounts']").val(),
551
+ B = SFSI("input[name='sfsi_pinterest_user']").val(),
552
+ E = SFSI("input[name='sfsi_pinterest_board']").val(),
553
+ z = 1 == SFSI("input[name='sfsi_instagram_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_instagram_countsDisplay']:checked").val(),
554
+ A = 1 == SFSI("input[name='sfsi_instagram_countsFrom']").prop("disabled") ? "" : SFSI("input[name='sfsi_instagram_countsFrom']:checked").val(),
555
+ N = SFSI("input[name='sfsi_instagram_manualCounts']").val(),
556
+ H = SFSI("input[name='sfsi_instagram_User']").val(),
557
+ ha = SFSI("input[name='sfsi_instagram_clientid']").val(),
558
+ ia = SFSI("input[name='sfsi_instagram_appurl']").val(),
559
+ ja = SFSI("input[name='sfsi_instagram_token']").val(),
560
+
561
+ tc = 1 == SFSI("input[name='sfsi_telegram_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_telegram_countsDisplay']:checked").val(),
562
+ tm = SFSI("input[name='sfsi_telegram_manualCounts']").val(),
563
+
564
+ vc = 1 == SFSI("input[name='sfsi_vk_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_vk_countsDisplay']:checked").val(),
565
+ vm = SFSI("input[name='sfsi_vk_manualCounts']").val(),
566
+
567
+
568
+ oc = 1 == SFSI("input[name='sfsi_ok_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_ok_countsDisplay']:checked").val(),
569
+ om = SFSI("input[name='sfsi_ok_manualCounts']").val(),
570
+
571
+
572
+ wc = 1 == SFSI("input[name='sfsi_weibo_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_weibo_countsDisplay']:checked").val(),
573
+ wm = SFSI("input[name='sfsi_weibo_manualCounts']").val(),
574
+
575
+ wcc = 1 == SFSI("input[name='sfsi_wechat_countsDisplay']").prop("disabled") ? "" : SFSI("input[name='sfsi_wechat_countsDisplay']:checked").val(),
576
+ wcm = SFSI("input[name='sfsi_wechat_manualCounts']").val(),
577
+ $ = {
578
+ action: "updateSrcn4",
579
+ sfsi_display_counts: e,
580
+ sfsi_email_countsDisplay: t,
581
+ sfsi_email_countsFrom: n,
582
+ sfsi_email_manualCounts: o,
583
+ sfsi_rss_countsDisplay: r,
584
+ sfsi_rss_manualCounts: c,
585
+ sfsi_facebook_countsDisplay: p,
586
+ sfsi_facebook_countsFrom: _,
587
+ sfsi_facebook_mypageCounts: mp,
588
+ sfsi_facebook_manualCounts: l,
589
+ sfsi_twitter_countsDisplay: S,
590
+ sfsi_twitter_countsFrom: u,
591
+ sfsi_twitter_manualCounts: f,
592
+ tw_consumer_key: d,
593
+ tw_consumer_secret: I,
594
+ tw_oauth_access_token: m,
595
+ tw_oauth_access_token_secret: F,
596
+ sfsi_linkedIn_countsDisplay: D,
597
+ sfsi_linkedIn_countsFrom: k,
598
+ sfsi_linkedIn_manualCounts: y,
599
+ ln_company: b,
600
+ ln_api_key: w,
601
+ ln_secret_key: x,
602
+ ln_oAuth_user_token: C,
603
+ sfsi_youtube_countsDisplay: U,
604
+ sfsi_youtube_countsFrom: O,
605
+ sfsi_youtube_manualCounts: T,
606
+ sfsi_youtube_user: j,
607
+ sfsi_youtube_channelId: SFSI("input[name='sfsi_youtube_channelId']").val(),
608
+ sfsi_pinterest_countsDisplay: P,
609
+ sfsi_pinterest_countsFrom: M,
610
+ sfsi_pinterest_manualCounts: L,
611
+ sfsi_pinterest_user: B,
612
+ sfsi_pinterest_board: E,
613
+ sfsi_instagram_countsDisplay: z,
614
+ sfsi_instagram_countsFrom: A,
615
+ sfsi_instagram_manualCounts: N,
616
+ sfsi_instagram_User: H,
617
+ sfsi_instagram_clientid: ha,
618
+ sfsi_instagram_appurl: ia,
619
+ sfsi_instagram_token: ja,
620
+ sfsi_telegram_countsDisplay: tc,
621
+ sfsi_telegram_manualCounts: tm,
622
+ sfsi_vk_countsDisplay: vc,
623
+ sfsi_vk_manualCounts: vm,
624
+ sfsi_ok_countsDisplay: oc,
625
+ sfsi_ok_manualCounts: om,
626
+ sfsi_weibo_countsDisplay: wc,
627
+ sfsi_weibo_manualCounts: wm,
628
+ sfsi_wechat_countsDisplay: wcc,
629
+ sfsi_wechat_manualCounts: wcm,
630
+ nonce: nonce
631
+ };
632
+ // console.log($);
633
+ return SFSI.ajax({
634
+ url: sfsi_icon_ajax_object.ajax_url,
635
+ type: "post",
636
+ data: $,
637
+ dataType: "json",
638
+ async: !0,
639
+ success: function (s) {
640
+ if (s == "wrong_nonce") {
641
+ showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 4);
642
+ global_error = 1;
643
+ afterLoad();
644
+ } else {
645
+ "success" == s.res ? (showErrorSuc("success", "Saved !", 4), sfsicollapse("#sfsi_save4"),
646
+ sfsi_showPreviewCounts()) : (showErrorSuc("error", "Unkown error , please try again", 4),
647
+ global_error = 1), afterLoad();
648
+ }
649
+ }
650
+ }), s;
651
+ }
652
+
653
+ function sfsi_update_step5() {
654
+ var nonce = SFSI("#sfsi_save5").attr("data-nonce");
655
+ sfsi_update_step3();
656
+
657
+ var s = sfsi_validationStep5();
658
+
659
+ if (!s) return global_error = 1, !1;
660
+
661
+ beForeLoad();
662
+
663
+ var i = SFSI("input[name='sfsi_icons_size']").val(),
664
+ e = SFSI("input[name='sfsi_icons_perRow']").val(),
665
+ t = SFSI("input[name='sfsi_icons_spacing']").val(),
666
+ n = SFSI("#sfsi_icons_Alignment").val(),
667
+ vw = SFSI("#sfsi_icons_Alignment_via_widget").val(),
668
+ vs = SFSI("#sfsi_icons_Alignment_via_shortcode").val(),
669
+
670
+ o = SFSI("input[name='sfsi_icons_ClickPageOpen']:checked").val(),
671
+
672
+ se = SFSI("input[name='sfsi_icons_suppress_errors']:checked").val(),
673
+ c = SFSI("input[name='sfsi_icons_stick']:checked").val(),
674
+ p = SFSI("#sfsi_rssIcon_order").attr("data-index"),
675
+ _ = SFSI("#sfsi_emailIcon_order").attr("data-index"),
676
+ S = SFSI("#sfsi_facebookIcon_order").attr("data-index"),
677
+ u = SFSI("#sfsi_twitterIcon_order").attr("data-index"),
678
+ f = SFSI("#sfsi_youtubeIcon_order").attr("data-index"),
679
+ d = SFSI("#sfsi_pinterestIcon_order").attr("data-index"),
680
+ I = SFSI("#sfsi_instagramIcon_order").attr("data-index"),
681
+ F = SFSI("#sfsi_linkedinIcon_order").attr("data-index"),
682
+ tgi = SFSI("#sfsi_telegramIcon_order").attr("data-index"),
683
+ vki = SFSI("#sfsi_vkIcon_order").attr("data-index"),
684
+ oki = SFSI("#sfsi_okIcon_order").attr("data-index"),
685
+ wbi = SFSI("#sfsi_weiboIcon_order").attr("data-index"),
686
+ wci = SFSI("#sfsi_wechatIcon_order").attr("data-index"),
687
+
688
+ h = new Array();
689
+
690
+ SFSI(".custom_iconOrder").each(function () {
691
+ h.push({
692
+ order: SFSI(this).attr("data-index"),
693
+ ele: SFSI(this).attr("element-id")
694
+ });
695
+ });
696
+
697
+ var v = 1 == SFSI("input[name='sfsi_rss_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_rss_MouseOverText']").val(),
698
+ g = 1 == SFSI("input[name='sfsi_email_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_email_MouseOverText']").val(),
699
+ k = 1 == SFSI("input[name='sfsi_twitter_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_twitter_MouseOverText']").val(),
700
+ y = 1 == SFSI("input[name='sfsi_facebook_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_facebook_MouseOverText']").val(),
701
+ w = 1 == SFSI("input[name='sfsi_linkedIn_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_linkedIn_MouseOverText']").val(),
702
+ x = 1 == SFSI("input[name='sfsi_youtube_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_youtube_MouseOverText']").val(),
703
+ C = 1 == SFSI("input[name='sfsi_pinterest_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_pinterest_MouseOverText']").val(),
704
+ D = 1 == SFSI("input[name='sfsi_instagram_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_instagram_MouseOverText']").val(),
705
+ tg = 1 == SFSI("input[name='sfsi_telegram_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_telegram_MouseOverText']").val(),
706
+ vk = 1 == SFSI("input[name='sfsi_vk_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_vk_MouseOverText']").val(),
707
+ ok = 1 == SFSI("input[name='sfsi_ok_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_ok_MouseOverText']").val(),
708
+ wb = 1 == SFSI("input[name='sfsi_weibo_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_weibo_MouseOverText']").val(),
709
+ wc = 1 == SFSI("input[name='sfsi_wechat_MouseOverText']").prop("disabled") ? "" : SFSI("input[name='sfsi_wechat_MouseOverText']").val(),
710
+
711
+ O = {};
712
+ SFSI("input[name='sfsi_custom_MouseOverTexts[]']").each(function () {
713
+ O[SFSI(this).attr("file-id")] = this.value;
714
+ });
715
+
716
+ var sfsi_custom_social_hide = SFSI("input[name='sfsi_custom_social_hide']").val();
717
+
718
+ var T = {
719
+ action: "updateSrcn5",
720
+ sfsi_icons_size: i,
721
+ sfsi_icons_Alignment: n,
722
+ sfsi_icons_Alignment_via_widget: vw,
723
+ sfsi_icons_Alignment_via_shortcode: vs,
724
+ sfsi_icons_perRow: e,
725
+ sfsi_icons_spacing: t,
726
+ sfsi_icons_ClickPageOpen: o,
727
+ sfsi_icons_suppress_errors: se,
728
+ sfsi_icons_stick: c,
729
+ sfsi_rss_MouseOverText: v,
730
+ sfsi_email_MouseOverText: g,
731
+ sfsi_twitter_MouseOverText: k,
732
+ sfsi_facebook_MouseOverText: y,
733
+ sfsi_youtube_MouseOverText: x,
734
+ sfsi_linkedIn_MouseOverText: w,
735
+ sfsi_pinterest_MouseOverText: C,
736
+ sfsi_instagram_MouseOverText: D,
737
+ sfsi_telegram_MouseOverText: tg,
738
+ sfsi_vk_MouseOverText: vk,
739
+ sfsi_ok_MouseOverText: ok,
740
+ sfsi_weibo_MouseOverText: wb,
741
+ sfsi_wechat_MouseOverText: wc,
742
+ sfsi_custom_MouseOverTexts: O,
743
+ sfsi_rssIcon_order: p,
744
+ sfsi_emailIcon_order: _,
745
+ sfsi_facebookIcon_order: S,
746
+ sfsi_twitterIcon_order: u,
747
+ sfsi_youtubeIcon_order: f,
748
+ sfsi_pinterestIcon_order: d,
749
+ sfsi_instagramIcon_order: I,
750
+ sfsi_linkedinIcon_order: F,
751
+ sfsi_telegramIcon_order: tgi,
752
+ sfsi_vkIcon_order: vki,
753
+ sfsi_okIcon_order: oki,
754
+ sfsi_weiboIcon_order: wbi,
755
+ sfsi_wechatIcon_order: wci,
756
+
757
+ sfsi_custom_orders: h,
758
+ sfsi_custom_social_hide: sfsi_custom_social_hide,
759
+ nonce: nonce
760
+ };
761
+ // console.log(T);
762
+ SFSI.ajax({
763
+ url: sfsi_icon_ajax_object.ajax_url,
764
+ type: "post",
765
+ data: T,
766
+ dataType: "json",
767
+ async: !0,
768
+ success: function (s) {
769
+ if (s == "wrong_nonce") {
770
+ showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 5);
771
+ global_error = 1;
772
+ afterLoad();
773
+ } else {
774
+ "success" == s ? (showErrorSuc("success", "Saved !", 5), sfsicollapse("#sfsi_save5")) : (global_error = 1,
775
+ showErrorSuc("error", "Unkown error , please try again", 5)), afterLoad();
776
+ }
777
+ }
778
+ });
779
+ }
780
+
781
+ function sfsi_update_step6() {
782
+ var nonce = SFSI("#sfsi_save9").attr("data-nonce2");
783
+ beForeLoad();
784
+ var s = SFSI("input[name='sfsi_show_Onposts']:checked").val(),
785
+ i = SFSI("input[name='sfsi_textBefor_icons']").val(),
786
+ e = SFSI("#sfsi_icons_alignment").val(),
787
+ t = SFSI("#sfsi_icons_DisplayCounts").val(),
788
+ rsub = SFSI("input[name='sfsi_rectsub']:checked").val(),
789
+ rfb = SFSI("input[name='sfsi_rectfb']:checked").val(),
790
+ rpin = SFSI("input[name='sfsi_rectpinit']:checked").val(),
791
+ rshr = SFSI("input[name='sfsi_rectshr']:checked").val(),
792
+ rtwr = SFSI("input[name='sfsi_recttwtr']:checked").val(),
793
+ rfbshare = SFSI("input[name='sfsi_rectfbshare']:checked").val(),
794
+ a = SFSI("input[name='sfsi_display_button_type']:checked").val();
795
+ countshare = SFSI("input[name='sfsi_share_count']:checked").val();
796
+ endpost = SFSI("input[name='sfsi_responsive_icons_end_post']:checked").val();
797
+
798
+ var responsive_icons = {
799
+ "default_icons": {},
800
+ "settings": {}
801
+ };
802
+ SFSI('.sfsi_responsive_default_icon_container input[type="checkbox"]').each(function (index, obj) {
803
+ var data_obj = {};
804
+ data_obj.active = ('checked' == SFSI(obj).attr('checked')) ? 'yes' : 'no';
805
+ var iconname = SFSI(obj).attr('data-icon');
806
+ var next_section = SFSI(obj).parent().parent();
807
+ data_obj.text = next_section.find('input[name="sfsi_responsive_' + iconname + '_input"]').val();
808
+ data_obj.url = next_section.find('input[name="sfsi_responsive_' + iconname + '_url_input"]').val();
809
+ responsive_icons.default_icons[iconname] = data_obj;
810
+ });
811
+ SFSI('.sfsi_responsive_custom_icon_container input[type="checkbox"]').each(function (index, obj) {
812
+ if (SFSI(obj).attr('id') != "sfsi_responsive_custom_new_display") {
813
+ var data_obj = {};
814
+ data_obj.active = 'checked' == SFSI(obj).attr('checked') ? 'yes' : 'no';
815
+ var icon_index = SFSI(obj).attr('data-custom-index');
816
+ var next_section = SFSI(obj).parent().parent();
817
+ data_obj['added'] = SFSI('input[name="sfsi_responsive_custom_' + index + '_added"]').val();
818
+ data_obj.icon = next_section.find('img').attr('src');
819
+ data_obj["bg-color"] = next_section.find('.sfsi_bg-color-picker').val();
820
+
821
+ data_obj.text = next_section.find('input[name="sfsi_responsive_custom_' + icon_index + '_input"]').val();
822
+ data_obj.url = next_section.find('input[name="sfsi_responsive_custom_' + icon_index + '_url_input"]').val();
823
+ responsive_icons.custom_icons[index] = data_obj;
824
+ }
825
+ });
826
+ responsive_icons.settings.icon_size = SFSI('select[name="sfsi_responsive_icons_settings_icon_size"]').val();
827
+ responsive_icons.settings.icon_width_type = SFSI('select[name="sfsi_responsive_icons_settings_icon_width_type"]').val();
828
+ responsive_icons.settings.icon_width_size = SFSI('input[name="sfsi_responsive_icons_sttings_icon_width_size"]').val();
829
+ responsive_icons.settings.edge_type = SFSI('select[name="sfsi_responsive_icons_settings_edge_type"]').val();
830
+ responsive_icons.settings.edge_radius = SFSI('select[name="sfsi_responsive_icons_settings_edge_radius"]').val();
831
+ responsive_icons.settings.style = SFSI('select[name="sfsi_responsive_icons_settings_style"]').val();
832
+ responsive_icons.settings.margin = SFSI('input[name="sfsi_responsive_icons_settings_margin"]').val();
833
+ responsive_icons.settings.text_align = SFSI('select[name="sfsi_responsive_icons_settings_text_align"]').val();
834
+ responsive_icons.settings.show_count = SFSI('input[name="sfsi_responsive_icon_show_count"]:checked').val();
835
+ responsive_icons.settings.counter_color = SFSI('input[name="sfsi_responsive_counter_color"]').val();
836
+ responsive_icons.settings.counter_bg_color = SFSI('input[name="sfsi_responsive_counter_bg_color"]').val();
837
+ responsive_icons.settings.share_count_text = SFSI('input[name="sfsi_responsive_counter_share_count_text"]').val();
838
+ responsive_icons.settings.show_count = countshare;
839
+ responsive_icons.settings.margin_above = SFSI('input[name="sfsi_responsive_icons_settings_margin_above"]').val();
840
+ responsive_icons.settings.margin_below = SFSI('input[name="sfsi_responsive_icons_settings_margin_below"]').val();
841
+
842
+ n = {
843
+ action: "updateSrcn6",
844
+ sfsi_show_Onposts: s,
845
+ sfsi_icons_DisplayCounts: t,
846
+ sfsi_icons_alignment: e,
847
+ sfsi_textBefor_icons: i,
848
+ sfsi_rectsub: rsub,
849
+ sfsi_rectfb: rfb,
850
+ sfsi_rectpinit: rpin,
851
+ sfsi_rectshr: rshr,
852
+ sfsi_recttwtr: rtwr,
853
+ sfsi_rectfbshare: rfbshare,
854
+ sfsi_responsive_icons: responsive_icons,
855
+ sfsi_display_button_type: a,
856
+ sfsi_responsive_icons_end_post:endpost,
857
+ sfsi_share_count: countshare,
858
+ nonce: nonce
859
+ };
860
+ SFSI.ajax({
861
+ url: sfsi_icon_ajax_object.ajax_url,
862
+ type: "post",
863
+ data: n,
864
+ dataType: "json",
865
+ async: !0,
866
+ success: function (s) {
867
+ if (s == "wrong_nonce") {
868
+ showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 6);
869
+ global_error = 1;
870
+ afterLoad();
871
+ } else {
872
+ "success" == s ? (showErrorSuc("success", "Saved !", 6), sfsicollapse("#sfsi_save6")) : (global_error = 1,
873
+ showErrorSuc("error", "Unkown error , please try again", 6)), afterLoad();
874
+ }
875
+ }
876
+ });
877
+ }
878
+
879
+ function sfsi_update_step7() {
880
+ var nonce = SFSI("#sfsi_save7").attr("data-nonce");
881
+ var s = sfsi_validationStep7();
882
+ if (!s) return global_error = 1, !1;
883
+ beForeLoad();
884
+ var i = SFSI("input[name='sfsi_popup_text']").val(),
885
+ e = SFSI("#sfsi_popup_font option:selected").val(),
886
+ t = SFSI("#sfsi_popup_fontStyle option:selected").val(),
887
+ color = SFSI("input[name='sfsi_popup_fontColor']").val(),
888
+ n = SFSI("input[name='sfsi_popup_fontSize']").val(),
889
+ o = SFSI("input[name='sfsi_popup_background_color']").val(),
890
+ a = SFSI("input[name='sfsi_popup_border_color']").val(),
891
+ r = SFSI("input[name='sfsi_popup_border_thickness']").val(),
892
+ c = SFSI("input[name='sfsi_popup_border_shadow']:checked").val(),
893
+ p = SFSI("input[name='sfsi_Show_popupOn']:checked").val(),
894
+ _ = [];
895
+ SFSI("#sfsi_Show_popupOn_PageIDs :selected").each(function (s, i) {
896
+ _[s] = SFSI(i).val();
897
+ });
898
+ var l = SFSI("input[name='sfsi_Shown_pop']:checked").val(),
899
+ S = SFSI("input[name='sfsi_Shown_popupOnceTime']").val(),
900
+ u = SFSI("#sfsi_Shown_popuplimitPerUserTime").val(),
901
+ f = {
902
+ action: "updateSrcn7",
903
+ sfsi_popup_text: i,
904
+ sfsi_popup_font: e,
905
+ sfsi_popup_fontColor: color,
906
+ /*sfsi_popup_fontStyle: t,*/
907
+ sfsi_popup_fontSize: n,
908
+ sfsi_popup_background_color: o,
909
+ sfsi_popup_border_color: a,
910
+ sfsi_popup_border_thickness: r,
911
+ sfsi_popup_border_shadow: c,
912
+ sfsi_Show_popupOn: p,
913
+ sfsi_Show_popupOn_PageIDs: _,
914
+ sfsi_Shown_pop: l,
915
+ sfsi_Shown_popupOnceTime: S,
916
+ sfsi_Shown_popuplimitPerUserTime: u,
917
+ nonce: nonce
918
+ };
919
+ SFSI.ajax({
920
+ url: sfsi_icon_ajax_object.ajax_url,
921
+ type: "post",
922
+ data: f,
923
+ dataType: "json",
924
+ async: !0,
925
+ success: function (s) {
926
+ if (s == "wrong_nonce") {
927
+ showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 7);
928
+ afterLoad();
929
+ } else {
930
+ "success" == s ? (showErrorSuc("success", "Saved !", 7), sfsicollapse("#sfsi_save7")) : showErrorSuc("error", "Unkown error , please try again", 7),
931
+ afterLoad();
932
+ }
933
+ }
934
+ });
935
+ }
936
+
937
+ function sfsi_update_step8() {
938
+ var nonce = SFSI("#sfsi_save8").attr("data-nonce");
939
+ beForeLoad();
940
+ var ie = SFSI("input[name='sfsi_form_adjustment']:checked").val(),
941
+ je = SFSI("input[name='sfsi_form_height']").val(),
942
+ ke = SFSI("input[name='sfsi_form_width']").val(),
943
+ le = SFSI("input[name='sfsi_form_border']:checked").val(),
944
+ me = SFSI("input[name='sfsi_form_border_thickness']").val(),
945
+ ne = SFSI("input[name='sfsi_form_border_color']").val(),
946
+ oe = SFSI("input[name='sfsi_form_background']").val(),
947
+
948
+ ae = SFSI("input[name='sfsi_form_heading_text']").val(),
949
+ be = SFSI("#sfsi_form_heading_font option:selected").val(),
950
+ ce = SFSI("#sfsi_form_heading_fontstyle option:selected").val(),
951
+ de = SFSI("input[name='sfsi_form_heading_fontcolor']").val(),
952
+ ee = SFSI("input[name='sfsi_form_heading_fontsize']").val(),
953
+ fe = SFSI("#sfsi_form_heading_fontalign option:selected").val(),
954
+
955
+ ue = SFSI("input[name='sfsi_form_field_text']").val(),
956
+ ve = SFSI("#sfsi_form_field_font option:selected").val(),
957
+ we = SFSI("#sfsi_form_field_fontstyle option:selected").val(),
958
+ xe = SFSI("input[name='sfsi_form_field_fontcolor']").val(),
959
+ ye = SFSI("input[name='sfsi_form_field_fontsize']").val(),
960
+ ze = SFSI("#sfsi_form_field_fontalign option:selected").val(),
961
+
962
+ i = SFSI("input[name='sfsi_form_button_text']").val(),
963
+ j = SFSI("#sfsi_form_button_font option:selected").val(),
964
+ k = SFSI("#sfsi_form_button_fontstyle option:selected").val(),
965
+ l = SFSI("input[name='sfsi_form_button_fontcolor']").val(),
966
+ m = SFSI("input[name='sfsi_form_button_fontsize']").val(),
967
+ n = SFSI("#sfsi_form_button_fontalign option:selected").val(),
968
+ o = SFSI("input[name='sfsi_form_button_background']").val();
969
+
970
+ var f = {
971
+ action: "updateSrcn8",
972
+ sfsi_form_adjustment: ie,
973
+ sfsi_form_height: je,
974
+ sfsi_form_width: ke,
975
+ sfsi_form_border: le,
976
+ sfsi_form_border_thickness: me,
977
+ sfsi_form_border_color: ne,
978
+ sfsi_form_background: oe,
979
+
980
+ sfsi_form_heading_text: ae,
981
+ sfsi_form_heading_font: be,
982
+ sfsi_form_heading_fontstyle: ce,
983
+ sfsi_form_heading_fontcolor: de,
984
+ sfsi_form_heading_fontsize: ee,
985
+ sfsi_form_heading_fontalign: fe,
986
+
987
+ sfsi_form_field_text: ue,
988
+ sfsi_form_field_font: ve,
989
+ sfsi_form_field_fontstyle: we,
990
+ sfsi_form_field_fontcolor: xe,
991
+ sfsi_form_field_fontsize: ye,
992
+ sfsi_form_field_fontalign: ze,
993
+
994
+ sfsi_form_button_text: i,
995
+ sfsi_form_button_font: j,
996
+ sfsi_form_button_fontstyle: k,
997
+ sfsi_form_button_fontcolor: l,
998
+ sfsi_form_button_fontsize: m,
999
+ sfsi_form_button_fontalign: n,
1000
+ sfsi_form_button_background: o,
1001
+
1002
+ nonce: nonce
1003
+ };
1004
+ SFSI.ajax({
1005
+ url: sfsi_icon_ajax_object.ajax_url,
1006
+ type: "post",
1007
+ data: f,
1008
+ dataType: "json",
1009
+ async: !0,
1010
+ success: function (s) {
1011
+ if (s == "wrong_nonce") {
1012
+ showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 7);
1013
+ afterLoad();
1014
+ } else {
1015
+ "success" == s ? (showErrorSuc("success", "Saved !", 8), sfsicollapse("#sfsi_save8"), create_suscriber_form()) : showErrorSuc("error", "Unkown error , please try again", 8),
1016
+ afterLoad();
1017
+ }
1018
+ }
1019
+ });
1020
+ }
1021
+
1022
+ // Queestion 3
1023
+ function sfsi_update_step9() {
1024
+ sfsi_update_step6();
1025
+ var nonce = SFSI("#sfsi_save9").attr("data-nonce");
1026
+ beForeLoad();
1027
+
1028
+ var i_float = SFSI("input[name='sfsi_icons_float']:checked").val(),
1029
+ i_floatP = SFSI("input[name='sfsi_icons_floatPosition']:checked").val(),
1030
+ i_floatMt = SFSI("input[name='sfsi_icons_floatMargin_top']").val(),
1031
+ i_floatMb = SFSI("input[name='sfsi_icons_floatMargin_bottom']").val(),
1032
+ i_floatMl = SFSI("input[name='sfsi_icons_floatMargin_left']").val(),
1033
+ i_floatMr = SFSI("input[name='sfsi_icons_floatMargin_right']").val(),
1034
+ i_disableFloat = SFSI("input[name='sfsi_disable_floaticons']:checked").val(),
1035
+
1036
+ show_via_widget = SFSI("input[name='sfsi_show_via_widget']").val(),
1037
+ show_via__shortcode = SFSI("input[name='sfsi_show_via_shortcode']:checked").length==0?"no":"yes",
1038
+ sfsi_show_via_afterposts = SFSI("input[name='sfsi_show_via_afterposts']").val();
1039
+
1040
+ var f = {
1041
+
1042
+ action: "updateSrcn9",
1043
+
1044
+ sfsi_icons_float: i_float,
1045
+ sfsi_icons_floatPosition: i_floatP,
1046
+ sfsi_icons_floatMargin_top: i_floatMt,
1047
+ sfsi_icons_floatMargin_bottom: i_floatMb,
1048
+ sfsi_icons_floatMargin_left: i_floatMl,
1049
+ sfsi_icons_floatMargin_right: i_floatMr,
1050
+ sfsi_disable_floaticons: i_disableFloat,
1051
+
1052
+ sfsi_show_via_widget: show_via_widget,
1053
+ sfsi_show_via_shortcode: show_via__shortcode,
1054
+ sfsi_show_via_afterposts: sfsi_show_via_afterposts,
1055
+ nonce: nonce
1056
+ };
1057
+ SFSI.ajax({
1058
+ url: sfsi_icon_ajax_object.ajax_url,
1059
+ type: "post",
1060
+ data: f,
1061
+ dataType: "json",
1062
+ async: !0,
1063
+ success: function (s) {
1064
+ if (s == "wrong_nonce") {
1065
+ showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 9);
1066
+ afterLoad();
1067
+ } else {
1068
+ "success" == s ? (showErrorSuc("success", "Saved !", 9), sfsicollapse("#sfsi_save9")) : showErrorSuc("error", "Unkown error , please try again", 9),
1069
+ afterLoad();
1070
+ }
1071
+ }
1072
+ });
1073
+ }
1074
+
1075
+ function sfsi_validationStep2() {
1076
+ //var class_name= SFSI(element).hasAttr('sfsi_validate');
1077
+ SFSI('input').removeClass('inputError'); // remove previous error
1078
+ if (sfsi_validator(SFSI('input[name="sfsi_rss_display"]'), 'checked')) {
1079
+ if (!sfsi_validator(SFSI('input[name="sfsi_rss_url"]'), 'url')) {
1080
+ showErrorSuc("error", "Error : Invalid Rss url ", 2);
1081
+ SFSI('input[name="sfsi_rss_url"]').addClass('inputError');
1082
+
1083
+ return false;
1084
+ }
1085
+ }
1086
+ /* validate facebook */
1087
+ if (sfsi_validator(SFSI('input[name="sfsi_facebookPage_option"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_facebookPage_option"]'), 'checked')) {
1088
+ if (!sfsi_validator(SFSI('input[name="sfsi_facebookPage_url"]'), 'blank')) {
1089
+ showErrorSuc("error", "Error : Invalid Facebook page url ", 2);
1090
+ SFSI('input[name="sfsi_facebookPage_url"]').addClass('inputError');
1091
+
1092
+ return false;
1093
+ }
1094
+ }
1095
+ /* validate twitter user name */
1096
+ if (sfsi_validator(SFSI('input[name="sfsi_twitter_followme"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_twitter_followme"]'), 'checked')) {
1097
+ if (!sfsi_validator(SFSI('input[name="sfsi_twitter_followUserName"]'), 'blank')) {
1098
+ showErrorSuc("error", "Error : Invalid Twitter UserName ", 2);
1099
+ SFSI('input[name="sfsi_twitter_followUserName"]').addClass('inputError');
1100
+ return false;
1101
+ }
1102
+ }
1103
+ // /* validate twitter about page */
1104
+ // if (sfsi_validator(SFSI('input[name="sfsi_twitter_aboutPage"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_twitter_aboutPage"]'), 'checked')) {
1105
+ // if (!sfsi_validator(SFSI('#sfsi_twitter_aboutPageText'), 'blank')) {
1106
+ // showErrorSuc("error", "Error : Tweet about my page is blank ", 2);
1107
+ // SFSI('#sfsi_twitter_aboutPageText').addClass('inputError');
1108
+ // return false;
1109
+ // }
1110
+ // }
1111
+ /* twitter validation */
1112
+ if (sfsi_validator(SFSI('input[name="sfsi_twitter_page"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_twitter_page"]'), 'checked')) {
1113
+ if (!sfsi_validator(SFSI('input[name="sfsi_twitter_pageURL"]'), 'blank')) {
1114
+ showErrorSuc("error", "Error : Invalid twitter page Url ", 2);
1115
+ SFSI('input[name="sfsi_twitter_pageURL"]').addClass('inputError');
1116
+ return false;
1117
+ }
1118
+ }
1119
+
1120
+ /* youtube validation */
1121
+ if (sfsi_validator(SFSI('input[name="sfsi_youtube_page"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_youtube_page"]'), 'checked')) {
1122
+ if (!sfsi_validator(SFSI('input[name="sfsi_youtube_pageUrl"]'), 'blank')) {
1123
+ showErrorSuc("error", "Error : Invalid youtube Url ", 2);
1124
+ SFSI('input[name="sfsi_youtube_pageUrl"]').addClass('inputError');
1125
+ return false;
1126
+ }
1127
+ }
1128
+ /* youtube validation */
1129
+ if (sfsi_validator(SFSI('input[name="sfsi_youtube_page"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_youtube_follow"]'), 'checked')) {
1130
+ cls = SFSI("input[name='sfsi_youtubeusernameorid']:checked").val();
1131
+ if (cls == 'name' && !sfsi_validator(SFSI('input[name="sfsi_ytube_user"]'), 'blank')) {
1132
+ showErrorSuc("error", "Error : Invalid youtube user name", 2);
1133
+ SFSI('input[name="sfsi_ytube_user"]').addClass('inputError');
1134
+ return false;
1135
+ }
1136
+
1137
+ if (cls == 'id' && !sfsi_validator(SFSI('input[name="sfsi_ytube_chnlid"]'), 'blank')) {
1138
+ showErrorSuc("error", "Error : Invalid youtube Channel ID ", 2);
1139
+ SFSI('input[name="sfsi_ytube_user"]').addClass('inputError');
1140
+ return false;
1141
+ }
1142
+ }
1143
+ /* pinterest validation */
1144
+ if (sfsi_validator(SFSI('input[name="sfsi_pinterest_page"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_pinterest_page"]'), 'checked')) {
1145
+ if (!sfsi_validator(SFSI('input[name="sfsi_pinterest_pageUrl"]'), 'blank')) {
1146
+ showErrorSuc("error", "Error : Invalid pinterest page url ", 2);
1147
+ SFSI('input[name="sfsi_pinterest_pageUrl"]').addClass('inputError');
1148
+ return false;
1149
+ }
1150
+ }
1151
+ /* instagram validation */
1152
+ if (sfsi_validator(SFSI('input[name="sfsi_instagram_display"]'), 'checked')) {
1153
+ if (!sfsi_validator(SFSI('input[name="sfsi_instagram_pageUrl"]'), 'blank')) {
1154
+ showErrorSuc("error", "Error : Invalid Instagram url ", 2);
1155
+ SFSI('input[name="sfsi_instagram_pageUrl"]').addClass('inputError');
1156
+ return false;
1157
+ }
1158
+ }
1159
+ /* telegram validation */
1160
+ if (sfsi_validator(SFSI('input[name="sfsi_telegram_display"]'), 'checked')) {
1161
+ if (!sfsi_validator(SFSI('input[name="sfsi_telegram_username"]'), 'blank')) {
1162
+ showErrorSuc("error", "Error : Invalid telegram username ", 2);
1163
+ SFSI('input[name="sfsi_telegram_username"]').addClass('inputError');
1164
+ return false;
1165
+ }
1166
+ }
1167
+ /* telegram validation */
1168
+ if (sfsi_validator(SFSI('input[name="sfsi_telegram_display"]'), 'checked')) {
1169
+ if (!sfsi_validator(SFSI('input[name="sfsi_telegram_message"]'), 'blank')) {
1170
+ showErrorSuc("error", "Error : Invalid Message ", 2);
1171
+ SFSI('input[name="sfsi_telegram_message"]').addClass('inputError');
1172
+ return false;
1173
+ }
1174
+ }
1175
+ /* vk validation */
1176
+ if (sfsi_validator(SFSI('input[name="sfsi_vk_display"]'), 'checked')) {
1177
+ if (!sfsi_validator(SFSI('input[name="sfsi_vk_pageURL"]'), 'blank')) {
1178
+ showErrorSuc("error", "Error : Invalid vk url ", 2);
1179
+ SFSI('input[name="sfsi_vk_pageURL"]').addClass('inputError');
1180
+ return false;
1181
+ }
1182
+ }
1183
+ /* ok validation */
1184
+ if (sfsi_validator(SFSI('input[name="sfsi_ok_display"]'), 'checked')) {
1185
+ if (!sfsi_validator(SFSI('input[name="sfsi_ok_pageURL"]'), 'blank')) {
1186
+ showErrorSuc("error", "Error : Invalid ok url ", 2);
1187
+ SFSI('input[name="sfsi_ok_pageURL"]').addClass('inputError');
1188
+ return false;
1189
+ }
1190
+ }
1191
+ /* weibo validation */
1192
+ if (sfsi_validator(SFSI('input[name="sfsi_weibo_display"]'), 'checked')) {
1193
+ if (!sfsi_validator(SFSI('input[name="sfsi_weibo_pageURL"]'), 'blank')) {
1194
+ showErrorSuc("error", "Error : Invalid weibo url ", 2);
1195
+ SFSI('input[name="sfsi_weibo_pageURL"]').addClass('inputError');
1196
+ return false;
1197
+ }
1198
+ }
1199
+ /* LinkedIn validation */
1200
+ if (sfsi_validator(SFSI('input[name="sfsi_linkedin_page"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_linkedin_page"]'), 'checked')) {
1201
+ if (!sfsi_validator(SFSI('input[name="sfsi_linkedin_pageURL"]'), 'blank')) {
1202
+ showErrorSuc("error", "Error : Invalid LinkedIn page url ", 2);
1203
+ SFSI('input[name="sfsi_linkedin_pageURL"]').addClass('inputError');
1204
+ return false;
1205
+ }
1206
+ }
1207
+ if (sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendBusines"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendBusines"]'), 'checked')) {
1208
+ if (!sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendProductId"]'), 'blank') || !sfsi_validator(SFSI('input[name="sfsi_linkedin_recommendCompany"]'), 'blank')) {
1209
+ showErrorSuc("error", "Error : Please Enter Product Id and Company for LinkedIn Recommendation ", 2);
1210
+ SFSI('input[name="sfsi_linkedin_recommendProductId"]').addClass('inputError');
1211
+ SFSI('input[name="sfsi_linkedin_recommendCompany"]').addClass('inputError');
1212
+ return false;
1213
+ }
1214
+ }
1215
+ /* validate custom links */
1216
+ var er = 0;
1217
+ SFSI("input[name='sfsi_CustomIcon_links[]']").each(function () {
1218
+
1219
+ //if(!sfsi_validator(SFSI(this),'blank') || !sfsi_validator(SFSI(SFSI(this)),'url') )
1220
+ if (!sfsi_validator(SFSI(this), 'blank')) {
1221
+ showErrorSuc("error", "Error : Please Enter a valid Custom link ", 2);
1222
+ SFSI(this).addClass('inputError');
1223
+ er = 1;
1224
+ }
1225
+ });
1226
+ if (!er) return true;
1227
+ else return false;
1228
+ }
1229
+
1230
+ function sfsi_validationStep3() {
1231
+ SFSI('input').removeClass('inputError'); // remove previous error
1232
+ /* validate shuffle effect */
1233
+ if (sfsi_validator(SFSI('input[name="sfsi_shuffle_icons"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_shuffle_icons"]'), 'checked')) {
1234
+ if ((!sfsi_validator(SFSI('input[name="sfsi_shuffle_Firstload"]'), 'activte') || !sfsi_validator(SFSI('input[name="sfsi_shuffle_Firstload"]'), 'checked')) && (!sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'), 'activte') || !sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'), 'checked'))) {
1235
+ showErrorSuc("error", "Error : Please Chose a Shuffle option ", 3);
1236
+ SFSI('input[name="sfsi_shuffle_Firstload"]').addClass('inputError');
1237
+ SFSI('input[name="sfsi_shuffle_interval"]').addClass('inputError');
1238
+ return false;
1239
+ }
1240
+ }
1241
+ if (!sfsi_validator(SFSI('input[name="sfsi_shuffle_icons"]'), 'checked') && (sfsi_validator(SFSI('input[name="sfsi_shuffle_Firstload"]'), 'checked') || sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'), 'checked'))) {
1242
+ showErrorSuc("error", "Error : Please check \"Shuffle them automatically\" option also ", 3);
1243
+ SFSI('input[name="sfsi_shuffle_Firstload"]').addClass('inputError');
1244
+ SFSI('input[name="sfsi_shuffle_interval"]').addClass('inputError');
1245
+ return false;
1246
+ }
1247
+
1248
+ /* validate twitter user name */
1249
+ if (sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_shuffle_interval"]'), 'checked')) {
1250
+
1251
+ if (!sfsi_validator(SFSI('input[name="sfsi_shuffle_intervalTime"]'), 'blank') || !sfsi_validator(SFSI('input[name="sfsi_shuffle_intervalTime"]'), 'int')) {
1252
+ showErrorSuc("error", "Error : Invalid shuffle time interval", 3);
1253
+ SFSI('input[name="sfsi_shuffle_intervalTime"]').addClass('inputError');
1254
+ return false;
1255
+ }
1256
+ }
1257
+ return true;
1258
+ }
1259
+
1260
+ function sfsi_validationStep4() {
1261
+ //var class_name= SFSI(element).hasAttr('sfsi_validate');
1262
+ /* validate email */
1263
+ if (sfsi_validator(SFSI('input[name="sfsi_email_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_email_countsDisplay"]'), 'checked')) {
1264
+ if (SFSI('input[name="sfsi_email_countsFrom"]:checked').val() == 'manual') {
1265
+ if (!sfsi_validator(SFSI('input[name="sfsi_email_manualCounts"]'), 'blank')) {
1266
+ showErrorSuc("error", "Error : Please Enter manual counts for Email icon ", 4);
1267
+ SFSI('input[name="sfsi_email_manualCounts"]').addClass('inputError');
1268
+ return false;
1269
+ }
1270
+ }
1271
+ }
1272
+ /* validate RSS count */
1273
+ if (sfsi_validator(SFSI('input[name="sfsi_rss_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_rss_countsDisplay"]'), 'checked')) {
1274
+ if (!sfsi_validator(SFSI('input[name="sfsi_rss_manualCounts"]'), 'blank')) {
1275
+ showErrorSuc("error", "Error : Please Enter manual counts for Rss icon ", 4);
1276
+ SFSI('input[name="sfsi_rss_countsDisplay"]').addClass('inputError');
1277
+ return false;
1278
+ }
1279
+ }
1280
+ /* validate facebook */
1281
+ if (sfsi_validator(SFSI('input[name="sfsi_facebook_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_facebook_countsDisplay"]'), 'checked')) {
1282
+ /*if(SFSI('input[name="sfsi_facebook_countsFrom"]:checked').val()=='likes' )
1283
+ {
1284
+ if(!sfsi_validator(SFSI('input[name="sfsi_facebook_PageLink"]'),'blank'))
1285
+ { showErrorSuc("error","Error : Please Enter facebook page Url ",4);
1286
+ SFSI('input[name="sfsi_facebook_PageLink"]').addClass('inputError');
1287
+ return false;
1288
+ }
1289
+ } */
1290
+ if (SFSI('input[name="sfsi_facebook_countsFrom"]:checked').val() == 'manual') {
1291
+ if (!sfsi_validator(SFSI('input[name="sfsi_facebook_manualCounts"]'), 'blank') && !sfsi_validator(SFSI('input[name="sfsi_facebook_manualCounts"]'), 'url')) {
1292
+ showErrorSuc("error", "Error : Please Enter a valid facebook manual counts ", 4);
1293
+ SFSI('input[name="sfsi_facebook_manualCounts"]').addClass('inputError');
1294
+ return false;
1295
+ }
1296
+ }
1297
+ }
1298
+
1299
+ /* validate twitter */
1300
+ if (sfsi_validator(SFSI('input[name="sfsi_twitter_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_twitter_countsDisplay"]'), 'checked')) {
1301
+ if (SFSI('input[name="sfsi_twitter_countsFrom"]:checked').val() == 'source') {
1302
+ if (!sfsi_validator(SFSI('input[name="tw_consumer_key"]'), 'blank')) {
1303
+ showErrorSuc("error", "Error : Please Enter a valid consumer key", 4);
1304
+ SFSI('input[name="tw_consumer_key"]').addClass('inputError');
1305
+ return false;
1306
+ }
1307
+ if (!sfsi_validator(SFSI('input[name="tw_consumer_secret"]'), 'blank')) {
1308
+ showErrorSuc("error", "Error : Please Enter a valid consume secret ", 4);
1309
+ SFSI('input[name="tw_consumer_secret"]').addClass('inputError');
1310
+ return false;
1311
+ }
1312
+ if (!sfsi_validator(SFSI('input[name="tw_oauth_access_token"]'), 'blank')) {
1313
+ showErrorSuc("error", "Error : Please Enter a valid oauth access token", 4);
1314
+ SFSI('input[name="tw_oauth_access_token"]').addClass('inputError');
1315
+ return false;
1316
+ }
1317
+ if (!sfsi_validator(SFSI('input[name="tw_oauth_access_token_secret"]'), 'blank')) {
1318
+ showErrorSuc("error", "Error : Please Enter a oAuth access token secret", 4);
1319
+ SFSI('input[name="tw_oauth_access_token_secret"]').addClass('inputError');
1320
+ return false;
1321
+ }
1322
+ }
1323
+ if (SFSI('input[name="sfsi_linkedIn_countsFrom"]:checked').val() == 'manual') {
1324
+
1325
+ if (!sfsi_validator(SFSI('input[name="sfsi_twitter_manualCounts"]'), 'blank')) {
1326
+ showErrorSuc("error", "Error : Please Enter Twitter manual counts ", 4);
1327
+ SFSI('input[name="sfsi_twitter_manualCounts"]').addClass('inputError');
1328
+ return false;
1329
+ }
1330
+ }
1331
+ }
1332
+ /* validate LinkedIn */
1333
+ if (sfsi_validator(SFSI('input[name="sfsi_linkedIn_countsDisplay"]'), 'activte') && sfsi_validator(SFSI('input[name="sfsi_linkedIn_countsDisplay"]'), 'checked')) {
1334
+ if (SFSI('input[name="sfsi_linkedIn_countsFrom"]:checked').val() == 'follower') {
1335
+ if (!sfsi_validator(SFSI('input[name="ln_company"]'), 'blank')) {
1336
+ showErrorSuc("error", "Error : Please Enter a valid company name", 4);
1337
+ SFSI('input[name="ln_company"]').addClass('inputError');
1338
+ return false;
1339
+ }
1340
+ if (!sfsi_validator(SFSI('input[name="ln_api_key"]'), 'blank')) {
1341
+ showErrorSuc("error", "Error : Please Enter a valid API key ", 4);
1342
+ SFSI('input[name="ln_api_key"]').addClass('inputError');
1343
+ return false;
1344
+ }
1345
+ if (!sfsi_validator(SFSI('input[name="ln_secret_key"]'), 'blank')) {
1346
+ showErrorSuc("error", "Error : Please Enter a valid secret ", 4);
1347
+ SFSI('input[name="ln_secret_key"]').addClass('inputError');
1348
+ return false;
1349
+ }
1350
+ if (!sfsi_validator(SFSI('input[name="ln_oAuth_user_token"]'), 'blank')) {
1351
+ showErrorSuc("error", "Error : Please Enter a oAuth Access Token", 4);
1352
+