| @@ -27,34 +27,141 @@ | ||
| 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: inline-flex; | |
| 86 | + align-items: center; | |
| 87 | + justify-content: center; | |
| 88 | + pointer-events: none; | |
| 89 | + color: rgba(0, 0, 0, 0) !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 | + font-variant: normal; | |
| 101 | + text-transform: none; | |
| 102 | + -webkit-font-smoothing: antialiased; | |
| 103 | + -moz-osx-font-smoothing: grayscale; | |
| 104 | + color: black; | |
| 105 | +} | |
| 106 | + | |
| 31 | 107 | .learn-press-message { |
| 32 | 108 | position: relative; |
| 109 | + display: flex; | |
| 110 | + align-items: center; | |
| 33 | 111 | margin: 0 !important; |
| 34 | - padding: 10px 20px; | |
| 112 | + padding: 10px; | |
| 35 | 113 | border-radius: var(--lp-border-radius, 5px); |
| 36 | 114 | background-color: #E5F7FF; |
| 37 | 115 | color: #007AFF; |
| 38 | 116 | max-width: 100%; |
| 39 | 117 | } |
| 118 | +.learn-press-message::before { | |
| 119 | + display: inline-block; | |
| 120 | + margin-left: 8px; | |
| 121 | + font-family: "lp-icon"; | |
| 122 | + font-size: 20px; | |
| 123 | + font-style: normal; | |
| 124 | + font-weight: normal; | |
| 125 | + line-height: 1; | |
| 126 | +} | |
| 40 | 127 | .learn-press-message.error { |
| 41 | 128 | background-color: #FEE5E5; |
| 42 | 129 | color: #FF3B30; |
| 43 | - border-right: none; | |
| 130 | + border: 1px solid #E31A1A; | |
| 131 | + padding: 10px 20px; | |
| 44 | 132 | } |
| 133 | +.learn-press-message.error::before { | |
| 134 | + content: "\f071"; | |
| 135 | + color: #E31A1A; | |
| 136 | +} | |
| 45 | 137 | .learn-press-message.warning { |
| 46 | 138 | background-color: #FEF7E6; |
| 47 | 139 | color: #FF9500; |
| 140 | + border: 1px solid #F8A100; | |
| 48 | 141 | } |
| 142 | +.learn-press-message.warning::before { | |
| 143 | + content: "\f06a"; | |
| 144 | + color: #F8A100; | |
| 145 | +} | |
| 49 | 146 | .learn-press-message.success { |
| 50 | 147 | background-color: #EBF8E5; |
| 51 | 148 | color: #3AB500; |
| 149 | + border: 1px solid #28A746; | |
| 52 | 150 | } |
| 151 | +.learn-press-message.success::before { | |
| 152 | + content: "\f058"; | |
| 153 | + color: #28A746; | |
| 154 | +} | |
| 53 | 155 | .learn-press-message.info { |
| 54 | 156 | background-color: rgba(0, 122, 255, 0.1019607843); |
| 55 | 157 | color: #007AFF; |
| 158 | + border: 1px solid #2E91FA; | |
| 56 | 159 | } |
| 160 | +.learn-press-message.info::before { | |
| 161 | + content: "\e931"; | |
| 162 | + color: #2E91FA; | |
| 163 | +} | |
| 57 | 164 | .learn-press-message a { |
| 58 | 165 | text-decoration: underline; |
| 59 | 166 | } |
| 60 | 167 | |
| @@ -275,30 +382,8 @@ | ||
| 275 | 382 | width: 20px; |
| 276 | 383 | height: 20px; |
| 277 | 384 | } |
| 278 | 385 | |
| 279 | -.lp-button { | |
| 280 | - border: 1px solid var(--lp-border-color, #E2E0DB); | |
| 281 | - border-radius: var(--lp-border-radius, 5px); | |
| 282 | - padding: 8px 16px; | |
| 283 | -} | |
| 284 | -.lp-button.loading { | |
| 285 | - pointer-events: none; | |
| 286 | - opacity: 0.8; | |
| 287 | -} | |
| 288 | -.lp-button.loading:before { | |
| 289 | - display: inline-block; | |
| 290 | - font-family: "lp-icon"; | |
| 291 | - content: "\f110"; | |
| 292 | - animation: lp-rotating 1s linear infinite; | |
| 293 | - margin-left: 5px; | |
| 294 | - font-variant: normal; | |
| 295 | - text-transform: none; | |
| 296 | - -webkit-font-smoothing: antialiased; | |
| 297 | - -moz-osx-font-smoothing: grayscale; | |
| 298 | - vertical-align: middle; | |
| 299 | -} | |
| 300 | - | |
| 301 | 386 | .lp-hidden { |
| 302 | 387 | display: none !important; |
| 303 | 388 | } |
| 304 | 389 | |
| @@ -824,11 +909,8 @@ | ||
| 824 | 909 | flex-direction: column-reverse; |
| 825 | 910 | margin: 0; |
| 826 | 911 | } |
| 827 | 912 | } |
| 828 | -.lp-checkout-form #btn-checkout-account-switch-to-guest { | |
| 829 | - margin-bottom: 60px; | |
| 830 | -} | |
| 831 | 913 | .lp-checkout-form .description { |
| 832 | 914 | float: right; |
| 833 | 915 | } |
| 834 | 916 | .lp-checkout-form a { |
| @@ -876,32 +958,8 @@ | ||
| 876 | 958 | } |
| 877 | 959 | .lp-checkout-form .lp-guest-switch-login a { |
| 878 | 960 | display: inline-block; |
| 879 | 961 | } |
| 880 | -.lp-checkout-form input[name=checkout-account-switch-form] { | |
| 881 | - display: none; | |
| 882 | -} | |
| 883 | -.lp-checkout-form input[name=checkout-account-switch-form]:not(:checked) + .lp-checkout-block { | |
| 884 | - display: none; | |
| 885 | - overflow: hidden; | |
| 886 | - height: 0; | |
| 887 | - margin: 0; | |
| 888 | - padding: 0; | |
| 889 | - border: 0; | |
| 890 | - opacity: 0; | |
| 891 | -} | |
| 892 | -.lp-checkout-form input[name=checkout-account-switch-form]:not(:checked) + .lp-checkout-block > * { | |
| 893 | - overflow: hidden; | |
| 894 | - height: 0; | |
| 895 | -} | |
| 896 | -.lp-checkout-form input[name=checkout-account-switch-form]:checked + .lp-checkout-block { | |
| 897 | - display: block; | |
| 898 | - overflow: auto; | |
| 899 | - height: auto; | |
| 900 | -} | |
| 901 | -.lp-checkout-form input[name=checkout-account-switch-form][value=guest]:checked ~ #btn-checkout-account-switch-to-guest { | |
| 902 | - display: none; | |
| 903 | -} | |
| 904 | 962 | .lp-checkout-form::after { |
| 905 | 963 | display: block; |
| 906 | 964 | clear: both; |
| 907 | 965 | content: ""; |
| @@ -909,31 +967,37 @@ | ||
| 909 | 967 | .lp-checkout-form:focus { |
| 910 | 968 | outline: 0; |
| 911 | 969 | } |
| 912 | 970 | |
| 913 | -#checkout-order .lp-checkout-order__inner { | |
| 914 | - padding: 0 20px; | |
| 915 | - border: 1px solid var(--lp-border-color, #E2E0DB); | |
| 916 | - border-radius: 4px; | |
| 971 | +#checkout-order { | |
| 972 | + /*.lp-checkout-order__inner { | |
| 973 | + padding: 0 20px; | |
| 974 | + border: 1px solid $border-color; | |
| 975 | + border-radius: 4px; | |
| 976 | + }*/ | |
| 977 | + /*td, th{ | |
| 978 | + border-right: 0; | |
| 979 | + border-left: 0; | |
| 980 | + background: transparent; | |
| 981 | + &:last-child { | |
| 982 | + padding-right: 0; | |
| 983 | + } | |
| 984 | + } | |
| 985 | + table { | |
| 986 | + width: 100%; | |
| 987 | + margin: 0; | |
| 988 | + border: 0; | |
| 989 | + }*/ | |
| 917 | 990 | } |
| 991 | +#checkout-order .lp-list-table { | |
| 992 | + min-width: auto; | |
| 993 | +} | |
| 918 | 994 | #checkout-order .cart-item:first-child td { |
| 919 | 995 | border-top: 0; |
| 920 | 996 | } |
| 921 | -#checkout-order td, #checkout-order th { | |
| 922 | - border-left: 0; | |
| 923 | - border-right: 0; | |
| 924 | - background: transparent; | |
| 925 | -} | |
| 926 | -#checkout-order td:last-child, #checkout-order th:last-child { | |
| 927 | - padding-left: 0; | |
| 928 | -} | |
| 929 | -#checkout-order table { | |
| 930 | - width: 100%; | |
| 931 | - margin: 0; | |
| 932 | - border: 0; | |
| 933 | -} | |
| 934 | 997 | #checkout-order .course-name { |
| 935 | 998 | font-weight: 600; |
| 999 | + text-align: right; | |
| 936 | 1000 | } |
| 937 | 1001 | #checkout-order .course-name a { |
| 938 | 1002 | display: -webkit-box; |
| 939 | 1003 | overflow: hidden; |
| @@ -947,34 +1011,38 @@ | ||
| 947 | 1011 | #checkout-order .col-number { |
| 948 | 1012 | min-width: 50px; |
| 949 | 1013 | color: #666; |
| 950 | 1014 | font-weight: 600; |
| 951 | - text-align: left; | |
| 1015 | + text-align: right; | |
| 952 | 1016 | } |
| 953 | 1017 | #checkout-order tfoot { |
| 954 | - font-size: 1.2em; | |
| 1018 | + text-align: right; | |
| 1019 | + /*tr:last-child { | |
| 1020 | + border-width: 0; | |
| 1021 | + | |
| 1022 | + td, th { | |
| 1023 | + border-width: 0; | |
| 1024 | + } | |
| 1025 | + }*/ | |
| 955 | 1026 | } |
| 956 | 1027 | #checkout-order tfoot th { |
| 957 | 1028 | font-weight: 600; |
| 958 | - padding-right: 0; | |
| 1029 | + padding: 10px 20px; | |
| 959 | 1030 | } |
| 960 | -#checkout-order tfoot .order-total { | |
| 961 | - font-size: 1.4em; | |
| 1031 | +#checkout-order tfoot tr:hover { | |
| 1032 | + background: #eff6ff; | |
| 962 | 1033 | } |
| 963 | -#checkout-order tfoot tr:last-child { | |
| 964 | - border-width: 0; | |
| 1034 | +#checkout-order tfoot td { | |
| 1035 | + padding: 10px 20px; | |
| 965 | 1036 | } |
| 966 | -#checkout-order tfoot tr:last-child td, #checkout-order tfoot tr:last-child th { | |
| 967 | - border-width: 0; | |
| 1037 | +#checkout-order tfoot .order-total { | |
| 1038 | + font-size: 1.2em; | |
| 968 | 1039 | } |
| 969 | 1040 | #checkout-order .course-thumbnail { |
| 970 | 1041 | width: 80px; |
| 971 | - padding: 20px 0 18px 13px; | |
| 972 | 1042 | } |
| 973 | 1043 | #checkout-order .course-thumbnail img { |
| 974 | 1044 | width: 100px; |
| 975 | - max-width: 100% !important; | |
| 976 | - height: auto !important; | |
| 977 | 1045 | } |
| 978 | 1046 | |
| 979 | 1047 | .order-comments { |
| 980 | 1048 | width: 100%; |
| @@ -1219,16 +1287,27 @@ | ||
| 1219 | 1287 | .learn-press-checkout-comment h4 { |
| 1220 | 1288 | display: none; |
| 1221 | 1289 | } |
| 1222 | 1290 | |
| 1223 | -.lp-content-area .order_details { | |
| 1224 | - width: 100%; | |
| 1225 | - border-collapse: collapse; | |
| 1291 | +.order_details.lp-list-table th { | |
| 1292 | + max-width: 80px; | |
| 1293 | + text-align: right; | |
| 1226 | 1294 | } |
| 1227 | -.lp-content-area .order_details th a, .lp-content-area .order_details td a { | |
| 1228 | - color: var(--lp-primary-color); | |
| 1229 | -} | |
| 1230 | 1295 | |
| 1296 | +/*.lp-content-area .order_details { | |
| 1297 | + width: 100%; | |
| 1298 | + border-collapse: collapse; | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + th, td { | |
| 1302 | + //text-align: left; | |
| 1303 | + //padding: 10px 25px; | |
| 1304 | + //border: 1px solid; | |
| 1305 | + a { | |
| 1306 | + color: var(--lp-primary-color); | |
| 1307 | + } | |
| 1308 | + } | |
| 1309 | +}*/ | |
| 1231 | 1310 | .learnpress-checkout .learnpress > .learn-press-message { |
| 1232 | 1311 | max-width: var(--lp-container-max-width); |
| 1233 | 1312 | margin: 0 auto; |
| 1234 | 1313 | } |
| @@ -1652,18 +1731,21 @@ | ||
| 1652 | 1731 | .learnpress_avatar__form__upload div { |
| 1653 | 1732 | line-height: 1.4; |
| 1654 | 1733 | } |
| 1655 | 1734 | .learnpress_avatar__button--loading:before { |
| 1656 | - display: inline-block; | |
| 1735 | + position: absolute; | |
| 1736 | + inset: 0; | |
| 1737 | + display: flex; | |
| 1738 | + align-items: center; | |
| 1739 | + justify-content: center; | |
| 1657 | 1740 | font-family: "lp-icon"; |
| 1658 | 1741 | content: "\f110"; |
| 1659 | 1742 | animation: lp-rotating 1s linear infinite; |
| 1660 | - margin-left: 5px; | |
| 1661 | 1743 | font-variant: normal; |
| 1662 | 1744 | text-transform: none; |
| 1663 | 1745 | -webkit-font-smoothing: antialiased; |
| 1664 | 1746 | -moz-osx-font-smoothing: grayscale; |
| 1665 | - vertical-align: middle; | |
| 1747 | + color: black; | |
| 1666 | 1748 | } |
| 1667 | 1749 | |
| 1668 | 1750 | button.learnpress_avatar__button { |
| 1669 | 1751 | height: 40px; |
| @@ -2005,9 +2087,8 @@ | ||
| 2005 | 2087 | flex-wrap: wrap; |
| 2006 | 2088 | align-items: center; |
| 2007 | 2089 | justify-content: space-between; |
| 2008 | 2090 | gap: 8px; |
| 2009 | - border-top: 1px solid #e2e8f0; | |
| 2010 | 2091 | } |
| 2011 | 2092 | .lp-enrolled-students-table-footer__count { |
| 2012 | 2093 | color: #64748b; |
| 2013 | 2094 | font-size: 13px; |
| @@ -2515,8 +2596,65 @@ | ||
| 2515 | 2596 | font-size: 1.6em; |
| 2516 | 2597 | margin-bottom: 12px; |
| 2517 | 2598 | } |
| 2518 | 2599 | |
| 2600 | +.learn-press-profile-course { | |
| 2601 | + /*&__progress { | |
| 2602 | + .lp_profile_course_progress { | |
| 2603 | + &__item { | |
| 2604 | + img { | |
| 2605 | + width: 100%; | |
| 2606 | + aspect-ratio: 16/9; | |
| 2607 | + object-fit: cover; | |
| 2608 | + height: auto; | |
| 2609 | + display: block; | |
| 2610 | + } | |
| 2611 | + | |
| 2612 | + td, | |
| 2613 | + th { | |
| 2614 | + text-align: center; | |
| 2615 | + | |
| 2616 | + &:first-child { | |
| 2617 | + width: 15%; | |
| 2618 | + padding: 0; | |
| 2619 | + @media ( max-width: 768px ) { | |
| 2620 | + display: none; | |
| 2621 | + } | |
| 2622 | + } | |
| 2623 | + | |
| 2624 | + &:nth-child( 2 ) { | |
| 2625 | + width: 25%; | |
| 2626 | + | |
| 2627 | + a { | |
| 2628 | + display: -webkit-box; | |
| 2629 | + -webkit-line-clamp: 2; | |
| 2630 | + -webkit-box-orient: vertical; | |
| 2631 | + overflow: hidden; | |
| 2632 | + } | |
| 2633 | + } | |
| 2634 | + | |
| 2635 | + &:nth-child( 3 ) { | |
| 2636 | + width: 10%; | |
| 2637 | + } | |
| 2638 | + | |
| 2639 | + &:nth-child( 4 ) { | |
| 2640 | + width: 25%; | |
| 2641 | + } | |
| 2642 | + | |
| 2643 | + &:nth-child( 5 ) { | |
| 2644 | + width: 25%; | |
| 2645 | + } | |
| 2646 | + } | |
| 2647 | + } | |
| 2648 | + } | |
| 2649 | + | |
| 2650 | + @media ( max-width: 768px ) { | |
| 2651 | + .learn-press-course-tab__filter__content { | |
| 2652 | + overflow-x: auto; | |
| 2653 | + } | |
| 2654 | + } | |
| 2655 | + }*/ | |
| 2656 | +} | |
| 2519 | 2657 | .learn-press-profile-course__statistic { |
| 2520 | 2658 | margin-bottom: 32px; |
| 2521 | 2659 | } |
| 2522 | 2660 | .learn-press-profile-course__tab .learn-press-tabs--with-course-builder { |
| @@ -2559,58 +2697,8 @@ | ||
| 2559 | 2697 | width: 100%; |
| 2560 | 2698 | margin: 0 0 16px; |
| 2561 | 2699 | } |
| 2562 | 2700 | } |
| 2563 | -.learn-press-profile-course__progress .lp_profile_course_progress__item img { | |
| 2564 | - width: 100%; | |
| 2565 | - aspect-ratio: 16/9; | |
| 2566 | - object-fit: cover; | |
| 2567 | - height: auto; | |
| 2568 | - display: block; | |
| 2569 | -} | |
| 2570 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td, | |
| 2571 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th { | |
| 2572 | - text-align: center; | |
| 2573 | -} | |
| 2574 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:first-child, | |
| 2575 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:first-child { | |
| 2576 | - width: 15%; | |
| 2577 | - padding: 0; | |
| 2578 | -} | |
| 2579 | -@media (max-width: 768px) { | |
| 2580 | - .learn-press-profile-course__progress .lp_profile_course_progress__item td:first-child, | |
| 2581 | - .learn-press-profile-course__progress .lp_profile_course_progress__item th:first-child { | |
| 2582 | - display: none; | |
| 2583 | - } | |
| 2584 | -} | |
| 2585 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(2), | |
| 2586 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(2) { | |
| 2587 | - width: 25%; | |
| 2588 | -} | |
| 2589 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(2) a, | |
| 2590 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(2) a { | |
| 2591 | - display: -webkit-box; | |
| 2592 | - -webkit-line-clamp: 2; | |
| 2593 | - -webkit-box-orient: vertical; | |
| 2594 | - overflow: hidden; | |
| 2595 | -} | |
| 2596 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(3), | |
| 2597 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(3) { | |
| 2598 | - width: 10%; | |
| 2599 | -} | |
| 2600 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(4), | |
| 2601 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(4) { | |
| 2602 | - width: 25%; | |
| 2603 | -} | |
| 2604 | -.learn-press-profile-course__progress .lp_profile_course_progress__item td:nth-child(5), | |
| 2605 | -.learn-press-profile-course__progress .lp_profile_course_progress__item th:nth-child(5) { | |
| 2606 | - width: 25%; | |
| 2607 | -} | |
| 2608 | -@media (max-width: 768px) { | |
| 2609 | - .learn-press-profile-course__progress .learn-press-course-tab__filter__content { | |
| 2610 | - overflow-x: auto; | |
| 2611 | - } | |
| 2612 | -} | |
| 2613 | 2701 | |
| 2614 | 2702 | .lp-profile-content #profile-content-order-details h3 { |
| 2615 | 2703 | margin-top: 0; |
| 2616 | 2704 | font-size: 1.875em; |
| @@ -2654,8 +2742,16 @@ | ||
| 2654 | 2742 | gap: 12px; |
| 2655 | 2743 | margin-top: 16px; |
| 2656 | 2744 | } |
| 2657 | 2745 | |
| 2746 | +.lp_profile_course_progress__nav { | |
| 2747 | + margin-top: 1rem; | |
| 2748 | +} | |
| 2749 | + | |
| 2750 | +#profile-content-order-details .lp-table-wrap { | |
| 2751 | + margin-bottom: 1rem; | |
| 2752 | +} | |
| 2753 | + | |
| 2658 | 2754 | .course-extra-box { |
| 2659 | 2755 | margin-bottom: 16px; |
| 2660 | 2756 | border: 1px solid var(--lp-border-color, #E2E0DB); |
| 2661 | 2757 | border-radius: var(--lp-border-radius, 5px); |
| @@ -2919,18 +3015,21 @@ | ||
| 2919 | 3015 | box-shadow: none; |
| 2920 | 3016 | outline: none; |
| 2921 | 3017 | } |
| 2922 | 3018 | .course-curriculum .section-item__loadmore.loading button:before { |
| 2923 | - display: inline-block; | |
| 3019 | + position: absolute; | |
| 3020 | + inset: 0; | |
| 3021 | + display: flex; | |
| 3022 | + align-items: center; | |
| 3023 | + justify-content: center; | |
| 2924 | 3024 | font-family: "lp-icon"; |
| 2925 | 3025 | content: "\f110"; |
| 2926 | 3026 | animation: lp-rotating 1s linear infinite; |
| 2927 | - margin-left: 5px; | |
| 2928 | 3027 | font-variant: normal; |
| 2929 | 3028 | text-transform: none; |
| 2930 | 3029 | -webkit-font-smoothing: antialiased; |
| 2931 | 3030 | -moz-osx-font-smoothing: grayscale; |
| 2932 | - vertical-align: middle; | |
| 3031 | + color: black; | |
| 2933 | 3032 | } |
| 2934 | 3033 | .course-curriculum .section-header { |
| 2935 | 3034 | display: table; |
| 2936 | 3035 | width: 100%; |
| @@ -3145,18 +3244,21 @@ | ||
| 3145 | 3244 | margin-top: 20px; |
| 3146 | 3245 | margin-bottom: 20px; |
| 3147 | 3246 | } |
| 3148 | 3247 | .course-curriculum .curriculum-more__button.loading:before { |
| 3149 | - display: inline-block; | |
| 3248 | + position: absolute; | |
| 3249 | + inset: 0; | |
| 3250 | + display: flex; | |
| 3251 | + align-items: center; | |
| 3252 | + justify-content: center; | |
| 3150 | 3253 | font-family: "lp-icon"; |
| 3151 | 3254 | content: "\f110"; |
| 3152 | 3255 | animation: lp-rotating 1s linear infinite; |
| 3153 | - margin-left: 5px; | |
| 3154 | 3256 | font-variant: normal; |
| 3155 | 3257 | text-transform: none; |
| 3156 | 3258 | -webkit-font-smoothing: antialiased; |
| 3157 | 3259 | -moz-osx-font-smoothing: grayscale; |
| 3158 | - vertical-align: middle; | |
| 3260 | + color: black; | |
| 3159 | 3261 | } |
| 3160 | 3262 | |
| 3161 | 3263 | body .content-item-summary .form-button-finish-course, body .lp-quiz-buttons .form-button-finish-course { |
| 3162 | 3264 | float: left; |
| @@ -8586,8 +8688,10 @@ | ||
| 8586 | 8688 | } |
| 8587 | 8689 | |
| 8588 | 8690 | /** |
| 8589 | 8691 | * Style for table LearnPress |
| 8692 | +* @since 4.3.3 | |
| 8693 | +* @version 1.0.1 | |
| 8590 | 8694 | */ |
| 8591 | 8695 | .lp-table-wrap { |
| 8592 | 8696 | border-radius: 5px; |
| 8593 | 8697 | width: 100%; |
| @@ -8601,8 +8705,9 @@ | ||
| 8601 | 8705 | border-collapse: collapse; |
| 8602 | 8706 | width: 100%; |
| 8603 | 8707 | margin: 0; |
| 8604 | 8708 | min-width: 768px; |
| 8709 | + border: none; | |
| 8605 | 8710 | } |
| 8606 | 8711 | table.lp-list-table td { |
| 8607 | 8712 | padding: 0; |
| 8608 | 8713 | } |
| @@ -8609,50 +8714,63 @@ | ||
| 8609 | 8714 | table.lp-list-table .learn-press-pagination { |
| 8610 | 8715 | text-align: right; |
| 8611 | 8716 | } |
| 8612 | 8717 | table.lp-list-table thead { |
| 8613 | - background-color: var(--lp-white-grey, #F7F7FB); | |
| 8614 | 8718 | border: none; |
| 8615 | 8719 | } |
| 8720 | +table.lp-list-table thead tr:first-child td, table.lp-list-table thead tr:first-child th { | |
| 8721 | + border-block-start: none; | |
| 8722 | +} | |
| 8616 | 8723 | table.lp-list-table thead tr { |
| 8617 | 8724 | border-bottom: 1px solid var(--lp-border-color, #E2E0DB); |
| 8618 | 8725 | position: sticky; |
| 8619 | 8726 | top: 0; |
| 8620 | 8727 | z-index: 2; |
| 8621 | - background: #fff; | |
| 8728 | + background-color: var(--lp-white-grey, #F7F7FB); | |
| 8622 | 8729 | } |
| 8623 | -table.lp-list-table thead tr:hover { | |
| 8624 | - background: #eff6ff; | |
| 8625 | -} | |
| 8626 | 8730 | table.lp-list-table thead th { |
| 8627 | 8731 | background: none; |
| 8628 | 8732 | border: none; |
| 8629 | - font-size: 1em; | |
| 8630 | 8733 | padding: 10px 20px; |
| 8631 | 8734 | text-align: right; |
| 8632 | 8735 | } |
| 8736 | +table.lp-list-table thead th.sortable > a, table.lp-list-table thead th.sorted > a { | |
| 8737 | + display: flex; | |
| 8738 | + align-items: center; | |
| 8739 | + gap: 0.5em; | |
| 8740 | +} | |
| 8741 | +table.lp-list-table thead th .sorting-indicator { | |
| 8742 | + display: inline-flex; | |
| 8743 | + flex-direction: column; | |
| 8744 | + align-items: center; | |
| 8745 | + gap: 0.05em; | |
| 8746 | + height: 20px; | |
| 8747 | + margin: 0; | |
| 8748 | + padding: 0; | |
| 8749 | +} | |
| 8750 | +table.lp-list-table thead th .sorting-indicator i { | |
| 8751 | + color: #aaa; | |
| 8752 | + height: 10px; | |
| 8753 | +} | |
| 8754 | +table.lp-list-table thead th .sorting-indicator i.is-active { | |
| 8755 | + color: #000; | |
| 8756 | +} | |
| 8633 | 8757 | table.lp-list-table thead th td { |
| 8634 | 8758 | border: none; |
| 8635 | 8759 | padding: 0; |
| 8636 | 8760 | } |
| 8637 | -table.lp-list-table tbody { | |
| 8638 | - font-size: 14px; | |
| 8639 | -} | |
| 8640 | 8761 | table.lp-list-table tbody tr { |
| 8641 | 8762 | border: none; |
| 8642 | - border-bottom: 1px solid var(--lp-white-grey, #F7F7FB); | |
| 8643 | 8763 | } |
| 8764 | +table.lp-list-table tbody tr:nth-child(even) { | |
| 8765 | + background-color: hsla(0, 0%, 50%, 0.05); | |
| 8766 | +} | |
| 8644 | 8767 | table.lp-list-table tbody tr:hover { |
| 8645 | - background: #eff6ff !important; | |
| 8768 | + background-color: #eff6ff; | |
| 8646 | 8769 | } |
| 8647 | -table.lp-list-table tbody tr:nth-child(odd) { | |
| 8648 | - background: #f6f7f7; | |
| 8649 | -} | |
| 8650 | -table.lp-list-table tbody tr:nth-child(even) { | |
| 8651 | - background: #fff; | |
| 8652 | -} | |
| 8653 | 8770 | table.lp-list-table tbody tr td { |
| 8654 | 8771 | border: none; |
| 8772 | + border-bottom: 1px solid var(--lp-border-color, #E2E0DB); | |
| 8655 | 8773 | padding: 10px 20px; |
| 8656 | 8774 | text-align: right; |
| 8657 | 8775 | } |
| 8658 | 8776 | table.lp-list-table tbody tr td a { |
| @@ -8657,13 +8775,23 @@ | ||
| 8657 | 8775 | } |
| 8658 | 8776 | table.lp-list-table tbody tr td a { |
| 8659 | 8777 | text-decoration: none; |
| 8660 | 8778 | } |
| 8779 | +table.lp-list-table tbody tr:last-child td, table.lp-list-table tbody tr:last-child th { | |
| 8780 | + border-bottom: none; | |
| 8781 | +} | |
| 8782 | +table.lp-list-table tbody th { | |
| 8783 | + border: none; | |
| 8784 | + border-bottom: 1px solid var(--lp-border-color, #E2E0DB); | |
| 8785 | + padding: 10px 20px; | |
| 8786 | + text-align: right; | |
| 8787 | +} | |
| 8661 | 8788 | table.lp-list-table tfoot tr { |
| 8662 | 8789 | border: none; |
| 8663 | 8790 | } |
| 8664 | 8791 | table.lp-list-table tfoot tr td, table.lp-list-table tfoot tr th { |
| 8665 | 8792 | border: none; |
| 8793 | + border-top: 1px solid var(--lp-border-color, #E2E0DB); | |
| 8666 | 8794 | } |
| 8667 | 8795 | table.lp-list-table tfoot tr td > div, table.lp-list-table tfoot tr th > div { |
| 8668 | 8796 | padding: 20px; |
| 8669 | 8797 | } |
| @@ -8684,16 +8812,8 @@ | ||
| 8684 | 8812 | 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 { |
| 8685 | 8813 | padding-bottom: 0; |
| 8686 | 8814 | } |
| 8687 | 8815 | |
| 8688 | -.lp_profile_course_progress__nav { | |
| 8689 | - margin-top: 1rem; | |
| 8690 | -} | |
| 8691 | - | |
| 8692 | -#profile-content-order-details .lp-table-wrap { | |
| 8693 | - margin-bottom: 1rem; | |
| 8694 | -} | |
| 8695 | - | |
| 8696 | 8816 | /** |
| 8697 | 8817 | * Style for the popup alert, confirm |
| 8698 | 8818 | * @link https://sweetalert2.github.io/ |
| 8699 | 8819 | * @since 4.2.9 |
| @@ -8787,12 +8907,23 @@ | ||
| 8787 | 8907 | .lp-form-filter__fields > * { |
| 8788 | 8908 | flex: 1 1 0; |
| 8789 | 8909 | min-width: 0; |
| 8790 | 8910 | } |
| 8911 | +@media screen and (max-width: 782px) { | |
| 8912 | + .lp-form-filter__fields > * { | |
| 8913 | + flex: 1 1 50%; | |
| 8914 | + } | |
| 8915 | +} | |
| 8916 | +@media screen and (max-width: 500px) { | |
| 8917 | + .lp-form-filter__fields > * { | |
| 8918 | + flex: 1 1 100%; | |
| 8919 | + } | |
| 8920 | +} | |
| 8791 | 8921 | .lp-form-filter .filter-field { |
| 8792 | 8922 | display: flex; |
| 8793 | 8923 | flex-direction: column; |
| 8794 | 8924 | gap: 5px; |
| 8925 | + max-width: 200px; | |
| 8795 | 8926 | } |
| 8796 | 8927 | .lp-form-filter .filter-field label { |
| 8797 | 8928 | text-align: right; |
| 8798 | 8929 | font-weight: bold; |
| @@ -8805,8 +8936,23 @@ | ||
| 8805 | 8936 | .lp-form-filter__actions { |
| 8806 | 8937 | display: flex; |
| 8807 | 8938 | gap: 8px; |
| 8808 | 8939 | align-items: center; |
| 8940 | +} | |
| 8941 | +.lp-form-filter input, .lp-form-filter select { | |
| 8942 | + min-height: 40px; | |
| 8943 | + padding: 0 12px; | |
| 8944 | +} | |
| 8945 | +.lp-form-filter .lp-tom-select.ts-wrapper { | |
| 8946 | + width: 100%; | |
| 8947 | + min-width: auto; | |
| 8948 | + /*&.dropdown-active { | |
| 8949 | + width: 100%; | |
| 8950 | + }*/ | |
| 8951 | +} | |
| 8952 | +.lp-form-filter .lp-tom-select.ts-wrapper .ts-control { | |
| 8953 | + min-height: 40px; | |
| 8954 | + padding: 0 12px; | |
| 8809 | 8955 | } |
| 8810 | 8956 | |
| 8811 | 8957 | /* end reset css */ |
| 8812 | 8958 | @media (max-width: 1024px) { |