| @@ -1,45 +1,15 @@ | ||
| 1 | 1 | /** |
| 2 | 2 | * Mixin |
| 3 | 3 | */ |
| 4 | -@-webkit-keyframes rotating4 { | |
| 5 | - from { | |
| 6 | - -webkit-transform: rotate(0deg); | |
| 7 | - -o-transform: rotate(0deg); | |
| 8 | - transform: rotate(0deg); | |
| 9 | - } | |
| 10 | - to { | |
| 11 | - -webkit-transform: rotate(360deg); | |
| 12 | - -o-transform: rotate(360deg); | |
| 13 | - transform: rotate(360deg); | |
| 14 | - } | |
| 15 | -} | |
| 16 | 4 | @keyframes rotating4 { |
| 17 | 5 | from { |
| 18 | - -ms-transform: rotate(0deg); | |
| 19 | - -moz-transform: rotate(0deg); | |
| 20 | - -webkit-transform: rotate(0deg); | |
| 21 | - -o-transform: rotate(0deg); | |
| 22 | 6 | transform: rotate(0deg); |
| 23 | 7 | } |
| 24 | 8 | to { |
| 25 | - -ms-transform: rotate(360deg); | |
| 26 | - -moz-transform: rotate(360deg); | |
| 27 | - -webkit-transform: rotate(360deg); | |
| 28 | - -o-transform: rotate(360deg); | |
| 29 | 9 | transform: rotate(360deg); |
| 30 | 10 | } |
| 31 | 11 | } |
| 32 | -@-webkit-keyframes animation4 { | |
| 33 | - from { | |
| 34 | - left: -40%; | |
| 35 | - width: 40%; | |
| 36 | - } | |
| 37 | - to { | |
| 38 | - left: 100%; | |
| 39 | - width: 10%; | |
| 40 | - } | |
| 41 | -} | |
| 42 | 12 | @keyframes animation4 { |
| 43 | 13 | from { |
| 44 | 14 | left: -40%; |
| 45 | 15 | width: 40%; |
| @@ -56,33 +26,141 @@ | ||
| 56 | 26 | .wp-block-group { |
| 57 | 27 | --lp-container-max-width: var(--wp--style--global--wide-size); |
| 58 | 28 | } |
| 59 | 29 | |
| 30 | +/** | |
| 31 | +* Style for the buttons | |
| 32 | +*/ | |
| 33 | +.lp-btn-edit-primary { | |
| 34 | + border: none; | |
| 35 | + background: #135e96; | |
| 36 | + color: #fff; | |
| 37 | +} | |
| 38 | +.lp-btn-edit-primary:not(.active) { | |
| 39 | + opacity: 0.5; | |
| 40 | +} | |
| 41 | +.lp-btn-edit-primary:hover, .lp-btn-edit-primary.active, .lp-btn-edit-primary.active:hover { | |
| 42 | + background: #135E96; | |
| 43 | + color: #fff; | |
| 44 | + opacity: 1; | |
| 45 | +} | |
| 46 | + | |
| 47 | +/* 5. Minimal Bottom Line */ | |
| 48 | +.btn-line::after { | |
| 49 | + content: ""; | |
| 50 | + position: absolute; | |
| 51 | + bottom: 0; | |
| 52 | + left: 0; | |
| 53 | + height: 4px; | |
| 54 | + width: 0%; | |
| 55 | + background-color: #38bdf8; | |
| 56 | + animation: lineLoad 2s ease-in-out infinite; | |
| 57 | +} | |
| 58 | + | |
| 59 | +@keyframes lineLoad { | |
| 60 | + 0% { | |
| 61 | + width: 0%; | |
| 62 | + left: 0; | |
| 63 | + } | |
| 64 | + 50% { | |
| 65 | + width: 100%; | |
| 66 | + left: 0; | |
| 67 | + } | |
| 68 | + 100% { | |
| 69 | + width: 0%; | |
| 70 | + left: 100%; | |
| 71 | + } | |
| 72 | +} | |
| 73 | +.lp-button { | |
| 74 | + padding: 8px 16px; | |
| 75 | + border: 1px solid var(--lp-border-color, #E2E0DB); | |
| 76 | + border-radius: var(--lp-border-radius, 5px); | |
| 77 | + color: #374151; | |
| 78 | + font-weight: 500; | |
| 79 | + text-decoration: none; | |
| 80 | + cursor: pointer; | |
| 81 | +} | |
| 82 | +.lp-button.loading { | |
| 83 | + position: relative; | |
| 84 | + display: inline-flex; | |
| 85 | + align-items: center; | |
| 86 | + justify-content: center; | |
| 87 | + pointer-events: none; | |
| 88 | + color: rgba(0, 0, 0, 0) !important; | |
| 89 | +} | |
| 90 | +.lp-button.loading:before { | |
| 91 | + position: absolute; | |
| 92 | + inset: 0; | |
| 93 | + display: flex; | |
| 94 | + align-items: center; | |
| 95 | + justify-content: center; | |
| 96 | + font-family: "lp-icon"; | |
| 97 | + content: "\f110"; | |
| 98 | + animation: lp-rotating 1s linear infinite; | |
| 99 | + font-variant: normal; | |
| 100 | + text-transform: none; | |
| 101 | + -webkit-font-smoothing: antialiased; | |
| 102 | + -moz-osx-font-smoothing: grayscale; | |
| 103 | + color: black; | |
| 104 | +} | |
| 105 | + | |
| 60 | 106 | .learn-press-message { |
| 61 | 107 | position: relative; |
| 62 | - margin: 24px auto; | |
| 63 | - padding: 10px 20px; | |
| 108 | + display: flex; | |
| 109 | + align-items: center; | |
| 110 | + margin: 0 !important; | |
| 111 | + padding: 10px; | |
| 64 | 112 | border-radius: var(--lp-border-radius, 5px); |
| 65 | 113 | background-color: #E5F7FF; |
| 66 | 114 | color: #007AFF; |
| 67 | 115 | max-width: 100%; |
| 68 | 116 | } |
| 117 | +.learn-press-message::before { | |
| 118 | + display: inline-block; | |
| 119 | + margin-right: 8px; | |
| 120 | + font-family: "lp-icon"; | |
| 121 | + font-size: 20px; | |
| 122 | + font-style: normal; | |
| 123 | + font-weight: normal; | |
| 124 | + line-height: 1; | |
| 125 | +} | |
| 69 | 126 | .learn-press-message.error { |
| 70 | 127 | background-color: #FEE5E5; |
| 71 | 128 | color: #FF3B30; |
| 129 | + border: 1px solid #E31A1A; | |
| 130 | + padding: 10px 20px; | |
| 72 | 131 | } |
| 132 | +.learn-press-message.error::before { | |
| 133 | + content: "\f071"; | |
| 134 | + color: #E31A1A; | |
| 135 | +} | |
| 73 | 136 | .learn-press-message.warning { |
| 74 | 137 | background-color: #FEF7E6; |
| 75 | 138 | color: #FF9500; |
| 139 | + border: 1px solid #F8A100; | |
| 76 | 140 | } |
| 141 | +.learn-press-message.warning::before { | |
| 142 | + content: "\f06a"; | |
| 143 | + color: #F8A100; | |
| 144 | +} | |
| 77 | 145 | .learn-press-message.success { |
| 78 | 146 | background-color: #EBF8E5; |
| 79 | 147 | color: #3AB500; |
| 148 | + border: 1px solid #28A746; | |
| 80 | 149 | } |
| 150 | +.learn-press-message.success::before { | |
| 151 | + content: "\f058"; | |
| 152 | + color: #28A746; | |
| 153 | +} | |
| 81 | 154 | .learn-press-message.info { |
| 82 | 155 | background-color: rgba(0, 122, 255, 0.1019607843); |
| 83 | 156 | color: #007AFF; |
| 157 | + border: 1px solid #2E91FA; | |
| 84 | 158 | } |
| 159 | +.learn-press-message.info::before { | |
| 160 | + content: "\e931"; | |
| 161 | + color: #2E91FA; | |
| 162 | +} | |
| 85 | 163 | .learn-press-message a { |
| 86 | 164 | text-decoration: underline; |
| 87 | 165 | } |
| 88 | 166 | |
| @@ -133,18 +211,12 @@ | ||
| 133 | 211 | |
| 134 | 212 | @keyframes lp-rotating { |
| 135 | 213 | from { |
| 136 | 214 | -webkit-transform: rotate(0deg); |
| 137 | - -moz-transform: rotate(0deg); | |
| 138 | - -ms-transform: rotate(0deg); | |
| 139 | - -o-transform: rotate(0deg); | |
| 140 | 215 | transform: rotate(0deg); |
| 141 | 216 | } |
| 142 | 217 | to { |
| 143 | 218 | -webkit-transform: rotate(360deg); |
| 144 | - -moz-transform: rotate(360deg); | |
| 145 | - -ms-transform: rotate(360deg); | |
| 146 | - -o-transform: rotate(360deg); | |
| 147 | 219 | transform: rotate(360deg); |
| 148 | 220 | } |
| 149 | 221 | } |
| 150 | 222 | @-webkit-keyframes lp-rotating { |
| @@ -149,18 +221,12 @@ | ||
| 149 | 221 | } |
| 150 | 222 | @-webkit-keyframes lp-rotating { |
| 151 | 223 | from { |
| 152 | 224 | -webkit-transform: rotate(0deg); |
| 153 | - -moz-transform: rotate(0deg); | |
| 154 | - -ms-transform: rotate(0deg); | |
| 155 | - -o-transform: rotate(0deg); | |
| 156 | 225 | transform: rotate(0deg); |
| 157 | 226 | } |
| 158 | 227 | to { |
| 159 | 228 | -webkit-transform: rotate(360deg); |
| 160 | - -moz-transform: rotate(360deg); | |
| 161 | - -ms-transform: rotate(360deg); | |
| 162 | - -o-transform: rotate(360deg); | |
| 163 | 229 | transform: rotate(360deg); |
| 164 | 230 | } |
| 165 | 231 | } |
| 166 | 232 | .lp-loading-change { |
| @@ -327,11 +393,8 @@ | ||
| 327 | 393 | .social-share-toggle .wrapper-content-widget { |
| 328 | 394 | visibility: hidden; |
| 329 | 395 | text-align: left; |
| 330 | 396 | opacity: 0; |
| 331 | - -webkit-transition: all 0.27s ease; | |
| 332 | - -moz-transition: all 0.27s ease; | |
| 333 | - -o-transition: all 0.27s ease; | |
| 334 | 397 | transition: all 0.27s ease; |
| 335 | 398 | position: absolute; |
| 336 | 399 | right: 0; |
| 337 | 400 | top: auto; |
| @@ -484,17 +547,12 @@ | ||
| 484 | 547 | overflow: hidden; |
| 485 | 548 | transition: height 0.3s ease; |
| 486 | 549 | } |
| 487 | 550 | .course-extra-box__content-inner { |
| 488 | - -webkit-animation-name: course-extra-box__content-inner-transform; | |
| 489 | 551 | animation-name: course-extra-box__content-inner-transform; |
| 490 | - -webkit-animation-duration: 0.3s; | |
| 491 | 552 | animation-duration: 0.3s; |
| 492 | - -webkit-animation-timing-function: ease-in-out; | |
| 493 | 553 | animation-timing-function: ease-in-out; |
| 494 | - -webkit-animation-iteration-count: 1; | |
| 495 | 554 | animation-iteration-count: 1; |
| 496 | - -webkit-animation-direction: normal; | |
| 497 | 555 | animation-direction: normal; |
| 498 | 556 | } |
| 499 | 557 | .course-extra-box__content-inner > ul { |
| 500 | 558 | padding-left: 0 !important; |
| @@ -555,19 +613,13 @@ | ||
| 555 | 613 | @-webkit-keyframes course-extra-box__content-inner-transform { |
| 556 | 614 | from { |
| 557 | 615 | opacity: 0; |
| 558 | 616 | -webkit-transform: translateX(5%); |
| 559 | - -moz-transform: translateX(5%); | |
| 560 | - -ms-transform: translateX(5%); | |
| 561 | - -o-transform: translateX(5%); | |
| 562 | 617 | transform: translateX(5%); |
| 563 | 618 | } |
| 564 | 619 | to { |
| 565 | 620 | opacity: 1; |
| 566 | 621 | -webkit-transform: translateX(0%); |
| 567 | - -moz-transform: translateX(0%); | |
| 568 | - -ms-transform: translateX(0%); | |
| 569 | - -o-transform: translateX(0%); | |
| 570 | 622 | transform: translateX(0%); |
| 571 | 623 | } |
| 572 | 624 | } |
| 573 | 625 | @keyframes course-extra-box__content-inner-transform { |
| @@ -642,19 +694,13 @@ | ||
| 642 | 694 | @-webkit-keyframes course-faqs-box__content-inner-transform { |
| 643 | 695 | from { |
| 644 | 696 | opacity: 0; |
| 645 | 697 | -webkit-transform: translateY(-5%); |
| 646 | - -moz-transform: translateY(-5%); | |
| 647 | - -ms-transform: translateY(-5%); | |
| 648 | - -o-transform: translateY(-5%); | |
| 649 | 698 | transform: translateY(-5%); |
| 650 | 699 | } |
| 651 | 700 | to { |
| 652 | 701 | opacity: 1; |
| 653 | 702 | -webkit-transform: translateY(0%); |
| 654 | - -moz-transform: translateY(0%); | |
| 655 | - -ms-transform: translateY(0%); | |
| 656 | - -o-transform: translateY(0%); | |
| 657 | 703 | transform: translateY(0%); |
| 658 | 704 | } |
| 659 | 705 | } |
| 660 | 706 | @keyframes course-faqs-box__content-inner-transform { |
| @@ -660,19 +706,13 @@ | ||
| 660 | 706 | @keyframes course-faqs-box__content-inner-transform { |
| 661 | 707 | from { |
| 662 | 708 | opacity: 0; |
| 663 | 709 | -webkit-transform: translateY(-5%); |
| 664 | - -moz-transform: translateY(-5%); | |
| 665 | - -ms-transform: translateY(-5%); | |
| 666 | - -o-transform: translateY(-5%); | |
| 667 | 710 | transform: translateY(-5%); |
| 668 | 711 | } |
| 669 | 712 | to { |
| 670 | 713 | opacity: 1; |
| 671 | 714 | -webkit-transform: translateY(0%); |
| 672 | - -moz-transform: translateY(0%); | |
| 673 | - -ms-transform: translateY(0%); | |
| 674 | - -o-transform: translateY(0%); | |
| 675 | 715 | transform: translateY(0%); |
| 676 | 716 | } |
| 677 | 717 | } |
| 678 | 718 | .extra-box__title, .course-faqs__title, .course-material__title { |
| @@ -712,11 +752,8 @@ | ||
| 712 | 752 | display: block; |
| 713 | 753 | } |
| 714 | 754 | .course-curriculum ul.curriculum-sections .section-title.c span.show-desc::before { |
| 715 | 755 | -webkit-transform: rotate(180deg); |
| 716 | - -moz-transform: rotate(180deg); | |
| 717 | - -ms-transform: rotate(180deg); | |
| 718 | - -o-transform: rotate(180deg); | |
| 719 | 756 | transform: rotate(180deg); |
| 720 | 757 | top: 0; |
| 721 | 758 | } |
| 722 | 759 | .course-curriculum ul.curriculum-sections .item-meta.duration { |
| @@ -735,18 +772,21 @@ | ||
| 735 | 772 | box-shadow: none; |
| 736 | 773 | outline: none; |
| 737 | 774 | } |
| 738 | 775 | .course-curriculum .section-item__loadmore.loading button:before { |
| 739 | - display: inline-block; | |
| 776 | + position: absolute; | |
| 777 | + inset: 0; | |
| 778 | + display: flex; | |
| 779 | + align-items: center; | |
| 780 | + justify-content: center; | |
| 740 | 781 | font-family: "lp-icon"; |
| 741 | 782 | content: "\f110"; |
| 742 | 783 | animation: lp-rotating 1s linear infinite; |
| 743 | - margin-right: 5px; | |
| 744 | 784 | font-variant: normal; |
| 745 | 785 | text-transform: none; |
| 746 | 786 | -webkit-font-smoothing: antialiased; |
| 747 | 787 | -moz-osx-font-smoothing: grayscale; |
| 748 | - vertical-align: middle; | |
| 788 | + color: black; | |
| 749 | 789 | } |
| 750 | 790 | .course-curriculum .section-header { |
| 751 | 791 | display: table; |
| 752 | 792 | width: 100%; |
| @@ -754,9 +794,8 @@ | ||
| 754 | 794 | border-bottom: 0; |
| 755 | 795 | border-bottom: 1px solid #d9e0f1; |
| 756 | 796 | cursor: pointer; |
| 757 | 797 | -webkit-box-sizing: border-box; |
| 758 | - -moz-box-sizing: border-box; | |
| 759 | 798 | box-sizing: border-box; |
| 760 | 799 | } |
| 761 | 800 | .course-curriculum .section-header .section-title, .course-curriculum .section-header .section-desc { |
| 762 | 801 | margin: 0; |
| @@ -962,18 +1001,21 @@ | ||
| 962 | 1001 | margin-top: 20px; |
| 963 | 1002 | margin-bottom: 20px; |
| 964 | 1003 | } |
| 965 | 1004 | .course-curriculum .curriculum-more__button.loading:before { |
| 966 | - display: inline-block; | |
| 1005 | + position: absolute; | |
| 1006 | + inset: 0; | |
| 1007 | + display: flex; | |
| 1008 | + align-items: center; | |
| 1009 | + justify-content: center; | |
| 967 | 1010 | font-family: "lp-icon"; |
| 968 | 1011 | content: "\f110"; |
| 969 | 1012 | animation: lp-rotating 1s linear infinite; |
| 970 | - margin-right: 5px; | |
| 971 | 1013 | font-variant: normal; |
| 972 | 1014 | text-transform: none; |
| 973 | 1015 | -webkit-font-smoothing: antialiased; |
| 974 | 1016 | -moz-osx-font-smoothing: grayscale; |
| 975 | - vertical-align: middle; | |
| 1017 | + color: black; | |
| 976 | 1018 | } |
| 977 | 1019 | |
| 978 | 1020 | body .content-item-summary .form-button-finish-course, body .lp-quiz-buttons .form-button-finish-course { |
| 979 | 1021 | float: right; |
| @@ -1216,8 +1258,11 @@ | ||
| 1216 | 1258 | content: "\e921"; |
| 1217 | 1259 | color: #999; |
| 1218 | 1260 | } |
| 1219 | 1261 | |
| 1262 | +.info-learning .course-progress > div { | |
| 1263 | + margin-bottom: 8px; | |
| 1264 | +} | |
| 1220 | 1265 | .info-learning .course-progress__line { |
| 1221 | 1266 | width: 100%; |
| 1222 | 1267 | background: #ccc; |
| 1223 | 1268 | height: 5px; |
| @@ -1246,8 +1291,11 @@ | ||
| 1246 | 1291 | width: 2px; |
| 1247 | 1292 | height: 100%; |
| 1248 | 1293 | background: var(--lp-secondary-color); |
| 1249 | 1294 | } |
| 1295 | +.info-learning .start-date, .info-learning .end-date { | |
| 1296 | + margin-bottom: 8px; | |
| 1297 | +} | |
| 1250 | 1298 | |
| 1251 | 1299 | .lp-single-course .comment-form .comment-form-url, |
| 1252 | 1300 | .lp-single-course .comment-form .comment-form-email, |
| 1253 | 1301 | .lp-single-course .comment-form .comment-form-author, |
| @@ -1403,8 +1451,26 @@ | ||
| 1403 | 1451 | min-height: 100vh; |
| 1404 | 1452 | text-align: center; |
| 1405 | 1453 | align-items: center; |
| 1406 | 1454 | justify-content: center; |
| 1455 | + /*.lp-button { | |
| 1456 | + cursor: pointer; | |
| 1457 | + border: 1px solid $border-color; | |
| 1458 | + border-radius: $border-radius-global; | |
| 1459 | + padding: $spacing-base-2x $spacing-base-4x; | |
| 1460 | + | |
| 1461 | + &.loading { | |
| 1462 | + pointer-events: none; | |
| 1463 | + opacity: 0.8; | |
| 1464 | + @include loading(); | |
| 1465 | + } | |
| 1466 | + | |
| 1467 | + &:hover { | |
| 1468 | + border-color: $color-primary; | |
| 1469 | + color: #fff; | |
| 1470 | + background: $color-primary; | |
| 1471 | + } | |
| 1472 | + }*/ | |
| 1407 | 1473 | } |
| 1408 | 1474 | .lp-modal-dialog .learn-press-message { |
| 1409 | 1475 | width: auto; |
| 1410 | 1476 | margin: 0 !important; |
| @@ -1473,35 +1539,8 @@ | ||
| 1473 | 1539 | display: flex; |
| 1474 | 1540 | align-items: center; |
| 1475 | 1541 | gap: 10px; |
| 1476 | 1542 | } |
| 1477 | -.lp-modal-dialog .lp-button { | |
| 1478 | - cursor: pointer; | |
| 1479 | - border: 1px solid var(--lp-border-color, #E2E0DB); | |
| 1480 | - border-radius: var(--lp-border-radius, 5px); | |
| 1481 | - padding: 8px 16px; | |
| 1482 | -} | |
| 1483 | -.lp-modal-dialog .lp-button.loading { | |
| 1484 | - pointer-events: none; | |
| 1485 | - opacity: 0.8; | |
| 1486 | -} | |
| 1487 | -.lp-modal-dialog .lp-button.loading:before { | |
| 1488 | - display: inline-block; | |
| 1489 | - font-family: "lp-icon"; | |
| 1490 | - content: "\f110"; | |
| 1491 | - animation: lp-rotating 1s linear infinite; | |
| 1492 | - margin-right: 5px; | |
| 1493 | - font-variant: normal; | |
| 1494 | - text-transform: none; | |
| 1495 | - -webkit-font-smoothing: antialiased; | |
| 1496 | - -moz-osx-font-smoothing: grayscale; | |
| 1497 | - vertical-align: middle; | |
| 1498 | -} | |
| 1499 | -.lp-modal-dialog .lp-button:hover { | |
| 1500 | - border-color: var(--lp-primary-color, #ffb606); | |
| 1501 | - color: #fff; | |
| 1502 | - background: var(--lp-primary-color, #ffb606); | |
| 1503 | -} | |
| 1504 | 1543 | |
| 1505 | 1544 | .lp-button.btn-finish-course { |
| 1506 | 1545 | cursor: pointer; |
| 1507 | 1546 | width: 100%; |
| @@ -1514,11 +1553,8 @@ | ||
| 1514 | 1553 | font-size: var(--lp-font-size-base, 1em); |
| 1515 | 1554 | text-align: center; |
| 1516 | 1555 | text-decoration: none; |
| 1517 | 1556 | -webkit-transition: all 0.25s; |
| 1518 | - -moz-transition: all 0.25s; | |
| 1519 | - -ms-transition: all 0.25s; | |
| 1520 | - -o-transition: all 0.25s; | |
| 1521 | 1557 | transition: all 0.25s; |
| 1522 | 1558 | } |
| 1523 | 1559 | .lp-button.btn-finish-course:hover { |
| 1524 | 1560 | background-color: var(--lp-secondary-color, #442e66); |
| @@ -1523,66 +1559,20 @@ | ||
| 1523 | 1559 | .lp-button.btn-finish-course:hover { |
| 1524 | 1560 | background-color: var(--lp-secondary-color, #442e66); |
| 1525 | 1561 | border-color: var(--lp-secondary-color, #442e66); |
| 1526 | 1562 | } |
| 1527 | -.lp-button.btn-finish-course.loading { | |
| 1528 | - pointer-events: none; | |
| 1529 | - opacity: 0.8; | |
| 1530 | -} | |
| 1531 | -.lp-button.btn-finish-course.loading:before { | |
| 1532 | - display: inline-block; | |
| 1533 | - font-family: "lp-icon"; | |
| 1534 | - content: "\f110"; | |
| 1535 | - animation: lp-rotating 1s linear infinite; | |
| 1536 | - margin-right: 5px; | |
| 1537 | - font-variant: normal; | |
| 1538 | - text-transform: none; | |
| 1539 | - -webkit-font-smoothing: antialiased; | |
| 1540 | - -moz-osx-font-smoothing: grayscale; | |
| 1541 | - vertical-align: middle; | |
| 1542 | -} | |
| 1543 | 1563 | |
| 1544 | 1564 | /** |
| 1545 | 1565 | * Mixin |
| 1546 | 1566 | */ |
| 1547 | -@-webkit-keyframes rotating4 { | |
| 1548 | - from { | |
| 1549 | - -webkit-transform: rotate(0deg); | |
| 1550 | - -o-transform: rotate(0deg); | |
| 1551 | - transform: rotate(0deg); | |
| 1552 | - } | |
| 1553 | - to { | |
| 1554 | - -webkit-transform: rotate(360deg); | |
| 1555 | - -o-transform: rotate(360deg); | |
| 1556 | - transform: rotate(360deg); | |
| 1557 | - } | |
| 1558 | -} | |
| 1559 | 1567 | @keyframes rotating4 { |
| 1560 | 1568 | from { |
| 1561 | - -ms-transform: rotate(0deg); | |
| 1562 | - -moz-transform: rotate(0deg); | |
| 1563 | - -webkit-transform: rotate(0deg); | |
| 1564 | - -o-transform: rotate(0deg); | |
| 1565 | 1569 | transform: rotate(0deg); |
| 1566 | 1570 | } |
| 1567 | 1571 | to { |
| 1568 | - -ms-transform: rotate(360deg); | |
| 1569 | - -moz-transform: rotate(360deg); | |
| 1570 | - -webkit-transform: rotate(360deg); | |
| 1571 | - -o-transform: rotate(360deg); | |
| 1572 | 1572 | transform: rotate(360deg); |
| 1573 | 1573 | } |
| 1574 | 1574 | } |
| 1575 | -@-webkit-keyframes animation4 { | |
| 1576 | - from { | |
| 1577 | - left: -40%; | |
| 1578 | - width: 40%; | |
| 1579 | - } | |
| 1580 | - to { | |
| 1581 | - left: 100%; | |
| 1582 | - width: 10%; | |
| 1583 | - } | |
| 1584 | -} | |
| 1585 | 1575 | @keyframes animation4 { |
| 1586 | 1576 | from { |
| 1587 | 1577 | left: -40%; |
| 1588 | 1578 | width: 40%; |
| @@ -1626,11 +1616,8 @@ | ||
| 1626 | 1616 | font-size: var(--lp-font-size-base, 1em); |
| 1627 | 1617 | text-align: center; |
| 1628 | 1618 | text-decoration: none; |
| 1629 | 1619 | -webkit-transition: all 0.25s; |
| 1630 | - -moz-transition: all 0.25s; | |
| 1631 | - -ms-transition: all 0.25s; | |
| 1632 | - -o-transition: all 0.25s; | |
| 1633 | 1620 | transition: all 0.25s; |
| 1634 | 1621 | } |
| 1635 | 1622 | .wp-block-learnpress-course-button-read-more:hover, |
| 1636 | 1623 | .wp-block-learnpress-course-button:hover { |
| @@ -1643,18 +1630,21 @@ | ||
| 1643 | 1630 | opacity: 0.8; |
| 1644 | 1631 | } |
| 1645 | 1632 | .wp-block-learnpress-course-button-read-more.loading:before, |
| 1646 | 1633 | .wp-block-learnpress-course-button.loading:before { |
| 1647 | - display: inline-block; | |
| 1634 | + position: absolute; | |
| 1635 | + inset: 0; | |
| 1636 | + display: flex; | |
| 1637 | + align-items: center; | |
| 1638 | + justify-content: center; | |
| 1648 | 1639 | font-family: "lp-icon"; |
| 1649 | 1640 | content: "\f110"; |
| 1650 | 1641 | animation: lp-rotating 1s linear infinite; |
| 1651 | - margin-right: 5px; | |
| 1652 | 1642 | font-variant: normal; |
| 1653 | 1643 | text-transform: none; |
| 1654 | 1644 | -webkit-font-smoothing: antialiased; |
| 1655 | 1645 | -moz-osx-font-smoothing: grayscale; |
| 1656 | - vertical-align: middle; | |
| 1646 | + color: black; | |
| 1657 | 1647 | } |
| 1658 | 1648 | |
| 1659 | 1649 | @media (min-width: 992px) { |
| 1660 | 1650 | .lp-block-course-sidebar { |
| @@ -1677,38 +1667,13 @@ | ||
| 1677 | 1667 | background: transparent; |
| 1678 | 1668 | box-shadow: none; |
| 1679 | 1669 | height: auto; |
| 1680 | 1670 | -webkit-box-sizing: border-box; |
| 1681 | - -moz-box-sizing: border-box; | |
| 1682 | 1671 | box-sizing: border-box; |
| 1683 | 1672 | } |
| 1684 | -.wp-block-learnpress-item-search .search-course input[name=s]::-webkit-input-placeholder { | |
| 1685 | - color: #999; | |
| 1686 | -} | |
| 1687 | -.wp-block-learnpress-item-search .search-course input[name=s]::-moz-placeholder { | |
| 1688 | - color: #999; | |
| 1689 | -} | |
| 1690 | -.wp-block-learnpress-item-search .search-course input[name=s]:-ms-input-placeholder { | |
| 1691 | - color: #999; | |
| 1692 | -} | |
| 1693 | -.wp-block-learnpress-item-search .search-course input[name=s]:-moz-placeholder { | |
| 1694 | - color: #999; | |
| 1695 | -} | |
| 1696 | 1673 | .wp-block-learnpress-item-search .search-course input[name=s]::placeholder { |
| 1697 | 1674 | color: #999; |
| 1698 | 1675 | } |
| 1699 | -.wp-block-learnpress-item-search .search-course input[name=s]::-webkit-input-placeholder { | |
| 1700 | - font-style: italic; | |
| 1701 | -} | |
| 1702 | -.wp-block-learnpress-item-search .search-course input[name=s]::-moz-placeholder { | |
| 1703 | - font-style: italic; | |
| 1704 | -} | |
| 1705 | -.wp-block-learnpress-item-search .search-course input[name=s]:-ms-input-placeholder { | |
| 1706 | - font-style: italic; | |
| 1707 | -} | |
| 1708 | -.wp-block-learnpress-item-search .search-course input[name=s]:-moz-placeholder { | |
| 1709 | - font-style: italic; | |
| 1710 | -} | |
| 1711 | 1676 | .wp-block-learnpress-item-search .search-course input[name=s]::placeholder { |
| 1712 | 1677 | font-style: italic; |
| 1713 | 1678 | } |
| 1714 | 1679 | .wp-block-learnpress-item-search .search-course input[name=s]:focus { |
| @@ -1747,16 +1712,11 @@ | ||
| 1747 | 1712 | font-family: inherit; |
| 1748 | 1713 | font-weight: 400; |
| 1749 | 1714 | text-align: center; |
| 1750 | 1715 | text-transform: capitalize; |
| 1751 | - -webkit-border-radius: var(--lp-border-radius, 5px); | |
| 1752 | - -moz-border-radius: var(--lp-border-radius, 5px); | |
| 1753 | 1716 | border-radius: var(--lp-border-radius, 5px); |
| 1754 | 1717 | margin-top: 20px; |
| 1755 | 1718 | -webkit-transition: all 0.25s; |
| 1756 | - -moz-transition: all 0.25s; | |
| 1757 | - -ms-transition: all 0.25s; | |
| 1758 | - -o-transition: all 0.25s; | |
| 1759 | 1719 | transition: all 0.25s; |
| 1760 | 1720 | } |
| 1761 | 1721 | .wp-block-learnpress-course-material .course-material-table { |
| 1762 | 1722 | width: 100%; |
| @@ -1889,10 +1849,8 @@ | ||
| 1889 | 1849 | overflow: hidden; |
| 1890 | 1850 | position: relative; |
| 1891 | 1851 | height: 6px; |
| 1892 | 1852 | background: #ccc; |
| 1893 | - -webkit-border-radius: 5px; | |
| 1894 | - -moz-border-radius: 5px; | |
| 1895 | 1853 | border-radius: 5px; |
| 1896 | 1854 | } |
| 1897 | 1855 | .wp-block-learnpress-item-progress .learn-press-progress .progress-bg .progress-active { |
| 1898 | 1856 | position: absolute; |
| @@ -1900,10 +1858,8 @@ | ||
| 1900 | 1858 | width: 100%; |
| 1901 | 1859 | height: 100%; |
| 1902 | 1860 | margin-left: -100%; |
| 1903 | 1861 | background: var(--lp-primary-color, #ffb606); |
| 1904 | - -webkit-border-radius: 5px; | |
| 1905 | - -moz-border-radius: 5px; | |
| 1906 | 1862 | border-radius: 5px; |
| 1907 | 1863 | } |
| 1908 | 1864 | .wp-block-learnpress-item-progress .learn-press-progress .learn-press-progress__active { |
| 1909 | 1865 | position: absolute; |
| @@ -1913,11 +1869,8 @@ | ||
| 1913 | 1869 | height: 100%; |
| 1914 | 1870 | border-radius: 3px; |
| 1915 | 1871 | background: var(--lp-primary-color, #ffb606); |
| 1916 | 1872 | -webkit-transition: 0.5s; |
| 1917 | - -moz-transition: 0.5s; | |
| 1918 | - -ms-transition: 0.5s; | |
| 1919 | - -o-transition: 0.5s; | |
| 1920 | 1873 | transition: 0.5s; |
| 1921 | 1874 | } |
| 1922 | 1875 | .wp-block-learnpress-item-progress .learn-press-progress::before { |
| 1923 | 1876 | display: block; |
| @@ -2059,9 +2012,8 @@ | ||
| 2059 | 2012 | background-image: url(data:image/svg+xml;base64,Cjxzdmcgd2lkdGg9IjE4cHgiIGhlaWdodD0iMTBweCIgdmlld0JveD0iMCAwIDE4IDEwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICAgICAgICA8ZyBpZD0iVmVjdG9yLSgxKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4wMDAwMDAsIDEuMDAwMDAwKSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjIiPgogICAgICAgICAgICA8cG9seWxpbmUgaWQ9IlBhdGgiIHBvaW50cz0iMCAwIDggOCAxNiAwIj48L3BvbHlsaW5lPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+); |
| 2060 | 2013 | background-size: 0.8em; |
| 2061 | 2014 | background-position: calc(100% - 0.5em) center; |
| 2062 | 2015 | background-repeat: no-repeat; |
| 2063 | - -moz-appearance: none; | |
| 2064 | 2016 | -webkit-appearance: none; |
| 2065 | 2017 | appearance: none; |
| 2066 | 2018 | line-height: 1.1; |
| 2067 | 2019 | } |
| @@ -2095,20 +2047,8 @@ | ||
| 2095 | 2047 | font-size: inherit; |
| 2096 | 2048 | line-height: 1.1; |
| 2097 | 2049 | box-shadow: none; |
| 2098 | 2050 | } |
| 2099 | -.block-search-courses input::-webkit-input-placeholder { | |
| 2100 | - color: #999; | |
| 2101 | -} | |
| 2102 | -.block-search-courses input::-moz-placeholder { | |
| 2103 | - color: #999; | |
| 2104 | -} | |
| 2105 | -.block-search-courses input:-ms-input-placeholder { | |
| 2106 | - color: #999; | |
| 2107 | -} | |
| 2108 | -.block-search-courses input:-moz-placeholder { | |
| 2109 | - color: #999; | |
| 2110 | -} | |
| 2111 | 2051 | .block-search-courses input::placeholder { |
| 2112 | 2052 | color: #999; |
| 2113 | 2053 | } |
| 2114 | 2054 | .block-search-courses input:focus { |
| @@ -2135,10 +2075,8 @@ | ||
| 2135 | 2075 | } |
| 2136 | 2076 | .block-search-courses button.loading > i:before { |
| 2137 | 2077 | display: inline-block; |
| 2138 | 2078 | content: "\f110"; |
| 2139 | - -webkit-animation: lp-rotating 1s linear infinite; | |
| 2140 | - -moz-animation: lp-rotating 1s linear infinite; | |
| 2141 | 2079 | animation: lp-rotating 1s linear infinite; |
| 2142 | 2080 | } |
| 2143 | 2081 | |
| 2144 | 2082 | @media (max-width: 767px) { |
| @@ -2244,9 +2182,8 @@ | ||
| 2244 | 2182 | background-image: url(data:image/svg+xml;base64,Cjxzdmcgd2lkdGg9IjE4cHgiIGhlaWdodD0iMTBweCIgdmlld0JveD0iMCAwIDE4IDEwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICAgICAgICA8ZyBpZD0iVmVjdG9yLSgxKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4wMDAwMDAsIDEuMDAwMDAwKSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjIiPgogICAgICAgICAgICA8cG9seWxpbmUgaWQ9IlBhdGgiIHBvaW50cz0iMCAwIDggOCAxNiAwIj48L3BvbHlsaW5lPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+); |
| 2245 | 2183 | background-size: 0.8em; |
| 2246 | 2184 | background-position: calc(100% - 0.5em) center; |
| 2247 | 2185 | background-repeat: no-repeat; |
| 2248 | - -moz-appearance: none; | |
| 2249 | 2186 | -webkit-appearance: none; |
| 2250 | 2187 | appearance: none; |
| 2251 | 2188 | line-height: 1.1; |
| 2252 | 2189 | } |
| @@ -2323,22 +2260,5 @@ | ||
| 2323 | 2260 | } |
| 2324 | 2261 | |
| 2325 | 2262 | .lp-sidebar-toggle__open .js-block-sidebar { |
| 2326 | 2263 | display: block; |
| 2327 | -} | |
| 2328 | - | |
| 2329 | -.lp-button.loading { | |
| 2330 | - pointer-events: none; | |
| 2331 | - opacity: 0.8; | |
| 2332 | -} | |
| 2333 | -.lp-button.loading:before { | |
| 2334 | - display: inline-block; | |
| 2335 | - font-family: "lp-icon"; | |
| 2336 | - content: "\f110"; | |
| 2337 | - animation: lp-rotating 1s linear infinite; | |
| 2338 | - margin-right: 5px; | |
| 2339 | - font-variant: normal; | |
| 2340 | - text-transform: none; | |
| 2341 | - -webkit-font-smoothing: antialiased; | |
| 2342 | - -moz-osx-font-smoothing: grayscale; | |
| 2343 | - vertical-align: middle; | |
| 2344 | 2264 | } |