LearnPress – WordPress LMS Plugin - Version 2.1.4

Version Description

  • Added option for external link of "Buy this course"
  • Improved user roles while edit a course and it's items
  • Removed "Show/Hide" questions option of quiz in Global Settings
  • Removed option "Show/Hide" explanation for quiz
  • Removed "Preview" label of course items if course is no required enroll
  • Fixed guest user can not start quiz on wpengine site
  • Fixed "Start quiz" does not show for "No require enrollment" course
  • Fixed course id is missing after duplicating course
  • Fixed course results is incorrect with 'Evaluate lessons' option
  • Fixed wrong review course before publish
  • And more...
Download this release

Release Info

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

Code changes from version 2.1.6.1 to 2.1.4

Files changed (180) hide show
  1. assets/css/admin/admin.css +20 -30
  2. assets/css/admin/admin.less +37 -44
  3. assets/css/admin/attributes.css +17 -17
  4. assets/css/admin/attributes.less +0 -18
  5. assets/css/admin/meta-box-course.css +141 -76
  6. assets/css/admin/meta-box-course.less +176 -108
  7. assets/css/admin/meta-box-order.css +44 -46
  8. assets/css/admin/meta-box-question.css +52 -0
  9. assets/css/learnpress.css +99 -355
  10. assets/css/learnpress.less +41 -335
  11. assets/js/admin/admin.js +1 -1
  12. assets/js/admin/attributes.js +0 -92
  13. assets/js/admin/course-editor.js +6 -6
  14. assets/js/admin/meta-box-course.js +15 -30
  15. assets/js/admin/meta-box-order.js +18 -37
  16. assets/js/admin/meta-box-quiz.js +1 -13
  17. assets/js/frontend/course-filters.js +0 -146
  18. assets/js/frontend/learnpress.js +2 -1
  19. assets/js/frontend/lesson.js +6 -3
  20. assets/js/frontend/profile.js +236 -0
  21. assets/js/frontend/single-course.js +16 -56
  22. assets/js/global.js +22 -25
  23. assets/js/global.min.js +2 -2
  24. inc/admin/class-lp-admin-ajax.php +144 -155
  25. inc/admin/class-lp-admin-menu.php +0 -24
  26. inc/admin/class-lp-profile.php +139 -0
  27. inc/admin/dashboard-statistics/class-lp-statistic-status.php +4 -4
  28. inc/admin/includes/class-markdown-parse.php +5 -7
  29. inc/admin/lp-admin-functions.php +184 -202
  30. inc/admin/meta-boxes/class-course-tabs-field.php +1 -1
  31. inc/admin/meta-boxes/class-curriculum-field.php +316 -0
  32. inc/admin/meta-boxes/class-meta-box-tabs.php +18 -0
  33. inc/admin/settings/class-lp-settings-emails.php +21 -44
  34. inc/admin/settings/class-lp-settings-general.php +1 -11
  35. inc/admin/views/meta-boxes/course/attributes.php +0 -45
  36. inc/admin/views/meta-boxes/course/curriculum.php +33 -33
  37. inc/admin/views/meta-boxes/course/html-course-attribute.php +0 -35
  38. inc/admin/views/meta-boxes/course/loop-item.php +36 -56
  39. inc/admin/views/meta-boxes/course/loop-section.php +55 -26
  40. inc/admin/views/meta-boxes/course/review-logs.php +2 -2
  41. inc/admin/views/meta-boxes/order/actions.php +10 -33
  42. inc/admin/views/meta-boxes/order/details.php +12 -25
  43. inc/admin/views/settings/emails/enrolled-course-admin.php +0 -76
  44. inc/admin/views/settings/emails/update-course.php +0 -50
  45. inc/admin/views/settings/emails/user-order-changed-status.php +0 -68
  46. inc/attributes/course.php +0 -399
  47. inc/attributes/lp-attributes-functions.php +0 -175
  48. inc/class-lp-assets.php +32 -38
  49. inc/class-lp-cache.php +62 -168
  50. inc/class-lp-emails.php +29 -35
  51. inc/class-lp-page-controller.php +15 -6
  52. inc/class-lp-query.php +124 -15
  53. inc/class-lp-request-handler.php +12 -39
  54. inc/class-lp-schedules.php +5 -48
  55. inc/class-lp-settings.php +1 -7
  56. inc/class-lp-shortcodes.php +62 -247
  57. inc/class-lp-widget.php +0 -395
  58. inc/course/abstract-lp-course.php +134 -204
  59. inc/course/lp-course-functions.php +130 -159
  60. inc/custom-post-types/course.php +146 -100
  61. inc/custom-post-types/order.php +15 -149
  62. inc/custom-post-types/quiz.php +41 -50
  63. inc/debug.php +0 -7
  64. inc/emails/class-lp-email-enrolled-course-admin.php +0 -172
  65. inc/emails/class-lp-email-update-course.php +0 -130
  66. inc/emails/class-lp-email-user-order-changed-status.php +0 -109
  67. inc/emails/class-lp-email-user-order-completed.php +52 -35
  68. inc/emails/class-lp-email.php +4 -16
  69. inc/lesson/lp-lesson-functions.php +8 -26
  70. inc/libraries/meta-box/inc/fields/checkbox-list.php +5 -10
  71. inc/libraries/meta-box/inc/fields/datetime.php +1 -1
  72. inc/{admin/meta-boxes → libraries/meta-box/inc/fields}/duration.php +2 -15
  73. inc/libraries/meta-box/inc/fields/time.php +2 -2
  74. inc/libraries/meta-box/inc/meta-box.php +1 -1
  75. inc/libraries/meta-box/meta-box.php +7 -17
  76. inc/lp-constants.php +2 -7
  77. inc/lp-core-functions.php +40 -115
  78. inc/lp-init.php +108 -197
  79. inc/lp-template-functions.php +65 -33
  80. inc/lp-template-hooks.php +0 -3
  81. inc/order/class-lp-order.php +19 -126
  82. inc/order/lp-order-functions.php +10 -66
  83. inc/question/class-lp-question-factory.php +2 -17
  84. inc/quiz/class-lp-quiz-factory.php +9 -19
  85. inc/shortcodes/archive-courses.php +45 -0
  86. inc/shortcodes/class-lp-abstract-archive-shortcode.php +354 -0
  87. inc/shortcodes/course-summary.php +11 -0
  88. inc/shortcodes/featured-courses/featured-course.php +136 -0
  89. inc/shortcodes/featured-courses/featured-courses.php +133 -0
  90. inc/{widgets/course-attributes/tmpl → shortcodes/featured-courses}/index.php +0 -0
  91. inc/shortcodes/featured-courses/templates/cards.php +127 -0
  92. inc/shortcodes/featured-courses/templates/grids.php +131 -0
  93. inc/{widgets/course-filters/tmpl → shortcodes/featured-courses/templates}/index.php +0 -0
  94. inc/shortcodes/featured-courses/templates/list.php +137 -0
  95. inc/shortcodes/index.php +1 -0
  96. inc/shortcodes/popular-courses/index.php +1 -0
  97. inc/shortcodes/popular-courses/popular-course.php +132 -0
  98. inc/shortcodes/popular-courses/popular-courses.php +129 -0
  99. inc/shortcodes/popular-courses/templates/cards.php +127 -0
  100. inc/shortcodes/popular-courses/templates/grids.php +131 -0
  101. inc/shortcodes/popular-courses/templates/index.php +1 -0
  102. inc/shortcodes/popular-courses/templates/list.php +137 -0
  103. inc/shortcodes/recent-courses/index.php +1 -0
  104. inc/shortcodes/recent-courses/recent-courses.php +121 -0
  105. inc/shortcodes/recent-courses/templates/cards.php +127 -0
  106. inc/shortcodes/recent-courses/templates/grids.php +131 -0
  107. inc/shortcodes/recent-courses/templates/index.php +1 -0
  108. inc/shortcodes/recent-courses/templates/list.php +136 -0
  109. inc/updates/09/script.js +2 -1
  110. inc/user/abstract-lp-user.php +29 -88
  111. inc/user/class-lp-profile.php +0 -114
  112. inc/user/class-lp-user-factory.php +5 -25
  113. inc/user/lp-user-functions.php +55 -88
  114. inc/widgets/course-attributes/course-attributes.php +0 -31
  115. inc/widgets/course-attributes/tmpl/default.php +0 -23
  116. inc/widgets/course-filters/course-filters.php +0 -178
  117. inc/widgets/course-filters/tmpl/default.php +0 -90
  118. inc/widgets/featured-courses/featured-course-widget.php +197 -0
  119. inc/widgets/featured-courses/featured-courses.php +0 -139
  120. inc/widgets/featured-courses/form.php +132 -0
  121. inc/widgets/featured-courses/index.php +1 -7
  122. inc/widgets/featured-courses/templates/default.php +78 -0
  123. inc/widgets/featured-courses/templates/index.php +1 -0
  124. inc/widgets/featured-courses/tmpl/default.php +0 -75
  125. inc/widgets/featured-courses/tmpl/index.php +0 -7
  126. inc/widgets/lp-widget-util.php +32 -0
  127. inc/widgets/popular-courses/form.php +132 -0
  128. inc/widgets/popular-courses/index.php +1 -7
  129. inc/widgets/popular-courses/popular-course-widget.php +206 -0
  130. inc/widgets/popular-courses/popular-courses.php +0 -149
  131. inc/widgets/popular-courses/templates/default.php +78 -0
  132. inc/widgets/popular-courses/templates/index.php +1 -0
  133. inc/widgets/popular-courses/tmpl/default.php +0 -0
  134. inc/widgets/popular-courses/tmpl/index.php +0 -7
  135. inc/widgets/recent-courses/form.php +132 -0
  136. inc/widgets/recent-courses/index.php +1 -7
  137. inc/widgets/recent-courses/recent-course-widget.php +194 -0
  138. inc/widgets/recent-courses/recent-courses.php +0 -142
  139. inc/widgets/recent-courses/{tmpl → templates}/default.php +17 -14
  140. inc/widgets/recent-courses/templates/index.php +1 -0
  141. inc/widgets/recent-courses/tmpl/index.php +0 -7
  142. learnpress.php +23 -10
  143. readme.txt +5 -42
  144. templates/content-archive-course.php +1 -1
  145. templates/content-question/multi-choice/answer-options.php +4 -9
  146. templates/content-question/single-choice/answer-options.php +2 -6
  147. templates/content-quiz/buttons.php +1 -6
  148. templates/content-single-course.php +0 -1
  149. templates/emails/enrolled-course-admin.php +0 -17
  150. templates/emails/plain/enrolled-course-admin.php +0 -13
  151. templates/emails/plain/update-course.php +0 -7
  152. templates/emails/plain/user-order-changed-status.php +0 -9
  153. templates/emails/update-course.php +0 -7
  154. templates/emails/user-order-changed-status.php +0 -9
  155. templates/global/become-teacher-form.php +2 -5
  156. templates/global/before-main-content.php +1 -1
  157. templates/order/order-details.php +1 -1
  158. templates/profile/tabs.php +7 -1
  159. templates/profile/tabs/courses/all.php +48 -0
  160. templates/profile/tabs/courses/finished.php +44 -0
  161. templates/profile/tabs/courses/learning.php +45 -0
  162. templates/profile/tabs/courses/loop.php +1 -1
  163. templates/profile/tabs/courses/own.php +55 -0
  164. templates/profile/tabs/courses/purchased.php +44 -0
  165. templates/profile/tabs/edit.php +3 -11
  166. templates/profile/tabs/orders.php +2 -2
  167. templates/single-course/buttons.php +113 -91
  168. templates/single-course/content-item-lp_lesson.php +1 -0
  169. templates/single-course/content-item-only.php +1 -0
  170. templates/single-course/content-item.php +4 -2
  171. templates/single-course/nav-items.php +0 -35
  172. templates/single-course/popup.php +1 -8
  173. templates/single-course/price.php +1 -1
  174. templates/single-course/progress.php +17 -12
  175. templates/single-course/section/item-meta.php +19 -61
  176. templates/single-course/section/item-quiz.php +9 -33
  177. templates/single-course/section/title.php +1 -1
  178. templates/widgets/featured-courses/default.php +0 -85
  179. templates/widgets/popular-courses/default.php +0 -85
  180. templates/widgets/recent-courses/default.php +0 -85
assets/css/admin/admin.css CHANGED
@@ -4,29 +4,17 @@
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;
@@ -42,6 +30,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]"],
@@ -272,6 +273,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 +1514,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;
@@ -1913,19 +1916,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
+ .rwmb-field .rwmb-input .option-desc {
 
 
 
14
  font-weight: normal;
15
+ padding-left: 24px;
 
16
  font-style: italic;
17
+ margin-top: 3px;
18
  }
19
  .lp-nav-tab-wrapper {
20
  border-bottom: 1px solid #ccc;
30
  .learn-press-quick-add-page-inline > * {
31
  vertical-align: top;
32
  }
33
+ .post-type-lp_course .column-price,
34
+ .post-type-lp_course .column-students {
35
+ width: 10%;
36
+ }
37
+ .post-type-lp_course #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input {
38
+ padding-left: 40px;
39
+ }
40
+ .post-type-lp_course #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input.hover {
41
+ padding-left: 0;
42
+ }
43
+ .post-type-lp_course .type-lp_course.status-pending .row-actions .view {
44
+ display: none;
45
+ }
46
  #learn-press-admin-settings {
47
  /*input[name="learn_press_single_course_image_size[width]"],
48
  input[name="learn_press_single_course_image_size[height]"],
273
  .meta_box_course_lesson_quiz li select {
274
  min-width: 250px;
275
  }
276
+ .description {
277
+ margin-top: 5px;
278
+ }
279
  .dashed-placeholder {
280
  border: 2px dashed #999;
281
  padding: 10px;
1514
  }
1515
  .post-type-lp_order #submitpost .misc-pub-section label {
1516
  display: block;
1517
+ font-weight: bold;
 
1518
  }
1519
  #learn-press-order {
1520
  margin: 15px;
1916
  content: '';
1917
  display: block;
1918
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
1919
  @keyframes learn-press-meta-box-tabs-initialize-animation {
1920
  0% {
1921
  opacity: 0;
assets/css/admin/admin.less CHANGED
@@ -8,32 +8,17 @@
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
  }
@@ -55,6 +40,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;
@@ -198,11 +206,11 @@ input:focus:-moz-placeholder {
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
  }
@@ -318,6 +326,10 @@ input:focus:-moz-placeholder {
318
  min-width: 250px;
319
  }
320
 
 
 
 
 
321
  .dashed-placeholder {
322
  border: 2px dashed #999;
323
  padding: 10px;
@@ -1810,8 +1822,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 {
@@ -2271,24 +2282,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 +2340,4 @@ input.regular-text[id^="learn-press-emails"] {
2347
  100% {
2348
  opacity: 0;
2349
  }
2350
- }
8
  @primary-icon-color: #666666;
9
  @primary-icon-hover-color: #00a0d2;
10
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  .rwmb-field {
12
  margin: 20px 0 20px 0;
13
  .rwmb-input {
14
  .rwmb-label {
15
  margin-top: 0;
16
  }
17
+ .option-desc {
18
+ font-weight: normal;
19
+ padding-left: 24px;
20
+ font-style: italic;
21
+ margin-top: 3px;
 
 
 
22
  }
23
  }
24
  }
40
  vertical-align: top;
41
  }
42
 
43
+ .post-type-lp_course {
44
+ & .column-price, & .column-students {
45
+ width: 10%;
46
+ }
47
+
48
+ #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input {
49
+ padding-left: 40px;
50
+ &.hover {
51
+ padding-left: 0;
52
+ }
53
+ }
54
+
55
+ .type-lp_course {
56
+
57
+ &.status-pending {
58
+ .row-actions .view {
59
+ display: none;
60
+ }
61
+ }
62
+ }
63
+
64
+ }
65
+
66
  #learn-press-admin-settings {
67
  #learn_press_email_formats {
68
  margin-bottom: 10px;
206
  border-bottom: 1px solid #23282d;
207
  width: 20px;
208
  position: absolute;
209
+ top:50%;
210
  left: 8px;
211
  }
212
+ &:hover{
213
+ &:before{
214
  border-color: #FFF;
215
  }
216
  }
326
  min-width: 250px;
327
  }
328
 
329
+ .description {
330
+ margin-top: 5px;
331
+ }
332
+
333
  .dashed-placeholder {
334
  border: 2px dashed #999;
335
  padding: 10px;
1822
 
1823
  .post-type-lp_order #submitpost .misc-pub-section label {
1824
  display: block;
1825
+ font-weight: bold;
 
1826
  }
1827
 
1828
  #learn-press-order {
2282
  }
2283
  }
2284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2285
  @keyframes learn-press-meta-box-tabs-initialize-animation {
2286
  0% {
2287
  opacity: 0;
2340
  100% {
2341
  opacity: 0;
2342
  }
2343
+ }
assets/css/admin/attributes.css CHANGED
@@ -1,17 +1,17 @@
1
- .course-attributes {
2
- margin: 20px 0;
3
- }
4
- .course-attributes .learn-press-attribute {
5
- border: 1px solid #DDD;
6
- margin-top: -1px;
7
- margin-bottom: 0;
8
- }
9
- .course-attributes .learn-press-attribute > h4 {
10
- padding: 10px 15px;
11
- margin: 0;
12
- background: #F5F5F5;
13
- }
14
- .course-attributes .learn-press-attribute .learn-press-attribute-data {
15
- padding: 15px;
16
- border-top: 1px solid #DDD;
17
- }
1
+ .course-attributes {
2
+ margin: 20px 0;
3
+ }
4
+ .course-attributes .learn-press-attribute {
5
+ border: 1px solid #DDD;
6
+ margin-top: -1px;
7
+ margin-bottom: 0;
8
+ }
9
+ .course-attributes .learn-press-attribute > h4 {
10
+ padding: 10px 15px;
11
+ margin: 0;
12
+ background: #F5F5F5;
13
+ }
14
+ .course-attributes .learn-press-attribute .learn-press-attribute-data {
15
+ padding: 15px;
16
+ border-top: 1px solid #DDD;
17
+ }
assets/css/admin/attributes.less DELETED
@@ -1,18 +0,0 @@
1
- .course-attributes {
2
- margin: 20px 0;
3
- .learn-press-attribute {
4
- border: 1px solid #DDD;
5
- margin-top: -1px;
6
- margin-bottom: 0;
7
- > h4 {
8
- padding: 10px 15px;
9
- margin: 0;
10
- background: #F5F5F5;
11
- }
12
- .learn-press-attribute-data {
13
- padding: 15px;
14
- border-top: 1px solid #DDD;
15
- }
16
- }
17
- }
18
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@@ -3,10 +3,7 @@
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 {
@@ -33,36 +30,26 @@
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;
@@ -70,7 +57,7 @@
70
  border: 1px solid #DDD;
71
  }
72
 
73
- #lp-course-curriculum .curriculum-heading .description {
74
  font-weight: normal;
75
  color: #999;
76
  display: block;
@@ -78,14 +65,14 @@
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;
@@ -93,27 +80,27 @@
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;
@@ -122,22 +109,22 @@
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;
@@ -145,21 +132,21 @@
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;
@@ -169,7 +156,7 @@
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;
@@ -177,11 +164,11 @@
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;
@@ -193,87 +180,87 @@
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;
@@ -284,32 +271,32 @@
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;
@@ -320,15 +307,15 @@
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;
@@ -341,7 +328,7 @@
341
  white-space: nowrap;
342
  }
343
 
344
- #lp-course-curriculum .lp-section-describe {
345
  border: none;
346
  box-shadow: none;
347
  color: #999;
@@ -351,12 +338,12 @@
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
  }
@@ -374,19 +361,19 @@
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
 
@@ -543,23 +530,26 @@
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,
@@ -593,14 +583,7 @@ tr.focus .learn-press-dropdown-item-types > span.learn-press-icon {
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,
@@ -608,6 +591,91 @@ tr.focus .learn-press-dropdown-item-types > span.learn-press-icon {
608
  float: right;
609
  margin-left: 10px;
610
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
611
  }
612
 
613
  /*
3
  .rwmb-duration-wrapper select {
4
  vertical-align: baseline;
5
  }
6
+
 
 
 
7
  .post-type-lp_course {
8
  #postdivric,
9
  #submitpost {
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;
57
  border: 1px solid #DDD;
58
  }
59
 
60
+ #course_curriculum .curriculum-heading .description {
61
  font-weight: normal;
62
  color: #999;
63
  display: block;
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;
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;
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;
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;
156
  width: 20px;
157
  }
158
 
159
+ #course_curriculum .curriculum-section-content {
160
  border: 1px solid #DDD;
161
  padding: 20px;
162
  border-bottom-width: 0;
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;
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;
271
  visibility: visible;
272
  }
273
 
274
+ #course_curriculum .curriculum-section-items .lp-section-item .item-checkbox input {
275
  opacity: 0.4;
276
  }
277
 
278
+ #course_curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty):hover .item-checkbox input {
279
  opacity: 1;
280
  }
281
 
282
+ #course_curriculum .lp-item-lp_lesson .handle.learn-press-icon:before {
283
  content: "\e900";
284
  }
285
 
286
+ #course_curriculum .lp-item-lp_quiz .handle.learn-press-icon:before {
287
  content: "\e901";
288
  }
289
 
290
+ #course_curriculum .lp-section-item.lp-item-new .handle {
291
  color: #999;
292
  }
293
 
294
+ #course_curriculum .curriculum-section-items .lp-section-item:hover,
295
+ #course_curriculum .curriculum-section-items .lp-section-item:hover input.lp-item-name {
296
  background-color: #F9F9F9;
297
  }
298
 
299
+ #course_curriculum .lp-section-item .handle {
300
  width: 32px;
301
  height: 32px;
302
  display: inline-block;
307
  color: #00A0D2;
308
  }
309
 
310
+ #course_curriculum .lp-section-item.remove input.lp-item-name {
311
  color: #FF0000;
312
  }
313
 
314
+ #course_curriculum .lp-section-item.ui-sortable-helper {
315
 
316
  }
317
 
318
+ #course_curriculum .lp-section-item input.lp-item-name {
319
  color: #777;
320
  border: none;
321
  box-shadow: none;
328
  white-space: nowrap;
329
  }
330
 
331
+ #course_curriculum .lp-section-describe {
332
  border: none;
333
  box-shadow: none;
334
  color: #999;
338
  padding-left: 0;
339
  }
340
 
341
+ #course_curriculum .curriculum-section-items .lp-section-item input.lp-item-name:focus,
342
+ #course_curriculum input:focus {
343
  color: #444;
344
  }
345
 
346
+ #course_curriculum .lp-section-item .section-item-icon {
347
  width: 32px;
348
  white-space: nowrap;
349
  }
361
  border: 1px solid transparent;
362
  }
363
 
364
+ #course_curriculum .lp-section-item .learn-press-icon.item-lp_quiz:before {
365
  content: "\f469";
366
  }
367
 
368
+ #course_curriculum .lp-section-item .learn-press-icon.item-lp_lesson:before {
369
  content: "\f330";
370
  }
371
 
372
+ #course_curriculum .lp-section-item .learn-press-icon.item-selected,
373
+ #course_curriculum .lp-section-item[data-item_id=""] .learn-press-icon:hover {
374
  }
375
 
376
+ #course_curriculum .lp-section-item td {
377
  height: 30px;
378
  }
379
 
530
 
531
  .learn-press-dropdown-item-types {
532
  position: relative;
533
+ }
534
+
535
+ .learn-press-dropdown-item-types > ul {
536
+ display: none;
537
+ position: absolute;
538
+ top: 0px;
539
+ z-index: 10;
540
+ background: #FFF;
541
+ border: 1px solid #DDD;
542
+ left: 100%;
543
+ margin-left: -1px;
544
+ }
545
+
546
+ .learn-press-dropdown-item-types > ul > li {
547
+ margin: 0;
548
+ display: table-cell;
549
+ }
550
+
551
+ .learn-press-dropdown-item-types > ul > li span {
552
+ border-width: 0 !important;
553
  }
554
 
555
  tr[data-item_id=""] .learn-press-dropdown-item-types:hover > ul,
583
  color: #0085ba;
584
  }
585
 
 
 
 
 
586
 
 
 
 
587
 
588
  .post-type-lp_course {
589
  #switch-course-tabs,
591
  float: right;
592
  margin-left: 10px;
593
  }
594
+ &.enable-course-tabs {
595
+ #post-body-content {
596
+ margin-bottom: 0;
597
+ }
598
+ #normal-sortables {
599
+ .postbox {
600
+ _visibility: hidden;
601
+ float: left;
602
+ margin-right: -100%;
603
+ width: 100%;
604
+ box-sizing: border-box;
605
+ height: 0;
606
+ overflow: hidden;
607
+ border-width: 0;
608
+ &.active {
609
+ height: auto;
610
+ border-width: 1px;
611
+ }
612
+ .handlediv, .hndle {
613
+ display: none;
614
+ }
615
+ }
616
+ }
617
+ #course-tabs {
618
+ background: #FFF;
619
+ padding: 10px;
620
+ margin-bottom: 0;
621
+ border: 1px solid #DDD;
622
+ border-bottom: none;
623
+ &:after {
624
+ display: block;
625
+ clear: both;
626
+ content: '';
627
+ }
628
+ &.ui-sortable:not(.ui-sortable-disabled) {
629
+ li.ui-sortable-handle {
630
+ position: relative;
631
+ a {
632
+ border: 1px solid #ddd;
633
+ padding: 0px 5px;
634
+ margin: 0 5px;
635
+ color: #DDD;
636
+ background: #FFF;
637
+ }
638
+ &:after {
639
+ content: '';
640
+ position: absolute;
641
+ top: 0;
642
+ left: 0;
643
+ width: 100%;
644
+ height: 100%;
645
+ cursor: move;
646
+ }
647
+ }
648
+ }
649
+ li {
650
+ float: left;
651
+ margin-bottom: 0;
652
+ a {
653
+ display: block;
654
+ padding: 0 15px 0 0;
655
+ text-decoration: none;
656
+ outline: none;
657
+ box-shadow: none;
658
+ }
659
+ &.active {
660
+ a {
661
+ font-weight: bold;
662
+ }
663
+ }
664
+ }
665
+ li#switch-course-metaboxes {
666
+ float: right;
667
+ #complete-reorder-course-tabs {
668
+ display: none;
669
+ }
670
+ a {
671
+ padding-right: 0;
672
+ color: #FF0000;
673
+ display: inline-block;
674
+ margin-left: 15px;
675
+ }
676
+ }
677
+ }
678
+ }
679
  }
680
 
681
  /*
assets/css/admin/meta-box-order.css CHANGED
@@ -1,136 +1,133 @@
 
1
  /* admin order details */
2
  .column-order_date,
3
  .column-order_total,
4
  .column-order_status,
5
- .post-type-lp_order .column-title {
6
  width: 10%;
7
  }
8
- .post-type-lp_order .column-order_student {
9
  width: 12%;
10
  }
 
 
11
  #order_details .ui-sortable-handle,
12
  #order_details .handlediv {
13
  display: none !important;
14
  }
 
15
  #order_details .inside {
16
  padding: 20px;
17
  margin: 0;
18
  }
 
19
  #order_details .order-user-avatar {
20
  float: left;
21
  margin-right: 20px;
22
  }
 
23
  #order_details .order-user-meta {
24
  float: left;
25
  }
 
26
  #order_details .order-items table {
27
  width: 100%;
28
  border-collapse: collapse;
29
  margin-top: 20px;
30
  }
 
31
  #order_details .order-items table tr {
32
  border-bottom: 1px solid #EEE;
33
  }
 
34
  #order_details .order-items table thead th {
35
  height: 30px;
36
  text-align: left;
37
  font-size: 16px;
38
  padding: 15px 10px;
39
  }
 
40
  #order_details .order-items table td {
41
  padding: 15px 10px;
42
  font-size: 16px;
43
  }
 
44
  #order_details .order-items table .align-right {
45
  text-align: right;
46
  }
 
47
  #order_details .order-data {
48
  float: right;
49
  }
 
50
  #order_details .order-data {
51
  text-align: right;
52
  }
 
53
  #order_details .order-data .order-data-number {
54
  font-size: 24px;
55
  font-weight: bold;
56
  margin-bottom: 10px;
57
  }
 
58
  #order_details .order-data .order-data-date {
59
  font-size: 14px;
60
  font-style: italic;
61
  margin-bottom: 5px;
62
  }
 
63
  #order_details .order-data .order-data-payment-method {
64
  font-size: 16px;
65
  font-weight: bold;
66
  margin: 5px 0;
67
  }
 
68
  #order_details .order-data .order-data-status {
69
  border-radius: 3px;
70
  padding: 2px 5px;
71
  display: inline-block;
72
  color: #FFF;
73
  font-size: 12px;
 
74
  }
 
75
  #order_details .order-data .order-data-status.completed {
76
  background-color: #006400;
77
  }
 
78
  #order_details .order-data .order-data-status.pending {
79
  background-color: #CCCCCC;
80
  }
 
81
  #order_details .total {
82
  font-weight: bold;
83
  font-size: 16px;
84
  }
85
- #order_details .avatar-multiple-users{
 
86
  width: 120px;
87
- height: 120px;
88
- background: #F5F5F5;
89
- position: relative;
90
  }
91
- #order_details .avatar-multiple-users:before,
92
- #order_details .avatar-multiple-users:after{
93
- content: "\f110";
94
- width: 120px;
95
- height:120px;
96
- position: absolute;
97
- top:0;
98
- left: 0;
99
- font-family: dashicons;
100
- font-size: 58px;
101
- color: #a1adbb;
102
- text-align: center;
103
- line-height: 120px;
104
- }
105
- #order_details .avatar-multiple-users:before{
106
- font-size: 48px;
107
- left: -27px;
108
- color: #DEDEDE;
109
- }
110
- #order_details .avatar-multiple-users span:after{
111
- font-family: dashicons;
112
- content: "\f132";
113
- font-size: 32px;
114
- top: 0;
115
- position: absolute;
116
- width: 120px;
117
- height: 120px;
118
- text-align: center;
119
- line-height: 120px;
120
- left: 31px;
121
- color: #a1adbb;
122
- }
123
- #order_details .order-users > strong{
124
- font-weight: bold;
125
  }
126
- #order_details .order-users p{
127
- font-style: italic;
128
- margin: 5px 0 15px 0;
129
  }
130
- #order_details .payment-method-title{
131
- font-weight: bold;
 
 
132
  }
133
 
 
 
 
 
 
 
 
134
 
135
  .order-status-description {
136
  font-size: smaller;
@@ -142,10 +139,11 @@
142
  margin-top: 10px;
143
  border-radius: 3px;
144
  }
 
145
  .order-status-description:before {
146
  content: '';
147
  border: 5px solid transparent;
148
  border-bottom-color: #CEE8FF;
149
  position: absolute;
150
  top: -10px;
151
- }
1
+
2
  /* admin order details */
3
  .column-order_date,
4
  .column-order_total,
5
  .column-order_status,
6
+ .post-type-lp_order .column-title{
7
  width: 10%;
8
  }
9
+ .post-type-lp_order .column-order_student{
10
  width: 12%;
11
  }
12
+ .post-type-lpr_order #post-body-content,
13
+ .post-type-lpr_order #postbox-container-1,
14
  #order_details .ui-sortable-handle,
15
  #order_details .handlediv {
16
  display: none !important;
17
  }
18
+
19
  #order_details .inside {
20
  padding: 20px;
21
  margin: 0;
22
  }
23
+
24
  #order_details .order-user-avatar {
25
  float: left;
26
  margin-right: 20px;
27
  }
28
+
29
  #order_details .order-user-meta {
30
  float: left;
31
  }
32
+
33
  #order_details .order-items table {
34
  width: 100%;
35
  border-collapse: collapse;
36
  margin-top: 20px;
37
  }
38
+
39
  #order_details .order-items table tr {
40
  border-bottom: 1px solid #EEE;
41
  }
42
+
43
  #order_details .order-items table thead th {
44
  height: 30px;
45
  text-align: left;
46
  font-size: 16px;
47
  padding: 15px 10px;
48
  }
49
+
50
  #order_details .order-items table td {
51
  padding: 15px 10px;
52
  font-size: 16px;
53
  }
54
+
55
  #order_details .order-items table .align-right {
56
  text-align: right;
57
  }
58
+
59
  #order_details .order-data {
60
  float: right;
61
  }
62
+
63
  #order_details .order-data {
64
  text-align: right;
65
  }
66
+
67
  #order_details .order-data .order-data-number {
68
  font-size: 24px;
69
  font-weight: bold;
70
  margin-bottom: 10px;
71
  }
72
+
73
  #order_details .order-data .order-data-date {
74
  font-size: 14px;
75
  font-style: italic;
76
  margin-bottom: 5px;
77
  }
78
+
79
  #order_details .order-data .order-data-payment-method {
80
  font-size: 16px;
81
  font-weight: bold;
82
  margin: 5px 0;
83
  }
84
+
85
  #order_details .order-data .order-data-status {
86
  border-radius: 3px;
87
  padding: 2px 5px;
88
  display: inline-block;
89
  color: #FFF;
90
  font-size: 12px;
91
+
92
  }
93
+
94
  #order_details .order-data .order-data-status.completed {
95
  background-color: #006400;
96
  }
97
+
98
  #order_details .order-data .order-data-status.pending {
99
  background-color: #CCCCCC;
100
  }
101
+
102
  #order_details .total {
103
  font-weight: bold;
104
  font-size: 16px;
105
  }
106
+ /*************************************************************/
107
+ .post-type-lpr_order .column-title {
108
  width: 120px;
 
 
 
109
  }
110
+
111
+ .post-type-lpr_order .column-order_student {
112
+ width: 100px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  }
114
+
115
+ .post-type-lpr_order .column-order_date {
116
+ width: 150px;
117
  }
118
+
119
+ .post-type-lpr_order .column-order_total {
120
+ width: 100px;
121
+ text-align: right;
122
  }
123
 
124
+ .post-type-lpr_order .column-order_status {
125
+ width: 100px;
126
+ }
127
+ .post-type-lp_order #minor-publishing-actions,
128
+ .post-type-lp_order #submitdiv .handlediv{
129
+ display: none;
130
+ }
131
 
132
  .order-status-description {
133
  font-size: smaller;
139
  margin-top: 10px;
140
  border-radius: 3px;
141
  }
142
+
143
  .order-status-description:before {
144
  content: '';
145
  border: 5px solid transparent;
146
  border-bottom-color: #CEE8FF;
147
  position: absolute;
148
  top: -10px;
149
+ }
assets/css/admin/meta-box-question.css ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #question_settings select.lpr-question-types{
2
+ margin-left: 20px;
3
+ font-weight: normal;
4
+ display: none;
5
+ font-size: 12px;
6
+ padding: 0;
7
+ height: auto;
8
+ }
9
+ .lpr-question-option{
10
+ border: 1px solid #DDD;
11
+ border-collapse: collapse;
12
+ width: 100%;
13
+ border-bottom: none ;
14
+ position: relative;
15
+ }
16
+ .lpr-question-option{}
17
+ .lpr-question-option th,
18
+ .lpr-question-option td{
19
+ padding: 5px;
20
+ border: 1px solid #DDD;
21
+ }
22
+ .lpr-question-option thead{
23
+ background-color: #F5F5F5;
24
+ }</