LearnPress – WordPress LMS Plugin - Version 2.1.1

Version Description

  • Added options to change value of lessons/quizzes in course item permalink
  • Improved edit profile page
  • Improved permalink for lesson/quiz
  • Improved some options
  • Improved some sections in admin
  • Fixed "Preview change" button show 404 page
  • Fixed question show randomly when starting quiz
  • Fixed username contains spacing
Download this release

Release Info

Developer tunnhn
Plugin Icon 128x128 LearnPress – WordPress LMS Plugin
Version 2.1.1
Comparing to
See all releases

Code changes from version 2.1.0 to 2.1.1

Files changed (42) hide show
  1. assets/css/admin/admin.css +41 -20
  2. assets/css/admin/admin.less +40 -16
  3. assets/css/admin/meta-box-course.css +1 -0
  4. assets/css/admin/meta-box-course.less +980 -979
  5. assets/css/learnpress-course-coming-soon.css +0 -330
  6. assets/css/learnpress.css +230 -178
  7. assets/css/learnpress.less +2152 -2106
  8. assets/js/admin/admin.js +29 -5
  9. assets/js/admin/meta-box-course.js +1 -2
  10. assets/js/admin/settings.js +5 -0
  11. assets/js/frontend/checkout.js +137 -131
  12. assets/js/frontend/profile.js +552 -276
  13. assets/js/frontend/quiz.js +916 -904
  14. assets/js/global.js +1 -25
  15. inc/admin/class-lp-admin-ajax.php +1139 -1139
  16. inc/admin/class-lp-admin.php +230 -228
  17. inc/admin/lp-admin-functions.php +2032 -2029
  18. inc/admin/meta-boxes/class-quiz-questions-field.php +193 -200
  19. inc/admin/settings/class-lp-settings-checkout.php +80 -87
  20. inc/admin/settings/class-lp-settings-general.php +124 -131
  21. inc/admin/settings/class-lp-settings-pages.php +212 -202
  22. inc/admin/views/settings/emails/_email-template.php +10 -2
  23. inc/admin/views/settings/emails/email-template.php +10 -2
  24. inc/admin/views/settings/fields/image-size.php +21 -20
  25. inc/admin/views/settings/fields/title.php +2 -2
  26. inc/admin/views/settings/general.php +24 -24
  27. inc/cart/class-lp-cart.php +663 -653
  28. inc/class-lp-ajax.php +655 -624
  29. inc/class-lp-assets.php +808 -803
  30. inc/class-lp-autoloader.php +5 -5
  31. inc/class-lp-install.php +656 -657
  32. inc/class-lp-page-controller.php +429 -387
  33. inc/class-lp-session-handler.php +357 -358
  34. inc/class-lp-shortcodes.php +374 -371
  35. inc/course/lp-course-functions.php +788 -774
  36. inc/custom-post-types/course.php +1563 -1566
  37. inc/debug.php +8 -0
  38. inc/emails/class-lp-email-become-an-instructor.php +21 -21
  39. inc/gateways/class-lp-gateways.php +84 -83
  40. inc/lp-add-on-functions.php +28 -8
  41. inc/lp-constants.php +1 -1
  42. inc/lp-core-functions.php +0 -2319
assets/css/admin/admin.css CHANGED
@@ -34,6 +34,21 @@
34
  .post-type-lp_course #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input.hover {
35
  padding-left: 0;
36
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  #learn-press-admin-settings #learn_press_email_formats {
38
  margin-bottom: 10px;
39
  }
@@ -105,25 +120,39 @@
105
  display: none;
106
  }
107
  #learn-press-admin-settings input[type="radio"] {
108
- margin: 0;
109
  }
110
  #learn-press-admin-settings label {
111
  line-height: 1;
112
  }
113
- #learn-press-admin-settings input[name="learn_press_single_course_image_size[width]"],
114
- #learn-press-admin-settings input[name="learn_press_single_course_image_size[height]"],
115
- #learn-press-admin-settings input[name="learn_press_course_thumbnail_image_size[width]"],
116
- #learn-press-admin-settings input[name="learn_press_course_thumbnail_image_size[height]"] {
117
- margin-top: -4px;
118
- }
119
- #learn-press-admin-settings input[name="learn_press_single_course_image_size[crop]"],
120
- #learn-press-admin-settings input[name="learn_press_course_thumbnail_image_size[crop]"] {
121
- margin-top: 3px;
122
- }
123
  #learn-press-admin-settings input[name="learn_press_course_base"] {
124
  margin-top: 3px;
125
  margin-right: 3px;
126
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  /* message box */
128
  #learn-press-message-box-block {
129
  position: fixed;
@@ -352,7 +381,6 @@ li.quick_quiz {
352
  .learnpress-advertis-admin .learnpress-controls {
353
  position: absolute;
354
  bottom: 30px;
355
- left: 0;
356
  right: 0;
357
  height: 50px;
358
  -ms-transform: translateY(-50%);
@@ -1545,13 +1573,6 @@ input.regular-text[id^="learn-press-emails"] {
1545
  width: 100px;
1546
  text-align: left;
1547
  }
1548
- #learn-press-admin-settings .form-table th {
1549
- padding: 20px 10px 20px 0 !important;
1550
- }
1551
- #learn-press-admin-settings input,
1552
- #learn-press-admin-settings select {
1553
- vertical-align: top;
1554
- }
1555
  #learn_press_dashboard_widget .rss-widget ul li {
1556
  margin-bottom: 10px !important;
1557
  }
@@ -1634,7 +1655,7 @@ input.regular-text[id^="learn-press-emails"] {
1634
  width: 50%;
1635
  }
1636
  .lp-template-overrides #learn-press-no-templates td p {
1637
- color: #FF0000;
1638
  }
1639
  @-webkit-keyframes lp-spinner {
1640
  0% {
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]"],
43
+ input[name="learn_press_course_thumbnail_image_size[width]"],
44
+ input[name="learn_press_course_thumbnail_image_size[height]"] {
45
+ margin-top: -4px;
46
+ }
47
+ input[name="learn_press_single_course_image_size[crop]"],
48
+ input[name="learn_press_course_thumbnail_image_size[crop]"] {
49
+ margin-top: 3px;
50
+ }*/
51
+ }
52
  #learn-press-admin-settings #learn_press_email_formats {
53
  margin-bottom: 10px;
54
  }
120
  display: none;
121
  }
122
  #learn-press-admin-settings input[type="radio"] {
123
+ margin: 0 !important;
124
  }
125
  #learn-press-admin-settings label {
126
  line-height: 1;
127
  }
 
 
 
 
 
 
 
 
 
 
128
  #learn-press-admin-settings input[name="learn_press_course_base"] {
129
  margin-top: 3px;
130
  margin-right: 3px;
131
  }
132
+ #learn-press-admin-settings .lp-group-title {
133
+ padding: 0 0 10px;
134
+ border-bottom: 3px solid #563d7c;
135
+ display: inline-block;
136
+ margin: 0;
137
+ }
138
+ #learn-press-admin-settings input[type="text"],
139
+ #learn-press-admin-settings input[type="email"],
140
+ #learn-press-admin-settings input[type="number"],
141
+ #learn-press-admin-settings input[type="tel"],
142
+ #learn-press-admin-settings input[type="password"],
143
+ #learn-press-admin-settings select {
144
+ vertical-align: top;
145
+ }
146
+ #learn-press-admin-settings input[type="checkbox"] {
147
+ opacity: 1;
148
+ }
149
+ #learn-press-admin-settings .lp-setting-field span {
150
+ vertical-align: top;
151
+ line-height: 24px;
152
+ }
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;
381
  .learnpress-advertis-admin .learnpress-controls {
382
  position: absolute;
383
  bottom: 30px;
 
384
  right: 0;
385
  height: 50px;
386
  -ms-transform: translateY(-50%);
1573
  width: 100px;
1574
  text-align: left;
1575
  }
 
 
 
 
 
 
 
1576
  #learn_press_dashboard_widget .rss-widget ul li {
1577
  margin-bottom: 10px !important;
1578
  }
1655
  width: 50%;
1656
  }
1657
  .lp-template-overrides #learn-press-no-templates td p {
1658
+ color: #0073aa;
1659
  }
1660
  @-webkit-keyframes lp-spinner {
1661
  0% {
assets/css/admin/admin.less CHANGED
@@ -43,6 +43,16 @@
43
  padding-left: 0;
44
  }
45
  }
 
 
 
 
 
 
 
 
 
 
46
  }
47
 
48
  #learn-press-admin-settings {
@@ -119,12 +129,12 @@
119
  }
120
  }
121
  input[type="radio"] {
122
- margin: 0;
123
  }
124
  label {
125
  line-height: 1;
126
  }
127
- input[name="learn_press_single_course_image_size[width]"],
128
  input[name="learn_press_single_course_image_size[height]"],
129
  input[name="learn_press_course_thumbnail_image_size[width]"],
130
  input[name="learn_press_course_thumbnail_image_size[height]"] {
@@ -133,12 +143,38 @@
133
  input[name="learn_press_single_course_image_size[crop]"],
134
  input[name="learn_press_course_thumbnail_image_size[crop]"] {
135
  margin-top: 3px;
136
- }
137
 
138
  input[name="learn_press_course_base"] {
139
  margin-top: 3px;
140
  margin-right: 3px;
141
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  }
143
 
144
  /* message box */
@@ -406,7 +442,6 @@ li.quiz, li.lesson, li.quick_lesson, li.quick_quiz {
406
 
407
  position: absolute;
408
  bottom: 30px;
409
- left: 0;
410
  right: 0;
411
  height: 50px;
412
  -ms-transform: translateY(-50%);
@@ -504,7 +539,6 @@ li.quiz, li.lesson, li.quick_lesson, li.quick_quiz {
504
  text-decoration: none;
505
  content: attr(data-text-disable);
506
  }
507
-
508
  .lp-search-addon {
509
  margin: 0;
510
  width: 280px;
@@ -1847,16 +1881,6 @@ input.regular-text[id^="learn-press-emails"] {
1847
  text-align: left;
1848
  }
1849
 
1850
- #learn-press-admin-settings .form-table th {
1851
- padding: 20px 10px 20px 0 !important;
1852
- }
1853
-
1854
- #learn-press-admin-settings {
1855
- input, select {
1856
- vertical-align: top;
1857
- }
1858
- }
1859
-
1860
  #learn_press_dashboard_widget {
1861
  .rss-widget {
1862
  ul {
@@ -1948,7 +1972,7 @@ input.regular-text[id^="learn-press-emails"] {
1948
  width: 50%;
1949
  }
1950
  #learn-press-no-templates td p {
1951
- color: #FF0000;
1952
  }
1953
  }
1954
 
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 {
129
  }
130
  }
131
  input[type="radio"] {
132
+ margin: 0 !important;
133
  }
134
  label {
135
  line-height: 1;
136
  }
137
+ /*input[name="learn_press_single_course_image_size[width]"],
138
  input[name="learn_press_single_course_image_size[height]"],
139
  input[name="learn_press_course_thumbnail_image_size[width]"],
140
  input[name="learn_press_course_thumbnail_image_size[height]"] {
143
  input[name="learn_press_single_course_image_size[crop]"],
144
  input[name="learn_press_course_thumbnail_image_size[crop]"] {
145
  margin-top: 3px;
146
+ }*/
147
 
148
  input[name="learn_press_course_base"] {
149
  margin-top: 3px;
150
  margin-right: 3px;
151
  }
152
+ .lp-group-title {
153
+ padding: 0 0 10px;
154
+ border-bottom: 3px solid #563d7c;
155
+ display: inline-block;
156
+ margin: 0;
157
+ }
158
+ input[type="text"],
159
+ input[type="email"],
160
+ input[type="number"],
161
+ input[type="tel"],
162
+ input[type="password"],
163
+ select {
164
+ vertical-align: top;
165
+ }
166
+ input[type="checkbox"] {
167
+ opacity: 1;
168
+ }
169
+ .lp-setting-field{
170
+ span{
171
+ vertical-align: top;
172
+ line-height: 24px;
173
+ }
174
+ .lp-sign-times{
175
+ font-size: 19px;
176
+ }
177
+ }
178
  }
179
 
180
  /* message box */
442
 
443
  position: absolute;
444
  bottom: 30px;
 
445
  right: 0;
446
  height: 50px;
447
  -ms-transform: translateY(-50%);
539
  text-decoration: none;
540
  content: attr(data-text-disable);
541
  }
 
542
  .lp-search-addon {
543
  margin: 0;
544
  width: 280px;
1881
  text-align: left;
1882
  }
1883
 
 
 
 
 
 
 
 
 
 
 
1884
  #learn_press_dashboard_widget {
1885
  .rss-widget {
1886
  ul {
1972
  width: 50%;
1973
  }
1974
  #learn-press-no-templates td p {
1975
+ color: #0073aa;
1976
  }
1977
  }
1978
 
assets/css/admin/meta-box-course.css CHANGED
@@ -404,6 +404,7 @@
404
  .rwmb-curriculum-wrapper .rwmb-input {
405
  width: auto !important;
406
  display: block;
 
407
  }
408
  .column-lp_course .row-actions {
409
  display: inline-block;
404
  .rwmb-curriculum-wrapper .rwmb-input {
405
  width: auto !important;
406
  display: block;
407
+ float: none;
408
  }
409
  .column-lp_course .row-actions {
410
  display: inline-block;
assets/css/admin/meta-box-course.less CHANGED
@@ -1,980 +1,981 @@
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
- padding: 0 0 0 0;
269
- margin: 0 4px 0 10px;
270
- cursor: url("../../../assets/images/openhand.cur") 7 5, default;
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;
303
- vertical-align: middle;
304
- text-align: center;
305
- font-size: 18px;
306
- line-height: 32px;
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;
322
- outline: none;
323
- font-size: 16px;
324
- width: 100%;
325
- vertical-align: middle;
326
- text-overflow: ellipsis;
327
- overflow: hidden;
328
- white-space: nowrap;
329
- }
330
-
331
- #course_curriculum .lp-section-describe {
332
- border: none;
333
- box-shadow: none;
334
- color: #999;
335
- font-style: italic;
336
- width: 80%;
337
- float: left;
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
- }
350
-
351
- .lp-section-item .learn-press-icon {
352
- width: 32px;
353
- height: 32px;
354
- font-family: dashicons;
355
- display: inline-block;
356
- font-size: 20px;
357
- text-align: center;
358
- line-height: 32px;
359
- color: #DDD;
360
- cursor: pointer;
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
-
380
- #poststuff .postbox-container {
381
- position: relative;
382
- }
383
-
384
- #course_tabs .handlediv,
385
- #course_tabs .hndle,
386
- #course_tabs .rwmb-label {
387
- display: none;
388
- }
389
-
390
- #course_tabs .rwmb-input {
391
-
392
- }
393
-
394
- #course_tabs .inside {
395
- margin: 0;
396
- padding: 0;
397
- }
398
-
399
- #course_tabs .rwmb-course_tabs-wrapper {
400
- margin: 0;
401
- }
402
-
403
- #course_tabs {
404
- position: absolute;
405
- left: 0;
406
- right: 0;
407
- }
408
-
409
- #course_tabs.fixed {
410
- position: fixed;
411
- top: 30px;
412
- z-index: 10000;
413
- opacity: 0.5;
414
- left: 182px;
415
- right: 320px;
416
- }
417
-
418
- #course_tabs.fixed:hover {
419
- opacity: 1;
420
- }
421
-
422
- #course_tabs_placeholder {
423
- height: 41px;
424
- margin-bottom: 20px;
425
- }
426
-
427
- #poststuff h3#course-tabs-h3 {
428
- padding: 0;
429
- }
430
-
431
- #course-tabs-h3 > a {
432
- padding: 10px;
433
- display: inline-block;
434
- border-right: 1px solid #DDD;
435
- text-decoration: none;
436
- _color: #AAA;
437
- box-shadow: none;
438
- }
439
-
440
- .learn-press-review-logs {
441
- padding-bottom: 10px;
442
- .review-message {
443
- font-style: italic;
444
- font-size: 14px;
445
- margin: 10px 0;
446
- color: #999;
447
- }
448
- > li {
449
- border-bottom: 1px dashed #DDD;
450
- padding-bottom: 20px;
451
- margin-top: 20px;
452
- position: relative;
453
- &:after {
454
- content: '';
455
- display: block;
456
- clear: both;
457
- }
458
- }
459
- .review-user {
460
- width: 48px;
461
- float: left;
462
- img {
463
- max-width: 100%;
464
- height: auto;
465
- }
466
- > * {
467
- float: left;
468
- }
469
- }
470
- .review-index {
471
- width: 46px;
472
- font-weight: bold;
473
- position: absolute;
474
- bottom: -11px;
475
- left: 0;
476
- background-color: #FFF;
477
- text-align: center;
478
- border: 1px dashed #DDD;
479
- height: 20px;
480
- line-height: 20px;
481
- color: #CCC;
482
- }
483
- .review-content {
484
- margin-left: 68px;
485
- }
486
- > li .lp-label {
487
- font-size: 100%;
488
- margin-top: 20px;
489
- }
490
- }
491
-
492
- .rwmb-curriculum-wrapper .rwmb-label {
493
- display: none;
494
- }
495
-
496
- .rwmb-curriculum-wrapper .rwmb-input {
497
- width: auto !important;
498
- display: block;
499
- }
500
-
501
- .column-lp_course .row-actions {
502
- display: inline-block;
503
- margin-left: 10px;
504
- }
505
-
506
- .lp-modal-search li.selected {
507
- display: none;
508
- }
509
-
510
- .lp-search-items input[name="lp-item-name"] {
511
- width: 350px;
512
- }
513
-
514
- .lp-modal-search {
515
- background-color: #F5F5F5;
516
- color: #777;
517
- padding: 20px;
518
- height: 100%;
519
- }
520
-
521
- .lp-modal-search ul {
522
-
523
- }
524
-
525
- .lp-highlight-color {
526
- text-decoration: underline;
527
- color: #00a0d2;
528
- }
529
-
530
- .learn-press-dropdown-item-types {
531
- position: relative;
532
- }
533
-
534
- .learn-press-dropdown-item-types > ul {
535
- display: none;
536
- position: absolute;
537
- top: 0px;
538
- z-index: 10;
539
- background: #FFF;
540
- border: 1px solid #DDD;
541
- left: 100%;
542
- margin-left: -1px;
543
- }
544
-
545
- .learn-press-dropdown-item-types > ul > li {
546
- margin: 0;
547
- display: table-cell;
548
- }
549
-
550
- .learn-press-dropdown-item-types > ul > li span {
551
- border-width: 0 !important;
552
- }
553
-
554
- tr[data-item_id=""] .learn-press-dropdown-item-types:hover > ul,
555
- tr[data-item_id=""].focus .learn-press-dropdown-item-types > ul {
556
- display: inline-table;
557
- border-left-color: transparent;
558
- }
559
-
560
- .learn-press-dropdown-item-types:hover > span.learn-press-icon,
561
- tr.focus .learn-press-dropdown-item-types > span.learn-press-icon {
562
- background: #FFF;
563
- border-color: #DDD;
564
- z-index: 5;
565
- position: relative;
566
- }
567
-
568
- .learn-press-dropdown-item-types:hover > span.learn-press-icon:after {
569
- content: '';
570
- border-left: 1px solid #EEE;
571
- position: absolute;
572
- right: 0;
573
- display: inline-block;
574
- height: 20px;
575
- top: 50%;
576
- margin-top: -10px;
577
- }
578
-
579
- .learn-press-dropdown-item-types > span.learn-press-icon,
580
- .learn-press-dropdown-item-types li:hover span.learn-press-icon,
581
- .learn-press-dropdown-item-types li span.learn-press-icon.item-selected {
582
- color: #0085ba;
583
- }
584
-
585
- .post-type-lp_course {
586
- #switch-course-tabs,
587
- #toggle-meta-boxes {
588
- float: right;
589
- margin-left: 10px;
590
- }
591
- &.enable-course-tabs {
592
- #post-body-content {
593
- margin-bottom: 0;
594
- }
595
- #normal-sortables {
596
- .postbox {
597
- _visibility: hidden;
598
- float: left;
599
- margin-right: -100%;
600
- width: 100%;
601
- box-sizing: border-box;
602
- height: 0;
603
- overflow: hidden;
604
- border-width: 0;
605
- &.active {
606
- height: auto;
607
- border-width: 1px;
608
- }
609
- .handlediv, .hndle {
610
- display: none;
611
- }
612
- }
613
- }
614
- #course-tabs {
615
- background: #FFF;
616
- padding: 10px;
617
- margin-bottom: 0;
618
- border: 1px solid #DDD;
619
- border-bottom: none;
620
- &:after {
621
- display: block;
622
- clear: both;
623
- content: '';
624
- }
625
- &.ui-sortable:not(.ui-sortable-disabled) {
626
- li.ui-sortable-handle {
627
- position: relative;
628
- a{
629
- border: 1px solid #ddd;
630
- padding: 0px 5px;
631
- margin: 0 5px;
632
- color: #DDD;
633
- background: #FFF;
634
- }
635
- &:after {
636
- content: '';
637
- position: absolute;
638
- top: 0;
639
- left: 0;
640
- width: 100%;
641
- height: 100%;
642
- cursor: move;
643
- }
644
- }
645
- }
646
- li {
647
- float: left;
648
- margin-bottom: 0;
649
- a {
650
- display: block;
651
- padding: 0 15px 0 0;
652
- text-decoration: none;
653
- outline: none;
654
- box-shadow: none;
655
- }
656
- &.active {
657
- a {
658
- font-weight: bold;
659
- }
660
- }
661
- }
662
- li#switch-course-metaboxes {
663
- float: right;
664
- #complete-reorder-course-tabs {
665
- display: none;
666
- }
667
- a {
668
- padding-right: 0;
669
- color: #FF0000;
670
- display: inline-block;
671
- margin-left: 15px;
672
- }
673
- }
674
- }
675
- }
676
- }
677
-
678
- /*
679
- #lp-course-curriculum .lp-course-curriculum-toggle{
680
- padding: 0;
681
- margin: 0;
682
- float: right;
683
- }
684
- #lp-course-curriculum .lp-item-name{
685
- box-shadow: none;
686
- border-color: transparent;
687
- color: #BBB;
688
- }
689
- #lp-course-curriculum .lp-section-item:hover,
690
- #lp-course-curriculum .lp-section-item.hover{
691
- background-color: #F5F5F5;
692
- border-style: solid;
693
- }
694
- #lp-course-curriculum .lp-section-item.lp-item-lp_lesson .handle:after{
695
- content: "\f497";
696
- }
697
- #lp-course-curriculum .lp-section-item.lp-item-lp_quiz .handle:after{
698
- content: "\f130";
699
- }
700
- #lp-course-curriculum .lp-section-item:hover .lp-item-name,
701
- #lp-course-curriculum .lp-section-item.hover .lp-item-name{
702
- border: 1px solid #DDD;
703
- color: #32373c;
704
- }
705
- #lp-course-curriculum .lp-section-empty .lp-section-items{
706
- display: none;
707
- }
708
- #lp-course-curriculum .lp-section-item .lp-item-actions{
709
- float: right;
710
- margin-left: 5px;
711
- margin-top: 3px;
712
- }
713
- #lp-course-curriculum .lp-item-empty .lp-item-actions,
714
- #lp-course-curriculum .lp-section-empty .lp-section-head .lp-action,
715
- #lp-course-curriculum .lp-section-empty .lp-curriculum-section-content {
716
- display: none;
717
- }
718
- #lp-course-curriculum .lp-item-empty{
719
- cursor: default;
720
- }
721
- #lp-course-curriculum .lp-item-new{
722
- border-color: #00A0D2;
723
- }
724
- #lp-course-curriculum .lp-item-new .lp-item-name{
725
- border-color: #00A0D2;
726
- }
727
- #lp-course-curriculum .lp-section-head{
728
- padding: 0;
729
- }
730
- #lp-course-curriculum .lp-curriculum-section .lp-toggle i:before{
731
- content: '\f132';
732
- }
733
- #lp-course-curriculum .lp-curriculum-section.open .lp-toggle i:before{
734
- content: '\f460';
735
- }
736
- .lp-modal-search{
737
- position: absolute;
738
- background-color: #FFF;
739
- border: 1px solid #DDD;
740
- border-top: none;
741
- z-index: 9999;
742
- margin: -1px 0 0 1px;
743
- }
744
- .lp-modal-search ul{
745
- margin: 0;
746
- padding: 0;
747
- }
748
- .lp-modal-search ul li{
749
- list-style: none;
750
- padding: 5px;
751
- margin: 0;
752
- }
753
- .lp-modal-search li.highlighting,
754
- .lp-modal-search li:hover{
755
- background-color: #EAEAEA;
756
- cursor: pointer;
757
- }
758
- .lp-highlight-color{
759
- text-decoration: underline;
760
- }
761
- .lp-search-no-results{
762
- display: none;
763
- }
764
- .lp-curriculum-sections .ui-sortable-placeholder{
765
- visibility: visible !important;
766
- border: 2px dashed #DDD;
767
- }
768
- .lp-curriculum-sections .lp-sorting{
769
- height: auto !important;
770
- }
771
- */
772
- /*
773
-
774
- .lp-course-curriculum{}
775
- .lp-course-curriculum .lp-curriculum-sections{
776
-
777
- }
778
- .lp-course-curriculum .lp-curriculum-section{
779
- transition: opacity 0.25s;
780
- margin-bottom: 20px;
781
- border: 1px solid #DDD;
782
- }
783
- .lp-course-curriculum .lp-curriculum-section.lp-selected .lp-curriculum-section-content{
784
- background-color: #F5F5F5;
785
- }
786
- .lp-course-curriculum .lp-curriculum-section-content > p{
787
- display: inline-block;
788
- }
789
- .lp-course-curriculum .lp-curriculum-section.lp-selected > h3{
790
- _border-bottom: 1px solid #DDD;
791
- }
792
- .lp-course-curriculum .lp-curriculum-section > h3{
793
- padding: 10px ;
794
- margin: 0;
795
- background-color: #F5F5F5;
796
- height: 62px;
797
- position: relative;
798
- cursor: move;
799
- }
800
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-section-name-wrapper{
801
- top: 9px;
802
- }
803
- .lp-course-curriculum .lp-curriculum-section > h3 > span > input{
804
- border: 1px solid #DDD;
805
- border-radius: 3px;
806
- font-size: 24px;
807
- width: 100%;
808
- color: #777;
809
- }
810
- .lp-course-curriculum .lp-curriculum-section > h3 > span.lp-section-name-wrapper{
811
- position: absolute;
812
- display: inline-block;
813
- right: 137px;
814
- left: 71px;
815
- }
816
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action{
817
- display: block;
818
- position: relative;
819
- height: 62px;
820
- width: 62px;
821
- border-left: 1px solid #DDD;
822
- -top: -8px;
823
- -right: -11px;
824
- cursor: pointer;
825
- float: right;
826
- }
827
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action.lp-sort{
828
- display: none;
829
- }
830
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action .dashicons{
831
- font-size: 32px;
832
- width: 100%;
833
- height: 100%;
834
- line-height: 62px;
835
- color: #0073aa;
836
- }
837
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action:hover .dashicons{
838
- color: #009ED7;
839
- }
840
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action.lp-toggle{
841
- _right: 62px;
842
- }
843
- .lp-course-curriculum .lp-curriculum-section > h3 .lp-action.lp-remove{
844
- _right: 124px;
845
- }
846
-
847
- .lp-course-curriculum .lp-curriculum-section.closed .lp-curriculum-section-content{
848
- display: none;
849
- }
850
-
851
- .lp-course-curriculum .sorting .ui-sortable-helper .lp-curriculum-section-content{
852
- display: none !important;
853
- }
854
- .lp-course-curriculum .sorting .ui-sortable-placeholder,
855
- .lp-section-items.sorting .ui-sortable-placeholder{
856
- border: 3px dashed #DDD;
857
- visibility: visible !important;
858
- position: relative;
859
- }
860
- .lp-course-curriculum .sorting .ui-sortable-placeholder:after,
861
- .lp-section-items.sorting .ui-sortable-placeholder:after{
862
- content: '';
863
- display: block;
864
- width: 0px;
865
- height: 0px;
866
- border: 28px solid transparent;
867
- border-left-color: #999;
868
- position: absolute;
869
- top: 0;
870
- left: -33px;
871
-
872
- }
873
-
874
- .lp-section-items.sorting .ui-sortable-placeholder:after{
875
- border-width: 15px;
876
- left: -20px;
877
- }
878
- .lp-curriculum-section-content{
879
- background-color: #F5F5F5;
880
- background-color: #FFF;
881
- _border-bottom: 2px dashed #DDD;
882
- padding: 20px;
883
- margin-bottom: 0px;
884
- border-top: 1px solid #DDD;
885
- }
886
- .lp-dynamic-form{
887
- position: absolute;
888
- padding: 0px;
889
- background-color: transparent;
890
- z-index: 210;
891
- height: 15px;
892
- overflow: hidden;
893
- }
894
- .lp-container-dropdown{
895
- height: 15px;
896
- vertical-align: top;
897
- }
898
- .lp-container-dropdown > a{
899
- background-image: none !important;
900
- background-color: #FFF !important;
901
- }
902
- .lp-container-dropdown.select2-drop-above > a{
903
- height: 3px;
904
- }
905
- .lp-select-dropdown{
906
- margin-top: -6px;
907
- }
908
- .lp-select-dropdown.select2-drop-above{
909
- padding-bottom: 0;
910
- }
911
-
912
- .lp-empty .lp-curriculum-section-content{
913
- display: none !important;
914
- }
915
-
916
- .lp-section-items{
917
- min-height: 20px;
918
-
919
-
920
- }
921
- .lp-section-items > li{
922
- padding: 5px;
923
- border:1px dashed #DDD;
924
- background-color: #FFF;
925
- cursor: move;
926
- position: relative;
927
- }
928
- .lp-section-items > li .lp-title{
929
- cursor: auto;
930
- padding: 3px 5px;
931
- border: 1px solid transparent;
932
- display: inline-block;
933
- width: 80%;
934
- -webkit-box-sizing: border-box;
935
- -moz-box-sizing: border-box;
936
- box-sizing: border-box;
937
-
938
- }
939
- .lp-section-items > li:hover .lp-title {
940
- border-color: #DDD;
941
- cursor: text;
942
- }
943
- .lp-section-items > li input{
944
- width: 70%;
945
- }
946
-
947
- .lp-section-items > li:hover{
948
- border-style: solid;
949
- }
950
- .lp-section-icon{
951
- position: absolute;
952
- top:0;
953
- left:0;
954
- width: 62px;
955
- height: 62px;
956
- line-height: 54px;
957
- border-right: 1px solid #DDD;
958
- text-align:center;
959
- }
960
- .lp-section-icon i{
961
- height: 60px;
962
- line-height: 60px;
963
- }
964
- .lp-course-curriculum .dashicons{
965
- vertical-align: middle;
966
- }
967
-
968
- .select2-drop.select2-drop-active{
969
- padding: 5px 10px;
970
- }
971
-
972
- .rwmb-course_lesson_quiz-wrapper .rwmb-label{ display: none;}
973
- .rwmb-course_lesson_quiz-wrapper .rwmb-input{ float: none; width: auto; display: block;}
974
-
975
- .lp-course-curriculum-toggle{
976
-
977
- }
978
- .lp-course-curriculum-toggle .expand{
979
- display: none;
 
980
  }*/
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
+ padding: 0 0 0 0;
269
+ margin: 0 4px 0 10px;
270
+ cursor: url("../../../assets/images/openhand.cur") 7 5, default;
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;
303
+ vertical-align: middle;
304
+ text-align: center;
305
+ font-size: 18px;
306
+ line-height: 32px;
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;
322
+ outline: none;
323
+ font-size: 16px;
324
+ width: 100%;
325
+ vertical-align: middle;
326
+ text-overflow: ellipsis;
327
+ overflow: hidden;
328
+ white-space: nowrap;
329
+ }
330
+
331
+ #course_curriculum .lp-section-describe {
332
+ border: none;
333
+ box-shadow: none;
334
+ color: #999;
335
+ font-style: italic;
336
+ width: 80%;
337
+ float: left;
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
+ }
350
+
351
+ .lp-section-item .learn-press-icon {
352
+ width: 32px;
353
+ height: 32px;
354
+ font-family: dashicons;
355
+ display: inline-block;
356
+ font-size: 20px;
357
+ text-align: center;
358
+ line-height: 32px;
359
+ color: #DDD;
360
+ cursor: pointer;
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
+
380
+ #poststuff .postbox-container {
381
+ position: relative;
382
+ }
383
+
384
+ #course_tabs .handlediv,
385
+ #course_tabs .hndle,
386
+ #course_tabs .rwmb-label {
387
+ display: none;
388
+ }
389
+
390
+ #course_tabs .rwmb-input {
391
+
392
+ }
393
+
394
+ #course_tabs .inside {
395
+ margin: 0;
396
+ padding: 0;
397
+ }
398
+
399
+ #course_tabs .rwmb-course_tabs-wrapper {
400
+ margin: 0;
401
+ }
402
+
403
+ #course_tabs {
404
+ position: absolute;
405
+ left: 0;
406
+ right: 0;
407
+ }
408
+
409
+ #course_tabs.fixed {
410
+ position: fixed;
411
+ top: 30px;
412
+ z-index: 10000;
413
+ opacity: 0.5;
414
+ left: 182px;
415
+ right: 320px;
416
+ }
417
+
418
+ #course_tabs.fixed:hover {
419
+ opacity: 1;
420
+ }
421
+
422
+ #course_tabs_placeholder {
423
+ height: 41px;
424
+ margin-bottom: 20px;
425
+ }
426
+
427
+ #poststuff h3#course-tabs-h3 {
428
+ padding: 0;
429
+ }
430
+
431
+ #course-tabs-h3 > a {
432
+ padding: 10px;
433
+ display: inline-block;
434
+ border-right: 1px solid #DDD;
435
+ text-decoration: none;
436
+ _color: #AAA;
437
+ box-shadow: none;
438
+ }
439
+
440
+ .learn-press-review-logs {
441
+ padding-bottom: 10px;
442
+ .review-message {
443
+ font-style: italic;
444
+ font-size: 14px;
445
+ margin: 10px 0;
446
+ color: #999;
447
+ }
448
+ > li {
449
+ border-bottom: 1px dashed #DDD;
450
+ padding-bottom: 20px;
451
+ margin-top: 20px;
452
+ position: relative;
453
+ &:after {
454
+ content: '';
455
+ display: block;
456
+ clear: both;
457
+ }
458
+ }
459
+ .review-user {
460
+ width: 48px;
461
+ float: left;
462
+ img {
463
+ max-width: 100%;
464
+ height: auto;
465
+ }
466
+ > * {
467
+ float: left;
468
+ }
469
+ }
470
+ .review-index {
471
+ width: 46px;
472
+ font-weight: bold;
473
+ position: absolute;
474
+ bottom: -11px;
475
+ left: 0;
476
+ background-color: #FFF;
477
+ text-align: center;
478
+ border: 1px dashed #DDD;
479
+ height: 20px;
480
+ line-height: 20px;
481
+ color: #CCC;
482
+ }
483
+ .review-content {
484
+ margin-left: 68px;
485
+ }
486
+ > li .lp-label {
487
+ font-size: 100%;
488
+ margin-top: 20px;
489
+ }
490
+ }
491
+
492
+ .rwmb-curriculum-wrapper .rwmb-label {
493
+ display: none;
494
+ }
495
+
496
+ .rwmb-curriculum-wrapper .rwmb-input {
497
+ width: auto !important;
498
+ display: block;
499
+ float: none;
500
+ }
501
+
502
+ .column-lp_course .row-actions {
503
+ display: inline-block;
504
+ margin-left: 10px;
505
+ }
506
+
507
+ .lp-modal-search li.selected {
508
+ display: none;
509
+ }
510
+
511
+ .lp-search-items input[name="lp-item-name"] {
512
+ width: 350px;
513
+ }
514
+
515
+ .lp-modal-search {
516
+ background-color: #F5F5F5;
517
+ color: #777;
518
+ padding: 20px;
519
+ height: 100%;
520
+ }
521
+
522
+ .lp-modal-search ul {
523
+
524
+ }
525
+
526
+ .lp-highlight-color {
527
+ text-decoration: underline;
528
+ color: #00a0d2;
529
+ }
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,
556
+ tr[data-item_id=""].focus .learn-press-dropdown-item-types > ul {
557
+ display: inline-table;
558
+ border-left-color: transparent;
559
+ }
560
+
561
+ .learn-press-dropdown-item-types:hover > span.learn-press-icon,
562
+ tr.focus .learn-press-dropdown-item-types > span.learn-press-icon {
563
+ background: #FFF;
564
+ border-color: #DDD;
565
+ z-index: 5;
566
+ position: relative;
567
+ }
568
+
569
+ .learn-press-dropdown-item-types:hover > span.learn-press-icon:after {
570
+ content: '';
571
+ border-left: 1px solid #EEE;
572
+ position: absolute;
573
+ right: 0;
574
+ display: inline-block;
575
+ height: 20px;
576
+ top: 50%;
577
+ margin-top: -10px;
578
+ }
579
+
580
+ .learn-press-dropdown-item-types > span.learn-press-icon,
581
+ .learn-press-dropdown-item-types li:hover span.learn-press-icon,
582
+ .learn-press-dropdown-item-types li span.learn-press-icon.item-selected {
583
+ color: #0085ba;
584
+ }
585
+
586
+ .post-type-lp_course {
587
+ #switch-course-tabs,
588
+ #toggle-meta-boxes {
589
+ float: right;
590
+ margin-left: 10px;
591
+ }
592
+ &.enable-course-tabs {
593
+ #post-body-content {
594
+ margin-bottom: 0;
595
+ }
596
+ #normal-sortables {
597
+ .postbox {
598
+ _visibility: hidden;
599
+ float: left;
600
+ margin-right: -100%;
601
+ width: 100%;
602
+ box-sizing: border-box;
603
+ height: 0;
604
+ overflow: hidden;
605
+ border-width: 0;
606
+ &.active {
607
+ height: auto;
608
+ border-width: 1px;
609
+ }
610
+ .handlediv, .hndle {
611
+ display: none;
612
+ }
613
+ }
614
+ }
615
+ #course-tabs {
616
+ background: #FFF;
617
+ padding: 10px;
618
+ margin-bottom: 0;
619
+ border: 1px solid #DDD;
620
+ border-bottom: none;
621
+ &:after {
622
+ display: block;
623
+ clear: both;
624
+ content: '';
625
+ }
626
+ &.ui-sortable:not(.ui-sortable-disabled) {
627
+ li.ui-sortable-handle {
628
+ position: relative;
629
+ a{
630
+ border: 1px solid #ddd;
631
+ padding: 0px 5px;
632
+ margin: 0 5px;
633
+ color: #DDD;
634
+ background: #FFF;
635
+ }
636
+ &:after {
637
+ content: '';
638
+ position: absolute;
639
+ top: 0;
640
+ left: 0;
641
+ width: 100%;
642
+ height: 100%;
643
+ cursor: move;
644
+ }
645
+ }
646
+ }
647
+ li {
648
+ float: left;
649
+ margin-bottom: 0;
650
+ a {
651
+ display: block;
652
+ padding: 0 15px 0 0;
653
+ text-decoration: none;
654
+ outline: none;
655
+ box-shadow: none;
656
+ }
657
+ &.active {
658
+ a {
659
+ font-weight: bold;
660
+ }
661
+ }
662
+ }
663
+ li#switch-course-metaboxes {
664
+ float: right;
665
+ #complete-reorder-course-tabs {
666
+ display: none;
667
+ }
668
+ a {
669
+ padding-right: 0;
670
+ color: #FF0000;
671
+ display: inline-block;
672
+ margin-left: 15px;
673
+ }
674
+ }
675
+ }
676
+ }
677
+ }
678
+
679
+ /*
680
+ #lp-course-curriculum .lp-course-curriculum-toggle{
681
+ padding: 0;
682
+ margin: 0;
683
+ float: right;
684
+ }
685
+ #lp-course-curriculum .lp-item-name{
686
+ box-shadow: none;
687
+ border-color: transparent;
688
+ color: #BBB;
689
+ }
690
+ #lp-course-curriculum .lp-section-item:hover,
691
+ #lp-course-curriculum .lp-section-item.hover{
692
+ background-color: #F5F5F5;
693
+ border-style: solid;
694
+ }
695
+ #lp-course-curriculum .lp-section-item.lp-item-lp_lesson .handle:after{
696
+ content: "\f497";
697
+ }
698
+ #lp-course-curriculum .lp-section-item.lp-item-lp_quiz .handle:after{
699
+ content: "\f130";
700
+ }
701
+ #lp-course-curriculum .lp-section-item:hover .lp-item-name,
702
+ #lp-course-curriculum .lp-section-item.hover .lp-item-name{
703
+ border: 1px solid #DDD;
704
+ color: #32373c;
705
+ }
706
+ #lp-course-curriculum .lp-section-empty .lp-section-items{
707
+ display: none;
708
+ }
709
+ #lp-course-curriculum .lp-section-item .lp-item-actions{
710
+ float: right;
711
+ margin-left: 5px;
712
+ margin-top: 3px;
713
+ }
714
+ #lp-course-curriculum .lp-item-empty .lp-item-actions,
715
+ #lp-course-curriculum .lp-section-empty .lp-section-head .lp-action,
716
+ #lp-course-curriculum .lp-section-empty .lp-curriculum-section-content {
717
+ display: none;
718
+ }
719
+ #lp-course-curriculum .lp-item-empty{
720
+ cursor: default;
721
+ }
722
+ #lp-course-curriculum .lp-item-new{
723
+ border-color: #00A0D2;
724
+ }
725
+ #lp-course-curriculum .lp-item-new .lp-item-name{
726
+ border-color: #00A0D2;
727
+ }
728
+ #lp-course-curriculum .lp-section-head{
729
+ padding: 0;
730
+ }
731
+ #lp-course-curriculum .lp-curriculum-section .lp-toggle i:before{
732
+ content: '\f132';
733
+ }
734
+ #lp-course-curriculum .lp-curriculum-section.open .lp-toggle i:before{
735
+ content: '\f460';
736
+ }
737
+ .lp-modal-search{
738
+ position: absolute;
739
+ background-color: #FFF;
740
+ border: 1px solid #DDD;
741
+ border-top: none;
742
+ z-index: 9999;
743
+ margin: -1px 0 0 1px;
744
+ }
745
+ .lp-modal-search ul{
746
+ margin: 0;
747
+ padding: 0;
748
+ }
749
+ .lp-modal-search ul li{
750
+ list-style: none;
751
+ padding: 5px;
752
+ margin: 0;
753
+ }
754
+ .lp-modal-search li.highlighting,
755
+ .lp-modal-search li:hover{
756
+ background-color: #EAEAEA;
757
+ cursor: pointer;
758
+ }
759
+ .lp-highlight-color{
760
+ text-decoration: underline;
761
+ }
762
+ .lp-search-no-results{
763
+ display: none;
764
+ }
765
+ .lp-curriculum-sections .ui-sortable-placeholder{
766
+ visibility: visible !important;
767
+ border: 2px dashed #DDD;
768
+ }
769
+ .lp-curriculum-sections .lp-sorting{
770
+ height: auto !important;
771
+ }
772
+ */
773
+ /*
774
+
775
+ .lp-course-curriculum{}
776
+ .lp-course-curriculum .lp-curriculum-sections{
777
+
778
+ }
779
+ .lp-course-curriculum .lp-curriculum-section{
780
+ transition: opacity 0.25s;
781
+ margin-bottom: 20px;
782
+ border: 1px solid #DDD;
783
+ }
784
+ .lp-course-curriculum .lp-curriculum-section.lp-selected .lp-curriculum-section-content{
785
+ background-color: #F5F5F5;
786
+ }
787
+ .lp-course-curriculum .lp-curriculum-section-content > p{
788
+ display: inline-block;
789
+ }
790
+ .lp-course-curriculum .lp-curriculum-section.lp-selected > h3{
791
+ _border-bottom: 1px solid #DDD;
792
+ }
793
+ .lp-course-curriculum .lp-curriculum-section > h3{
794
+ padding: 10px ;
795
+ margin: 0;
796
+ background-color: #F5F5F5;
797
+ height: 62px;
798
+ position: relative;
799
+ cursor: move;
800
+ }
801
+ .lp-course-curriculum .lp-curriculum-section > h3 .lp-section-name-wrapper{
802
+ top: 9px;
803
+ }
804
+ .lp-course-curriculum .lp-curriculum-section > h3 > span > input{
805
+ border: 1px solid #DDD;
806
+ border-radius: 3px;
807
+ font-size: 24px;
808
+ width: 100%;
809
+ color: #777;
810
+ }
811
+ .lp-course-curriculum .lp-curriculum-section > h3 > span.lp-section-name-wrapper{
812
+ position: absolute;
813
+ display: inline-block;
814
+ right: 137px;
815
+ left: 71px;
816
+ }
817
+ .lp-course-curriculum .lp-curriculum-section > h3 .lp-action{
818
+ display: block;
819
+ position: relative;
820
+ height: 62px;
821
+ width: 62px;
822
+ border-left: 1px solid #DDD;
823
+ -top: -8px;
824
+ -right: -11px;
825
+ cursor: pointer;
826
+ float: right;
827
+ }
828
+ .lp-course-curriculum .lp-curriculum-section > h3 .lp-action.lp-sort{
829
+ display: none;
830
+ }
831
+ .lp-course-curriculum .lp-curriculum-section > h3 .lp-action .dashicons{
832
+ font-size: 32px;
833
+ width: 100%;
834
+ height: 100%;
835
+ line-height: 62px;
836
+ color: #0073aa;
837
+ }
838
+ .lp-course-curriculum .lp-curriculum-section > h3 .lp-action:hover .dashicons{
839
+ color: #009ED7;
840
+ }
841
+ .lp-course-curriculum .lp-curriculum-section > h3 .lp-action.lp-toggle{
842
+ _right: 62px;
843
+ }
844
+ .lp-course-curriculum .lp-curriculum-section > h3 .lp-action.lp-remove{
845
+ _right: 124px;
846
+ }
847
+
848
+ .lp-course-curriculum .lp-curriculum-section.closed .lp-curriculum-section-content{
849
+ display: none;
850
+ }
851
+
852
+ .lp-course-curriculum .sorting .ui-sortable-helper .lp-curriculum-section-content{
853
+ display: none !important;
854
+ }
855
+ .lp-course-curriculum .sorting .ui-sortable-placeholder,
856
+ .lp-section-items.sorting .ui-sortable-placeholder{
857
+ border: 3px dashed #DDD;
858
+ visibility: visible !important;
859
+ position: relative;
860
+ }
861
+ .lp-course-curriculum .sorting .ui-sortable-placeholder:after,
862
+ .lp-section-items.sorting .ui-sortable-placeholder:after{
863
+ content: '';
864
+ display: block;
865
+ width: 0px;
866
+ height: 0px;
867
+ border: 28px solid transparent;
868
+ border-left-color: #999;
869
+ position: absolute;
870
+ top: 0;
871
+ left: -33px;
872
+
873
+ }
874
+
875
+ .lp-section-items.sorting .ui-sortable-placeholder:after{
876
+ border-width: 15px;
877
+ left: -20px;
878
+ }
879
+ .lp-curriculum-section-content{
880
+ background-color: #F5F5F5;
881
+ background-color: #FFF;
882
+ _border-bottom: 2px dashed #DDD;
883
+ padding: 20px;
884
+ margin-bottom: 0px;
885
+ border-top: 1px solid #DDD;
886
+ }
887
+ .lp-dynamic-form{
888
+ position: absolute;
889
+ padding: 0px;
890
+ background-color: transparent;
891
+ z-index: 210;
892
+ height: 15px;
893
+ overflow: hidden;
894
+ }
895
+ .lp-container-dropdown{
896
+ height: 15px;
897
+ vertical-align: top;
898
+ }
899
+ .lp-container-dropdown > a{
900
+ background-image: none !important;
901
+ background-color: #FFF !important;
902
+ }
903
+ .lp-container-dropdown.select2-drop-above > a{
904
+ height: 3px;
905
+ }
906
+ .lp-select-dropdown{
907
+ margin-top: -6px;
908
+ }
909
+ .lp-select-dropdown.select2-drop-above{
910
+ padding-bottom: 0;
911
+ }
912
+
913
+ .lp-empty .lp-curriculum-section-content{
914
+ display: none !important;
915
+ }
916
+
917
+ .lp-section-items{
918
+ min-height: 20px;
919
+
920
+
921
+ }
922
+ .lp-section-items > li{
923
+ padding: 5px;
924
+ border:1px dashed #DDD;
925
+ background-color: #FFF;
926
+ cursor: move;
927
+ position: relative;
928
+ }
929
+ .lp-section-items > li .lp-title{
930
+ cursor: auto;
931
+ padding: 3px 5px;
932
+ border: 1px solid transparent;
933
+ display: inline-block;
934
+ width: 80%;
935
+ -webkit-box-sizing: border-box;
936
+ -moz-box-sizing: border-box;
937
+ box-sizing: border-box;
938
+
939
+ }
940
+ .lp-section-items > li:hover .lp-title {
941
+ border-color: #DDD;
942
+ cursor: text;
943
+ }
944
+ .lp-section-items > li input{
945
+ width: 70%;
946
+ }
947
+
948
+ .lp-section-items > li:hover{
949
+ border-style: solid;
950
+ }
951
+ .lp-section-icon{
952
+ position: absolute;
953
+ top:0;
954
+ left:0;
955
+ width: 62px;
956
+ height: 62px;
957
+ line-height: 54px;
958
+ border-right: 1px solid #DDD;
959
+ text-align:center;
960
+ }
961
+ .lp-section-icon i{
962
+ height: 60px;
963
+ line-height: 60px;
964
+ }
965
+ .lp-course-curriculum .dashicons{
966
+ vertical-align: middle;
967
+ }
968
+
969
+ .select2-drop.select2-drop-active{
970
+ padding: 5px 10px;
971
+ }
972
+
973
+ .rwmb-course_lesson_quiz-wrapper .rwmb-label{ display: none;}
974
+ .rwmb-course_lesson_quiz-wrapper .rwmb-input{ float: none; width: auto; display: block;}
975
+
976
+ .lp-course-curriculum-toggle{
977
+
978
+ }
979
+ .lp-course-curriculum-toggle .expand{
980
+ display: none;
981
  }*/
assets/css/learnpress-course-coming-soon.css DELETED
@@ -1,330 +0,0 @@
1
- .counter-group {
2
- margin: 30px auto;
3
- display: inline-block;
4
- }
5
-
6
- .counter-group:before,
7
- .counter-group:after {
8
- content: " ";
9
- display: table;
10
- }
11
-
12
- .counter-group:after {
13
- clear: both;
14
- }
15
-
16
- .counter-block {
17
- float: left;
18
- margin-right: 20px;
19
- }
20
-
21
- .counter-block .counter {
22
- position: relative;
23
- width: 100px;
24
- height: 50px;
25
- overflow: hidden;
26
- font-weight: 700;
27
- }
28
-
29
- .counter-block .counter .number {
30
- padding: 1%;
31
- width: 46%;
32
- height: 98%;
33
- background-color: #fff;
34
- color: #444;
35
- position: absolute;
36
- font-size: 40px;
37
- line-height: 50px;
38
- top: -10000px;
39
- text-align: center;
40
- }
41
-
42
- .counter-block .counter .number.tens {
43
- left: 0;
44
- }
45
-
46
- .counter-block .counter .number.units {
47
- left: 50%;
48
- }
49
-
50
- .counter-block .counter .number.hundreds {
51
- display: none;
52
- }
53
-
54
- .counter-block .counter .number.show {
55
- top: 0;
56
- z-index: 2;
57
- }
58
-
59
- .counter-block .counter .number.hidden-down {
60
- top: 100%;
61
- }
62
-
63
- .counter-block .counter .number.hidden-up {
64
- top: -100%;
65
- z-index: 100;
66
- }
67
-
68
- .counter-block .counter.with-hundreds {
69
- width: 300px;
70
- }
71
-
72
- .counter-block .counter.with-hundreds .number {
73
- width: 30.66%;
74
- }
75
-
76
- .counter-block .counter.with-hundreds .number.tens {
77
- left: 33.33%;
78
- }
79
-
80
- .counter-block .counter.with-hundreds .number.units {
81
- left: 66.66%;
82
- }
83
-
84
- .counter-block .counter.with-hundreds .number.hundreds {
85
- display: block;
86
- left: 0;
87
- }
88
-
89
- .counter-block .counter-caption {
90
- font-size: 100%;
91
- text-align: center;
92
- }
93
-
94
- .ob_discount {
95
- background: none repeat scroll 0 0 #000000;
96
- border-radius: 3px;
97
- height: 10px;
98
- width: 100%;
99
- clear: both;
100
- max-width: 300px;
101
- }
102
-
103
- .ob_sale {
104
- background: none repeat scroll 0 0 #CCCCCC;
105
- border-radius: 2px;
106
- height: 10px;
107
- }
108
-
109
- /*Product Categories*/
110
- /*Shortcode*/
111
- .ob_shortcode.woocommerce ul.products li.product {
112
- width: auto;
113
- }
114
- .ob_shortcode .ob_discount {
115
- width: 100%
116
- }
117
- .ob_shortcode .counter-block .counter .number {
118
- font-size: 19px;
119
- height: auto;
120
- line-height: 19px;
121
- padding: 0;
122
- }
123
- .ob_shortcode .counter-block .counter {
124
- height: 19px;
125
- line-height: 19px;
126
- margin: 0 auto;
127
- width: 44px;
128
- }
129
- .ob_shortcode .counter-block .counter.with-hundreds {
130
- width: 66px;
131
- }
132
- .ob_shortcode .counter-group {
133
- margin: 10px auto;
134
- }
135
- .ob_shortcode .counter-block {
136
- margin-right: 5px;
137
- }
138
- .ob_shortcode .counter-block .counter-caption {
139
- font-size: 13px;
140
- text-transform: capitalize;
141
- }
142
- /*Widget*/
143
- .ob_widget.woocommerce ul.products li.product {
144
- width: auto;
145
- }
146
- .ob_widget .ob_discount {
147
- width: 100%
148
- }
149
- .ob_widget .counter-block .counter .number {
150
- font-size: 19px;
151
- height: auto;
152
- line-height: 19px;
153
- padding: 0;
154
- }
155
- .ob_widget .counter-block .counter {
156
- height: 19px;
157
- line-height: 19px;
158
- margin: 0;
159
- width: 40px;
160
- }
161
- .ob_widget .counter-block .counter.with-hundreds {
162
- width: 60px;
163
- }
164
- .ob_widget .counter-group {
165
- margin: 10px auto;
166
- }
167
- .ob_widget .counter-block {
168
- margin-right: 0;
169
- }
170
- .ob_widget .counter-block .counter-caption {
171
- font-size: 10px;
172
- text-transform: capitalize;
173
- }
174
- /*Categories*/
175
- /*Widget*/
176
- .ob_categories.woocommerce ul.products li.product {
177
- width: 200px;
178
- }
179
- .ob_categories .ob_discount {
180
- width: 100%
181
- }
182
- .ob_categories .counter-block .counter .number {
183
- font-size: 19px;
184
- height: auto;
185
- line-height: 19px;
186
- padding: 0;
187
- margin: 0;
188
- }
189
- .ob_categories .counter-block .counter {
190
- height: 15px;
191
- height: 19px;
192
- line-height: 19px;
193
- margin: 0 auto;
194
- width: 44px;
195
- }
196
- .ob_categories .counter-block .counter.with-hundreds {
197
- width: 66px;
198
- }
199
- .ob_categories .counter-group {
200
- margin: 10px auto;
201
- }
202
- .ob_categories .counter-block {
203
- margin-right: 0;
204
- }
205
- .ob_categories .counter-block .counter-caption {
206
- font-size: 13px;
207
- text-transform: capitalize;
208
- }
209
- /*Detail*/
210
- .widget_product_detail .counter-block .counter .number {
211
- width: 29px;
212
- margin: 0;
213
- padding: 0;
214
- }
215
- .widget_product_detail .counter-block .counter {
216
- width: 61px;
217
- }
218
- .widget_product_detail .counter-block .counter.with-hundreds {
219
- width: 91px;
220
- }
221
- .ob_categories {
222
- min-width: 200px;
223
- }
224
- .ob_product_avariable_detail:not(:first-child) {
225
- display: none;
226
- }
227
- @media (max-width: 992px) {
228
- .counter-group {
229
- margin: 10px auto;
230
- }
231
- .counter-block {
232
- margin-right: 10px;
233
- }
234
- .counter-block .counter {
235
- width: 120px;
236
- height: 100px;
237
- overflow: hidden;
238
- font-weight: 700;
239
- }
240
- .counter-block .counter.with-hundreds {
241
- width: 180px;
242
- }
243
- .counter-block .counter .number {
244
- font-size: 78px;
245
- line-height: 90px;
246
- }
247
- .counter-block .counter-caption {
248
- font-size: 100%;
249
- }
250
- /*Detail*/
251
- .widget_product_detail .counter-block .counter .number {
252
- width: 45px;
253
- }
254
- .widget_product_detail .counter-block .counter {
255
- width: 95px;
256
- }
257
- }
258
-
259
- @media (max-width: 768px) {
260
- .counter-group {
261
- margin: 0 auto;
262
- }
263
- .counter-block {
264
- margin-right: 8px;
265
- }
266
- .counter-block .counter {
267
- width: 96px;
268
- height: 80px;
269
- }
270
- .counter-block .counter.with-hundreds {
271
- width: 144px;
272
- }
273
- .counter-block .counter .number {
274
- font-size: 78px;
275
- line-height: 72px;
276
- }
277
- .counter-block .counter.with-hundreds {
278
- width: 144px;
279
- }
280
- .counter-block .counter-caption {
281
- font-size: 85%;
282
- }
283
- }
284
-
285
- @media (max-width: 480px) {
286
- .counter-block .counter {
287
- width: 61px;
288
- height: 52px;
289
- }
290
- .counter-block .counter .number {
291
- font-size: 55px;
292
- line-height: 50px;
293
- }
294
- .counter-block .counter.with-hundreds {
295
- width: 91px;
296
- }
297
- .counter-block .counter-caption {
298
- font-size: 70%;
299
- }
300
- .widget_product_detail .counter-block .counter {
301
- width: 70px;
302
- }
303
- .widget_product_detail .counter-block .counter .number {
304
- font-size: 40px;
305
- width: 31px;
306
- }
307
- }
308
-
309
- .ob_wrapper {
310
- clear: both;
311
- }
312
- /*Fix short code on revolution slider*/
313
- .ob_shortcode > ul.shortcode_products li {
314
- visibility: visible;
315
- }
316
- code.thim-position-code {
317
- background: #FFD1B6;
318
- font-size: smaller;
319
- font-style: italic;
320
- color: #FFF;
321
- padding: 2px 5px;
322
- white-space: nowrap;
323
- margin: 0 3px 0 0;
324
- position: relative;
325
- z-index: 999;
326
- display: block;
327
- }
328
- .thim-countdown{
329
- clear: both;
330
- }