LearnPress – WordPress LMS Plugin - Version 0.9.20

Version Description

  • Removed some bad source codes.
  • Made LearnPress custom post slugs translatable.
  • Improved questions form.
  • Fixed problem with quiz setting "Show correct answer".
  • Fixed missing lessons navigation for no-require-enrolled courses.
  • Updated default language file.
Download this release

Release Info

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

Version 0.9.20

Files changed (440) hide show
  1. assets/css/learnpress-admin-compat.css +191 -0
  2. assets/css/learnpress-admin.css +702 -0
  3. assets/css/learnpress.css +514 -0
  4. assets/css/select2/select2-spinner.gif +0 -0
  5. assets/css/select2/select2.css +732 -0
  6. assets/css/select2/select2.png +0 -0
  7. assets/css/select2/select2x2.png +0 -0
  8. assets/css/select2/spinner.gif +0 -0
  9. assets/css/shortcode-style/learnpress-archive-course.css +26 -0
  10. assets/css/timer.css +0 -0
  11. assets/css/tipsy.css +25 -0
  12. assets/css/toastr.css +197 -0
  13. assets/fonts/Sumana-Regular.ttf +0 -0
  14. assets/images/ajax-loader.gif +0 -0
  15. assets/images/ajaxload.gif +0 -0
  16. assets/images/icon-128x128.png +0 -0
  17. assets/images/openhand.cur +0 -0
  18. assets/images/spinner.gif +0 -0
  19. assets/js/chart.min.js +10 -0
  20. assets/js/custom.chart.js +32 -0
  21. assets/js/global.js +27 -0
  22. assets/js/jquery.alert.js +210 -0
  23. assets/js/jquery.appear.js +102 -0
  24. assets/js/jquery.block-ui.js +26 -0
  25. assets/js/jquery.timer.js +84 -0
  26. assets/js/jquery.tipsy.js +258 -0
  27. assets/js/learnpress-admin.js +655 -0
  28. assets/js/learnpress-embed-button.js +22 -0
  29. assets/js/learnpress.js +535 -0
  30. assets/js/learnpress.min.js +534 -0
  31. assets/js/pointer.js +17 -0
  32. assets/js/single-quiz.js +476 -0
  33. assets/js/toJSON.js +100 -0
  34. assets/js/toastr.js +415 -0
  35. dummy-data/learnpress-how-to-use-learnpress.xml +1073 -0
  36. inc/abstracts/abstract-lp-course.php +155 -0
  37. inc/abstracts/abstract-lp-user.php +298 -0
  38. inc/abstracts/abstract-lpr-question-type.php +577 -0
  39. inc/admin/class-lpr-plugin-install-list-table.php +421 -0
  40. inc/admin/class-lpr-upgrader.php +176 -0
  41. inc/admin/class.lpr-admin-ajax.php +311 -0
  42. inc/admin/class.lpr-admin-assets.php +146 -0
  43. inc/admin/class.lpr-admin-settings.php +196 -0
  44. inc/admin/class.lpr-admin.php +83 -0
  45. inc/admin/class.lpr-email.php +100 -0
  46. inc/admin/class.lpr-profile.php +154 -0
  47. inc/admin/includes/class-markdown-parse.php +2932 -0
  48. inc/admin/includes/class-readme-parse.php +329 -0
  49. inc/admin/lpr-admin-functions.php +598 -0
  50. inc/admin/meta-boxes/css/course.css +249 -0
  51. inc/admin/meta-boxes/css/question.css +66 -0
  52. inc/admin/meta-boxes/fields/class.course-lesson-quiz.php +512 -0
  53. inc/admin/meta-boxes/fields/class.question.php +106 -0
  54. inc/admin/meta-boxes/fields/class.quiz-question.php +182 -0
  55. inc/admin/meta-boxes/fields/class.teacher.php +128 -0
  56. inc/admin/meta-boxes/js/course.js +808 -0
  57. inc/admin/meta-boxes/js/quiz-question.js +33 -0
  58. inc/admin/pointers/pointers.php +74 -0
  59. inc/admin/settings/class.lpr-settings-base.php +83 -0
  60. inc/admin/settings/class.lpr-settings-emails.php +264 -0
  61. inc/admin/settings/class.lpr-settings-general.php +121 -0
  62. inc/admin/settings/class.lpr-settings-pages.php +187 -0
  63. inc/admin/settings/class.lpr-settings-payment.php +170 -0
  64. inc/admin/statistics/courses.php +19 -0
  65. inc/admin/statistics/students.php +41 -0
  66. inc/admin/sub-menus/add-ons.php +313 -0
  67. inc/admin/sub-menus/settings.php +62 -0
  68. inc/admin/sub-menus/statistics.php +46 -0
  69. inc/cart/class.lpr-cart.php +136 -0
  70. inc/class-lp-checkout.php +181 -0
  71. inc/class-lp-course-simple.php +4 -0
  72. inc/class-lp-course.php +87 -0
  73. inc/class-lp-order.php +178 -0
  74. inc/class-lp-quiz.php +153 -0
  75. inc/class-lpr-question-factory.php +256 -0
  76. inc/class.lpr-ajax.php +663 -0
  77. inc/class.lpr-assets.php +162 -0
  78. inc/class.lpr-autoloader.php +87 -0
  79. inc/class.lpr-install.php +59 -0
  80. inc/class.lpr-multi-language.php +53 -0
  81. inc/class.lpr-session.php +81 -0
  82. inc/class.lpr-settings.php +114 -0
  83. inc/class.lpr-shortcodes.php +152 -0
  84. inc/custom-post-types/course.php +420 -0
  85. inc/custom-post-types/lesson.php +332 -0
  86. inc/custom-post-types/order.php +558 -0
  87. inc/custom-post-types/question.php +216 -0
  88. inc/custom-post-types/quiz.php +394 -0
  89. inc/debug.php +24 -0
  90. inc/gateways/class.lpr-gateway-abstract.php +35 -0
  91. inc/gateways/class.lpr-gateways.php +77 -0
  92. inc/gateways/paypal/class.lpr-gateway-paypal.php +574 -0
  93. inc/gateways/paypal/paypal-ipn/cert/api_cert_chain.crt +54 -0
  94. inc/gateways/paypal/paypal-ipn/ipn.php +154 -0
  95. inc/gateways/paypal/paypal-ipn/ipn_errors.log +1 -0
  96. inc/gateways/paypal/paypal-ipn/ipnlistener.php +328 -0
  97. inc/lp-order-functions.php +40 -0
  98. inc/lpr-add-on-functions.php +696 -0
  99. inc/lpr-anonymous-user-quiz-functions.php +318 -0
  100. inc/lpr-core-functions.php +1831 -0
  101. inc/lpr-course-functions.php +2618 -0
  102. inc/lpr-deprecated-functions.php +4 -0
  103. inc/lpr-js-template.php +27 -0
  104. inc/lpr-quiz-functions.php +392 -0
  105. inc/lpr-template-functions.php +1268 -0
  106. inc/lpr-template-hooks.php +98 -0
  107. inc/order/class.lpr-order.php +93 -0
  108. inc/order/lpr-order-functions.php +442 -0
  109. inc/question-type/assets/css/admin.question.css +259 -0
  110. inc/question-type/assets/js/admin.question.js +794 -0
  111. inc/question-type/assets/js/question.js +7 -0
  112. inc/question-type/class.lpr-question-type-multi-choice.php +251 -0
  113. inc/question-type/class.lpr-question-type-none.php +43 -0
  114. inc/question-type/class.lpr-question-type-single-choice.php +237 -0
  115. inc/question-type/class.lpr-question-type-true-or-false.php +169 -0
  116. inc/shortcodes/archive-courses.php +141 -0
  117. inc/shortcodes/course-summary.php +11 -0
  118. inc/user/class-lp-user-guest.php +30 -0
  119. inc/user/class-lp-user.php +22 -0
  120. inc/user/class.lpr-user.php +19 -0
  121. inc/user/lpr-user-functions.php +164 -0
  122. lang/learnpress-de_DE.mo +0 -0
  123. lang/learnpress-de_DE.po +2452 -0
  124. lang/learnpress-fr_FR.mo +0 -0
  125. lang/learnpress-fr_FR.po +2330 -0
  126. lang/learnpress-id_ID.mo +0 -0
  127. lang/learnpress-id_ID.po +2338 -0
  128. lang/learnpress-it_IT.mo +0 -0
  129. lang/learnpress-it_IT.po +2343 -0
  130. lang/learnpress-nl_NL.mo +0 -0
  131. lang/learnpress-nl_NL.po +2327 -0
  132. lang/learnpress-pl_PL.mo +0 -0
  133. lang/learnpress-pl_PL.po +2473 -0
  134. lang/learnpress-ru_RU.mo +0 -0
  135. lang/learnpress-ru_RU.po +2769 -0
  136. lang/learnpress.pot +2631 -0
  137. learnpress.php +558 -0
  138. lib/meta-box/css/autocomplete.css +16 -0
  139. lib/meta-box/css/color.css +7 -0
  140. lib/meta-box/css/divider.css +7 -0
  141. lib/meta-box/css/file.css +65 -0
  142. lib/meta-box/css/heading.css +12 -0
  143. lib/meta-box/css/image-select.css +24 -0
  144. lib/meta-box/css/image.css +76 -0
  145. lib/meta-box/css/jqueryui/jquery-ui-timepicker-addon.css +26 -0
  146. lib/meta-box/css/jqueryui/jquery.ui.core.css +84 -0
  147. lib/meta-box/css/jqueryui/jquery.ui.datepicker.css +231 -0
  148. lib/meta-box/css/jqueryui/jquery.ui.slider.css +76 -0
  149. lib/meta-box/css/jqueryui/jquery.ui.theme.css +919 -0
  150. lib/meta-box/css/oembed.css +13 -0
  151. lib/meta-box/css/plupload-image.css +28 -0
  152. lib/meta-box/css/range.css +4 -0
  153. lib/meta-box/css/select-advanced.css +4 -0
  154. lib/meta-box/css/select.css +4 -0
  155. lib/meta-box/css/select2/select2-spinner.gif +0 -0
  156. lib/meta-box/css/select2/select2.css +732 -0
  157. lib/meta-box/css/select2/select2.png +0 -0
  158. lib/meta-box/css/select2/select2x2.png +0 -0
  159. lib/meta-box/css/select2/spinner.gif +0 -0
  160. lib/meta-box/css/slider.css +15 -0
  161. lib/meta-box/css/style.css +77 -0
  162. lib/meta-box/css/taxonomy.css +12 -0
  163. lib/meta-box/css/wysiwyg.css +3 -0
  164. lib/meta-box/img/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  165. lib/meta-box/img/jqueryui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  166. lib/meta-box/img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  167. lib/meta-box/img/jqueryui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  168. lib/meta-box/img/jqueryui/ui-bg_glass_75_dadada_1x400.png +0 -0
  169. lib/meta-box/img/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  170. lib/meta-box/img/jqueryui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  171. lib/meta-box/img/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  172. lib/meta-box/img/jqueryui/ui-icons_222222_256x240.png +0 -0
  173. lib/meta-box/img/jqueryui/ui-icons_2e83ff_256x240.png +0 -0
  174. lib/meta-box/img/jqueryui/ui-icons_454545_256x240.png +0 -0
  175. lib/meta-box/img/jqueryui/ui-icons_888888_256x240.png +0 -0
  176. lib/meta-box/img/jqueryui/ui-icons_cd0a0a_256x240.png +0 -0
  177. lib/meta-box/img/loader.gif +0 -0
  178. lib/meta-box/inc/common.php +57 -0
  179. lib/meta-box/inc/field.php +318 -0
  180. lib/meta-box/inc/fields/autocomplete.php +142 -0
  181. lib/meta-box/inc/fields/button.php +36 -0
  182. lib/meta-box/inc/fields/checkbox-list.php +99 -0
  183. lib/meta-box/inc/fields/checkbox.php +41 -0
  184. lib/meta-box/inc/fields/color.php +65 -0
  185. lib/meta-box/inc/fields/date.php +80 -0
  186. lib/meta-box/inc/fields/datetime.php +145 -0
  187. lib/meta-box/inc/fields/divider.php +40 -0
  188. lib/meta-box/inc/fields/email.php +50 -0
  189. lib/meta-box/inc/fields/fieldset-text.php +74 -0
  190. lib/meta-box/inc/fields/file-advanced.php +117 -0
  191. lib/meta-box/inc/fields/file-input.php +58 -0
  192. lib/meta-box/inc/fields/file.php +293 -0
  193. lib/meta-box/inc/fields/heading.php +42 -0
  194. lib/meta-box/inc/fields/hidden.php +24 -0
  195. lib/meta-box/inc/fields/image-advanced.php +122 -0
  196. lib/meta-box/inc/fields/image-select.php +57 -0
  197. lib/meta-box/inc/fields/image.php +153 -0
  198. lib/meta-box/inc/fields/map.php +52 -0
  199. lib/meta-box/inc/fields/number.php +43 -0
  200. lib/meta-box/inc/fields/oembed.php +75 -0
  201. lib/meta-box/inc/fields/password.php +28 -0
  202. lib/meta-box/inc/fields/plupload-image.php +186 -0
  203. lib/meta-box/inc/fields/post.php +142 -0
  204. lib/meta-box/inc/fields/radio.php +31 -0
  205. lib/meta-box/inc/fields/range.php +77 -0
  206. lib/meta-box/inc/fields/select-advanced.php +72 -0
  207. lib/meta-box/inc/fields/select.php +140 -0
  208. lib/meta-box/inc/fields/slider.php +63 -0
  209. lib/meta-box/inc/fields/taxonomy-advanced.php +58 -0
  210. lib/meta-box/inc/fields/taxonomy.php +244 -0
  211. lib/meta-box/inc/fields/text-list.php +103 -0
  212. lib/meta-box/inc/fields/text.php +72 -0
  213. lib/meta-box/inc/fields/textarea.php +43 -0
  214. lib/meta-box/inc/fields/thickbox-image.php +56 -0
  215. lib/meta-box/inc/fields/time.php +82 -0
  216. lib/meta-box/inc/fields/url.php +43 -0
  217. lib/meta-box/inc/fields/user.php +131 -0
  218. lib/meta-box/inc/fields/wysiwyg.php +97 -0
  219. lib/meta-box/inc/helpers.php +363 -0
  220. lib/meta-box/inc/init.php +41 -0
  221. lib/meta-box/inc/meta-box.php +461 -0
  222. lib/meta-box/js/autocomplete.js +56 -0
  223. lib/meta-box/js/autosave.js +14 -0
  224. lib/meta-box/js/clone.js +225 -0
  225. lib/meta-box/js/color.js +36 -0
  226. lib/meta-box/js/date.js +18 -0
  227. lib/meta-box/js/datetime.js +19 -0
  228. lib/meta-box/js/file-advanced.js +81 -0
  229. lib/meta-box/js/file-input.js +37 -0
  230. lib/meta-box/js/file.js +135 -0
  231. lib/meta-box/js/image-advanced.js +80 -0
  232. lib/meta-box/js/image-select.js +21 -0
  233. lib/meta-box/js/image.js +22 -0
  234. lib/meta-box/js/jquery.validate.min.js +390 -0
  235. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-af.js +23 -0
  236. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ar-DZ.js +23 -0
  237. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ar.js +23 -0
  238. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-az.js +23 -0
  239. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-be.js +23 -0
  240. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-bg.js +24 -0
  241. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-bs.js +23 -0
  242. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ca.js +23 -0
  243. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-cs.js +23 -0
  244. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-cy-GB.js +23 -0
  245. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-da.js +23 -0
  246. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-de.js +23 -0
  247. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-el.js +23 -0
  248. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-en-AU.js +23 -0
  249. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-en-GB.js +23 -0
  250. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-en-NZ.js +23 -0
  251. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-eo.js +23 -0
  252. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-es.js +23 -0
  253. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-et.js +23 -0
  254. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-eu.js +23 -0
  255. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fa.js +59 -0
  256. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fi.js +23 -0
  257. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fo.js +23 -0
  258. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fr-CA.js +23 -0
  259. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fr-CH.js +23 -0
  260. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-fr.js +25 -0
  261. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-gl.js +23 -0
  262. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-he.js +23 -0
  263. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hi.js +23 -0
  264. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hr.js +23 -0
  265. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hu.js +23 -0
  266. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-hy.js +23 -0
  267. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-id.js +23 -0
  268. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-is.js +23 -0
  269. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-it.js +23 -0
  270. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ja.js +23 -0
  271. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ka.js +21 -0
  272. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-kk.js +23 -0
  273. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-km.js +23 -0
  274. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ko.js +23 -0
  275. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ky.js +24 -0
  276. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-lb.js +23 -0
  277. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-lt.js +23 -0
  278. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-lv.js +23 -0
  279. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-mk.js +23 -0
  280. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ml.js +23 -0
  281. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ms.js +23 -0
  282. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nb.js +22 -0
  283. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nl-BE.js +23 -0
  284. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nl.js +23 -0
  285. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-nn.js +22 -0
  286. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-no.js +23 -0
  287. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-pl.js +23 -0
  288. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-pt-BR.js +23 -0
  289. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-pt.js +22 -0
  290. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-rm.js +21 -0
  291. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ro.js +26 -0
  292. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ru.js +23 -0
  293. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sk.js +23 -0
  294. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sl.js +24 -0
  295. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sq.js +23 -0
  296. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sr-SR.js +23 -0
  297. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sr.js +23 -0
  298. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-sv.js +23 -0
  299. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-ta.js +23 -0
  300. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-th.js +23 -0
  301. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-tj.js +23 -0
  302. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-tr.js +23 -0
  303. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-uk.js +24 -0
  304. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-vi.js +23 -0
  305. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-zh-CN.js +23 -0
  306. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-zh-HK.js +23 -0
  307. lib/meta-box/js/jqueryui/datepicker-i18n/jquery.ui.datepicker-zh-TW.js +23 -0
  308. lib/meta-box/js/jqueryui/jquery-ui-timepicker-addon.js +504 -0
  309. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-af.js +20 -0
  310. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-bg.js +20 -0
  311. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ca.js +20 -0
  312. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-cs.js +20 -0
  313. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-de.js +20 -0
  314. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-el.js +20 -0
  315. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-es.js +20 -0
  316. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-et.js +20 -0
  317. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-eu.js +20 -0
  318. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-fi.js +20 -0
  319. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-fr.js +20 -0
  320. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-gl.js +20 -0
  321. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-he.js +20 -0
  322. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-hu.js +20 -0
  323. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-id.js +20 -0
  324. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-it.js +20 -0
  325. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ja.js +20 -0
  326. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ko.js +20 -0
  327. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-lt.js +20 -0
  328. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-nl.js +20 -0
  329. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-no.js +20 -0
  330. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-pl.js +20 -0
  331. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-pt-BR.js +20 -0
  332. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-pt.js +20 -0
  333. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ro.js +20 -0
  334. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-ru.js +20 -0
  335. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-sk.js +20 -0
  336. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-sv.js +20 -0
  337. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-th.js +17 -0
  338. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-tr.js +20 -0
  339. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-uk.js +20 -0
  340. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-vi.js +20 -0
  341. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-zh-CN.js +20 -0
  342. lib/meta-box/js/jqueryui/timepicker-i18n/jquery-ui-timepicker-zh-TW.js +20 -0
  343. lib/meta-box/js/map.js +169 -0
  344. lib/meta-box/js/oembed.js +22 -0
  345. lib/meta-box/js/plupload-image.js +124 -0
  346. lib/meta-box/js/select-advanced.js +19 -0
  347. lib/meta-box/js/select2/select2.min.js +953 -0
  348. lib/meta-box/js/slider.js +34 -0
  349. lib/meta-box/js/taxonomy.js +25 -0
  350. lib/meta-box/js/thickbox-image.js +34 -0
  351. lib/meta-box/js/time.js +18 -0
  352. lib/meta-box/js/validate.js +22 -0
  353. lib/meta-box/lang/ar.mo +0 -0
  354. lib/meta-box/lang/ar.po +122 -0
  355. lib/meta-box/lang/de_DE.mo +0 -0
  356. lib/meta-box/lang/de_DE.po +160 -0
  357. lib/meta-box/lang/default.pot +2586 -0
  358. lib/meta-box/lang/es.mo +0 -0
  359. lib/meta-box/lang/es.po +121 -0
  360. lib/meta-box/lang/it_IT.mo +0 -0
  361. lib/meta-box/lang/it_IT.po +126 -0
  362. lib/meta-box/lang/nb_NO.mo +0 -0
  363. lib/meta-box/lang/nb_NO.po +149 -0
  364. lib/meta-box/lang/nl.mo +0 -0
  365. lib/meta-box/lang/nl.po +2585 -0
  366. lib/meta-box/lang/pt_BR.mo +0 -0
  367. lib/meta-box/lang/pt_BR.po +124 -0
  368. lib/meta-box/lang/sv_SE.mo +0 -0
  369. lib/meta-box/lang/sv_SE.po +118 -0
  370. lib/meta-box/lang/tr_TR.mo +0 -0
  371. lib/meta-box/lang/tr_TR.po +384 -0
  372. lib/meta-box/lang/vi.mo +0 -0
  373. lib/meta-box/lang/vi.po +411 -0
  374. lib/meta-box/lang/zh_CN.mo +0 -0
  375. lib/meta-box/lang/zh_CN.po +384 -0
  376. lib/meta-box/meta-box.php +50 -0
  377. lib/meta-box/readme.txt +372 -0
  378. readme.txt +326 -0
  379. templates/archive-course-content.php +29 -0
  380. templates/archive-course.php +44 -0
  381. templates/archive-question.php +11 -0
  382. templates/content-quiz.php +15 -0
  383. templates/course-certificate.php +13 -0
  384. templates/course/button-retake.php +1 -0
  385. templates/course/categories.php +16 -0
  386. templates/course/content-course-description.php +5 -0
  387. templates/course/content-course-title.php +5 -0
  388. templates/course/content-lesson-description.php +5 -0
  389. templates/course/content-lesson-title.php +5 -0
  390. templates/course/content.php +10 -0
  391. templates/course/course-pending.php +15 -0
  392. templates/course/course-result.php +17 -0
  393. templates/course/curriculum.php +25 -0
  394. templates/course/enroll-button.php +20 -0
  395. templates/course/finish-course-button.php +1 -0
  396. templates/course/instructor.php +17 -0
  397. templates/course/lesson-nav.php +37 -0
  398. templates/course/loop-curriculum-lesson.php +13 -0
  399. templates/course/loop-curriculum-quiz.php +14 -0
  400. templates/course/loop-curriculum.php +24 -0
  401. templates/course/payment-form.php +28 -0
  402. templates/course/price.php +16 -0
  403. templates/course/students.php +25 -0
  404. templates/course/tags.php +15 -0
  405. templates/course/thumbnail.php +29 -0
  406. templates/course_content-landing_page.php +14 -0
  407. templates/course_content-learning_page.php +15 -0
  408. templates/course_content.php +34 -0
  409. templates/global/after-main-content.php +28 -0
  410. templates/global/become-teacher-form.php +58 -0
  411. templates/global/before-main-content.php +28 -0
  412. templates/global/message.php +1 -0
  413. templates/order/confirm.php +60 -0
  414. templates/order/order-details.php +66 -0
  415. templates/profile/quiz-content.php +33 -0
  416. templates/profile/user-courses.php +55 -0
  417. templates/profile/user-courses/enrolled-course.php +12 -0
  418. templates/profile/user-courses/own-course.php +31 -0
  419. templates/profile/user-courses/passed-course.php +12 -0
  420. templates/profile/user-info.php +4 -0
  421. templates/profile/user-quizzes.php +33 -0
  422. templates/quiz/button-check-answer.php +8 -0
  423. templates/quiz/buttons.php +35 -0
  424. templates/quiz/empty.php +10 -0
  425. templates/quiz/form-question.php +6 -0
  426. templates/quiz/loop.php +11 -0
  427. templates/quiz/nav.php +25 -0
  428. templates/quiz/no-preview-message.php +3 -0
  429. templates/quiz/no-question.php +3 -0
  430. templates/quiz/percentage.php +16 -0
  431. templates/quiz/question-content.php +8 -0
  432. templates/quiz/questions.php +18 -0
  433. templates/quiz/result.php +32 -0
  434. templates/quiz/sidebar-questions.php +46 -0
  435. templates/quiz/sidebar.php +11 -0
  436. templates/quiz/time-counter.php +26 -0
  437. templates/quiz/title.php +6 -0
  438. templates/single-course.php +21 -0
  439. templates/single-lesson.php +10 -0
  440. templates/single-quiz.php +20 -0
assets/css/learnpress-admin-compat.css ADDED
@@ -0,0 +1,191 @@
1
+ /* wp version 3.9 */
2
+ .plugin-group {
3
+ overflow: hidden; /* clearfix */
4
+ margin-top: 1.5em;
5
+ }
6
+
7
+ .plugin-group h3 {
8
+ margin-top: 0;
9
+ }
10
+
11
+ .plugin-card {
12
+ float: left;
13
+ margin: 0 8px 16px;
14
+ width: 48.5%;
15
+ width: -webkit-calc( 50% - 8px );
16
+ width: calc( 50% - 8px );
17
+ background-color: #fff;
18
+ border: 1px solid #dedede;
19
+ -webkit-box-sizing: border-box;
20
+ -moz-box-sizing: border-box;
21
+ box-sizing: border-box;
22
+ }
23
+
24
+ .plugin-card:nth-child(odd) {
25
+ clear: both;
26
+ margin-left: 0;
27
+ }
28
+
29
+ .plugin-card:nth-child(even) {
30
+ margin-right: 0;
31
+ }
32
+
33
+ @media screen and ( min-width: 1600px ) {
34
+ .plugin-card {
35
+ width: 30%;
36
+ width: -webkit-calc( 33.1% - 8px );
37
+ width: calc( 33.1% - 8px );
38
+ }
39
+
40
+ .plugin-card:nth-child(odd) {
41
+ clear: none;
42
+ margin-left: 8px;
43
+ }
44
+
45
+ .plugin-card:nth-child(even) {
46
+ margin-right: 8px;
47
+ }
48
+
49
+ .plugin-card:nth-child(3n+1) {
50
+ clear: both;
51
+ margin-left: 0;
52
+ }
53
+
54
+ .plugin-card:nth-child(3n) {
55
+ margin-right: 0;
56
+ }
57
+ }
58
+
59
+ @media screen and ( max-width: 782px ) {
60
+ .plugin-card {
61
+ margin-left: 0;
62
+ margin-right: 0;
63
+ width: 100%;
64
+ }
65
+ }
66
+
67
+ .plugin-card-top {
68
+ position: relative;
69
+ padding: 20px 20px 10px;
70
+ min-height: 135px;
71
+ }
72
+
73
+ div.action-links,
74
+ .plugin-action-buttons {
75
+ margin: 0; /* Override existing margins */
76
+ }
77
+
78
+ .plugin-card h4 {
79
+ margin: 0 0 12px;
80
+ font-size: 18px;
81
+ line-height: 1.3;
82
+ }
83
+
84
+ .plugin-card .name,
85
+ .plugin-card .desc {
86
+ margin-left: 148px; /* icon + margin */
87
+ margin-right: 120px; /* action links */
88
+ }
89
+
90
+ .plugin-card .action-links {
91
+ position: absolute;
92
+ top: 20px;
93
+ right: 20px;
94
+ width: 120px;
95
+ }
96
+
97
+ .plugin-action-buttons {
98
+ clear: right;
99
+ float: right;
100
+ margin-left: 2em;
101
+ margin-bottom: 1em;
102
+ text-align: right;
103
+ }
104
+
105
+ .plugin-action-buttons li {
106
+ margin-bottom: 10px;
107
+ }
108
+
109
+ .plugin-card-bottom {
110
+ clear: both;
111
+ padding: 12px 20px;
112
+ background-color: #fafafa;
113
+ border-top: 1px solid #dedede;
114
+ overflow: hidden;
115
+ }
116
+
117
+ .plugin-card-bottom .star-rating {
118
+ display: inline;
119
+ }
120
+
121
+ .plugin-card .column-rating {
122
+ line-height: 23px;
123
+ }
124
+
125
+ .plugin-card .column-rating,
126
+ .plugin-card .column-updated {
127
+ margin-bottom: 4px;
128
+ }
129
+
130
+ .plugin-card .column-rating,
131
+ .plugin-card .column-downloaded {
132
+ float: left;
133
+ clear: left;
134
+ max-width: 180px;
135
+ }
136
+
137
+ .plugin-card .column-updated,
138
+ .plugin-card .column-compatibility {
139
+ text-align: right;
140
+ float: right;
141
+ clear: right;
142
+ width: 65%;
143
+ width: -webkit-calc( 100% - 180px );
144
+ width: calc( 100% - 180px );
145
+ }
146
+
147
+ .plugin-card .column-compatibility span:before {
148
+ font: normal 20px/.5 'dashicons';
149
+ speak: none;
150
+ display: inline-block;
151
+ padding: 0;
152
+ top: 4px;
153
+ left: -2px;
154
+ position: relative;
155
+ vertical-align: top;
156
+ -webkit-font-smoothing: antialiased;
157
+ -moz-osx-font-smoothing: grayscale;
158
+ text-decoration: none !important;
159
+ color: #444;
160
+ }
161
+
162
+ .plugin-card .compatibility-incompatible:before {
163
+ content: '\f158';
164
+ }
165
+
166
+ .plugin-card .compatibility-compatible:before {
167
+ content: '\f147';
168
+ }
169
+
170
+ .plugin-icon {
171
+ position: absolute;
172
+ top: 20px;
173
+ left: 20px;
174
+ width: 128px;
175
+ height: 128px;
176
+ margin: 0 20px 20px 0;
177
+ }
178
+
179
+ .plugin-icon img {
180
+ width: 128px;
181
+ height: 128px;
182
+ }
183
+
184
+ .no-plugin-results {
185
+ color: #999;
186
+ font-size: 18px;
187
+ font-style: normal;
188
+ margin: 0;
189
+ padding: 100px 0 0;
190
+ text-align: center;
191
+ }
assets/css/learnpress-admin.css ADDED
@@ -0,0 +1,702 @@
1
+ /**
2
+ * Created by Hoang Ha
3
+ *
4
+ * Date: 11/03/2015
5
+ */
6
+ .hide {
7
+ display: none;
8
+ }
9
+
10
+ .handle.dashicons {
11
+ cursor: move;
12
+ margin-right: 10px;
13
+ }
14
+
15
+ .meta_box_remove .dashicons {
16
+ text-decoration: initial;
17
+ }
18
+
19
+ .meta_box_course_lesson_quiz li input,
20
+ .meta_box_course_lesson_quiz li select {
21
+ min-width: 250px;
22
+ }
23
+
24
+ .rwmb-meta-box label {
25
+ color: #222;
26
+ font-weight: bold;
27
+ display: block;
28
+ margin: 16px 0;
29
+ }
30
+
31
+ .description {
32
+ margin-top: 5px;
33
+ }
34
+
35
+ .dashed-placeholder {
36
+ border: 2px dashed #999;
37
+ padding: 10px;
38
+ }
39
+
40
+ /**
41
+ * Course Metabox
42
+ */
43
+ li.quiz, li.lesson, li.quick_lesson, li.quick_quiz {
44
+ margin-left: 30px;
45
+ }
46
+
47
+ .wp-core-ui .meta_box_add_section,
48
+ .wp-core-ui .meta_box_add_lesson,
49
+ .wp-core-ui .meta_box_add_quiz,
50
+ .wp-core-ui .meta_box_quick_add_lesson,
51
+ .wp-core-ui .meta_box_quick_add_quiz {
52
+ margin-right: 10px;
53
+ }
54
+
55
+ /**/
56
+ #lpr-block {
57
+ position: fixed;
58
+ top: 0;
59
+ left: 0;
60
+ right: 0;
61
+ bottom: 0;
62
+ background-color: #000;
63
+ display: none;
64
+ z-index: 200;
65
+ opacity: 0.2;
66
+ }
67
+
68
+ .lpr-quick-add-form {
69
+ background-color: #FFF;
70
+ padding: 5px;
71
+ position: absolute;
72
+ z-index: 210;
73
+ border: 1px solid #DDD;
74
+ }
75
+
76
+ .lpr-quick-add-form input {
77
+ font-size: 15px;
78
+ border-radius: 3px;
79
+ border: 1px solid #DDD;
80
+ width: 350px;
81
+ }
82
+
83
+ .lpr-quick-add-form input,
84
+ .lpr-quick-add-form select {
85
+ vertical-align: top;
86
+ }
87
+
88
+ .lpr-quick-add-form .lpr-ajaxload {
89
+ display: none;
90
+ background-image: url(../images/spinner.gif);
91
+ background-position: center;
92
+ background-repeat: no-repeat;
93
+ width: 30px;
94
+ color: #FFF;
95
+ margin-top: 6px;
96
+ }
97
+
98
+ .lpr-quick-add-form.working .lpr-ajaxload {
99
+ display: inline-block;
100
+ }
101
+
102
+ .lpr-quick-add-form.working button {
103
+ display: none;
104
+ }
105
+
106
+ .post-type-lpr_question .lpr-question-option-label {
107
+ display: none;
108
+ }
109
+
110
+ #lpr-question-options-wrap {
111
+ margin-top: 8px;
112
+ }
113
+
114
+ .lpr-question tr.lpr-disabled .dashicons-trash,
115
+ .lpr-question tr.lpr-disabled .dashicons-sort {
116
+ display: none;
117
+ }
118
+
119
+ /*
120
+ * Add on page
121
+ */
122
+
123
+ .lpr-add-ons-wrapper .add-on-info {
124
+ width: 65%;
125
+ display: inline-block;
126
+ }
127
+
128
+ .lpr-add-ons-wrapper .add-on-action {
129
+ float: right;
130
+ }
131
+
132
+ .lpr-add-ons-wrapper .add-on-action a {
133
+ text-decoration: none;
134
+ padding: 20px;
135
+ height: 80px;
136
+ width: 100px;
137
+ background: #EBEBEB;
138
+ margin-right: 100px;
139
+ }
140
+
141
+ .lpr-add-ons-wrapper .add-on-action .add-on-enabled {
142
+ text-align: center;
143
+ margin: 40px;
144
+ }
145
+
146
+ .lpr-add-ons-wrapper .add-on-action .add-on-disabled {
147
+ text-align: center;
148
+ margin: 40px;
149
+ }
150
+
151
+ .lpr-add-ons-wrapper .add-on-action a:hover {
152
+ text-decoration: none;
153
+ content: attr(data-text-disable);
154
+ }
155
+
156
+ .learn-press-add-ons{
157
+ margin: 20px 0 0;
158
+ }
159
+ .learn-press-add-ons:after{
160
+ display: block;
161
+ clear: both;
162
+ content: '';
163
+ }
164
+ .learn-press-add-ons > li{
165
+ /*float: left;*/
166
+ /*width: 25%;*/
167
+ /*position: relative;*/
168
+ }
169
+ .learn-press-add-ons > li .add-on-inner{
170
+ margin: 0 20px 40px 20px;
171
+ border: 1px solid #DDD;
172
+ border-radius: 10px;
173
+ overflow: hidden;
174
+ }
175
+ .learn-press-add-ons > li .add-on-thumbnail{
176
+ position: relative;
177
+ overflow: hidden;
178
+ border-bottom: 1px solid #E3E3E3;
179
+ }
180
+ .learn-press-add-ons > li .add-on-thumbnail img{
181
+ width: 100%;
182
+ height: auto;
183
+ vertical-align: top;
184
+ }
185
+ .learn-press-add-ons > li .add-on-thumbnail .add-on-overlay{
186
+ position: absolute;
187
+ left: 0;
188
+ right: 0;
189
+ height: 100%;
190
+ top: 0%;
191
+ -webkit-transition: all 0.25s ;
192
+ background-color: #ADE6FF;
193
+ opacity: 0;
194
+ }
195
+ .learn-press-add-ons > li .add-on-thumbnail .add-on-description{
196
+ position: absolute;
197
+ left: 20px;
198
+ right: 20px;
199
+ bottom: 0%;
200
+ -webkit-transition: all 0.25s ;
201
+ color: #444;
202
+ opacity: 0;
203
+ }
204
+ .learn-press-add-ons > li:hover .add-on-overlay{
205
+ opacity: 0.3;
206
+ }
207
+ .learn-press-add-ons > li:hover .add-on-description{
208
+ opacity: 1;
209
+ }
210
+ .learn-press-add-ons > li .add-on-info{
211
+ min-height: 80px;
212
+ padding: 20px;
213
+ background-color: #F5F5F5;
214
+ border-top: 1px solid #FFF;
215
+ }
216
+ .learn-press-add-ons > li .add-on-info > h3{
217
+ margin-top: 0;
218
+ }
219
+ .learn-press-add-ons > li .add-on-actions{
220
+ position: absolute;
221
+ bottom: 43px;
222
+ }
223
+ .learn-press-add-ons > li .add-on-actions .add-on-state{
224
+ font-size: 36px;
225
+ vertical-align: top;
226
+ display: none;
227
+ margin-top: -8px;
228
+ color: #05B3FF;
229
+ margin-left: -9px;
230
+ }
231
+ .learn-press-add-ons > li .add-on-actions .add-on-state.change{
232
+ display: inline-block;
233
+ }
234
+ .learn-press-add-ons .plugin-card-top{
235
+ min-height: 180px;
236
+ }
237
+ .learn-press-add-ons .button.spinner{
238
+ background: url(../../assets/images/spinner.gif) no-repeat 4px !important;
239
+ padding-left: 30px;
240
+ visibility: visible;
241
+ width: auto;
242
+ }
243
+ .learn-press-add-ons .action-links > span{
244
+ display: block;
245
+ text-align: right;
246
+ font-style: italic;
247
+ }
248
+ .learn-press-add-ons .action-links > span.enabled{
249
+ color: #7ad03a;
250
+ }
251
+ .learn-press-add-ons .action-links > span.disabled{
252
+ color: #FF0000;
253
+ }
254
+ #learn-press-bundle-activate-add-ons.spinner{
255
+ float: left !important;
256
+ }
257
+ #learn-press-add-on-state-changed-message{
258
+ position: fixed;
259
+ bottom: 0;
260
+ background-color: #F5F5F5;
261
+ padding: 10px;
262
+ border: 1px solid #DDD;
263
+ z-index: 1000;
264
+ display: none;
265
+ }
266
+ #learn-press-add-ons-wrap #name{
267
+ width: 30%;
268
+ }
269
+
270
+ @media (max-width: 1280px) {
271
+ .learn-press-add-ons > li{
272
+ width: 33.33%;
273
+ }
274
+ }
275
+ @media (max-width: 768px) {
276
+ .learn-press-add-ons > li{
277
+ width: 50%;
278
+ }
279
+ }
280
+ @media (max-width: 480px) {
281
+ .learn-press-add-ons > li{
282
+ width: 100%;
283
+ }
284
+ }
285
+ /**/
286
+
287
+ #lpr-quiz-questions-wrap .select2-container .select2-choice {
288
+ height: 29px;
289
+ padding-top: 3px;
290
+ font-size: 14px;
291
+ }
292
+
293
+ .post-title.column-title {
294
+ overflow: visible;
295
+ }
296
+
297
+ .lpr-row-actions {
298
+ display: inline-block;
299
+ position: relative;
300
+ }
301
+
302
+ .lpr-row-action-dropdown {
303
+ position: absolute;
304
+ top: 100%;
305
+ left: 0;
306
+ min-width: 150px;
307
+ background-color: #FFF;
308
+ border: 1px solid #DDD;
309
+ padding: 0;
310
+ margin: 0;
311
+ display: none;
312
+ }
313
+
314
+ .lpr-row-action-dropdown > li {
315
+ margin: 0;
316
+ }
317
+
318
+ .lpr-row-action-dropdown > li > a {
319
+ display: block;
320
+ padding: 5px;
321
+ }
322
+
323
+ .lpr-row-actions > a {
324
+ padding-right: 15px;
325
+ position: relative;
326
+ }
327
+
328
+ .lpr-row-actions > a:after {
329
+ display: block;
330
+ width: 0;
331
+ height: 0;
332
+ border: 5px solid transparent;
333
+ border-top-color: #DDD;
334
+ content: '';
335
+ display: inline-block;
336
+ position: absolute;
337
+ right: 0;
338
+ top: 6px;
339
+ }
340
+
341
+ .lpr-row-actions:hover > ul {
342
+ display: block;
343
+ }
344
+
345
+ /* addons page */
346
+ #lpr-add-ons-wrapper {
347
+ }
348
+
349
+ #lpr-add-ons-wrapper .lpr-add-on-block {
350
+ border-bottom: 1px dashed #DDD;
351
+ padding-bottom: 20px;
352
+ width: 50%;
353
+ float: left;
354
+ margin-top: 20px;
355
+ }
356
+
357
+ #lpr-add-ons-wrapper .lpr-add-on-block:after {
358
+ content: '';
359
+ display: block;
360
+ clear: both;
361
+ }
362
+
363
+ #lpr-add-ons-wrapper .lpr-admin-thumbnail {
364
+ float: left;
365
+ width: 200px;
366
+ }
367
+
368
+ #lpr-add-ons-wrapper .lpr-admin-thumbnail img {
369
+ vertical-align: top;
370
+ }
371
+
372
+ #lpr-add-ons-wrapper .lpr-add-on-info {
373
+ margin-left: 220px;
374
+ margin-right: 20px;
375
+ }
376
+
377
+ #lpr-add-ons-wrapper .lpr-add-on-info > h3{
378
+ margin-top: 0;
379
+ }
380
+
381
+ #lpr-add-ons-wrapper .lpr-add-on-info > h3 > span {
382
+ display: inline-block;
383
+ padding: 0px 5px;
384
+ background-color: #7AD3FA;
385
+ color: #FFF;
386
+ border-radius: 3px;
387
+ margin-left: 10px;
388
+ font-size: 12px;
389
+ vertical-align: top;
390
+ font-weight: normal;
391
+ }
392
+
393
+ #lpr-add-ons-wrapper .lpr-add-on-action {
394
+ float: right;
395
+ width: 100px;
396
+ }
397
+
398
+ /* toggle */
399
+ input.lpr-fancy-checkbox {
400
+ display: none;
401
+ }
402
+
403
+ .lpr-fancy-checkbox.tog {
404
+ border-radius: 20px;
405
+ display: block;
406
+ box-shadow: inset 0 0 4px rgba(0, 0, 0, .6);
407
+ margin: 0 auto;
408
+ height: 19px;
409
+ width: 50px;
410
+ position: relative;
411
+ cursor: pointer;
412
+ font: 11px/18px arial;
413
+ background: #ccc;
414
+ -webkit-transition: all .2s ease;
415
+ -moz-transition: all .2s ease;
416
+ -o-transition: all .2s ease;
417
+ transition: all .2s ease;
418
+ display: inline-block !important;
419
+ }
420
+
421
+ .lpr-fancy-checkbox.tog:after {
422
+ content: '';
423
+ box-shadow: 0px 2px 2px rgba(0, 0, 0, .6);
424
+ border-radius: 20px;
425
+ display: block;
426
+ height: 15px;
427
+ width: 15px;
428
+ background: #fff;
429
+ position: absolute;
430
+ top: 2px;
431
+ left: 2px;
432
+ -webkit-transition: all .2s ease;
433
+ -moz-transition: all .2s ease;
434
+ -o-transition: all .2s ease;
435
+ transition: all .2s ease;
436
+ }
437
+
438
+ .lpr-fancy-checkbox.tog:before {
439
+ content: 'OFF';
440
+ position: absolute;
441
+ right: 7px;
442
+ top: 1px;
443
+ color: #fff;
444
+ }
445
+
446
+ .lpr-fancy-checkbox.tog:hover:after {
447
+ left: 5px;
448
+ }
449
+
450
+ .lpr-fancy-checkbox.tog.on:before {
451
+ content: 'ON';
452
+ right: 28px;
453
+ }
454
+
455
+ .lpr-fancy-checkbox.tog.on {
456
+ background: #05B3FF;
457
+ }
458
+
459
+ .lpr-fancy-checkbox.tog.on:after {
460
+ left: 33px;
461
+ }
462
+
463
+ .lpr-fancy-checkbox.tog.on:hover:after {
464
+ left: 30px;
465
+ }
466
+
467
+ /**/
468
+ .clearfix:after {
469
+ display: block;
470
+ content: '';
471
+ clear: both;
472
+ }
473
+
474
+ .clear {
475
+ display: block;
476
+ clear: both;
477
+ height: 0;
478
+ }
479
+
480
+ /* admin order details */
481
+ .post-type-lpr_order #post-body-content,
482
+ .post-type-lpr_order #postbox-container-1,
483
+ #order_details .ui-sortable-handle,
484
+ #order_details .handlediv {
485
+ display: none !important;
486
+ }
487
+
488
+ #order_details .inside {
489
+ padding: 20px;
490
+ margin: 0;
491
+ }
492
+
493
+ #order_details .order-user-avatar {
494
+ float: left;
495
+ margin-right: 20px;
496
+ }
497
+
498
+ #order_details .order-user-meta {
499
+ float: left;
500
+ }
501
+
502
+ #order_details .order-products table {
503
+ width: 100%;
504
+ border-collapse: collapse;
505
+ margin-top: 20px;
506
+ }
507
+
508
+ #order_details .order-products table tr {
509
+ border-bottom: 1px solid #EEE;
510
+ }
511
+
512
+ #order_details .order-products table thead th {
513
+ height: 30px;
514
+ text-align: left;
515
+ font-size: 16px;
516
+
517
+ }
518
+
519
+ #order_details .order-products table td {
520
+ padding: 15px 0;
521
+ font-size: 16px;
522
+ }
523
+
524
+ #order_details .order-products table .align-right {
525
+ text-align: right;
526
+ }
527
+
528
+ #order_details .order-data {
529
+ float: right;
530
+ }
531
+
532
+ #order_details .order-data {
533
+ text-align: right;
534
+ }
535
+
536
+ #order_details .order-data .order-data-number {
537
+ font-size: 24px;
538
+ font-weight: bold;
539
+ margin-bottom: 10px;
540
+ }
541
+
542
+ #order_details .order-data .order-data-date {
543
+ font-size: 14px;
544
+ font-style: italic;
545
+ margin-bottom: 5px;
546
+ }
547
+
548
+ #order_details .order-data .order-data-payment-method {
549
+ font-size: 16px;
550
+ font-weight: bold;
551
+ margin: 5px 0;
552
+ }
553
+
554
+ #order_details .order-data .order-data-status {
555
+ border-radius: 3px;
556
+ padding: 2px 5px;
557
+ display: inline-block;
558
+ color: #FFF;
559
+ font-size: 12px;
560
+
561
+ }
562
+
563
+ #order_details .order-data .order-data-status.completed {
564
+ background-color: #006400;
565
+ }
566
+
567
+ #order_details .order-data .order-data-status.pending {
568
+ background-color: #CCCCCC;
569
+ }
570
+
571
+ #order_details .total {
572
+ font-weight: bold;
573
+ font-size: 16px;
574
+ }
575
+
576
+ .post-type-lpr_order .column-title {
577
+ width: 120px;
578
+ }
579
+
580
+ .post-type-lpr_order .column-order_student {
581
+ width: 100px;
582
+ }
583
+
584
+ .post-type-lpr_order .column-order_date {
585
+ width: 150px;
586
+ }
587
+
588
+ .post-type-lpr_order .column-order_total {
589
+ width: 100px;
590
+ text-align: right;
591
+ }
592
+
593
+ .post-type-lpr_order .column-order_status {
594
+ width: 100px;
595
+ }
596
+
597
+ .lpr-curriculum-section > h3 {
598
+ padding: 0 !important;
599
+ }
600
+
601
+ .lpr-curriculum-section > h3 .lpr-action {
602
+ top: 0;
603
+ right: 0;
604
+ }
605
+
606
+ .lpr-curriculum-section.lpr-empty > h3 {
607
+ cursor: default !important;
608
+ }
609
+
610
+ .lpr-curriculum-section.lpr-empty .lpr-action {
611
+ display: none !important;
612
+ }
613
+
614
+ .lpr-course-curriculum button span {
615
+ text-decoration: underline;
616
+ }
617
+
618
+ .lpr-chart {
619
+ padding: 100px 300px;
620
+ }
621
+
622
+ .lpr-stats-time {
623
+ text-align: center;
624
+ }
625
+
626
+ .lpr-hidden {
627
+ display: none;
628
+ }
629
+ .lpr-chart-wrapper {
630
+ margin: 0 30px 0 10px;
631
+ }
632
+ #lpr-custom-time {
633
+ position: relative;
634
+ top: 4px;
635
+ }
636
+ .lpr-chart-wrapper canvas {
637
+ padding-top: 20px;
638
+ height: 70vh;
639
+ width: 100vw;
640
+ }
641
+
642
+ /* block page */
643
+ #lpr-page-block{
644
+ position: fixed;
645
+ top: 0;
646
+ left: 0;
647
+ right: 0;
648
+ bottom: 0;
649
+ background-color: #000;
650
+ opacity: 0.5;
651
+ display: none;
652
+ z-index: 9999;
653
+ }
654
+
655
+ #form-quick-add-lesson-link{
656
+ position: absolute;
657
+ }
658
+
659
+ #_lpr_course_price_description>span {
660
+ font-weight: bold;
661
+ font-size: 15px;
662
+ }
663
+ .lpr-ignore, .lpr-ignore:hover {
664
+ color: #dd3d36;
665
+ }
666
+ .lpr-ignore:hover {
667
+ cursor: pointer;
668
+ }
669
+
670
+ .lpr-quick-add-page-inline,
671
+ .lpr-quick-actions-inline{
672
+ display: inline-block;
673
+ vertical-align: middle;
674
+ margin: 0 !important;
675
+ }
676
+
677
+ #lpr-toggle-quiz-mode{
678
+ background-color: #0077FF;
679
+ padding: 3px;
680
+ margin-left: 5px;
681
+ display: inline-block;
682
+ border-radius: 3px;
683
+ text-decoration: none;
684
+ color: #FFF;
685
+ }
686
+ .column-num_of_question{
687
+ width: 150px;
688
+ }
689
+ .lpr-change-question-type {
690
+ border: 1px solid #DDD;
691
+ background-color: #FCFCFC;
692
+ padding: 5px;
693
+ display: inline-block;
694
+ margin-bottom: 0;
695
+ }
696
+
697
+ .lpr-change-question-type span {
698
+ display: inline-block;
699
+ vertical-align: middle;
700
+ font-weight: bold;
701
+ margin-right: 10px;
702
+ }
assets/css/learnpress.css ADDED
@@ -0,0 +1,514 @@
1
+ .clearfix:after {
2
+ display: block;
3
+ content: '';
4
+ clear: both;
5
+ }
6
+
7
+ #course-header {
8
+
9
+ }
10
+
11
+ #course-header:after {
12
+ display: block;
13
+ content: '';
14
+ clear: both;
15
+ }
16
+ #course-main:after {
17
+ content: '';
18
+ display: block;
19
+ clear: both;
20
+ }
21
+ #course-desc {
22
+ width: 100%;
23
+ }
24
+ .course-info {
25
+ width: 75%;
26
+ float: left;
27
+ }
28
+
29
+ .course-getting, .course-related {
30
+ width: 25%;
31
+ float: right;
32
+ }
33
+
34
+ .learn-press ul {
35
+ list-style: none;
36
+ }
37
+
38
+ /* Course */
39
+ .course-curriculum {
40
+
41
+ }
42
+
43
+ .course-curriculum .curriculum-sections {
44
+
45
+ }
46
+
47
+ .curriculum-sections .section {
48
+ overflow: hidden;
49
+ }
50
+
51
+ .curriculum-sections .section .section-header {
52
+ margin: 0 0 20px 0;
53
+ }
54
+
55
+ .curriculum-sections .section .section-header a {
56
+ outline: none;
57
+ font-size: 12px;
58
+ float: right;
59
+ }
60
+
61
+ .curriculum-sections .section-content {
62
+
63
+ }
64
+
65
+ .curriculum-sections .section-content .course-lesson,
66
+ .curriculum-sections .section-content .course-quiz {
67
+ margin: 0 0 10px 0;
68
+ }
69
+
70
+ .curriculum-sections .section-content .lesson-quiz-icon {
71
+ margin-right: 5px;
72
+ }
73
+
74
+ .curriculum-sections .section-content .course-lesson .lesson-quiz-icon:before,
75
+ .curriculum-sections .section-content .course-quiz .lesson-quiz-icon:before {
76
+ display: inline-block;
77
+ width: 25px;
78
+ height: 25px;
79
+ border-radius: 50%;
80
+ text-align: center;
81
+ line-height: 25px;
82
+ font-size: 12px;
83
+ color: #FFF;
84
+ background-color: #999;
85
+ vertical-align: middle;
86
+ }
87
+
88
+ .curriculum-sections .section-content .course-lesson .lesson-quiz-icon.lesson:before {
89
+ content: 'L';
90
+ }
91
+
92
+ .curriculum-sections .section-content .course-lesson.current .lesson-quiz-icon:before {
93
+ content: "\f115";
94
+ content: "\f177";
95
+ font-family: dashicons;
96
+ background-color: transparent;
97
+ color: #90DFFF;
98
+ font-size: 24px;
99
+ }
100
+
101
+ .curriculum-sections .section-content .course-quiz .lesson-quiz-icon.quiz:before {
102
+ content: 'Q';
103
+ }
104
+
105
+ .curriculum-sections .section-content .course-lesson.completed a,
106
+ .curriculum-sections .section-content .course-quiz.completed a {
107
+ text-decoration: line-through;
108
+ border-bottom: none;
109
+ }
110
+
111
+ .curriculum-sections .section-content .course-lesson.loading .lesson-quiz-icon:before {
112
+ content: '';
113
+ background-image: url(../images/ajaxload.gif);
114
+ background-position: center;
115
+ background-repeat: no-repeat;
116
+ }
117
+
118
+ .course-content-lesson-nav,
119
+ .course-content-lesson-nav-text {
120
+ overflow: hidden;
121
+ }
122
+
123
+ .course-content-lesson-nav-text {
124
+ margin-top: 20px;
125
+ margin-bottom: 0;
126
+ text-transform: uppercase;
127
+ font-size: 12px;
128
+ font-weight: bold;
129
+ border-top: 1px dashed #e0e0e0;
130
+ padding-top: 20px;
131
+ }
132
+
133
+ .course-content-lesson-nav a {
134
+ }
135
+
136
+ .course-content-lesson-nav a.next-lesson,
137
+ .course-content-lesson-nav-text .next-lesson-text {
138
+ float: right;
139
+ }
140
+
141
+ #lesson-quiz-tooltip-container {
142
+ display: none;
143
+ visibility: hidden;
144
+ }
145
+
146
+ .lesson-quiz-tooltip {
147
+ font-size: 14px;
148
+ }
149
+
150
+ /* Single Quiz Pagge*/
151
+ .twentyfifteen .single-quiz {
152
+ padding-left: 10%;
153
+ padding-right: 10%;
154
+ padding-bottom: 10%;
155
+ }
156
+
157
+ .quiz-question-nav-buttons button {
158
+ _display: none;
159
+ }
160
+
161
+ .single-quiz .no-question {
162
+ font-size: 14px;
163
+ border: 1px solid #FFB6B6;
164
+ padding: 10px;
165
+ color: #FF7979;
166
+ }
167
+
168
+ .quiz-started .quiz-content, .quiz-completed .quiz-content {
169
+ display: none;
170
+ }
171
+
172
+ .quiz-question-nav {
173
+ margin-right: -250px;
174
+ float: left;
175
+ width: 100%;
176
+ }
177
+
178
+ .quiz-question-nav .lp-question-wrap {
179
+ margin-right: 200px;
180
+ }
181
+
182
+ .quiz-sidebar {
183
+ width: 230px;
184
+ float: right;
185
+ }
186
+
187
+ #quiz-countdown {
188
+ font-size: 48px;
189
+ text-align: center;
190
+ }
191
+
192
+ .quiz-countdown-text {
193
+ text-align: center;
194
+ margin: 10px;
195
+ line-height: 1.5;
196
+ }
197
+
198
+ .quiz-countdown-text span {
199
+ display: block;
200
+ }
201
+
202
+ .quiz-buttons {
203
+ text-align: center;
204
+ }
205
+
206
+ .quiz-questions > ul {
207
+ list-style: none;
208
+ margin: 20px 0;
209
+ }
210
+
211
+ .quiz-questions > ul li {
212
+ list-style: none;
213
+ margin: 0 0 15px 0;
214
+ font-size: 14px;
215
+ line-height: 1;
216
+ }
217
+
218
+ .quiz-questions > ul > li > h4 {
219
+ font-weight: normal;
220
+ }
221
+
222
+ .quiz-questions > ul li.current > h4 {
223
+ font-weight: bold;
224
+ }
225
+
226
+ .quiz-sidebar, .quiz-question-nav {
227
+ margin-top: 20px;
228
+ }
229
+
230
+ .button-finish-quiz {
231
+ display: none;
232
+ }
233
+
234
+ .quiz-started .button-finish-quiz {
235
+ display: inline;
236
+ }
237
+
238
+ .quiz-result {
239
+ margin-top: 20px;
240
+ float: left;
241
+ margin-right: -300px;
242
+ width: 100%;
243
+ }
244
+
245
+ .quiz-result .quiz-result-mark {
246
+ float: left;
247
+ width: 150px;
248
+ height: 150px;
249
+ background-color: #F5F5F5;
250
+ border-radius: 50%;
251
+ text-align: center;
252
+ box-sizing: border-box;
253
+ padding-top: 30px;
254
+ line-height: 1;
255
+
256
+ }
257
+
258
+ .quiz-result .quiz-result-mark .quiz-mark {
259
+ font-size: 60px;
260
+ display: block;
261
+ }
262
+
263
+ .quiz-result .quiz-result-mark .quiz-mark small {
264
+ font-size: 20px;
265
+ }
266
+
267
+ .quiz-result .quiz-result-summary {
268
+ float: left;
269
+ margin-left: 30px;
270
+ }
271
+
272
+ .quiz-result .quiz-result-summary .quiz-result-field {
273
+ margin: 0;
274
+ font-size: 14px;
275
+ }
276
+
277
+ .quiz-result .quiz-result-summary .quiz-result-field > label {
278
+ width: 100px;
279
+ display: inline-block;
280
+ }
281
+
282
+ .quiz-result .quiz-result-summary .quiz-result-field.correct {
283
+ color: #0066cc;
284
+ }
285
+
286
+ .quiz-result .quiz-result-summary .quiz-result-field.wrong {
287
+ color: #BC0B0B;
288
+ }
289
+
290
+ .quiz-result .quiz-result-summary .quiz-result-field.empty {
291
+ color: #869791;
292
+ }
293
+
294
+ #learn_press_payment_form {
295
+ display: none;
296
+ }
297
+
298
+ #learn_press_payment_form .learn_press_payment_form {
299
+ display: none;
300
+ }
301
+
302
+ #quiz-accordion > div {
303
+ height: auto !important;
304
+ }
305
+
306
+ @media screen and (max-width: 480px) {
307
+ .quiz-question-nav {
308
+ margin-right: 0px;
309
+ float: none;
310
+ }
311
+
312
+ .quiz-sidebar {
313
+ width: 100%;
314
+ float: none;
315
+ }
316
+ }
317
+
318
+ .lpr-question-hint {
319
+ margin-top: 10px;
320
+ line-height: 1.5;
321
+ }
322
+
323
+ .lpr-question-hint .correct {
324
+ background: #CFE6FD;
325
+ }
326
+
327
+ .lpr-question-hint .wrong {
328
+ background: #FCCED3;
329
+ }
330
+
331
+ .learn-press .message {
332
+ border: 1px solid #90DFFF;
333
+ background-color: #DFF6FF;
334
+ padding: 10px;
335
+ font-size: 12px;
336
+ margin: 20px 0;
337
+ border-radius: 5px;
338
+ }
339
+
340
+ .learn-press .message.error {
341
+ border-color: #FF9090;
342
+ background-color: #FFDFDF;
343
+ }
344
+
345
+ /* jAlert */
346
+ #popup_container {
347
+ border: 1px solid rgb(221, 221, 221);
348
+ background-color: rgb(255, 255, 255);
349
+ min-width: 350px;
350
+ }
351
+
352
+ #popup_container #popup_title,
353
+ #popup_container #popup_content {
354
+ margin: 20px;
355
+ }
356
+
357
+ #popup_container #popup_message {
358
+ margin-bottom: 20px;
359
+ }
360
+
361
+ .lpr_course.has-post-thumbnail {
362
+ padding-top: 8.3333% !important;
363
+ }
364
+
365
+ #course_taken .course,
366
+ #course_made .course{
367
+ list-style: none;
368
+ }
369
+ #course_taken .course > li,
370
+ #course_made .course > li{
371
+ margin: 0 0 20px 0;
372
+ }
373
+ #course_taken .course-status{
374
+ font-size: 12px;
375
+ display: inline-block;
376
+ border-radius: 3px;
377
+ padding: 0 5px;
378
+ margin: 0 10px;
379
+ }
380
+ #course_taken .course-status.passed{
381
+ background-color: #90DFFF;
382
+ color: #FFF;
383
+ }
384
+ #user_quizzes:after {
385
+ content: "";
386
+ display: block;
387
+ clear: both;
388
+ }
389
+ .videoWrapper {
390
+ position: relative;
391
+ padding-bottom: 56.25%; /* 16:9 */
392
+ padding-top: 25px;
393
+ height: 0;
394
+ margin-bottom: 25px;
395
+ }
396
+ .videoWrapper iframe {
397
+ position: absolute;
398
+ top: 0;
399
+ left: 0;
400
+ width: 100%;
401
+ height: 100%;
402
+ }
403
+
404
+ .question-hint-title {
405
+
406
+ }
407
+
408
+ .question-hint-title:hover {
409
+ cursor: pointer;
410
+ }
411
+ .block-ui:before,
412
+ .block-ui:after{
413
+ position: absolute;
414
+ top: 0;
415
+ left: 0;
416
+ right: 0;
417
+ bottom: 0;
418
+ content: '';
419
+ }
420
+ .block-ui:before{
421
+ background-color: #E4E4E4;
422
+ opacity: 0.3;
423
+ }
424
+ .block-ui:after{
425
+ background-image: url(../images/ajax-loader.gif);
426
+ background-position: center;
427
+ background-repeat: no-repeat;
428
+ }
429
+
430
+ .lpr_quiz {
431
+ visibility: hidden;
432
+ }
433
+
434
+ .ui-helper-clearfix:before,
435
+ .ui-helper-clearfix:after {
436
+ content: "";
437
+ display: table;
438
+ border-collapse: collapse;
439
+ }
440
+ .ui-helper-clearfix:after {
441
+ clear: both;
442
+ }
443
+ .ui-helper-clearfix {
444
+ min-height: 0; /* support: IE7 */
445
+ }
446
+
447
+ .ui-tabs {
448
+ position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
449
+ padding: .2em;
450
+ }
451
+ .ui-tabs .ui-tabs-nav {
452
+ margin: 0;
453
+ padding: .2em .2em 0;
454
+ }
455
+ .ui-tabs .ui-tabs-nav li {
456
+ list-style: none;
457
+ float: left;
458
+ position: relative;
459
+ top: 0;
460
+ margin: 1px .2em 0 0;
461
+ border-bottom-width: 0;
462
+ padding: 0;
463
+ white-space: nowrap;
464
+ }
465
+ .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
466
+ float: left;
467
+ padding: .5em 1em;
468
+ text-decoration: none;
469
+ }
470
+ .ui-tabs .ui-tabs-nav li.ui-tabs-active {
471
+ margin-bottom: -1px;
472
+ padding-bottom: 1px;
473
+ }
474
+ .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
475
+ .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
476
+ .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
477
+ cursor: text;
478
+ }
479
+ .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
480
+ cursor: pointer;
481
+ }
482
+ .ui-tabs .ui-tabs-panel {
483
+ display: block;
484
+ border-width: 0;
485
+ padding: 1em 1.4em;
486
+ background: none;
487
+ }
488
+
489
+ .ui-accordion .ui-accordion-header {
490
+ display: block;
491
+ cursor: pointer;
492
+ position: relative;
493
+ margin: 2px 0 0 0;
494
+ padding: .5em .5em .5em .7em;
495
+ min-height: 0; /* support: IE7 */
496
+ font-size: 100%;
497
+ }
498
+ .ui-accordion .ui-accordion-icons {
499
+ padding-left: 2.2em;
500
+ }
501
+ .ui-accordion .ui-accordion-icons .ui-accordion-icons {
502
+ padding-left: 2.2em;
503
+ }
504
+ .ui-accordion .ui-accordion-header .ui-accordion-header-icon {
505
+ position: absolute;
506
+ left: .5em;
507
+ top: 50%;
508
+ margin-top: -8px;
509
+ }
510
+ .ui-accordion .ui-accordion-content {
511
+ padding: 1em 2.2em;
512
+ border-top: 0;
513
+ overflow: auto;
514
+ }
assets/css/select2/select2-spinner.gif ADDED
Binary file
assets/css/select2/select2.css ADDED
@@ -0,0 +1,732 @@