| @@ -81,17 +81,20 @@ | ||
| 81 | 81 | cursor: pointer; |
| 82 | 82 | } |
| 83 | 83 | .lp-button.loading { |
| 84 | 84 | position: relative; |
| 85 | - display: flex; | |
| 85 | + display: inline-flex; | |
| 86 | 86 | align-items: center; |
| 87 | 87 | justify-content: center; |
| 88 | 88 | pointer-events: none; |
| 89 | - color: rgba(0, 0, 0, 0.2) !important; | |
| 89 | + color: rgba(0, 0, 0, 0) !important; | |
| 90 | 90 | } |
| 91 | 91 | .lp-button.loading:before { |
| 92 | 92 | position: absolute; |
| 93 | - display: inline-block; | |
| 93 | + inset: 0; | |
| 94 | + display: flex; | |
| 95 | + align-items: center; | |
| 96 | + justify-content: center; | |
| 94 | 97 | font-family: "lp-icon"; |
| 95 | 98 | content: "\f110"; |
| 96 | 99 | animation: lp-rotating 1s linear infinite; |
| 97 | 100 | font-variant: normal; |
| @@ -97,38 +100,68 @@ | ||
| 97 | 100 | font-variant: normal; |
| 98 | 101 | text-transform: none; |
| 99 | 102 | -webkit-font-smoothing: antialiased; |
| 100 | 103 | -moz-osx-font-smoothing: grayscale; |
| 101 | - vertical-align: middle; | |
| 102 | 104 | color: black; |
| 103 | 105 | } |
| 104 | 106 | |
| 105 | 107 | .learn-press-message { |
| 106 | 108 | position: relative; |
| 109 | + display: flex; | |
| 110 | + align-items: center; | |
| 107 | 111 | margin: 0 !important; |
| 108 | - padding: 10px 20px; | |
| 112 | + padding: 10px; | |
| 109 | 113 | border-radius: var(--lp-border-radius, 5px); |
| 110 | 114 | background-color: #E5F7FF; |
| 111 | 115 | color: #007AFF; |
| 112 | 116 | max-width: 100%; |
| 113 | 117 | } |
| 118 | +.learn-press-message::before { | |
| 119 | + display: inline-block; | |
| 120 | + margin-right: 8px; | |
| 121 | + font-family: "lp-icon"; | |
| 122 | + font-size: 20px; | |
| 123 | + font-style: normal; | |
| 124 | + font-weight: normal; | |
| 125 | + line-height: 1; | |
| 126 | +} | |
| 114 | 127 | .learn-press-message.error { |
| 115 | 128 | background-color: #FEE5E5; |
| 116 | 129 | color: #FF3B30; |
| 117 | - border-left: none; | |
| 130 | + border: 1px solid #E31A1A; | |
| 131 | + padding: 10px 20px; | |
| 118 | 132 | } |
| 133 | +.learn-press-message.error::before { | |
| 134 | + content: "\f071"; | |
| 135 | + color: #E31A1A; | |
| 136 | +} | |
| 119 | 137 | .learn-press-message.warning { |
| 120 | 138 | background-color: #FEF7E6; |
| 121 | 139 | color: #FF9500; |
| 140 | + border: 1px solid #F8A100; | |
| 122 | 141 | } |
| 142 | +.learn-press-message.warning::before { | |
| 143 | + content: "\f06a"; | |
| 144 | + color: #F8A100; | |
| 145 | +} | |
| 123 | 146 | .learn-press-message.success { |
| 124 | 147 | background-color: #EBF8E5; |
| 125 | 148 | color: #3AB500; |
| 149 | + border: 1px solid #28A746; | |
| 126 | 150 | } |
| 151 | +.learn-press-message.success::before { | |
| 152 | + content: "\f058"; | |
| 153 | + color: #28A746; | |
| 154 | +} | |
| 127 | 155 | .learn-press-message.info { |
| 128 | 156 | background-color: rgba(0, 122, 255, 0.1019607843); |
| 129 | 157 | color: #007AFF; |
| 158 | + border: 1px solid #2E91FA; | |
| 130 | 159 | } |
| 160 | +.learn-press-message.info::before { | |
| 161 | + content: "\e931"; | |
| 162 | + color: #2E91FA; | |
| 163 | +} | |
| 131 | 164 | .learn-press-message a { |
| 132 | 165 | text-decoration: underline; |
| 133 | 166 | } |
| 134 | 167 | |
| @@ -1699,9 +1732,12 @@ | ||
| 1699 | 1732 | line-height: 1.4; |
| 1700 | 1733 | } |
| 1701 | 1734 | .learnpress_avatar__button--loading:before { |
| 1702 | 1735 | position: absolute; |
| 1703 | - display: inline-block; | |
| 1736 | + inset: 0; | |
| 1737 | + display: flex; | |
| 1738 | + align-items: center; | |
| 1739 | + justify-content: center; | |
| 1704 | 1740 | font-family: "lp-icon"; |
| 1705 | 1741 | content: "\f110"; |
| 1706 | 1742 | animation: lp-rotating 1s linear infinite; |
| 1707 | 1743 | font-variant: normal; |
| @@ -1707,9 +1743,8 @@ | ||
| 1707 | 1743 | font-variant: normal; |
| 1708 | 1744 | text-transform: none; |
| 1709 | 1745 | -webkit-font-smoothing: antialiased; |
| 1710 | 1746 | -moz-osx-font-smoothing: grayscale; |
| 1711 | - vertical-align: middle; | |
| 1712 | 1747 | color: black; |
| 1713 | 1748 | } |
| 1714 | 1749 | |
| 1715 | 1750 | button.learnpress_avatar__button { |
| @@ -2052,9 +2087,8 @@ | ||
| 2052 | 2087 | flex-wrap: wrap; |
| 2053 | 2088 | align-items: center; |
| 2054 | 2089 | justify-content: space-between; |
| 2055 | 2090 | gap: 8px; |
| 2056 | - border-top: 1px solid #e2e8f0; | |
| 2057 | 2091 | } |
| 2058 | 2092 | .lp-enrolled-students-table-footer__count { |
| 2059 | 2093 | color: #64748b; |
| 2060 | 2094 | font-size: 13px; |
| @@ -2708,8 +2742,16 @@ | ||
| 2708 | 2742 | gap: 12px; |
| 2709 | 2743 | margin-top: 16px; |
| 2710 | 2744 | } |
| 2711 | 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 | + | |
| 2712 | 2754 | .course-extra-box { |
| 2713 | 2755 | margin-bottom: 16px; |
| 2714 | 2756 | border: 1px solid var(--lp-border-color, #E2E0DB); |
| 2715 | 2757 | border-radius: var(--lp-border-radius, 5px); |
| @@ -2974,9 +3016,12 @@ | ||
| 2974 | 3016 | outline: none; |
| 2975 | 3017 | } |
| 2976 | 3018 | .course-curriculum .section-item__loadmore.loading button:before { |
| 2977 | 3019 | position: absolute; |
| 2978 | - display: inline-block; | |
| 3020 | + inset: 0; | |
| 3021 | + display: flex; | |
| 3022 | + align-items: center; | |
| 3023 | + justify-content: center; | |
| 2979 | 3024 | font-family: "lp-icon"; |
| 2980 | 3025 | content: "\f110"; |
| 2981 | 3026 | animation: lp-rotating 1s linear infinite; |
| 2982 | 3027 | font-variant: normal; |
| @@ -2982,9 +3027,8 @@ | ||
| 2982 | 3027 | font-variant: normal; |
| 2983 | 3028 | text-transform: none; |
| 2984 | 3029 | -webkit-font-smoothing: antialiased; |
| 2985 | 3030 | -moz-osx-font-smoothing: grayscale; |
| 2986 | - vertical-align: middle; | |
| 2987 | 3031 | color: black; |
| 2988 | 3032 | } |
| 2989 | 3033 | .course-curriculum .section-header { |
| 2990 | 3034 | display: table; |
| @@ -3201,9 +3245,12 @@ | ||
| 3201 | 3245 | margin-bottom: 20px; |
| 3202 | 3246 | } |
| 3203 | 3247 | .course-curriculum .curriculum-more__button.loading:before { |
| 3204 | 3248 | position: absolute; |
| 3205 | - display: inline-block; | |
| 3249 | + inset: 0; | |
| 3250 | + display: flex; | |
| 3251 | + align-items: center; | |
| 3252 | + justify-content: center; | |
| 3206 | 3253 | font-family: "lp-icon"; |
| 3207 | 3254 | content: "\f110"; |
| 3208 | 3255 | animation: lp-rotating 1s linear infinite; |
| 3209 | 3256 | font-variant: normal; |
| @@ -3209,9 +3256,8 @@ | ||
| 3209 | 3256 | font-variant: normal; |
| 3210 | 3257 | text-transform: none; |
| 3211 | 3258 | -webkit-font-smoothing: antialiased; |
| 3212 | 3259 | -moz-osx-font-smoothing: grayscale; |
| 3213 | - vertical-align: middle; | |
| 3214 | 3260 | color: black; |
| 3215 | 3261 | } |
| 3216 | 3262 | |
| 3217 | 3263 | body .content-item-summary .form-button-finish-course, body .lp-quiz-buttons .form-button-finish-course { |
| @@ -8642,8 +8688,10 @@ | ||
| 8642 | 8688 | } |
| 8643 | 8689 | |
| 8644 | 8690 | /** |
| 8645 | 8691 | * Style for table LearnPress |
| 8692 | +* @since 4.3.3 | |
| 8693 | +* @version 1.0.1 | |
| 8646 | 8694 | */ |
| 8647 | 8695 | .lp-table-wrap { |
| 8648 | 8696 | border-radius: 5px; |
| 8649 | 8697 | width: 100%; |
| @@ -8684,8 +8732,29 @@ | ||
| 8684 | 8732 | border: none; |
| 8685 | 8733 | padding: 10px 20px; |
| 8686 | 8734 | text-align: left; |
| 8687 | 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 | +} | |
| 8688 | 8757 | table.lp-list-table thead th td { |
| 8689 | 8758 | border: none; |
| 8690 | 8759 | padding: 0; |
| 8691 | 8760 | } |
| @@ -8706,13 +8775,16 @@ | ||
| 8706 | 8775 | } |
| 8707 | 8776 | table.lp-list-table tbody tr td a { |
| 8708 | 8777 | text-decoration: none; |
| 8709 | 8778 | } |
| 8710 | -table.lp-list-table tbody tr:last-child td { | |
| 8779 | +table.lp-list-table tbody tr:last-child td, table.lp-list-table tbody tr:last-child th { | |
| 8711 | 8780 | border-bottom: none; |
| 8712 | 8781 | } |
| 8713 | 8782 | table.lp-list-table tbody th { |
| 8783 | + border: none; | |
| 8784 | + border-bottom: 1px solid var(--lp-border-color, #E2E0DB); | |
| 8714 | 8785 | padding: 10px 20px; |
| 8786 | + text-align: left; | |
| 8715 | 8787 | } |
| 8716 | 8788 | table.lp-list-table tfoot tr { |
| 8717 | 8789 | border: none; |
| 8718 | 8790 | } |
| @@ -8740,16 +8812,8 @@ | ||
| 8740 | 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 { |
| 8741 | 8813 | padding-bottom: 0; |
| 8742 | 8814 | } |
| 8743 | 8815 | |
| 8744 | -.lp_profile_course_progress__nav { | |
| 8745 | - margin-top: 1rem; | |
| 8746 | -} | |
| 8747 | - | |
| 8748 | -#profile-content-order-details .lp-table-wrap { | |
| 8749 | - margin-bottom: 1rem; | |
| 8750 | -} | |
| 8751 | - | |
| 8752 | 8816 | /** |
| 8753 | 8817 | * Style for the popup alert, confirm |
| 8754 | 8818 | * @link https://sweetalert2.github.io/ |
| 8755 | 8819 | * @since 4.2.9 |
| @@ -8843,12 +8907,23 @@ | ||
| 8843 | 8907 | .lp-form-filter__fields > * { |
| 8844 | 8908 | flex: 1 1 0; |
| 8845 | 8909 | min-width: 0; |
| 8846 | 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 | +} | |
| 8847 | 8921 | .lp-form-filter .filter-field { |
| 8848 | 8922 | display: flex; |
| 8849 | 8923 | flex-direction: column; |
| 8850 | 8924 | gap: 5px; |
| 8925 | + max-width: 200px; | |
| 8851 | 8926 | } |
| 8852 | 8927 | .lp-form-filter .filter-field label { |
| 8853 | 8928 | text-align: left; |
| 8854 | 8929 | font-weight: bold; |
| @@ -8861,8 +8936,23 @@ | ||
| 8861 | 8936 | .lp-form-filter__actions { |
| 8862 | 8937 | display: flex; |
| 8863 | 8938 | gap: 8px; |
| 8864 | 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; | |
| 8865 | 8955 | } |
| 8866 | 8956 | |
| 8867 | 8957 | /* end reset css */ |
| 8868 | 8958 | @media (max-width: 1024px) { |