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 | ![]() |
Version | 2.1.4 |
Comparing to | |
See all releases |
Code changes from version 2.1.6.1 to 2.1.4
- assets/css/admin/admin.css +20 -30
- assets/css/admin/admin.less +37 -44
- assets/css/admin/attributes.css +17 -17
- assets/css/admin/attributes.less +0 -18
- assets/css/admin/meta-box-course.css +141 -76
- assets/css/admin/meta-box-course.less +176 -108
- assets/css/admin/meta-box-order.css +44 -46
- assets/css/admin/meta-box-question.css +52 -0
- assets/css/learnpress.css +99 -355
- assets/css/learnpress.less +41 -335
- assets/js/admin/admin.js +1 -1
- assets/js/admin/attributes.js +0 -92
- assets/js/admin/course-editor.js +6 -6
- assets/js/admin/meta-box-course.js +15 -30
- assets/js/admin/meta-box-order.js +18 -37
- assets/js/admin/meta-box-quiz.js +1 -13
- assets/js/frontend/course-filters.js +0 -146
- assets/js/frontend/learnpress.js +2 -1
- assets/js/frontend/lesson.js +6 -3
- assets/js/frontend/profile.js +236 -0
- assets/js/frontend/single-course.js +16 -56
- assets/js/global.js +22 -25
- assets/js/global.min.js +2 -2
- inc/admin/class-lp-admin-ajax.php +144 -155
- inc/admin/class-lp-admin-menu.php +0 -24
- inc/admin/class-lp-profile.php +139 -0
- inc/admin/dashboard-statistics/class-lp-statistic-status.php +4 -4
- inc/admin/includes/class-markdown-parse.php +5 -7
- inc/admin/lp-admin-functions.php +184 -202
- inc/admin/meta-boxes/class-course-tabs-field.php +1 -1
- inc/admin/meta-boxes/class-curriculum-field.php +316 -0
- inc/admin/meta-boxes/class-meta-box-tabs.php +18 -0
- inc/admin/settings/class-lp-settings-emails.php +21 -44
- inc/admin/settings/class-lp-settings-general.php +1 -11
- inc/admin/views/meta-boxes/course/attributes.php +0 -45
- inc/admin/views/meta-boxes/course/curriculum.php +33 -33
- inc/admin/views/meta-boxes/course/html-course-attribute.php +0 -35
- inc/admin/views/meta-boxes/course/loop-item.php +36 -56
- inc/admin/views/meta-boxes/course/loop-section.php +55 -26
- inc/admin/views/meta-boxes/course/review-logs.php +2 -2
- inc/admin/views/meta-boxes/order/actions.php +10 -33
- inc/admin/views/meta-boxes/order/details.php +12 -25
- inc/admin/views/settings/emails/enrolled-course-admin.php +0 -76
- inc/admin/views/settings/emails/update-course.php +0 -50
- inc/admin/views/settings/emails/user-order-changed-status.php +0 -68
- inc/attributes/course.php +0 -399
- inc/attributes/lp-attributes-functions.php +0 -175
- inc/class-lp-assets.php +32 -38
- inc/class-lp-cache.php +62 -168
- inc/class-lp-emails.php +29 -35
- inc/class-lp-page-controller.php +15 -6
- inc/class-lp-query.php +124 -15
- inc/class-lp-request-handler.php +12 -39
- inc/class-lp-schedules.php +5 -48
- inc/class-lp-settings.php +1 -7
- inc/class-lp-shortcodes.php +62 -247
- inc/class-lp-widget.php +0 -395
- inc/course/abstract-lp-course.php +134 -204
- inc/course/lp-course-functions.php +130 -159
- inc/custom-post-types/course.php +146 -100
- inc/custom-post-types/order.php +15 -149
- inc/custom-post-types/quiz.php +41 -50
- inc/debug.php +0 -7
- inc/emails/class-lp-email-enrolled-course-admin.php +0 -172
- inc/emails/class-lp-email-update-course.php +0 -130
- inc/emails/class-lp-email-user-order-changed-status.php +0 -109
- inc/emails/class-lp-email-user-order-completed.php +52 -35
- inc/emails/class-lp-email.php +4 -16
- inc/lesson/lp-lesson-functions.php +8 -26
- inc/libraries/meta-box/inc/fields/checkbox-list.php +5 -10
- inc/libraries/meta-box/inc/fields/datetime.php +1 -1
- inc/{admin/meta-boxes → libraries/meta-box/inc/fields}/duration.php +2 -15
- inc/libraries/meta-box/inc/fields/time.php +2 -2
- inc/libraries/meta-box/inc/meta-box.php +1 -1
- inc/libraries/meta-box/meta-box.php +7 -17
- inc/lp-constants.php +2 -7
- inc/lp-core-functions.php +40 -115
- inc/lp-init.php +108 -197
- inc/lp-template-functions.php +65 -33
- inc/lp-template-hooks.php +0 -3
- inc/order/class-lp-order.php +19 -126
- inc/order/lp-order-functions.php +10 -66
- inc/question/class-lp-question-factory.php +2 -17
- inc/quiz/class-lp-quiz-factory.php +9 -19
- inc/shortcodes/archive-courses.php +45 -0
- inc/shortcodes/class-lp-abstract-archive-shortcode.php +354 -0
- inc/shortcodes/course-summary.php +11 -0
- inc/shortcodes/featured-courses/featured-course.php +136 -0
- inc/shortcodes/featured-courses/featured-courses.php +133 -0
- inc/{widgets/course-attributes/tmpl → shortcodes/featured-courses}/index.php +0 -0
- inc/shortcodes/featured-courses/templates/cards.php +127 -0
- inc/shortcodes/featured-courses/templates/grids.php +131 -0
- inc/{widgets/course-filters/tmpl → shortcodes/featured-courses/templates}/index.php +0 -0
- inc/shortcodes/featured-courses/templates/list.php +137 -0
- inc/shortcodes/index.php +1 -0
- inc/shortcodes/popular-courses/index.php +1 -0
- inc/shortcodes/popular-courses/popular-course.php +132 -0
- inc/shortcodes/popular-courses/popular-courses.php +129 -0
- inc/shortcodes/popular-courses/templates/cards.php +127 -0
- inc/shortcodes/popular-courses/templates/grids.php +131 -0
- inc/shortcodes/popular-courses/templates/index.php +1 -0
- inc/shortcodes/popular-courses/templates/list.php +137 -0
- inc/shortcodes/recent-courses/index.php +1 -0
- inc/shortcodes/recent-courses/recent-courses.php +121 -0
- inc/shortcodes/recent-courses/templates/cards.php +127 -0
- inc/shortcodes/recent-courses/templates/grids.php +131 -0
- inc/shortcodes/recent-courses/templates/index.php +1 -0
- inc/shortcodes/recent-courses/templates/list.php +136 -0
- inc/updates/09/script.js +2 -1
- inc/user/abstract-lp-user.php +29 -88
- inc/user/class-lp-profile.php +0 -114
- inc/user/class-lp-user-factory.php +5 -25
- inc/user/lp-user-functions.php +55 -88
- inc/widgets/course-attributes/course-attributes.php +0 -31
- inc/widgets/course-attributes/tmpl/default.php +0 -23
- inc/widgets/course-filters/course-filters.php +0 -178
- inc/widgets/course-filters/tmpl/default.php +0 -90
- inc/widgets/featured-courses/featured-course-widget.php +197 -0
- inc/widgets/featured-courses/featured-courses.php +0 -139
- inc/widgets/featured-courses/form.php +132 -0
- inc/widgets/featured-courses/index.php +1 -7
- inc/widgets/featured-courses/templates/default.php +78 -0
- inc/widgets/featured-courses/templates/index.php +1 -0
- inc/widgets/featured-courses/tmpl/default.php +0 -75
- inc/widgets/featured-courses/tmpl/index.php +0 -7
- inc/widgets/lp-widget-util.php +32 -0
- inc/widgets/popular-courses/form.php +132 -0
- inc/widgets/popular-courses/index.php +1 -7
- inc/widgets/popular-courses/popular-course-widget.php +206 -0
- inc/widgets/popular-courses/popular-courses.php +0 -149
- inc/widgets/popular-courses/templates/default.php +78 -0
- inc/widgets/popular-courses/templates/index.php +1 -0
- inc/widgets/popular-courses/tmpl/default.php +0 -0
- inc/widgets/popular-courses/tmpl/index.php +0 -7
- inc/widgets/recent-courses/form.php +132 -0
- inc/widgets/recent-courses/index.php +1 -7
- inc/widgets/recent-courses/recent-course-widget.php +194 -0
- inc/widgets/recent-courses/recent-courses.php +0 -142
- inc/widgets/recent-courses/{tmpl → templates}/default.php +17 -14
- inc/widgets/recent-courses/templates/index.php +1 -0
- inc/widgets/recent-courses/tmpl/index.php +0 -7
- learnpress.php +23 -10
- readme.txt +5 -42
- templates/content-archive-course.php +1 -1
- templates/content-question/multi-choice/answer-options.php +4 -9
- templates/content-question/single-choice/answer-options.php +2 -6
- templates/content-quiz/buttons.php +1 -6
- templates/content-single-course.php +0 -1
- templates/emails/enrolled-course-admin.php +0 -17
- templates/emails/plain/enrolled-course-admin.php +0 -13
- templates/emails/plain/update-course.php +0 -7
- templates/emails/plain/user-order-changed-status.php +0 -9
- templates/emails/update-course.php +0 -7
- templates/emails/user-order-changed-status.php +0 -9
- templates/global/become-teacher-form.php +2 -5
- templates/global/before-main-content.php +1 -1
- templates/order/order-details.php +1 -1
- templates/profile/tabs.php +7 -1
- templates/profile/tabs/courses/all.php +48 -0
- templates/profile/tabs/courses/finished.php +44 -0
- templates/profile/tabs/courses/learning.php +45 -0
- templates/profile/tabs/courses/loop.php +1 -1
- templates/profile/tabs/courses/own.php +55 -0
- templates/profile/tabs/courses/purchased.php +44 -0
- templates/profile/tabs/edit.php +3 -11
- templates/profile/tabs/orders.php +2 -2
- templates/single-course/buttons.php +113 -91
- templates/single-course/content-item-lp_lesson.php +1 -0
- templates/single-course/content-item-only.php +1 -0
- templates/single-course/content-item.php +4 -2
- templates/single-course/nav-items.php +0 -35
- templates/single-course/popup.php +1 -8
- templates/single-course/price.php +1 -1
- templates/single-course/progress.php +17 -12
- templates/single-course/section/item-meta.php +19 -61
- templates/single-course/section/item-quiz.php +9 -33
- templates/single-course/section/title.php +1 -1
- templates/widgets/featured-courses/default.php +0 -85
- templates/widgets/popular-courses/default.php +0 -85
- 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 .
|
23 |
-
margin-top: 5px;
|
24 |
-
}
|
25 |
-
.rwmb-field .rwmb-input .description.option-desc {
|
26 |
font-weight: normal;
|
27 |
-
|
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:
|
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 |
-
.
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
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:
|
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:
|
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 |
-
#
|
|
|
|
|
|
|
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 |
-
|
48 |
-
|
49 |
-
}
|
50 |
-
.post-type-lp_course .type-lp_course.status-pending .row-actions .view {
|
51 |
display: none;
|
52 |
}
|
53 |
-
#
|
|
|
|
|
|
|
|
|
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 |
-
#
|
61 |
font-weight: normal;
|
62 |
color: #999;
|
63 |
display: block;
|
64 |
font-size: 90%;
|
65 |
margin-top: 10px;
|
66 |
}
|
67 |
-
#
|
68 |
float: right;
|
69 |
margin: -33px 7px 0 0;
|
70 |
line-height: 1;
|
71 |
box-shadow: none;
|
72 |
}
|
73 |
-
#
|
74 |
-webkit-box-shadow: none;
|
75 |
-moz-box-shadow: none;
|
76 |
box-shadow: none;
|
77 |
font-size: 32px;
|
78 |
}
|
79 |
-
#
|
80 |
margin: 0;
|
81 |
background-color: #FFF;
|
82 |
border-bottom: 1px solid #DDD;
|
83 |
}
|
84 |
-
#
|
85 |
margin: -1px 0 0 0;
|
86 |
background-color: #FFF;
|
87 |
border-bottom: 1px solid #DDD;
|
88 |
position: relative;
|
89 |
}
|
90 |
-
#
|
91 |
background-image: url("../../images/stripe.png");
|
92 |
visibility: visible !important;
|
93 |
border: 1px solid #DDD;
|
94 |
border-bottom: none;
|
95 |
}
|
96 |
-
#
|
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 |
-
#
|
105 |
background-color: #F9F9F9;
|
106 |
}
|
107 |
-
#
|
108 |
float: right;
|
109 |
margin: 14px 0;
|
110 |
visibility: hidden;
|
111 |
position: relative;
|
112 |
}
|
113 |
-
#
|
114 |
visibility: visible;
|
115 |
}
|
116 |
-
#
|
117 |
vertical-align: middle;
|
118 |
color: #666666;
|
119 |
width: 24px;
|
120 |
height: 24px;
|
121 |
box-shadow: none;
|
122 |
}
|
123 |
-
#
|
124 |
line-height: 28px;
|
125 |
}
|
126 |
-
#
|
127 |
width: 24px;
|
128 |
height: 24px;
|
129 |
font-size: 24px;
|
130 |
}
|
131 |
-
#
|
132 |
color: #00a0d2;
|
133 |
}
|
134 |
-
#
|
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 |
-
#
|
144 |
border: 1px solid #DDD;
|
145 |
padding: 20px;
|
146 |
border-bottom-width: 0;
|
147 |
width: 100%;
|
148 |
box-sizing: border-box;
|
149 |
}
|
150 |
-
#
|
151 |
border-bottom: 1px solid #DDD;
|
152 |
}
|
153 |
-
#
|
154 |
border: none;
|
155 |
outline: none;
|
156 |
box-shadow: none;
|
@@ -161,65 +151,65 @@
|
|
161 |
padding: 0;
|
162 |
height: 50px;
|
163 |
}
|
164 |
-
#
|
165 |
color: #444;
|
166 |
}
|
167 |
-
#
|
168 |
_display: none;
|
169 |
}
|
170 |
-
#
|
171 |
border-collapse: collapse;
|
172 |
width: 100%;
|
173 |
}
|
174 |
-
#
|
175 |
border: 1px dashed #DDD;
|
176 |
margin: -1px 0 0 0;
|
177 |
padding: 5px 0;
|
178 |
background-color: #FFF;
|
179 |
}
|
180 |
-
#
|
181 |
-
#
|
182 |
background-color: #FCFCFC;
|
183 |
}
|
184 |
-
#
|
185 |
margin: 0;
|
186 |
float: right;
|
187 |
position: relative;
|
188 |
}
|
189 |
-
#
|
190 |
vertical-align: middle;
|
191 |
color: #666;
|
192 |
margin-top: -2px;
|
193 |
box-shadow: none;
|
194 |
}
|
195 |
-
#
|
196 |
color: #00a0d2;
|
197 |
}
|
198 |
-
#
|
199 |
display: none;
|
200 |
}
|
201 |
-
#
|
202 |
display: none;
|
203 |
}
|
204 |
-
#
|
205 |
visibility: visible !important;
|
206 |
}
|
207 |
-
#
|
208 |
background-image: url("../../../assets/images/stripe.png");
|
209 |
border-bottom: none;
|
210 |
}
|
211 |
-
#
|
212 |
visibility: hidden;
|
213 |
}
|
214 |
-
#
|
215 |
text-align: right;
|
216 |
margin-top: 0;
|
217 |
margin-bottom: 15px;
|
218 |
}
|
219 |
-
#
|
220 |
visibility: visible;
|
221 |
}
|
222 |
-
#
|
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 |
-
#
|
233 |
opacity: 0.4;
|
234 |
}
|
235 |
-
#
|
236 |
opacity: 1;
|
237 |
}
|
238 |
-
#
|
239 |
content: "\e900";
|
240 |
}
|
241 |
-
#
|
242 |
content: "\e901";
|
243 |
}
|
244 |
-
#
|
245 |
color: #999;
|
246 |
}
|
247 |
-
#
|
248 |
-
#
|
249 |
background-color: #F9F9F9;
|
250 |
}
|
251 |
-
#
|
252 |
width: 32px;
|
253 |
height: 32px;
|
254 |
display: inline-block;
|
@@ -258,10 +248,10 @@
|
|
258 |
line-height: 32px;
|
259 |
color: #00A0D2;
|
260 |
}
|
261 |
-
#
|
262 |
color: #FF0000;
|
263 |
}
|
264 |
-
#
|
265 |
color: #777;
|
266 |
border: none;
|
267 |
box-shadow: none;
|
@@ -273,7 +263,7 @@
|
|
273 |
overflow: hidden;
|
274 |
white-space: nowrap;
|
275 |
}
|
276 |
-
#
|
277 |
border: none;
|
278 |
box-shadow: none;
|
279 |
color: #999;
|
@@ -282,11 +272,11 @@
|
|
282 |
float: left;
|
283 |
padding-left: 0;
|
284 |
}
|
285 |
-
#
|
286 |
-
#
|
287 |
color: #444;
|
288 |
}
|
289 |
-
#
|
290 |
width: 32px;
|
291 |
white-space: nowrap;
|
292 |
}
|
@@ -302,13 +292,13 @@
|
|
302 |
cursor: pointer;
|
303 |
border: 1px solid transparent;
|
304 |
}
|
305 |
-
#
|
306 |
content: "\f469";
|
307 |
}
|
308 |
-
#
|
309 |
content: "\f330";
|
310 |
}
|
311 |
-
#
|
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 |
-
|
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 |
-
#
|
|
|
|
|
|
|
|
|
37 |
border: none;
|
38 |
background-color: transparent;
|
39 |
-
margin: 20px 0;
|
40 |
}
|
41 |
|
42 |
-
.
|
43 |
-
|
44 |
-
|
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 |
-
#
|
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 |
-
#
|
74 |
font-weight: normal;
|
75 |
color: #999;
|
76 |
display: block;
|
@@ -78,14 +65,14 @@
|
|
78 |
margin-top: 10px;;
|
79 |
}
|
80 |
|
81 |
-
#
|
82 |
float: right;
|
83 |
margin: -33px 7px 0 0;
|
84 |
line-height: 1;
|
85 |
box-shadow: none;
|
86 |
}
|
87 |
|
88 |
-
#
|
89 |
-webkit-box-shadow: none;
|
90 |
-moz-box-shadow: none;
|
91 |
box-shadow: none;
|
@@ -93,27 +80,27 @@
|
|
93 |
|
94 |
}
|
95 |
|
96 |
-
#
|
97 |
margin: 0;
|
98 |
background-color: #FFF;
|
99 |
border-bottom: 1px solid #DDD;
|
100 |
}
|
101 |
|
102 |
-
#
|
103 |
margin: -1px 0 0 0;
|
104 |
background-color: #FFF;
|
105 |
border-bottom: 1px solid #DDD;
|
106 |
position: relative;
|
107 |
}
|
108 |
|
109 |
-
#
|
110 |
background-image: url("../../images/stripe.png");
|
111 |
visibility: visible !important;
|
112 |
border: 1px solid #DDD;
|
113 |
border-bottom: none;
|
114 |
}
|
115 |
|
116 |
-
#
|
117 |
border: 1px solid #DDD;
|
118 |
background-color: #F9F9F9;
|
119 |
border-bottom: none;
|
@@ -122,22 +109,22 @@
|
|
122 |
padding: 3px 20px;
|
123 |
}
|
124 |
|
125 |
-
#
|
126 |
background-color: #F9F9F9;
|
127 |
}
|
128 |
|
129 |
-
#
|
130 |
float: right;
|
131 |
margin: 14px 0;
|
132 |
visibility: hidden;
|
133 |
position: relative;
|
134 |
}
|
135 |
|
136 |
-
#
|
137 |
visibility: visible;
|
138 |
}
|
139 |
|
140 |
-
#
|
141 |
vertical-align: middle;
|
142 |
color: #666666;
|
143 |
width: 24px;
|
@@ -145,21 +132,21 @@
|
|
145 |
box-shadow: none;
|
146 |
}
|
147 |
|
148 |
-
#
|
149 |
line-height: 28px;
|
150 |
}
|
151 |
|
152 |
-
#
|
153 |
width: 24px;
|
154 |
height: 24px;
|
155 |
font-size: 24px;
|
156 |
}
|
157 |
|
158 |
-
#
|
159 |
color: #00a0d2;
|
160 |
}
|
161 |
|
162 |
-
#
|
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 |
-
#
|
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 |
-
#
|
181 |
border-bottom: 1px solid #DDD;
|
182 |
}
|
183 |
|
184 |
-
#
|
185 |
border: none;
|
186 |
outline: none;
|
187 |
box-shadow: none;
|
@@ -193,87 +180,87 @@
|
|
193 |
height: 50px;
|
194 |
}
|
195 |
|
196 |
-
#
|
197 |
color: #444;
|
198 |
}
|
199 |
|
200 |
-
#
|
201 |
_display: none;
|
202 |
}
|
203 |
|
204 |
-
#
|
205 |
border-collapse: collapse;
|
206 |
width: 100%;
|
207 |
}
|
208 |
|
209 |
-
#
|
210 |
border: 1px dashed #DDD;
|
211 |
margin: -1px 0 0 0;
|
212 |
padding: 5px 0;
|
213 |
background-color: #FFF;
|
214 |
}
|
215 |
|
216 |
-
#
|
217 |
-
#
|
218 |
background-color: #FCFCFC;
|
219 |
}
|
220 |
|
221 |
-
#
|
222 |
margin: 0;
|
223 |
float: right;
|
224 |
position: relative;
|
225 |
}
|
226 |
|
227 |
-
#
|
228 |
vertical-align: middle;
|
229 |
color: #666;
|
230 |
margin-top: -2px;
|
231 |
box-shadow: none;
|
232 |
}
|
233 |
|
234 |
-
#
|
235 |
color: #00a0d2;
|
236 |
}
|
237 |
|
238 |
-
#
|
239 |
display: none;
|
240 |
}
|
241 |
|
242 |
-
#
|
243 |
display: none;
|
244 |
}
|
245 |
|
246 |
-
#
|
247 |
|
248 |
}
|
249 |
|
250 |
-
#
|
251 |
visibility: visible !important;
|
252 |
}
|
253 |
|
254 |
-
#
|
255 |
background-image: url("../../../assets/images/stripe.png");
|
256 |
border-bottom: none;
|
257 |
}
|
258 |
|
259 |
-
#
|
260 |
visibility: hidden;
|
261 |
}
|
262 |
|
263 |
-
#
|
264 |
}
|
265 |
|
266 |
-
#
|
267 |
text-align: right;
|
268 |
margin-top: 0;
|
269 |
margin-bottom: 15px;
|
270 |
}
|
271 |
|
272 |
-
#
|
273 |
visibility: visible;
|
274 |
}
|
275 |
|
276 |
-
#
|
277 |
display: inline-block;
|
278 |
height: 34px;
|
279 |
border: none;
|
@@ -284,32 +271,32 @@
|
|
284 |
visibility: visible;
|
285 |
}
|
286 |
|
287 |
-
#
|
288 |
opacity: 0.4;
|
289 |
}
|
290 |
|
291 |
-
#
|
292 |
opacity: 1;
|
293 |
}
|
294 |
|
295 |
-
#
|
296 |
content: "\e900";
|
297 |
}
|
298 |
|
299 |
-
#
|
300 |
content: "\e901";
|
301 |
}
|
302 |
|
303 |
-
#
|
304 |
color: #999;
|
305 |
}
|
306 |
|
307 |
-
#
|
308 |
-
#
|
309 |
background-color: #F9F9F9;
|
310 |
}
|
311 |
|
312 |
-
#
|
313 |
width: 32px;
|
314 |
height: 32px;
|
315 |
display: inline-block;
|
@@ -320,15 +307,15 @@
|
|
320 |
color: #00A0D2;
|
321 |
}
|
322 |
|
323 |
-
#
|
324 |
color: #FF0000;
|
325 |
}
|
326 |
|
327 |
-
#
|
328 |
|
329 |
}
|
330 |
|
331 |
-
#
|
332 |
color: #777;
|
333 |
border: none;
|
334 |
box-shadow: none;
|
@@ -341,7 +328,7 @@
|
|
341 |
white-space: nowrap;
|
342 |
}
|
343 |
|
344 |
-
#
|
345 |
border: none;
|
346 |
box-shadow: none;
|
347 |
color: #999;
|
@@ -351,12 +338,12 @@
|
|
351 |
padding-left: 0;
|
352 |
}
|
353 |
|
354 |
-
#
|
355 |
-
#
|
356 |
color: #444;
|
357 |
}
|
358 |
|
359 |
-
#
|
360 |
width: 32px;
|
361 |
white-space: nowrap;
|
362 |
}
|
@@ -374,19 +361,19 @@
|
|
374 |
border: 1px solid transparent;
|
375 |
}
|
376 |
|
377 |
-
#
|
378 |
content: "\f469";
|
379 |
}
|
380 |
|
381 |
-
#
|
382 |
content: "\f330";
|
383 |
}
|
384 |
|
385 |
-
#
|
386 |
-
#
|
387 |
}
|
388 |
|
389 |
-
#
|
390 |
height: 30px;
|
391 |
}
|
392 |
|
@@ -543,23 +530,26 @@
|
|
543 |
|
544 |
.learn-press-dropdown-item-types {
|
545 |
position: relative;
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
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 |
-
|
|
|
86 |
width: 120px;
|
87 |
-
height: 120px;
|
88 |
-
background: #F5F5F5;
|
89 |
-
position: relative;
|
90 |
}
|
91 |
-
|
92 |
-
|
93 |
-
|
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 |
-
|
127 |
-
|
128 |
-
|
129 |
}
|
130 |
-
|
131 |
-
|
|
|
|
|
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 |
+
}
|
25 |
+
.lpr-question-option thead th{
|
26 |
+
text-align: left;
|
27 |
+
padding: 8px 5px;
|
28 |
+
border: 1px solid #DDD;
|
29 |
+
}
|
30 |
+
.lpr-question-option tbody{
|
31 |
+
position: relative;
|
32 |
+
}
|
33 |
+
.lpr-question-option tbody tr{
|
34 |
+
width: 100%;
|
35 |
+
background-color: #FFF;
|
36 |
+
}
|
37 |
+
.lpr-question-option tbody th{
|
38 |
+
text-align: left;
|
39 |
+
padding: 5px;
|
40 |
+
border: 1px solid #DDD;
|
41 |
+
width: 25%;
|
42 |
+
}
|
43 |
+
.lpr-question-option tbody tr.placeholder td{
|
44 |
+
border: 1px solid #DDD;
|
45 |
+
background-color: #DDD;
|
46 |
+
}
|
47 |
+
.lpr-question-option tbody tr.ui-sortable-helper{
|
48 |
+
left: 0;
|
49 |
+
}
|
50 |
+
.lpr-question-option input[type="text"] {
|
51 |
+
width: 100%;
|
52 |
+
}
|
assets/css/learnpress.css
CHANGED
@@ -277,55 +277,6 @@
|
|
277 |
#learn-press-course-curriculum .course-item .lp-icon {
|
278 |
display: none;
|
279 |
}
|
280 |
-
#learn-press-course-curriculum .course-item .item-status {
|
281 |
-
display: none;
|
282 |
-
font-family: dashicons;
|
283 |
-
-webkit-border-radius: 4px;
|
284 |
-
-khtml-border-radius: 4px;
|
285 |
-
-moz-border-radius: 4px;
|
286 |
-
-ms-border-radius: 4px;
|
287 |
-
-o-border-radius: 4px;
|
288 |
-
border-radius: 4px;
|
289 |
-
background: #DDD;
|
290 |
-
color: #22b4ff;
|
291 |
-
font-size: 18px;
|
292 |
-
}
|
293 |
-
#learn-press-course-curriculum .course-item .item-status:before {
|
294 |
-
content: "\f177";
|
295 |
-
}
|
296 |
-
#learn-press-course-curriculum .course-item .item-status.item-status-started:before {
|
297 |
-
content: "\f469";
|
298 |
-
}
|
299 |
-
#learn-press-course-curriculum .course-item .item-status.item-status-completed {
|
300 |
-
background: #22b4ff;
|
301 |
-
color: #FFF;
|
302 |
-
}
|
303 |
-
#learn-press-course-curriculum .course-item .item-status.item-status-completed:before {
|
304 |
-
content: "\f147";
|
305 |
-
}
|
306 |
-
#learn-press-course-curriculum .course-item .item-status.item-status-passed {
|
307 |
-
background: #22b4ff;
|
308 |
-
color: #FFF;
|
309 |
-
}
|
310 |
-
#learn-press-course-curriculum .course-item .item-status.item-status-passed:before {
|
311 |
-
content: "\f147";
|
312 |
-
}
|
313 |
-
#learn-press-course-curriculum .course-item .item-status.item-status-failed {
|
314 |
-
background: #cc540d;
|
315 |
-
color: #FFF;
|
316 |
-
}
|
317 |
-
#learn-press-course-curriculum .course-item .item-status.item-status-failed:before {
|
318 |
-
content: "\f335";
|
319 |
-
}
|
320 |
-
#learn-press-course-curriculum .course-item .item-result {
|
321 |
-
display: none;
|
322 |
-
}
|
323 |
-
#learn-press-course-curriculum .course-item.item-has-status .item-status {
|
324 |
-
display: inline-block;
|
325 |
-
}
|
326 |
-
#learn-press-course-curriculum .course-item.item-has-result .item-result {
|
327 |
-
display: inline-block;
|
328 |
-
}
|
329 |
#learn-press-course-curriculum .course-item.viewable {
|
330 |
cursor: pointer;
|
331 |
}
|
@@ -357,6 +308,18 @@
|
|
357 |
height: 100%;
|
358 |
content: '';
|
359 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
#learn-press-course-curriculum .course-item.focus {
|
361 |
background: #ffb710;
|
362 |
}
|
@@ -376,25 +339,12 @@
|
|
376 |
#learn-press-course-curriculum .course-item-meta {
|
377 |
display: block;
|
378 |
line-height: 1;
|
|
|
379 |
top: 15px;
|
380 |
right: 15px;
|
381 |
float: right;
|
382 |
margin-top: 5px;
|
383 |
}
|
384 |
-
#learn-press-course-curriculum .course-item-meta .item-loop-meta-text {
|
385 |
-
font-size: small;
|
386 |
-
}
|
387 |
-
#learn-press-course-curriculum .course-item-meta .item-loop-meta-text.item-final {
|
388 |
-
color: #ffffff;
|
389 |
-
background: #cc540d;
|
390 |
-
padding: 3px 8px;
|
391 |
-
-webkit-border-radius: 3px;
|
392 |
-
-khtml-border-radius: 3px;
|
393 |
-
-moz-border-radius: 3px;
|
394 |
-
-ms-border-radius: 3px;
|
395 |
-
-o-border-radius: 3px;
|
396 |
-
border-radius: 3px;
|
397 |
-
}
|
398 |
.lp-icon {
|
399 |
display: inline-block;
|
400 |
font-family: 'lp-icons';
|
@@ -516,26 +466,6 @@
|
|
516 |
.single-lp_course .learn-press-course-results-progress .percentage-sign {
|
517 |
margin-left: 5px;
|
518 |
}
|
519 |
-
.single-lp_course .learn-press-course-results-progress .grade {
|
520 |
-
font-size: 12px;
|
521 |
-
font-weight: bold;
|
522 |
-
background: #F5F5F5;
|
523 |
-
padding: 2px 7px;
|
524 |
-
-webkit-border-radius: 3px;
|
525 |
-
-khtml-border-radius: 3px;
|
526 |
-
-moz-border-radius: 3px;
|
527 |
-
-ms-border-radius: 3px;
|
528 |
-
-o-border-radius: 3px;
|
529 |
-
border-radius: 3px;
|
530 |
-
}
|
531 |
-
.single-lp_course .learn-press-course-results-progress .grade.passed {
|
532 |
-
color: #ffffff;
|
533 |
-
background: #95e6f9;
|
534 |
-
}
|
535 |
-
.single-lp_course .learn-press-course-results-progress .grade.failed {
|
536 |
-
color: #ffffff;
|
537 |
-
background: #ff5425;
|
538 |
-
}
|
539 |
.single-lp_course .learn-press-course-results-progress:after {
|
540 |
display: block;
|
541 |
content: '';
|
@@ -901,7 +831,7 @@ body.course-has-popup {
|
|
901 |
height: 43px;
|
902 |
line-height: 43px;
|
903 |
background: #F5F5F5;
|
904 |
-
margin
|
905 |
border: 1px solid #DDD;
|
906 |
outline: none;
|
907 |
}
|
@@ -1024,9 +954,6 @@ body.block-content #learn-press-block-content {
|
|
1024 |
padding: 0;
|
1025 |
margin-left: 0;
|
1026 |
}
|
1027 |
-
.quiz-intro li label {
|
1028 |
-
display: inline-block;
|
1029 |
-
}
|
1030 |
.quiz-questions-list {
|
1031 |
margin: 0 0 20px 0;
|
1032 |
padding: 0;
|
@@ -1037,95 +964,10 @@ body.block-content #learn-press-block-content {
|
|
1037 |
}
|
1038 |
.quiz-questions-list .question-title {
|
1039 |
margin: 0 0 5px 0;
|
1040 |
-
display: inline-block;
|
1041 |
-
font-size: 14px;
|
1042 |
}
|
1043 |
.quiz-questions-list .current .question-title {
|
1044 |
font-weight: bold;
|
1045 |
}
|
1046 |
-
.quiz-questions-list input[type="checkbox"],
|
1047 |
-
.quiz-questions-list input[type="radio"] {
|
1048 |
-
border: 1px solid #DDD;
|
1049 |
-
display: inline-block;
|
1050 |
-
-webkit-appearance: none;
|
1051 |
-
width: 18px;
|
1052 |
-
height: 18px;
|
1053 |
-
position: relative;
|
1054 |
-
}
|
1055 |
-
.quiz-questions-list input[type="checkbox"]:checked:after,
|
1056 |
-
.quiz-questions-list input[type="radio"]:checked:after {
|
1057 |
-
content: '';
|
1058 |
-
display: inline-block;
|
1059 |
-
position: absolute;
|
1060 |
-
}
|
1061 |
-
.quiz-questions-list input[type="checkbox"]:checked:after {
|
1062 |
-
border-bottom: 3px solid #00b9eb;
|
1063 |
-
border-right: 1px solid #00b9eb;
|
1064 |
-
-webkit-transform: rotate(14deg);
|
1065 |
-
-moz-transform: rotate(14deg);
|
1066 |
-
-ms-transform: rotate(14deg);
|
1067 |
-
-o-transform: rotate(14deg);
|
1068 |
-
transform: rotate(33deg);
|
1069 |
-
width: 8px;
|
1070 |
-
height: 16px;
|
1071 |
-
top: -5px;
|
1072 |
-
left: 5px;
|
1073 |
-
}
|
1074 |
-
.quiz-questions-list input[type="checkbox"]:disabled:after {
|
1075 |
-
border-color: #DDD;
|
1076 |
-
}
|
1077 |
-
.quiz-questions-list input[type="radio"] {
|
1078 |
-
-webkit-border-radius: 50%;
|
1079 |
-
-moz-border-radius: 50%;
|
1080 |
-
border-radius: 50%;
|
1081 |
-
}
|
1082 |
-
.quiz-questions-list input[type="radio"]:checked:after {
|
1083 |
-
background: #00b9eb;
|
1084 |
-
width: 8px;
|
1085 |
-
height: 8px;
|
1086 |
-
border-radius: 50%;
|
1087 |
-
top: 50%;
|
1088 |
-
left: 50%;
|
1089 |
-
margin-left: -4px;
|
1090 |
-
margin-top: -4px;
|
1091 |
-
}
|
1092 |
-
.quiz-questions-list input[type="radio"]:disabled:after {
|
1093 |
-
background: #DDD;
|
1094 |
-
}
|
1095 |
-
.question-results .question-title:after {
|
1096 |
-
font-family: dashicons;
|
1097 |
-
font-size: 24px;
|
1098 |
-
vertical-align: middle;
|
1099 |
-
display: inline-block;
|
1100 |
-
text-align: center;
|
1101 |
-
margin-left: 5px;
|
1102 |
-
}
|
1103 |
-
.question-results.correct .question-title:after {
|
1104 |
-
content: '\f147';
|
1105 |
-
color: #00adff;
|
1106 |
-
}
|
1107 |
-
.question-results.skipped .question-title:after {
|
1108 |
-
content: '\f534';
|
1109 |
-
color: #c6c6c6;
|
1110 |
-
}
|
1111 |
-
.question-results.incorrect .question-title:after {
|
1112 |
-
content: '\f335';
|
1113 |
-
color: #ff5425;
|
1114 |
-
}
|
1115 |
-
.question-results.incorrect .user-answer-false .option-title {
|
1116 |
-
text-decoration: line-through;
|
1117 |
-
}
|
1118 |
-
.question-results .answer-true {
|
1119 |
-
color: #007acc;
|
1120 |
-
}
|
1121 |
-
.question-results .answer-true .option-title {
|
1122 |
-
background: #fff9d8;
|
1123 |
-
padding: 0 5px;
|
1124 |
-
margin-left: -5px;
|
1125 |
-
}
|
1126 |
-
.question-results input {
|
1127 |
-
vertical-align: middle;
|
1128 |
-
}
|
1129 |
.quiz-description .learn-press-question-title,
|
1130 |
.question-content .learn-press-question-title {
|
1131 |
margin-bottom: 20px;
|
@@ -2517,37 +2359,48 @@ body.content-item-only #learn-press-content-item.expand {
|
|
2517 |
content: '-';
|
2518 |
}
|
2519 |
/*
|
2520 |
-
.
|
2521 |
-
|
2522 |
-
|
2523 |
-
|
2524 |
-
|
2525 |
-
|
2526 |
-
|
2527 |
-
|
2528 |
-
|
2529 |
-
|
2530 |
-
|
2531 |
-
|
2532 |
-
width: 50%;
|
2533 |
-
float: left;
|
2534 |
-
label {
|
2535 |
-
margin-left: 17px;
|
2536 |
-
}
|
2537 |
-
select, input {
|
2538 |
-
margin-left: 10px;
|
2539 |
-
}
|
2540 |
-
}
|
2541 |
-
select, input {
|
2542 |
-
padding: 8px 0;
|
2543 |
-
}
|
2544 |
-
select.required {
|
2545 |
-
color: #000;
|
2546 |
-
}
|
2547 |
-
}
|
2548 |
-
}
|
2549 |
-
}
|
2550 |
}*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2551 |
.place-order-action {
|
2552 |
margin-top: 20px;
|
2553 |
}
|
@@ -2571,128 +2424,31 @@ body.content-item-only #learn-press-content-item.expand {
|
|
2571 |
z-index: 10;
|
2572 |
position: relative;
|
2573 |
}
|
2574 |
-
.table-orders .order-status.order-status-removed {
|
2575 |
-
color: #FF0000;
|
2576 |
-
}
|
2577 |
/* Shortcode/Widgets */
|
2578 |
-
.
|
2579 |
-
.
|
2580 |
-
.
|
2581 |
display: inline-block;
|
2582 |
}
|
2583 |
-
.
|
2584 |
-
.
|
2585 |
-
.
|
2586 |
content: '/';
|
2587 |
}
|
2588 |
-
.
|
2589 |
-
.
|
2590 |
-
.
|
2591 |
content: '';
|
2592 |
}
|
2593 |
-
.
|
2594 |
-
.
|
2595 |
-
.
|
2596 |
margin: 5px 0;
|
2597 |
}
|
2598 |
-
.
|
2599 |
-
.
|
2600 |
-
.
|
2601 |
margin-bottom: 20px;
|
2602 |
-
border-bottom: 1px dashed #DDD;
|
2603 |
-
padding-bottom: 20px;
|
2604 |
-
}
|
2605 |
-
.edit-course-item-link a {
|
2606 |
-
font-size: 14px;
|
2607 |
-
position: relative;
|
2608 |
-
padding-left: 25px;
|
2609 |
-
}
|
2610 |
-
.edit-course-item-link a:after {
|
2611 |
-
content: "\f464";
|
2612 |
-
font-family: Dashicons;
|
2613 |
-
font-size: 26px;
|
2614 |
-
position: absolute;
|
2615 |
-
bottom: 0;
|
2616 |
-
line-height: 1;
|
2617 |
-
left: 0;
|
2618 |
-
}
|
2619 |
-
.course-item-navigation {
|
2620 |
-
border-top: 4px solid #333;
|
2621 |
-
padding-top: 10px;
|
2622 |
-
margin-top: 20px;
|
2623 |
-
}
|
2624 |
-
.course-item-navigation .nav-links .nav-link {
|
2625 |
-
opacity: 1;
|
2626 |
-
}
|
2627 |
-
.course-item-navigation .nav-links .nav-link a {
|
2628 |
-
opacity: 1;
|
2629 |
-
}
|
2630 |
-
.course-item-navigation .nav-links .nav-link a .meta-nav {
|
2631 |
-
display: block;
|
2632 |
-
text-transform: uppercase;
|
2633 |
-
font-size: small;
|
2634 |
-
color: #b9b9b9;
|
2635 |
-
}
|
2636 |
-
.course-item-navigation .nav-links .nav-link a .post-title {
|
2637 |
-
opacity: 1;
|
2638 |
-
}
|
2639 |
-
.course-item-navigation .nav-links .nav-link.nav-previous {
|
2640 |
-
float: left;
|
2641 |
-
}
|