Blog2Social: Social Media Auto Post & Scheduler - Version 6.3.0

Version Description

Blog2Social Community and Autoposter Retweets

Download this release

Release Info

Developer PR-Gateway
Plugin Icon 128x128 Blog2Social: Social Media Auto Post & Scheduler
Version 6.3.0
Comparing to
See all releases

Code changes from version 6.2.0 to 6.3.0

assets/css/b2s/curation.css CHANGED
@@ -1,209 +1,229 @@
1
- .b2s-curation-input-area-info-header-text{
2
- margin: 15px 0 10px !important;
3
- font-style: normal;
4
- font-weight: normal;
5
- font-size: 16px;
6
- color: #5d5d5d;
7
- }
8
-
9
- .b2s-color-text-red{
10
- color: #f14242 !important;
11
- }
12
-
13
- .b2s-btn-curation-continue{
14
- font-weight: 600 !important;
15
- letter-spacing: .1em;
16
- text-transform: uppercase;
17
- font-size: 12px !important;
18
- }
19
-
20
- .b2s-curation-input-area-btn{
21
- margin: 25px 0 0;
22
- }
23
-
24
- #b2s-curation-input-url-help, .b2s-curation-result-area, .b2s-curation-image-area{
25
- display: none;
26
- }
27
-
28
- .b2s-loading-area {
29
- width: 100% !important;
30
- }
31
-
32
- .b2s-btn-change-url-preview{
33
- cursor: pointer;
34
- }
35
- #b2s-curation-no-review-info, #b2s-curation-no-auth-info, .b2s-post-curation-ship-date-area, #b2s-curation-no-data-info, #b2s-curation-saved-draft-info, .b2s-curation-post-list-area{
36
- display: none;
37
- }
38
-
39
- .b2s-post-item-details-preview-url{
40
- word-wrap: break-word;
41
- }
42
-
43
- .b2s-post-item-details-preview-title{
44
- font-weight: 600;
45
- font-size: 14px;
46
- }
47
- .b2s-post-item-details-preview-desc{
48
- font-size: 12px;
49
- }
50
-
51
- #b2s-post-curation-twitter-select option:disabled {
52
- color: #d54e21;
53
- opacity: 0.2;
54
- }
55
-
56
-
57
- .b2s-post-item-area {
58
- width: 100%;
59
- }
60
-
61
- .b2s-post-item-thumb {
62
- width: 5%;
63
- margin-right: 8px;
64
- }
65
- .b2s-post-item-details, .b2s-post-item-thumb {
66
- float: left;
67
- }
68
- .b2s-post-item-details {
69
- width: 93%;
70
- }
71
-
72
- .b2s-post-item-thumb img {
73
- border-radius: 50%;
74
- width: 48px;
75
- }
76
-
77
- .b2s-post-item-details h4 {
78
- font-size: 16px;
79
- font-weight: 600;
80
- text-transform: uppercase;
81
- margin: 3px 3px 3px 0px;
82
- }
83
-
84
- .b2s-post-item-network-deprecated {
85
- font-weight: 600;
86
- font-size: 14px;
87
- margin: 3px 3px 3px 0px;
88
- }
89
-
90
- .b2s-post-item-details p {
91
- font-size: 12px;
92
- }
93
-
94
- .b2s-post-item-details-message-result {
95
- margin-top: 2px;
96
- }
97
-
98
- .b2s-post-curation-ship-date[readonly]{
99
- background-color: #fff !important;
100
- }
101
-
102
- #b2s-btn-curation-draft {
103
- margin-left: 10px;
104
- }
105
-
106
- .b2s-curation-format-link {
107
- border-top-right-radius: 0px !important;
108
- border-bottom-right-radius: 0px !important;
109
- }
110
-
111
- .b2s-curation-format-image {
112
- border-top-left-radius: 0px !important;
113
- border-bottom-left-radius: 0px !important;
114
- }
115
-
116
- .b2s-image-remove-btn{
117
- position: absolute;
118
- top: -5px;
119
- right: 0px;
120
- font-weight: 700 !important;
121
- }
122
-
123
- .b2s-post-item-details-url-image {
124
- cursor: pointer;
125
- margin-right: 10px;
126
- margin-bottom: 20px;
127
- border: 1px dashed #bdbfc2;
128
- box-shadow: none;
129
- padding: 5px;
130
- }
131
-
132
- .b2s-curation-image-area {
133
- margin-top: 20px;
134
- }
135
-
136
- .b2s-post-item-details-item-message-area {
137
- display: inline-block;
138
- position: relative;
139
- min-width: 100%;
140
- }
141
-
142
- .emoji-picker__content .active {
143
- background-color: #fff;
144
- }
145
-
146
- .emoji-picker__content {
147
- height: 21.5rem;
148
- }
149
-
150
- .emoji-picker__preview {
151
- display: none;
152
- }
153
-
154
- .emoji-picker {
155
- height: auto;
156
- z-index: 1060;
157
- }
158
-
159
- .emoji-picker__tab.active {
160
- color: #79b333;
161
- border-bottom: 3px solid #79b333;
162
- }
163
-
164
- .b2s-image-item{
165
- background-color: #fff;
166
- border: 1px solid #ddd;
167
- display: block;
168
- float: left;
169
- height: 200px;
170
- line-height: 1.42857;
171
- margin-bottom: 15px;
172
- margin-left: 15px;
173
- margin-top: 15px;
174
- overflow: hidden;
175
- padding: 4px;
176
-
177
- transition: border 0.2s ease-in-out 0s;
178
- width: 185px;
179
- }
180
- .img-thumbnail{
181
- display: block !important;
182
- height: auto;
183
- margin-left: auto;
184
- margin-right: auto;
185
- max-height: 100%;
186
- }
187
-
188
- .b2s-image-item-thumb{
189
- height: 150px;
190
- }
191
- .b2s-image-item-thumb label{
192
- display: inline;
193
- }
194
- .b2s-image-item-caption{
195
- color: #333;
196
- }
197
-
198
- .b2s-image-change {
199
- margin-right: 5px !important;
200
- }
201
-
202
- .b2s-curation-result-area {
203
- margin-top: 20px;
204
- }
205
-
206
- .b2s-break-word {
207
- white-space: normal !important;
208
- text-align: left !important;
209
}
1
+ .b2s-curation-input-area-info-header-text{
2
+ margin: 15px 0 10px !important;
3
+ font-style: normal;
4
+ font-weight: normal;
5
+ font-size: 16px;
6
+ color: #5d5d5d;
7
+ }
8
+
9
+ .b2s-color-text-red{
10
+ color: #f14242 !important;
11
+ }
12
+
13
+ .b2s-btn-curation-continue{
14
+ font-weight: 600 !important;
15
+ letter-spacing: .1em;
16
+ text-transform: uppercase;
17
+ font-size: 12px !important;
18
+ }
19
+
20
+ .b2s-curation-input-area-btn{
21
+ margin: 25px 0 0;
22
+ }
23
+
24
+ #b2s-curation-input-url-help, .b2s-curation-result-area, .b2s-curation-image-area{
25
+ display: none;
26
+ }
27
+
28
+ .b2s-loading-area {
29
+ width: 100% !important;
30
+ }
31
+
32
+ .b2s-btn-change-url-preview{
33
+ cursor: pointer;
34
+ }
35
+ #b2s-curation-no-review-info, #b2s-curation-no-auth-info, .b2s-post-curation-ship-date-area, #b2s-curation-no-data-info, #b2s-curation-saved-draft-info, .b2s-curation-post-list-area{
36
+ display: none;
37
+ }
38
+
39
+ .b2s-post-item-details-preview-url{
40
+ word-wrap: break-word;
41
+ }
42
+
43
+ .b2s-post-item-details-preview-title{
44
+ font-weight: 600;
45
+ font-size: 14px;
46
+ }
47
+ .b2s-post-item-details-preview-desc{
48
+ font-size: 12px;
49
+ }
50
+
51
+ #b2s-post-curation-twitter-select option:disabled {
52
+ color: #d54e21;
53
+ opacity: 0.2;
54
+ }
55
+
56
+
57
+ .b2s-post-item-area {
58
+ width: 100%;
59
+ }
60
+
61
+ .b2s-post-item-thumb {
62
+ width: 5%;
63
+ margin-right: 8px;
64
+ }
65
+ .b2s-post-item-details, .b2s-post-item-thumb {
66
+ float: left;
67
+ }
68
+ .b2s-post-item-details {
69
+ width: 93%;
70
+ }
71
+
72
+ .b2s-post-item-thumb img {
73
+ border-radius: 50%;
74
+ width: 48px;
75
+ }
76
+
77
+ .b2s-post-item-details h4 {
78
+ font-size: 16px;
79
+ font-weight: 600;
80
+ text-transform: uppercase;
81
+ margin: 3px 3px 3px 0px;
82
+ }
83
+
84
+ .b2s-post-item-network-deprecated {
85
+ font-weight: 600;
86
+ font-size: 14px;
87
+ margin: 3px 3px 3px 0px;
88
+ }
89
+
90
+ .b2s-post-item-details p {
91
+ font-size: 12px;
92
+ }
93
+
94
+ .b2s-post-item-details-message-result {
95
+ margin-top: 2px;
96
+ }
97
+
98
+ .b2s-post-curation-ship-date[readonly]{
99
+ background-color: #fff !important;
100
+ }
101
+
102
+ #b2s-btn-curation-draft {
103
+ margin-left: 10px;
104
+ }
105
+
106
+ .b2s-curation-format-link {
107
+ border-top-right-radius: 0px !important;
108
+ border-bottom-right-radius: 0px !important;
109
+ }
110
+
111
+ .b2s-curation-format-image {
112
+ border-top-left-radius: 0px !important;
113
+ border-bottom-left-radius: 0px !important;
114
+ }
115
+
116
+ .b2s-image-remove-btn{
117
+ position: absolute;
118
+ top: -5px;
119
+ right: 0px;
120
+ font-weight: 700 !important;
121
+ }
122
+
123
+ .b2s-post-item-details-url-image {
124
+ cursor: pointer;
125
+ margin-right: 10px;
126
+ margin-bottom: 20px;
127
+ border: 1px dashed #bdbfc2;
128
+ box-shadow: none;
129
+ padding: 5px;
130
+ }
131
+
132
+ .b2s-curation-image-area {
133
+ margin-top: 20px;
134
+ }
135
+
136
+ .b2s-post-item-details-item-message-area {
137
+ display: inline-block;
138
+ position: relative;
139
+ min-width: 100%;
140
+ }
141
+
142
+ .emoji-picker__content .active {
143
+ background-color: #fff;
144
+ }
145
+
146
+ .emoji-picker__content {
147
+ height: 21.5rem;
148
+ }
149
+
150
+ .emoji-picker__preview {
151
+ display: none;
152
+ }
153
+
154
+ .emoji-picker {
155
+ height: auto;
156
+ z-index: 1060;
157
+ }
158
+
159
+ .emoji-picker__tab.active {
160
+ color: #79b333;
161
+ border-bottom: 3px solid #79b333;
162
+ }
163
+
164
+ .b2s-image-item{
165
+ background-color: #fff;
166
+ border: 1px solid #ddd;
167
+ display: block;
168
+ float: left;
169
+ height: 200px;
170
+ line-height: 1.42857;
171
+ margin-bottom: 15px;
172
+ margin-left: 15px;
173
+ margin-top: 15px;
174
+ overflow: hidden;
175
+ padding: 4px;
176
+
177
+ transition: border 0.2s ease-in-out 0s;
178
+ width: 185px;
179
+ }
180
+ .img-thumbnail{
181
+ display: block !important;
182
+ height: auto;
183
+ margin-left: auto;
184
+ margin-right: auto;
185
+ max-height: 100%;
186
+ }
187
+
188
+ .b2s-image-item-thumb{
189
+ height: 150px;
190
+ }
191
+ .b2s-image-item-thumb label{
192
+ display: inline;
193
+ }
194
+ .b2s-image-item-caption{
195
+ color: #333;
196
+ }
197
+
198
+ .b2s-image-change {
199
+ margin-right: 5px !important;
200
+ }
201
+
202
+ .b2s-curation-result-area {
203
+ margin-top: 20px;
204
+ }
205
+
206
+ .b2s-break-word {
207
+ white-space: normal !important;
208
+ text-align: left !important;
209
+ }
210
+
211
+ .b2s-network-info-img {
212
+ width: 5.5%;
213
+ margin-left: 5px;
214
+ }
215
+
216
+ .b2s-network-info-img-disabled {
217
+ width: 5.5%;
218
+ opacity: 0.3;
219
+ }
220
+
221
+ .b2s-network-imgs {
222
+ margin-top: 10px;
223
+ margin-bottom: 10px;
224
+ display: inline-block;
225
+ }
226
+
227
+ .b2s-bold {
228
+ font-weight: 600;
229
}
assets/css/b2s/network.css CHANGED
@@ -1,640 +1,644 @@
1
- /*Custom*/
2
-
3
- .b2s-loading-area-modify-collection{
4
- text-align: center;
5
- }
6
-
7
- .list-group-item{
8
- border: 0px !important;
9
- }
10
- @media(max-width: 767px) {
11
- .form-inline {
12
- display: none;
13
- }
14
- .filterHide {
15
- display: none;
16
- }
17
- .form-inline button {
18
- width: 100%;
19
- margin-bottom: 10px;
20
- }
21
- }
22
-
23
- @media(max-width: 450px) {
24
- .add-padding-left{
25
- padding: 0px !important;
26
- }
27
- }
28
-
29
- .error{
30
- border: 1px solid #FF0000 !important;
31
- }
32
- .b2s-network-auth-btn{
33
- margin-left: 2px;
34
- line-height: 2;
35
- }
36
-
37
- .b2s-network-item-auth-list-btn-delete{
38
- line-height: 2;
39
- }
40
-
41
- .b2s-network-get-more-btn{
42
- text-decoration: underline;
43
- }
44
- .b2s-network-auth-count{
45
- font-weight: 700;
46
- line-height: 1.5;
47
- }
48
-
49
- .b2s-sched-manager-title{
50
- font-weight: 700;
51
- line-height: 1.5;
52
- padding-right: 165px;
53
- }
54
-
55
- .b2s-sched-manager-time-area{
56
- width: 150px;
57
- margin-right: -35px;
58
- }
59
-
60
- .b2s-sched-manager-add-padding{
61
- margin-right: -13px;
62
- }
63
-
64
- .b2s-add-padding-network-refresh{
65
- padding: 4px 7px;
66
- }
67
-
68
- .b2s-add-padding-network-team{
69
- padding: 4px 5px;
70
- line-height: 2;
71
- }
72
-
73
- .b2s-sched-manager-best-time-info{
74
- padding-left: 15px;
75
- font-size: 12px;
76
- }
77
-
78
- .b2s-network-time-manager-area{
79
- padding-right: 8px;
80
- }
81
-
82
- .b2s-add-padding-network-edit{
83
- padding: 7px 4px;
84
- }
85
- .b2s-network-mandant-area{
86
- margin-top: -7px !important;
87
- }
88
-
89
- .b2s-add-padding-network-delete{
90
- padding: 4px 5px;
91
- }
92
-
93
- .b2s-sched-manager-day-area{
94
- width: 150px;
95
- padding-top: 2px;
96
- }
97
-
98
- .b2s-sched-manager-premium-area{
99
- width: 195px;
100
- padding-top: 5px;
101
- }
102
-
103
- .b2s-settings-sched-item-input-time, .b2s-settings-sched-item-input-day{
104
- max-width: 90px;
105
- }
106
-
107
- .b2s-network-mandant-select{
108
- min-width: 200px;
109
- }
110
-
111
- .b2s-network-mandant-name{
112
- font-size: 12px;
113
- font-style: italic;
114
- color: #777;
115
- font-weight: normal;
116
-
117
- }
118
-
119
- .b2s-network-approved-from{
120
- font-size: 12px;
121
- font-style: italic;
122
- color: #777;
123
- font-weight: normal;
124
-
125
- }
126
-
127
- .b2s-network-item-auth-list{
128
- padding-top:6px;
129
- font-size: 0.80rem !important;
130
- }
131
-
132
- .b2s-network-auth-list-info{
133
- font-weight: 700;
134
- }
135
-
136
- .b2s-network-auth-list-info a {
137
- text-decoration: underline;
138
- }
139
-
140
- .glyphicon-white{
141
- color:#FFFFFF;
142
- }
143
-
144
- .b2s-network-item-auth-list-li{
145
- border: 1px solid rgba(0,0,0,.1);
146
- border-bottom: 0px;
147
- line-height: 1.5;
148
- padding: 6px;
149
- margin-bottom: 0px !important;
150
- }
151
-
152
- ul.b2s-network-item-auth-list li:last-child{
153
- border-bottom: 1px solid rgba(0,0,0,.1) !important;
154
- }
155
-
156
- .b2s-network-item-auth-type{
157
- font-weight: 600;
158
- line-height: 2;
159
- }
160
-
161
- .b2s-modify-board-and-group-network-modal-footer, .b2s-edit-network-auth-settings-footer{
162
- border: 0px !important;
163
- }
164
-
165
- .b2s-sched-manager-item-input-day {
166
- color: #32373c;
167
- display: inline-block;
168
- vertical-align: middle;
169
- font: 18px/1 Arial,sans-serif;
170
- font-weight: 700;
171
- line-height: 30px;
172
- padding: 0 2px !important;
173
- min-width: 28px;
174
- text-align: center;
175
- border: 0 !important;
176
- width: 2% !important;
177
- -webkit-appearance: none !important;
178
- box-shadow: inset 0px 0px 0px rgba(0,0,0,0) !important;
179
- margin: 0 !important;
180
- background-color:white !important;
181
- }
182
- .b2s-sched-manager-item-input-day-btn-plus {
183
- cursor: pointer;
184
- display: inline-block;
185
- vertical-align: middle;
186
- width: 24px;
187
- height: 24px;
188
- font: 23px/1 Arial,sans-serif;
189
- text-align: center;
190
- border-radius: 50%;
191
- background-color: #eee;
192
- border: 1px solid #ddd;
193
- box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
194
- color: #32373c
195
- }
196
- .b2s-sched-manager-item-input-day-btn-minus {
197
- cursor: pointer;
198
- display: inline-block;
199
- vertical-align: middle;
200
- width: 24px;
201
- height: 24px;
202
- font: 21px/1 Arial,sans-serif;
203
- text-align: center;
204
- border-radius: 50%;
205
- background-clip: padding-box;
206
- background-color: #eee;
207
- border: 1px solid #ddd;
208
- box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
209
- color: #32373c
210
- }
211
- .b2s-text-middle{
212
- vertical-align: middle;
213
- font: 13px/1 Arial,sans-serif;
214
- }
215
-
216
- .b2s-label-warning-border-left{
217
- border-left: 3px solid #FDBF45;
218
- }
219
-
220
- .b2s-label-info-border-left{
221
- border-left: 3px solid #31708f;
222
- }
223
-
224
- .b2s-label-danger-border-left{
225
- border-left: 3px solid #d9534f;
226
- }
227
-
228
- .b2s-label-success-border-left{
229
- border-left: 3px solid #398439;
230
- }
231
-
232
- .b2s-margin-top-8 {
233
- margin-top: 8px;
234
- }
235
-
236
- .b2s-margin-bottom-8 {
237
- margin-bottom: 8px;
238
- }
239
-
240
- #b2s-manage-auth-team-modal, #b2s-edit-network-auth-settings {
241
- z-index: 1049;
242
- }
243
-
244
- .b2s-add-padding-network-placeholder-btn{
245
- padding: 4px 14px;
246
- }
247
-
248
- .b2s-bold{
249
- font-weight: 600;
250
- }
251
-
252
- #b2s-delete-network-sched-post {
253
- float: left;
254
- }
255
-
256
- .b2s-btn-network-delete-list {
257
- margin-left: 36px;
258
- list-style: disc;
259
- }
260
-
261
- .b2s-loading-area-manage-auth-team-modal{
262
- float: left;
263
- text-align: center;
264
- }
265
-
266
-
267
-
268
-
269
- .b2s-edit-template-content-post-item {
270
- appearance:button;
271
- -moz-appearance:button;
272
- -webkit-appearance:button;
273
- display: inline-block;
274
- padding: 2px 5px;
275
- cursor: pointer;
276
- margin-right: 5px !important;
277
- }
278
-
279
- .b2s-edit-template-preview-profile-img-1 {
280
- border: 1px solid lightgray;
281
- border-radius: 25px;
282
- padding: 1px;
283
- height: 36px;
284
- width: 36px;
285
- }
286
-
287
- .b2s-edit-template-preview-profile-img-3 {
288
- border: 1px solid lightgray;
289
- border-radius: 25px;
290
- padding: 1px;
291
- height: 36px;
292
- width: 36px;
293
- }
294
-
295
- .b2s-edit-template-preview-profile-img-12 {
296
- border: 1px solid lightgray;
297
- border-radius: 25px;
298
- padding: 1px;
299
- height: 36px;
300
- width: 36px;
301
- }
302
-
303
- .b2s-edit-template-preview-profile-img-2 {
304
- border: 1px solid lightgray;
305
- border-radius: 25px;
306
- padding: 1px;
307
- height: 36px;
308
- width: 36px;
309
- }
310
-
311
- .b2s-edit-template-preview-profile-name-1 {
312
- margin-left: -20px;
313
- color: #385898;
314
- font-family: Helvetica, Arial, sans-serif;
315
- font-size: 14px;
316
- font-weight: 600;
317
- }
318
-
319
- .b2s-edit-template-preview-profile-name-3 {
320
- margin-left: -20px;
321
- font-family: Helvetica, Arial, sans-serif;
322
- font-size: 14px;
323
- font-weight: 600;
324
- }
325
-
326
- .b2s-edit-template-preview-profile-name-2 {
327
- font-family: Helvetica, Arial, sans-serif;
328
- font-size: 14px;
329
- font-weight: 600;
330
- }
331
-
332
- .b2s-edit-template-preview-profile-name-12 {
333
- font-family: Helvetica, Arial, sans-serif;
334
- font-size: 12px;
335
- font-weight: 600;
336
- margin-left: -10px;
337
- margin-top: 10px;
338
- }
339
-
340
- .b2s-edit-template-preview-content-profile-name-12 {
341
- font-family: Helvetica, Arial, sans-serif;
342
- font-size: 12px;
343
- font-weight: 600;
344
- margin-right: 5px;
345
- }
346
-
347
- .b2s-edit-template-preview-profile-handle-2 {
348
- font-size: 14px;
349
- color: gray;
350
- }
351
-
352
- .b2s-edit-template-preview-content {
353
- word-wrap: break-word;
354
- }
355
-
356
- .b2s-edit-template-preview-link-image, .b2s-edit-template-preview-image-image {
357
- width: 100%;
358
- }
359
-
360
- .b2s-edit-template-preview-2 {
361
- margin-left: -20px;
362
- }
363
-
364
- .b2s-edit-template-preview-image-image-2 {
365
- border-radius: 10px;
366
- border: 1px solid lightgrey;
367
- margin-top: 10px;
368
- }
369
-
370
- .b2s-edit-template-preview-image-image-3, .b2s-edit-template-preview-link-image-3 {
371
- margin-top: 10px;
372
- border-top: 1px solid lightgray;
373
- border-bottom: 1px solid lightgray;
374
- }
375
-
376
- .b2s-edit-template-preview-link-image-2 {
377
- width: auto !important;
378
- height: 85px;
379
- }
380
-
381
- .b2s-edit-template-preview-image-12 {
382
- width: 100%;
383
- }
384
-
385
- .b2s-edit-template-link-post {
386
- border-top-right-radius: 0px !important;
387
- border-bottom-right-radius: 0px !important;
388
- }
389
-
390
- .b2s-edit-template-image-post {
391
- border-top-left-radius: 0px !important;
392
- border-bottom-left-radius: 0px !important;
393
- }
394
-
395
- .b2s-edit-template-preview-image-border-12 {
396
- padding: 0 !important;
397
- border-top: 1px solid lightgray;
398
- border-bottom: 1px solid lightgray;
399
- margin: 10px 0px;
400
- overflow: hidden;
401
- height: 370px;
402
- }
403
-
404
- .b2s-edit-template-preview-border-12 {
405
- padding: 10px 0px;
406
- }
407
- .b2s-edit-template-preview-border-1 {
408
- padding-top: 10px;
409
- }
410
-
411
- .b2s-edit-template-preview-border-3 {
412
- padding-top: 10px;
413
- }
414
-
415
- .b2s-edit-template-preview-border {
416
- border: 1px solid lightgray;
417
- }
418
-
419
- .b2s-edit-template-preview-content-1 {
420
- margin: 5px 0px;
421
- }
422
-
423
- .b2s-edit-template-preview-content-3 {
424
- margin: 5px 0px;
425
- }
426
-
427
- .b2s-edit-template-preview-image-border-1 {
428
- padding: 0px !important;
429
- border-top: 1px solid lightgray;
430
- border-bottom: 1px solid lightgray;
431
- }
432
-
433
- .b2s-edit-template-preview-image-border-3 {
434
- padding: 0px !important;
435
- }
436
-
437
- .b2s-edit-template-preview-link-title {
438
- font-weight: 700;
439
- font-size: 16px;
440
- }
441
-
442
- .b2s-edit-template-preview-link-meta-box-1 {
443
- background-color: #f2f3f5;
444
- padding-bottom: 5px;
445
- border-bottom: 1px solid lightgray;
446
- }
447
-
448
- .b2s-edit-template-preview-link-meta-box-2 {
449
- border: 1px solid lightgray;
450
- border-radius: 14px;
451
- margin-left: 0px !important;
452
- margin-top: 10px;
453
- }
454
-
455
- .b2s-edit-template-preview-link-meta-box-image-2 {
456
- overflow: hidden;
457
- height: 85px;
458
- display: flex;
459
- align-items: center;
460
- justify-content: center;
461
- border-top-left-radius: 14px;
462
- border-bottom-left-radius: 14px;
463
- border-right: 1px solid lightgray;
464
- }
465
-
466
- .b2s-edit-template-preview-link-meta-box-desc-2 {
467
- color: gray;
468
- }
469
-
470
- .b2s-edit-template-preview-link-meta-box-domain-2 {
471
- color: gray;
472
- }
473
-
474
- .b2s-edit-template-preview-link-meta-box-3 {
475
- background-color: #f2f3f5;
476
- padding: 5px 0px;
477
- border-bottom: 1px solid lightgray;
478
- }
479
-
480
- .b2s-edit-template-preview-link-meta-box-domain-3 {
481
- font-size: 10px;
482
- color: gray;
483
- }
484
-
485
- .b2s-edit-template-preview-link-meta-box-title-3 {
486
- font-weight: 600;
487
- }
488
-
489
- .b2s-edit-template-link-info {
490
- color: #31708f;
491
- }
492
-
493
- .b2s-edit-template-section-headline {
494
- font-size: 14px;
495
- font-weight: 600;
496
- }
497
-
498
- .b2s-edit-template-post-content {
499
- width: 100%;
500
- height: 80px;
501
- }
502
-
503
- .b2s-edit-template-image-cut {
504
- width: 200%;
505
- margin-left: -205px;
506
- margin-top: -83px;
507
- }
508
-
509
- .b2s-edit-template-image-frame {
510
- margin-top: 50px;
511
- }
512
-
513
- .b2s-edit-template-preview-dots-12 {
514
- margin-top: -5px;
515
- font-weight: 1000;
516
- font-size: 15px;
517
- letter-spacing: 2px;
518
- }
519
-
520
- .b2s-edit-template-preview-like-icons-12 {
521
- width: 100px;
522
- margin: -5px 0px 5px -5px;
523
- }
524
-
525
- .b2s-edit-template-preview-like-icons-1 {
526
- width: 100%;
527
- margin: 5px 0px;
528
- }
529
-
530
- .b2s-edit-template-preview-like-icons-2 {
531
- width: 100%;
532
- margin-top: 5px;
533
- }
534
-
535
- .b2s-edit-template-preview-like-icons-3 {
536
- margin-top: 5px;
537
- }
538
-
539
- .b2s-edit-template-network-img {
540
- height: 20px;
541
- width: auto !important;
542
- margin-right: 5px;
543
- }
544
-
545
- .b2s-edit-template-character-limit-label{
546
- padding-top: 4px;
547
- font-weight: 600;
548
- }
549
- .b2s-info-character-limit-text{
550
- margin: 0 0 10px;
551
- }
552
-
553
- .b2s-edit-template-preview-border-19 {
554
- padding-top: 15px;
555
- padding-bottom: 15px;
556
- border-radius: 3px;
557
- }
558
-
559
- .b2s-edit-template-preview-profile-img-19 {
560
- height: 40px;
561
- }
562
-
563
- .b2s-edit-template-preview-profile-name-19 {
564
- color: #009090;
565
- font-size: 13px;
566
- font-weight: 600;
567
- line-height: 18px;
568
- }
569
-
570
- .b2s-edit-template-preview-header-19 {
571
- padding-top: 15px;
572
- padding-bottom: 15px;
573
- border-bottom: 1px solid lightgray;
574
- margin-bottom: 15px;
575
- }
576
-
577
- .b2s-edit-template-preview-like-icons-19 {
578
- margin-top: 15px;
579
- width: 120px;
580
- }
581
-
582
- .b2s-edit-template-preview-link-meta-box-title-19 {
583
- color: #009090;
584
- font-size: 18px;
585
- font-weight: 400;
586
- line-height: 22px;
587
- }
588
-
589
- .b2s-edit-template-preview-link-meta-box-desc-19 {
590
- font-size: 13px;
591
- line-height: 18px;
592
- }
593
-
594
- .b2s-edit-template-preview-link-meta-box-domain-19 {
595
- font-size: 13px;
596
- line-height: 18px;
597
- color: gray;
598
- }
599
-
600
- .b2s-edit-template-image-preview .b2s-edit-template-preview-image-border-19 {
601
- padding: 0px;
602
- }
603
-
604
- .b2s-edit-template-preview-content-19 {
605
- margin: 15px 0px;
606
- }
607
-
608
- .b2s-login-form-label {
609
- padding-top: 7px;
610
- margin-top: 0;
611
- margin-bottom: 0;
612
- text-align: right;
613
- font-weight: bold;
614
- }
615
-
616
- #b2s-auth-network-6-location, #b2s-auth-network-6-board {
617
- max-width: 100% !important;
618
- }
619
-
620
- .b2s-edit-template-title {
621
- display: inline;
622
- }
623
-
624
- .b2s-url-parameter-remove-btn {
625
- font-weight: bold;
626
- font-size: 18px;
627
- line-height: 1.5;
628
- cursor: pointer;
629
- }
630
-
631
- .b2s-url-parameter-legend-text {
632
- font-size: 12px;
633
- font-weight: 600;
634
- letter-spacing: 0;
635
- margin-top: 10px;
636
- }
637
-
638
- .b2s-url-parameter-content {
639
- padding-top: 6px;
640
}
1
+ /*Custom*/
2
+
3
+ .b2s-loading-area-modify-collection{
4
+ text-align: center;
5
+ }
6
+
7
+ .list-group-item{
8
+ border: 0px !important;
9
+ }
10
+ @media(max-width: 767px) {
11
+ .form-inline {
12
+ display: none;
13
+ }
14
+ .filterHide {
15
+ display: none;
16
+ }
17
+ .form-inline button {
18
+ width: 100%;
19
+ margin-bottom: 10px;
20
+ }
21
+ }
22
+
23
+ @media(max-width: 450px) {
24
+ .add-padding-left{
25
+ padding: 0px !important;
26
+ }
27
+ }
28
+
29
+ .error{
30
+ border: 1px solid #FF0000 !important;
31
+ }
32
+ .b2s-network-auth-btn{
33
+ margin-left: 2px;
34
+ line-height: 2;
35
+ }
36
+
37
+ .b2s-network-item-auth-list-btn-delete{
38
+ line-height: 2;
39
+ }
40
+
41
+ .b2s-network-get-more-btn{
42
+ text-decoration: underline;
43
+ }
44
+ .b2s-network-auth-count{
45
+ font-weight: 700;
46
+ line-height: 1.5;
47
+ }
48
+
49
+ .b2s-sched-manager-title{
50
+ font-weight: 700;
51
+ line-height: 1.5;
52
+ padding-right: 165px;
53
+ }
54
+
55
+ .b2s-sched-manager-time-area{
56
+ width: 150px;
57
+ margin-right: -35px;
58
+ }
59
+
60
+ .b2s-sched-manager-add-padding{
61
+ margin-right: -13px;
62
+ }
63
+
64
+ .b2s-add-padding-network-refresh{
65
+ padding: 4px 7px;
66
+ }
67
+
68
+ .b2s-add-padding-network-team{
69
+ padding: 4px 5px;
70
+ line-height: 2;
71
+ }
72
+
73
+ .b2s-sched-manager-best-time-info{
74
+ padding-left: 15px;
75
+ font-size: 12px;
76
+ }
77
+
78
+ .b2s-network-time-manager-area{
79
+ padding-right: 8px;
80
+ }
81
+
82
+ .b2s-add-padding-network-edit{
83
+ padding: 7px 4px;
84
+ }
85
+ .b2s-network-mandant-area{
86
+ margin-top: -7px !important;
87
+ }
88
+
89
+ .b2s-add-padding-network-delete{
90
+ padding: 4px 5px;
91
+ }
92
+
93
+ .b2s-sched-manager-day-area{
94
+ width: 150px;
95
+ padding-top: 2px;
96
+ }
97
+
98
+ .b2s-sched-manager-premium-area{
99
+ width: 195px;
100
+ padding-top: 5px;
101
+ }
102
+
103
+ .b2s-settings-sched-item-input-time, .b2s-settings-sched-item-input-day{
104
+ max-width: 90px;
105
+ }
106
+
107
+ .b2s-network-mandant-select{
108
+ min-width: 200px;
109
+ }
110
+
111
+ .b2s-network-mandant-name{
112
+ font-size: 12px;
113
+ font-style: italic;
114
+ color: #777;
115
+ font-weight: normal;
116
+
117
+ }
118
+
119
+ .b2s-network-approved-from{
120
+ font-size: 12px;
121
+ font-style: italic;
122
+ color: #777;
123
+ font-weight: normal;
124
+
125
+ }
126
+
127
+ .b2s-network-item-auth-list{
128
+ padding-top:6px;
129
+ font-size: 0.80rem !important;
130
+ }
131
+
132
+ .b2s-network-auth-list-info{
133
+ font-weight: 700;
134
+ }
135
+
136
+ .b2s-network-auth-list-info a {
137
+ text-decoration: underline;
138
+ }
139
+
140
+ .glyphicon-white{
141
+ color:#FFFFFF;
142
+ }
143
+
144
+ .b2s-network-item-auth-list-li{
145
+ border: 1px solid rgba(0,0,0,.1);
146
+ border-bottom: 0px;
147
+ line-height: 1.5;
148
+ padding: 6px;
149
+ margin-bottom: 0px !important;
150
+ }
151
+
152
+ ul.b2s-network-item-auth-list li:last-child{
153
+ border-bottom: 1px solid rgba(0,0,0,.1) !important;
154
+ }
155
+
156
+ .b2s-network-item-auth-type{
157
+ font-weight: 600;
158
+ line-height: 2;
159
+ }
160
+
161
+ .b2s-modify-board-and-group-network-modal-footer, .b2s-edit-network-auth-settings-footer{
162
+ border: 0px !important;
163
+ }
164
+
165
+ .b2s-sched-manager-item-input-day {
166
+ color: #32373c;
167
+ display: inline-block;
168
+ vertical-align: middle;
169
+ font: 18px/1 Arial,sans-serif;
170
+ font-weight: 700;
171
+ line-height: 30px;
172
+ padding: 0 2px !important;
173
+ min-width: 28px;
174
+ text-align: center;
175
+ border: 0 !important;
176
+ width: 2% !important;
177
+ -webkit-appearance: none !important;
178
+ box-shadow: inset 0px 0px 0px rgba(0,0,0,0) !important;
179
+ margin: 0 !important;
180
+ background-color:white !important;
181
+ }
182
+ .b2s-sched-manager-item-input-day-btn-plus {
183
+ cursor: pointer;
184
+ display: inline-block;
185
+ vertical-align: middle;
186
+ width: 24px;
187
+ height: 24px;
188
+ font: 23px/1 Arial,sans-serif;
189
+ text-align: center;
190
+ border-radius: 50%;
191
+ background-color: #eee;
192
+ border: 1px solid #ddd;
193
+ box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
194
+ color: #32373c
195
+ }
196
+ .b2s-sched-manager-item-input-day-btn-minus {
197
+ cursor: pointer;
198
+ display: inline-block;
199
+ vertical-align: middle;
200
+ width: 24px;
201
+ height: 24px;
202
+ font: 21px/1 Arial,sans-serif;
203
+ text-align: center;
204
+ border-radius: 50%;
205
+ background-clip: padding-box;
206
+ background-color: #eee;
207
+ border: 1px solid #ddd;
208
+ box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
209
+ color: #32373c
210
+ }
211
+ .b2s-text-middle{
212
+ vertical-align: middle;
213
+ font: 13px/1 Arial,sans-serif;
214
+ }
215
+
216
+ .b2s-label-warning-border-left{
217
+ border-left: 3px solid #FDBF45;
218
+ }
219
+
220
+ .b2s-label-info-border-left{
221
+ border-left: 3px solid #31708f;
222
+ }
223
+
224
+ .b2s-label-danger-border-left{
225
+ border-left: 3px solid #d9534f;
226
+ }
227
+
228
+ .b2s-label-success-border-left{
229
+ border-left: 3px solid #398439;
230
+ }
231
+
232
+ .b2s-margin-top-8 {
233
+ margin-top: 8px;
234
+ }
235
+
236
+ .b2s-margin-bottom-8 {
237
+ margin-bottom: 8px;
238
+ }
239
+
240
+ #b2s-manage-auth-team-modal, #b2s-edit-network-auth-settings {
241
+ z-index: 1049;
242
+ }
243
+
244
+ .b2s-add-padding-network-placeholder-btn{
245
+ padding: 4px 14px;
246
+ }
247
+
248
+ .b2s-bold{
249
+ font-weight: 600;
250
+ }
251
+
252
+ #b2s-delete-network-sched-post {
253
+ float: left;
254
+ }
255
+
256
+ .b2s-btn-network-delete-list {
257
+ margin-left: 36px;
258
+ list-style: disc;
259
+ }
260
+
261
+ .b2s-loading-area-manage-auth-team-modal{
262
+ float: left;
263
+ text-align: center;
264
+ }
265
+
266
+
267
+
268
+
269
+ .b2s-edit-template-content-post-item {
270
+ appearance:button;
271
+ -moz-appearance:button;
272
+ -webkit-appearance:button;
273
+ display: inline-block;
274
+ padding: 2px 5px;
275
+ cursor: pointer;
276
+ margin-right: 5px !important;
277
+ }
278
+
279
+ .b2s-edit-template-preview-profile-img-1 {
280
+ border: 1px solid lightgray;
281
+ border-radius: 25px;
282
+ padding: 1px;
283
+ height: 36px;
284
+ width: 36px;
285
+ }
286
+
287
+ .b2s-edit-template-preview-profile-img-3 {
288
+ border: 1px solid lightgray;
289
+ border-radius: 25px;
290
+ padding: 1px;
291
+ height: 36px;
292
+ width: 36px;
293
+ }
294
+
295
+ .b2s-edit-template-preview-profile-img-12 {
296
+ border: 1px solid lightgray;
297
+ border-radius: 25px;
298
+ padding: 1px;
299
+ height: 36px;
300
+ width: 36px;
301
+ }
302
+
303
+ .b2s-edit-template-preview-profile-img-2 {
304
+ border: 1px solid lightgray;
305
+ border-radius: 25px;
306
+ padding: 1px;
307
+ height: 36px;
308
+ width: 36px;
309
+ }
310
+
311
+ .b2s-edit-template-preview-profile-name-1 {
312
+ margin-left: -20px;
313
+ color: #385898;
314
+ font-family: Helvetica, Arial, sans-serif;
315
+ font-size: 14px;
316
+ font-weight: 600;
317
+ }
318
+
319
+ .b2s-edit-template-preview-profile-name-3 {
320
+ margin-left: -20px;
321
+ font-family: Helvetica, Arial, sans-serif;
322
+ font-size: 14px;
323
+ font-weight: 600;
324
+ }
325
+
326
+ .b2s-edit-template-preview-profile-name-2 {
327
+ font-family: Helvetica, Arial, sans-serif;
328
+ font-size: 14px;
329
+ font-weight: 600;
330
+ }
331
+
332
+ .b2s-edit-template-preview-profile-name-12 {
333
+ font-family: Helvetica, Arial, sans-serif;
334
+ font-size: 12px;
335
+ font-weight: 600;
336
+ margin-left: -10px;
337
+ margin-top: 10px;
338
+ }
339
+
340
+ .b2s-edit-template-preview-content-profile-name-12 {
341
+ font-family: Helvetica, Arial, sans-serif;
342
+ font-size: 12px;
343
+ font-weight: 600;
344
+ margin-right: 5px;
345
+ }
346
+
347
+ .b2s-edit-template-preview-profile-handle-2 {
348
+ font-size: 14px;
349
+ color: gray;
350
+ }
351
+
352
+ .b2s-edit-template-preview-content {
353
+ word-wrap: break-word;
354
+ }
355
+
356
+ .b2s-edit-template-preview-link-image, .b2s-edit-template-preview-image-image {
357
+ width: 100%;
358
+ }
359
+
360
+ .b2s-edit-template-preview-2 {
361
+ margin-left: -20px;
362
+ }
363
+
364
+ .b2s-edit-template-preview-image-image-2 {
365
+ border-radius: 10px;
366
+ border: 1px solid lightgrey;
367
+ margin-top: 10px;
368
+ }
369
+
370
+ .b2s-edit-template-preview-image-image-3, .b2s-edit-template-preview-link-image-3 {
371
+ margin-top: 10px;
372
+ border-top: 1px solid lightgray;
373
+ border-bottom: 1px solid lightgray;
374
+ }
375
+
376
+ .b2s-edit-template-preview-link-image-2 {
377
+ width: auto !important;
378
+ height: 85px;
379
+ }
380
+
381
+ .b2s-edit-template-preview-image-12 {
382
+ width: 100%;
383
+ }
384
+
385
+ .b2s-edit-template-link-post {
386
+ border-top-right-radius: 0px !important;
387
+ border-bottom-right-radius: 0px !important;
388
+ }
389
+
390
+ .b2s-edit-template-image-post {
391
+ border-top-left-radius: 0px !important;
392
+ border-bottom-left-radius: 0px !important;
393
+ }
394
+
395
+ .b2s-edit-template-preview-image-border-12 {
396
+ padding: 0 !important;
397
+ border-top: 1px solid lightgray;
398
+ border-bottom: 1px solid lightgray;
399
+ margin: 10px 0px;
400
+ overflow: hidden;
401
+ height: 370px;
402
+ }
403
+
404
+ .b2s-edit-template-preview-border-12 {
405
+ padding: 10px 0px;
406
+ }
407
+ .b2s-edit-template-preview-border-1 {
408
+ padding-top: 10px;
409
+ }
410
+
411
+ .b2s-edit-template-preview-border-3 {
412
+ padding-top: 10px;
413
+ }
414
+
415
+ .b2s-edit-template-preview-border {
416
+ border: 1px solid lightgray;
417
+ }
418
+
419
+ .b2s-edit-template-preview-content-1 {
420
+ margin: 5px 0px;
421
+ }
422
+
423
+ .b2s-edit-template-preview-content-3 {
424
+ margin: 5px 0px;
425
+ }
426
+
427
+ .b2s-edit-template-preview-image-border-1 {
428
+ padding: 0px !important;
429
+ border-top: 1px solid lightgray;
430
+ border-bottom: 1px solid lightgray;
431
+ }
432
+
433
+ .b2s-edit-template-preview-image-border-3 {
434
+ padding: 0px !important;
435
+ }
436
+
437
+ .b2s-edit-template-preview-link-title {
438
+ font-weight: 700;
439
+ font-size: 16px;
440
+ }
441
+
442
+ .b2s-edit-template-preview-link-meta-box-1 {
443
+ background-color: #f2f3f5;
444
+ padding-bottom: 5px;
445
+ border-bottom: 1px solid lightgray;
446
+ }
447
+
448
+ .b2s-edit-template-preview-link-meta-box-2 {
449
+ border: 1px solid lightgray;
450
+ border-radius: 14px;
451
+ margin-left: 0px !important;
452
+ margin-top: 10px;
453
+ }
454
+
455
+ .b2s-edit-template-preview-link-meta-box-image-2 {
456
+ overflow: hidden;
457
+ height: 85px;
458
+ display: flex;
459
+ align-items: center;
460
+ justify-content: center;
461
+ border-top-left-radius: 14px;
462
+ border-bottom-left-radius: 14px;
463
+ border-right: 1px solid lightgray;
464
+ }
465
+
466
+ .b2s-edit-template-preview-link-meta-box-desc-2 {
467
+ color: gray;
468
+ }
469
+
470
+ .b2s-edit-template-preview-link-meta-box-domain-2 {
471
+ color: gray;
472
+ }
473
+
474
+ .b2s-edit-template-preview-link-meta-box-3 {
475
+ background-color: #f2f3f5;
476
+ padding: 5px 0px;
477
+ border-bottom: 1px solid lightgray;
478
+ }
479
+
480
+ .b2s-edit-template-preview-link-meta-box-domain-3 {
481
+ font-size: 10px;
482
+ color: gray;
483
+ }
484
+
485
+ .b2s-edit-template-preview-link-meta-box-title-3 {
486
+ font-weight: 600;
487
+ }
488
+
489
+ .b2s-edit-template-link-info {
490
+ color: #31708f;
491
+ }
492
+
493
+ .b2s-edit-template-section-headline {
494
+ font-size: 14px;
495
+ font-weight: 600;
496
+ }
497
+
498
+ .b2s-edit-template-post-content {
499
+ width: 100%;
500
+ height: 80px;
501
+ }
502
+
503
+ .b2s-edit-template-image-cut {
504
+ width: 200%;
505
+ margin-left: -205px;
506
+ margin-top: -83px;
507
+ }
508
+
509
+ .b2s-edit-template-image-frame {
510
+ margin-top: 50px;
511
+ }
512
+
513
+ .b2s-edit-template-preview-dots-12 {
514
+ margin-top: -5px;
515
+ font-weight: 1000;
516
+ font-size: 15px;
517
+ letter-spacing: 2px;
518
+ }
519
+
520
+ .b2s-edit-template-preview-like-icons-12 {
521
+ width: 100px;
522
+ margin: -5px 0px 5px -5px;
523
+ }
524
+
525
+ .b2s-edit-template-preview-like-icons-1 {
526
+ width: 100%;
527
+ margin: 5px 0px;
528
+ }
529
+
530
+ .b2s-edit-template-preview-like-icons-2 {
531
+ width: 100%;
532
+ margin-top: 5px;
533
+ }
534
+
535
+ .b2s-edit-template-preview-like-icons-3 {
536
+ margin-top: 5px;
537
+ }
538
+
539
+ .b2s-edit-template-network-img {
540
+ height: 20px;
541
+ width: auto !important;
542
+ margin-right: 5px;
543
+ }
544
+
545
+ .b2s-edit-template-character-limit-label{
546
+ padding-top: 4px;
547
+ font-weight: 600;
548
+ }
549
+ .b2s-info-character-limit-text{
550
+ margin: 0 0 10px;
551
+ }
552
+
553
+ .b2s-edit-template-preview-border-19 {
554
+ padding-top: 15px;
555
+ padding-bottom: 15px;
556
+ border-radius: 3px;
557
+ }
558
+
559
+ .b2s-edit-template-preview-profile-img-19 {
560
+ height: 40px;
561
+ }
562
+
563
+ .b2s-edit-template-preview-profile-name-19 {
564
+ color: #009090;
565
+ font-size: 13px;
566
+ font-weight: 600;
567
+ line-height: 18px;
568
+ }
569
+
570
+ .b2s-edit-template-preview-header-19 {
571
+ padding-top: 15px;
572
+ padding-bottom: 15px;
573
+ border-bottom: 1px solid lightgray;
574
+ margin-bottom: 15px;
575
+ }
576
+
577
+ .b2s-edit-template-preview-like-icons-19 {
578
+ margin-top: 15px;
579
+ width: 120px;
580
+ }
581
+
582
+ .b2s-edit-template-preview-link-meta-box-title-19 {
583
+ color: #009090;
584
+ font-size: 18px;
585
+ font-weight: 400;
586
+ line-height: 22px;
587
+ }
588
+
589
+ .b2s-edit-template-preview-link-meta-box-desc-19 {
590
+ font-size: 13px;
591
+ line-height: 18px;
592
+ }
593
+
594
+ .b2s-edit-template-preview-link-meta-box-domain-19 {
595
+ font-size: 13px;
596
+ line-height: 18px;
597
+ color: gray;
598
+ }
599
+
600
+ .b2s-edit-template-image-preview .b2s-edit-template-preview-image-border-19 {
601
+ padding: 0px;
602
+ }
603
+
604
+ .b2s-edit-template-preview-content-19 {
605
+ margin: 15px 0px;
606
+ }
607
+
608
+ .b2s-login-form-label {
609
+ padding-top: 7px;
610
+ margin-top: 0;
611
+ margin-bottom: 0;
612
+ text-align: right;
613
+ font-weight: bold;
614
+ }
615
+
616
+ #b2s-auth-network-6-location, #b2s-auth-network-6-board {
617
+ max-width: 100% !important;
618
+ }
619
+
620
+ .b2s-edit-template-title {
621
+ display: inline;
622
+ }
623
+
624
+ .b2s-url-parameter-remove-btn {
625
+ font-weight: bold;
626
+ font-size: 18px;
627
+ line-height: 1.5;
628
+ cursor: pointer;
629
+ }
630
+
631
+ .b2s-url-parameter-legend-text {
632
+ font-size: 12px;
633
+ font-weight: 600;
634
+ letter-spacing: 0;
635
+ margin-top: 10px;
636
+ }
637
+
638
+ .b2s-url-parameter-content {
639
+ padding-top: 6px;
640
+ }
641
+
642
+ .b2s-add-network-continue-btn {
643
+ margin-top: 20px;
644
}
assets/css/b2s/repost.css CHANGED
@@ -556,4 +556,20 @@ textarea.form-control {
556
557
.list-group-item:first-child{
558
border-top: none !important;
559
}
556
557
.list-group-item:first-child{
558
border-top: none !important;
559
+ }
560
+
561
+ .b2s-network-info-img {
562
+ width: 5.5%;
563
+ margin-left: 5px;
564
+ }
565
+
566
+ .b2s-network-info-img-disabled {
567
+ width: 5.5%;
568
+ opacity: 0.3;
569
+ }
570
+
571
+ .b2s-network-imgs {
572
+ margin-top: 10px;
573
+ margin-bottom: 10px;
574
+ display: inline-block;
575
}
assets/css/b2s/support.css CHANGED
@@ -1,55 +1,120 @@
1
- @media (max-width: 768px)
2
- {
3
- body .col-md-6{
4
- padding-left: 0;
5
- padding-right: 0;
6
- }
7
- }
8
- .b2s-faq-content a{
9
- text-decoration: underline;
10
- color: #444;
11
- font-size: 14px !important;
12
- }
13
- .b2s-support-topic-img{
14
- min-width: 3em;
15
- }
16
-
17
- .b2s-support-line{
18
- margin-top: 0px!important;
19
- }
20
-
21
- .b2s-support-link-not-active {
22
- pointer-events: none;
23
- cursor: default;
24
- text-decoration: none;
25
- color: gray;
26
- opacity: 0.5;
27
- }
28
-
29
- .b2s-margin-left-10 {
30
- margin-left: 10px;
31
- }
32
-
33
- #b2s-support-check-system .glyphicon {
34
- font-size: 15px;
35
- }
36
-
37
- #b2s-support-check-system hr {
38
- margin-top: 0px !important;
39
- }
40
-
41
- .b2s-support-menu > li > a {
42
- padding: 10px 15px !important;
43
- }
44
-
45
- .thumbnail-no-border{
46
- border: 0px !important;
47
- }
48
-
49
- .b2s-sharing-debugger-result-area{
50
- display: block;
51
- }
52
-
53
- .b2s-padding-top-8{
54
- padding-top:8px;
55
}
1
+ @media (max-width: 768px)
2
+ {
3
+ body .col-md-6{
4
+ padding-left: 0;
5
+ padding-right: 0;
6
+ }
7
+ }
8
+
9
+ .b2s-faq-content ol {
10
+ list-style: none;
11
+ margin-left: 0px;
12
+ }
13
+
14
+ .b2s-faq-content a{
15
+ font-size: 16px !important;
16
+ line-height: 32px;
17
+ }
18
+
19
+ .b2s-border-left {
20
+ border-left: 1px solid lightgray;
21
+ }
22
+
23
+ .b2s-support-topic-img{
24
+ min-width: 3em;
25
+ }
26
+
27
+ .b2s-support-line{
28
+ margin-top: 0px!important;
29
+ }
30
+
31
+ .b2s-support-link-not-active {
32
+ pointer-events: none;
33
+ cursor: default;
34
+ text-decoration: none;
35
+ color: gray;
36
+ opacity: 0.5;
37
+ }
38
+
39
+ .b2s-margin-left-10 {
40
+ margin-left: 10px;
41
+ }
42
+
43
+ #b2s-support-check-system .glyphicon {
44
+ font-size: 15px;
45
+ }
46
+
47
+ #b2s-support-check-system hr {
48
+ margin-top: 0px !important;
49
+ }
50
+
51
+ .b2s-support-menu > li > a {
52
+ padding: 10px 15px !important;
53
+ }
54
+
55
+ .thumbnail-no-border{
56
+ border: 0px !important;
57
+ }
58
+
59
+ .b2s-sharing-debugger-result-area{
60
+ display: block;
61
+ }
62
+
63
+ .b2s-padding-top-8{
64
+ padding-top:8px;
65
+ }
66
+
67
+ .b2s-support-icon {
68
+ font-size: 60px;
69
+ margin-top: 20px;
70
+ margin-bottom: 10px;
71
+ }
72
+
73
+ .b2s-community-container {
74
+ background-color: #f8f8f8;
75
+ padding-left: 10px;
76
+ padding-right: 10px;
77
+ padding-bottom: 10px;
78
+ border-radius: 5px;
79
+ }
80
+
81
+ .b2s-gray-text {
82
+ font-size: 16px;
83
+ color: gray;
84
+ }
85
+
86
+ .b2s-bold{
87
+ font-weight: 600;
88
+ }
89
+
90
+ .b2s-sales-support-box {
91
+ width: 27%;
92
+ height: 52px;
93
+ }
94
+
95
+ .b2s-community-btn {
96
+ padding: 8px 65px !important;
97
+ font-size: 16px !important;
98
+ font-weight: bold !important;
99
+ }
100
+
101
+ .b2s-community-register-success {
102
+ margin-top: 50px;
103
+ }
104
+
105
+ .b2s-community-container {
106
+ padding-top: 5px;
107
+ }
108
+
109
+ .b2s-community-register-form .form-group {
110
+ margin-bottom: 5px;
111
+ }
112
+
113
+ .b2s-support-phone-number-text {
114
+ margin-top: 5px;
115
+ font-size: 18px;
116
+ }
117
+
118
+ #b2s-community-terms {
119
+ margin-right: 5px;
120
}
assets/css/b2s/wp/post-box.css CHANGED
@@ -1,303 +1,321 @@
1
- .b2s-loading-area{
2
- text-align: center;
3
- font-size: 12px;
4
- }
5
- .b2s-loader-impulse{
6
- animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
7
- border-radius: 100%;
8
- margin: 0 auto;
9
- }
10
- .b2s-loader-impulse{
11
- background-color: #79b331;
12
- }
13
-
14
- .b2s-loader-impulse-md{
15
- height: 48px;
16
- width: 48px;
17
- }
18
- @keyframes sk-pulseScaleOut {
19
- 0% {
20
- -webkit-transform: scale(0);
21
- transform: scale(0); }
22
- 100% {
23
- -webkit-transform: scale(1);
24
- transform: scale(1);
25
- opacity: 0; }
26
- }
27
- .b2s-info-success,.b2s-info-error, .b2s-info-warning {
28
- display:none;
29
- padding: 5px;
30
- margin-top:5px;
31
- }
32
- .b2s-info-success{
33
- border: 1px solid green;
34
- }
35
-
36
- .b2s-info-error{
37
- border: 1px solid red;
38
- }
39
-
40
- .b2s-info-warning{
41
- border: 1px solid orange;
42
- }
43
- .b2s-meta-box-headline{
44
- margin: 0.55em 0 !important;
45
- font-size: 1.08em !important;
46
- }
47
-
48
- .b2s-meta-box-auto-post-area{
49
- margin-top: 0.5em;
50
- margin-bottom: 0.5em;
51
- }
52
-
53
-
54
- .b2s-meta-box-modal {
55
- overflow-x: hidden;
56
- overflow-y: auto;
57
- content: "";
58
- display: none;
59
- background: rgba(0, 0, 0, 0.6);
60
- position: fixed;
61
- top: 0;
62
- left: 0;
63
- right: 0;
64
- bottom: 0;
65
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
66
- z-index: 1050;
67
- }
68
-
69
- .b2s-meta-box-modal-btn-close{
70
- color: #000;
71
- float: right;
72
- font-size: 24px;
73
- font-weight: bold;
74
- text-decoration: none;
75
- opacity: 0.4;
76
- text-shadow: 0 1px 0 #fff;
77
- background: transparent none repeat scroll 0 0;
78
- border: 0 none;
79
- cursor: pointer;
80
- padding: 0;
81
- }
82
-
83
- .b2s-meta-box-modal-dialog{
84
- background: #fefefe none repeat scroll 0 0;
85
- border-radius: 5px;
86
- width: auto;
87
- top:10%;
88
- max-width: 600px;
89
- position: relative;
90
- }
91
-
92
- @media(max-width: 420px) {
93
- .b2s-meta-box-modal-dialog{
94
- margin: 10px;
95
-
96
- }
97
- }
98
- @media(min-width: 421px) {
99
- .b2s-meta-box-modal-dialog{
100
- margin: 30px auto;
101
- }
102
- }
103
-
104
-
105
- .b2s-meta-box-modal-body {
106
- padding: 0px 15px;
107
- }
108
- .b2s-meta-box-modal-header {
109
- padding: 10px 20px;
110
- }
111
- .b2s-meta-box-modal-header {
112
- border-bottom: 1px solid #e5e5e5;
113
- padding: 15px;
114
- }
115
- .b2s-meta-box-modal-title {
116
- line-height: 1.42857;
117
- font-size: 20px;
118
- margin: 0;
119
- }
120
- .b2s-meta-box-modal-h4 {
121
- line-height: 1.42857;
122
- font-size: 20px;
123
- margin: 0;
124
- }
125
- #b2s-meta-box-close {
126
- display: none;
127
- }
128
-
129
- .b2s-btn-success, .b2s-label-success {
130
- background-color: #79B232 !important;
131
- }
132
- .b2s-center-block {
133
- display: block !important;
134
- margin-left: auto;
135
- margin-right: auto;
136
- }
137
- .b2s-btn-success {
138
- background-color: #79B232 !important;
139
- border-color: #398439 !important;
140
- color: #fff !important;
141
- }
142
-
143
- .b2s-btn-primary {
144
- color: #fff !important;
145
- background-color: #337ab7 !important;
146
- border-color: #2e6da4 !important;
147
- }
148
-
149
- .b2s-btn-none-underline{
150
- text-decoration: none !important;
151
- }
152
-
153
- .b2s-btn {
154
- -moz-user-select: none;
155
- background-image: none;
156
- border: 1px solid transparent;
157
- border-radius: 4px;
158
- cursor: pointer;
159
- display: inline-block;
160
- font-size: 12px;
161
- font-weight: normal;
162
- line-height: 1.42857;
163
- margin-bottom: 0;
164
- padding: 6px 12px;
165
- text-align: center;
166
- vertical-align: middle;
167
- }
168
-
169
- .b2s-btn-margin-bottom-15{
170
- margin-bottom: 1.5em;
171
- }
172
-
173
- .b2s-info-btn{
174
- font-size: 12px;
175
- }
176
-
177
- .b2s-btn-sm{
178
- padding: 7px !important;
179
- }
180
-
181
- .b2s-btn-close-meta-box{
182
- padding: 0px !important;
183
- float:right;
184
- position: relative !important;
185
- }
186
- .b2s-close-icon::before {
187
- background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
188
- color: #b4b9be;
189
- content: "";
190
- display: block;
191
- font: 16px/20px dashicons;
192
- height: 20px;
193
- text-align: center;
194
- width: 20px;
195
- }
196
-
197
-
198
- .b2s-close-icon{
199
- background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
200
- border: medium none;
201
- color: #b4b9be;
202
- cursor: pointer;
203
- margin: 0;
204
- padding: 9px;
205
- position: absolute;
206
- right: 1px;
207
- top: 0;
208
- }
209
-
210
- .b2s-post-meta-box-sched-area{
211
- padding: 8px !important;
212
- border: 1px solid #ddd;
213
- }
214
-
215
- .b2s-font-bold{
216
- font-weight: 600;
217
- }
218
-
219
- .b2s-calendar-icon{
220
- padding-top: 6px;
221
- }
222
-
223
- .b2s-margin-top-5{
224
- margin-top: 5px;
225
- }
226
-
227
- .b2s-btn-label-premium {
228
- color: #fff !important;
229
- font-size: 10px !important;
230
- }
231
-
232
- .b2s-label {
233
- display: inline;
234
- padding: .2em .6em .3em;
235
- font-size: 75% !important;
236
- font-weight: bold;
237
- line-height: 1;
238
- color: #fff;
239
- text-align: center;
240
- white-space: nowrap;
241
- vertical-align: baseline;
242
- border-radius: .25em;
243
-
244
- }
245
-
246
- #b2s-post-meta-box-profil-dropdown-twitter option:disabled {
247
- color: #ff4f68;
248
- }
249
-
250
- .pull-right{
251
- float: right;
252
- }
253
-
254
- .b2s-meta-box-share-info {
255
- background-color: #79B232;
256
- padding: 10px;
257
- color: #fff;
258
- }
259
-
260
- @font-face {
261
- font-family: 'Glyphicons Halflings';
262
-
263
- src: url('../../../fonts/glyphicons-halflings-regular.eot');
264
- src: url('../../../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../../../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../../../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../../../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../../../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
265
- }
266
- .glyphicon {
267
- position: relative;
268
- top: 1px;
269
- display: inline-block;
270
- font-family: 'Glyphicons Halflings';
271
- font-style: normal;
272
- font-weight: normal;
273
- line-height: 1;
274
-
275
- -webkit-font-smoothing: antialiased;
276
- -moz-osx-font-smoothing: grayscale;
277
- }
278
-
279
- .glyphicon-chevron-up::before {
280
- content: "\e113";
281
- }
282
- .glyphicon-chevron-down::before {
283
- content: "\e114";
284
- }
285
-
286
- .b2s-options-btn {
287
- cursor: pointer;
288
- text-decoration: underline;
289
- margin-top: 5px;
290
- }
291
-
292
- #b2s-meta-box-btn-customize {
293
- text-decoration: none;
294
- }
295
-
296
- .b2s-options-btn-area {
297
- text-align: right;
298
- }
299
-
300
- .b2s-w-100 {
301
- width: 100%;
302
- padding: 0px !important;
303
}
1
+ .b2s-loading-area{
2
+ text-align: center;
3
+ font-size: 12px;
4
+ }
5
+ .b2s-loader-impulse{
6
+ animation: 1.5s ease-in-out 0s normal none infinite running sk-pulseScaleOut;
7
+ border-radius: 100%;
8
+ margin: 0 auto;
9
+ }
10
+ .b2s-loader-impulse{
11
+ background-color: #79b331;
12
+ }
13
+
14
+ .b2s-loader-impulse-md{
15
+ height: 48px;
16
+ width: 48px;
17
+ }
18
+ @keyframes sk-pulseScaleOut {
19
+ 0% {
20
+ -webkit-transform: scale(0);
21
+ transform: scale(0); }
22
+ 100% {
23
+ -webkit-transform: scale(1);
24
+ transform: scale(1);
25
+ opacity: 0; }
26
+ }
27
+ .b2s-info-success,.b2s-info-error, .b2s-info-warning {
28
+ display:none;
29
+ padding: 5px;
30
+ margin-top:5px;
31
+ }
32
+ .b2s-info-success{
33
+ border: 1px solid green;
34
+ }
35
+
36
+ .b2s-info-error{
37
+ border: 1px solid red;
38
+ }
39
+
40
+ .b2s-info-warning{
41
+ border: 1px solid orange;
42
+ }
43
+ .b2s-meta-box-headline{
44
+ margin: 0.55em 0 !important;
45
+ font-size: 1.08em !important;
46
+ }
47
+
48
+ .b2s-meta-box-auto-post-area{
49
+ margin-top: 0.5em;
50
+ margin-bottom: 0.5em;
51
+ }
52
+
53
+
54
+ .b2s-meta-box-modal {
55
+ overflow-x: hidden;
56
+ overflow-y: auto;
57
+ content: "";
58
+ display: none;
59
+ background: rgba(0, 0, 0, 0.6);
60
+ position: fixed;
61
+ top: 0;
62
+ left: 0;
63
+ right: 0;
64
+ bottom: 0;
65
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
66
+ z-index: 1050;
67
+ }
68
+
69
+ .b2s-meta-box-modal-btn-close{
70
+ color: #000;
71
+ float: right;
72
+ font-size: 24px;
73
+ font-weight: bold;
74
+ text-decoration: none;
75
+ opacity: 0.4;
76
+ text-shadow: 0 1px 0 #fff;
77
+ background: transparent none repeat scroll 0 0;
78
+ border: 0 none;
79
+ cursor: pointer;
80
+ padding: 0;
81
+ }
82
+
83
+ .b2s-meta-box-modal-dialog{
84
+ background: #fefefe none repeat scroll 0 0;
85
+ border-radius: 5px;
86
+ width: auto;
87
+ top:10%;
88
+ max-width: 600px;
89
+ position: relative;
90
+ }
91
+
92
+ @media(max-width: 420px) {
93
+ .b2s-meta-box-modal-dialog{
94
+ margin: 10px;
95
+
96
+ }
97
+ }
98
+ @media(min-width: 421px) {
99
+ .b2s-meta-box-modal-dialog{
100
+ margin: 30px auto;
101
+ }
102
+ }
103
+
104
+
105
+ .b2s-meta-box-modal-body {
106
+ padding: 0px 15px;
107
+ }
108
+ .b2s-meta-box-modal-header {
109
+ padding: 10px 20px;
110
+ }
111
+ .b2s-meta-box-modal-header {
112
+ border-bottom: 1px solid #e5e5e5;
113
+ padding: 15px;
114
+ }
115
+ .b2s-meta-box-modal-title {
116
+ line-height: 1.42857;
117
+ font-size: 20px;
118
+ margin: 0;
119
+ }
120
+ .b2s-meta-box-modal-h4 {
121
+ line-height: 1.42857;
122
+ font-size: 20px;
123
+ margin: 0;
124
+ }
125
+ #b2s-meta-box-close {
126
+ display: none;
127
+ }
128
+
129
+ .b2s-btn-success, .b2s-label-success {
130
+ background-color: #79B232 !important;
131
+ }
132
+ .b2s-center-block {
133
+ display: block !important;
134
+ margin-left: auto;
135
+ margin-right: auto;
136
+ }
137
+ .b2s-btn-success {
138
+ background-color: #79B232 !important;
139
+ border-color: #398439 !important;
140
+ color: #fff !important;
141
+ }
142
+
143
+ .b2s-btn-primary {
144
+ color: #fff !important;
145
+ background-color: #337ab7 !important;
146
+ border-color: #2e6da4 !important;
147
+ }
148
+
149
+ .b2s-btn-none-underline{
150
+ text-decoration: none !important;
151
+ }
152
+
153
+ .b2s-btn {
154
+ -moz-user-select: none;
155
+ background-image: none;
156
+ border: 1px solid transparent;
157
+ border-radius: 4px;
158
+ cursor: pointer;
159
+ display: inline-block;
160
+ font-size: 12px;
161
+ font-weight: normal;
162
+ line-height: 1.42857;
163
+ margin-bottom: 0;
164
+ padding: 6px 12px;
165
+ text-align: center;
166
+ vertical-align: middle;
167
+ }
168
+
169
+ .b2s-btn-margin-bottom-15{
170
+ margin-bottom: 1.5em;
171
+ }
172
+
173
+ .b2s-info-btn{
174
+ font-size: 12px;
175
+ }
176
+
177
+ .b2s-btn-sm{
178
+ padding: 7px !important;
179
+ }
180
+
181
+ .b2s-btn-close-meta-box{
182
+ padding: 0px !important;
183
+ float:right;
184
+ position: relative !important;
185
+ }
186
+ .b2s-close-icon::before {
187
+ background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
188
+ color: #b4b9be;
189
+ content: "";
190
+ display: block;
191
+ font: 16px/20px dashicons;
192
+ height: 20px;
193
+ text-align: center;
194
+ width: 20px;
195
+ }
196
+
197
+
198
+ .b2s-close-icon{
199
+ background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
200
+ border: medium none;
201
+ color: #b4b9be;
202
+ cursor: pointer;
203
+ margin: 0;
204
+ padding: 9px;
205
+ position: absolute;
206
+ right: 1px;
207
+ top: 0;
208
+ }
209
+
210
+ .b2s-post-meta-box-sched-area{
211
+ padding: 8px !important;
212
+ border: 1px solid #ddd;
213
+ }
214
+
215
+ .b2s-font-bold{
216
+ font-weight: 600;
217
+ }
218
+
219
+ .b2s-calendar-icon{
220
+ padding-top: 6px;
221
+ }
222
+
223
+ .b2s-margin-top-5{
224
+ margin-top: 5px;
225
+ }
226
+
227
+ .b2s-btn-label-premium {
228
+ color: #fff !important;
229
+ font-size: 10px !important;
230
+ }
231
+
232
+ .b2s-label {
233
+ display: inline;
234
+ padding: .2em .6em .3em;
235
+ font-size: 75% !important;
236
+ font-weight: bold;
237
+ line-height: 1;
238
+ color: #fff;
239
+ text-align: center;
240
+ white-space: nowrap;
241
+ vertical-align: baseline;
242
+ border-radius: .25em;
243
+
244
+ }
245
+
246
+ #b2s-post-meta-box-profil-dropdown-twitter option:disabled {
247
+ color: #ff4f68;
248
+ }
249
+
250
+ .pull-right{
251
+ float: right;
252
+ }
253
+
254
+ .b2s-meta-box-share-info {
255
+ background-color: #79B232;
256
+ padding: 10px;
257
+ color: #fff;
258
+ }
259
+
260
+ @font-face {
261
+ font-family: 'Glyphicons Halflings';
262
+
263
+ src: url('../../../fonts/glyphicons-halflings-regular.eot');
264
+ src: url('../../../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../../../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../../../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../../../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../../../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
265
+ }
266
+ .glyphicon {
267
+ position: relative;
268
+ top: 1px;
269
+ display: inline-block;
270
+ font-family: 'Glyphicons Halflings';
271
+ font-style: normal;
272
+ font-weight: normal;
273
+ line-height: 1;
274
+
275
+ -webkit-font-smoothing: antialiased;
276
+ -moz-osx-font-smoothing: grayscale;
277
+ }
278
+
279
+ .glyphicon-chevron-up::before {
280
+ content: "\e113";
281
+ }
282
+ .glyphicon-chevron-down::before {
283
+ content: "\e114";
284
+ }
285
+
286
+ .b2s-options-btn {
287
+ cursor: pointer;
288
+ text-decoration: underline;
289
+ margin-top: 5px;
290
+ }
291
+
292
+ #b2s-meta-box-btn-customize {
293
+ text-decoration: none;
294
+ }
295
+
296
+ .b2s-options-btn-area {
297
+ text-align: right;
298
+ }
299
+
300
+ .b2s-w-100 {
301
+ width: 100%;
302
+ padding: 0px !important;
303
+ }
304
+
305
+ .b2s-img-network {
306
+ width: 5%;
307
+ }
308
+
309
+ .b2s-img-network-disabled {
310
+ width: 5%;
311
+ opacity: 0.3;
312
+ }
313
+
314
+ .b2s-network-imgs {
315
+ margin-top: 10px;
316
+ margin-bottom: 10px;
317
+ }
318
+
319
+ .b2s-bold {
320
+ font-weight: 600;
321
}
assets/js/b2s/calendar.js CHANGED
@@ -1,695 +1,696 @@
1
- jQuery.noConflict();
2
-
3
- var curSource = new Array();
4
- curSource[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=all&filter_status=0&b2s_security_nonce=' + jQuery('#b2s_security_nonce').val();
5
- var newSource = new Array();
6
-
7
- jQuery(document).ready(function () {
8
- jQuery('#b2s_calendar').fullCalendar({
9
- header: {
10
- left: 'title',
11
- right: 'month,basicWeek, prev,next'
12
- },
13
- views: {
14
- month: {
15
- eventLimit: 2
16
- },
17
- basicWeek: {
18
- eventLimit: false
19
- }
20
- },
21
- editable: b2s_has_premium,
22
- locale: b2s_calendar_locale,
23
- timeFormat: 'H:mm',
24
- eventSources: [curSource[0]],
25
- eventRender: function (event, element) {
26
- show = true;
27
- $header = jQuery("<div>").addClass("b2s-calendar-header").attr('data-b2s-id', event.b2s_id);
28
- $isRelayPost = '';
29
- $isCuratedPost = '';
30
- $isRePost = '';
31
- if (event.post_type == 'b2s_ex_post') {
32
- $isCuratedPost = ' (Curated Post)';
33
- }
34
- if (event.relay_primary_post_id > 0) {
35
- $isRelayPost = ' (Retweet)';
36
- }
37
- if (event.b2s_sched_type == 5) {
38
- $isRePost = ' (Re-Share)';
39
- }
40
- $network_name = jQuery("<span>").text(event.author + $isRelayPost + $isCuratedPost + $isRePost).addClass("network-name").css("display", "block");
41
- element.find(".fc-time").after($network_name);
42
- element.html(element.html());
43
- $parent = element.parent();
44
- $header.append(element.find(".fc-content"));
45
- element.append($header);
46
- $body = jQuery("<div>").addClass("b2s-calendar-body");
47
- $body.append(event.avatar);
48
- if (event.status == "error") {
49
- $body.append(jQuery('<i>').addClass('glyphicon glyphicon-warning-sign glyphicon-danger'));
50
- }
51
- $body.append(element.find(".fc-title"));
52
- $body.append(jQuery("<br>"));
53
- var $em = jQuery("<em>").css("padding-top", "5px").css("display", "block");
54
- $em.append("<img src='" + b2s_plugin_url + "assets/images/portale/" + event.network_id + "_flat.png' style='height: 16px;width: 16px;display: inline-block;padding-right: 2px;padding-left: 2px;' />")
55
- $em.append(event.network_name);
56
- $em.append(jQuery("<span>").text(": " + event.profile));
57
- $body.append($em);
58
- element.append($body);
59
- if (event.status != "scheduled") {
60
- event.editable = false;
61
- }
62
- },
63
- dayRender: function (date, element) {
64
- var view = jQuery('#b2s_calendar').fullCalendar('getView');
65
- if (!jQuery(element[0]).hasClass('fc-past')) {
66
- var date = jQuery(element[0]).attr('data-date');
67
- var sel_element = '';
68
- if (view.type == 'month') {
69
- sel_element = jQuery(element[0]).closest('div').next('div').find('td[data-date="' + date + '"]');
70
- } else {
71
- sel_element = jQuery('.fc-basicWeek-view').find('th[data-date="' + date + '"]');
72
- }
73
- $header = jQuery("<a>").html("+ <span class=\"hidden-sm hidden-xs\">" + jQuery("#b2sJSTextAddPost").val() + "</span>").addClass("b2s-calendar-sched-new-post-btn").attr('href', '#');
74
- sel_element.append($header);
75
- }
76
-
77
- },
78
- eventDrop: function (event, delta, revertFunc) {
79
- jQuery.ajax({
80
- url: ajaxurl,
81
- type: "POST",
82
- dataType: "json",
83
- cache: false,
84
- data: {
85
- 'action': 'b2s_calendar_move_post',
86
- 'b2s_id': event.b2s_id,
87
- 'user_timezone': event.user_timezone,
88
- 'sched_date': event.start.format(),
89
- 'post_for_relay': event.post_for_relay,
90
- 'post_for_approve': event.post_for_approve,
91
- 'network_type': event.network_type,
92
- 'nework_id': event.network_id,
93
- 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
94
- },
95
- success: function (data) {
96
- refreshCalender();
97
- wp.heartbeat.connectNow();
98
- }
99
- });
100
- },
101
- eventAllow: function (dropLocation, draggedEvent) {
102
- return dropLocation.start.isAfter(b2s_calendar_date) && draggedEvent.start.isAfter(b2s_calendar_datetime);
103
- },
104
- eventClick: function (calEvent, jsEvent, view) {
105
- if (calEvent.status == "scheduled") {
106
- showEditSchedCalendarPost(calEvent.b2s_id, calEvent.post_id, calEvent.network_auth_id, calEvent.network_type, calEvent.network_id, calEvent.post_format, calEvent.relay_primary_post_id);
107
- } else {
108
- if (calEvent.publish_link != "") {
109
- window.open(calEvent.publish_link, '_blank');
110
- }
111
- }
112
- },
113
- loading: function (bool) {
114
- if (!bool) {
115
- //Routing from Dashboard - loading edit post preview
116
- var rfd = jQuery('#b2s_rfd').val();
117
- if (rfd == 1) {
118
- jQuery('#b2s_rfd').val("0");
119
- jQuery('.b2s-calendar-header[data-b2s-id="' + jQuery('#b2s_rfd_b2s_id').val() + '"]').parent().trigger('click');
120
- }
121
- }
122
- }
123
-
124
- });
125
- jQuery(".b2s-loading-area").hide();
126
- });
127
-
128
-
129
- function showEditSchedCalendarPost(b2s_id, post_id, network_auth_id, network_type, network_id, post_format, relay_primary_post_id) {
130
- if (jQuery('#b2s-edit-event-modal-' + b2s_id).length == 1)
131
- {
132
- jQuery('#b2s-edit-event-modal-' + b2s_id).remove();
133
- }
134
- b2s_current_post_id = post_id;
135
- jQuery("#b2sPostId").val(post_id);
136
- var $modal = jQuery("<div>");
137
- jQuery.ajax({
138
- url: ajaxurl,
139
- type: "POST",
140
- cache: false,
141
- async: false,
142
- data: {
143
- 'action': 'b2s_get_post_edit_modal',
144
- 'id': b2s_id,
145
- 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
146
- },
147
- success: function (data) {
148
- if (data.error == 'nonce') {
149
- jQuery('.b2s-nonce-check-fail').show();
150
- } else {
151
- $modal = $modal.html(data);
152
- }
153
- }
154
- });
155
- jQuery("body").append($modal);
156
- jQuery('#b2sUserTimeZone').val(jQuery('#user_timezone').val());
157
- jQuery('#b2s-edit-event-modal-' + b2s_id).modal('show');
158
- activatePortal(network_auth_id);
159
- initSceditor(network_auth_id);
160
- if (jQuery('.b2s-post-ship-item-post-format-text[data-network-type="' + network_type + '"][data-network-id="' + network_id + '"]').length > 0) {
161
- var postFormatText = b2s_calendar_formats;
162
- var isSetPostFormat = false;
163
- var postFormatType = jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + network_type + '"][data-network-id="' + network_id + '"]').attr('data-post-format-type');
164
- //is set post format => override current condidtions by user settings for this post
165
- if (post_format !== null) {
166
- jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + network_type + '"][data-network-id="' + network_id + '"]').val(post_format);
167
- jQuery('.b2s-post-ship-item-post-format-text[data-network-auth-id="' + network_auth_id + '"]').html(postFormatText[postFormatType][post_format]);
168
- jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + network_auth_id + '"]').val(post_format);
169
- //edit modal select post format
170
- jQuery('.b2s-user-network-settings-post-format[data-network-type="' + network_type + '"][data-network-id="' + network_id + '"]').removeClass('b2s-settings-checked');
171
- jQuery('.b2s-user-network-settings-post-format[data-network-type="' + network_type + '"][data-network-id="' + network_id + '"][data-post-format="' + post_format + '"]').addClass('b2s-settings-checked');
172
- } else {
173
- jQuery('.b2s-post-ship-item-post-format-text[data-network-auth-id="' + network_auth_id + '"]').html(postFormatText[postFormatType][jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + network_type + '"][data-network-id="' + network_id + '"]').val()]);
174
- jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + network_auth_id + '"]').val(jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + network_type + '"][data-network-id="' + network_id + '"]').val());
175
- }
176
-
177
- //if linkpost then show btn meta tags
178
- var isMetaChecked = false;
179
- var ogMetaNetworks = jQuery('#ogMetaNetworks').val().split(";");
180
- if (typeof network_id != 'undefined' && jQuery.inArray(network_id.toString(), ogMetaNetworks) != -1 && jQuery('#isOgMetaChecked').val() == "1") {
181
- isMetaChecked = true;
182
- }
183
- if (network_id == "2" && jQuery('#isCardMetaChecked').val() == "1") {
184
- isMetaChecked = true;
185
- }
186
- if (isMetaChecked && jQuery('.b2sNetworkSettingsPostFormatCurrent[data-network-type="' + network_type + '"][data-network-id="' + network_id + '"]').val() == "0") {
187
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", false);
188
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", false);
189
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-id="' + network_id + '"]').show();
190
- //jQuery('.b2s-post-item-details-preview-url-reload[data-network-id="' + network_id + '"]').trigger("click");
191
- var dataMetaType = jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + network_auth_id + '"]').attr("data-meta-type");
192
- if (dataMetaType == "og") {
193
- jQuery('.b2sChangeOgMeta[data-network-auth-id="' + network_auth_id + '"]').val("1");
194
- } else {
195
- jQuery('.b2sChangeCardMeta[data-network-auth-id="' + network_auth_id + '"]').val("1");
196
- }
197
- } else {
198
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
199
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
200
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-id="' + network_id + '"]').hide();
201
- }
202
-
203
- //Content Curation
204
- if (jQuery('.b2s-post-ship-item-post-format[data-network-auth-id="' + network_auth_id + '"]').attr('data-post-wp-type') == 'ex') {
205
- jQuery('.b2s-post-item-details-preview-title[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
206
- jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
207
- jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + network_auth_id + '"]').prop("readonly", true);
208
- jQuery('.b2s-load-info-meta-tag-modal[data-network-auth-id="' + network_auth_id + '"]').attr("style", "display:none !important");
209
- if (jQuery('.b2s-post-item-details-post-format[data-network-auth-id="' + network_auth_id + '"]').val() == 0) {
210
- jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + network_auth_id + '"]').hide();
211
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + network_auth_id + '"]').hide();
212
- } else {
213
- jQuery('.b2s-select-image-modal-open[data-network-auth-id="' + network_auth_id + '"]').show();
214
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + network_auth_id + '"]').show();
215
- }
216
- }
217
- }
218
- var textLimit = jQuery('.b2s-post-item-details-item-message-input[data-network-count="-1"][data-network-auth-id="' + network_auth_id + '"]').attr('data-network-text-limit');
219
- if (textLimit != "0") {
220
- networkLimitAll(network_auth_id, network_id, textLimit);
221
- } else {
222
- networkCount(network_auth_id);
223
- }
224
- var today = new Date();
225
- var dateFormat = "yyyy-mm-dd";
226
- var language = "en";
227
- var showMeridian = true;
228
- if (jQuery('#b2sUserLang').val() == "de") {
229
- dateFormat = "dd.mm.yyyy";
230
- language = "de";
231
- showMeridian = false;
232
- }
233
-
234
- jQuery(".b2s-post-item-details-release-input-date").datepicker({
235
- format: dateFormat,
236
- language: language,
237
- maxViewMode: 2,
238
- todayHighlight: true,
239
- startDate: today,
240
- calendarWeeks: true,
241
- autoclose: true
242
- });
243
- jQuery('.b2s-post-item-details-release-input-time').timepicker({
244
- minuteStep: 15,
245
- appendWidgetTo: 'body',
246
- showSeconds: false,
247
- showMeridian: showMeridian,
248
- defaultTime: 'current',
249
- snapToStep: true
250
- });
251
- jQuery(".b2s-post-item-details-release-input-date").datepicker().on('changeDate', function (e) {
252
- checkSchedDateTime(network_auth_id);
253
- });
254
- jQuery('.b2s-post-item-details-release-input-time').timepicker().on('changeTime.timepicker', function (e) {
255
- checkSchedDateTime(network_auth_id);
256
- });
257
- init();
258
-
259
- //is relay post?
260
- if (relay_primary_post_id > 0) {
261
- jQuery('#b2s-edit-event-modal-' + b2s_id).find("input, textarea, button").each(function () {
262
- if (!jQuery(this).hasClass('b2s-input-hidden') && !jQuery(this).hasClass('b2s-modal-close') && !jQuery(this).hasClass('b2s-post-item-details-relay-input-delay') && !jQuery(this).hasClass('b2s-edit-post-delete') && !jQuery(this).hasClass('b2s-edit-post-save-this')) {
263
- jQuery(this).prop("disabled", true);
264
- }
265
- });
266
- }
267
-
268
- if (!b2s_has_premium)
269
- {
270
- jQuery('#b2s-edit-event-modal-' + b2s_id).find("input, textarea, button").each(function () {
271
- if (!jQuery(this).hasClass('b2s-modal-close')) {
272
- jQuery(this).prop("disabled", true);
273
- }
274
- });
275
- }
276
- }
277
-
278
- jQuery(document).on('change', '.b2s-calendar-filter-network-btn', function () {
279
- var filter_status = jQuery('#b2s-calendar-filter-status').val();
280
- newSource[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + jQuery(this).val() + '&filter_status=' + filter_status + '&b2s_security_nonce=' + jQuery('#b2s_security_nonce').val();
281
- jQuery('#b2s_calendar').fullCalendar('removeEventSource', curSource[0]);
282
- jQuery('#b2s_calendar').fullCalendar('addEventSource', newSource[0]);
283
- curSource[0] = newSource[0];
284
-
285
- jQuery('.b2s-calendar-filter-network-account-list').html("");
286
- jQuery('.b2s-calendar-filter-network-account-list').hide();
287
- if (jQuery(this).val() != 'all') {
288
- jQuery.ajax({
289
- url: ajaxurl,
290
- type: "POST",
291
- dataType: "json",
292
- cache: false,
293
- async: false,
294
- data: {
295
- 'action': 'b2s_get_calendar_filter_network_auth',
296
- 'network_id': jQuery(this).val(),
297
- 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
298
- },
299
- success: function (data) {
300
- if (data.result == true) {
301
- jQuery(".b2s-calendar-filter-network-account-list").show();
302
- jQuery(".b2s-calendar-filter-network-account-list").html(data.content);
303
- } else {
304
- if (data.error == 'nonce') {
305
- jQuery('.b2s-nonce-check-fail').show();
306
- }
307
- }
308
- }
309
- });
310
- }
311
- return false;
312
- });
313
-
314
-
315
- jQuery(document).on('change', '#b2s-calendar-filter-network-auth-sel', function () {
316
- var filter_network_details_auth_id = jQuery(this).val();
317
- var filter_network_id = jQuery('.b2s-calendar-filter-network-btn:checked').val();
318
- var filter_status = jQuery('#b2s-calendar-filter-status').val();
319
- newSource[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=' + filter_network_details_auth_id + '&filter_network=' + filter_network_id + '&filter_status=' + filter_status + '&b2s_security_nonce=' + jQuery('#b2s_security_nonce').val();
320
- jQuery('#b2s_calendar').fullCalendar('removeEventSource', curSource[0]);
321
- jQuery('#b2s_calendar').fullCalendar('addEventSource', newSource[0]);
322
- curSource[0] = newSource[0];
323
-
324
- return false;
325
-
326
- });
327
-
328
- jQuery(document).on('change', '#b2s-calendar-filter-status', function () {
329
- var filter_network_id = jQuery('.b2s-calendar-filter-network-btn:checked').val();
330
- var filter_network_details_auth_id = jQuery('#b2s-calendar-filter-network-auth-sel').val();
331
- if (typeof filter_network_details_auth_id == 'undefined') {
332
- filter_network_details_auth_id = 'all';
333
- }
334
- var filter_status = jQuery('#b2s-calendar-filter-status').val();
335
- newSource[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=' + filter_network_details_auth_id + '&filter_network=' + filter_network_id + '&filter_status=' + filter_status + '&b2s_security_nonce=' + jQuery('#b2s_security_nonce').val();
336
- jQuery('#b2s_calendar').fullCalendar('removeEventSource', curSource[0]);
337
- jQuery('#b2s_calendar').fullCalendar('addEventSource', newSource[0]);
338
- curSource[0] = newSource[0];
339
-
340
- return false;
341
-
342
- });
343
-
344
-
345
- //Modal Edit Post close
346
- jQuery(document).on('click', '.b2s-modal-close-edit-post', function (e) {
347
- jQuery(jQuery(this).attr('data-modal-name')).remove();
348
- return false;
349
- });
350
-
351
-
352
- jQuery(document).on('click', '#b2s-sort-submit-btn', function () {
353
- jQuery('#b2sPagination').val("1");
354
- b2sSortFormSubmit();
355
- return false;
356
- });
357
-
358
- jQuery(document).on('keypress', '#b2sSortPostTitle', function (event) {
359
- if (event.keyCode == 13) { //Hide Enter
360
- return false;
361
- }
362
- });
363
-
364
- jQuery(document).on('click', '.b2s-pagination-btn', function () {
365
- jQuery('#b2sPagination').val(jQuery(this).attr('data-page'));
366
- b2sSortFormSubmit();
367
- return false;
368
- });
369
-
370
- jQuery(document).on('change', '.b2s-select', function () {
371
- jQuery('#b2sPagination').val("1");
372
- b2sSortFormSubmit();
373
- return false;
374
- });
375
-
376
- jQuery(document).on('click', '#b2s-sort-reset-btn', function () {
377
- jQuery('#b2sPagination').val("1");
378
- jQuery('#b2sSortPostTitle').val("");
379
- jQuery('#b2sSortPostAuthor').prop('selectedIndex', 0);
380
- jQuery('#b2sSortPostCat').prop('selectedIndex', 0);
381
- jQuery('#b2sSortPostType').prop('selectedIndex', 0);
382
- jQuery('#b2sSortPostSchedDate').prop('selectedIndex', 0);
383
- jQuery('#b2sShowByDate').val("");
384
- jQuery('#b2sUserAuthId').val("");
385
- jQuery('#b2sSortPostStatus').prop('selectedIndex', 0);
386
- jQuery('#b2sSortPostPublishDate').prop('selectedIndex', 0);
387
- b2sSortFormSubmit();
388
- return false;
389
- });
390
-
391
- jQuery(document).on('click', '.b2s-calendar-sched-new-post-btn', function () {
392
- if (jQuery('#user_version').val() == 0) {
393
- jQuery('#b2s-sched-post-modal').modal('show');
394
- return false;
395
- }
396
- jQuery('#b2s-show-post-type-modal').modal('show');
397
- var view = jQuery('#b2s_calendar').fullCalendar('getView');
398
- var selSchedDate;
399
- if (view.type == 'month') {
400
- selSchedDate = jQuery(this).parent('td').attr('data-date');
401
- } else {
402
- selSchedDate = jQuery(this).parent('th').attr('data-date');
403
- }
404
- jQuery('#b2sSelSchedDate').val(selSchedDate);
405
- return false;
406
- });
407
-
408
- jQuery(document).on('click', '#b2s-btn-select-blog-post', function () {
409
- jQuery('#b2s-show-post-type-modal').modal('hide');
410
- jQuery('#b2s-show-post-all-modal').modal('show');
411
- if (!jQuery('#b2sSelSchedDate').length > 0) {
412
- jQuery('.b2sSortForm input:first').after('<input value="' + jQuery('#b2sSelSchedDate').val() + '" id="b2sSelSchedDate" name="b2sSelSchedDate" type="hidden">');
413
- }
414
- b2sSortFormSubmit();
415
- return false;
416
- });
417
-
418
- jQuery(document).on('click', '#b2s-btn-select-content-curation', function () {
419
- window.location.href = jQuery('#b2sRedirectUrlContentCuration').val() + '&schedDate=' + jQuery('#b2sSelSchedDate').val();
420
- return false;
421
- });
422
-
423
- function showFilter(typ) {
424
- if (typ == 'show') {
425
- jQuery('.filterShow').hide();
426
- jQuery('.form-inline').show();
427
- jQuery('.filterHide').show();
428
- } else {
429
- jQuery('.filterShow').show();
430
- jQuery('.form-inline').hide();
431
- jQuery('.filterHide').hide();
432
- }
433
- }
434
-
435
- //b2sSortForm
436
- function b2sSortFormSubmit() {
437
- jQuery(".b2s-loading-area").show();
438
- jQuery('.b2s-sort-result-item-area').html('');
439
- jQuery('.b2s-sort-pagination-area').html('');
440
-
441
- var data = {
442
- 'action': 'b2s_sort_data',
443
- 'b2sSortPostTitle': jQuery('#b2sSortPostTitle').val(),
444
- 'b2sSortPostAuthor': jQuery('#b2sSortPostAuthor').val(),
445
- 'b2sSortPostCat': jQuery('#b2sSortPostCat').val(),
446
- 'b2sSortPostType': jQuery('#b2sSortPostType').val(),
447
- 'b2sSortPostSchedDate': jQuery('#b2sSortPostSchedDate').val(),
448
- 'b2sUserAuthId': jQuery('#b2sUserAuthId').val(),
449
- 'b2sType': jQuery('#b2sType').val(),
450
- 'b2sShowByDate': jQuery('#b2sShowByDate').val(),
451
- 'b2sPagination': jQuery('#b2sPagination').val(),
452
- 'b2sShowPagination': jQuery('#b2sShowPagination').length > 0 ? jQuery('#b2sShowPagination').val() : 1,
453
- 'b2sSortPostStatus': jQuery('#b2sSortPostStatus').val(),
454
- 'b2sSortPostPublishDate': jQuery('#b2sSortPostPublishDate').val(),
455
- 'b2sUserLang': jQuery('#b2sUserLang').val(),
456
- 'b2sSchedDate': jQuery('#b2sSelSchedDate').val(),
457
- 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
458
- };
459
-
460
- if (jQuery('#b2sPostsPerPage').length > 0) {
461
- data['b2sPostsPerPage'] = jQuery('#b2sPostsPerPage').val();
462
- }
463
-
464
- jQuery.ajax({
465
- url: ajaxurl,
466
- type: "POST",
467
- dataType: "json",
468
- cache: false,
469
- data: data,
470
- error: function () {
471
- jQuery('.b2s-server-connection-fail').show();
472
- return false;
473
- },
474
- success: function (data) {
475
- if (typeof data === 'undefined' || data === null) {
476
- jQuery('.b2s-server-connection-fail').show();
477
- return false;
478
- }
479
- if (data.result == true) {
480
- jQuery('.b2s-loading-area').hide();
481
- jQuery('.b2s-sort-result-item-area').html(data.content).show();
482
- jQuery('.b2s-sort-pagination-area').html(data.pagination).show();
483
- } else {
484
- if (data.error == 'nonce') {
485
- jQuery('.b2s-nonce-check-fail').show();
486
- } else {
487
- jQuery('.b2s-server-connection-fail').show();
488
- }
489
- return false;
490
- }
491
- }
492
- });
493
- return false;
494
- }
495
- //Overlay second modal
496
- jQuery('#b2s-show-post-type-modal').on('hidden.bs.modal', function () {
497
- jQuery('body').addClass('modal-open');
498
- });
499
-
500
- //Overlay second modal
501
- jQuery('#b2s-network-select-image').on('hidden.bs.modal', function () {
502
- jQuery('body').addClass('modal-open');
503
- });
504
-
505
- //Overlay second modal
506
- jQuery('#b2s-post-ship-item-post-format-modal').on('hidden.bs.modal', function () {
507
- jQuery('body').addClass('modal-open');
508
- });
509
-
510
- jQuery(document).on('click', '.b2s-select-image-modal-open', function () {
511
- jQuery('.b2s-network-select-image-content').html("");
512
- jQuery.ajax({
513
- url: ajaxurl,
514
- type: "POST",
515
- cache: false,
516
- async: false,
517
- data: {
518
- 'action': 'b2s_get_image_modal',
519
- 'id': jQuery(this).data('post-id'),
520
- 'image_url': jQuery(this).data('image-url'),
521
- 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
522
- },
523
- success: function (data) {
524
- if (data.error == 'nonce') {
525
- jQuery('.b2s-nonce-check-fail').show();
526
- } else {
527
- jQuery(".b2s-network-select-image-content").html(data);
528
- }
529
- }
530
- });
531
- var authId = jQuery(this).data('network-auth-id');
532
- jQuery('.b2s-image-change-this-network').attr('data-network-auth-id', authId);
533
- jQuery('.b2s-upload-image').attr('data-network-auth-id', authId);
534
- var content = "<img class='b2s-post-item-network-image-selected-account' height='22px' src='" + jQuery('.b2s-post-item-network-image[data-network-auth-id="' + authId + '"]').attr('src') + "' /> " + jQuery('.b2s-post-item-details-network-display-name[data-network-auth-id="' + authId + '"]').html();
535
- jQuery('.b2s-selected-network-for-image-info').html(content);
536
- jQuery('#b2sInsertImageType').val("0");
537
- jQuery('.networkImage').each(function () {
538
- var width = this.naturalWidth;
539
- var height = this.naturalHeight;
540
- jQuery(this).parents('.b2s-image-item').find('.b2s-image-item-caption-resolution').html(width + 'x' + height);
541
- });
542
- jQuery('#b2s-network-select-image').modal('show');
543
- return false;
544
- });
545
- jQuery(document).on("click", ".b2s-edit-post-delete", function () {
546
- var id = jQuery(this).data("b2s-id");
547
- var post_id = jQuery(this).data("post-id");
548
- var post_for_relay = jQuery(this).data("data-post-for-relay");
549
- var post_for_approve = jQuery(this).data("data-post-for-approve");
550
- jQuery.ajax({
551
- url: ajaxurl,
552
- type: "POST",
553
- dataType: "json",
554
- cache: false,
555
- data: {
556
- 'action': 'b2s_delete_post',
557
- 'b2s_id': id,
558
- 'post_id': post_id,
559
- 'post_for_relay': post_for_relay,
560
- 'post_for_approve': post_for_approve,
561
- 'b2s_security_nonce': jQuery('#b2s_security_nonce').val()
562
- },
563
- success: function (data) {
564
- jQuery('#b2s-edit-event-modal-' + id).modal('hide');
565
- refreshCalender();
566
- wp.heartbeat.connectNow();
567
- }
568
- });
569
- });
570
-
571
- /*jQuery(document).on("click", ".b2s-calendar-save-all", function (e) {
572
- jQuery('#save_method').val("apply-all");
573
- e.preventDefault();
574
- var id = jQuery(this).data("b2s-id");
575
- jQuery.ajax({
576
- url: ajaxurl,
577
- type: "POST",
578
- dataType: "json",
579
- cache: false,
580