| @@ -88,22 +88,27 @@ | ||
| 88 | 88 | color: rgba(0, 0, 0, 0.2) !important; |
| 89 | 89 | } |
| 90 | 90 | .lp-button.loading:before { |
| 91 | 91 | position: absolute; |
| 92 | - display: inline-block; | |
| 92 | + inset: 0; | |
| 93 | + display: flex; | |
| 94 | + align-items: center; | |
| 95 | + justify-content: center; | |
| 93 | 96 | font-family: "lp-icon"; |
| 94 | 97 | content: "\f110"; |
| 95 | 98 | animation: lp-rotating 1s linear infinite; |
| 99 | + line-height: 1; | |
| 96 | 100 | font-variant: normal; |
| 97 | 101 | text-transform: none; |
| 98 | 102 | -webkit-font-smoothing: antialiased; |
| 99 | 103 | -moz-osx-font-smoothing: grayscale; |
| 100 | - vertical-align: middle; | |
| 101 | 104 | color: black; |
| 102 | 105 | } |
| 103 | 106 | |
| 104 | 107 | .learn-press-message { |
| 105 | 108 | position: relative; |
| 109 | + display: flex; | |
| 110 | + align-items: center; | |
| 106 | 111 | margin: 0 !important; |
| 107 | 112 | padding: 10px 20px; |
| 108 | 113 | border-radius: var(--lp-border-radius, 5px); |
| 109 | 114 | background-color: #E5F7FF; |
| @@ -109,25 +114,54 @@ | ||
| 109 | 114 | background-color: #E5F7FF; |
| 110 | 115 | color: #007AFF; |
| 111 | 116 | max-width: 100%; |
| 112 | 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 | +} | |
| 113 | 127 | .learn-press-message.error { |
| 114 | 128 | background-color: #FEE5E5; |
| 115 | 129 | color: #FF3B30; |
| 116 | - border-left: none; | |
| 130 | + border: 1px solid #E31A1A; | |
| 131 | + padding: 10px 20px; | |
| 117 | 132 | } |
| 133 | +.learn-press-message.error::before { | |
| 134 | + content: "\f071"; | |
| 135 | + color: #E31A1A; | |
| 136 | +} | |
| 118 | 137 | .learn-press-message.warning { |
| 119 | 138 | background-color: #FEF7E6; |
| 120 | 139 | color: #FF9500; |
| 140 | + border: 1px solid #F8A100; | |
| 121 | 141 | } |
| 142 | +.learn-press-message.warning::before { | |
| 143 | + content: "\f06a"; | |
| 144 | + color: #F8A100; | |
| 145 | +} | |
| 122 | 146 | .learn-press-message.success { |
| 123 | 147 | background-color: #EBF8E5; |
| 124 | 148 | color: #3AB500; |
| 149 | + border: 1px solid #28A746; | |
| 125 | 150 | } |
| 151 | +.learn-press-message.success::before { | |
| 152 | + content: "\f058"; | |
| 153 | + color: #28A746; | |
| 154 | +} | |
| 126 | 155 | .learn-press-message.info { |
| 127 | 156 | background-color: rgba(0, 122, 255, 0.1019607843); |
| 128 | 157 | color: #007AFF; |
| 158 | + border: 1px solid #2E91FA; | |
| 129 | 159 | } |
| 160 | +.learn-press-message.info::before { | |
| 161 | + content: "\e931"; | |
| 162 | + color: #2E91FA; | |
| 163 | +} | |
| 130 | 164 | .learn-press-message a { |
| 131 | 165 | text-decoration: underline; |
| 132 | 166 | } |
| 133 | 167 | |
| @@ -740,17 +774,20 @@ | ||
| 740 | 774 | outline: none; |
| 741 | 775 | } |
| 742 | 776 | .course-curriculum .section-item__loadmore.loading button:before { |
| 743 | 777 | position: absolute; |
| 744 | - display: inline-block; | |
| 778 | + inset: 0; | |
| 779 | + display: flex; | |
| 780 | + align-items: center; | |
| 781 | + justify-content: center; | |
| 745 | 782 | font-family: "lp-icon"; |
| 746 | 783 | content: "\f110"; |
| 747 | 784 | animation: lp-rotating 1s linear infinite; |
| 785 | + line-height: 1; | |
| 748 | 786 | font-variant: normal; |
| 749 | 787 | text-transform: none; |
| 750 | 788 | -webkit-font-smoothing: antialiased; |
| 751 | 789 | -moz-osx-font-smoothing: grayscale; |
| 752 | - vertical-align: middle; | |
| 753 | 790 | color: black; |
| 754 | 791 | } |
| 755 | 792 | .course-curriculum .section-header { |
| 756 | 793 | display: table; |
| @@ -967,17 +1004,20 @@ | ||
| 967 | 1004 | margin-bottom: 20px; |
| 968 | 1005 | } |
| 969 | 1006 | .course-curriculum .curriculum-more__button.loading:before { |
| 970 | 1007 | position: absolute; |
| 971 | - display: inline-block; | |
| 1008 | + inset: 0; | |
| 1009 | + display: flex; | |
| 1010 | + align-items: center; | |
| 1011 | + justify-content: center; | |
| 972 | 1012 | font-family: "lp-icon"; |
| 973 | 1013 | content: "\f110"; |
| 974 | 1014 | animation: lp-rotating 1s linear infinite; |
| 1015 | + line-height: 1; | |
| 975 | 1016 | font-variant: normal; |
| 976 | 1017 | text-transform: none; |
| 977 | 1018 | -webkit-font-smoothing: antialiased; |
| 978 | 1019 | -moz-osx-font-smoothing: grayscale; |
| 979 | - vertical-align: middle; | |
| 980 | 1020 | color: black; |
| 981 | 1021 | } |
| 982 | 1022 | |
| 983 | 1023 | body .content-item-summary .form-button-finish-course, body .lp-quiz-buttons .form-button-finish-course { |
| @@ -1594,17 +1634,20 @@ | ||
| 1594 | 1634 | } |
| 1595 | 1635 | .wp-block-learnpress-course-button-read-more.loading:before, |
| 1596 | 1636 | .wp-block-learnpress-course-button.loading:before { |
| 1597 | 1637 | position: absolute; |
| 1598 | - display: inline-block; | |
| 1638 | + inset: 0; | |
| 1639 | + display: flex; | |
| 1640 | + align-items: center; | |
| 1641 | + justify-content: center; | |
| 1599 | 1642 | font-family: "lp-icon"; |
| 1600 | 1643 | content: "\f110"; |
| 1601 | 1644 | animation: lp-rotating 1s linear infinite; |
| 1645 | + line-height: 1; | |
| 1602 | 1646 | font-variant: normal; |
| 1603 | 1647 | text-transform: none; |
| 1604 | 1648 | -webkit-font-smoothing: antialiased; |
| 1605 | 1649 | -moz-osx-font-smoothing: grayscale; |
| 1606 | - vertical-align: middle; | |
| 1607 | 1650 | color: black; |
| 1608 | 1651 | } |
| 1609 | 1652 | |
| 1610 | 1653 | @media (min-width: 992px) { |