LearnPress – WordPress LMS Plugin - Version 2.1.3

Version Description

  • Fixed wrong notice outdated templates
  • Fixed issue when viewing order details in profile
  • Fixed course does not finish automatically when expired
  • Fixed translation issue with failed/passed strings
  • Improved admin course tabs
Download this release

Release Info

Developer leehld
Plugin Icon 128x128 LearnPress – WordPress LMS Plugin
Version 2.1.3
Comparing to
See all releases

Code changes from version 2.1.6.1 to 2.1.3

Files changed (77) hide show
  1. assets/css/admin/admin.css +18 -79
  2. assets/css/admin/admin.less +34 -108
  3. assets/css/admin/attributes.less +2 -3
  4. assets/css/admin/meta-box-course.css +141 -76
  5. assets/css/admin/meta-box-course.less +982 -914
  6. assets/css/admin/meta-box-order.css +44 -46
  7. assets/css/admin/meta-box-question.css +52 -0
  8. assets/css/learnpress.css +101 -434
  9. assets/css/learnpress.less +2152 -2532
  10. assets/js/admin/admin.js +2 -2
  11. assets/js/admin/attributes.js +1 -6
  12. assets/js/admin/course-editor.js +6 -6
  13. assets/js/admin/meta-box-course.js +102 -46
  14. assets/js/admin/meta-box-order.js +18 -37
  15. assets/js/admin/meta-box-quiz.js +1 -13
  16. assets/js/admin/settings.js +3 -29
  17. assets/js/frontend/bak.course-lesson.js +223 -0
  18. assets/js/frontend/bak.course-quiz.js +45 -0
  19. assets/js/frontend/bak.single-course.v2.js +245 -0
  20. assets/js/frontend/bak.single-quiz.js +731 -0
  21. assets/js/frontend/checkout.js +137 -139
  22. assets/js/frontend/course-filters.js +0 -146
  23. assets/js/frontend/course_coming_soon.js +28 -0
  24. assets/js/frontend/course_coming_soon.min.js +28 -0
  25. assets/js/frontend/learnpress.js +2 -1
  26. assets/js/frontend/lesson.js +6 -3
  27. assets/js/frontend/profile.js +552 -316
  28. assets/js/frontend/quiz.js +916 -922
  29. assets/js/frontend/single-course.js +24 -77
  30. assets/js/global.js +10 -35
  31. assets/js/global.min.js +2 -2
  32. assets/js/jquery.cropit.js +1207 -0
  33. assets/js/jquery.mb-comingsoon.js +346 -0
  34. assets/js/jquery.mb-comingsoon.min.js +1 -0
  35. assets/js/jquery.ocupload.js +277 -0
  36. inc/admin/class-lp-admin-ajax.php +1139 -1158
  37. inc/admin/class-lp-admin-menu.php +130 -152
  38. inc/admin/class-lp-admin.php +231 -232
  39. inc/admin/class-lp-meta-box-tabs.php +1 -2
  40. inc/admin/class-lp-profile.php +139 -0
  41. inc/admin/dashboard-statistics/class-lp-statistic-status.php +4 -4
  42. inc/admin/includes/class-markdown-parse.php +5 -7
  43. inc/admin/lp-admin-functions.php +2098 -2167
  44. inc/admin/meta-boxes/class-course-tabs-field.php +1 -1
  45. inc/admin/meta-boxes/class-curriculum-field.php +316 -0
  46. inc/admin/meta-boxes/class-meta-box-tabs.php +18 -0
  47. inc/admin/meta-boxes/class-quiz-questions-field.php +193 -193
  48. inc/admin/settings/class-lp-settings-checkout.php +80 -80
  49. inc/admin/settings/class-lp-settings-courses.php +175 -203
  50. inc/admin/settings/class-lp-settings-emails.php +21 -44
  51. inc/admin/settings/class-lp-settings-general.php +124 -134
  52. inc/admin/settings/class-lp-settings-pages.php +212 -212
  53. inc/admin/sub-menus/settings.php +0 -11
  54. inc/admin/sub-menus/tools.php +3 -3
  55. inc/admin/views/html-admin-notice-templates.php +39 -39
  56. inc/admin/views/meta-boxes/course/attributes.php +7 -0
  57. inc/admin/views/meta-boxes/course/curriculum.php +33 -33
  58. inc/admin/views/meta-boxes/course/loop-item.php +36 -56
  59. inc/admin/views/meta-boxes/course/loop-section.php +55 -26
  60. inc/admin/views/meta-boxes/course/review-logs.php +2 -2
  61. inc/admin/views/meta-boxes/order/actions.php +10 -33
  62. inc/admin/views/meta-boxes/order/details.php +12 -25
  63. inc/admin/views/meta-boxes/tabs.php +2 -13
  64. inc/admin/views/settings/emails/enrolled-course-admin.php +0 -76
  65. inc/admin/views/settings/emails/update-course.php +0 -50
  66. inc/admin/views/settings/emails/user-order-changed-status.php +0 -68
  67. inc/admin/views/settings/fields/course-permalink.php +13 -16
  68. inc/admin/views/settings/fields/image-size.php +21 -21
  69. inc/admin/views/settings/fields/title.php +2 -2
  70. inc/admin/views/settings/general.php +24 -24
  71. inc/attributes/lp-attributes-functions.php +5 -82
  72. inc/cart/class-lp-cart.php +663 -663
  73. inc/class-lp-ajax.php +655 -737
  74. inc/class-lp-assets.php +808 -816
  75. inc/class-lp-cache.php +634 -740
  76. inc/class-lp-emails.php +29 -35
  77. inc/class-lp-install.php +133 -658
assets/css/admin/admin.css CHANGED
@@ -4,30 +4,12 @@
4
  * @author ThimPress
5
  * @version 1.0
6
  */
7
- input:focus::-webkit-input-placeholder {
8
- color: transparent !important;
9
- }
10
- input:focus::-moz-placeholder {
11
- color: transparent !important;
12
- }
13
- input:focus:-moz-placeholder {
14
- color: transparent !important;
15
- }
16
  .rwmb-field {
17
  margin: 20px 0 20px 0;
18
  }
19
  .rwmb-field .rwmb-input .rwmb-label {
20
  margin-top: 0;
21
  }
22
- .rwmb-field .rwmb-input .description {
23
- margin-top: 5px;
24
- }
25
- .rwmb-field .rwmb-input .description.option-desc {
26
- font-weight: normal;
27
- margin: 8px 0 10px 24px;
28
- font-size: smaller;
29
- font-style: italic;
30
- }
31
  .lp-nav-tab-wrapper {
32
  border-bottom: 1px solid #ccc;
33
  margin: 0;
@@ -42,6 +24,19 @@ input:focus:-moz-placeholder {
42
  .learn-press-quick-add-page-inline > * {
43
  vertical-align: top;
44
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  #learn-press-admin-settings {
46
  /*input[name="learn_press_single_course_image_size[width]"],
47
  input[name="learn_press_single_course_image_size[height]"],
@@ -97,9 +92,6 @@ input:focus:-moz-placeholder {
97
  box-sizing: border-box;
98
  opacity: 0;
99
  }
100
- #learn-press-admin-settings .learn-press-settings-wrap input[name="learn_press_auto_redirect_message"] {
101
- width: 80%;
102
- }
103
  #learn-press-admin-settings .learn-press-settings-wrap:before {
104
  content: '';
105
  position: absolute;
@@ -116,18 +108,10 @@ input:focus:-moz-placeholder {
116
  #learn-press-admin-settings .learn-press-settings-wrap.ready {
117
  opacity: 1;
118
  }
119
- #learn-press-admin-settings .learn-press-settings-wrap #learn-press-reset-settings {
120
- float: right;
121
- opacity: 0.5;
122
- }
123
- #learn-press-admin-settings .learn-press-settings-wrap #learn-press-reset-settings:hover {
124
- opacity: 1;
125
- }
126
  #learn-press-admin-settings.no-subtabs .learn-press-settings-wrap {
127
  float: none;
128
  margin-left: 0;
129
  padding-left: 25px;
130
- padding-right: 25px;
131
  }
132
  #learn-press-admin-settings.no-subtabs .learn-press-settings-wrap:before {
133
  display: none;
@@ -169,40 +153,6 @@ input:focus:-moz-placeholder {
169
  #learn-press-admin-settings .lp-setting-field .lp-sign-times {
170
  font-size: 19px;
171
  }
172
- .learnpress_page_learn-press-settings .select2-result .select2-result-label {
173
- position: relative;
174
- }
175
- .learnpress_page_learn-press-settings .select2-result .select2-result-label:before {
176
- display: inline-block;
177
- border-bottom: 1px solid #23282d;
178
- width: 20px;
179
- position: absolute;
180
- top: 50%;
181
- left: 8px;
182
- }
183
- .learnpress_page_learn-press-settings .select2-result .select2-result-label:hover:before {
184
- border-color: #FFF;
185
- }
186
- .learnpress_page_learn-press-settings .select2-result.level-1 .select2-result-label {
187
- padding-left: 35px;
188
- }
189
- .learnpress_page_learn-press-settings .select2-result.level-1 .select2-result-label:before {
190
- content: '';
191
- }
192
- .learnpress_page_learn-press-settings .select2-result.level-2 .select2-result-label {
193
- padding-left: 60px;
194
- }
195
- .learnpress_page_learn-press-settings .select2-result.level-2 .select2-result-label:before {
196
- left: 35px;
197
- content: '';
198
- }
199
- .learnpress_page_learn-press-settings .select2-result.level-3 .select2-result-label {
200
- padding-left: 85px;
201
- }
202
- .learnpress_page_learn-press-settings .select2-result.level-3 .select2-result-label:before {
203
- left: 60px;
204
- content: '';
205
- }
206
  /* message box */
207
  #learn-press-message-box-block {
208
  position: fixed;
@@ -272,6 +222,9 @@ input:focus:-moz-placeholder {
272
  .meta_box_course_lesson_quiz li select {
273
  min-width: 250px;
274
  }
 
 
 
275
  .dashed-placeholder {
276
  border: 2px dashed #999;
277
  padding: 10px;
@@ -1510,8 +1463,7 @@ body.post-type-lp_question #question_answer_ .inside {
1510
  }
1511
  .post-type-lp_order #submitpost .misc-pub-section label {
1512
  display: block;
1513
- font-weight: 600;
1514
- margin-bottom: 8px;
1515
  }
1516
  #learn-press-order {
1517
  margin: 15px;
@@ -1867,7 +1819,7 @@ input.regular-text[id^="learn-press-emails"] {
1867
  margin: 0;
1868
  }
1869
  .learn-press-tabs .learn-press-tab-content > li {
1870
- padding: 0 20px 10px 20px;
1871
  float: left;
1872
  width: 100%;
1873
  margin-right: -100%;
@@ -1913,19 +1865,6 @@ input.regular-text[id^="learn-press-emails"] {
1913
  content: '';
1914
  display: block;
1915
  }
1916
- /* Metabox Widget */
1917
- #widgets-right .widgets-holder-wrap .rwmb-label {
1918
- margin-bottom: 5px;
1919
- }
1920
- #widgets-right .widgets-holder-wrap .rwmb-input input[type="text"] {
1921
- width: 100%;
1922
- }
1923
- #widgets-right .widgets-holder-wrap .description {
1924
- padding: 0;
1925
- margin-top: 5px;
1926
- font-size: small;
1927
- font-style: italic;
1928
- }
1929
  @keyframes learn-press-meta-box-tabs-initialize-animation {
1930
  0% {
1931
  opacity: 0;
4
  * @author ThimPress
5
  * @version 1.0
6
  */
 
 
 
 
 
 
 
 
 
7
  .rwmb-field {
8
  margin: 20px 0 20px 0;
9
  }
10
  .rwmb-field .rwmb-input .rwmb-label {
11
  margin-top: 0;
12
  }
 
 
 
 
 
 
 
 
 
13
  .lp-nav-tab-wrapper {
14
  border-bottom: 1px solid #ccc;
15
  margin: 0;
24
  .learn-press-quick-add-page-inline > * {
25
  vertical-align: top;
26
  }
27
+ .post-type-lp_course .column-price,
28
+ .post-type-lp_course .column-students {
29
+ width: 10%;
30
+ }
31
+ .post-type-lp_course #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input {
32
+ padding-left: 40px;
33
+ }
34
+ .post-type-lp_course #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input.hover {
35
+ padding-left: 0;
36
+ }
37
+ .post-type-lp_course .type-lp_course.status-pending .row-actions .view {
38
+ display: none;
39
+ }
40
  #learn-press-admin-settings {
41
  /*input[name="learn_press_single_course_image_size[width]"],
42
  input[name="learn_press_single_course_image_size[height]"],
92
  box-sizing: border-box;
93
  opacity: 0;
94
  }
 
 
 
95
  #learn-press-admin-settings .learn-press-settings-wrap:before {
96
  content: '';
97
  position: absolute;
108
  #learn-press-admin-settings .learn-press-settings-wrap.ready {
109
  opacity: 1;
110
  }
 
 
 
 
 
 
 
111
  #learn-press-admin-settings.no-subtabs .learn-press-settings-wrap {
112
  float: none;
113
  margin-left: 0;
114
  padding-left: 25px;
 
115
  }
116
  #learn-press-admin-settings.no-subtabs .learn-press-settings-wrap:before {
117
  display: none;
153
  #learn-press-admin-settings .lp-setting-field .lp-sign-times {
154
  font-size: 19px;
155
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  /* message box */
157
  #learn-press-message-box-block {
158
  position: fixed;
222
  .meta_box_course_lesson_quiz li select {
223
  min-width: 250px;
224
  }
225
+ .description {
226
+ margin-top: 5px;
227
+ }
228
  .dashed-placeholder {
229
  border: 2px dashed #999;
230
  padding: 10px;
1463
  }
1464
  .post-type-lp_order #submitpost .misc-pub-section label {
1465
  display: block;
1466
+ font-weight: bold;
 
1467
  }
1468
  #learn-press-order {
1469
  margin: 15px;
1819
  margin: 0;
1820
  }
1821
  .learn-press-tabs .learn-press-tab-content > li {
1822
+ padding: 0 20px 0px 20px;
1823
  float: left;
1824
  width: 100%;
1825
  margin-right: -100%;
1865
  content: '';
1866
  display: block;
1867
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
1868
  @keyframes learn-press-meta-box-tabs-initialize-animation {
1869
  0% {
1870
  opacity: 0;
assets/css/admin/admin.less CHANGED
@@ -7,35 +7,12 @@
7
  // admin variables
8
  @primary-icon-color: #666666;
9
  @primary-icon-hover-color: #00a0d2;
10
-
11
- input:focus::-webkit-input-placeholder {
12
- color: transparent !important;
13
- }
14
-
15
- input:focus::-moz-placeholder {
16
- color: transparent !important;
17
- }
18
-
19
- input:focus:-moz-placeholder {
20
- color: transparent !important;
21
- }
22
-
23
  .rwmb-field {
24
  margin: 20px 0 20px 0;
25
- .rwmb-input {
26
- .rwmb-label {
27
- margin-top: 0;
28
- }
29
- .description {
30
- margin-top: 5px;
31
- &.option-desc {
32
- font-weight: normal;
33
- margin: 8px 0 10px 24px;
34
- font-size: smaller;
35
- font-style: italic;
36
- }
37
- }
38
- }
39
  }
40
 
41
  .lp-nav-tab-wrapper {
@@ -55,6 +32,29 @@ input:focus:-moz-placeholder {
55
  vertical-align: top;
56
  }
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  #learn-press-admin-settings {
59
  #learn_press_email_formats {
60
  margin-bottom: 10px;
@@ -98,9 +98,6 @@ input:focus:-moz-placeholder {
98
  width: 100%;
99
  box-sizing: border-box;
100
  opacity: 0;
101
- input[name="learn_press_auto_redirect_message"] {
102
- width: 80%;
103
- }
104
  &:before {
105
  content: '';
106
  position: absolute;
@@ -117,21 +114,12 @@ input:focus:-moz-placeholder {
117
  &.ready {
118
  opacity: 1;
119
  }
120
- #learn-press-reset-settings {
121
- float: right;
122
- opacity: 0.5;
123
- &:hover {
124
- opacity: 1;
125
- }
126
- }
127
  }
128
  &.no-subtabs {
129
  .learn-press-settings-wrap {
130
  float: none;
131
  margin-left: 0;
132
  padding-left: 25px;
133
- padding-right: 25px;
134
-
135
  &:before {
136
  display: none;
137
  }
@@ -189,53 +177,6 @@ input:focus:-moz-placeholder {
189
  }
190
  }
191
 
192
- .learnpress_page_learn-press-settings {
193
- .select2-result {
194
- .select2-result-label {
195
- position: relative;
196
- &:before {
197
- display: inline-block;
198
- border-bottom: 1px solid #23282d;
199
- width: 20px;
200
- position: absolute;
201
- top: 50%;
202
- left: 8px;
203
- }
204
- &:hover {
205
- &:before {
206
- border-color: #FFF;
207
- }
208
- }
209
- }
210
- &.level-1 {
211
- .select2-result-label {
212
- padding-left: 35px;
213
- &:before {
214
- content: '';
215
- }
216
- }
217
- }
218
- &.level-2 {
219
- .select2-result-label {
220
- padding-left: 60px;
221
- &:before {
222
- left: 35px;
223
- content: '';
224
- }
225
- }
226
- }
227
- &.level-3 {
228
- .select2-result-label {
229
- padding-left: 85px;
230
- &:before {
231
- left: 60px;
232
- content: '';
233
- }
234
- }
235
- }
236
- }
237
- }
238
-
239
  /* message box */
240
  #learn-press-message-box-block {
241
  position: fixed;
@@ -318,6 +259,10 @@ input:focus:-moz-placeholder {
318
  min-width: 250px;
319
  }
320
 
 
 
 
 
321
  .dashed-placeholder {
322
  border: 2px dashed #999;
323
  padding: 10px;
@@ -1810,8 +1755,7 @@ body.post-type-lp_question #question_answer_ .inside {
1810
 
1811
  .post-type-lp_order #submitpost .misc-pub-section label {
1812
  display: block;
1813
- font-weight: 600;
1814
- margin-bottom: 8px;
1815
  }
1816
 
1817
  #learn-press-order {
@@ -2214,7 +2158,7 @@ input.regular-text[id^="learn-press-emails"] {
2214
 
2215
  .learn-press-tab-content {
2216
  > li {
2217
- padding: 0 20px 10px 20px;
2218
  float: left;
2219
  width: 100%;
2220
  margin-right: -100%;
@@ -2271,24 +2215,6 @@ input.regular-text[id^="learn-press-emails"] {
2271
  }
2272
  }
2273
 
2274
- /* Metabox Widget */
2275
- #widgets-right .widgets-holder-wrap {
2276
- .rwmb-label {
2277
- margin-bottom: 5px;
2278
- }
2279
- .rwmb-input{
2280
- input[type="text"]{
2281
- width: 100%;
2282
- }
2283
- }
2284
- .description {
2285
- padding: 0;
2286
- margin-top: 5px;
2287
- font-size: small;
2288
- font-style: italic;
2289
- }
2290
- }
2291
-
2292
  @keyframes learn-press-meta-box-tabs-initialize-animation {
2293
  0% {
2294
  opacity: 0;
@@ -2347,4 +2273,4 @@ input.regular-text[id^="learn-press-emails"] {
2347
  100% {
2348
  opacity: 0;
2349
  }
2350
- }
7
  // admin variables
8
  @primary-icon-color: #666666;
9
  @primary-icon-hover-color: #00a0d2;
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  .rwmb-field {
11
  margin: 20px 0 20px 0;
12
+ }
13
+
14
+ .rwmb-field .rwmb-input .rwmb-label {
15
+ margin-top: 0;
 
 
 
 
 
 
 
 
 
 
16
  }
17
 
18
  .lp-nav-tab-wrapper {
32
  vertical-align: top;
33
  }
34
 
35
+ .post-type-lp_course {
36
+ & .column-price, & .column-students {
37
+ width: 10%;
38
+ }
39
+
40
+ #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input {
41
+ padding-left: 40px;
42
+ &.hover {
43
+ padding-left: 0;
44
+ }
45
+ }
46
+
47
+ .type-lp_course {
48
+
49
+ &.status-pending {
50
+ .row-actions .view {
51
+ display: none;
52
+ }
53
+ }
54
+ }
55
+
56
+ }
57
+
58
  #learn-press-admin-settings {
59
  #learn_press_email_formats {
60
  margin-bottom: 10px;
98
  width: 100%;
99
  box-sizing: border-box;
100
  opacity: 0;
 
 
 
101
  &:before {
102
  content: '';
103
  position: absolute;
114
  &.ready {
115
  opacity: 1;
116
  }
 
 
 
 
 
 
 
117
  }
118
  &.no-subtabs {
119
  .learn-press-settings-wrap {
120
  float: none;
121
  margin-left: 0;
122
  padding-left: 25px;
 
 
123
  &:before {
124
  display: none;
125
  }
177
  }
178
  }
179
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  /* message box */
181
  #learn-press-message-box-block {
182
  position: fixed;
259
  min-width: 250px;
260
  }
261
 
262
+ .description {
263
+ margin-top: 5px;
264
+ }
265
+
266
  .dashed-placeholder {
267
  border: 2px dashed #999;
268
  padding: 10px;
1755
 
1756
  .post-type-lp_order #submitpost .misc-pub-section label {
1757
  display: block;
1758
+ font-weight: bold;
 
1759
  }
1760
 
1761
  #learn-press-order {
2158
 
2159
  .learn-press-tab-content {
2160
  > li {
2161
+ padding: 0 20px 0px 20px;
2162
  float: left;
2163
  width: 100%;
2164
  margin-right: -100%;
2215
  }
2216
  }
2217
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2218
  @keyframes learn-press-meta-box-tabs-initialize-animation {
2219
  0% {
2220
  opacity: 0;
2273
  100% {
2274
  opacity: 0;
2275
  }
2276
+ }
assets/css/admin/attributes.less CHANGED
@@ -1,4 +1,4 @@
1
- .course-attributes {
2
  margin: 20px 0;
3
  .learn-press-attribute {
4
  border: 1px solid #DDD;
@@ -14,5 +14,4 @@
14
  border-top: 1px solid #DDD;
15
  }
16
  }
17
- }
18
-
1
+ .course-attributes{
2
  margin: 20px 0;
3
  .learn-press-attribute {
4
  border: 1px solid #DDD;
14
  border-top: 1px solid #DDD;
15
  }
16
  }
17
+ }
 
assets/css/admin/meta-box-course.css CHANGED
@@ -3,13 +3,6 @@
3
  .rwmb-duration-wrapper select {
4
  vertical-align: baseline;
5
  }
6
- #learn-press-toggle-course-results {
7
- display: block;
8
- margin-bottom: 10px;
9
- }
10
- #learn-press-toggle-course-results a {
11
- box-shadow: none;
12
- }
13
  .post-type-lp_course #postdivric,
14
  .post-type-lp_course #submitpost {
15
  visibility: hidden;
@@ -32,68 +25,65 @@
32
  font-size: 12px;
33
  font-style: italic;
34
  }
35
- #lp-course-curriculum {
 
 
 
36
  border: none;
37
  background-color: transparent;
38
- margin: 20px 0;
39
- }
40
- .post-type-lp_course .column-price,
41
- .post-type-lp_course .column-students {
42
- width: 10%;
43
- }
44
- .post-type-lp_course #lp-course-curriculum .curriculum-section-items .lp-item-empty td.section-item-input {
45
- padding-left: 40px;
46
  }
47
- .post-type-lp_course #lp-course-curriculum .curriculum-section-items .lp-item-empty td.section-item-input.hover {
48
- padding-left: 0;
49
- }
50
- .post-type-lp_course .type-lp_course.status-pending .row-actions .view {
51
  display: none;
52
  }
53
- #lp-course-curriculum .curriculum-heading {
 
 
 
 
54
  margin: 0 0 20px 0;
55
  padding: 10px 20px;
56
  background-color: #FFF;
57
  line-height: 1;
58
  border: 1px solid #DDD;
59
  }
60
- #lp-course-curriculum .curriculum-heading .description {
61
  font-weight: normal;
62
  color: #999;
63
  display: block;
64
  font-size: 90%;
65
  margin-top: 10px;
66
  }
67
- #lp-course-curriculum .curriculum-heading .items-toggle {
68
  float: right;
69
  margin: -33px 7px 0 0;
70
  line-height: 1;
71
  box-shadow: none;
72
  }
73
- #lp-course-curriculum .curriculum-heading .items-toggle a {
74
  -webkit-box-shadow: none;
75
  -moz-box-shadow: none;
76
  box-shadow: none;
77
  font-size: 32px;
78
  }
79
- #lp-course-curriculum .curriculum-sections {
80
  margin: 0;
81
  background-color: #FFF;
82
  border-bottom: 1px solid #DDD;
83
  }
84
- #lp-course-curriculum .curriculum-section {
85
  margin: -1px 0 0 0;
86
  background-color: #FFF;
87
  border-bottom: 1px solid #DDD;
88
  position: relative;
89
  }
90
- #lp-course-curriculum .curriculum-section.ui-sortable-placeholder {
91
  background-image: url("../../images/stripe.png");
92
  visibility: visible !important;
93
  border: 1px solid #DDD;
94
  border-bottom: none;
95
  }
96
- #lp-course-curriculum .curriculum-section-head {
97
  border: 1px solid #DDD;
98
  background-color: #F9F9F9;
99
  border-bottom: none;
@@ -101,37 +91,37 @@
101
  color: #777;
102
  padding: 3px 20px;
103
  }
104
- #lp-course-curriculum .curriculum-section-head input {
105
  background-color: #F9F9F9;
106
  }
107
- #lp-course-curriculum .curriculum-section-head .lp-section-actions {
108
  float: right;
109
  margin: 14px 0;
110
  visibility: hidden;
111
  position: relative;
112
  }
113
- #lp-course-curriculum .curriculum-section:not(.lp-empty-section) .curriculum-section-head:hover .lp-section-actions {
114
  visibility: visible;
115
  }
116
- #lp-course-curriculum .curriculum-section .lp-section-actions a {
117
  vertical-align: middle;
118
  color: #666666;
119
  width: 24px;
120
  height: 24px;
121
  box-shadow: none;
122
  }
123
- #lp-course-curriculum .curriculum-section .lp-section-actions a[data-action="expand"] {
124
  line-height: 28px;
125
  }
126
- #lp-course-curriculum .curriculum-section .lp-section-actions a:before {
127
  width: 24px;
128
  height: 24px;
129
  font-size: 24px;
130
  }
131
- #lp-course-curriculum .curriculum-section .lp-section-actions a:hover {
132
  color: #00a0d2;
133
  }
134
- #lp-course-curriculum .curriculum-section .curriculum-section-head .lp-section-actions .move {
135
  cursor: url("../../../assets/images/openhand.cur") 7 5, default;
136
  position: absolute;
137
  right: -15px;
@@ -140,17 +130,17 @@
140
  background: url("../../../assets/images/grippy_large.png") right no-repeat;
141
  width: 20px;
142
  }
143
- #lp-course-curriculum .curriculum-section-content {
144
  border: 1px solid #DDD;
145
  padding: 20px;
146
  border-bottom-width: 0;
147
  width: 100%;
148
  box-sizing: border-box;
149
  }
150
- #lp-course-curriculum .curriculum-section.ui-sortable-helper {
151
  border-bottom: 1px solid #DDD;
152
  }
153
- #lp-course-curriculum .curriculum-section-head .lp-section-name {
154
  border: none;
155
  outline: none;
156
  box-shadow: none;
@@ -161,65 +151,65 @@
161
  padding: 0;
162
  height: 50px;
163
  }
164
- #lp-course-curriculum .curriculum-section-head .lp-section-name:focus {
165
  color: #444;
166
  }
167
- #lp-course-curriculum .curriculum-section.lp-empty-section .curriculum-section-content {
168
  _display: none;
169
  }
170
- #lp-course-curriculum .curriculum-section-items {
171
  border-collapse: collapse;
172
  width: 100%;
173
  }
174
- #lp-course-curriculum .curriculum-section-items .lp-section-item {
175
  border: 1px dashed #DDD;
176
  margin: -1px 0 0 0;
177
  padding: 5px 0;
178
  background-color: #FFF;
179
  }
180
- #lp-course-curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1),
181
- #lp-course-curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1) .section-item-input input {
182
  background-color: #FCFCFC;
183
  }
184
- #lp-course-curriculum .curriculum-section-items .lp-section-item .lp-item-actions {
185
  margin: 0;
186
  float: right;
187
  position: relative;
188
  }
189
- #lp-course-curriculum .curriculum-section-items .lp-section-item .lp-item-actions a {
190
  vertical-align: middle;
191
  color: #666;
192
  margin-top: -2px;
193
  box-shadow: none;
194
  }
195
- #lp-course-curriculum .curriculum-section-items .lp-section-item .lp-item-actions a:hover {
196
  color: #00a0d2;
197
  }
198
- #lp-course-curriculum .curriculum-section-items .lp-section-item[data-item_id=""] .lp-edit {
199
  display: none;
200
  }
201
- #lp-course-curriculum .curriculum-section-items .lp-section-item.lp-item-empty .lp-item-actions {
202
  display: none;
203
  }
204
- #lp-course-curriculum .lp-section-item.ui-sortable-placeholder {
205
  visibility: visible !important;
206
  }
207
- #lp-course-curriculum .lp-section-item.ui-sortable-placeholder td {
208
  background-image: url("../../../assets/images/stripe.png");
209
  border-bottom: none;
210
  }
211
- #lp-course-curriculum .lp-item-actions > * {
212
  visibility: hidden;
213
  }
214
- #lp-course-curriculum .item-bulk-actions {
215
  text-align: right;
216
  margin-top: 0;
217
  margin-bottom: 15px;
218
  }
219
- #lp-course-curriculum .lp-section-item:not(.lp-item-empty):hover .lp-item-actions > * {
220
  visibility: visible;
221
  }
222
- #lp-course-curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty) .item-checkbox {
223
  display: inline-block;
224
  height: 34px;
225
  border: none;
@@ -229,26 +219,26 @@
229
  cursor: url("../../../assets/images/openhand.cur") 7 5, default;
230
  visibility: visible;
231
  }
232
- #lp-course-curriculum .curriculum-section-items .lp-section-item .item-checkbox input {
233
  opacity: 0.4;
234
  }
235
- #lp-course-curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty):hover .item-checkbox input {
236
  opacity: 1;
237
  }
238
- #lp-course-curriculum .lp-item-lp_lesson .handle.learn-press-icon:before {
239
  content: "\e900";
240
  }
241
- #lp-course-curriculum .lp-item-lp_quiz .handle.learn-press-icon:before {
242
  content: "\e901";
243
  }
244
- #lp-course-curriculum .lp-section-item.lp-item-new .handle {
245
  color: #999;
246
  }
247
- #lp-course-curriculum .curriculum-section-items .lp-section-item:hover,
248
- #lp-course-curriculum .curriculum-section-items .lp-section-item:hover input.lp-item-name {
249
  background-color: #F9F9F9;
250
  }
251
- #lp-course-curriculum .lp-section-item .handle {
252
  width: 32px;
253
  height: 32px;
254
  display: inline-block;
@@ -258,10 +248,10 @@
258
  line-height: 32px;
259
  color: #00A0D2;
260
  }
261
- #lp-course-curriculum .lp-section-item.remove input.lp-item-name {
262
  color: #FF0000;
263
  }
264
- #lp-course-curriculum .lp-section-item input.lp-item-name {
265
  color: #777;
266
  border: none;
267
  box-shadow: none;
@@ -273,7 +263,7 @@
273
  overflow: hidden;
274
  white-space: nowrap;
275
  }
276
- #lp-course-curriculum .lp-section-describe {
277
  border: none;
278
  box-shadow: none;
279
  color: #999;
@@ -282,11 +272,11 @@
282
  float: left;
283
  padding-left: 0;
284
  }
285
- #lp-course-curriculum .curriculum-section-items .lp-section-item input.lp-item-name:focus,
286
- #lp-course-curriculum input:focus {
287
  color: #444;
288
  }
289
- #lp-course-curriculum .lp-section-item .section-item-icon {
290
  width: 32px;
291
  white-space: nowrap;
292
  }
@@ -302,13 +292,13 @@
302
  cursor: pointer;
303
  border: 1px solid transparent;
304
  }
305
- #lp-course-curriculum .lp-section-item .learn-press-icon.item-lp_quiz:before {
306
  content: "\f469";
307
  }
308
- #lp-course-curriculum .lp-section-item .learn-press-icon.item-lp_lesson:before {
309
  content: "\f330";
310
  }
311
- #lp-course-curriculum .lp-section-item td {
312
  height: 30px;
313
  }
314
  #poststuff .postbox-container {
@@ -483,14 +473,89 @@ tr.focus .learn-press-dropdown-item-types > span.learn-press-icon {
483
  .learn-press-dropdown-item-types li span.learn-press-icon.item-selected {
484
  color: #0085ba;
485
  }
486
- .learn-press-course-attributes {
487
- margin: 20px 0;
488
- }
489
  .post-type-lp_course #switch-course-tabs,
490
  .post-type-lp_course #toggle-meta-boxes {
491
  float: right;
492
  margin-left: 10px;
493
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
494
  /*
495
  #lp-course-curriculum .lp-course-curriculum-toggle{
496
  padding: 0;
3
  .rwmb-duration-wrapper select {
4
  vertical-align: baseline;
5
  }
 
 
 
 
 
 
 
6
  .post-type-lp_course #postdivric,
7
  .post-type-lp_course #submitpost {
8
  visibility: hidden;
25
  font-size: 12px;
26
  font-style: italic;
27
  }
28
+ #learn-press-button-toggle-editor {
29
+ margin: 20px 0 0;
30
+ }
31
+ #course_curriculum {
32
  border: none;
33
  background-color: transparent;
 
 
 
 
 
 
 
 
34
  }
35
+ #course_curriculum .handlediv,
36
+ #course_curriculum .hndle {
 
 
37
  display: none;
38
  }
39
+ #course_curriculum .inside {
40
+ margin: 0;
41
+ padding: 0;
42
+ }
43
+ #course_curriculum .curriculum-heading {
44
  margin: 0 0 20px 0;
45
  padding: 10px 20px;
46
  background-color: #FFF;
47
  line-height: 1;
48
  border: 1px solid #DDD;
49
  }
50
+ #course_curriculum .curriculum-heading .description {
51
  font-weight: normal;
52
  color: #999;
53
  display: block;
54
  font-size: 90%;
55
  margin-top: 10px;
56
  }
57
+ #course_curriculum .curriculum-heading .items-toggle {
58
  float: right;
59
  margin: -33px 7px 0 0;
60
  line-height: 1;
61
  box-shadow: none;
62
  }
63
+ #course_curriculum .curriculum-heading .items-toggle a {
64
  -webkit-box-shadow: none;
65
  -moz-box-shadow: none;
66
  box-shadow: none;
67
  font-size: 32px;
68
  }
69
+ #course_curriculum .curriculum-sections {
70
  margin: 0;
71
  background-color: #FFF;
72
  border-bottom: 1px solid #DDD;
73
  }
74
+ #course_curriculum .curriculum-section {
75
  margin: -1px 0 0 0;
76
  background-color: #FFF;
77
  border-bottom: 1px solid #DDD;
78
  position: relative;
79
  }
80
+ #course_curriculum .curriculum-section.ui-sortable-placeholder {
81
  background-image: url("../../images/stripe.png");
82
  visibility: visible !important;
83
  border: 1px solid #DDD;
84
  border-bottom: none;
85
  }
86
+ #course_curriculum .curriculum-section-head {
87
  border: 1px solid #DDD;
88
  background-color: #F9F9F9;
89
  border-bottom: none;
91
  color: #777;
92
  padding: 3px 20px;
93
  }
94
+ #course_curriculum .curriculum-section-head input {
95
  background-color: #F9F9F9;
96
  }
97
+ #course_curriculum .curriculum-section-head .lp-section-actions {
98
  float: right;
99
  margin: 14px 0;
100
  visibility: hidden;
101
  position: relative;
102
  }
103
+ #course_curriculum .curriculum-section:not(.lp-empty-section) .curriculum-section-head:hover .lp-section-actions {
104
  visibility: visible;
105
  }
106
+ #course_curriculum .curriculum-section .lp-section-actions a {
107
  vertical-align: middle;
108
  color: #666666;
109
  width: 24px;
110
  height: 24px;
111
  box-shadow: none;
112
  }
113
+ #course_curriculum .curriculum-section .lp-section-actions a[data-action="expand"] {
114
  line-height: 28px;
115
  }
116
+ #course_curriculum .curriculum-section .lp-section-actions a:before {
117
  width: 24px;
118
  height: 24px;
119
  font-size: 24px;
120
  }
121
+ #course_curriculum .curriculum-section .lp-section-actions a:hover {
122
  color: #00a0d2;
123
  }
124
+ #course_curriculum .curriculum-section .curriculum-section-head .lp-section-actions .move {
125
  cursor: url("../../../assets/images/openhand.cur") 7 5, default;
126
  position: absolute;
127
  right: -15px;
130
  background: url("../../../assets/images/grippy_large.png") right no-repeat;
131
  width: 20px;
132
  }
133
+ #course_curriculum .curriculum-section-content {
134
  border: 1px solid #DDD;
135
  padding: 20px;
136
  border-bottom-width: 0;
137
  width: 100%;
138
  box-sizing: border-box;
139
  }
140
+ #course_curriculum .curriculum-section.ui-sortable-helper {
141
  border-bottom: 1px solid #DDD;
142
  }
143
+ #course_curriculum .curriculum-section-head .lp-section-name {
144
  border: none;
145
  outline: none;
146
  box-shadow: none;
151
  padding: 0;
152
  height: 50px;
153
  }
154
+ #course_curriculum .curriculum-section-head .lp-section-name:focus {
155
  color: #444;
156
  }
157
+ #course_curriculum .curriculum-section.lp-empty-section .curriculum-section-content {
158
  _display: none;
159
  }
160
+ #course_curriculum .curriculum-section-items {
161
  border-collapse: collapse;
162
  width: 100%;
163
  }
164
+ #course_curriculum .curriculum-section-items .lp-section-item {
165
  border: 1px dashed #DDD;
166
  margin: -1px 0 0 0;
167
  padding: 5px 0;
168
  background-color: #FFF;
169
  }
170
+ #course_curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1),
171
+ #course_curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1) .section-item-input input {
172
  background-color: #FCFCFC;
173
  }
174
+ #course_curriculum .curriculum-section-items .lp-section-item .lp-item-actions {
175
  margin: 0;
176
  float: right;
177
  position: relative;
178
  }
179
+ #course_curriculum .curriculum-section-items .lp-section-item .lp-item-actions a {
180
  vertical-align: middle;
181
  color: #666;
182
  margin-top: -2px;
183
  box-shadow: none;
184
  }
185
+ #course_curriculum .curriculum-section-items .lp-section-item .lp-item-actions a:hover {
186
  color: #00a0d2;
187
  }
188
+ #course_curriculum .curriculum-section-items .lp-section-item[data-item_id=""] .lp-edit {
189
  display: none;
190
  }
191
+ #course_curriculum .curriculum-section-items .lp-section-item.lp-item-empty .lp-item-actions {
192
  display: none;
193
  }
194
+ #course_curriculum .lp-section-item.ui-sortable-placeholder {
195
  visibility: visible !important;
196
  }
197
+ #course_curriculum .lp-section-item.ui-sortable-placeholder td {
198
  background-image: url("../../../assets/images/stripe.png");
199
  border-bottom: none;
200
  }
201
+ #course_curriculum .lp-item-actions > * {
202
  visibility: hidden;
203
  }
204
+ #course_curriculum .item-bulk-actions {
205
  text-align: right;
206
  margin-top: 0;
207
  margin-bottom: 15px;
208
  }
209
+ #course_curriculum .lp-section-item:not(.lp-item-empty):hover .lp-item-actions > * {
210
  visibility: visible;
211
  }
212
+ #course_curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty) .item-checkbox {
213
  display: inline-block;
214
  height: 34px;
215
  border: none;
219
  cursor: url("../../../assets/images/openhand.cur") 7 5, default;
220
  visibility: visible;
221
  }
222
+ #course_curriculum .curriculum-section-items .lp-section-item .item-checkbox input {
223
  opacity: 0.4;
224
  }
225
+ #course_curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty):hover .item-checkbox input {
226
  opacity: 1;
227
  }
228
+ #course_curriculum .lp-item-lp_lesson .handle.learn-press-icon:before {
229
  content: "\e900";
230
  }
231
+ #course_curriculum .lp-item-lp_quiz .handle.learn-press-icon:before {
232
  content: "\e901";
233
  }
234
+ #course_curriculum .lp-section-item.lp-item-new .handle {
235
  color: #999;
236
  }
237
+ #course_curriculum .curriculum-section-items .lp-section-item:hover,
238
+ #course_curriculum .curriculum-section-items .lp-section-item:hover input.lp-item-name {
239
  background-color: #F9F9F9;
240
  }
241
+ #course_curriculum .lp-section-item .handle {
242
  width: 32px;
243
  height: 32px;
244
  display: inline-block;
248
  line-height: 32px;
249
  color: #00A0D2;
250
  }
251
+ #course_curriculum .lp-section-item.remove input.lp-item-name {
252
  color: #FF0000;
253
  }
254
+ #course_curriculum .lp-section-item input.lp-item-name {
255
  color: #777;
256
  border: none;
257
  box-shadow: none;
263
  overflow: hidden;
264
  white-space: nowrap;
265
  }
266
+ #course_curriculum .lp-section-describe {
267
  border: none;
268
  box-shadow: none;
269
  color: #999;
272
  float: left;
273
  padding-left: 0;
274
  }
275
+ #course_curriculum .curriculum-section-items .lp-section-item input.lp-item-name:focus,
276
+ #course_curriculum input:focus {
277
  color: #444;
278
  }
279
+ #course_curriculum .lp-section-item .section-item-icon {
280
  width: 32px;
281
  white-space: nowrap;
282
  }
292
  cursor: pointer;
293
  border: 1px solid transparent;
294
  }
295
+ #course_curriculum .lp-section-item .learn-press-icon.item-lp_quiz:before {
296
  content: "\f469";
297
  }
298
+ #course_curriculum .lp-section-item .learn-press-icon.item-lp_lesson:before {
299
  content: "\f330";
300
  }
301
+ #course_curriculum .lp-section-item td {
302
  height: 30px;
303
  }
304
  #poststuff .postbox-container {
473
  .learn-press-dropdown-item-types li span.learn-press-icon.item-selected {
474
  color: #0085ba;
475
  }
 
 
 
476
  .post-type-lp_course #switch-course-tabs,
477
  .post-type-lp_course #toggle-meta-boxes {
478
  float: right;
479
  margin-left: 10px;
480
  }
481
+ .post-type-lp_course.enable-course-tabs #post-body-content {
482
+ margin-bottom: 0;
483
+ }
484
+ .post-type-lp_course.enable-course-tabs #normal-sortables .postbox {
485
+ _visibility: hidden;
486
+ float: left;
487
+ margin-right: -100%;
488
+ width: 100%;
489
+ box-sizing: border-box;
490
+ height: 0;
491
+ overflow: hidden;
492
+ border-width: 0;
493
+ }
494
+ .post-type-lp_course.enable-course-tabs #normal-sortables .postbox.active {
495
+ height: auto;
496
+ border-width: 1px;
497
+ }
498
+ .post-type-lp_course.enable-course-tabs #normal-sortables .postbox .handlediv,
499
+ .post-type-lp_course.enable-course-tabs #normal-sortables .postbox .hndle {
500
+ display: none;
501
+ }
502
+ .post-type-lp_course.enable-course-tabs #course-tabs {
503
+ background: #FFF;
504
+ padding: 10px;
505
+ margin-bottom: 0;
506
+ border: 1px solid #DDD;
507
+ border-bottom: none;
508
+ }
509
+ .post-type-lp_course.enable-course-tabs #course-tabs:after {
510
+ display: block;
511
+ clear: both;
512
+ content: '';
513
+ }
514
+ .post-type-lp_course.enable-course-tabs #course-tabs.ui-sortable:not(.ui-sortable-disabled) li.ui-sortable-handle {
515
+ position: relative;
516
+ }
517
+ .post-type-lp_course.enable-course-tabs #course-tabs.ui-sortable:not(.ui-sortable-disabled) li.ui-sortable-handle a {
518
+ border: 1px solid #ddd;
519
+ padding: 0px 5px;
520
+ margin: 0 5px;
521
+ color: #DDD;
522
+ background: #FFF;
523
+ }
524
+ .post-type-lp_course.enable-course-tabs #course-tabs.ui-sortable:not(.ui-sortable-disabled) li.ui-sortable-handle:after {
525
+ content: '';
526
+ position: absolute;
527
+ top: 0;
528
+ left: 0;
529
+ width: 100%;
530
+ height: 100%;
531
+ cursor: move;
532
+ }
533
+ .post-type-lp_course.enable-course-tabs #course-tabs li {
534
+ float: left;
535
+ margin-bottom: 0;
536
+ }
537
+ .post-type-lp_course.enable-course-tabs #course-tabs li a {
538
+ display: block;
539
+ padding: 0 15px 0 0;
540
+ text-decoration: none;
541
+ outline: none;
542
+ box-shadow: none;
543
+ }
544
+ .post-type-lp_course.enable-course-tabs #course-tabs li.active a {
545
+ font-weight: bold;
546
+ }
547
+ .post-type-lp_course.enable-course-tabs #course-tabs li#switch-course-metaboxes {
548
+ float: right;
549
+ }
550
+ .post-type-lp_course.enable-course-tabs #course-tabs li#switch-course-metaboxes #complete-reorder-course-tabs {
551
+ display: none;
552
+ }
553
+ .post-type-lp_course.enable-course-tabs #course-tabs li#switch-course-metaboxes a {
554
+ padding-right: 0;
555
+ color: #FF0000;
556
+ display: inline-block;
557
+ margin-left: 15px;
558
+ }
559
  /*
560
  #lp-course-curriculum .lp-course-curriculum-toggle{
561
  padding: 0;
assets/css/admin/meta-box-course.less CHANGED
@@ -1,915 +1,983 @@
1
- /* meta box course */
2
- .rwmb-duration-wrapper input[type="text"],
3
- .rwmb-duration-wrapper select {
4
- vertical-align: baseline;
5
- }
6
- #learn-press-toggle-course-results{
7
- display: block;margin-bottom:10px;
8
- a{box-shadow: none;}
9
- }
10
- .post-type-lp_course {
11
- #postdivric,
12
- #submitpost {
13
- visibility: hidden;
14
- }
15
- }
16
-
17
- #learn-press-review-message {
18
- margin-bottom: 10px;
19
- > h4 {
20
- margin: 0 0 10px 0;
21
- }
22
- > textarea {
23
- width: 100%;
24
- height: 100px;
25
- }
26
- .lp-pending-review-message {
27
- background: #c44;
28
- padding: 5px 10px;
29
- color: #FFF;
30
- margin: -10px -10px 10px;
31
- font-size: 12px;
32
- font-style: italic;
33
- }
34
- }
35
-
36
- #lp-course-curriculum {
37
- border: none;
38
- background-color: transparent;
39
- margin: 20px 0;
40
- }
41
-
42
- .post-type-lp_course {
43
- & .column-price, & .column-students {
44
- width: 10%;
45
- }
46
-
47
- #lp-course-curriculum .curriculum-section-items .lp-item-empty td.section-item-input {
48
- padding-left: 40px;
49
- &.hover {
50
- padding-left: 0;
51
- }
52
- }
53
-
54
- .type-lp_course {
55
-
56
- &.status-pending {
57
- .row-actions .view {
58
- display: none;
59
- }
60
- }
61
- }
62
-
63
- }
64
-
65
- #lp-course-curriculum .curriculum-heading {
66
- margin: 0 0 20px 0;
67
- padding: 10px 20px;
68
- background-color: #FFF;
69
- line-height: 1;
70
- border: 1px solid #DDD;
71
- }
72
-
73
- #lp-course-curriculum .curriculum-heading .description {
74
- font-weight: normal;
75
- color: #999;
76
- display: block;
77
- font-size: 90%;
78
- margin-top: 10px;;
79
- }
80
-
81
- #lp-course-curriculum .curriculum-heading .items-toggle {
82
- float: right;
83
- margin: -33px 7px 0 0;
84
- line-height: 1;
85
- box-shadow: none;
86
- }
87
-
88
- #lp-course-curriculum .curriculum-heading .items-toggle a {
89
- -webkit-box-shadow: none;
90
- -moz-box-shadow: none;
91
- box-shadow: none;
92
- font-size: 32px;
93
-
94
- }
95
-
96
- #lp-course-curriculum .curriculum-sections {
97
- margin: 0;
98
- background-color: #FFF;
99
- border-bottom: 1px solid #DDD;
100
- }
101
-
102
- #lp-course-curriculum .curriculum-section {
103
- margin: -1px 0 0 0;
104
- background-color: #FFF;
105
- border-bottom: 1px solid #DDD;
106
- position: relative;
107
- }
108
-
109
- #lp-course-curriculum .curriculum-section.ui-sortable-placeholder {
110
- background-image: url("../../images/stripe.png");
111
- visibility: visible !important;
112
- border: 1px solid #DDD;
113
- border-bottom: none;
114
- }
115
-
116
- #lp-course-curriculum .curriculum-section-head {
117
- border: 1px solid #DDD;
118
- background-color: #F9F9F9;
119
- border-bottom: none;
120
- margin: 0;
121
- color: #777;
122
- padding: 3px 20px;
123
- }
124
-
125
- #lp-course-curriculum .curriculum-section-head input {
126
- background-color: #F9F9F9;
127
- }
128
-
129
- #lp-course-curriculum .curriculum-section-head .lp-section-actions {
130
- float: right;
131
- margin: 14px 0;
132
- visibility: hidden;
133
- position: relative;
134
- }
135
-
136
- #lp-course-curriculum .curriculum-section:not(.lp-empty-section) .curriculum-section-head:hover .lp-section-actions {
137
- visibility: visible;
138
- }
139
-
140
- #lp-course-curriculum .curriculum-section .lp-section-actions a {
141
- vertical-align: middle;
142
- color: #666666;
143
- width: 24px;
144
- height: 24px;
145
- box-shadow: none;
146
- }
147
-
148
- #lp-course-curriculum .curriculum-section .lp-section-actions a[data-action="expand"] {
149
- line-height: 28px;
150
- }
151
-
152
- #lp-course-curriculum .curriculum-section .lp-section-actions a:before {
153
- width: 24px;
154
- height: 24px;
155
- font-size: 24px;
156
- }
157
-
158
- #lp-course-curriculum .curriculum-section .lp-section-actions a:hover {
159
- color: #00a0d2;
160
- }
161
-
162
- #lp-course-curriculum .curriculum-section .curriculum-section-head .lp-section-actions .move {
163
- cursor: url("../../../assets/images/openhand.cur") 7 5, default;
164
- position: absolute;
165
- right: -15px;
166
- height: 57px;
167
- top: -15px;
168
- background: url("../../../assets/images/grippy_large.png") right no-repeat;
169
- width: 20px;
170
- }
171
-
172
- #lp-course-curriculum .curriculum-section-content {
173
- border: 1px solid #DDD;
174
- padding: 20px;
175
- border-bottom-width: 0;
176
- width: 100%;
177
- box-sizing: border-box;
178
- }
179
-
180
- #lp-course-curriculum .curriculum-section.ui-sortable-helper {
181
- border-bottom: 1px solid #DDD;
182
- }
183
-
184
- #lp-course-curriculum .curriculum-section-head .lp-section-name {
185
- border: none;
186
- outline: none;
187
- box-shadow: none;
188
- font-size: 24px;
189
- color: #777;
190
- width: 70%;
191
- margin: 0;
192
- padding: 0;
193
- height: 50px;
194
- }
195
-
196
- #lp-course-curriculum .curriculum-section-head .lp-section-name:focus {
197
- color: #444;
198
- }
199
-
200
- #lp-course-curriculum .curriculum-section.lp-empty-section .curriculum-section-content {
201
- _display: none;
202
- }
203
-
204
- #lp-course-curriculum .curriculum-section-items {
205
- border-collapse: collapse;
206
- width: 100%;
207
- }
208
-
209
- #lp-course-curriculum .curriculum-section-items .lp-section-item {
210
- border: 1px dashed #DDD;
211
- margin: -1px 0 0 0;
212
- padding: 5px 0;
213
- background-color: #FFF;
214
- }
215
-
216
- #lp-course-curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1),
217
- #lp-course-curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1) .section-item-input input {
218
- background-color: #FCFCFC;
219
- }
220
-
221
- #lp-course-curriculum .curriculum-section-items .lp-section-item .lp-item-actions {
222
- margin: 0;
223
- float: right;
224
- position: relative;
225
- }
226
-
227
- #lp-course-curriculum .curriculum-section-items .lp-section-item .lp-item-actions a {
228
- vertical-align: middle;
229
- color: #666;
230
- margin-top: -2px;
231
- box-shadow: none;
232
- }
233
-
234
- #lp-course-curriculum .curriculum-section-items .lp-section-item .lp-item-actions a:hover {
235
- color: #00a0d2;
236
- }
237
-
238
- #lp-course-curriculum .curriculum-section-items .lp-section-item[data-item_id=""] .lp-edit {
239
- display: none;
240
- }
241
-
242
- #lp-course-curriculum .curriculum-section-items .lp-section-item.lp-item-empty .lp-item-actions {
243
- display: none;
244
- }
245
-
246
- #lp-course-curriculum .lp-section-item.ui-sortable-helper td {
247
-
248
- }
249
-
250
- #lp-course-curriculum .lp-section-item.ui-sortable-placeholder {
251
- visibility: visible !important;
252
- }
253
-
254
- #lp-course-curriculum .lp-section-item.ui-sortable-placeholder td {
255
- background-image: url("../../../assets/images/stripe.png");
256
- border-bottom: none;
257
- }
258
-
259
- #lp-course-curriculum .lp-item-actions > * {
260
- visibility: hidden;
261
- }
262
-
263
- #lp-course-curriculum .lp-item-actions > a {
264
- }
265
-
266
- #lp-course-curriculum .item-bulk-actions {
267
- text-align: right;
268
- margin-top: 0;
269
- margin-bottom: 15px;
270
- }
271
-
272
- #lp-course-curriculum .lp-section-item:not(.lp-item-empty):hover .lp-item-actions > * {
273
- visibility: visible;
274
- }
275
-
276
- #lp-course-curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty) .item-checkbox {
277
- display: inline-block;
278
- height: 34px;
279
- border: none;
280
- line-height: 32px;
281
- padding: 0 0 0 0;
282
- margin: 0 4px 0 10px;
283
- cursor: url("../../../assets/images/openhand.cur") 7 5, default;
284
- visibility: visible;
285
- }
286
-
287
- #lp-course-curriculum .curriculum-section-items .lp-section-item .item-checkbox input {
288
- opacity: 0.4;
289
- }
290
-
291
- #lp-course-curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty):hover .item-checkbox input {
292
- opacity: 1;
293
- }
294
-
295
- #lp-course-curriculum .lp-item-lp_lesson .handle.learn-press-icon:before {
296
- content: "\e900";
297
- }
298
-
299
- #lp-course-curriculum .lp-item-lp_quiz .handle.learn-press-icon:before {
300
- content: "\e901";
301
- }
302
-
303
- #lp-course-curriculum .lp-section-item.lp-item-new .handle {
304
- color: #999;
305
- }
306
-
307
- #lp-course-curriculum .curriculum-section-items .lp-section-item:hover,
308
- #lp-course-curriculum .curriculum-section-items .lp-section-item:hover input.lp-item-name {
309
- background-color: #F9F9F9;
310
- }
311
-
312
- #lp-course-curriculum .lp-section-item .handle {
313
- width: 32px;
314
- height: 32px;
315
- display: inline-block;
316
- vertical-align: middle;
317
- text-align: center;
318
- font-size: 18px;
319
- line-height: 32px;
320
- color: #00A0D2;
321
- }
322
-
323
- #lp-course-curriculum .lp-section-item.remove input.lp-item-name {
324
- color: #FF0000;
325
- }
326
-
327
- #lp-course-curriculum .lp-section-item.ui-sortable-helper {
328
-
329
- }
330
-
331
- #lp-course-curriculum .lp-section-item input.lp-item-name {
332
- color: #777;
333
- border: none;
334
- box-shadow: none;
335
- outline: none;
336
- font-size: 16px;
337
- width: 100%;
338
- vertical-align: middle;
339
- text-overflow: ellipsis;
340
- overflow: hidden;
341
- white-space: nowrap;
342
- }
343
-
344
- #lp-course-curriculum .lp-section-describe {
345
- border: none;
346
- box-shadow: none;
347
- color: #999;
348
- font-style: italic;
349
- width: 80%;
350
- float: left;
351
- padding-left: 0;
352
- }
353
-
354
- #lp-course-curriculum .curriculum-section-items .lp-section-item input.lp-item-name:focus,
355
- #lp-course-curriculum input:focus {
356
- color: #444;
357
- }
358
-
359
- #lp-course-curriculum .lp-section-item .section-item-icon {
360
- width: 32px;
361
- white-space: nowrap;
362
- }
363
-
364
- .lp-section-item .learn-press-icon {
365
- width: 32px;
366
- height: 32px;
367
- font-family: dashicons;
368
- display: inline-block;
369
- font-size: 20px;
370
- text-align: center;
371
- line-height: 32px;
372
- color: #DDD;
373
- cursor: pointer;
374
- border: 1px solid transparent;
375
- }
376
-
377
- #lp-course-curriculum .lp-section-item .learn-press-icon.item-lp_quiz:before {
378
- content: "\f469";
379
- }
380
-
381
- #lp-course-curriculum .lp-section-item .learn-press-icon.item-lp_lesson:before {
382
- content: "\f330";
383
- }
384
-
385
- #lp-course-curriculum .lp-section-item .learn-press-icon.item-selected,
386
- #lp-course-curriculum .lp-section-item[data-item_id=""] .learn-press-icon:hover {
387
- }
388
-
389
- #lp-course-curriculum .lp-section-item td {
390
- height: 30px;
391
- }
392
-
393
- #poststuff .postbox-container {
394
- position: relative;
395
- }
396
-
397
- #course_tabs .handlediv,
398
- #course_tabs .hndle,
399
- #course_tabs .rwmb-label {
400
- display: none;
401
- }
402
-
403
- #course_tabs .rwmb-input {
404
-
405
- }
406
-
407
- #course_tabs .inside {
408
- margin: 0;
409
- padding: 0;
410
- }
411
-
412
- #course_tabs .rwmb-course_tabs-wrapper {
413
- margin: 0;
414
- }
415
-
416
- #course_tabs {
417
- position: absolute;
418
- left: 0;
419
- right: 0;
420
- }
421
-
422
- #course_tabs.fixed {
423
- position: fixed;
424
- top: 30px;
425
- z-index: 10000;
426
- opacity: 0.5;
427
- left: 182px;
428
- right: 320px;
429
- }
430
-
431
- #course_tabs.fixed:hover {
432
- opacity: 1;
433
- }
434
-
435
- #course_tabs_placeholder {
436
- height: 41px;
437
- margin-bottom: 20px;
438
- }
439
-
440
- #poststuff h3#course-tabs-h3 {
441
- padding: 0;
442
- }
443
-
444
- #course-tabs-h3 > a {
445
- padding: 10px;
446
- display: inline-block;
447
- border-right: 1px solid #DDD;
448
- text-decoration: none;
449
- _color: #AAA;
450
- box-shadow: none;
451
- }
452
-
453
- .learn-press-review-logs {
454
- padding-bottom: 10px;
455
- .review-message {
456
- font-style: italic;
457
- font-size: 14px;
458
- margin: 10px 0;
459
- color: #999;
460
- }
461
- > li {
462
- border-bottom: 1px dashed #DDD;
463
- padding-bottom: 20px;
464
- margin-top: 20px;
465
- position: relative;
466
- &:after {
467
- content: '';
468
- display: block;
469
- clear: both;
470
- }
471
- }
472
- .review-user {
473
- width: 48px;
474
- float: left;
475
- img {
476
- max-width: 100%;
477
- height: auto;
478
- }
479
- > * {
480
- float: left;
481
- }
482
- }
483
- .review-index {
484
- width: 46px;
485
- font-weight: bold;
486
- position: absolute;
487
- bottom: -11px;
488
- left: 0;
489
- background-color: #FFF;
490
- text-align: center;
491
- border: 1px dashed #DDD;
492
- height: 20px;
493
- line-height: 20px;
494
- color: #CCC;
495
- }
496
- .review-content {
497
- margin-left: 68px;
498
- }
499
- > li .lp-label {
500
- font-size: 100%;
501
- margin-top: 20px;
502
- }
503
- }
504
-
505
- .rwmb-curriculum-wrapper .rwmb-label {
506
- display: none;
507
- }
508
-
509
- .rwmb-curriculum-wrapper .rwmb-input {
510
- width: auto !important;
511
- display: block;
512
- float: none;
513
- }
514
-
515
- .column-lp_course .row-actions {
516
- display: inline-block;
517
- margin-left: 10px;
518
- }
519
-
520
- .lp-modal-search li.selected {
521
- display: none;
522
- }
523
-
524
- .lp-search-items input[name="lp-item-name"] {
525
- width: 350px;
526
- }
527
-
528
- .lp-modal-search {
529
- background-color: #F5F5F5;
530
- color: #777;
531
- padding: 20px;
532
- height: 100%;
533
- }
534
-
535
- .lp-modal-search ul {
536
-
537
- }
538
-
539
- .lp-highlight-color {
540
- text-decoration: underline;
541
- color: #00a0d2;
542
- }
543
-
544
- .learn-press-dropdown-item-types {
545
- position: relative;
546
- > ul {
547
- display: none;
548
- position: absolute;
549
- top: 0px;
550
- z-index: 10;
551
- background: #FFF;
552
- border: 1px solid #DDD;
553
- left: 100%;
554
- margin-left: -1px;
555
- > li {
556
- margin: 0;
557
- display: table-cell;
558
- span {
559
- border-width: 0 !important;
560
- }
561
- }
562
- }
563
- }
564
-
565
- tr[data-item_id=""] .learn-press-dropdown-item-types:hover > ul,
566
- tr[data-item_id=""].focus .learn-press-dropdown-item-types > ul {
567
- display: inline-table;
568
- border-left-color: transparent;
569
- }
570
-
571
- .learn-press-dropdown-item-types:hover > span.learn-press-icon,
572
- tr.focus .learn-press-dropdown-item-types > span.learn-press-icon {
573
- background: #FFF;
574
- border-color: #DDD;
575
- z-index: 5;
576
- position: relative;
577
- }
578
-
579
- .learn-press-dropdown-item-types:hover > span.learn-press-icon:after {
580
- content: '';
581
- border-left: 1px solid #EEE;
582
- position: absolute;
583
- right: 0;
584
- display: inline-block;
585
- height: 20px;
586
- top: 50%;
587
- margin-top: -10px;
588
- }
589
-
590
- .learn-press-dropdown-item-types > span.learn-press-icon,
591
- .learn-press-dropdown-item-types li:hover span.learn-press-icon,
592
- .learn-press-dropdown-item-types li span.learn-press-icon.item-selected {
593
- color: #0085ba;
594
- }
595
-
596
- .learn-press-course-attributes {
597
- margin: 20px 0;
598
- .course-attribute-taxonomy {
599
- li {
600
-
601
- }
602
- }
603
- }
604
-
605
- .post-type-lp_course {
606
- #switch-course-tabs,
607
- #toggle-meta-boxes {
608
- float: right;
609
- margin-left: 10px;
610
- }
611
- }
612
-
613
- /*
614
- #lp-course-curriculum .lp-course-curriculum-toggle{
615
- padding: 0;
616
- margin: 0;
617
- float: right;
618
- }
619
- #lp-course-curriculum .lp-item-name{
620
- box-shadow: none;
621
- border-color: transparent;
622
- color: #BBB;
623
- }
624
- #lp-course-curriculum .lp-section-item:hover,
625
- #lp-course-curriculum .lp-section-item.hover{
626
- background-color: #F5F5F5;
627
- border-style: solid;
628
- }
629
- #lp-course-curriculum .lp-section-item.lp-item-lp_lesson .handle:after{
630
- content: "\f497";
631
- }
632
- #lp-course-curriculum .lp-section-item.lp-item-lp_quiz .handle:after{
633
- content: "\f130";
634
- }
635
- #lp-course-curriculum .lp-section-item:hover .lp-item-name,
636
- #lp-course-curriculum .lp-section-item.hover .lp-item-name{
637
- border: 1px solid #DDD;
638
- color: #32373c;
639
- }
640
- #lp-course-curriculum .lp-section-empty .lp-section-items{
641
- display: none;
642
- }
643
- #lp-course-curriculum .lp-section-item .lp-item-actions{
644
- float: right;
645
- margin-left: 5px;
646
- margin-top: 3px;
647
- }
648
- #lp-course-curriculum .lp-item-empty .lp-item-actions,
649
- #lp-course-curriculum .lp-section-empty .lp-section-head .lp-action,
650
- #lp-course-curriculum .lp-section-empty .lp-curriculum-section-content {
651
- display: none;
652
- }
653
- #lp-course-curriculum .lp-item-empty{
654
- cursor: default;
655
- }
656
- #lp-course-curriculum .lp-item-new{
657
- border-color: #00A0D2;
658
- }
659
- #lp-course-curriculum .lp-item-new .lp-item-name{
660
- border-color: #00A0D2;
661
- }
662
- #lp-course-curriculum .lp-section-head{
663
- padding: 0;
664
- }
665
- #lp-course-curriculum .lp-curriculum-section .lp-toggle i:before{
666
- content: '\f132';
667
- }
668
- #lp-course-curriculum .lp-curriculum-section.open .lp-toggle i:before{
669
- content: '\f460';
670
- }
671
- .lp-modal-search{
672
- position: absolute;
673
- background-color: #FFF;
674
- border: 1px solid #DDD;
675
- border-top: none;
676
- z-index: 9999;
677
- margin: -1px 0 0 1px;
678
- }
679
- .lp-modal-search ul{
680
- margin: 0;
681
- padding: 0;
682
- }
683
- .lp-modal-search ul li{
684
- list-style: none;
685
- padding: 5px;
686
- margin: 0;
687
- }
688
- .lp-modal-search li.highlighting,
689
- .lp-modal-search li:hover{
690
- background-color: #EAEAEA;
691
- cursor: pointer;
692
- }
693
- .lp-highlight-color{
694
- text-decoration: underline;
695
- }
696
- .lp-search-no-results{
697
- display: none;
698
- }
699
- .lp-curriculum-sections .ui-sortable-placeholder{
700
- visibility: visible !important;
701
- border: 2px dashed #DDD;
702
- }
703
- .lp-curriculum-sections .lp-sorting{
704
- height: auto !important;
705
- }
706
- */
707
- /*
708
-
709
- .lp-course-curriculum{}
710
- .lp-course-curriculum .lp-curriculum-sections{
711
-
712
- }
713
- .lp-course-curriculum .lp-curriculum-section{
714
- transition: opacity 0.25s;
715
- margin-bottom: 20px;
716
- border: 1px solid #DDD;
717
- }
718
- .lp-course-curriculum .lp-curriculum-section.lp-selected .lp-curriculum-section-content{
719
- background-color: #F5F5F5;
720
- }
721
- .lp-course-curriculum .lp-curriculum-section-content > p{
722
- display: inline-block;
723
- }
724
- .lp-course-curriculum .lp-curriculum-section.lp-selected > h3{
725
- _border-bottom: 1px solid #DDD;
726
- }
727
- .lp-course-curriculum .lp-curriculum-section > h3{
728
- padding: 10px ;
729
- margin: 0;
730
- background-color: #F5F5F5;
731
- height: 62px;
732
- position: relative;
733
- cursor: move;
734
- }
735
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-section-name-wrapper{
736
- top: 9px;
737
- }
738
- .lp-course-curriculum .lp-curriculum-section > h3 > span > input{
739
- border: 1px solid #DDD;
740
- border-radius: 3px;
741
- font-size: 24px;
742
- width: 100%;
743
- color: #777;
744
- }
745
- .lp-course-curriculum .lp-curriculum-section > h3 > span.lp-section-name-wrapper{
746
- position: absolute;
747
- display: inline-block;
748
- right: 137px;
749
- left: 71px;
750
- }
751
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action{
752
- display: block;
753
- position: relative;
754
- height: 62px;
755
- width: 62px;
756
- border-left: 1px solid #DDD;
757
- -top: -8px;
758
- -right: -11px;
759
- cursor: pointer;
760
- float: right;
761
- }
762
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action.lp-sort{
763
- display: none;
764
- }
765
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action .dashicons{
766
- font-size: 32px;
767
- width: 100%;
768
- height: 100%;
769
- line-height: 62px;
770
- color: #0073aa;
771
- }
772
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action:hover .dashicons{
773
- color: #009ED7;
774
- }
775
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action.lp-toggle{
776
- _right: 62px;
777
- }
778
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action.lp-remove{
779
- _right: 124px;
780
- }
781
-
782
- .lp-course-curriculum .lp-curriculum-section.closed .lp-curriculum-section-content{
783
- display: none;
784
- }
785
-
786
- .lp-course-curriculum .sorting .ui-sortable-helper .lp-curriculum-section-content{
787
- display: none !important;
788
- }
789
- .lp-course-curriculum .sorting .ui-sortable-placeholder,
790
- .lp-section-items.sorting .ui-sortable-placeholder{
791
- border: 3px dashed #DDD;
792
- visibility: visible !important;
793
- position: relative;
794
- }
795
- .lp-course-curriculum .sorting .ui-sortable-placeholder:after,
796
- .lp-section-items.sorting .ui-sortable-placeholder:after{
797
- content: '';
798
- display: block;
799
- width: 0px;
800
- height: 0px;
801
- border: 28px solid transparent;
802
- border-left-color: #999;
803
- position: absolute;
804
- top: 0;
805
- left: -33px;
806
-
807
- }
808
-
809
- .lp-section-items.sorting .ui-sortable-placeholder:after{
810
- border-width: 15px;
811
- left: -20px;
812
- }
813
- .lp-curriculum-section-content{
814
- background-color: #F5F5F5;
815
- background-color: #FFF;
816
- _border-bottom: 2px dashed #DDD;
817
- padding: 20px;
818
- margin-bottom: 0px;
819
- border-top: 1px solid #DDD;
820
- }
821
- .lp-dynamic-form{
822
- position: absolute;
823
- padding: 0px;
824
- background-color: transparent;
825
- z-index: 210;
826
- height: 15px;
827
- overflow: hidden;
828
- }
829
- .lp-container-dropdown{
830
- height: 15px;
831
- vertical-align: top;
832
- }
833
- .lp-container-dropdown > a{
834
- background-image: none !important;
835
- background-color: #FFF !important;
836
- }
837
- .lp-container-dropdown.select2-drop-above > a{
838
- height: 3px;
839
- }
840
- .lp-select-dropdown{
841
- margin-top: -6px;
842
- }
843
- .lp-select-dropdown.select2-drop-above{
844
- padding-bottom: 0;
845
- }
846
-
847
- .lp-empty .lp-curriculum-section-content{
848
- display: none !important;
849
- }
850
-
851
- .lp-section-items{
852
- min-height: 20px;
853
-
854
-
855
- }
856
- .lp-section-items > li{
857
- padding: 5px;
858
- border:1px dashed #DDD;
859
- background-color: #FFF;
860
- cursor: move;
861
- position: relative;
862
- }
863
- .lp-section-items > li .lp-title{
864
- cursor: auto;
865
- padding: 3px 5px;
866
- border: 1px solid transparent;
867
- display: inline-block;
868
- width: 80%;
869
- -webkit-box-sizing: border-box;
870
- -moz-box-sizing: border-box;
871
- box-sizing: border-box;
872
-
873
- }
874
- .lp-section-items > li:hover .lp-title {
875
- border-color: #DDD;
876
- cursor: text;
877
- }
878
- .lp-section-items > li input{
879
- width: 70%;
880
- }
881
-
882
- .lp-section-items > li:hover{
883
- border-style: solid;
884
- }
885
- .lp-section-icon{
886
- position: absolute;
887
- top:0;
888
- left:0;
889
- width: 62px;
890
- height: 62px;
891
- line-height: 54px;
892
- border-right: 1px solid #DDD;
893
- text-align:center;
894
- }
895
- .lp-section-icon i{
896
- height: 60px;
897
- line-height: 60px;
898
- }
899
- .lp-course-curriculum .dashicons{
900
- vertical-align: middle;
901
- }
902
-
903
- .select2-drop.select2-drop-active{
904
- padding: 5px 10px;
905
- }
906
-
907
- .rwmb-course_lesson_quiz-wrapper .rwmb-label{ display: none;}
908
- .rwmb-course_lesson_quiz-wrapper .rwmb-input{ float: none; width: auto; display: block;}
909
-
910
- .lp-course-curriculum-toggle{
911
-
912
- }
913
- .lp-course-curriculum-toggle .expand{
914
- display: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
915
  }*/
1
+ /* meta box course */
2
+ .rwmb-duration-wrapper input[type="text"],
3
+ .rwmb-duration-wrapper select {
4
+ vertical-align: baseline;
5
+ }
6
+
7
+ .post-type-lp_course {
8
+ #postdivric,
9
+ #submitpost {
10
+ visibility: hidden;
11
+ }
12
+ }
13
+
14
+ #learn-press-review-message {
15
+ margin-bottom: 10px;
16
+ > h4 {
17
+ margin: 0 0 10px 0;
18
+ }
19
+ > textarea {
20
+ width: 100%;
21
+ height: 100px;
22
+ }
23
+ .lp-pending-review-message {
24
+ background: #c44;
25
+ padding: 5px 10px;
26
+ color: #FFF;
27
+ margin: -10px -10px 10px;
28
+ font-size: 12px;
29
+ font-style: italic;
30
+ }
31
+ }
32
+
33
+ #learn-press-button-toggle-editor {
34
+ margin: 20px 0 0;
35
+ }
36
+
37
+ #course_curriculum {
38
+ border: none;
39
+ background-color: transparent;
40
+ }
41
+
42
+ #course_curriculum .handlediv,
43
+ #course_curriculum .hndle {
44
+ display: none;
45
+ }
46
+
47
+ #course_curriculum .inside {
48
+ margin: 0;
49
+ padding: 0;
50
+ }
51
+
52
+ #course_curriculum .curriculum-heading {
53
+ margin: 0 0 20px 0;
54
+ padding: 10px 20px;
55
+ background-color: #FFF;
56
+ line-height: 1;
57
+ border: 1px solid #DDD;
58
+ }
59
+
60
+ #course_curriculum .curriculum-heading .description {
61
+ font-weight: normal;
62
+ color: #999;
63
+ display: block;
64
+ font-size: 90%;
65
+ margin-top: 10px;;
66
+ }
67
+
68
+ #course_curriculum .curriculum-heading .items-toggle {
69
+ float: right;
70
+ margin: -33px 7px 0 0;
71
+ line-height: 1;
72
+ box-shadow: none;
73
+ }
74
+
75
+ #course_curriculum .curriculum-heading .items-toggle a {
76
+ -webkit-box-shadow: none;
77
+ -moz-box-shadow: none;
78
+ box-shadow: none;
79
+ font-size: 32px;
80
+
81
+ }
82
+
83
+ #course_curriculum .curriculum-sections {
84
+ margin: 0;
85
+ background-color: #FFF;
86
+ border-bottom: 1px solid #DDD;
87
+ }
88
+
89
+ #course_curriculum .curriculum-section {
90
+ margin: -1px 0 0 0;
91
+ background-color: #FFF;
92
+ border-bottom: 1px solid #DDD;
93
+ position: relative;
94
+ }
95
+
96
+ #course_curriculum .curriculum-section.ui-sortable-placeholder {
97
+ background-image: url("../../images/stripe.png");
98
+ visibility: visible !important;
99
+ border: 1px solid #DDD;
100
+ border-bottom: none;
101
+ }
102
+
103
+ #course_curriculum .curriculum-section-head {
104
+ border: 1px solid #DDD;
105
+ background-color: #F9F9F9;
106
+ border-bottom: none;
107
+ margin: 0;
108
+ color: #777;
109
+ padding: 3px 20px;
110
+ }
111
+
112
+ #course_curriculum .curriculum-section-head input {
113
+ background-color: #F9F9F9;
114
+ }
115
+
116
+ #course_curriculum .curriculum-section-head .lp-section-actions {
117
+ float: right;
118
+ margin: 14px 0;
119
+ visibility: hidden;
120
+ position: relative;
121
+ }
122
+
123
+ #course_curriculum .curriculum-section:not(.lp-empty-section) .curriculum-section-head:hover .lp-section-actions {
124
+ visibility: visible;
125
+ }
126
+
127
+ #course_curriculum .curriculum-section .lp-section-actions a {
128
+ vertical-align: middle;
129
+ color: #666666;
130
+ width: 24px;
131
+ height: 24px;
132
+ box-shadow: none;
133
+ }
134
+
135
+ #course_curriculum .curriculum-section .lp-section-actions a[data-action="expand"] {
136
+ line-height: 28px;
137
+ }
138
+
139
+ #course_curriculum .curriculum-section .lp-section-actions a:before {
140
+ width: 24px;
141
+ height: 24px;
142
+ font-size: 24px;
143
+ }
144
+
145
+ #course_curriculum .curriculum-section .lp-section-actions a:hover {
146
+ color: #00a0d2;
147
+ }
148
+
149
+ #course_curriculum .curriculum-section .curriculum-section-head .lp-section-actions .move {
150
+ cursor: url("../../../assets/images/openhand.cur") 7 5, default;
151
+ position: absolute;
152
+ right: -15px;
153
+ height: 57px;
154
+ top: -15px;
155
+ background: url("../../../assets/images/grippy_large.png") right no-repeat;
156
+ width: 20px;
157
+ }
158
+
159
+ #course_curriculum .curriculum-section-content {
160
+ border: 1px solid #DDD;
161
+ padding: 20px;
162
+ border-bottom-width: 0;
163
+ width: 100%;
164
+ box-sizing: border-box;
165
+ }
166
+
167
+ #course_curriculum .curriculum-section.ui-sortable-helper {
168
+ border-bottom: 1px solid #DDD;
169
+ }
170
+
171
+ #course_curriculum .curriculum-section-head .lp-section-name {
172
+ border: none;
173
+ outline: none;
174
+ box-shadow: none;
175
+ font-size: 24px;
176
+ color: #777;
177
+ width: 70%;
178
+ margin: 0;
179
+ padding: 0;
180
+ height: 50px;
181
+ }
182
+
183
+ #course_curriculum .curriculum-section-head .lp-section-name:focus {
184
+ color: #444;
185
+ }
186
+
187
+ #course_curriculum .curriculum-section.lp-empty-section .curriculum-section-content {
188
+ _display: none;
189
+ }
190
+
191
+ #course_curriculum .curriculum-section-items {
192
+ border-collapse: collapse;
193
+ width: 100%;
194
+ }
195
+
196
+ #course_curriculum .curriculum-section-items .lp-section-item {
197
+ border: 1px dashed #DDD;
198
+ margin: -1px 0 0 0;
199
+ padding: 5px 0;
200
+ background-color: #FFF;
201
+ }
202
+
203
+ #course_curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1),
204
+ #course_curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1) .section-item-input input {
205
+ background-color: #FCFCFC;
206
+ }
207
+
208
+ #course_curriculum .curriculum-section-items .lp-section-item .lp-item-actions {
209
+ margin: 0;
210
+ float: right;
211
+ position: relative;
212
+ }
213
+
214
+ #course_curriculum .curriculum-section-items .lp-section-item .lp-item-actions a {
215
+ vertical-align: middle;
216
+ color: #666;
217
+ margin-top: -2px;
218
+ box-shadow: none;
219
+ }
220
+
221
+ #course_curriculum .curriculum-section-items .lp-section-item .lp-item-actions a:hover {
222
+ color: #00a0d2;
223
+ }
224
+
225
+ #course_curriculum .curriculum-section-items .lp-section-item[data-item_id=""] .lp-edit {
226
+ display: none;
227
+ }
228
+
229
+ #course_curriculum .curriculum-section-items .lp-section-item.lp-item-empty .lp-item-actions {
230
+ display: none;
231
+ }
232
+
233
+ #course_curriculum .lp-section-item.ui-sortable-helper td {
234
+
235
+ }
236
+
237
+ #course_curriculum .lp-section-item.ui-sortable-placeholder {
238
+ visibility: visible !important;
239
+ }
240
+
241
+ #course_curriculum .lp-section-item.ui-sortable-placeholder td {
242
+ background-image: url("../../../assets/images/stripe.png");
243
+ border-bottom: none;
244
+ }
245
+
246
+ #course_curriculum .lp-item-actions > * {
247
+ visibility: hidden;
248
+ }
249
+
250
+ #course_curriculum .lp-item-actions > a {
251
+ }
252
+
253
+ #course_curriculum .item-bulk-actions {
254
+ text-align: right;
255
+ margin-top: 0;
256
+ margin-bottom: 15px;
257
+ }
258
+
259
+ #course_curriculum .lp-section-item:not(.lp-item-empty):hover .lp-item-actions > * {
260
+ visibility: visible;
261
+ }
262
+
263
+ #course_curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty) .item-checkbox {
264
+ display: inline-block;
265
+ height: 34px;
266
+ border: none;
267
+ line-height: 32px;
268
+