LearnPress – WordPress LMS Plugin - Version 2.1.6.1

Version Description

  • Removed cache-flush param
  • Added some filters for evaluating course results
  • Fixed js unreachable code
  • Fixed warning message on update post
Download this release

Release Info

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

Code changes from version 2.1.2 to 2.1.6.1

Files changed (79) hide show
  1. assets/css/admin/admin-compressed.css +0 -1
  2. assets/css/admin/admin.css +239 -17
  3. assets/css/admin/admin.less +297 -39
  4. assets/css/admin/attributes.css +17 -0
  5. assets/css/admin/attributes.less +18 -0
  6. assets/css/admin/meta-box-course.css +76 -141
  7. assets/css/admin/meta-box-course.less +914 -980
  8. assets/css/admin/meta-box-order.css +46 -44
  9. assets/css/admin/meta-box-question.css +0 -52
  10. assets/css/learnpress-compressed.css +0 -1
  11. assets/css/learnpress.css +434 -101
  12. assets/css/learnpress.less +2532 -2152
  13. assets/js/admin/admin.js +119 -96
  14. assets/js/admin/attributes.js +92 -0
  15. assets/js/admin/course-editor.js +6 -6
  16. assets/js/admin/meta-box-course.js +46 -109
  17. assets/js/admin/meta-box-order.js +37 -18
  18. assets/js/admin/meta-box-quiz.js +13 -1
  19. assets/js/admin/settings.js +29 -3
  20. assets/js/frontend/bak.course-lesson.js +0 -223
  21. assets/js/frontend/bak.course-quiz.js +0 -45
  22. assets/js/frontend/bak.single-course.v2.js +0 -245
  23. assets/js/frontend/bak.single-quiz.js +0 -731
  24. assets/js/frontend/checkout.js +139 -137
  25. assets/js/frontend/course-filters.js +146 -0
  26. assets/js/frontend/course_coming_soon.js +0 -28
  27. assets/js/frontend/course_coming_soon.min.js +0 -28
  28. assets/js/frontend/learnpress.js +1 -2
  29. assets/js/frontend/lesson.js +3 -6
  30. assets/js/frontend/profile.js +316 -552
  31. assets/js/frontend/quiz.js +922 -916
  32. assets/js/frontend/single-course.js +77 -24
  33. assets/js/global.js +35 -10
  34. assets/js/global.min.js +2 -2
  35. assets/js/jquery.cropit.js +0 -1207
  36. assets/js/jquery.mb-comingsoon.js +0 -346
  37. assets/js/jquery.mb-comingsoon.min.js +0 -1
  38. assets/js/jquery.ocupload.js +0 -277
  39. inc/admin/class-lp-admin-ajax.php +1158 -1139
  40. inc/admin/class-lp-admin-menu.php +24 -2
  41. inc/admin/class-lp-admin-notice.php +3 -2
  42. inc/admin/class-lp-admin.php +232 -230
  43. inc/admin/class-lp-meta-box-tabs.php +138 -0
  44. inc/admin/class-lp-profile.php +0 -139
  45. inc/admin/dashboard-statistics/class-lp-statistic-status.php +4 -4
  46. inc/admin/includes/class-markdown-parse.php +7 -5
  47. inc/admin/lp-admin-functions.php +2167 -2032
  48. inc/admin/meta-boxes/class-course-tabs-field.php +1 -1
  49. inc/admin/meta-boxes/class-curriculum-field.php +0 -316
  50. inc/admin/meta-boxes/class-quiz-questions-field.php +193 -193
  51. inc/{libraries/meta-box/inc/fields → admin/meta-boxes}/duration.php +15 -2
  52. inc/admin/settings/class-lp-settings-checkout.php +80 -80
  53. inc/admin/settings/class-lp-settings-courses.php +203 -175
  54. inc/admin/settings/class-lp-settings-emails.php +44 -21
  55. inc/admin/settings/class-lp-settings-general.php +134 -124
  56. inc/admin/settings/class-lp-settings-pages.php +212 -212
  57. inc/admin/sub-menus/settings.php +11 -0
  58. inc/admin/sub-menus/tools.php +3 -3
  59. inc/admin/views/html-admin-notice-templates.php +22 -4
  60. inc/admin/views/meta-boxes/course/attributes.php +45 -0
  61. inc/admin/views/meta-boxes/course/curriculum.php +33 -33
  62. inc/admin/views/meta-boxes/course/html-course-attribute.php +35 -0
  63. inc/admin/views/meta-boxes/course/loop-item.php +56 -36
  64. inc/admin/views/meta-boxes/course/loop-section.php +26 -55
  65. inc/admin/views/meta-boxes/course/review-logs.php +2 -2
  66. inc/admin/views/meta-boxes/order/actions.php +33 -10
  67. inc/admin/views/meta-boxes/order/details.php +25 -12
  68. inc/admin/views/meta-boxes/tabs.php +115 -0
  69. inc/admin/views/settings/emails/enrolled-course-admin.php +76 -0
  70. inc/admin/views/settings/emails/update-course.php +50 -0
  71. inc/admin/views/settings/emails/user-order-changed-status.php +68 -0
  72. inc/admin/views/settings/fields/course-permalink.php +16 -13
  73. inc/admin/views/settings/fields/image-size.php +21 -21
  74. inc/admin/views/settings/fields/title.php +2 -2
  75. inc/admin/views/settings/general.php +24 -24
  76. inc/attributes/course.php +399 -0
  77. inc/attributes/lp-attributes-functions.php +175 -0
  78. inc/cart/class-lp-cart.php +663 -663
  79. inc/class-lp-ajax.php +698 -655
assets/css/admin/admin-compressed.css DELETED
@@ -1 +0,0 @@
1
- .rwmb-field{margin:20px 0 20px 0;}.rwmb-field .rwmb-input .rwmb-label{margin-top:0;}.lp-nav-tab-wrapper{border-bottom:1px solid #ccc;margin:0;padding:9px 15px 0 0;line-height:inherit;}.learn-press-quick-add-page-inline{display:inline-block;vertical-align:top;margin:0 !important;}.learn-press-quick-add-page-inline > *{vertical-align:top;}.post-type-lp_course .column-price,.post-type-lp_course .column-students{width:10%;}.post-type-lp_course #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input{padding-left:40px;}.post-type-lp_course #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input.hover{padding-left:0;}.post-type-lp_course .type-lp_course.status-pending .row-actions .view{display:none;}#learn-press-admin-settings{}#learn-press-admin-settings #learn_press_email_formats{margin-bottom:10px;}#learn-press-admin-settings .learn-press-email-variables{margin-left:0;margin-top:5px;}#learn-press-admin-settings .learn-press-email-variables li{display:inline-block;cursor:pointer;}#learn-press-admin-settings .learn-press-email-variables li:hover{color:#0085ba;}#learn-press-admin-settings .nav-tab-wrapper{margin-bottom:20px;}#learn-press-admin-settings .subsubsub{float:left;width:240px;position:relative;z-index:10;margin:0 -260px 0 20px;padding-top:11px;}#learn-press-admin-settings .subsubsub li{display:block;}#learn-press-admin-settings .subsubsub li a{display:block;outline:none;box-shadow:none;}#learn-press-admin-settings .learn-press-settings-wrap{float:left;padding:1px 0 15px 300px;background:#FFF;z-index:0;position:relative;width:100%;box-sizing:border-box;opacity:0;}#learn-press-admin-settings .learn-press-settings-wrap:before{content:'';position:absolute;top:0;bottom:0;border-left:1px solid #DDD;margin-left:-30px;}#learn-press-admin-settings .learn-press-settings-wrap:after{content:'';display:block;clear:both;}#learn-press-admin-settings .learn-press-settings-wrap.ready{opacity:1;}#learn-press-admin-settings.no-subtabs .learn-press-settings-wrap{float:none;margin-left:0;padding-left:25px;}#learn-press-admin-settings.no-subtabs .learn-press-settings-wrap:before{display:none;}#learn-press-admin-settings.no-subtabs .subsubsub{display:none;}#learn-press-admin-settings input[type="radio"]{margin:0 !important;}#learn-press-admin-settings label{line-height:1;}#learn-press-admin-settings input[name="learn_press_course_base"]{margin-top:3px;margin-right:3px;}#learn-press-admin-settings .lp-group-title{padding:0 0 10px;border-bottom:3px solid #563d7c;display:inline-block;margin:0;}#learn-press-admin-settings input[type="text"],#learn-press-admin-settings input[type="email"],#learn-press-admin-settings input[type="number"],#learn-press-admin-settings input[type="tel"],#learn-press-admin-settings input[type="password"],#learn-press-admin-settings select{vertical-align:top;}#learn-press-admin-settings input[type="checkbox"]{opacity:1;}#learn-press-admin-settings .lp-setting-field span{vertical-align:top;line-height:24px;}#learn-press-admin-settings .lp-setting-field .lp-sign-times{font-size:19px;}#learn-press-message-box-block{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000;z-index:99999;opacity:0.8;}#learn-press-message-box-window{position:fixed;top:0;bottom:0;left:0;right:0;z-index:100000;color:#FFF;text-align:center;}#message-box-wrap{margin:0 auto;display:inline-block;text-align:left;max-width:70%;}.message-box-title{color:#FFF;margin:0 0 40px 0;font-size:34px;}.message-box-content{font-size:16px;line-height:1.5;}.message-box-animation{background-image:url("../../images/animation.gif");width:220px;height:20px;margin:20px 0 0;}.message-box-buttons{margin:20px 0 0;border-top:1px solid #929292;padding-top:20px;}.message-box-button{margin-right:10px !important;}.post-type-lp_lesson .column-format .lp-label{font-size:100%;}.hide{display:none;}.handle.dashicons{cursor:move;margin-right:0;}.meta_box_remove .dashicons{text-decoration:initial;}.meta_box_course_lesson_quiz li input,.meta_box_course_lesson_quiz li select{min-width:250px;}.description{margin-top:5px;}.dashed-placeholder{border:2px dashed #999;padding:10px;}.learn-press-message{position:relative;}.learn-press-message .learn-press-admin-notice-dismiss{position:absolute;display:inline-block;background-color:#FFFFFF;border-radius:50%;box-shadow:0px 0px 1px 1px #F1F1F1;width:20px;height:20px;text-align:center;line-height:20px;text-decoration:none;top:50%;right:10px;margin-top:-10px;padding:0;}.learn-press-message .learn-press-admin-notice-dismiss:before{font-family:dashicons;content:'\f335';text-align:center;font-size:18px;text-decoration:none;}li.quiz,li.lesson,li.quick_lesson,li.quick_quiz{margin-left:30px;}.wp-core-ui .meta_box_add_section,.wp-core-ui .meta_box_add_lesson,.wp-core-ui .meta_box_add_quiz,.wp-core-ui .meta_box_quick_add_lesson,.wp-core-ui .meta_box_quick_add_quiz{margin-right:10px;}.column-taxonomy-course_category{width:15%;}.learnpress-advertis-admin{margin-left:160px;padding:10px 20px;position:relative;}.learnpress-advertis-admin > .item{display:none;}.learnpress-advertis-admin > .item:first-child{display:block;}.learnpress-advertis-admin .learnpress-wrap-items{position:relative;overflow:hidden;-webkit-transition:visibility 1s, opacity 1s;transition:visibility 1s, opacity 1s;padding:20px;background-color:#fff;border:1px solid #ddd;margin-bottom:30px;}.learnpress-advertis-admin .theme-thumbnail{float:left;width:35%;}.learnpress-advertis-admin .theme-detail{margin-left:35%;padding-left:20px;}.learnpress-advertis-admin .learnpress-item{position:relative;float:left;margin-right:-100%;width:100%;box-sizing:border-box;visibility:hidden;opacity:0;-webkit-transition:visibility 0.5s linear, opacity 0.5s linear;transition:visibility 0.5s linear, opacity 0.5s linear;}.learnpress-advertis-admin img{width:100%;height:auto;float:none;}.learnpress-advertis-admin .learnpress-active{visibility:visible;opacity:1;}.learnpress-advertis-admin .learnpress-controls{position:absolute;bottom:30px;right:0;height:50px;-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%);}.learnpress-advertis-admin .learnpress-controls:after{content:'';clear:both;display:block;}.learnpress-advertis-admin .learnpress-controls .prev-item,.learnpress-advertis-admin .learnpress-controls .next-item{position:absolute;top:0;font-family:'dashicons';width:40px;height:40px;border:1px solid #000;line-height:40px;font-size:16px;color:#000;cursor:pointer;}.learnpress-advertis-admin .learnpress-controls .prev-item{right:95px;}.learnpress-advertis-admin .learnpress-controls .prev-item:before{content:"\f341";display:block;text-align:center;}.learnpress-advertis-admin .learnpress-controls .next-item{right:45px;}.learnpress-advertis-admin .learnpress-controls .next-item:before{content:"\f345";display:block;text-align:center;}@media only screen and (max-width: 1200px) {.learnpress-advertis-admin .theme-thumbnail{width:50%;}.learnpress-advertis-admin .theme-detail{margin-left:25%;width:50%;}}@media only screen and (max-width: 960px) {.learnpress-advertis-admin{margin-left:36px;}.learnpress-advertis-admin .theme-thumbnail{float:none;width:100%;}.learnpress-advertis-admin .theme-detail{margin-top:20px;margin-left:0;padding-left:0;}}@media screen and (max-width: 782px) {.learnpress-advertis-admin{margin-left:0;}}.lpr-add-ons-wrapper .add-on-info{width:65%;display:inline-block;}.lpr-add-ons-wrapper .add-on-action{float:right;}.lpr-add-ons-wrapper .add-on-action a{text-decoration:none;padding:20px;height:80px;width:100px;background:#EBEBEB;margin-right:100px;}.lpr-add-ons-wrapper .add-on-action .add-on-enabled{text-align:center;margin:40px;}.lpr-add-ons-wrapper .add-on-action .add-on-disabled{text-align:center;margin:40px;}.lpr-add-ons-wrapper .add-on-action a:hover{text-decoration:none;content:attr(data-text-disable);}.lp-search-addon{margin:0;width:280px;font-size:16px;font-weight:300;line-height:1.5;padding:3px 5px;height:32px;}.learn-press-add-ons{margin:20px 0 0;}.learn-press-add-ons .lp-addon-hidden{display:none !important;}.learn-press-add-ons .lp-active:nth-of-type(2n+1){clear:none;margin-right:0;margin-left:8px;}.learn-press-add-ons .lp-active:nth-of-type(2n){clear:both;margin-right:8px;margin-left:0;}.learn-press-add-ons.learnpress-premium-plugin .column-description{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-height:1.6em;max-height:6.4em;}.learn-press-add-ons.learnpress-premium-plugin .column-description p{margin:0;line-height:inherit;}.learn-press-add-ons:after{display:block;clear:both;content:'';}.learn-press-add-ons > li{}.learn-press-add-ons > li .add-on-inner{margin:0 20px 40px 20px;border:1px solid #DDD;border-radius:10px;overflow:hidden;}.learn-press-add-ons > li .add-on-thumbnail{position:relative;overflow:hidden;border-bottom:1px solid #E3E3E3;}.learn-press-add-ons > li .add-on-thumbnail img{width:100%;height:auto;vertical-align:top;}.learn-press-add-ons > li .add-on-thumbnail .add-on-overlay{position:absolute;left:0;right:0;height:100%;top:0;-webkit-transition:all 0.25s;background-color:#ADE6FF;opacity:0;}.learn-press-add-ons > li .add-on-thumbnail .add-on-description{position:absolute;left:20px;right:20px;bottom:0;-webkit-transition:all 0.25s;color:#444;opacity:0;}.learn-press-add-ons > li:hover .add-on-overlay{opacity:0.3;}.learn-press-add-ons > li:hover .add-on-description{opacity:1;}.learn-press-add-ons > li .add-on-info{min-height:80px;padding:20px;background-color:#F5F5F5;border-top:1px solid #FFF;}.learn-press-add-ons > li .add-on-info > h3{margin-top:0;}.learn-press-add-ons > li .add-on-actions{position:absolute;bottom:43px;}.learn-press-add-ons > li .add-on-actions .add-on-state{font-size:36px;vertical-align:top;display:none;margin-top:-8px;color:#05B3FF;margin-left:-9px;}.learn-press-add-ons > li .add-on-actions .add-on-state.change{display:inline-block;}.learn-press-add-ons .plugin-card-top{min-height:180px;}.premium_add_ons.active .column-description p{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-height:1.6em;max-height:8em;}.learn-press-add-ons .button.spinner{background:url(../../images/spinner.gif) no-repeat 4px !important;padding-left:30px;visibility:visible;width:auto;}.learn-press-add-ons .action-links > span{display:block;text-align:right;font-style:italic;}.learn-press-add-ons .action-links > span.enabled{color:#7ad03a;}.learn-press-add-ons .action-links > span.disabled{color:#FF0000;}.learn-press-add-ons .action-links .price{color:#439fdf;font-weight:700;font-size:15px;line-height:1.6em;}.learn-press-add-ons .action-links .price del{font-weight:400;color:#aaa;padding-right:5px;}.learn-press-add-ons .plugin-icon img{max-width:100%;}#learn-press-bundle-activate-add-ons.spinner{float:left !important;}.learn-press-add-ons .plugin-version{font-weight:bold;}#learn-press-add-ons-wrap #name{width:30%;}.learn-press-add-ons p:before{content:'';}#learn-press-add-ons-wrap .theme{padding:20px;background-color:#fff;border:1px solid #ddd;overflow:hidden;margin-bottom:30px;}#learn-press-add-ons-wrap .theme-controls{margin-top:20px;margin-bottom:0;}#learn-press-add-ons-wrap .theme h2{margin:0 0 20px 0;line-height:1.4;}#learn-press-add-ons-wrap .theme img{width:400px;height:auto;max-height:100%;float:left;margin:0 20px 0 0;}.related_themes .plugin-card-top{padding-bottom:0;}.related_themes .theme-content{position:relative;}.related_themes .image-thumbnail img{width:100%;}.related_themes .theme-description{margin:0 0 25px 0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;line-height:1.6em;max-height:9.6em;}.related_themes .theme-title{margin-right:100px;font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;font-size:22px;line-height:1.6em;margin-bottom:0;min-height:3.2em;}.related_themes .theme-title a{color:#545454;}.related_themes .theme-rating{float:right;display:inline-block;}.related_themes .star-rating{display:inline-block;}.related_themes .count-rating{font-size:15px;position:relative;top:2px;}.related_themes .theme-detail{position:absolute;right:3px;top:0;text-align:right;line-height:1.6em;}.related_themes .theme-detail:after{content:'';display:block;clear:both;}.related_themes .theme-detail .theme-price{display:inline-block;font-size:24px;color:#545454;font-weight:700;line-height:1.6em;}.related_themes .theme-footer{clear:both;margin-left:-20px;margin-right:-20px;padding:20px;background-color:#fafafa;border-top:1px solid #ddd;overflow:hidden;}@media (max-width: 1280px) {.learn-press-add-ons > li{}}@media screen and (max-width: 782px) {.learn-press-add-ons .enable-now{padding:5px;}.learn-press-add-ons .enable-now:before{margin:0 !important;}#learn-press-add-ons-wrap .theme img{width:50%;}}@media (max-width: 768px) {.learn-press-add-ons > li{}.learn-press-add-ons > li .column-name{margin-right:150px;}}@media (max-width: 480px) {.learn-press-add-ons > li{width:100%;}#learn-press-add-ons-wrap .theme img{width:100%;margin:0 0 20px 0;}}#lpr-add-ons-wrapper .lpr-add-on-block{border-bottom:1px dashed #DDD;padding-bottom:20px;width:50%;float:left;margin-top:20px;}#lpr-add-ons-wrapper .lpr-add-on-block:after{content:'';display:block;clear:both;}#lpr-add-ons-wrapper .lpr-admin-thumbnail{float:left;width:200px;}#lpr-add-ons-wrapper .lpr-admin-thumbnail img{vertical-align:top;}#lpr-add-ons-wrapper .lpr-add-on-info{margin-left:220px;margin-right:20px;}#lpr-add-ons-wrapper .lpr-add-on-info > h3{margin-top:0;}#lpr-add-ons-wrapper .lpr-add-on-info > h3 > span{display:inline-block;padding:0 5px;background-color:#7AD3FA;color:#FFF;border-radius:3px;margin-left:10px;font-size:12px;vertical-align:top;font-weight:normal;}#lpr-add-ons-wrapper .lpr-add-on-action{float:right;width:100px;}input.lpr-fancy-checkbox{display:none;}.lpr-fancy-checkbox.tog{border-radius:20px;box-shadow:inset 0 0 4px rgba(0, 0, 0, 0.6);margin:0 auto;height:19px;width:50px;position:relative;cursor:pointer;font:11px/18px arial;background:#ccc;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease;display:inline-block !important;}.lpr-fancy-checkbox.tog:after{content:'';box-shadow:0 2px 2px rgba(0, 0, 0, 0.6);border-radius:20px;display:block;height:15px;width:15px;background:#fff;position:absolute;top:2px;left:2px;-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease;}.lpr-fancy-checkbox.tog:before{content:'OFF';position:absolute;right:7px;top:1px;color:#fff;}.lpr-fancy-checkbox.tog:hover:after{left:5px;}.lpr-fancy-checkbox.tog.on:before{content:'ON';right:28px;}.lpr-fancy-checkbox.tog.on{background:#05B3FF;}.lpr-fancy-checkbox.tog.on:after{left:33px;}.lpr-fancy-checkbox.tog.on:hover:after{left:30px;}.lp-list-options{border:1px solid #DDD;border-collapse:collapse;width:100%;}.lp-list-option.lp-list-option-empty td,.lp-list-option.lp-list-option-empty th{background-color:#FBE9E9;}.lp-list-option.lp-list-option-empty .lp-answer-check input,.lp-list-option.lp-list-option-empty .lp-list-option-actions i{display:none;}.lp-list-options thead th{border:1px solid #FFF;background-color:#EAEAEA;padding:10px;text-align:left;color:#00A0D2;}.lp-list-options tbody th,.lp-list-options tbody td{border:1px solid #FFF;padding:10px 10px;text-align:left;background-color:#F5F5F5;}.lp-list-options .lp-answer-check{width:100px;}.lp-list-options tbody th input[type="text"],.lp-list-options tbody td input[type="text"]{width:100%;}.lp-list-options .ui-sortable-placeholder{visibility:visible !important;}.lp-list-options .ui-sortable-placeholder td{background-image:url("../../images/stripe.png");}.lp-list-option .lp-answer-text{color:#777;background-color:transparent;border-color:transparent;box-shadow:none;}.lp-list-option .lp-answer-text:after{font-family:dashicons;content:'\f464';}.lp-list-option .lp-answer-text:focus,.lp-list-option:hover .lp-answer-text{box-shadow:none;outline:none;background-color:transparent;border-color:transparent;}.lp-list-option:hover .lp-answer-text{border-style:dashed;}.lp-list-option-actions{cursor:pointer;color:#00A0D2;}.lp-list-option-actions.lp-move-list-option{cursor:move;}.lp-list-option-actions:hover{color:#156077;}#question_answer .rwmb-question-wrapper{margin:12px 0 0 0;}.question-bottom-actions > *{vertical-align:baseline !important;}body.post-type-lp_quiz #questions,body.post-type-lp_question #question_answer_{border:none;box-shadow:none;background-color:transparent;}body.post-type-lp_quiz #questions .handlediv,body.post-type-lp_question #question_answer_ .handlediv{display:none;}body.post-type-lp_quiz #questions .hndle,body.post-type-lp_question #question_answer_ .hndle{display:none;}body.post-type-lp_quiz #questions .inside,body.post-type-lp_question #question_answer_ .inside{padding:0;}#questions .quiz-questions-heading .questions-toggle{float:right;margin:0;line-height:1;}#questions .quiz-questions-heading .questions-toggle a:hover{color:#00a0d2;}#questions #learn-press-dropdown-questions{display:inline-block;position:relative;}#questions #learn-press-dropdown-questions > ul{position:absolute;top:100%;margin:0;padding:0;background-color:#FFF;left:0;right:0;border:1px solid #EEE;border-top:none;display:none;z-index:50;}#questions #learn-press-dropdown-questions > ul > li{margin:0;}#questions #learn-press-dropdown-questions > ul li > a{display:block;padding:5px;outline:none;box-shadow:none;}#questions #learn-press-question-name{font-size:18px;min-width:350px;margin:0;box-shadow:none;border-color:#EEE;color:#BBB;vertical-align:middle;}#questions #learn-press-toggle-questions{height:32px;vertical-align:top;background-color:#FFF;border:1px solid #EEE;width:32px;margin-left:-4px;text-align:center;font-size:30px;padding:0;color:#CCC;border-left:none;outline:none;cursor:pointer;}#questions #learn-press-toggle-questions:hover{color:#AAAAAA;}#questions #learn-press-button-add-question{_vertical-align:middle;}#questions .question-actions{background-color:#FFF;border:1px solid #DDD;padding:10px;display:inline-block;margin-top:20px;position:relative;z-index:999;}#questions .quiz-question-head .quiz-question-actions{float:right;margin:1px 0;visibility:hidden;padding-top:2px;}#questions .quiz-question-head .quiz-question-actions a{margin:0 3px;color:#666666;vertical-align:middle;box-shadow:none;}#questions .quiz-question-head .quiz-question-actions a:hover{color:#00a0d2;}#questions .quiz-question-head:hover .quiz-question-actions{visibility:visible;}#questions .quiz-question.ui-sortable-placeholder{visibility:visible !important;background-image:url("../../images/stripe.png");border:1px solid #DDD;border-bottom:none;}#questions .question-name{border:none;box-shadow:none;padding-left:0;width:70%;color:#777;vertical-align:middle;}#questions .quiz-question-icon img{max-width:100%;height:auto;}#questions #learn-press-dropdown-questions .added{display:none;}.lpr-curriculum-section > h3{padding:0 !important;}.lpr-curriculum-section > h3 .lpr-action{top:0;right:0;}.lpr-curriculum-section.lpr-empty > h3{cursor:default !important;}.lpr-curriculum-section.lpr-empty .lpr-action{display:none !important;}.lpr-course-curriculum button span{text-decoration:underline;}#learn-press-statistic{margin-top:20px;}.learn-press-chart{position:relative;}.learn-press-chart canvas{height:70vh;width:100vw;}.chart-buttons form{display:inline-block;vertical-align:top;}.chart-buttons form input[type="text"]{width:105px;font-size:14px;vertical-align:top;margin:0;text-align:center;font-weight:bold;padding:4px;}.chart-buttons form span{display:inline-block;vertical-align:middle;font-weight:bold;padding:5px;}.learn-press-chart.loading:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:10;background:#FFF;opacity:0.5;}.chart-description li{display:inline-block;margin-right:15px;}.chart-description li:before{content:'';display:inline-block;width:10px;height:10px;vertical-align:middle;margin-right:5px;}.chart-description li span{display:inline-block;vertical-align:middle;font-weight:bold;}.chart-description li.all:before{background:#2FA7FF;}.chart-description li.instructors:before{background:#EAC79B;}.chart-description li.students:before{background:#D4D0CB;}.lpr-stats-time{text-align:center;}.lpr-hidden{display:none;}#lpr-custom-time{position:relative;top:4px;}#lpr-page-block{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000;opacity:0.5;display:none;z-index:9999;}#form-quick-add-lesson-link{position:absolute;}#_lpr_course_price_description > span{font-weight:bold;font-size:15px;}.lpr-ignore,.lpr-ignore:hover{color:#dd3d36;}.lpr-ignore:hover{cursor:pointer;}.lpr-quick-add-page-inline,.lpr-quick-actions-inline{display:inline-block;vertical-align:middle;margin:0 !important;}#lpr-toggle-quiz-mode{background-color:#0077FF;padding:3px;margin-left:5px;display:inline-block;border-radius:3px;text-decoration:none;color:#FFF;}.column-num_of_question{width:150px;}.lp-search-items input[name="lp-item-name"]{width:500px;}.lp-button-dropdown{padding-left:0 !important;padding-right:28px !important;position:relative;z-index:99998;}.lp-button-dropdown .lp-dropdown-label{padding-left:10px;}.lp-button-dropdown .lp-dropdown-arrow{display:inline-block;text-align:center;padding:0 10px;position:absolute;top:-1px;bottom:-1px;}.lp-button-dropdown .lp-dropdown-items{position:absolute;margin:0;background-color:#FFF;top:100%;margin-top:1px;border:1px solid #DDD;right:-1px;width:200px;z-index:9999999;display:none;}.lp-button-dropdown .lp-dropdown-items li{margin:0;}.lp-button-dropdown .lp-dropdown-items li a{display:block;padding:10px;line-height:1;text-decoration:none;outline:none;box-shadow:none;}.lp-button-dropdown .lp-dropdown-items li a:hover{background-color:#F5F5F5;}.lp-button-dropdown:not(.disabled):hover ul,.lp-button-dropdown:not(.disabled) ul:hover{display:block;}.curriculum-section .lp-check-items,.curriculum-section .lp-check-items:hover{padding-left:5px;padding-right:34px;border-color:transparent;background:transparent;box-shadow:none;}.column-format,.column-is_previewable,.column-taxonomy-question-tag{width:10%;}.learn-press-add-ons .plugin-card .install-now:before,.learn-press-add-ons .plugin-card .disable-now:before,.learn-press-add-ons .plugin-card .enable-now:before{margin:3px 5px 0 -2px;display:inline-block;font:400 20px/1 dashicons;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;}.learn-press-add-ons .plugin-card .install-now:before{content:'\f106';color:#0073aa;}.learn-press-add-ons .plugin-card .disable-now:before{content:'\f147';color:#0073aa;}.learn-press-add-ons .plugin-card .enable-now:before{content:'\f335';color:#d54e21;}.learn-press-add-ons .plugin-card .disable-now:hover:before{content:'\f335';color:#d54e21;}.learn-press-add-ons .plugin-card .enable-now:hover:before{content:'\f147';color:#0073aa;}.learn-press-add-ons .plugin-card .button-working:before{content:'\f463' !important;-webkit-animation:lp-spinner 2s infinite linear;animation:lp-spinner 2s infinite linear;margin-right:0;}.learn-press-add-ons .plugin-card .button-working span{display:none;}.lp-button-actions a{text-decoration:none;margin-left:5px;}.learn-press-quick-confirm{position:absolute;z-index:9999;color:#ffffff;padding:2px 8px;display:block;white-space:nowrap;left:-39.625px;top:24px;background-color:#C90202;cursor:pointer;}.learn-press-quick-confirm:hover,.learn-press-quick-confirm:hover:before{background-color:#d73b00;}.learn-press-quick-confirm:before{content:'';display:block;position:absolute;transform:rotate(45deg);width:7px;height:7px;top:-3px;background-color:#C90202;right:7px;}.wp-core-ui .meta_box_add_section,.wp-core-ui .meta_box_add_lesson{margin-right:10px;}.rwmb-meta-box label{color:#222;font-weight:bold;display:block;margin:0 0 16px 0;}.post-type-lp_order #post-body-content,.post-type-lp_order #order_details .handlediv,.post-type-lp_order #order_details .hndle{display:none;}.post-type-lp_order #submitpost .misc-pub-section label{display:block;font-weight:bold;}#learn-press-order{margin:15px;}#learn-press-order .order-data-number{font-size:36px;padding:0;margin-bottom:20px;}#learn-press-order > h3{margin:0 0 10px 0;padding:0;}#learn-press-order .order-data-date,#learn-press-order .order-data-status,#learn-press-order .order-data-payment-method{font-size:18px;padding:0 0 10px 0;}#learn-press-order .user-display-name,#learn-press-order .user-email,#learn-press-order .user-ip-address{padding:0;margin:0 0 10px 0;}#learn-press-order .order-items table{border:1px solid #DDD;border-collapse:collapse;width:100%;}#learn-press-order .order-items table th,#learn-press-order .order-items table td{text-align:left;padding:10px 15px;border:1px solid #DDD;}#learn-press-install-sample-data-notice .install-sample-data-loading{display:none;}#learn_press_dashboard_widget .subsubsub{float:none;}.learn-press-checkbox{display:none !important;}input.regular-text[id^="learn-press-emails"]{width:97%;}.ios-ui-select{background:#dddddd;border:none !important;height:18px;-webkit-border-radius:9px;border-radius:9px;width:30px;-webkit-transition:all 0.3s ease-in-out;-moz-transition:all 0.3s ease-in-out;-ms-transition:all 0.3s ease-in-out;-o-transition:all 0.3s ease-in-out;transition:all 0.3s ease-in-out;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;position:relative;display:inline-block;}.ios-ui-select.checked{-webkit-box-shadow:inset 0 0 0 18px #6ddc5f;box-shadow:inset 0 0 0 18px #6ddc5f;}.ios-ui-select.checked .inner{left:13px;}.ios-ui-select .inner{width:16px;height:16px;position:absolute;top:1px;left:1px;-webkit-border-radius:100%;border-radius:100%;background:white;-webkit-transition:all 350ms cubic-bezier(0, 0.89, 0.44, 1);-moz-transition:all 350ms cubic-bezier(0, 0.89, 0.44, 1);-o-transition:all 350ms cubic-bezier(0, 0.89, 0.44, 1);transition:all 350ms cubic-bezier(0, 0.89, 0.44, 1);-webkit-box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.1);box-shadow:0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.1);}.lp-label-counter{display:inline-block;background-color:#0073AA;border-radius:10px;height:21px;line-height:20px;text-align:center;min-width:21px;color:#FFF;padding:0 5px;}.column-num_of_question,.column-preview,.column-duration,.column-type,.column-taxonomy-question_tag{width:100px;text-align:left;}#learn_press_dashboard_widget .rss-widget ul li{margin-bottom:10px !important;}#learn_press_dashboard_widget .rss-date{margin-left:0;}#learn_press_dashboard_widget_status .inside{padding:0;margin-top:0;}#learn_press_dashboard_widget_status .inside .learnpress-statistic-status{margin-top:0;}#learn_press_dashboard_widget_status .inside .learnpress-statistic-status li{width:50%;float:left;}#learn_press_dashboard_widget_status .inside .learnpress-statistic-status li > a,#learn_press_dashboard_widget_status .inside .learnpress-statistic-status li > span{padding:8px 12px;display:block;}#learn_press_dashboard_widget_status .inside .learnpress-statistic-status li.full-width{width:100%;float:none;clear:both;}#learn_press_dashboard_widget_status .inside .learnpress-statistic-status li.full-width:first-child{border-bottom:1px solid #ececec;}#learn_press_dashboard_widget_status .inside .learnpress-statistic-status li.full-width:first-child a{padding:10px 12px;}#learn_press_dashboard_widget_status .inside .learnpress-statistic-status li.full-width:last-child{border-top:1px solid #ececec;margin:0 12px;}#learn_press_dashboard_widget_status .inside .learnpress-statistic-status li.full-width > a{display:inline-block;}.lp-template-overrides{margin-top:20px;}.lp-template-overrides thead th h4{margin:0;}.lp-template-overrides tbody th{font-weight:bold;}.lp-template-overrides tbody th p{margin:0 0 0 10px;display:inline-block;}.lp-template-overrides tbody th p a{font-weight:normal;outline:none;border:none;box-shadow:none;margin:0;padding:2px 8px;border-radius:3px;}.lp-template-overrides tbody th p a.current{background:#00aadc;color:#FFF;}.lp-template-overrides .lp-template-version{width:100px;}.lp-template-overrides .lp-template-version.outdated{color:#FF0000;}.lp-template-overrides .lp-template-version.up-to-date{color:#1859ff;}.lp-template-overrides .lp-template-version,.lp-template-overrides .lp-core-version{font-weight:bold;}.lp-template-overrides .lp-template-file{width:50%;}.lp-template-overrides #learn-press-no-templates td p{color:#0073aa;}@-webkit-keyframes lp-spinner{0% {-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg);}}@keyframes lp-spinner{0% {-webkit-transform:rotate(0deg);transform:rotate(0deg);}}.rwmb-quiz_questions-wrapper{background:#FFF;}.rwmb-quiz_questions-wrapper .quiz-questions-heading{border:1px solid #DDD;background-color:#F9F9F9;border-bottom:none;margin:0;color:#777;padding:15px 20px 20px;font-size:24px;}.rwmb-quiz_questions-wrapper .quiz-questions-heading a{font-size:32px;color:#0073aa;box-shadow:none;}.rwmb-quiz_questions-wrapper .quiz-questions-heading a.dashicons-arrow-down::before{margin-left:-10px;}.rwmb-quiz_questions-wrapper .quiz-questions-heading a:hover{color:#00a0d2;}.rwmb-quiz_questions-wrapper #learn-press-list-questions{padding:20px;border:1px solid #DDD;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question{background:#FFF;border:1px dashed #DDD;margin:-1px 0 0 0;padding:5px 0;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question:nth-child(2n+1){background-color:#FCFCFC;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question:nth-child(2n+1) .question-name{background-color:#FCFCFC;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question .quiz-question-head{padding:0 20px;position:relative;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question .quiz-question-head .quiz-question-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;margin-right:10px;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question .quiz-question-head .question-name{font-size:16px;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question .quiz-question-head .move{color:#666;cursor:url("../../images/openhand.cur") 7 5, default;position:absolute;right:14px;height:50px;top:5px;width:12px;box-shadow:none;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question .quiz-question-head .move:hover{color:#00a0d2;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question .quiz-question-head:hover .quiz-question-actions{margin-right:20px;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question .quiz-question-head:hover .quiz-question-actions .dashicons-admin-page::before{margin-top:2px;}.rwmb-quiz_questions-wrapper #learn-press-list-questions .quiz-question .quiz-question-content{padding:0 20px;}.post-type-lp_quiz #general-settings a{font-size:14px;font-weight:400;margin-left:10px;}
 
assets/css/admin/admin.css CHANGED
@@ -4,12 +4,30 @@
4
  * @author ThimPress
5
  * @version 1.0
6
  */
 
 
 
 
 
 
 
 
 
7
  .rwmb-field {
8
  margin: 20px 0 20px 0;
9
  }
10
  .rwmb-field .rwmb-input .rwmb-label {
11
  margin-top: 0;
12
  }
 
 
 
 
 
 
 
 
 
13
  .lp-nav-tab-wrapper {
14
  border-bottom: 1px solid #ccc;
15
  margin: 0;
@@ -24,19 +42,6 @@
24
  .learn-press-quick-add-page-inline > * {
25
  vertical-align: top;
26
  }
27
- .post-type-lp_course .column-price,
28
- .post-type-lp_course .column-students {
29
- width: 10%;
30
- }
31
- .post-type-lp_course #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input {
32
- padding-left: 40px;
33
- }
34
- .post-type-lp_course #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input.hover {
35
- padding-left: 0;
36
- }
37
- .post-type-lp_course .type-lp_course.status-pending .row-actions .view {
38
- display: none;
39
- }
40
  #learn-press-admin-settings {
41
  /*input[name="learn_press_single_course_image_size[width]"],
42
  input[name="learn_press_single_course_image_size[height]"],
@@ -92,6 +97,9 @@
92
  box-sizing: border-box;
93
  opacity: 0;
94
  }
 
 
 
95
  #learn-press-admin-settings .learn-press-settings-wrap:before {
96
  content: '';
97
  position: absolute;
@@ -108,10 +116,18 @@
108
  #learn-press-admin-settings .learn-press-settings-wrap.ready {
109
  opacity: 1;
110
  }
 
 
 
 
 
 
 
111
  #learn-press-admin-settings.no-subtabs .learn-press-settings-wrap {
112
  float: none;
113
  margin-left: 0;
114
  padding-left: 25px;
 
115
  }
116
  #learn-press-admin-settings.no-subtabs .learn-press-settings-wrap:before {
117
  display: none;
@@ -153,6 +169,40 @@
153
  #learn-press-admin-settings .lp-setting-field .lp-sign-times {
154
  font-size: 19px;
155
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  /* message box */
157
  #learn-press-message-box-block {
158
  position: fixed;
@@ -222,9 +272,6 @@
222
  .meta_box_course_lesson_quiz li select {
223
  min-width: 250px;
224
  }
225
- .description {
226
- margin-top: 5px;
227
- }
228
  .dashed-placeholder {
229
  border: 2px dashed #999;
230
  padding: 10px;
@@ -1463,7 +1510,8 @@ body.post-type-lp_question #question_answer_ .inside {
1463
  }
1464
  .post-type-lp_order #submitpost .misc-pub-section label {
1465
  display: block;
1466
- font-weight: bold;
 
1467
  }
1468
  #learn-press-order {
1469
  margin: 15px;
@@ -1759,3 +1807,177 @@ input.regular-text[id^="learn-press-emails"] {
1759
  font-weight: 400;
1760
  margin-left: 10px;
1761
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  * @author ThimPress
5
  * @version 1.0
6
  */
7
+ input:focus::-webkit-input-placeholder {
8
+ color: transparent !important;
9
+ }
10
+ input:focus::-moz-placeholder {
11
+ color: transparent !important;
12
+ }
13
+ input:focus:-moz-placeholder {
14
+ color: transparent !important;
15
+ }
16
  .rwmb-field {
17
  margin: 20px 0 20px 0;
18
  }
19
  .rwmb-field .rwmb-input .rwmb-label {
20
  margin-top: 0;
21
  }
22
+ .rwmb-field .rwmb-input .description {
23
+ margin-top: 5px;
24
+ }
25
+ .rwmb-field .rwmb-input .description.option-desc {
26
+ font-weight: normal;
27
+ margin: 8px 0 10px 24px;
28
+ font-size: smaller;
29
+ font-style: italic;
30
+ }
31
  .lp-nav-tab-wrapper {
32
  border-bottom: 1px solid #ccc;
33
  margin: 0;
42
  .learn-press-quick-add-page-inline > * {
43
  vertical-align: top;
44
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  #learn-press-admin-settings {
46
  /*input[name="learn_press_single_course_image_size[width]"],
47
  input[name="learn_press_single_course_image_size[height]"],
97
  box-sizing: border-box;
98
  opacity: 0;
99
  }
100
+ #learn-press-admin-settings .learn-press-settings-wrap input[name="learn_press_auto_redirect_message"] {
101
+ width: 80%;
102
+ }
103
  #learn-press-admin-settings .learn-press-settings-wrap:before {
104
  content: '';
105
  position: absolute;
116
  #learn-press-admin-settings .learn-press-settings-wrap.ready {
117
  opacity: 1;
118
  }
119
+ #learn-press-admin-settings .learn-press-settings-wrap #learn-press-reset-settings {
120
+ float: right;
121
+ opacity: 0.5;
122
+ }
123
+ #learn-press-admin-settings .learn-press-settings-wrap #learn-press-reset-settings:hover {
124
+ opacity: 1;
125
+ }
126
  #learn-press-admin-settings.no-subtabs .learn-press-settings-wrap {
127
  float: none;
128
  margin-left: 0;
129
  padding-left: 25px;
130
+ padding-right: 25px;
131
  }
132
  #learn-press-admin-settings.no-subtabs .learn-press-settings-wrap:before {
133
  display: none;
169
  #learn-press-admin-settings .lp-setting-field .lp-sign-times {
170
  font-size: 19px;
171
  }
172
+ .learnpress_page_learn-press-settings .select2-result .select2-result-label {
173
+ position: relative;
174
+ }
175
+ .learnpress_page_learn-press-settings .select2-result .select2-result-label:before {
176
+ display: inline-block;
177
+ border-bottom: 1px solid #23282d;
178
+ width: 20px;
179
+ position: absolute;
180
+ top: 50%;
181
+ left: 8px;
182
+ }
183
+ .learnpress_page_learn-press-settings .select2-result .select2-result-label:hover:before {
184
+ border-color: #FFF;
185
+ }
186
+ .learnpress_page_learn-press-settings .select2-result.level-1 .select2-result-label {
187
+ padding-left: 35px;
188
+ }
189
+ .learnpress_page_learn-press-settings .select2-result.level-1 .select2-result-label:before {
190
+ content: '';
191
+ }
192
+ .learnpress_page_learn-press-settings .select2-result.level-2 .select2-result-label {
193
+ padding-left: 60px;
194
+ }
195
+ .learnpress_page_learn-press-settings .select2-result.level-2 .select2-result-label:before {
196
+ left: 35px;
197
+ content: '';
198
+ }
199
+ .learnpress_page_learn-press-settings .select2-result.level-3 .select2-result-label {
200
+ padding-left: 85px;
201
+ }
202
+ .learnpress_page_learn-press-settings .select2-result.level-3 .select2-result-label:before {
203
+ left: 60px;
204
+ content: '';
205
+ }
206
  /* message box */
207
  #learn-press-message-box-block {
208
  position: fixed;
272
  .meta_box_course_lesson_quiz li select {
273
  min-width: 250px;
274
  }
 
 
 
275
  .dashed-placeholder {
276
  border: 2px dashed #999;
277
  padding: 10px;
1510
  }
1511
  .post-type-lp_order #submitpost .misc-pub-section label {
1512
  display: block;
1513
+ font-weight: 600;
1514
+ margin-bottom: 8px;
1515
  }
1516
  #learn-press-order {
1517
  margin: 15px;
1807
  font-weight: 400;
1808
  margin-left: 10px;
1809
  }
1810
+ .learn-press-tabs {
1811
+ border: 1px solid #DDD;
1812
+ background: #FFF;
1813
+ }
1814
+ .learn-press-tabs ul.heading-tabs {
1815
+ padding: 0 10px;
1816
+ margin: 0px;
1817
+ border-bottom: 1px solid #DDD;
1818
+ }
1819
+ .learn-press-tabs ul.heading-tabs > li {
1820
+ float: left;
1821
+ margin: 0;
1822
+ position: relative;
1823
+ }
1824
+ .learn-press-tabs ul.heading-tabs > li a {
1825
+ display: block;
1826
+ padding: 15px 10px 15px 10px;
1827
+ font-size: 14px;
1828
+ text-decoration: none;
1829
+ outline: none;
1830
+ box-shadow: none;
1831
+ }
1832
+ .learn-press-tabs ul.heading-tabs > li:before {
1833
+ content: '';
1834
+ border-right: 1px solid #DDD;
1835
+ position: absolute;
1836
+ right: 0;
1837
+ height: 20px;
1838
+ top: 50%;
1839
+ margin-top: -10px;
1840
+ }
1841
+ .learn-press-tabs ul.heading-tabs > li.active a {
1842
+ /*font-weight: bold;*/
1843
+ color: #002a3e;
1844
+ }
1845
+ .learn-press-tabs ul.heading-tabs > li.active:after {
1846
+ border: 1px solid #DDD;
1847
+ -webkit-transform: rotate(45deg);
1848
+ -moz-transform: rotate(45deg);
1849
+ -ms-transform: rotate(45deg);
1850
+ -o-transform: rotate(45deg);
1851
+ display: inline-block;
1852
+ width: 10px;
1853
+ height: 10px;
1854
+ content: '';
1855
+ position: absolute;
1856
+ left: 50%;
1857
+ margin-left: -6px;
1858
+ bottom: -6px;
1859
+ background: #FFF;
1860
+ border-bottom: 0;
1861
+ border-right: 0;
1862
+ }
1863
+ .learn-press-tabs ul.heading-tabs > li:last-child:before {
1864
+ display: none;
1865
+ }
1866
+ .learn-press-tabs .learn-press-tab-content {
1867
+ margin: 0;
1868
+ }
1869
+ .learn-press-tabs .learn-press-tab-content > li {
1870
+ padding: 0 20px 10px 20px;
1871
+ float: left;
1872
+ width: 100%;
1873
+ margin-right: -100%;
1874
+ box-sizing: border-box;
1875
+ }
1876
+ .learn-press-tabs.initialize .learn-press-tab-content > li {
1877
+ visibility: hidden;
1878
+ }
1879
+ .learn-press-tabs.initialize .learn-press-tab-content {
1880
+ position: relative;
1881
+ }
1882
+ .learn-press-tabs.initialize .learn-press-tab-content:before {
1883
+ content: attr(data-text);
1884
+ position: absolute;
1885
+ height: 40px;
1886
+ font-size: 24px;
1887
+ line-height: 40px;
1888
+ width: 50%;
1889
+ text-align: center;
1890
+ margin-left: 25%;
1891
+ top: 50%;
1892
+ margin-top: -20px;
1893
+ color: #a0a0a0;
1894
+ animation: learn-press-meta-box-tabs-initialize-animation linear 1s;
1895
+ animation-iteration-count: infinite;
1896
+ -webkit-animation: learn-press-meta-box-tabs-initialize-animation linear 1s;
1897
+ -webkit-animation-iteration-count: infinite;
1898
+ -moz-animation: learn-press-meta-box-tabs-initialize-animation linear 1s;
1899
+ -moz-animation-iteration-count: infinite;
1900
+ -o-animation: learn-press-meta-box-tabs-initialize-animation linear 1s;
1901
+ -o-animation-iteration-count: infinite;
1902
+ -ms-animation: learn-press-meta-box-tabs-initialize-animation linear 1s;
1903
+ -ms-animation-iteration-count: infinite;
1904
+ }
1905
+ .learn-press-tabs:not(.initialize) .learn-press-tab-content > li {
1906
+ display: none;
1907
+ }
1908
+ .learn-press-tabs:not(.initialize) .learn-press-tab-content > li.active {
1909
+ display: block;
1910
+ }
1911
+ .learn-press-tabs > ul:after {
1912
+ clear: both;
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;
1932
+ }
1933
+ 50% {
1934
+ opacity: 1;
1935
+ }
1936
+ 100% {
1937
+ opacity: 0;
1938
+ }
1939
+ }
1940
+ @-moz-keyframes learn-press-meta-box-tabs-initialize-animation {
1941
+ 0% {
1942
+ opacity: 0;
1943
+ }
1944
+ 50% {
1945
+ opacity: 1;
1946
+ }
1947
+ 100% {
1948
+ opacity: 0;
1949
+ }
1950
+ }
1951
+ @-webkit-keyframes learn-press-meta-box-tabs-initialize-animation {
1952
+ 0% {
1953
+ opacity: 0;
1954
+ }
1955
+ 50% {
1956
+ opacity: 1;
1957
+ }
1958
+ 100% {
1959
+ opacity: 0;
1960
+ }
1961
+ }
1962
+ @-o-keyframes learn-press-meta-box-tabs-initialize-animation {
1963
+ 0% {
1964
+ opacity: 0;
1965
+ }
1966
+ 50% {
1967
+ opacity: 1;
1968
+ }
1969
+ 100% {
1970
+ opacity: 0;
1971
+ }
1972
+ }
1973
+ @-ms-keyframes learn-press-meta-box-tabs-initialize-animation {
1974
+ 0% {
1975
+ opacity: 0;
1976
+ }
1977
+ 50% {
1978
+ opacity: 1;
1979
+ }
1980
+ 100% {
1981
+ opacity: 0;
1982
+ }
1983
+ }
assets/css/admin/admin.less CHANGED
@@ -7,12 +7,35 @@
7
  // admin variables
8
  @primary-icon-color: #666666;
9
  @primary-icon-hover-color: #00a0d2;
10
- .rwmb-field {
11
- margin: 20px 0 20px 0;
 
12
  }
13
 
14
- .rwmb-field .rwmb-input .rwmb-label {
15
- margin-top: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  }
17
 
18
  .lp-nav-tab-wrapper {
@@ -32,29 +55,6 @@
32
  vertical-align: top;
33
  }
34
 
35
- .post-type-lp_course {
36
- & .column-price, & .column-students {
37
- width: 10%;
38
- }
39
-
40
- #course_curriculum .curriculum-section-items .lp-item-empty td.section-item-input {
41
- padding-left: 40px;
42
- &.hover {
43
- padding-left: 0;
44
- }
45
- }
46
-
47
- .type-lp_course {
48
-
49
- &.status-pending {
50
- .row-actions .view {
51
- display: none;
52
- }
53
- }
54
- }
55
-
56
- }
57
-
58
  #learn-press-admin-settings {
59
  #learn_press_email_formats {
60
  margin-bottom: 10px;
@@ -98,6 +98,9 @@
98
  width: 100%;
99
  box-sizing: border-box;
100
  opacity: 0;
 
 
 
101
  &:before {
102
  content: '';
103
  position: absolute;
@@ -114,12 +117,21 @@
114
  &.ready {
115
  opacity: 1;
116
  }
 
 
 
 
 
 
 
117
  }
118
  &.no-subtabs {
119
  .learn-press-settings-wrap {
120
  float: none;
121
  margin-left: 0;
122
  padding-left: 25px;
 
 
123
  &:before {
124
  display: none;
125
  }
@@ -166,17 +178,64 @@
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 */
181
  #learn-press-message-box-block {
182
  position: fixed;
@@ -259,10 +318,6 @@
259
  min-width: 250px;
260
  }
261
 
262
- .description {
263
- margin-top: 5px;
264
- }
265
-
266
  .dashed-placeholder {
267
  border: 2px dashed #999;
268
  padding: 10px;
@@ -397,7 +452,7 @@ li.quiz, li.lesson, li.quick_lesson, li.quick_quiz {
397
  position: relative;
398
  overflow: hidden;
399
  -webkit-transition: visibility 1s, opacity 1s;
400
- transition: visibility 1s, opacity 1s;
401
  padding: 20px;
402
  background-color: #fff;
403
  border: 1px solid #ddd;
@@ -420,7 +475,7 @@ li.quiz, li.lesson, li.quick_lesson, li.quick_quiz {
420
  visibility: hidden;
421
  opacity: 0;
422
  -webkit-transition: visibility 0.5s linear, opacity 0.5s linear;
423
- transition: visibility 0.5s linear, opacity 0.5s linear;
424
 
425
  }
426
  img {
@@ -480,22 +535,24 @@ li.quiz, li.lesson, li.quick_lesson, li.quick_quiz {
480
  }
481
  }
482
  }
483
- @media only screen and (max-width:1200px) {
484
  .theme-thumbnail {
485
  width: 50%;
486
  }
 
487
  .theme-detail {
488
  margin-left: 50%;
489
  }
490
  }
491
 
492
- @media only screen and (max-width:960px) {
493
  margin-left: 36px;
494
 
495
  .theme-thumbnail {
496
  float: none;
497
  width: 100%;
498
  }
 
499
  .theme-detail {
500
  margin-top: 20px;
501
  margin-left: 0;
@@ -540,6 +597,7 @@ li.quiz, li.lesson, li.quick_lesson, li.quick_quiz {
540
  text-decoration: none;
541
  content: attr(data-text-disable);
542
  }
 
543
  .lp-search-addon {
544
  margin: 0;
545
  width: 280px;
@@ -750,6 +808,7 @@ li.quiz, li.lesson, li.quick_lesson, li.quick_quiz {
750
  overflow: hidden;
751
  margin-bottom: 30px;
752
  }
 
753
  #learn-press-add-ons-wrap .theme-controls {
754
  margin-top: 20px;
755
  margin-bottom: 0;
@@ -1751,7 +1810,8 @@ body.post-type-lp_question #question_answer_ .inside {
1751
 
1752
  .post-type-lp_order #submitpost .misc-pub-section label {
1753
  display: block;
1754
- font-weight: bold;
 
1755
  }
1756
 
1757
  #learn-press-order {
@@ -2090,3 +2150,201 @@ input.regular-text[id^="learn-press-emails"] {
2090
  }
2091
  }
2092
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  // admin variables
8
  @primary-icon-color: #666666;
9
  @primary-icon-hover-color: #00a0d2;
10
+
11
+ input:focus::-webkit-input-placeholder {
12
+ color: transparent !important;
13
  }
14
 
15
+ input:focus::-moz-placeholder {
16
+ color: transparent !important;
17
+ }
18
+
19
+ input:focus:-moz-placeholder {
20
+ color: transparent !important;
21
+ }
22
+
23
+ .rwmb-field {
24
+ margin: 20px 0 20px 0;
25
+ .rwmb-input {
26
+ .rwmb-label {
27
+ margin-top: 0;
28
+ }
29
+ .description {
30
+ margin-top: 5px;
31
+ &.option-desc {
32
+ font-weight: normal;
33
+ margin: 8px 0 10px 24px;
34
+ font-size: smaller;
35
+ font-style: italic;
36
+ }
37
+ }
38
+ }
39
  }
40
 
41
  .lp-nav-tab-wrapper {
55
  vertical-align: top;
56
  }
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  #learn-press-admin-settings {
59
  #learn_press_email_formats {
60
  margin-bottom: 10px;
98
  width: 100%;
99
  box-sizing: border-box;
100
  opacity: 0;
101
+ input[name="learn_press_auto_redirect_message"] {
102
+ width: 80%;
103
+ }
104
  &:before {
105
  content: '';
106
  position: absolute;
117
  &.ready {
118
  opacity: 1;
119
  }
120
+ #learn-press-reset-settings {
121
+ float: right;
122
+ opacity: 0.5;
123
+ &:hover {
124
+ opacity: 1;
125
+ }
126
+ }
127
  }
128
  &.no-subtabs {
129
  .learn-press-settings-wrap {
130
  float: none;
131
  margin-left: 0;
132
  padding-left: 25px;
133
+ padding-right: 25px;
134
+
135
  &:before {
136
  display: none;
137
  }
178
  input[type="checkbox"] {
179
  opacity: 1;
180
  }
181
+ .lp-setting-field {
182
+ span {
183
  vertical-align: top;
184
  line-height: 24px;
185
  }
186
+ .lp-sign-times {
187
  font-size: 19px;
188
  }
189
  }
190
  }
191
 
192
+ .learnpress_page_learn-press-settings {
193
+ .select2-result {
194
+ .select2-result-label {
195
+ position: relative;
196
+ &:before {
197
+ display: inline-block;
198
+ border-bottom: 1px solid #23282d;
199
+ width: 20px;
200
+ position: absolute;
201
+ top: 50%;
202
+ left: 8px;
203
+ }
204
+ &:hover {
205
+ &:before {
206
+ border-color: #FFF;
207
+ }
208
+ }
209
+ }
210
+ &.level-1 {
211
+ .select2-result-label {
212
+ padding-left: 35px;
213
+ &:before {
214
+ content: '';
215
+ }
216
+ }
217
+ }
218
+ &.level-2 {
219
+ .select2-result-label {
220
+ padding-left: 60px;
221
+ &:before {
222
+ left: 35px;
223
+ content: '';
224
+ }
225
+ }
226
+ }
227
+ &.level-3 {
228
+ .select2-result-label {
229
+ padding-left: 85px;
230
+ &:before {
231
+ left: 60px;
232
+ content: '';
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+
239
  /* message box */
240
  #learn-press-message-box-block {
241
  position: fixed;
318
  min-width: 250px;
319
  }
320
 
 
 
 
 
321
  .dashed-placeholder {
322
  border: 2px dashed #999;
323
  padding: 10px;
452
  position: relative;
453
  overflow: hidden;
454
  -webkit-transition: visibility 1s, opacity 1s;
455
+ transition: visibility 1s, opacity 1s;
456
  padding: 20px;
457
  background-color: #fff;
458
  border: 1px solid #ddd;
475
  visibility: hidden;
476
  opacity: 0;
477
  -webkit-transition: visibility 0.5s linear, opacity 0.5s linear;
478
+ transition: visibility 0.5s linear, opacity 0.5s linear;
479
 
480
  }
481
  img {
535
  }
536
  }
537
  }
538
+ @media only screen and (max-width: 1200px) {
539
  .theme-thumbnail {
540
  width: 50%;
541
  }
542
+
543
  .theme-detail {
544
  margin-left: 50%;
545
  }
546
  }
547
 
548
+ @media only screen and (max-width: 960px) {
549
  margin-left: 36px;
550
 
551
  .theme-thumbnail {
552
  float: none;
553
  width: 100%;
554
  }
555
+
556
  .theme-detail {
557
  margin-top: 20px;
558
  margin-left: 0;
597
  text-decoration: none;
598
  content: attr(data-text-disable);
599
  }
600
+
601
  .lp-search-addon {
602
  margin: 0;
603
  width: 280px;
808
  overflow: hidden;
809
  margin-bottom: 30px;
810
  }
811
+
812
  #learn-press-add-ons-wrap .theme-controls {
813
  margin-top: 20px;
814
  margin-bottom: 0;
1810
 
1811
  .post-type-lp_order #submitpost .misc-pub-section label {
1812
  display: block;
1813
+ font-weight: 600;
1814
+ margin-bottom: 8px;
1815
  }
1816
 
1817
  #learn-press-order {
2150
  }
2151
  }
2152
  }
2153
+
2154
+ .learn-press-tabs {
2155
+ border: 1px solid #DDD;
2156
+ background: #FFF;
2157
+ ul.heading-tabs {
2158
+ padding: 0 10px;
2159
+ margin: 0px;
2160
+ border-bottom: 1px solid #DDD;
2161
+
2162
+ > li {
2163
+ float: left;
2164
+ margin: 0;
2165
+ position: relative;
2166
+ a {
2167
+ display: block;
2168
+ padding: 15px 10px 15px 10px;
2169
+ font-size: 14px;
2170
+ text-decoration: none;
2171
+ outline: none;
2172
+ box-shadow: none;
2173
+ }
2174
+ &:before {
2175
+ content: '';
2176
+ border-right: 1px solid #DDD;
2177
+ position: absolute;
2178
+ right: 0;
2179
+ height: 20px;
2180
+ top: 50%;
2181
+ margin-top: -10px;
2182
+ }
2183
+ &.active {
2184
+ a {
2185
+ /*font-weight: bold;*/
2186
+ color: #002a3e;
2187
+ }
2188
+ &:after {
2189
+ border: 1px solid #DDD;
2190
+ -webkit-transform: rotate(45deg);
2191
+ -moz-transform: rotate(45deg);
2192
+ -ms-transform: rotate(45deg);
2193
+ -o-transform: rotate(45deg);
2194
+ display: inline-block;
2195
+ width: 10px;
2196
+ height: 10px;
2197
+ content: '';
2198
+ position: absolute;
2199
+ left: 50%;
2200
+ margin-left: -6px;
2201
+ bottom: -6px;
2202
+ background: #FFF;
2203
+ border-bottom: 0;
2204
+ border-right: 0;
2205
+ }
2206
+ }
2207
+ &:last-child {
2208
+ &:before {
2209
+ display: none;
2210
+ }
2211
+ }
2212
+ }
2213
+ }
2214
+
2215
+ .learn-press-tab-content {
2216
+ > li {
2217
+ padding: 0 20px 10px 20px;
2218
+ float: left;
2219
+ width: 100%;
2220
+ margin-right: -100%;
2221
+ box-sizing: border-box;
2222
+ }
2223
+ margin: 0;
2224
+ }
2225
+ &.initialize {
2226
+ .learn-press-tab-content > li {
2227
+ visibility: hidden;
2228
+ }
2229
+ .learn-press-tab-content {
2230
+ position: relative;
2231
+ &:before {
2232
+ content: attr(data-text);
2233
+ position: absolute;
2234
+ height: 40px;
2235
+ font-size: 24px;
2236
+ line-height: 40px;
2237
+ width: 50%;
2238
+ text-align: center;
2239
+ margin-left: 25%;
2240
+ top: 50%;
2241
+ margin-top: -20px;
2242
+ color: #a0a0a0;
2243
+
2244
+ animation: learn-press-meta-box-tabs-initialize-animation linear 1s;
2245
+ animation-iteration-count: infinite;
2246
+ -webkit-animation: learn-press-meta-box-tabs-initialize-animation linear 1s;
2247
+ -webkit-animation-iteration-count: infinite;
2248
+ -moz-animation: learn-press-meta-box-tabs-initialize-animation linear 1s;
2249
+ -moz-animation-iteration-count: infinite;
2250
+ -o-animation: learn-press-meta-box-tabs-initialize-animation linear 1s;
2251
+ -o-animation-iteration-count: infinite;
2252
+ -ms-animation: learn-press-meta-box-tabs-initialize-animation linear 1s;
2253
+ -ms-animation-iteration-count: infinite;
2254
+ }
2255
+ }
2256
+ }
2257
+ &:not(.initialize) {
2258
+ .learn-press-tab-content > li {
2259
+ display: none;
2260
+ &.active {
2261
+ display: block;
2262
+ }
2263
+ }
2264
+ }
2265
+ > ul {
2266
+ &:after {
2267
+ clear: both;
2268
+ content: '';
2269
+ display: block;
2270
+ }
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;
2295
+ }
2296
+ 50% {
2297
+ opacity: 1;
2298
+ }
2299
+ 100% {
2300
+ opacity: 0;
2301
+ }
2302
+ }
2303
+
2304
+ @-moz-keyframes learn-press-meta-box-tabs-initialize-animation {
2305
+ 0% {
2306
+ opacity: 0;
2307
+ }
2308
+ 50% {
2309
+ opacity: 1;
2310
+ }
2311
+ 100% {
2312
+ opacity: 0;
2313
+ }
2314
+ }
2315
+
2316
+ @-webkit-keyframes learn-press-meta-box-tabs-initialize-animation {
2317
+ 0% {
2318
+ opacity: 0;
2319
+ }
2320
+ 50% {
2321
+ opacity: 1;
2322
+ }
2323
+ 100% {
2324
+ opacity: 0;
2325
+ }
2326
+ }
2327
+
2328
+ @-o-keyframes learn-press-meta-box-tabs-initialize-animation {
2329
+ 0% {
2330
+ opacity: 0;
2331
+ }
2332
+ 50% {
2333
+ opacity: 1;
2334
+ }
2335
+ 100% {
2336
+ opacity: 0;
2337
+ }
2338
+ }
2339
+
2340
+ @-ms-keyframes learn-press-meta-box-tabs-initialize-animation {
2341
+ 0% {
2342
+ opacity: 0;
2343
+ }
2344
+ 50% {
2345
+ opacity: 1;
2346
+ }
2347
+ 100% {
2348
+ opacity: 0;
2349
+ }
2350
+ }
assets/css/admin/attributes.css ADDED
@@ -0,0 +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
+ }
assets/css/admin/attributes.less ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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,6 +3,13 @@
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,65 +32,68 @@
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,37 +101,37 @@
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,17 +140,17 @@
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,65 +161,65 @@
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,26 +229,26 @@
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,10 +258,10 @@
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,7 +273,7 @@
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,11 +282,11 @@
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,13 +302,13 @@
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,89 +483,14 @@ tr.focus .learn-press-dropdown-item-types > span.learn-press-icon {
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;
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
  font-size: 12px;
33
  font-style: italic;
34
  }
35
+ #lp-course-curriculum {
 
 
 
36
  border: none;
37
  background-color: transparent;
38
+ margin: 20px 0;
39
  }
40
+ .post-type-lp_course .column-price,
41
+ .post-type-lp_course .column-students {
42
+ width: 10%;
43
  }
44
+ .post-type-lp_course #lp-course-curriculum .curriculum-section-items .lp-item-empty td.section-item-input {
45
+ padding-left: 40px;
46
+ }
47
+ .post-type-lp_course #lp-course-curriculum .curriculum-section-items .lp-item-empty td.section-item-input.hover {
48
+ padding-left: 0;
49
  }
50
+ .post-type-lp_course .type-lp_course.status-pending .row-actions .view {
51
+ display: none;
52
+ }
53
+ #lp-course-curriculum .curriculum-heading {
54
  margin: 0 0 20px 0;
55
  padding: 10px 20px;
56
  background-color: #FFF;
57
  line-height: 1;
58
  border: 1px solid #DDD;
59
  }
60
+ #lp-course-curriculum .curriculum-heading .description {
61
  font-weight: normal;
62
  color: #999;
63
  display: block;
64
  font-size: 90%;
65
  margin-top: 10px;
66
  }
67
+ #lp-course-curriculum .curriculum-heading .items-toggle {
68
  float: right;
69
  margin: -33px 7px 0 0;
70
  line-height: 1;
71
  box-shadow: none;
72
  }
73
+ #lp-course-curriculum .curriculum-heading .items-toggle a {
74
  -webkit-box-shadow: none;
75
  -moz-box-shadow: none;
76
  box-shadow: none;
77
  font-size: 32px;
78
  }
79
+ #lp-course-curriculum .curriculum-sections {
80
  margin: 0;
81
  background-color: #FFF;
82
  border-bottom: 1px solid #DDD;
83
  }
84
+ #lp-course-curriculum .curriculum-section {
85
  margin: -1px 0 0 0;
86
  background-color: #FFF;
87
  border-bottom: 1px solid #DDD;
88
  position: relative;
89
  }
90
+ #lp-course-curriculum .curriculum-section.ui-sortable-placeholder {
91
  background-image: url("../../images/stripe.png");
92
  visibility: visible !important;
93
  border: 1px solid #DDD;
94
  border-bottom: none;
95
  }
96
+ #lp-course-curriculum .curriculum-section-head {
97
  border: 1px solid #DDD;
98
  background-color: #F9F9F9;
99
  border-bottom: none;
101
  color: #777;
102
  padding: 3px 20px;
103
  }
104
+ #lp-course-curriculum .curriculum-section-head input {
105
  background-color: #F9F9F9;
106
  }
107
+ #lp-course-curriculum .curriculum-section-head .lp-section-actions {
108
  float: right;
109
  margin: 14px 0;
110
  visibility: hidden;
111
  position: relative;
112
  }
113
+ #lp-course-curriculum .curriculum-section:not(.lp-empty-section) .curriculum-section-head:hover .lp-section-actions {
114
  visibility: visible;
115
  }
116
+ #lp-course-curriculum .curriculum-section .lp-section-actions a {
117
  vertical-align: middle;
118
  color: #666666;
119
  width: 24px;
120
  height: 24px;
121
  box-shadow: none;
122
  }
123
+ #lp-course-curriculum .curriculum-section .lp-section-actions a[data-action="expand"] {
124
  line-height: 28px;
125
  }
126
+ #lp-course-curriculum .curriculum-section .lp-section-actions a:before {
127
  width: 24px;
128
  height: 24px;
129
  font-size: 24px;
130
  }
131
+ #lp-course-curriculum .curriculum-section .lp-section-actions a:hover {
132
  color: #00a0d2;
133
  }
134
+ #lp-course-curriculum .curriculum-section .curriculum-section-head .lp-section-actions .move {
135
  cursor: url("../../../assets/images/openhand.cur") 7 5, default;
136
  position: absolute;
137
  right: -15px;
140
  background: url("../../../assets/images/grippy_large.png") right no-repeat;
141
  width: 20px;
142
  }
143
+ #lp-course-curriculum .curriculum-section-content {
144
  border: 1px solid #DDD;
145
  padding: 20px;
146
  border-bottom-width: 0;
147
  width: 100%;
148
  box-sizing: border-box;
149
  }
150
+ #lp-course-curriculum .curriculum-section.ui-sortable-helper {
151
  border-bottom: 1px solid #DDD;
152
  }
153
+ #lp-course-curriculum .curriculum-section-head .lp-section-name {
154
  border: none;
155
  outline: none;
156
  box-shadow: none;
161
  padding: 0;
162
  height: 50px;
163
  }
164
+ #lp-course-curriculum .curriculum-section-head .lp-section-name:focus {
165
  color: #444;
166
  }
167
+ #lp-course-curriculum .curriculum-section.lp-empty-section .curriculum-section-content {
168
  _display: none;
169
  }
170
+ #lp-course-curriculum .curriculum-section-items {
171
  border-collapse: collapse;
172
  width: 100%;
173
  }
174
+ #lp-course-curriculum .curriculum-section-items .lp-section-item {
175
  border: 1px dashed #DDD;
176
  margin: -1px 0 0 0;
177
  padding: 5px 0;
178
  background-color: #FFF;
179
  }
180
+ #lp-course-curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1),
181
+ #lp-course-curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1) .section-item-input input {
182
  background-color: #FCFCFC;
183
  }
184
+ #lp-course-curriculum .curriculum-section-items .lp-section-item .lp-item-actions {
185
  margin: 0;
186
  float: right;
187
  position: relative;
188
  }
189
+ #lp-course-curriculum .curriculum-section-items .lp-section-item .lp-item-actions a {
190
  vertical-align: middle;
191
  color: #666;
192
  margin-top: -2px;
193
  box-shadow: none;
194
  }
195
+ #lp-course-curriculum .curriculum-section-items .lp-section-item .lp-item-actions a:hover {
196
  color: #00a0d2;
197
  }
198
+ #lp-course-curriculum .curriculum-section-items .lp-section-item[data-item_id=""] .lp-edit {
199
  display: none;
200
  }
201
+ #lp-course-curriculum .curriculum-section-items .lp-section-item.lp-item-empty .lp-item-actions {
202
  display: none;
203
  }
204
+ #lp-course-curriculum .lp-section-item.ui-sortable-placeholder {
205
  visibility: visible !important;
206
  }
207
+ #lp-course-curriculum .lp-section-item.ui-sortable-placeholder td {
208
  background-image: url("../../../assets/images/stripe.png");
209
  border-bottom: none;
210
  }
211
+ #lp-course-curriculum .lp-item-actions > * {
212
  visibility: hidden;
213
  }
214
+ #lp-course-curriculum .item-bulk-actions {
215
  text-align: right;
216
  margin-top: 0;
217
  margin-bottom: 15px;
218
  }
219
+ #lp-course-curriculum .lp-section-item:not(.lp-item-empty):hover .lp-item-actions > * {
220
  visibility: visible;
221
  }
222
+ #lp-course-curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty) .item-checkbox {
223
  display: inline-block;
224
  height: 34px;
225
  border: none;
229
  cursor: url("../../../assets/images/openhand.cur") 7 5, default;
230
  visibility: visible;
231
  }
232
+ #lp-course-curriculum .curriculum-section-items .lp-section-item .item-checkbox input {
233
  opacity: 0.4;
234
  }
235
+ #lp-course-curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty):hover .item-checkbox input {
236
  opacity: 1;
237
  }
238
+ #lp-course-curriculum .lp-item-lp_lesson .handle.learn-press-icon:before {
239
  content: "\e900";
240
  }
241
+ #lp-course-curriculum .lp-item-lp_quiz .handle.learn-press-icon:before {
242
  content: "\e901";
243
  }
244
+ #lp-course-curriculum .lp-section-item.lp-item-new .handle {
245
  color: #999;
246
  }
247
+ #lp-course-curriculum .curriculum-section-items .lp-section-item:hover,
248
+ #lp-course-curriculum .curriculum-section-items .lp-section-item:hover input.lp-item-name {
249
  background-color: #F9F9F9;
250
  }
251
+ #lp-course-curriculum .lp-section-item .handle {
252
  width: 32px;
253
  height: 32px;
254
  display: inline-block;
258
  line-height: 32px;
259
  color: #00A0D2;
260
  }
261
+ #lp-course-curriculum .lp-section-item.remove input.lp-item-name {
262
  color: #FF0000;
263
  }
264
+ #lp-course-curriculum .lp-section-item input.lp-item-name {
265
  color: #777;
266
  border: none;
267
  box-shadow: none;
273
  overflow: hidden;
274
  white-space: nowrap;
275
  }
276
+ #lp-course-curriculum .lp-section-describe {
277
  border: none;
278
  box-shadow: none;
279
  color: #999;
282
  float: left;
283
  padding-left: 0;
284
  }
285
+ #lp-course-curriculum .curriculum-section-items .lp-section-item input.lp-item-name:focus,
286
+ #lp-course-curriculum input:focus {
287
  color: #444;
288
  }
289
+ #lp-course-curriculum .lp-section-item .section-item-icon {
290
  width: 32px;
291
  white-space: nowrap;
292
  }
302
  cursor: pointer;
303
  border: 1px solid transparent;
304
  }
305
+ #lp-course-curriculum .lp-section-item .learn-press-icon.item-lp_quiz:before {
306
  content: "\f469";
307
  }
308
+ #lp-course-curriculum .lp-section-item .learn-press-icon.item-lp_lesson:before {
309
  content: "\f330";
310
  }
311
+ #lp-course-curriculum .lp-section-item td {
312
  height: 30px;
313
  }
314
  #poststuff .postbox-container {
483
  .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;
assets/css/admin/meta-box-course.less CHANGED
@@ -1,981 +1,915 @@
1
- /* meta box course */
2
- .rwmb-duration-wrapper input[type="text"],
3
- .rwmb-duration-wrapper select {
4
- vertical-align: baseline;
5
- }
6
-
7
- .post-type-lp_course {
8
- #postdivric,
9
- #submitpost {
10
- visibility: hidden;
11
- }
12
- }
13
-
14
- #learn-press-review-message {
15
- margin-bottom: 10px;
16
- > h4 {
17
- margin: 0 0 10px 0;
18
- }
19
- > textarea {
20
- width: 100%;
21
- height: 100px;
22
- }
23
- .lp-pending-review-message {
24
- background: #c44;
25
- padding: 5px 10px;
26
- color: #FFF;
27
- margin: -10px -10px 10px;
28
- font-size: 12px;
29
- font-style: italic;
30
- }
31
- }
32
-
33
- #learn-press-button-toggle-editor {
34
- margin: 20px 0 0;
35
- }
36
-
37
- #course_curriculum {
38
- border: none;
39
- background-color: transparent;
40
- }
41
-
42
- #course_curriculum .handlediv,
43
- #course_curriculum .hndle {
44
- display: none;
45
- }
46
-
47
- #course_curriculum .inside {
48
- margin: 0;
49
- padding: 0;
50
- }
51
-
52
- #course_curriculum .curriculum-heading {
53
- margin: 0 0 20px 0;
54
- padding: 10px 20px;
55
- background-color: #FFF;
56
- line-height: 1;
57
- border: 1px solid #DDD;
58
- }
59
-
60
- #course_curriculum .curriculum-heading .description {
61
- font-weight: normal;
62
- color: #999;
63
- display: block;
64
- font-size: 90%;
65
- margin-top: 10px;;
66
- }
67
-
68
- #course_curriculum .curriculum-heading .items-toggle {
69
- float: right;
70
- margin: -33px 7px 0 0;
71
- line-height: 1;
72
- box-shadow: none;
73
- }
74
-
75
- #course_curriculum .curriculum-heading .items-toggle a {
76
- -webkit-box-shadow: none;
77
- -moz-box-shadow: none;
78
- box-shadow: none;
79
- font-size: 32px;
80
-
81
- }
82
-
83
- #course_curriculum .curriculum-sections {
84
- margin: 0;
85
- background-color: #FFF;
86
- border-bottom: 1px solid #DDD;
87
- }
88
-
89
- #course_curriculum .curriculum-section {
90
- margin: -1px 0 0 0;
91
- background-color: #FFF;
92
- border-bottom: 1px solid #DDD;
93
- position: relative;
94
- }
95
-
96
- #course_curriculum .curriculum-section.ui-sortable-placeholder {
97
- background-image: url("../../images/stripe.png");
98
- visibility: visible !important;
99
- border: 1px solid #DDD;
100
- border-bottom: none;
101
- }
102
-
103
- #course_curriculum .curriculum-section-head {
104
- border: 1px solid #DDD;
105
- background-color: #F9F9F9;
106
- border-bottom: none;
107
- margin: 0;
108
- color: #777;
109
- padding: 3px 20px;
110
- }
111
-
112
- #course_curriculum .curriculum-section-head input {
113
- background-color: #F9F9F9;
114
- }
115
-
116
- #course_curriculum .curriculum-section-head .lp-section-actions {
117
- float: right;
118
- margin: 14px 0;
119
- visibility: hidden;
120
- position: relative;
121
- }
122
-
123
- #course_curriculum .curriculum-section:not(.lp-empty-section) .curriculum-section-head:hover .lp-section-actions {
124
- visibility: visible;
125
- }
126
-
127
- #course_curriculum .curriculum-section .lp-section-actions a {
128
- vertical-align: middle;
129
- color: #666666;
130
- width: 24px;
131
- height: 24px;
132
- box-shadow: none;
133
- }
134
-
135
- #course_curriculum .curriculum-section .lp-section-actions a[data-action="expand"] {
136
- line-height: 28px;
137
- }
138
-
139
- #course_curriculum .curriculum-section .lp-section-actions a:before {
140
- width: 24px;
141
- height: 24px;
142
- font-size: 24px;
143
- }
144
-
145
- #course_curriculum .curriculum-section .lp-section-actions a:hover {
146
- color: #00a0d2;
147
- }
148
-
149
- #course_curriculum .curriculum-section .curriculum-section-head .lp-section-actions .move {
150
- cursor: url("../../../assets/images/openhand.cur") 7 5, default;
151
- position: absolute;
152
- right: -15px;
153
- height: 57px;
154
- top: -15px;
155
- background: url("../../../assets/images/grippy_large.png") right no-repeat;
156
- width: 20px;
157
- }
158
-
159
- #course_curriculum .curriculum-section-content {
160
- border: 1px solid #DDD;
161
- padding: 20px;
162
- border-bottom-width: 0;
163
- width: 100%;
164
- box-sizing: border-box;
165
- }
166
-
167
- #course_curriculum .curriculum-section.ui-sortable-helper {
168
- border-bottom: 1px solid #DDD;
169
- }
170
-
171
- #course_curriculum .curriculum-section-head .lp-section-name {
172
- border: none;
173
- outline: none;
174
- box-shadow: none;
175
- font-size: 24px;
176
- color: #777;
177
- width: 70%;
178
- margin: 0;
179
- padding: 0;
180
- height: 50px;
181
- }
182
-
183
- #course_curriculum .curriculum-section-head .lp-section-name:focus {
184
- color: #444;
185
- }
186
-
187
- #course_curriculum .curriculum-section.lp-empty-section .curriculum-section-content {
188
- _display: none;
189
- }
190
-
191
- #course_curriculum .curriculum-section-items {
192
- border-collapse: collapse;
193
- width: 100%;
194
- }
195
-
196
- #course_curriculum .curriculum-section-items .lp-section-item {
197
- border: 1px dashed #DDD;
198
- margin: -1px 0 0 0;
199
- padding: 5px 0;
200
- background-color: #FFF;
201
- }
202
-
203
- #course_curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1),
204
- #course_curriculum .curriculum-section-items .lp-section-item:nth-child(2n+1) .section-item-input input {
205
- background-color: #FCFCFC;
206
- }
207
-
208
- #course_curriculum .curriculum-section-items .lp-section-item .lp-item-actions {
209
- margin: 0;
210
- float: right;
211
- position: relative;
212
- }
213
-
214
- #course_curriculum .curriculum-section-items .lp-section-item .lp-item-actions a {
215
- vertical-align: middle;
216
- color: #666;
217
- margin-top: -2px;
218
- box-shadow: none;
219
- }
220
-
221
- #course_curriculum .curriculum-section-items .lp-section-item .lp-item-actions a:hover {
222
- color: #00a0d2;
223
- }
224
-
225
- #course_curriculum .curriculum-section-items .lp-section-item[data-item_id=""] .lp-edit {
226
- display: none;
227
- }
228
-
229
- #course_curriculum .curriculum-section-items .lp-section-item.lp-item-empty .lp-item-actions {
230
- display: none;
231
- }
232
-
233
- #course_curriculum .lp-section-item.ui-sortable-helper td {
234
-
235
- }
236
-
237
- #course_curriculum .lp-section-item.ui-sortable-placeholder {
238
- visibility: visible !important;
239
- }
240
-
241
- #course_curriculum .lp-section-item.ui-sortable-placeholder td {
242
- background-image: url("../../../assets/images/stripe.png");
243
- border-bottom: none;
244
- }
245
-
246
- #course_curriculum .lp-item-actions > * {
247
- visibility: hidden;
248
- }
249
-
250
- #course_curriculum .lp-item-actions > a {
251
- }
252
-
253
- #course_curriculum .item-bulk-actions {
254
- text-align: right;
255
- margin-top: 0;
256
- margin-bottom: 15px;
257
- }
258
-
259
- #course_curriculum .lp-section-item:not(.lp-item-empty):hover .lp-item-actions > * {
260
- visibility: visible;
261
- }
262
-
263
- #course_curriculum .curriculum-section-items .lp-section-item:not(.lp-item-empty) .item-checkbox {
264
- display: inline-block;
265
- height: 34px;
266
- border: none;
267
- line-height: 32px;
268
- 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;