| @@ -27,10 +27,90 @@ | ||
| 27 | 27 | right: 100%; |
| 28 | 28 | width: 10%; |
| 29 | 29 | } |
| 30 | 30 | } |
| 31 | +/** | |
| 32 | +* Style for the buttons | |
| 33 | +*/ | |
| 34 | +.lp-btn-edit-primary { | |
| 35 | + border: none; | |
| 36 | + background: #135e96; | |
| 37 | + color: #fff; | |
| 38 | +} | |
| 39 | +.lp-btn-edit-primary:not(.active) { | |
| 40 | + opacity: 0.5; | |
| 41 | +} | |
| 42 | +.lp-btn-edit-primary:hover, .lp-btn-edit-primary.active, .lp-btn-edit-primary.active:hover { | |
| 43 | + background: #135E96; | |
| 44 | + color: #fff; | |
| 45 | + opacity: 1; | |
| 46 | +} | |
| 47 | + | |
| 48 | +/* 5. Minimal Bottom Line */ | |
| 49 | +.btn-line::after { | |
| 50 | + content: ""; | |
| 51 | + position: absolute; | |
| 52 | + bottom: 0; | |
| 53 | + right: 0; | |
| 54 | + height: 4px; | |
| 55 | + width: 0%; | |
| 56 | + background-color: #38bdf8; | |
| 57 | + animation: lineLoad 2s ease-in-out infinite; | |
| 58 | +} | |
| 59 | + | |
| 60 | +@keyframes lineLoad { | |
| 61 | + 0% { | |
| 62 | + width: 0%; | |
| 63 | + right: 0; | |
| 64 | + } | |
| 65 | + 50% { | |
| 66 | + width: 100%; | |
| 67 | + right: 0; | |
| 68 | + } | |
| 69 | + 100% { | |
| 70 | + width: 0%; | |
| 71 | + right: 100%; | |
| 72 | + } | |
| 73 | +} | |
| 74 | +.lp-button { | |
| 75 | + padding: 8px 16px; | |
| 76 | + border: 1px solid var(--lp-border-color, #E2E0DB); | |
| 77 | + border-radius: var(--lp-border-radius, 5px); | |
| 78 | + color: #374151; | |
| 79 | + font-weight: 500; | |
| 80 | + text-decoration: none; | |
| 81 | + cursor: pointer; | |
| 82 | +} | |
| 83 | +.lp-button.loading { | |
| 84 | + position: relative; | |
| 85 | + display: flex; | |
| 86 | + align-items: center; | |
| 87 | + justify-content: center; | |
| 88 | + pointer-events: none; | |
| 89 | + color: rgba(0, 0, 0, 0.2) !important; | |
| 90 | +} | |
| 91 | +.lp-button.loading:before { | |
| 92 | + position: absolute; | |
| 93 | + inset: 0; | |
| 94 | + display: flex; | |
| 95 | + align-items: center; | |
| 96 | + justify-content: center; | |
| 97 | + font-family: "lp-icon"; | |
| 98 | + content: "\f110"; | |
| 99 | + animation: lp-rotating 1s linear infinite; | |
| 100 | + line-height: 1; | |
| 101 | + font-variant: normal; | |
| 102 | + text-transform: none; | |
| 103 | + -webkit-font-smoothing: antialiased; | |
| 104 | + -moz-osx-font-smoothing: grayscale; | |
| 105 | + color: black; | |
| 106 | +} | |
| 107 | + | |
| 31 | 108 | .learn-press-message { |
| 32 | 109 | position: relative; |
| 110 | + display: flex; | |
| 111 | + align-items: center; | |
| 112 | + margin: 0 !important; | |
| 33 | 113 | padding: 10px 20px; |
| 34 | 114 | border-radius: var(--lp-border-radius, 5px); |
| 35 | 115 | background-color: #E5F7FF; |
| 36 | 116 | color: #007AFF; |
| @@ -35,24 +115,54 @@ | ||
| 35 | 115 | background-color: #E5F7FF; |
| 36 | 116 | color: #007AFF; |
| 37 | 117 | max-width: 100%; |
| 38 | 118 | } |
| 119 | +.learn-press-message::before { | |
| 120 | + display: inline-block; | |
| 121 | + margin-left: 8px; | |
| 122 | + font-family: "lp-icon"; | |
| 123 | + font-size: 20px; | |
| 124 | + font-style: normal; | |
| 125 | + font-weight: normal; | |
| 126 | + line-height: 1; | |
| 127 | +} | |
| 39 | 128 | .learn-press-message.error { |
| 40 | 129 | background-color: #FEE5E5; |
| 41 | 130 | color: #FF3B30; |
| 131 | + border: 1px solid #E31A1A; | |
| 132 | + padding: 10px 20px; | |
| 42 | 133 | } |
| 134 | +.learn-press-message.error::before { | |
| 135 | + content: "\f071"; | |
| 136 | + color: #E31A1A; | |
| 137 | +} | |
| 43 | 138 | .learn-press-message.warning { |
| 44 | 139 | background-color: #FEF7E6; |
| 45 | 140 | color: #FF9500; |
| 141 | + border: 1px solid #F8A100; | |
| 46 | 142 | } |
| 143 | +.learn-press-message.warning::before { | |
| 144 | + content: "\f06a"; | |
| 145 | + color: #F8A100; | |
| 146 | +} | |
| 47 | 147 | .learn-press-message.success { |
| 48 | 148 | background-color: #EBF8E5; |
| 49 | 149 | color: #3AB500; |
| 150 | + border: 1px solid #28A746; | |
| 50 | 151 | } |
| 152 | +.learn-press-message.success::before { | |
| 153 | + content: "\f058"; | |
| 154 | + color: #28A746; | |
| 155 | +} | |
| 51 | 156 | .learn-press-message.info { |
| 52 | 157 | background-color: rgba(0, 122, 255, 0.1019607843); |
| 53 | 158 | color: #007AFF; |
| 159 | + border: 1px solid #2E91FA; | |
| 54 | 160 | } |
| 161 | +.learn-press-message.info::before { | |
| 162 | + content: "\e931"; | |
| 163 | + color: #2E91FA; | |
| 164 | +} | |
| 55 | 165 | .learn-press-message a { |
| 56 | 166 | text-decoration: underline; |
| 57 | 167 | } |
| 58 | 168 | |
| @@ -273,30 +383,8 @@ | ||
| 273 | 383 | width: 20px; |
| 274 | 384 | height: 20px; |
| 275 | 385 | } |
| 276 | 386 | |
| 277 | -.lp-button { | |
| 278 | - border: 1px solid var(--lp-border-color, #E2E0DB); | |
| 279 | - border-radius: var(--lp-border-radius, 5px); | |
| 280 | - padding: 8px 16px; | |
| 281 | -} | |
| 282 | -.lp-button.loading { | |
| 283 | - pointer-events: none; | |
| 284 | - opacity: 0.8; | |
| 285 | -} | |
| 286 | -.lp-button.loading:before { | |
| 287 | - display: inline-block; | |
| 288 | - font-family: "lp-icon"; | |
| 289 | - content: "\f110"; | |
| 290 | - animation: lp-rotating 1s linear infinite; | |
| 291 | - margin-left: 5px; | |
| 292 | - font-variant: normal; | |
| 293 | - text-transform: none; | |
| 294 | - -webkit-font-smoothing: antialiased; | |
| 295 | - -moz-osx-font-smoothing: grayscale; | |
| 296 | - vertical-align: middle; | |
| 297 | -} | |
| 298 | - | |
| 299 | 387 | .lp-hidden { |
| 300 | 388 | display: none !important; |
| 301 | 389 | } |
| 302 | 390 | |
| @@ -822,11 +910,8 @@ | ||
| 822 | 910 | flex-direction: column-reverse; |
| 823 | 911 | margin: 0; |
| 824 | 912 | } |
| 825 | 913 | } |
| 826 | -.lp-checkout-form #btn-checkout-account-switch-to-guest { | |
| 827 | - margin-bottom: 60px; | |
| 828 | -} | |
| 829 | 914 | .lp-checkout-form .description { |
| 830 | 915 | float: right; |
| 831 | 916 | } |
| 832 | 917 | .lp-checkout-form a { |
| @@ -874,32 +959,8 @@ | ||
| 874 | 959 | } |
| 875 | 960 | .lp-checkout-form .lp-guest-switch-login a { |
| 876 | 961 | display: inline-block; |
| 877 | 962 | } |
| 878 | -.lp-checkout-form input[name=checkout-account-switch-form] { | |
| 879 | - display: none; | |
| 880 | -} | |
| 881 | -.lp-checkout-form input[name=checkout-account-switch-form]:not(:checked) + .lp-checkout-block { | |
| 882 | - display: none; | |
| 883 | - overflow: hidden; | |
| 884 | - height: 0; | |
| 885 | - margin: 0; | |
| 886 | - padding: 0; | |
| 887 | - border: 0; | |
| 888 | - opacity: 0; | |
| 889 | -} | |
| 890 | -.lp-checkout-form input[name=checkout-account-switch-form]:not(:checked) + .lp-checkout-block > * { | |
| 891 | - overflow: hidden; | |
| 892 | - height: 0; | |
| 893 | -} | |
| 894 | -.lp-checkout-form input[name=checkout-account-switch-form]:checked + .lp-checkout-block { | |
| 895 | - display: block; | |
| 896 | - overflow: auto; | |
| 897 | - height: auto; | |
| 898 | -} | |
| 899 | -.lp-checkout-form input[name=checkout-account-switch-form][value=guest]:checked ~ #btn-checkout-account-switch-to-guest { | |
| 900 | - display: none; | |
| 901 | -} | |
| 902 | 963 | .lp-checkout-form::after { |
| 903 | 964 | display: block; |
| 904 | 965 | clear: both; |
| 905 | 966 | content: ""; |
| @@ -907,31 +968,37 @@ | ||
| 907 | 968 | .lp-checkout-form:focus { |
| 908 | 969 | outline: 0; |
| 909 | 970 | } |
| 910 | 971 | |
| 911 | -#checkout-order .lp-checkout-order__inner { | |
| 912 | - padding: 0 20px; | |
| 913 | - border: 1px solid var(--lp-border-color, #E2E0DB); | |
| 914 | - border-radius: 4px; | |
| 972 | +#checkout-order { | |
| 973 | + /*.lp-checkout-order__inner { | |
| 974 | + padding: 0 20px; | |
| 975 | + border: 1px solid $border-color; | |
| 976 | + border-radius: 4px; | |
| 977 | + }*/ | |
| 978 | + /*td, th{ | |
| 979 | + border-right: 0; | |
| 980 | + border-left: 0; | |
| 981 | + background: transparent; | |
| 982 | + &:last-child { | |
| 983 | + padding-right: 0; | |
| 984 | + } | |
| 985 | + } | |
| 986 | + table { | |
| 987 | + width: 100%; | |
| 988 | + margin: 0; | |
| 989 | + border: 0; | |
| 990 | + }*/ | |
| 915 | 991 | } |
| 992 | +#checkout-order .lp-list-table { | |
| 993 | + min-width: auto; | |
| 994 | +} | |
| 916 | 995 | #checkout-order .cart-item:first-child td { |
| 917 | 996 | border-top: 0; |
| 918 | 997 | } |
| 919 | -#checkout-order td, #checkout-order th { | |
| 920 | - border-left: 0; | |
| 921 | - border-right: 0; | |
| 922 | - background: transparent; | |
| 923 | -} | |
| 924 | -#checkout-order td:last-child, #checkout-order th:last-child { | |
| 925 | - padding-left: 0; | |
| 926 | -} | |
| 927 | -#checkout-order table { | |
| 928 | - width: 100%; | |
| 929 | - margin: 0; | |
| 930 | - border: 0; | |
| 931 | -} | |
| 932 | 998 | #checkout-order .course-name { |
| 933 | 999 | font-weight: 600; |
| 1000 | + text-align: right; | |
| 934 | 1001 | } |
| 935 | 1002 | #checkout-order .course-name a { |
| 936 | 1003 | display: -webkit-box; |
| 937 | 1004 | overflow: hidden; |
| @@ -945,34 +1012,38 @@ | ||
| 945 | 1012 | #checkout-order .col-number { |
| 946 | 1013 | min-width: 50px; |
| 947 | 1014 | color: #666; |
| 948 | 1015 | font-weight: 600; |
| 949 | - text-align: left; | |
| 1016 | + text-align: right; | |
| 950 | 1017 | } |
| 951 | 1018 | #checkout-order tfoot { |
| 952 | - font-size: 1.2em; | |
| 1019 | + text-align: right; | |
| 1020 | + /*tr:last-child { | |
| 1021 | + border-width: 0; | |
| 1022 | + | |
| 1023 | + td, th { | |
| 1024 | + border-width: 0; | |
| 1025 | + } | |
| 1026 | + }*/ | |
| 953 | 1027 | } |
| 954 | 1028 | #checkout-order tfoot th { |
| 955 | 1029 | font-weight: 600; |
| 956 | - padding-right: 0; | |
| 1030 | + padding: 10px 20px; | |
| 957 | 1031 | } |
| 958 | -#checkout-order tfoot .order-total { | |
| 959 | - font-size: 1.4em; | |
| 1032 | +#checkout-order tfoot tr:hover { | |
| 1033 | + background: #eff6ff; | |
| 960 | 1034 | } |
| 961 | -#checkout-order tfoot tr:last-child { | |
| 962 | - border-width: 0; | |
| 1035 | +#checkout-order tfoot td { | |
| 1036 | + padding: 10px 20px; | |
| 963 | 1037 | } |
| 964 | -#checkout-order tfoot tr:last-child td, #checkout-order tfoot tr:last-child th { | |
| 965 | - border-width: 0; | |
| 1038 | +#checkout-order tfoot .order-total { | |
| 1039 | + font-size: 1.2em; | |
| 966 | 1040 | } |
| 967 | 1041 | #checkout-order .course-thumbnail { |
| 968 | 1042 | width: 80px; |
| 969 | - padding: 20px 0 18px 13px; | |
| 970 | 1043 | } |
| 971 | 1044 | #checkout-order .course-thumbnail img { |
| 972 | 1045 | width: 100px; |
| 973 | - max-width: 100% !important; | |
| 974 | - height: auto !important; | |
| 975 | 1046 | } |
| 976 | 1047 | |
| 977 | 1048 | .order-comments { |
| 978 | 1049 | width: 100%; |
| @@ -1217,16 +1288,27 @@ | ||
| 1217 | 1288 | .learn-press-checkout-comment h4 { |
| 1218 | 1289 | display: none; |
| 1219 | 1290 | } |
| 1220 | 1291 | |
| 1221 | -.lp-content-area .order_details { | |
| 1222 | - width: 100%; | |
| 1223 | - border-collapse: collapse; | |
| 1292 | +.order_details.lp-list-table th { | |
| 1293 | + max-width: 80px; | |
| 1294 | + text-align: right; | |
| 1224 | 1295 | } |
| 1225 | -.lp-content-area .order_details th a, .lp-content-area .order_details td a { | |
| 1226 | - color: var(--lp-primary-color); | |
| 1227 | -} | |
| 1228 | 1296 | |
| 1297 | +/*.lp-content-area .order_details { | |
| 1298 | + width: 100%; | |
| 1299 | + border-collapse: collapse; | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + th, td { | |
| 1303 | + //text-align: left; | |
| 1304 | + //padding: 10px 25px; | |
| 1305 | + //border: 1px solid; | |
| 1306 | + a { | |
| 1307 | + color: var(--lp-primary-color); | |
| 1308 | + } | |
| 1309 | + } | |
| 1310 | +}*/ | |
| 1229 | 1311 | .learnpress-checkout .learnpress > .learn-press-message { |
| 1230 | 1312 | max-width: var(--lp-container-max-width); |
| 1231 | 1313 | margin: 0 auto; |
| 1232 | 1314 | } |
| @@ -1650,18 +1732,22 @@ | ||
| 1650 | 1732 | .learnpress_avatar__form__upload div { |
| 1651 | 1733 | line-height: 1.4; |
| 1652 | 1734 | } |
| 1653 | 1735 | .learnpress_avatar__button--loading:before { |
| 1654 | - display: inline-block; | |
| 1736 | + position: absolute; | |
| 1737 | + inset: 0; | |
| 1738 | + display: flex; | |
| 1739 | + align-items: center; | |
| 1740 | + justify-content: center; | |
| 1655 | 1741 | font-family: "lp-icon"; |
| 1656 | 1742 | content: "\f110"; |
| 1657 | 1743 | animation: lp-rotating 1s linear infinite; |
| 1658 | - margin-left: 5px; | |
| 1744 | + line-height: 1; | |
| 1659 | 1745 | font-variant: normal; |
| 1660 | 1746 | text-transform: none; |
| 1661 | 1747 | -webkit-font-smoothing: antialiased; |
| 1662 | 1748 | -moz-osx-font-smoothing: grayscale; |
| 1663 | - vertical-align: middle; | |
| 1749 | + color: black; | |
| 1664 | 1750 | } |
| 1665 | 1751 | |
| 1666 | 1752 | button.learnpress_avatar__button { |
| 1667 | 1753 | height: 40px; |
| @@ -2003,9 +2089,8 @@ | ||
| 2003 | 2089 | flex-wrap: wrap; |
| 2004 | 2090 | align-items: center; |
| 2005 | 2091 | justify-content: space-between; |
| 2006 | 2092 | gap: 8px; |
| 2007 | - border-top: 1px solid #e2e8f0; | |
| 2008 | 2093 | } |
| 2009 | 2094 | .lp-enrolled-students-table-footer__count { |
| 2010 | 2095 | color: #64748b; |
| 2011 | 2096 | font-size: 13px; |
| @@ -2513,8 +2598,65 @@ | ||
| 2513 | 2598 | font-size: 1.6em; |
| 2514 | 2599 | margin-bottom: 12px; |
| 2515 | 2600 | } |
| 2516 | 2601 | |
| 2602 | +.learn-press-profile-course { | |
| 2603 | + /*&__progress { | |
| 2604 | + .lp_profile_course_progress { | |
| 2605 | + &__item { | |
| 2606 | + img { | |
| 2607 | + width: 100%; | |
| 2608 | + aspect-ratio: 16/9; | |
| 2609 | + object-fit: cover; | |
| 2610 | + height: auto; | |
| 2611 | + display: block; | |
| 2612 | + } | |
| 2613 | + | |
| 2614 | + td, | |
| 2615 | + th { | |
| 2616 | + text-align: center; | |
| 2617 | + | |
| 2618 | + &:first-child { | |
| 2619 | + width: 15%; | |
| 2620 | + padding: 0; | |
| 2621 | + @media ( max-width: 768px ) { | |
| 2622 | + display: none; | |
| 2623 | + } | |
| 2624 | + } | |
| 2625 | + | |
| 2626 | + &:nth-child( 2 ) { | |
| 2627 | + width: 25%; | |
| 2628 | + | |
| 2629 | + a { | |
| 2630 | + display: -webkit-box; | |
| 2631 | + -webkit-line-clamp: 2; | |
| 2632 | + -webkit-box-orient: vertical; | |
| 2633 | + overflow: hidden; | |
| 2634 | + } | |
| 2635 | + } | |
| 2636 | + | |
| 2637 | + &:nth-child( 3 ) { | |
| 2638 | + width: 10%; | |
| 2639 | + } | |
| 2640 | + | |
| 2641 | + &:nth-child( 4 ) { | |
| 2642 | + width: 25%; | |
| 2643 | + } | |
| 2644 | + | |
| 2645 | + &:nth-child( 5 ) { | |
| 2646 | + width: 25%; | |
| 2647 | + } | |
| 2648 | + } | |
| 2649 | + } | |
| 2650 | + } | |
| 2651 | + | |
| 2652 | + @media ( max-width: 768px ) { | |
| 2653 | + .learn-press-course-tab__filter__content { | |
| 2654 | + overflow-x: auto; | |
| 2655 | + } | |
| 2656 | + } | |
| 2657 | + }*/ | |
| 2658 | +} | |
| 2517 | 2659 | .learn-press-profile-course__statistic { |
| 2518 | 2660 | margin-bottom: 32px; |
| 2519 | 2661 | } |
| 2520 | 2662 | .learn-press-profile-course__tab .learn-press-tabs--with-course-builder { |
| @@ -2557,58 +2699,8 @@ | ||
| 2557 | 2699 | width: 100%; |
| 2558 | 2700 | margin: 0 0 16px; |
| 2559 | 2701 | } |
| 2560 | 2702 | } |
| 2561 | -.learn-press-profile-course__progress .lp_profile_course_progress__item img { | |
| 2562 | - width: 100%; | |
| 2563 | - aspect-ratio: 16/9; | |
| 2564 | - object-fit: cover; | |
| 2565 | - height: auto; | |
| 2566 | - display: block; | |
| 2567 | -} | |
| 2568 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td, | |
| 2569 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th { | |
| 2570 | - text-align: center; | |
| 2571 | -} | |
| 2572 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:first-child, | |
| 2573 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:first-child { | |
| 2574 | - width: 15%; | |
| 2575 | - padding: 0; | |
| 2576 | -} | |
| 2577 | -@media (max-width: 768px) { | |
| 2578 | - .learn-press-profile-course__progress .lp_profile_course_progress__item td:first-child, | |
| 2579 | - .learn-press-profile-course__progress .lp_profile_course_progress__item th:first-child { | |
| 2580 | - display: none; | |
| 2581 | - } | |
| 2582 | -} | |
| 2583 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(2), | |
| 2584 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(2) { | |
| 2585 | - width: 25%; | |
| 2586 | -} | |
| 2587 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(2) a, | |
| 2588 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(2) a { | |
| 2589 | - display: -webkit-box; | |
| 2590 | - -webkit-line-clamp: 2; | |
| 2591 | - -webkit-box-orient: vertical; | |
| 2592 | - overflow: hidden; | |
| 2593 | -} | |
| 2594 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(3), | |
| 2595 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(3) { | |
| 2596 | - width: 10%; | |
| 2597 | -} | |
| 2598 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(4), | |
| 2599 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(4) { | |
| 2600 | - width: 25%; | |
| 2601 | -} | |
| 2602 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(5), | |
| 2603 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(5) { | |
| 2604 | - width: 25%; | |
| 2605 | -} | |
| 2606 | -@media (max-width: 768px) { | |
| 2607 | - .learn-press-profile-course__progress .learn-press-course-tab__filter__content { | |
| 2608 | - overflow-x: auto; | |
| 2609 | - } | |
| 2610 | -} | |
| 2611 | 2703 | |
| 2612 | 2704 | .lp-profile-content #profile-content-order-details h3 { |
| 2613 | 2705 | margin-top: 0; |
| 2614 | 2706 | font-size: 1.875em; |
| @@ -2652,8 +2744,16 @@ | ||
| 2652 | 2744 | gap: 12px; |
| 2653 | 2745 | margin-top: 16px; |
| 2654 | 2746 | } |
| 2655 | 2747 | |
| 2748 | +.lp_profile_course_progress__nav { | |
| 2749 | + margin-top: 1rem; | |
| 2750 | +} | |
| 2751 | + | |
| 2752 | +#profile-content-order-details .lp-table-wrap { | |
| 2753 | + margin-bottom: 1rem; | |
| 2754 | +} | |
| 2755 | + | |
| 2656 | 2756 | .course-extra-box { |
| 2657 | 2757 | margin-bottom: 16px; |
| 2658 | 2758 | border: 1px solid var(--lp-border-color, #E2E0DB); |
| 2659 | 2759 | border-radius: var(--lp-border-radius, 5px); |
| @@ -2917,18 +3017,22 @@ | ||
| 2917 | 3017 | box-shadow: none; |
| 2918 | 3018 | outline: none; |
| 2919 | 3019 | } |
| 2920 | 3020 | .course-curriculum .section-item__loadmore.loading button:before { |
| 2921 | - display: inline-block; | |
| 3021 | + position: absolute; | |
| 3022 | + inset: 0; | |
| 3023 | + display: flex; | |
| 3024 | + align-items: center; | |
| 3025 | + justify-content: center; | |
| 2922 | 3026 | font-family: "lp-icon"; |
| 2923 | 3027 | content: "\f110"; |
| 2924 | 3028 | animation: lp-rotating 1s linear infinite; |
| 2925 | - margin-left: 5px; | |
| 3029 | + line-height: 1; | |
| 2926 | 3030 | font-variant: normal; |
| 2927 | 3031 | text-transform: none; |
| 2928 | 3032 | -webkit-font-smoothing: antialiased; |
| 2929 | 3033 | -moz-osx-font-smoothing: grayscale; |
| 2930 | - vertical-align: middle; | |
| 3034 | + color: black; | |
| 2931 | 3035 | } |
| 2932 | 3036 | .course-curriculum .section-header { |
| 2933 | 3037 | display: table; |
| 2934 | 3038 | width: 100%; |
| @@ -3143,18 +3247,22 @@ | ||
| 3143 | 3247 | margin-top: 20px; |
| 3144 | 3248 | margin-bottom: 20px; |
| 3145 | 3249 | } |
| 3146 | 3250 | .course-curriculum .curriculum-more__button.loading:before { |
| 3147 | - display: inline-block; | |
| 3251 | + position: absolute; | |
| 3252 | + inset: 0; | |
| 3253 | + display: flex; | |
| 3254 | + align-items: center; | |
| 3255 | + justify-content: center; | |
| 3148 | 3256 | font-family: "lp-icon"; |
| 3149 | 3257 | content: "\f110"; |
| 3150 | 3258 | animation: lp-rotating 1s linear infinite; |
| 3151 | - margin-left: 5px; | |
| 3259 | + line-height: 1; | |
| 3152 | 3260 | font-variant: normal; |
| 3153 | 3261 | text-transform: none; |
| 3154 | 3262 | -webkit-font-smoothing: antialiased; |
| 3155 | 3263 | -moz-osx-font-smoothing: grayscale; |
| 3156 | - vertical-align: middle; | |
| 3264 | + color: black; | |
| 3157 | 3265 | } |
| 3158 | 3266 | |
| 3159 | 3267 | body .content-item-summary .form-button-finish-course, body .lp-quiz-buttons .form-button-finish-course { |
| 3160 | 3268 | float: left; |
| @@ -3397,8 +3505,11 @@ | ||
| 3397 | 3505 | content: "\e921"; |
| 3398 | 3506 | color: #999; |
| 3399 | 3507 | } |
| 3400 | 3508 | |
| 3509 | +.info-learning .course-progress > div { | |
| 3510 | + margin-bottom: 8px; | |
| 3511 | +} | |
| 3401 | 3512 | .info-learning .course-progress__line { |
| 3402 | 3513 | width: 100%; |
| 3403 | 3514 | background: #ccc; |
| 3404 | 3515 | height: 5px; |
| @@ -3427,8 +3538,11 @@ | ||
| 3427 | 3538 | width: 2px; |
| 3428 | 3539 | height: 100%; |
| 3429 | 3540 | background: var(--lp-secondary-color); |
| 3430 | 3541 | } |
| 3542 | +.info-learning .start-date, .info-learning .end-date { | |
| 3543 | + margin-bottom: 8px; | |
| 3544 | +} | |
| 3431 | 3545 | |
| 3432 | 3546 | .lp-quiz-buttons { |
| 3433 | 3547 | margin-bottom: 20px; |
| 3434 | 3548 | display: block; |
| @@ -6526,8 +6640,11 @@ | ||
| 6526 | 6640 | } |
| 6527 | 6641 | .lp-single-course .lp-single-course-main__right__inner > div { |
| 6528 | 6642 | margin-bottom: 20px; |
| 6529 | 6643 | } |
| 6644 | +.lp-single-course .lp-single-course-main__right__inner > div.info-learning { | |
| 6645 | + margin-bottom: 12px; | |
| 6646 | +} | |
| 6530 | 6647 | .lp-single-course .lp-single-course-main__right__inner > div:last-child { |
| 6531 | 6648 | margin-bottom: 0; |
| 6532 | 6649 | } |
| 6533 | 6650 | .lp-single-course .lp-single-course-main .info-metas .info-meta-item { |
| @@ -8575,8 +8692,10 @@ | ||
| 8575 | 8692 | } |
| 8576 | 8693 | |
| 8577 | 8694 | /** |
| 8578 | 8695 | * Style for table LearnPress |
| 8696 | +* @since 4.3.3 | |
| 8697 | +* @version 1.0.1 | |
| 8579 | 8698 | */ |
| 8580 | 8699 | .lp-table-wrap { |
| 8581 | 8700 | border-radius: 5px; |
| 8582 | 8701 | width: 100%; |
| @@ -8590,8 +8709,9 @@ | ||
| 8590 | 8709 | border-collapse: collapse; |
| 8591 | 8710 | width: 100%; |
| 8592 | 8711 | margin: 0; |
| 8593 | 8712 | min-width: 768px; |
| 8713 | + border: none; | |
| 8594 | 8714 | } |
| 8595 | 8715 | table.lp-list-table td { |
| 8596 | 8716 | padding: 0; |
| 8597 | 8717 | } |
| @@ -8598,25 +8718,23 @@ | ||
| 8598 | 8718 | table.lp-list-table .learn-press-pagination { |
| 8599 | 8719 | text-align: right; |
| 8600 | 8720 | } |
| 8601 | 8721 | table.lp-list-table thead { |
| 8602 | - background-color: var(--lp-white-grey, #F7F7FB); | |
| 8603 | 8722 | border: none; |
| 8604 | 8723 | } |
| 8724 | +table.lp-list-table thead tr:first-child td, table.lp-list-table thead tr:first-child th { | |
| 8725 | + border-block-start: none; | |
| 8726 | +} | |
| 8605 | 8727 | table.lp-list-table thead tr { |
| 8606 | 8728 | border-bottom: 1px solid var(--lp-border-color, #E2E0DB); |
| 8607 | 8729 | position: sticky; |
| 8608 | 8730 | top: 0; |
| 8609 | 8731 | z-index: 2; |
| 8610 | - background: #fff; | |
| 8732 | + background-color: var(--lp-white-grey, #F7F7FB); | |
| 8611 | 8733 | } |
| 8612 | -table.lp-list-table thead tr:hover { | |
| 8613 | - background: #eff6ff; | |
| 8614 | -} | |
| 8615 | 8734 | table.lp-list-table thead th { |
| 8616 | 8735 | background: none; |
| 8617 | 8736 | border: none; |
| 8618 | - font-size: 1em; | |
| 8619 | 8737 | padding: 10px 20px; |
| 8620 | 8738 | text-align: right; |
| 8621 | 8739 | } |
| 8622 | 8740 | table.lp-list-table thead th td { |
| @@ -8622,26 +8740,20 @@ | ||
| 8622 | 8740 | table.lp-list-table thead th td { |
| 8623 | 8741 | border: none; |
| 8624 | 8742 | padding: 0; |
| 8625 | 8743 | } |
| 8626 | -table.lp-list-table tbody { | |
| 8627 | - font-size: 14px; | |
| 8628 | -} | |
| 8629 | 8744 | table.lp-list-table tbody tr { |
| 8630 | 8745 | border: none; |
| 8631 | - border-bottom: 1px solid var(--lp-white-grey, #F7F7FB); | |
| 8632 | 8746 | } |
| 8747 | +table.lp-list-table tbody tr:nth-child(even) { | |
| 8748 | + background-color: hsla(0, 0%, 50%, 0.05); | |
| 8749 | +} | |
| 8633 | 8750 | table.lp-list-table tbody tr:hover { |
| 8634 | - background: #eff6ff !important; | |
| 8751 | + background-color: #eff6ff; | |
| 8635 | 8752 | } |
| 8636 | -table.lp-list-table tbody tr:nth-child(odd) { | |
| 8637 | - background: #f6f7f7; | |
| 8638 | -} | |
| 8639 | -table.lp-list-table tbody tr:nth-child(even) { | |
| 8640 | - background: #fff; | |
| 8641 | -} | |
| 8642 | 8753 | table.lp-list-table tbody tr td { |
| 8643 | 8754 | border: none; |
| 8755 | + border-bottom: 1px solid var(--lp-border-color, #E2E0DB); | |
| 8644 | 8756 | padding: 10px 20px; |
| 8645 | 8757 | text-align: right; |
| 8646 | 8758 | } |
| 8647 | 8759 | table.lp-list-table tbody tr td a { |
| @@ -8646,13 +8758,20 @@ | ||
| 8646 | 8758 | } |
| 8647 | 8759 | table.lp-list-table tbody tr td a { |
| 8648 | 8760 | text-decoration: none; |
| 8649 | 8761 | } |
| 8762 | +table.lp-list-table tbody tr:last-child td { | |
| 8763 | + border-bottom: none; | |
| 8764 | +} | |
| 8765 | +table.lp-list-table tbody th { | |
| 8766 | + padding: 10px 20px; | |
| 8767 | +} | |
| 8650 | 8768 | table.lp-list-table tfoot tr { |
| 8651 | 8769 | border: none; |
| 8652 | 8770 | } |
| 8653 | 8771 | table.lp-list-table tfoot tr td, table.lp-list-table tfoot tr th { |
| 8654 | 8772 | border: none; |
| 8773 | + border-top: 1px solid var(--lp-border-color, #E2E0DB); | |
| 8655 | 8774 | } |
| 8656 | 8775 | table.lp-list-table tfoot tr td > div, table.lp-list-table tfoot tr th > div { |
| 8657 | 8776 | padding: 20px; |
| 8658 | 8777 | } |
| @@ -8673,16 +8792,8 @@ | ||
| 8673 | 8792 | table.lp-list-table.order-table-details tfoot tr:not(:last-child) td, table.lp-list-table.order-table-details tfoot tr:not(:last-child) th { |
| 8674 | 8793 | padding-bottom: 0; |
| 8675 | 8794 | } |
| 8676 | 8795 | |
| 8677 | -.lp_profile_course_progress__nav { | |
| 8678 | - margin-top: 1rem; | |
| 8679 | -} | |
| 8680 | - | |
| 8681 | -#profile-content-order-details .lp-table-wrap { | |
| 8682 | - margin-bottom: 1rem; | |
| 8683 | -} | |
| 8684 | - | |
| 8685 | 8796 | /** |
| 8686 | 8797 | * Style for the popup alert, confirm |
| 8687 | 8798 | * @link https://sweetalert2.github.io/ |
| 8688 | 8799 | * @since 4.2.9 |
| @@ -8783,8 +8894,9 @@ | ||
| 8783 | 8894 | gap: 5px; |
| 8784 | 8895 | } |
| 8785 | 8896 | .lp-form-filter .filter-field label { |
| 8786 | 8897 | text-align: right; |
| 8898 | + font-weight: bold; | |
| 8787 | 8899 | } |
| 8788 | 8900 | .lp-form-filter button { |
| 8789 | 8901 | display: inline-flex; |
| 8790 | 8902 | align-items: center; |
| @@ -8793,8 +8905,12 @@ | ||
| 8793 | 8905 | .lp-form-filter__actions { |
| 8794 | 8906 | display: flex; |
| 8795 | 8907 | gap: 8px; |
| 8796 | 8908 | align-items: center; |
| 8909 | +} | |
| 8910 | +.lp-form-filter input, .lp-form-filter select { | |
| 8911 | + min-height: 40px; | |
| 8912 | + padding: 0 12px; | |
| 8797 | 8913 | } |
| 8798 | 8914 | |
| 8799 | 8915 | /* end reset css */ |
| 8800 | 8916 | @media (max-width: 1024px) { |