Blog2Social: Social Media Auto Post & Scheduler - Version 5.3.0

Version Description

Usability Optimization

Download this release

Release Info

Developer Blog2Social
Plugin Icon 128x128 Blog2Social: Social Media Auto Post & Scheduler
Version 5.3.0
Comparing to
See all releases

Code changes from version 5.2.0 to 5.3.0

Files changed (86) hide show
  1. assets/css/b2s/howto.css +0 -27
  2. assets/css/b2s/premium.css +16 -7
  3. assets/css/b2s/settings.css +1 -1
  4. assets/css/b2s/ship.css +4 -0
  5. assets/css/b2s/start.css +33 -94
  6. assets/css/b2s/support.css +43 -0
  7. assets/css/general.css +164 -48
  8. assets/images/b2s@64.png +0 -0
  9. assets/images/features/advanced-customization.png +0 -0
  10. assets/images/features/advanced-scheduling.png +0 -0
  11. assets/images/features/automation.png +0 -0
  12. assets/images/features/best-time-scheduling.png +0 -0
  13. assets/images/features/flexible-licenses.png +0 -0
  14. assets/images/features/gmb-post.png +0 -0
  15. assets/images/features/image-select.png +0 -0
  16. assets/images/features/licenses.png +0 -0
  17. assets/images/features/networks-choice.png +0 -0
  18. assets/images/features/one-step-workflow.png +0 -0
  19. assets/images/features/pages-groups.png +0 -0
  20. assets/images/features/post-types.png +0 -0
  21. assets/images/features/reporting.png +0 -0
  22. assets/images/features/support.png +0 -0
  23. assets/images/portale/20_flat.png +0 -0
  24. assets/images/support/topic.png +0 -0
  25. assets/js/b2s/calendar.js +38 -4
  26. assets/js/b2s/howto.js +0 -35
  27. assets/js/b2s/ship.js +56 -21
  28. assets/js/b2s/start.js +15 -50
  29. assets/js/b2s/support.js +109 -0
  30. assets/lib/fullcalendar/fullcalendar.css +498 -493
  31. assets/lib/fullcalendar/fullcalendar.js +2 -2
  32. assets/lib/fullcalendar/fullcalendar.min.css +1 -1
  33. assets/lib/fullcalendar/fullcalendar.min.js +1 -1
  34. blog2social.php +2 -2
  35. includes/Ajax/Get.php +25 -3
  36. includes/Ajax/Post.php +10 -10
  37. includes/B2S/Api/Get.php +18 -0
  38. includes/B2S/AutoPost.php +3 -3
  39. includes/B2S/Calendar/Filter.php +28 -10
  40. includes/B2S/Calendar/Item.php +58 -4
  41. includes/B2S/Network/Item.php +28 -38
  42. includes/B2S/Post/Item.php +6 -7
  43. includes/B2S/QuickPost.php +1 -1
  44. includes/B2S/Ship/Item.php +35 -31
  45. includes/B2S/Support/Check/System.php +212 -0
  46. includes/B2S/User/Info.php +0 -28
  47. includes/Loader.php +35 -24
  48. includes/Meta.php +23 -5
  49. includes/Notice.php +4 -3
  50. includes/PRG/Post/Item.php +1 -1
  51. includes/Tools.php +34 -5
  52. includes/Util.php +16 -7
  53. languages/blog2social-de_DE.mo +0 -0
  54. languages/blog2social-de_DE.po +791 -1536
  55. languages/blog2social-pt_BR.mo +0 -0
  56. languages/blog2social-pt_BR.po +2386 -2398
  57. languages/blog2social.pot +607 -1007
  58. readme.txt +16 -24
  59. views/b2s/curation.php +6 -3
  60. views/b2s/dashboard.php +61 -85
  61. views/b2s/howto.php +0 -58
  62. views/b2s/html/header.phtml +264 -272
  63. views/b2s/html/post.navbar.phtml +5 -3
  64. views/b2s/html/service.phtml +0 -5
  65. views/b2s/html/sidebar.phtml +140 -79
  66. views/b2s/html/sidebar.ship.phtml +52 -0
  67. views/b2s/network.php +12 -49
  68. views/b2s/post.approve.php +6 -3
  69. views/b2s/post.calendar.php +12 -4
  70. views/b2s/post.notice.php +6 -3
  71. views/b2s/post.php +5 -3
  72. views/b2s/post.publish.php +6 -3
  73. views/b2s/post.sched.php +6 -3
  74. views/b2s/premium.php +87 -116
  75. views/b2s/settings.php +8 -8
  76. views/b2s/ship.php +6 -3
  77. views/b2s/support.php +235 -0
  78. views/b2s/widgets/activity.php +1 -4
  79. views/b2s/widgets/calendar.php +0 -3
  80. views/b2s/widgets/content.php +1 -1
  81. views/b2s/widgets/newsletter.php +10 -12
  82. views/b2s/widgets/posts.php +3 -16
  83. views/b2s/widgets/premium.php +0 -117
  84. views/b2s/widgets/support.php +0 -10
  85. views/b2s/widgets/tutorial.php +0 -4
  86. views/prg/html/footer.phtml +1 -1
assets/css/b2s/howto.css DELETED
@@ -1,27 +0,0 @@
1
- .b2s-dashboard-h5{
2
- font-size: 26px;
3
- }
4
- .b2s-faq-content a{
5
- color: #79B232;
6
- }
7
- #b2s_howto_text{
8
- font-size: 22px;
9
- margin-bottom: 30px !important;
10
- }
11
- #b2s_faq_text{
12
- font-size: 22px;
13
- }
14
- @media (max-width: 768px)
15
- {
16
- body .col-md-6{
17
- padding-left: 0;
18
- padding-right: 0;
19
- }
20
- #b2s_howto_text {
21
- font-size: 16px;
22
- margin-top: 5px !important;
23
- }
24
- #b2s_faq_text{
25
- font-size: 16px;
26
- }
27
- }
assets/css/b2s/premium.css CHANGED
@@ -1,12 +1,21 @@
1
body .thumbnail{
2
border: none;
3
}
4
- .b2s-container p{
5
- text-align: center;
6
}
7
- @media(max-width: 768px)
8
- {
9
- .del-padding-right{
10
- margin-right: 10px;
11
- }
12
}
1
body .thumbnail{
2
border: none;
3
}
4
+
5
+
6
+ .b2s-premium-h2{
7
+ margin-top: 0px !important;
8
+ }
9
+
10
+ .b2s-premium-go-to-text{
11
+ color: #79B232 !important;
12
}
13
+
14
+ .b2s-premium-line{
15
+ margin-bottom: 0px!important;
16
+ }
17
+ .b2s-premium-btn-group{
18
+ text-align: center;
19
+ margin-top: 15px;
20
+ margin-bottom: 15px;
21
}
assets/css/b2s/settings.css CHANGED
@@ -16,7 +16,7 @@
16
padding: 10px 15px !important;
17
}
18
19
- hr{
20
margin-top: 0px!important;
21
}
22
16
padding: 10px 15px !important;
17
}
18
19
+ .b2s-settings-line{
20
margin-top: 0px!important;
21
}
22
assets/css/b2s/ship.css CHANGED
@@ -828,4 +828,8 @@ input[type="number"]{
828
829
.b2s-post-approve-info{
830
display: none;
831
}
828
829
.b2s-post-approve-info{
830
display: none;
831
+ }
832
+
833
+ .b2s-sidebar-menu-item{
834
+ font-weight: 600 !important;
835
}
assets/css/b2s/start.css CHANGED
@@ -1,79 +1,39 @@
1
.b2s-dashboard-h4{
2
font-weight: 700;
3
- font-size: 20px !important;
4
}
5
.b2s-dashboard-h5{
6
- font-size: 26px;
7
}
8
.b2s-dashboard-h6{
9
font-size: 18px;
10
}
11
.form-inline .form-control {
12
display: inline-block;
13
vertical-align: middle;
14
width: auto !important;
15
min-width: 250px;
16
}
17
- @media(max-width: 430px) {
18
- .form-inline .form-control {
19
- display: inline-block;
20
- vertical-align: middle;
21
- width: auto !important;
22
- min-width: 100px;
23
- }
24
- }
25
- @media(min-width: 1440px) {
26
- .b2s-btn-width-70{
27
- width: 70% !important;
28
- }
29
- }
30
-
31
- .b2s-info-sm{
32
- margin-top: 5px;
33
- font-size: 9px;
34
- }
35
-
36
- .b2s-btn-link{
37
- text-decoration: underline;
38
- }
39
- .thumbnail {
40
- border:0 none !important;
41
- margin-bottom: 0px !important;
42
- }
43
44
- .b2s-feature-img-with-90{
45
- max-width: 90px !important;
46
}
47
-
48
.label {
49
font-size: 90% !important;
50
}
51
- .b2s-padding-bottom-50{
52
- margin-bottom: 50px;
53
- }
54
-
55
- .b2s-wdith-35{
56
- width: 35px;
57
- }
58
-
59
- .b2s-well{
60
- background-color: #f5f5f5;
61
- border: 1px solid #e3e3e3;
62
- border-radius: 4px;
63
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
64
- margin-bottom: 20px;
65
- min-height: 20px;
66
- padding: 19px;
67
- }
68
- .b2s-loading-area-faq{
69
- text-align: center;
70
- }
71
-
72
- .b2s-dashoard-btn-phone{
73
- cursor: default !important;
74
- }
75
76
/* Widgets */
77
78
/* Content-Widget */
79
.b2s-widget-block-image-content{
@@ -82,8 +42,6 @@
82
line-height: 1.2;
83
}
84
.b2s-widget-block-image-content > img{
85
- /*max-height: 150px;
86
- max-width: 150px;*/
87
margin-right: 10px;
88
}
89
body .form-inline{
@@ -106,9 +64,13 @@ body .form-inline{
106
cursor:pointer
107
}
108
109
- /*.b2s-dashboard-multi-widget-content{
110
- flex: 0 1 450px;
111
- }*/
112
113
@media(max-width: 530px)
114
{
@@ -138,38 +100,10 @@ body .form-inline{
138
}
139
}
140
141
- /* Posts-Widget */
142
- .btn-link.b2s-post-btn .label{
143
- font-size: 16px !important;
144
- }
145
-
146
- .b2s-post-btn{
147
- font-size: 18px !important;
148
- }
149
-
150
ul.b2s-sort-result-item-area{
151
margin-bottom: 0;
152
}
153
- @media(max-width: 380px)
154
- {
155
- .btn-link.b2s-post-btn .label{
156
- font-size: 9px !important;
157
- }
158
- }
159
- @media(max-width: 350px)
160
- {
161
- .btn-link.b2s-post-btn.b2s-btn-disabled{
162
- display: none;
163
- }
164
- }
165
166
- /* Support */
167
- .b2s-faq-content a{
168
- font-size: 14px;
169
- }
170
- #b2s-faq-button{
171
- float:right;
172
- }
173
.b2sDetailsSchedPostBtn{
174
display: none !important;
175
}
@@ -181,15 +115,10 @@ ul.b2s-sort-result-item-area{
181
border: 1px solid #ddd;
182
}
183
184
- /* Tutorial */
185
- #b2s_tutorial_link {
186
- float: right;
187
- margin-top: 27px;
188
- }
189
-
190
.b2s-activity-search-content{
191
padding-top: 15px;
192
padding-left:10px;
193
}
194
195
.b2sSortForm.form-inline{
@@ -198,4 +127,14 @@ ul.b2s-sort-result-item-area{
198
199
.fc-day-grid-event{
200
cursor: pointer;
201
}
1
.b2s-dashboard-h4{
2
font-weight: 700;
3
+ font-size: 24px !important;
4
}
5
.b2s-dashboard-h5{
6
+ font-size: 24px;
7
+ margin-left: 22px;
8
+ color: #72777c !important;
9
}
10
.b2s-dashboard-h6{
11
font-size: 18px;
12
}
13
+
14
+ .form-inline{
15
+ margin-bottom: 0px !important;
16
+ }
17
+
18
.form-inline .form-control {
19
display: inline-block;
20
vertical-align: middle;
21
width: auto !important;
22
min-width: 250px;
23
}
24
25
+ .b2s-mail-update-title{
26
+ font-weight: 600;
27
+ font-size: 16px;
28
}
29
.label {
30
font-size: 90% !important;
31
}
32
33
/* Widgets */
34
+ .b2s-widget-calendar{
35
+ margin-top: 10px;
36
+ }
37
38
/* Content-Widget */
39
.b2s-widget-block-image-content{
42
line-height: 1.2;
43
}
44
.b2s-widget-block-image-content > img{
45
margin-right: 10px;
46
}
47
body .form-inline{
64
cursor:pointer
65
}
66
67
+ .fc-showall-button{
68
+ color: #fff !important;
69
+ background-color: #337ab7 !important;
70
+ border-color: #204d74 !important;
71
+ text-decoration: none !important;
72
+ }
73
+
74
75
@media(max-width: 530px)
76
{
100
}
101
}
102
103
ul.b2s-sort-result-item-area{
104
margin-bottom: 0;
105
}
106
107
.b2sDetailsSchedPostBtn{
108
display: none !important;
109
}
115
border: 1px solid #ddd;
116
}
117
118
.b2s-activity-search-content{
119
padding-top: 15px;
120
padding-left:10px;
121
+ font-weight: 600;
122
}
123
124
.b2sSortForm.form-inline{
127
128
.fc-day-grid-event{
129
cursor: pointer;
130
+ }
131
+
132
+ .fc-left > h2 {
133
+ margin-left: 20px !important;
134
+ color: #72777c !important;
135
+ }
136
+ body .fc-state-default{
137
+ color: #000;
138
+ background-color: #fff;
139
+ border-color: #ccc;
140
}
assets/css/b2s/support.css ADDED
@@ -0,0 +1,43 @@
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
+ }
assets/css/general.css CHANGED
@@ -1130,8 +1130,8 @@ img {
1130
border-radius: 50%;
1131
}
1132
hr {
1133
- margin-top: 20px;
1134
- margin-bottom: 20px;
1135
border: 0;
1136
border-top: 1px solid #eee;
1137
}
@@ -1250,15 +1250,15 @@ h6 .small,
1250
}
1251
h1,
1252
.h1 {
1253
- font-size: 36px;
1254
}
1255
h2,
1256
.h2 {
1257
- font-size: 30px;
1258
}
1259
h3,
1260
.h3 {
1261
- font-size: 24px;
1262
}
1263
h4,
1264
.h4 {
@@ -3419,8 +3419,8 @@ fieldset[disabled] .btn-link:focus {
3419
}
3420
.btn-lg,
3421
.btn-group-lg > .btn {
3422
- font-size: 20px;
3423
- line-height: 1.3333333;
3424
border-radius: 6px;
3425
}
3426
.btn-sm,
@@ -3776,6 +3776,7 @@ input[type="button"].btn-block {
3776
position: relative;
3777
display: table;
3778
border-collapse: separate;
3779
}
3780
.input-group[class*="col-"] {
3781
float: none;
@@ -6728,6 +6729,11 @@ button.close {
6728
background-color: #79B232 !important;
6729
}
6730
6731
.updated a {
6732
padding-bottom: 10px !important;
6733
}
@@ -6948,6 +6954,8 @@ p {
6948
/* B2S Custom */
6949
.b2s-container{
6950
margin-top:15px;
6951
}
6952
6953
.b2s-select,.b2s-input,.b2s-select-area{
@@ -6955,8 +6963,88 @@ p {
6955
margin-bottom: 8px !important;
6956
}
6957
6958
- .b2s-logo{
6959
- padding-bottom: 15px;
6960
}
6961
6962
.b2s-loading-area, .prg-loading-area{
@@ -6977,8 +7065,16 @@ p {
6977
padding: 0 15px;
6978
}
6979
6980
.del-padding-right {
6981
- padding-right: 0px !important;
6982
}
6983
6984
.padding-bottom-10{
@@ -7099,6 +7195,9 @@ input[type="checkbox"].error + label{
7099
.b2s-color-green{
7100
color: #79b232;
7101
}
7102
7103
.b2s-version-info{
7104
font-size: 12px;
@@ -7177,7 +7276,9 @@ input[type="checkbox"].error + label{
7177
.b2s-close{
7178
color:#aaa;
7179
float:right;
7180
- cursor:pointer
7181
}
7182
.b2s-notice-buttons{
7183
padding-top:10px;
@@ -7405,27 +7506,27 @@ CSS CheckBOX
7405
7406
7407
.b2s-scroll-modal-down {
7408
- opacity: 1;
7409
- -webkit-transition: all .5s ease-in 3s;
7410
- transition: all .5s ease-in 3s;
7411
}
7412
7413
.b2s-scroll-modal-down {
7414
- position: absolute;
7415
- bottom: 50px;
7416
- left: 50%;
7417
- margin-left: -16px;
7418
- display: block;
7419
- width: 32px;
7420
- height: 32px;
7421
- border: 2px solid #398439;
7422
- background-size: 14px auto;
7423
- border-radius: 50%;
7424
- z-index: 20000;
7425
- -webkit-animation: bounce 2s infinite 2s;
7426
- animation: bounce 2s infinite 2s;
7427
- -webkit-transition: all .2s ease-in;
7428
- transition: all .2s ease-in;
7429
}
7430
7431
.b2s-scroll-modal-down:before {
@@ -7442,27 +7543,42 @@ CSS CheckBOX
7442
}
7443
7444
@keyframes bounce {
7445
- 0%,
7446
- 100%,
7447
- 20%,
7448
- 50%,
7449
- 80% {
7450
- -webkit-transform: translateY(0);
7451
- -ms-transform: translateY(0);
7452
- transform: translateY(0);
7453
- }
7454
- 40% {
7455
- -webkit-transform: translateY(-10px);
7456
- -ms-transform: translateY(-10px);
7457
- transform: translateY(-10px);
7458
- }
7459
- 60% {
7460
- -webkit-transform: translateY(-5px);
7461
- -ms-transform: translateY(-5px);
7462
- transform: translateY(-5px);
7463
- }
7464
}
7465
7466
.btn-padding{
7467
padding:6px 0px;
7468
}
1130
border-radius: 50%;
1131
}
1132
hr {
1133
+ margin-top: 15px;
1134
+ margin-bottom: 15px;
1135
border: 0;
1136
border-top: 1px solid #eee;
1137
}
1250
}
1251
h1,
1252
.h1 {
1253
+ font-size: 28px;
1254
}
1255
h2,
1256
.h2 {
1257
+ font-size: 22px;
1258
}
1259
h3,
1260
.h3 {
1261
+ font-size: 20px;
1262
}
1263
h4,
1264
.h4 {
3419
}
3420
.btn-lg,
3421
.btn-group-lg > .btn {
3422
+ font-size: 16px;
3423
+ line-height: 1.1333333;
3424
border-radius: 6px;
3425
}
3426
.btn-sm,
3776
position: relative;
3777
display: table;
3778
border-collapse: separate;
3779
+ direction: ltr !important;
3780
}
3781
.input-group[class*="col-"] {
3782
float: none;
6729
background-color: #79B232 !important;
6730
}
6731
6732
+ .btn-primary, .label-primary{
6733
+ background-color: #337ab7 !important;
6734
+ }
6735
+
6736
+
6737
.updated a {
6738
padding-bottom: 10px !important;
6739
}
6954
/* B2S Custom */
6955
.b2s-container{
6956
margin-top:15px;
6957
+ font-family: "Open Sans",Arial,sans-serif;
6958
+ font-weight: 500;
6959
}
6960
6961
.b2s-select,.b2s-input,.b2s-select-area{
6963
margin-bottom: 8px !important;
6964
}
6965
6966
+ .b2s-btn-logo{
6967
+ font-weight: 600 !important;
6968
+ font-size: 22px !important;
6969
+ line-height: 0.89999 !important;
6970
+ padding:5px 5px !important;
6971
+ color: #337ab7 !important;
6972
+ margin-top: 0px;
6973
+ text-decoration: none !important;
6974
+ }
6975
+
6976
+ .b2s-img-logo{
6977
+ min-width: 2.5em;
6978
+ }
6979
+
6980
+ .b2s-sidebar{
6981
+ max-width: 320px;
6982
+ }
6983
+
6984
+ .b2s-sidebar-version{
6985
+ font-size: 12px !important;
6986
+ white-space:nowrap;
6987
+ }
6988
+
6989
+ .b2s-sidebar-btn-licence{
6990
+ font-size: 14px !important;
6991
+ }
6992
+
6993
+ .b2s-sidebar-btn-licence{
6994
+ text-decoration: underline;
6995
+ }
6996
+
6997
+ .b2s-sidebar-licence{
6998
+ font-size: 14px !important;
6999
+ padding-top: 5px;
7000
+ font-weight: 600;
7001
+ }
7002
+
7003
+ .b2s-sidebar-licence-btn-edit{
7004
+ padding-left: 5px;
7005
+ color: #adadad;
7006
+ }
7007
+
7008
+ @media(max-width:1150px){
7009
+ .b2s-sidebar-licence-btn-edit{
7010
+ display: none;
7011
+ }
7012
+ }
7013
+
7014
+
7015
+ .b2s-sidebar-head-text{
7016
+ text-transform: uppercase;
7017
+ font-size: 14px;
7018
+ font-weight: 600;
7019
+ margin-bottom:8px;
7020
+ }
7021
+ .b2s-sidebar-menu-item{
7022
+ padding-left: 10px;
7023
+ font-weight: 400;
7024
+ font-size: 15px !important;
7025
+ line-height: 1.1333333;
7026
+ color: #337ab7 !important;
7027
+ line-height: 0.89999 !important;
7028
+ }
7029
+
7030
+
7031
+ .b2s-list-margin-left-10{
7032
+ margin-left: 10px !important;
7033
+ margin-bottom: 10px;
7034
+ }
7035
+
7036
+ .b2s-info-sm{
7037
+ font-size: 12px !important;
7038
+ }
7039
+
7040
+ h4{
7041
+ font-size: 18px;
7042
+ margin-top: 10px;
7043
+ }
7044
+
7045
+ .b2s-blog-news-title{
7046
+ font-size: 14px !important;
7047
+ margin-top: 0px !important;
7048
}
7049
7050
.b2s-loading-area, .prg-loading-area{
7065
padding: 0 15px;
7066
}
7067
7068
+ .add-margin-bottom-10{
7069
+ margin-bottom: 10px;
7070
+ }
7071
+
7072
+ .add-margin-top-10{
7073
+ margin-top: 10px;
7074
+ }
7075
+
7076
.del-padding-right {
7077
+ padding-right: 5px !important;
7078
}
7079
7080
.padding-bottom-10{
7195
.b2s-color-green{
7196
color: #79b232;
7197
}
7198
+ .b2s-color-black{
7199
+ color: #444;
7200
+ }
7201
7202
.b2s-version-info{
7203
font-size: 12px;
7276
.b2s-close{
7277
color:#aaa;
7278
float:right;
7279
+ cursor:pointer;
7280
+ font-weight: 600;
7281
+ font-size: 18px;
7282
}
7283
.b2s-notice-buttons{
7284
padding-top:10px;
7506
7507
7508
.b2s-scroll-modal-down {
7509
+ opacity: 1;
7510
+ -webkit-transition: all .5s ease-in 3s;
7511
+ transition: all .5s ease-in 3s;
7512
}
7513
7514
.b2s-scroll-modal-down {
7515
+ position: absolute;
7516
+ bottom: 50px;
7517
+ left: 50%;
7518
+ margin-left: -16px;
7519
+ display: block;
7520
+ width: 32px;
7521
+ height: 32px;
7522
+ border: 2px solid #398439;
7523
+ background-size: 14px auto;
7524
+ border-radius: 50%;
7525
+ z-index: 20000;
7526
+ -webkit-animation: bounce 2s infinite 2s;
7527
+ animation: bounce 2s infinite 2s;
7528
+ -webkit-transition: all .2s ease-in;
7529
+ transition: all .2s ease-in;
7530
}
7531
7532
.b2s-scroll-modal-down:before {
7543
}
7544
7545
@keyframes bounce {
7546
+ 0%,
7547
+ 100%,
7548
+ 20%,
7549
+ 50%,
7550
+ 80% {
7551
+ -webkit-transform: translateY(0);
7552
+ -ms-transform: translateY(0);
7553
+ transform: translateY(0);
7554
+ }
7555
+ 40% {
7556
+ -webkit-transform: translateY(-10px);
7557
+ -ms-transform: translateY(-10px);
7558
+ transform: translateY(-10px);
7559
+ }
7560
+ 60% {
7561
+ -webkit-transform: translateY(-5px);
7562
+ -ms-transform: translateY(-5px);
7563
+ transform: translateY(-5px);
7564
+ }
7565
}
7566
7567
.btn-padding{
7568
padding:6px 0px;
7569
+ }
7570
+
7571
+ .b2s-color-white{
7572
+ color:#fff;
7573
+ }
7574
+
7575
+ .b2s-color-grey{
7576
+ color: #72777c !important;
7577
+ }
7578
+
7579
+ .b2s-modal-info-key-area{
7580
+ width: 350px !important;
7581
+ }
7582
+ .b2s-text-underline{
7583
+ text-decoration: underline;
7584
}
assets/images/b2s@64.png ADDED
Binary file
assets/images/features/advanced-customization.png DELETED
Binary file
assets/images/features/advanced-scheduling.png DELETED
Binary file
assets/images/features/automation.png DELETED
Binary file
assets/images/features/best-time-scheduling.png DELETED
Binary file
assets/images/features/flexible-licenses.png DELETED
Binary file
assets/images/features/gmb-post.png ADDED
Binary file
assets/images/features/image-select.png DELETED
Binary file
assets/images/features/licenses.png ADDED
Binary file
assets/images/features/networks-choice.png DELETED
Binary file
assets/images/features/one-step-workflow.png DELETED
Binary file
assets/images/features/pages-groups.png ADDED
Binary file
assets/images/features/post-types.png DELETED
Binary file
assets/images/features/reporting.png DELETED
Binary file
assets/images/features/support.png ADDED
Binary file
assets/images/portale/20_flat.png ADDED
Binary file
assets/images/support/topic.png ADDED
Binary file
assets/js/b2s/calendar.js CHANGED
@@ -1,7 +1,7 @@
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';
5
var newSource = new Array();
6
7
jQuery(document).ready(function () {
@@ -30,6 +30,9 @@ jQuery(document).ready(function () {
30
element.append($header);
31
$body = jQuery("<div>").addClass("b2s-calendar-body");
32
$body.append(event.avatar);
33
$body.append(element.find(".fc-title"));
34
$body.append(jQuery("<br>"));
35
var $em = jQuery("<em>").css("padding-top", "5px").css("display", "block");
@@ -38,6 +41,9 @@ jQuery(document).ready(function () {
38
$em.append(jQuery("<span>").text(": " + event.profile));
39
$body.append($em);
40
element.append($body);
41
},
42
dayRender: function (date, element) {
43
//TODO state to load
@@ -74,7 +80,13 @@ jQuery(document).ready(function () {
74
return dropLocation.start.isAfter(b2s_calendar_date) && draggedEvent.start.isAfter(b2s_calendar_datetime);
75
},
76
eventClick: function (calEvent, jsEvent, view) {
77
- 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);
78
},
79
loading: function (bool) {
80
if (!bool) {
@@ -254,7 +266,8 @@ function showEditSchedCalendarPost(b2s_id, post_id, network_auth_id, network_typ
254
255
256
jQuery(document).on('change', '.b2s-calendar-filter-network-btn', function () {
257
- newSource[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + jQuery(this).val();
258
jQuery('#b2s_calendar').fullCalendar('removeEventSource', curSource[0]);
259
jQuery('#b2s_calendar').fullCalendar('addEventSource', newSource[0]);
260
curSource[0] = newSource[0];
@@ -287,7 +300,24 @@ jQuery(document).on('change', '.b2s-calendar-filter-network-btn', function () {
287
jQuery(document).on('change', '#b2s-calendar-filter-network-auth-sel', function () {
288
var filter_network_details_auth_id = jQuery(this).val();
289
var filter_network_id = jQuery('.b2s-calendar-filter-network-btn:checked').val();
290
- newSource[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=' + filter_network_details_auth_id + '&filter_network=' + filter_network_id;
291
jQuery('#b2s_calendar').fullCalendar('removeEventSource', curSource[0]);
292
jQuery('#b2s_calendar').fullCalendar('addEventSource', newSource[0]);
293
curSource[0] = newSource[0];
@@ -429,6 +459,10 @@ function b2sSortFormSubmit() {
429
});
430
return false;
431
}
432
433
//Overlay second modal
434
jQuery('#b2s-network-select-image').on('hidden.bs.modal', function () {
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';
5
var newSource = new Array();
6
7
jQuery(document).ready(function () {
30
element.append($header);
31
$body = jQuery("<div>").addClass("b2s-calendar-body");
32
$body.append(event.avatar);
33
+ if (event.status == "error") {
34
+ $body.append(jQuery('<i>').addClass('glyphicon glyphicon-warning-sign glyphicon-danger'));
35
+ }
36
$body.append(element.find(".fc-title"));
37
$body.append(jQuery("<br>"));
38
var $em = jQuery("<em>").css("padding-top", "5px").css("display", "block");
41
$em.append(jQuery("<span>").text(": " + event.profile));
42
$body.append($em);
43
element.append($body);
44
+ if (event.status != "scheduled") {
45
+ event.editable = false;
46
+ }
47
},
48
dayRender: function (date, element) {
49
//TODO state to load
80
return dropLocation.start.isAfter(b2s_calendar_date) && draggedEvent.start.isAfter(b2s_calendar_datetime);
81
},
82
eventClick: function (calEvent, jsEvent, view) {
83
+ if (calEvent.status == "scheduled") {
84
+ 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);
85
+ } else {
86
+ if (calEvent.publish_link != "") {
87
+ window.open(calEvent.publish_link, '_blank');
88
+ }
89
+ }
90
},
91
loading: function (bool) {
92
if (!bool) {
266
267
268
jQuery(document).on('change', '.b2s-calendar-filter-network-btn', function () {
269
+ var filter_status = jQuery('#b2s-calendar-filter-status').val();
270
+ newSource[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + jQuery(this).val() + '&filter_status=' + filter_status;
271
jQuery('#b2s_calendar').fullCalendar('removeEventSource', curSource[0]);
272
jQuery('#b2s_calendar').fullCalendar('addEventSource', newSource[0]);
273
curSource[0] = newSource[0];
300
jQuery(document).on('change', '#b2s-calendar-filter-network-auth-sel', function () {
301
var filter_network_details_auth_id = jQuery(this).val();
302
var filter_network_id = jQuery('.b2s-calendar-filter-network-btn:checked').val();
303
+ var filter_status = jQuery('#b2s-calendar-filter-status').val();
304
+ 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;
305
+ jQuery('#b2s_calendar').fullCalendar('removeEventSource', curSource[0]);
306
+ jQuery('#b2s_calendar').fullCalendar('addEventSource', newSource[0]);
307
+ curSource[0] = newSource[0];
308
+
309
+ return false;
310
+
311
+ });
312
+
313
+ jQuery(document).on('change', '#b2s-calendar-filter-status', function () {
314
+ var filter_network_id = jQuery('.b2s-calendar-filter-network-btn:checked').val();
315
+ var filter_network_details_auth_id = jQuery('#b2s-calendar-filter-network-auth-sel').val();
316
+ if (typeof filter_network_details_auth_id == 'undefined') {
317
+ filter_network_details_auth_id = 'all';
318
+ }
319
+ var filter_status = jQuery('#b2s-calendar-filter-status').val();
320
+ 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;
321
jQuery('#b2s_calendar').fullCalendar('removeEventSource', curSource[0]);
322
jQuery('#b2s_calendar').fullCalendar('addEventSource', newSource[0]);
323
curSource[0] = newSource[0];
459
});
460
return false;
461
}
462
+ //Overlay second modal
463
+ jQuery('#b2s-show-post-type-modal').on('hidden.bs.modal', function () {
464
+ jQuery('body').addClass('modal-open');
465
+ });
466
467
//Overlay second modal
468
jQuery('#b2s-network-select-image').on('hidden.bs.modal', function () {
assets/js/b2s/howto.js DELETED
@@ -1,35 +0,0 @@
1
- jQuery.noConflict();
2
-
3
-
4
- jQuery(document).ready(function () {
5
- getWidgetFaq();
6
-
7
- });
8
-
9
- function getWidgetFaq() {
10
- jQuery('.b2s-faq-area').show();
11
- if (typeof wp.heartbeat == "undefined") {
12
- jQuery('#b2s-heartbeat-fail').show();
13
- }
14
- jQuery.ajax({
15
- url: ajaxurl,
16
- type: "POST",
17
- dataType: "json",
18
- cache: false,
19
- data: {
20
- 'action': 'b2s_get_faq_entries'
21
- },
22
- error: function () {
23
- jQuery('.b2s-faq-area').hide();
24
- return false;
25
- },
26
- success: function (data) {
27
- if (data.result == true) {
28
- jQuery('.b2s-loading-area-faq').hide();
29
- jQuery('.b2s-faq-content').html(data.content);
30
- } else {
31
- jQuery('.b2s-faq-area').hide();
32
- }
33
- }
34
- });
35
- }
assets/js/b2s/ship.js CHANGED
@@ -115,7 +115,7 @@ jQuery(document).on('click', '.b2s-toogle-calendar-btn', function () {
115
jQuery('.b2s-calendar-filter-area[data-network-auth-id="' + networkAuthId + '"]').removeClass('hide');
116
117
if (calendar.is(':empty')) {
118
- b2s_cur_source_ship_calendar[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + networkId;
119
120
jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + networkAuthId + '"]').fullCalendar({
121
editable: false,
@@ -210,8 +210,8 @@ jQuery(document).on('click', '.b2s-calendar-add-schedule-btn', function () {
210
});
211
212
jQuery(document).on('change', '.b2s-calendar-filter-network-sel', function () {
213
- var newSource = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + jQuery(this).val();
214
- var oldSource = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + jQuery(this).attr('data-last-sel');
215
jQuery(this).attr('data-last-sel', jQuery(this).val());
216
jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').fullCalendar('removeEventSource', oldSource);
217
jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').fullCalendar('addEventSource', newSource);
@@ -633,11 +633,21 @@ jQuery(document).on("click", ".b2s-user-network-settings-post-format", function
633
return true;
634
}
635
});
636
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').show();
637
- jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
638
639
//Facebook TOS 072018 - Instant Sharing - Image post without Text > set to readonly
640
- if (networkId == 1 && networkType == 0 && jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + networkAuthId + '"]').val() != "1") {
641
jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
642
jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').show();
643
jQuery('.b2s-post-item-info-area[data-network-auth-id="' + networkAuthId + '"]').show();
@@ -696,6 +706,7 @@ jQuery(document).on("click", ".b2s-post-ship-item-full-text", function () {
696
'postId': jQuery('#b2sPostId').val(),
697
'userLang': jQuery('#b2sUserLang').val(),
698
'networkAuthId': jQuery(this).attr('data-network-auth-id'),
699
},
700
error: function () {
701
jQuery('.b2s-server-connection-fail').show();
@@ -703,8 +714,15 @@ jQuery(document).on("click", ".b2s-post-ship-item-full-text", function () {
703
},
704
success: function (data) {
705
if (data.result == true) {
706
- jQuery('.b2s-post-item-details-item-message-input[data-network-count="' + curSchedCount + '"][data-network-auth-id="' + data.networkAuthId + '"]').val(data.text);
707
networkCount(data.networkAuthId);
708
}
709
}
710
});
@@ -979,7 +997,12 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
979
if (jQuery('#b2s_blog_default_image').val() != "") {
980
if (jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').length > 0) {
981
jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('#b2s_blog_default_image').val());
982
- jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').show();
983
}
984
jQuery('.b2s-image-url-hidden-field').val(jQuery('#b2s_blog_default_image').val());
985
}
@@ -1019,12 +1042,12 @@ jQuery(document).on("click", ".b2s-network-select-btn", function () {
1019
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
1020
jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src'));
1021
jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
1022
if (jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').is(":visible")) {
1023
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').show();
1024
} else {
1025
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').hide();
1026
}
1027
-
1028
return true;
1029
}
1030
});
@@ -1351,6 +1374,13 @@ jQuery(document).on('click', '.b2s-re-share-btn', function () {
1351
}
1352
});
1353
1354
return false;
1355
});
1356
jQuery(document).on('click', '.b2s-post-item-details-release-input-add', function () {
@@ -1437,8 +1467,10 @@ jQuery(document).on("keyup", ".complete_network_url", function () {
1437
jQuery(this).val(url);
1438
}
1439
} else if (jQuery(this).hasClass("required_network_url")) {
1440
- url = jQuery("#b2sDefault_url").val();
1441
- jQuery(this).val(url);
1442
}
1443
});
1444
jQuery(document).on('click', '.scroll-to-top', function () {
@@ -1542,8 +1574,10 @@ jQuery(document).on('click', '.b2s-select-image-modal-open', function () {
1542
} else {
1543
jQuery('.b2s-image-change-this-network').attr('data-meta-type', "");
1544
}
1545
-
1546
jQuery('#b2s-network-select-image').modal('show');
1547
imageSize();
1548
return false;
1549
});
@@ -1799,7 +1833,7 @@ jQuery(document).on('click', '.b2s-upload-image', function () {
1799
'</div>' +
1800
'<div class="b2s-image-item-caption text-center">' +
1801
'<div class="b2s-image-item-caption-resolution clearfix small"></div>' +
1802
- '<input type="radio" value="' + attachment.url + '" class="checkNetworkImage" name="image_url" id="b2s-image-count-' + count + '">' +
1803
'</div>' +
1804
'</div>';
1805
jQuery('.b2s-image-choose-area').html(jQuery('.b2s-image-choose-area').html() + content);
@@ -2337,9 +2371,6 @@ function activatePortal(networkAuthId, check) {
2337
} else {
2338
jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"][data-network-count="-1"]').removeAttr("disabled", "disabled");
2339
}
2340
-
2341
-
2342
-
2343
jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').children().addClass('active').find('.b2s-network-hide').removeClass('b2s-network-hide');
2344
checkNetworkSelected();
2345
submitArea();
@@ -2749,8 +2780,10 @@ function networkLimitAll(networkAuthId, networkId, limit) {
2749
jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2750
}
2751
} else if (jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").hasClass("required_network_url")) {
2752
- url = jQuery("#b2sDefault_url").val();
2753
- jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2754
}
2755
2756
var textLength = text.length;
@@ -2790,8 +2823,10 @@ function networkCount(networkAuthId) {
2790
jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2791
}
2792
} else if (jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").hasClass("required_network_url")) {
2793
- url = jQuery("#b2sDefault_url").val();
2794
- jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2795
}
2796
var textLength = text.length;
2797
jQuery(".b2s-post-item-countChar[data-network-count='" + networkCountId + "'][data-network-auth-id='" + networkAuthId + "']").html(textLength);
@@ -2857,7 +2892,7 @@ function chooseMandant() {
2857
jQuery('.b2s-network-status-img-loading').hide();
2858
jQuery('.b2s-network-select-btn-deactivate').removeClass('b2s-network-select-btn-deactivate');
2859
//imageCheck();
2860
- //TOS XING Groups
2861
b2sTosXingGroupCount = 0;
2862
//expiredDate wieder setzten
2863
jQuery('.b2s-network-status-expiredDate').each(function () {
115
jQuery('.b2s-calendar-filter-area[data-network-auth-id="' + networkAuthId + '"]').removeClass('hide');
116
117
if (calendar.is(':empty')) {
118
+ b2s_cur_source_ship_calendar[0] = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + networkId + '&filter_status=2';
119
120
jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + networkAuthId + '"]').fullCalendar({
121
editable: false,
210
});
211
212
jQuery(document).on('change', '.b2s-calendar-filter-network-sel', function () {
213
+ var newSource = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + jQuery(this).val() + '&filter_status=2';
214
+ var oldSource = ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=' + jQuery(this).attr('data-last-sel') + '&filter_status=2';
215
jQuery(this).attr('data-last-sel', jQuery(this).val());
216
jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').fullCalendar('removeEventSource', oldSource);
217
jQuery('.b2s-post-item-calendar-area[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').fullCalendar('addEventSource', newSource);
633
return true;
634
}
635
});
636
+
637
+ //Set & Check Link
638
+ if (typeof jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]') !== undefined) {
639
+ //Facebook + Twitter && Linkpost
640
+ if (networkId == 1 || networkId == 2 && postFormat == 0) {
641
+ if (jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + networkAuthId + '"]').val() == "") {
642
+ jQuery('.b2s-post-item-details-item-url-input[data-network-auth-id="' + networkAuthId + '"]').val(jQuery('#b2sDefault_url').val());
643
+ }
644
+ }
645
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').show();
646
+ jQuery('.b2s-post-item-details-preview-url-reload[data-network-auth-id="' + networkAuthId + '"]').trigger("click");
647
+ }
648
649
//Facebook TOS 072018 - Instant Sharing - Image post without Text > set to readonly
650
+ if (networkId == 1 && networkType == 0) {
651
jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').prop("readonly", false);
652
jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"]').show();
653
jQuery('.b2s-post-item-info-area[data-network-auth-id="' + networkAuthId + '"]').show();
706
'postId': jQuery('#b2sPostId').val(),
707
'userLang': jQuery('#b2sUserLang').val(),
708
'networkAuthId': jQuery(this).attr('data-network-auth-id'),
709
+ 'networkId': jQuery(this).attr('data-network-id'),
710
},
711
error: function () {
712
jQuery('.b2s-server-connection-fail').show();
714
},
715
success: function (data) {
716
if (data.result == true) {
717
+ messageInput = jQuery('.b2s-post-item-details-item-message-input[data-network-count="' + curSchedCount + '"][data-network-auth-id="' + data.networkAuthId + '"]');
718
+ messageInput.val(data.text);
719
networkCount(data.networkAuthId);
720
+ networkTextLimit = messageInput.attr('data-network-text-limit');
721
+ if (typeof networkTextLimit != undefined) {
722
+ if (parseInt(networkTextLimit) > 0 && parseInt(data.networkId) > 0) {
723
+ networkLimitAll(data.networkAuthId, data.networkId, networkTextLimit);
724
+ }
725
+ }
726
}
727
}
728
});
997
if (jQuery('#b2s_blog_default_image').val() != "") {
998
if (jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').length > 0) {
999
jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('#b2s_blog_default_image').val());
1000
+ if (jQuery('.b2s-post-item-details-release-input-date-select[data-network-auth-id="' + data.networkAuthId + '"]').val() == 1) {
1001
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"][data-network-count="-1"]').hide();
1002
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"][data-network-count="0"]').show();
1003
+ } else {
1004
+ jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').show();
1005
+ }
1006
}
1007
jQuery('.b2s-image-url-hidden-field').val(jQuery('#b2s_blog_default_image').val());
1008
}
1042
jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2s-post-item-details-preview-desc[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
1043
jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + data.networkAuthId + '"]').attr('src', jQuery('.b2s-post-item-details-url-image[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').attr('src'));
1044
jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + data.networkAuthId + '"]').val(jQuery('.b2s-image-url-hidden-field[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').val());
1045
+
1046
if (jQuery('.b2s-image-remove-btn[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"]').is(":visible")) {
1047
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').show();
1048
} else {
1049
jQuery('.b2s-image-remove-btn[data-network-auth-id="' + data.networkAuthId + '"]').hide();
1050
}
1051
return true;
1052
}
1053
});
1374
}
1375
});
1376
1377
+ //Approve
1378
+ jQuery('.b2s-post-item-details-post-format').each(function () {
1379
+ if (jQuery(this).attr('data-network-id') == "1" && jQuery(this).attr('data-network-type') == '0' && jQuery(this).val() == "1") {
1380
+ jQuery('.b2s-post-approve-info[data-network-auth-id="' + jQuery(this).attr('data-network-auth-id') + '"').show();
1381
+ }
1382
+ });
1383
+
1384
return false;
1385
});
1386
jQuery(document).on('click', '.b2s-post-item-details-release-input-add', function () {
1467
jQuery(this).val(url);
1468
}
1469
} else if (jQuery(this).hasClass("required_network_url")) {
1470
+ if (!(jQuery(this).attr('data-network-id') == 1 && jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + jQuery(this).attr('data-network-auth-id') + ']').val() == 1)) { //Facebook Imagepost don't require Link
1471
+ url = jQuery("#b2sDefault_url").val();
1472
+ jQuery(this).val(url);
1473
+ }
1474
}
1475
});
1476
jQuery(document).on('click', '.scroll-to-top', function () {
1574
} else {
1575
jQuery('.b2s-image-change-this-network').attr('data-meta-type', "");
1576
}
1577
+ //set selected image
1578
+ var selImageVal = jQuery('.b2s-post-item-details-url-image[data-network-count="' + countId + '"][data-network-auth-id="' + authId + '"]').attr('src');
1579
jQuery('#b2s-network-select-image').modal('show');
1580
+ jQuery('.checkNetworkImage[data-src="' + selImageVal + '"]').attr('checked', 'checked');
1581
imageSize();
1582
return false;
1583
});
1833
'</div>' +
1834
'<div class="b2s-image-item-caption text-center">' +
1835
'<div class="b2s-image-item-caption-resolution clearfix small"></div>' +
1836
+ '<input type="radio" value="' + attachment.url + '" data-src="' + attachment.url + '" class="checkNetworkImage" name="image_url" id="b2s-image-count-' + count + '">' +
1837
'</div>' +
1838
'</div>';
1839
jQuery('.b2s-image-choose-area').html(jQuery('.b2s-image-choose-area').html() + content);
2371
} else {
2372
jQuery('.b2s-post-item-details-item-message-input[data-network-auth-id="' + networkAuthId + '"][data-network-count="-1"]').removeAttr("disabled", "disabled");
2373
}
2374
jQuery('.b2s-network-select-btn[data-network-auth-id="' + networkAuthId + '"]').children().addClass('active').find('.b2s-network-hide').removeClass('b2s-network-hide');
2375
checkNetworkSelected();
2376
submitArea();
2780
jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2781
}
2782
} else if (jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").hasClass("required_network_url")) {
2783
+ if (!(jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").attr('data-network-id') == 1 && jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val() == 1)) { //Facebook Imagepost don't require Link
2784
+ url = jQuery("#b2sDefault_url").val();
2785
+ jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2786
+ }
2787
}
2788
2789
var textLength = text.length;
2823
jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2824
}
2825
} else if (jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").hasClass("required_network_url")) {
2826
+ if (!(jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").attr('data-network-id') == 1 && jQuery('.b2s-post-item-details-post-format[data-network-auth-id=' + networkAuthId + ']').val() == 1)) { //Facebook Imagepost don't require Link
2827
+ url = jQuery("#b2sDefault_url").val();
2828
+ jQuery(".b2s-post-item-details-item-url-input[data-network-auth-id='" + networkAuthId + "']").val(url);
2829
+ }
2830
}
2831
var textLength = text.length;
2832
jQuery(".b2s-post-item-countChar[data-network-count='" + networkCountId + "'][data-network-auth-id='" + networkAuthId + "']").html(textLength);
2892
jQuery('.b2s-network-status-img-loading').hide();
2893
jQuery('.b2s-network-select-btn-deactivate').removeClass('b2s-network-select-btn-deactivate');
2894
//imageCheck();
2895
+ //TOS XING Groups
2896
b2sTosXingGroupCount = 0;
2897
//expiredDate wieder setzten
2898
jQuery('.b2s-network-status-expiredDate').each(function () {
assets/js/b2s/start.js CHANGED
@@ -6,8 +6,21 @@ jQuery(document).ready(function () {
6
editable: false,
7
locale: b2s_calendar_locale,
8
eventLimit: 2,
9
- contentHeight: 340,
10
timeFormat: 'H:mm',
11
eventSources: ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=all',
12
eventRender: function (event, element) {
13
show = true;
@@ -42,8 +55,6 @@ jQuery(document).ready(function () {
42
}
43
});
44
45
- getWidgetFaq();
46
-
47
drawBasic();
48
49
jQuery('#b2s-activity-date-picker').b2sdatepicker({
@@ -54,12 +65,7 @@ jQuery(document).ready(function () {
54
jQuery('#b2s-activity-date-picker').on("selectDate", function () {
55
setTimeout(drawBasic);
56
});
57
-
58
getWidgetContent();
59
-
60
-
61
-
62
-
63
});
64
65
/* EMail-Widget */
@@ -89,51 +95,11 @@ jQuery(document).on('click', '.b2s-post-btn', function () {
89
var target = jQuery(".b2s-post");
90
if (target.length) {
91
jQuery('html,body').animate({
92
- scrollTop: target.offset().top - 100
93
}, 1000);
94
}
95
});
96
97
- /* FAQ-Widget */
98
- //jQuery(window).on("load", function () {
99
- function getWidgetFaq() {
100
- jQuery('.b2s-faq-area').show();
101
- if (typeof wp.heartbeat == "undefined") {
102
- jQuery('#b2s-heartbeat-fail').show();
103
- }
104
-
105
- var legacyMode = jQuery('#isLegacyMode').val();
106
- if (legacyMode == "1") {
107
- legacyMode = false; // loading is sync (stack)
108
- } else {
109
- legacyMode = true; // loading is async (parallel)
110
- }
111
-
112
- jQuery.ajax({
113
- url: ajaxurl,
114
- type: "POST",
115
- dataType: "json",
116
- async: legacyMode,
117
- cache: false,
118
- data: {
119
- 'action': 'b2s_get_faq_entries'
120
- },
121
- error: function () {
122
- jQuery('.b2s-faq-area').hide();
123
- return false;
124
- },
125
- success: function (data) {
126
- if (data.result == true) {
127
- jQuery('.b2s-loading-area-faq').hide();
128
- jQuery('.b2s-faq-content').html(data.content);
129
- } else {
130
- jQuery('.b2s-faq-area').hide();
131
- }
132
- }
133
- });
134
- }
135
- //});
136
-
137
/* Content-Widget */
138
function getWidgetContent() {
139
if (jQuery('.b2s-dashboard-multi-widget').length > 0)
@@ -146,7 +112,6 @@ function getWidgetContent() {
146
} else {
147
legacyMode = true; // loading is async (parallel)
148
}
149
-
150
jQuery.ajax({
151
url: ajaxurl,
152
type: "GET",
6
editable: false,
7
locale: b2s_calendar_locale,
8
eventLimit: 2,
9
+ contentHeight: 475,
10
timeFormat: 'H:mm',
11
+ customButtons: {
12
+ showall: {
13
+ text: 'show full calendar',
14
+ click: function () {
15
+ window.open('admin.php?page=blog2social-calendar',"_self");
16
+ }
17
+ }
18
+ },
19
+ header: {
20
+ left: 'title',
21
+ center: '',
22
+ right: 'showall today prev,next'
23
+ },
24
eventSources: ajaxurl + '?action=b2s_get_calendar_events&filter_network_auth=all&filter_network=all',
25
eventRender: function (event, element) {
26
show = true;
55
}
56
});
57
58
drawBasic();
59
60
jQuery('#b2s-activity-date-picker').b2sdatepicker({
65
jQuery('#b2s-activity-date-picker').on("selectDate", function () {
66
setTimeout(drawBasic);
67
});
68
getWidgetContent();
69
});
70
71
/* EMail-Widget */
95
var target = jQuery(".b2s-post");
96
if (target.length) {
97
jQuery('html,body').animate({
98
+ scrollTop: target.offset().top - 50
99
}, 1000);
100
}
101
});
102
103
/* Content-Widget */
104
function getWidgetContent() {
105
if (jQuery('.b2s-dashboard-multi-widget').length > 0)
112
} else {
113
legacyMode = true; // loading is async (parallel)
114
}
115
jQuery.ajax({
116
url: ajaxurl,
117
type: "GET",
assets/js/b2s/support.js ADDED
@@ -0,0 +1,109 @@
1
+ jQuery.noConflict();
2
+
3
+
4
+ jQuery(document).ready(function () {
5
+ getWidgetFaq();
6
+ initTroubleshootTool();
7
+ if(window.location.href.match('b2s-support-system-check') != null){
8
+ jQuery('.b2s-support-check-sytem').trigger('click');
9
+ }
10
+ });
11
+
12
+ function getWidgetFaq() {
13
+ jQuery('.b2s-faq-area').show();
14
+ if (typeof wp.heartbeat == "undefined") {
15
+ jQuery('#b2s-heartbeat-fail').show();
16
+ }
17
+ jQuery.ajax({
18
+ url: ajaxurl,
19
+ type: "POST",
20
+ dataType: "json",
21
+ cache: false,
22
+ data: {
23
+ 'action': 'b2s_get_faq_entries'
24
+ },
25
+ error: function () {
26
+ jQuery('.b2s-faq-area').hide();
27
+ return false;
28
+ },
29
+ success: function (data) {
30
+ if (data.result == true) {
31
+ jQuery('.b2s-loading-area-faq').hide();
32
+ jQuery('.b2s-faq-content').html(data.content);
33
+ } else {
34
+ jQuery('.b2s-faq-area').hide();
35
+ }
36
+ }
37
+ });
38
+ }
39
+
40
+ function initTroubleshootTool() {
41
+ firstClick = false;
42
+ jQuery(document).on('click', '.b2s-support-check-sytem', function () {
43
+ if(!firstClick){
44
+ jQuery('#b2s-reload-debug-btn').trigger('click');
45
+ firstClick = true;
46
+ }
47
+ });
48
+
49
+ jQuery(document).on('click', '#b2s-reload-debug-btn', function () {
50
+ jQuery('.b2s-server-connection-fail').hide();
51
+ jQuery('.b2s-support-fail').hide();
52
+ jQuery('#b2s-main-debug').hide();
53
+ jQuery('.b2s-loading-area').show();
54
+
55
+ jQuery.ajax({
56
+ url: ajaxurl,
57
+ type: "GET",
58
+ dataType: "json",
59
+ cache: false,
60
+ data: {'action': 'b2s_support_systemrequirements'},
61
+ error: function () {
62
+ jQuery('.b2s-server-connection-fail').show();
63
+ jQuery('.b2s-loading-area').hide();
64
+ jQuery('#b2s-main-debug').show();
65
+ return false;
66
+ },
67
+ success: function (data) {
68
+ if (typeof data === 'undefined' || data === null) {
69
+ jQuery('.b2s-server-connection-fail').show();
70
+ jQuery('.b2s-loading-area').hide();
71
+ jQuery('#b2s-main-debug').show();
72
+ return false;
73
+ } else if(data.result != true) {
74
+ if(data.error == 'admin'){
75
+ jQuery('.b2s-loading-area').hide();
76
+ jQuery('#b2s-support-no-admin').show();
77
+ } else {
78
+ jQuery('.b2s-server-connection-fail').show();
79
+ jQuery('.b2s-loading-area').hide();
80
+ jQuery('#b2s-main-debug').show();
81
+ return false;
82
+ }
83
+ } else {
84
+ if(typeof data.htmlData !== 'undefined'){
85
+ jQuery('#b2s-debug-htmlData').html(data.htmlData);
86
+ if(typeof data.blogData !== 'undefined'){
87
+ jQuery('#b2s-debug-export').removeClass('b2s-support-link-not-active');
88
+ jQuery('#b2s-debug-export').attr(
89
+ "href", "data:application/octet-stream;charset=utf-8;base64,"+
90
+ btoa(JSON.stringify(data.blogData, undefined, 2))
91
+ );
92
+ } else {
93
+ jQuery('#b2s-debug-export').addClass('b2s-support-link-not-active');
94
+ }
95
+ jQuery('.b2s-loading-area').hide();
96
+ jQuery('#b2s-main-debug').show();
97
+ return true;
98
+ } else {
99
+ jQuery('.b2s-server-connection-fail').show();
100
+ jQuery('.b2s-loading-area').hide();
101
+ jQuery('#b2s-main-debug').show();
102
+ return false;
103
+ }
104
+ }
105
+ }
106
+ });
107
+
108
+ });
109
+ }
assets/lib/fullcalendar/fullcalendar.css CHANGED
@@ -6,16 +6,16 @@
6
7
8
.fc {
9
- direction: ltr;
10
- text-align: left;
11
}
12
13
.fc-rtl {
14
- text-align: right;
15
}
16
17
body .fc { /* extra precedence to overcome jqui */
18
- font-size: 1em;
19
}
20
21
@@ -32,49 +32,51 @@ body .fc { /* extra precedence to overcome jqui */
32
.fc-unthemed .fc-popover,
33
.fc-unthemed .fc-list-view,
34
.fc-unthemed .fc-list-heading td {
35
- border-color: #ddd;
36
}
37
38
.fc-unthemed .fc-popover {
39
- background-color: #fff;
40
}
41
42
.fc-unthemed .fc-divider,
43
.fc-unthemed .fc-popover .fc-header,
44
.fc-unthemed .fc-list-heading td {
45
- background: #eee;
46
}
47
48
.fc-unthemed .fc-popover .fc-header .fc-close {
49
- color: #666;
50
}
51
52
.fc-unthemed td.fc-today {
53
- background: #fcf8e3;
54
}
55
56
.fc-highlight { /* when user is selecting cells */
57
- background: #bce8f1;
58
- opacity: .3;
59
}
60
61
.fc-bgevent { /* default look for background events */
62
- background: rgb(143, 223, 130);
63
- opacity: .3;
64
}
65
66
.fc-nonbusiness { /* default look for non-business-hours areas */
67
- /* will inherit .fc-bgevent's styles */
68
- background: #d7d7d7;
69
}
70
71
.fc-unthemed .fc-disabled-day {
72
- background: #d7d7d7;
73
- opacity: .3;
74
}
75
76
.ui-widget .fc-disabled-day { /* themed */
77
- background-image: none;
78
}
79
80
@@ -82,83 +84,83 @@ body .fc { /* extra precedence to overcome jqui */
82
--------------------------------------------------------------------------------------------------*/
83
84
.fc-icon {
85
- display: inline-block;
86
- height: 1em;
87
- line-height: 1em;
88
- font-size: 1em;
89
- text-align: center;
90
- overflow: hidden;
91
- font-family: "Courier New", Courier, monospace;
92
-
93
- /* don't allow browser text-selection */
94
- -webkit-touch-callout: none;
95
- -webkit-user-select: none;
96
- -khtml-user-select: none;
97
- -moz-user-select: none;
98
- -ms-user-select: none;
99
- user-select: none;
100
- }
101
102
/*
103
Acceptable font-family overrides for individual icons:
104
- "Arial", sans-serif
105
- "Times New Roman", serif
106
107
NOTE: use percentage font sizes or else old IE chokes
108
*/
109
110
.fc-icon:after {
111
- position: relative;
112
}
113
114
.fc-icon-left-single-arrow:after {
115
- content: "\02039";
116
- font-weight: bold;
117
- font-size: 200%;
118
- top: -7%;
119
}
120
121
.fc-icon-right-single-arrow:after {
122
- content: "\0203A";
123
- font-weight: bold;
124
- font-size: 200%;
125
- top: -7%;
126
}
127
128
.fc-icon-left-double-arrow:after {
129
- content: "\000AB";
130
- font-size: 160%;
131
- top: -7%;
132
}
133
134
.fc-icon-right-double-arrow:after {
135
- content: "\000BB";
136
- font-size: 160%;
137
- top: -7%;
138
}
139
140
.fc-icon-left-triangle:after {
141
- content: "\25C4";
142
- font-size: 125%;
143
- top: 3%;
144
}
145
146
.fc-icon-right-triangle:after {
147
- content: "\25BA";
148
- font-size: 125%;
149
- top: 3%;
150
}
151
152
.fc-icon-down-triangle:after {
153
- content: "\25BC";
154
- font-size: 125%;
155
- top: 2%;
156
}
157
158
.fc-icon-x:after {
159
- content: "\000D7";
160
- font-size: 200%;
161
- top: 6%;
162
}
163
164
@@ -166,98 +168,98 @@ NOTE: use percentage font sizes or else old IE chokes
166
--------------------------------------------------------------------------------------------------*/
167
168
.fc button {
169
- /* force height to include the border and padding */
170
- -moz-box-sizing: border-box;
171
- -webkit-box-sizing: border-box;
172
- box-sizing: border-box;
173
174
- /* dimensions */
175
- margin: 0;
176
- height: 2.1em;
177
- padding: 0 .6em;
178
179
- /* text & cursor */
180
- font-size: 1em; /* normalize */
181
- white-space: nowrap;
182
- cursor: pointer;
183
}
184
185
/* Firefox has an annoying inner border */
186
.fc button::-moz-focus-inner { margin: 0; padding: 0; }
187
-
188
.fc-state-default { /* non-theme */
189
- border: 1px solid;
190
}
191
192
.fc-state-default.fc-corner-left { /* non-theme */
193
- border-top-left-radius: 4px;
194
- border-bottom-left-radius: 4px;
195
}
196
197
.fc-state-default.fc-corner-right { /* non-theme */
198
- border-top-right-radius: 4px;
199
- border-bottom-right-radius: 4px;
200
}
201
202
/* icons in buttons */
203
204
.fc button .fc-icon { /* non-theme */
205
- position: relative;
206
- top: -0.05em; /* seems to be a good adjustment across browsers */
207
- margin: 0 .2em;
208
- vertical-align: middle;
209
}
210
-
211
/*
212
button states
213
borrowed from twitter bootstrap (http://twitter.github.com/bootstrap/)
214
*/
215
216
.fc-state-default {
217
- background-color: #f5f5f5;
218
- background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
219
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
220
- background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
221
- background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
222
- background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
223
- background-repeat: repeat-x;
224
- border-color: #e6e6e6 #e6e6e6 #bfbfbf;
225
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
226
- color: #333;
227
- text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
228
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
229
}
230
231
.fc-state-hover,
232
.fc-state-down,
233
.fc-state-active,
234
.fc-state-disabled {
235
- color: #333333;
236
- background-color: #e6e6e6;
237
}
238
239
.fc-state-hover {
240
- color: #333333;
241
- text-decoration: none;
242
- background-position: 0 -15px;
243
- -webkit-transition: background-position 0.1s linear;
244
- -moz-transition: background-position 0.1s linear;
245
- -o-transition: background-position 0.1s linear;
246
- transition: background-position 0.1s linear;
247
}
248
249
.fc-state-down,
250
.fc-state-active {
251
- background-color: #cccccc;
252
- background-image: none;
253
- box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
254
}
255
256
.fc-state-disabled {
257
- cursor: default;
258
- background-image: none;
259
- opacity: 0.65;
260
- box-shadow: none;
261
}
262
263
@@ -265,7 +267,7 @@ NOTE: use percentage font sizes or else old IE chokes
265
--------------------------------------------------------------------------------------------------*/
266
267
.fc-button-group {
268
- display: inline-block;
269
}
270
271
/*
@@ -274,12 +276,12 @@ previous button's border...
274
*/
275
276
.fc .fc-button-group > * { /* extra precedence b/c buttons have margin set to zero */
277
- float: left;
278
- margin: 0 0 0 -1px;
279
}
280
281
.fc .fc-button-group > :first-child { /* same */
282
- margin-left: 0;
283
}
284
285
@@ -287,48 +289,48 @@ previous button's border...
287
--------------------------------------------------------------------------------------------------*/
288
289
.fc-popover {
290
- position: absolute;
291
- box-shadow: 0 2px 6px rgba(0,0,0,.15);
292
}
293
294
.fc-popover .fc-header { /* TODO: be more consistent with fc-head/fc-body */
295
- padding: 2px 4px;
296
}
297
298
.fc-popover .fc-header .fc-title {
299
- margin: 0 2px;
300
}
301
302
.fc-popover .fc-header .fc-close {
303
- cursor: pointer;
304
}
305
306
.fc-ltr .fc-popover .fc-header .fc-title,
307
.fc-rtl .fc-popover .fc-header .fc-close {
308
- float: left;
309
}
310
311
.fc-rtl .fc-popover .fc-header .fc-title,
312
.fc-ltr .fc-popover .fc-header .fc-close {
313
- float: right;
314
}
315
316
/* unthemed */
317
318
.fc-unthemed .fc-popover {
319
- border-width: 1px;
320
- border-style: solid;
321
}
322
323
.fc-unthemed .fc-popover .fc-header .fc-close {
324
- font-size: .9em;
325
- margin-top: 2px;
326
}
327
328
/* jqui themed */
329
330
.fc-popover > .ui-widget-header + .ui-widget-content {
331
- border-top: 0; /* where they meet, let the header have the border */
332
}
333
334
@@ -336,38 +338,38 @@ previous button's border...
336
--------------------------------------------------------------------------------------------------*/
337
338
.fc-divider {
339
- border-style: solid;
340
- border-width: 1px;
341
}
342
343
hr.fc-divider {
344
- height: 0;
345
- margin: 0;
346
- padding: 0 0 2px; /* height is unreliable across browsers, so use padding */
347
- border-width: 1px 0;
348
}
349
350
.fc-clear {
351
- clear: both;
352
}
353
354
.fc-bg,
355
.fc-bgevent-skeleton,
356
.fc-highlight-skeleton,
357
.fc-helper-skeleton {
358
- /* these element should always cling to top-left/right corners */
359
- position: absolute;
360
- top: 0;
361
- left: 0;
362
- right: 0;
363
}
364
365
.fc-bg {
366
- bottom: 0; /* strech bg to bottom edge */
367
}
368
369
.fc-bg table {
370
- height: 100%; /* strech bg to bottom edge */
371
}
372
373
@@ -375,28 +377,28 @@ hr.fc-divider {
375
--------------------------------------------------------------------------------------------------*/
376
377
.fc table {
378
- width: 100%;
379
- box-sizing: border-box; /* fix scrollbar issue in firefox */
380
- table-layout: fixed;
381
- border-collapse: collapse;
382
- border-spacing: 0;
383
- font-size: 1em; /* normalize cross-browser */
384
}
385
386
.fc th {
387
- text-align: center;
388
}
389
390
.fc th,
391
.fc td {
392
- border-style: solid;
393
- border-width: 1px;
394
- padding: 0;
395
- vertical-align: top;
396
}
397
398
.fc td.fc-today {
399
- border-style: double; /* overcome neighboring borders */
400
}
401
402
@@ -404,11 +406,11 @@ hr.fc-divider {
404
--------------------------------------------------------------------------------------------------*/
405
406
a[data-goto] {
407
- cursor: pointer;
408
}
409
410
a[data-goto]:hover {
411
- text-decoration: underline;
412
}
413
414
@@ -416,23 +418,23 @@ a[data-goto]:hover {
416
--------------------------------------------------------------------------------------------------*/
417
418
.fc .fc-row { /* extra precedence to overcome themes w/ .ui-widget-content forcing a 1px border */
419
- /* no visible border by default. but make available if need be (scrollbar width compensation) */
420
- border-style: solid;
421
- border-width: 0;
422
}
423
424
.fc-row table {
425
- /* don't put left/right border on anything within a fake row.
426
- the outer tbody will worry about this */
427
- border-left: 0 hidden transparent;
428
- border-right: 0 hidden transparent;
429
430
- /* no bottom borders on rows */
431
- border-bottom: 0 hidden transparent;
432
}
433
434
.fc-row:first-child table {
435
- border-top: 0 hidden transparent; /* no top border on first row */
436
}
437
438
@@ -440,37 +442,37 @@ a[data-goto]:hover {
440
--------------------------------------------------------------------------------------------------*/
441
442
.fc-row {
443
- position: relative;
444
}
445
446
.fc-row .fc-bg {
447
- z-index: 1;
448
}
449
450
/* highlighting cells & background event skeleton */
451
452
.fc-row .fc-bgevent-skeleton,
453
.fc-row .fc-highlight-skeleton {
454
- bottom: 0; /* stretch skeleton to bottom of row */
455
}
456
457
.fc-row .fc-bgevent-skeleton table,
458
.fc-row .fc-highlight-skeleton table {
459
- height: 100%; /* stretch skeleton to bottom of row */
460
}
461
462
.fc-row .fc-highlight-skeleton td,
463
.fc-row .fc-bgevent-skeleton td {
464
- border-color: transparent;
465
}
466
467
.fc-row .fc-bgevent-skeleton {
468
- z-index: 2;
469
470
}
471
472
.fc-row .fc-highlight-skeleton {
473
- z-index: 3;
474
}
475
476
/*
@@ -479,29 +481,29 @@ temporary rendered events).
479
*/
480
481
.fc-row .fc-content-skeleton {
482
- position: relative;
483
- z-index: 4;
484
- padding-bottom: 2px; /* matches the space above the events */
485
}
486
487
.fc-row .fc-helper-skeleton {
488
- z-index: 5;
489
}
490
491
.fc-row .fc-content-skeleton td,
492
.fc-row .fc-helper-skeleton td {
493
- /* see-through to the background below */
494
- background: none; /* in case <td>s are globally styled */
495
- border-color: transparent;
496
497
- /* don't put a border between events and/or the day number */
498
- border-bottom: 0;
499
}
500
501
.fc-row .fc-content-skeleton tbody td, /* cells with events inside (so NOT the day number cell) */
502
.fc-row .fc-helper-skeleton tbody td {
503
- /* don't put a border between event cells */
504
- border-top: 0;
505
}
506
507
@@ -509,14 +511,14 @@ temporary rendered events).
509
--------------------------------------------------------------------------------------------------*/
510
511
.fc-scroller {
512
- -webkit-overflow-scrolling: touch;
513
}
514
515
/* TODO: move to agenda/basic */
516
.fc-scroller > .fc-day-grid,
517
.fc-scroller > .fc-time-grid {
518
- position: relative; /* re-scope all positions */
519
- width: 100%; /* hack to force re-sizing this inner element when scrollbars appear/disappear */
520
}
521
522
@@ -524,81 +526,81 @@ temporary rendered events).
524
--------------------------------------------------------------------------------------------------*/
525
526
.fc-event {
527
- position: relative; /* for resize handle and other inner positioning */
528
- display: block; /* make the <a> tag block */
529
- font-size: .85em;
530
- line-height: 1.3;
531
- border-radius: 3px;
532
- border: 1px solid #3a87ad; /* default BORDER color */
533
- font-weight: normal; /* undo jqui's ui-widget-header bold */
534
}
535
536
.fc-event,
537
.fc-event-dot {
538
- background-color: #3a87ad; /* default BACKGROUND color */
539
}
540
541
/* overpower some of bootstrap's and jqui's styles on <a> tags */
542
.fc-event,
543
.fc-event:hover,
544
.ui-widget .fc-event {
545
- color: #fff; /* default TEXT color */
546
- text-decoration: none; /* if <a> has an href */
547
}
548
549
.fc-event[href],
550
.fc-event.fc-draggable {
551
- cursor: pointer; /* give events with links and draggable events a hand mouse pointer */
552
}
553
554
.fc-not-allowed, /* causes a "warning" cursor. applied on body */
555
.fc-not-allowed .fc-event { /* to override an event's custom cursor */
556
- cursor: not-allowed;
557
}
558
559
.fc-event .fc-bg { /* the generic .fc-bg already does position */
560
- z-index: 1;
561
- background: #fff;
562
- opacity: .25;
563
}
564
565
.fc-event .fc-content {
566
- position: relative;
567
- z-index: 2;
568
}
569
570
/* resizer (cursor AND touch devices) */
571
572
.fc-event .fc-resizer {
573
- position: absolute;
574
- z-index: 4;
575
}
576
577
/* resizer (touch devices) */
578
579
.fc-event .fc-resizer {
580
- display: none;
581
}
582
583
.fc-event.fc-allow-mouse-resize .fc-resizer,
584
.fc-event.fc-selected .fc-resizer {
585
- /* only show when hovering or selected (with touch) */
586
- display: block;
587
}
588
589
/* hit area */
590
591
.fc-event.fc-selected .fc-resizer:before {
592
- /* 40x40 touch area */
593
- content: "";
594
- position: absolute;
595
- z-index: 9999; /* user of this util can scope within a lower z-index */
596
- top: 50%;
597
- left: 50%;
598
- width: 40px;
599
- height: 40px;
600
- margin-left: -20px;
601
- margin-top: -20px;
602
}
603
604
@@ -606,12 +608,12 @@ temporary rendered events).
606
--------------------------------------------------------------------------------------------------*/
607
608
.fc-event.fc-selected {
609
- z-index: 9999 !important; /* overcomes inline z-index */
610
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
611
}
612
613
.fc-event.fc-selected.fc-dragging {
614
- box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);
615
}
616
617
@@ -620,33 +622,33 @@ temporary rendered events).
620
621
/* bigger touch area when selected */
622
.fc-h-event.fc-selected:before {
623
- content: "";
624
- position: absolute;
625
- z-index: 3; /* below resizers */
626
- top: -10px;
627
- bottom: -10px;
628
- left: 0;
629
- right: 0;
630
}
631
632
/* events that are continuing to/from another week. kill rounded corners and butt up against edge */
633
634
.fc-ltr .fc-h-event.fc-not-start,
635
.fc-rtl .fc-h-event.fc-not-end {
636
- margin-left: 0;
637
- border-left-width: 0;
638
- padding-left: 1px; /* replace the border with padding */
639
- border-top-left-radius: 0;
640
- border-bottom-left-radius: 0;
641
}
642
643
.fc-ltr .fc-h-event.fc-not-end,
644
.fc-rtl .fc-h-event.fc-not-start {
645
- margin-right: 0;
646
- border-right-width: 0;
647
- padding-right: 1px; /* replace the border with padding */
648
- border-top-right-radius: 0;
649
- border-bottom-right-radius: 0;
650
}
651
652
/* resizer (cursor AND touch devices) */
@@ -654,51 +656,51 @@ temporary rendered events).
654
/* left resizer */
655
.fc-ltr .fc-h-event .fc-start-resizer,
656
.fc-rtl .fc-h-event .fc-end-resizer {
657
- cursor: w-resize;
658
- left: -1px; /* overcome border */
659
}
660
661
/* right resizer */
662
.fc-ltr .fc-h-event .fc-end-resizer,
663
.fc-rtl .fc-h-event .fc-start-resizer {
664
- cursor: e-resize;
665
- right: -1px; /* overcome border */
666
}
667
668
/* resizer (mouse devices) */
669
670
.fc-h-event.fc-allow-mouse-resize .fc-resizer {
671
- width: 7px;
672
- top: -1px; /* overcome top border */
673
- bottom: -1px; /* overcome bottom border */
674
}
675
676
/* resizer (touch devices) */
677
678
.fc-h-event.fc-selected .fc-resizer {
679
- /* 8x8 little dot */
680
- border-radius: 4px;
681
- border-width: 1px;
682
- width: 6px;
683
- height: 6px;
684
- border-style: solid;
685
- border-color: inherit;
686
- background: #fff;
687
- /* vertically center */
688
- top: 50%;
689
- margin-top: -4px;
690
}
691
692
/* left resizer */
693
.fc-ltr .fc-h-event.fc-selected .fc-start-resizer,
694
.fc-rtl .fc-h-event.fc-selected .fc-end-resizer {
695
- margin-left: -4px; /* centers the 8x8 dot on the left edge */
696
}
697
698
/* right resizer */
699
.fc-ltr .fc-h-event.fc-selected .fc-end-resizer,
700
.fc-rtl .fc-h-event.fc-selected .fc-start-resizer {
701
- margin-right: -4px; /* centers the 8x8 dot on the right edge */
702
}
703
704
@@ -709,35 +711,35 @@ be a descendant of the grid when it is being dragged.
709
*/
710
711
.fc-day-grid-event {
712
- margin: 1px 2px 0; /* spacing between events and edges */
713
- padding: 0 1px;
714
}
715
716
tr:first-child > td > .fc-day-grid-event {
717
- margin-top: 2px; /* a little bit more space before the first event */
718
}
719
720
.fc-day-grid-event.fc-selected:after {
721
- content: "";
722
- position: absolute;
723
- z-index: 1; /* same z-index as fc-bg, behind text */
724
- /* overcome the borders */
725
- top: -1px;
726
- right: -1px;
727
- bottom: -1px;
728
- left: -1px;
729
- /* darkening effect */
730
- background: #000;
731
- opacity: .25;
732
}
733
734
.fc-day-grid-event .fc-content { /* force events to be one-line tall */
735
- white-space: nowrap;
736
- overflow: hidden;
737
}
738
739
.fc-day-grid-event .fc-time {
740
- font-weight: bold;
741
}
742
743
/* resizer (cursor devices) */
@@ -745,13 +747,13 @@ tr:first-child > td > .fc-day-grid-event {
745
/* left resizer */
746
.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer,
747
.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer {
748
- margin-left: -2px; /* to the day cell's edge */
749
}
750
751
/* right resizer */
752
.fc-ltr .fc-day-grid-event.fc-allow-mouse-resize .fc-end-resizer,
753
.fc-rtl .fc-day-grid-event.fc-allow-mouse-resize .fc-start-resizer {
754
- margin-right: -2px; /* to the day cell's edge */
755
}
756
757
@@ -761,33 +763,36 @@ tr:first-child > td > .fc-day-grid-event {
761
/* "more" link that represents hidden events */
762
763
a.fc-more {
764
- margin: 1px 3px;
765
- font-size: .85em;
766
- cursor: pointer;
767
- text-decoration: none;
768
}
769
770
a.fc-more:hover {
771
- text-decoration: underline;
772
}
773
774
.fc-limited { /* rows and cells that are hidden because of a "more" link */
775
- display: none;
776
}
777
778
/* popover that appears when "more" link is clicked */
779
780
.fc-day-grid .fc-row {
781
- z-index: 1; /* make the "more" popover one higher than this */
782
}
783
784
.fc-more-popover {
785
- z-index: 2;
786
- width: 220px;
787
}
788
789
.fc-more-popover .fc-event-container {
790
- padding: 10px;
791
}
792
793
@@ -795,8 +800,8 @@ a.fc-more:hover {
795
--------------------------------------------------------------------------------------------------*/
796
797
.fc-now-indicator {
798
- position: absolute;
799
- border: 0 solid red;
800
}
801
802
@@ -804,13 +809,13 @@ a.fc-more:hover {
804
--------------------------------------------------------------------------------------------------*/
805
806
.fc-unselectable {
807
- -webkit-user-select: none;
808
- -khtml-user-select: none;
809
- -moz-user-select: none;
810
- -ms-user-select: none;
811
- user-select: none;
812
- -webkit-touch-callout: none;
813
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
814
}
815
816
@@ -819,68 +824,68 @@ a.fc-more:hover {
819
--------------------------------------------------------------------------------------------------*/
820
821
.fc-toolbar {
822
- text-align: center;
823
}
824
825
.fc-toolbar.fc-header-toolbar {
826
- margin-bottom: 1em;
827
}
828
829
.fc-toolbar.fc-footer-toolbar {
830
- margin-top: 1em;
831
}
832
833
.fc-toolbar .fc-left {
834
- float: left;
835
}
836
837
.fc-toolbar .fc-right {
838
- float: right;
839
}
840
841
.fc-toolbar .fc-center {
842
- display: inline-block;
843
}
844
845
/* the things within each left/right/center section */
846
.fc .fc-toolbar > * > * { /* extra precedence to override button border margins */
847
- float: left;
848
- margin-left: .75em;
849
}
850
851
/* the first thing within each left/center/right section */
852
.fc .fc-toolbar > * > :first-child { /* extra precedence to override button border margins */
853
- margin-left: 0;
854
}
855
-
856
/* title text */
857
858
.fc-toolbar h2 {
859
- margin: 0;
860
}
861
862
/* button layering (for border precedence) */
863
864
.fc-toolbar button {
865
- position: relative;
866
}
867
868
.fc-toolbar .fc-state-hover,
869
.fc-toolbar .ui-state-hover {
870
- z-index: 2;
871
}
872
-
873
.fc-toolbar .fc-state-down {
874
- z-index: 3;
875
}
876
877
.fc-toolbar .fc-state-active,
878
.fc-toolbar .ui-state-active {
879
- z-index: 4;
880
}
881
882
.fc-toolbar button:focus {
883
- z-index: 5;
884
}
885
886
@@ -892,15 +897,15 @@ a.fc-more:hover {
892
.fc-view-container *,
893
.fc-view-container *:before,
894
.fc-view-container *:after {
895
- -webkit-box-sizing: content-box;
896
- -moz-box-sizing: content-box;
897
- box-sizing: content-box;
898
}
899
900
.fc-view, /* scope positioning and z-index's for everything within the view */
901
.fc-view > table { /* so dragged elements can be above the view's main element */
902
- position: relative;
903
- z-index: 1;
904
}
905
906
@@ -912,41 +917,41 @@ a.fc-more:hover {
912
913
.fc-basicWeek-view .fc-content-skeleton,
914
.fc-basicDay-view .fc-content-skeleton {
915
- /* there may be week numbers in these views, so no padding-top */
916
- padding-bottom: 1em; /* ensure a space at bottom of cell for user selecting/clicking */
917
}
918
919
.fc-basic-view .fc-body .fc-row {
920
- min-height: 4em; /* ensure that all rows are at least this tall */
921
}
922
923
/* a "rigid" row will take up a constant amount of height because content-skeleton is absolute */
924
925
.fc-row.fc-rigid {
926
- overflow: hidden;
927
}
928
929
.fc-row.fc-rigid .fc-content-skeleton {
930
- position: absolute;
931
- top: 0;
932
- left: 0;
933
- right: 0;
934
}
935
936
/* week and day number styling */
937
938
.fc-day-top.fc-other-month {
939
- opacity: 0.3;
940
}
941
942
.fc-basic-view .fc-week-number,
943
.fc-basic-view .fc-day-number {
944
- padding: 2px;
945
}
946
947
.fc-basic-view th.fc-week-number,
948
.fc-basic-view th.fc-day-number {
949
- padding: 0 2px; /* column headers can't have as much v space */
950
}
951
952
.fc-ltr .fc-basic-view .fc-day-top .fc-day-number { float: right; }
@@ -956,22 +961,22 @@ a.fc-more:hover {
956
.fc-rtl .fc-basic-view .fc-day-top .fc-week-number { float: right; border-radius: 0 0 0 3px; }
957
958
.fc-basic-view .fc-day-top .fc-week-number {
959
- min-width: 1.5em;
960
- text-align: center;
961
- background-color: #f2f2f2;
962
- color: #808080;
963
}
964
965
/* when week/day number have own column */
966
967
.fc-basic-view td.fc-week-number {
968
- text-align: center;
969
}
970
971
.fc-basic-view td.fc-week-number > * {
972
- /* work around the way we do column resizing and ensure a minimum width */
973
- display: inline-block;
974
- min-width: 1.25em;
975
}
976
977
@@ -979,16 +984,16 @@ a.fc-more:hover {
979
--------------------------------------------------------------------------------------------------*/
980
981
.fc-agenda-view .fc-day-grid {
982
- position: relative;
983
- z-index: 2; /* so the "more.." popover will be over the time grid */
984
}
985
986
.fc-agenda-view .fc-day-grid .fc-row {
987
- min-height: 3em; /* all-day section will never get shorter than this */
988
}
989
990
.fc-agenda-view .fc-day-grid .fc-row .fc-content-skeleton {
991
- padding-bottom: 1em; /* give space underneath events for clicking/selecting days */
992
}
993
994
@@ -996,21 +1001,21 @@ a.fc-more:hover {
996
--------------------------------------------------------------------------------------------------*/
997
998
.fc .fc-axis { /* .fc to overcome default cell styles */
999
- vertical-align: middle;
1000
- padding: 0 4px;
1001
- white-space: nowrap;
1002
}
1003
1004
.fc-ltr .fc-axis {
1005
- text-align: right;
1006
}
1007
1008
.fc-rtl .fc-axis {
1009
- text-align: left;
1010
}
1011
1012
.ui-widget td.fc-axis {
1013
- font-weight: normal; /* overcome jqui theme making it bold */
1014
}
1015
1016
@@ -1019,69 +1024,69 @@ a.fc-more:hover {
1019
1020
.fc-time-grid-container, /* so scroll container's z-index is below all-day */
1021
.fc-time-grid { /* so slats/bg/content/etc positions get scoped within here */
1022
- position: relative;
1023
- z-index: 1;
1024
}
1025
1026
.fc-time-grid {
1027
- min-height: 100%; /* so if height setting is 'auto', .fc-bg stretches to fill height */
1028
}
1029
1030
.fc-time-grid table { /* don't put outer borders on slats/bg/content/etc */
1031
- border: 0 hidden transparent;
1032
}
1033
1034
.fc-time-grid > .fc-bg {
1035
- z-index: 1;
1036
}
1037
1038
.fc-time-grid .fc-slats,
1039
.fc-time-grid > hr { /* the <hr> AgendaView injects when grid is shorter than scroller */
1040
- position: relative;
1041
- z-index: 2;
1042
}
1043
1044
.fc-time-grid .fc-content-col {
1045
- position: relative; /* because now-indicator lives directly inside */
1046
}
1047
1048
.fc-time-grid .fc-content-skeleton {
1049
- position: absolute;
1050
- z-index: 3;
1051
- top: 0;
1052
- left: 0;
1053
- right: 0;
1054
}
1055
1056
/* divs within a cell within the fc-content-skeleton */
1057
1058
.fc-time-grid .fc-business-container {
1059
- position: relative;
1060
- z-index: 1;
1061
}
1062
1063
.fc-time-grid .fc-bgevent-container {
1064
- position: relative;
1065
- z-index: 2;
1066
}
1067
1068
.fc-time-grid .fc-highlight-container {
1069
- position: relative;
1070
- z-index: 3;
1071
}
1072
1073
.fc-time-grid .fc-event-container {
1074
- position: relative;
1075
- z-index: 4;
1076
}
1077
1078
.fc-time-grid .fc-now-indicator-line {
1079
- z-index: 5;
1080
}
1081
1082
.fc-time-grid .fc-helper-container { /* also is fc-event-container */
1083
- position: relative;
1084
- z-index: 6;
1085
}
1086
1087
@@ -1089,16 +1094,16 @@ a.fc-more:hover {
1089
--------------------------------------------------------------------------------------------------*/
1090
1091
.fc-time-grid .fc-slats td {
1092
- height: 1.5em;
1093
- border-bottom: 0; /* each cell is responsible for its top border */
1094
}
1095
1096
.fc-time-grid .fc-slats .fc-minor td {
1097
- border-top-style: dotted;
1098
}
1099
1100
.fc-time-grid .fc-slats .ui-widget-content { /* for jqui theme */
1101
- background: none; /* see through to fc-bg */
1102
}
1103
1104
@@ -1106,14 +1111,14 @@ a.fc-more:hover {
1106
--------------------------------------------------------------------------------------------------*/ </