| @@ -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 | - right: -40%; | |
| 35 | - width: 40%; | |
| 36 | - } | |
| 37 | - to { | |
| 38 | - right: 100%; | |
| 39 | - width: 10%; | |
| 40 | - } | |
| 41 | -} | |
| 42 | 12 | @keyframes animation4 { |
| 43 | 13 | from { |
| 44 | 14 | right: -40%; |
| 45 | 15 | width: 40%; |
| @@ -56,11 +26,85 @@ | ||
| 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 | + right: 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 | + right: 0; | |
| 63 | + } | |
| 64 | + 50% { | |
| 65 | + width: 100%; | |
| 66 | + right: 0; | |
| 67 | + } | |
| 68 | + 100% { | |
| 69 | + width: 0%; | |
| 70 | + right: 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: flex; | |
| 85 | + align-items: center; | |
| 86 | + justify-content: center; | |
| 87 | + pointer-events: none; | |
| 88 | + color: rgba(0, 0, 0, 0.2) !important; | |
| 89 | +} | |
| 90 | +.lp-button.loading:before { | |
| 91 | + position: absolute; | |
| 92 | + display: inline-block; | |
| 93 | + font-family: "lp-icon"; | |
| 94 | + content: "\f110"; | |
| 95 | + animation: lp-rotating 1s linear infinite; | |
| 96 | + font-variant: normal; | |
| 97 | + text-transform: none; | |
| 98 | + -webkit-font-smoothing: antialiased; | |
| 99 | + -moz-osx-font-smoothing: grayscale; | |
| 100 | + vertical-align: middle; | |
| 101 | + color: black; | |
| 102 | +} | |
| 103 | + | |
| 60 | 104 | .learn-press-message { |
| 61 | 105 | position: relative; |
| 62 | - margin: 24px auto; | |
| 106 | + margin: 0 !important; | |
| 63 | 107 | padding: 10px 20px; |
| 64 | 108 | border-radius: var(--lp-border-radius, 5px); |
| 65 | 109 | background-color: #E5F7FF; |
| 66 | 110 | color: #007AFF; |
| @@ -68,8 +112,9 @@ | ||
| 68 | 112 | } |
| 69 | 113 | .learn-press-message.error { |
| 70 | 114 | background-color: #FEE5E5; |
| 71 | 115 | color: #FF3B30; |
| 116 | + border-right: none; | |
| 72 | 117 | } |
| 73 | 118 | .learn-press-message.warning { |
| 74 | 119 | background-color: #FEF7E6; |
| 75 | 120 | color: #FF9500; |
| @@ -133,18 +178,12 @@ | ||
| 133 | 178 | |
| 134 | 179 | @keyframes lp-rotating { |
| 135 | 180 | from { |
| 136 | 181 | -webkit-transform: rotate(0deg); |
| 137 | - -moz-transform: rotate(0deg); | |
| 138 | - -ms-transform: rotate(0deg); | |
| 139 | - -o-transform: rotate(0deg); | |
| 140 | 182 | transform: rotate(0deg); |
| 141 | 183 | } |
| 142 | 184 | to { |
| 143 | 185 | -webkit-transform: rotate(-360deg); |
| 144 | - -moz-transform: rotate(-360deg); | |
| 145 | - -ms-transform: rotate(-360deg); | |
| 146 | - -o-transform: rotate(-360deg); | |
| 147 | 186 | transform: rotate(-360deg); |
| 148 | 187 | } |
| 149 | 188 | } |
| 150 | 189 | @-webkit-keyframes lp-rotating { |
| @@ -149,18 +188,12 @@ | ||
| 149 | 188 | } |
| 150 | 189 | @-webkit-keyframes lp-rotating { |
| 151 | 190 | from { |
| 152 | 191 | -webkit-transform: rotate(0deg); |
| 153 | - -moz-transform: rotate(0deg); | |
| 154 | - -ms-transform: rotate(0deg); | |
| 155 | - -o-transform: rotate(0deg); | |
| 156 | 192 | transform: rotate(0deg); |
| 157 | 193 | } |
| 158 | 194 | to { |
| 159 | 195 | -webkit-transform: rotate(-360deg); |
| 160 | - -moz-transform: rotate(-360deg); | |
| 161 | - -ms-transform: rotate(-360deg); | |
| 162 | - -o-transform: rotate(-360deg); | |
| 163 | 196 | transform: rotate(-360deg); |
| 164 | 197 | } |
| 165 | 198 | } |
| 166 | 199 | .lp-loading-change { |
| @@ -327,11 +360,8 @@ | ||
| 327 | 360 | .social-share-toggle .wrapper-content-widget { |
| 328 | 361 | visibility: hidden; |
| 329 | 362 | text-align: right; |
| 330 | 363 | opacity: 0; |
| 331 | - -webkit-transition: all 0.27s ease; | |
| 332 | - -moz-transition: all 0.27s ease; | |
| 333 | - -o-transition: all 0.27s ease; | |
| 334 | 364 | transition: all 0.27s ease; |
| 335 | 365 | position: absolute; |
| 336 | 366 | left: 0; |
| 337 | 367 | top: auto; |
| @@ -484,17 +514,12 @@ | ||
| 484 | 514 | overflow: hidden; |
| 485 | 515 | transition: height 0.3s ease; |
| 486 | 516 | } |
| 487 | 517 | .course-extra-box__content-inner { |
| 488 | - -webkit-animation-name: course-extra-box__content-inner-transform; | |
| 489 | 518 | animation-name: course-extra-box__content-inner-transform; |
| 490 | - -webkit-animation-duration: 0.3s; | |
| 491 | 519 | animation-duration: 0.3s; |
| 492 | - -webkit-animation-timing-function: ease-in-out; | |
| 493 | 520 | animation-timing-function: ease-in-out; |
| 494 | - -webkit-animation-iteration-count: 1; | |
| 495 | 521 | animation-iteration-count: 1; |
| 496 | - -webkit-animation-direction: normal; | |
| 497 | 522 | animation-direction: normal; |
| 498 | 523 | } |
| 499 | 524 | .course-extra-box__content-inner > ul { |
| 500 | 525 | padding-right: 0 !important; |
| @@ -555,19 +580,13 @@ | ||
| 555 | 580 | @-webkit-keyframes course-extra-box__content-inner-transform { |
| 556 | 581 | from { |
| 557 | 582 | opacity: 0; |
| 558 | 583 | -webkit-transform: translateX(-5%); |
| 559 | - -moz-transform: translateX(-5%); | |
| 560 | - -ms-transform: translateX(-5%); | |
| 561 | - -o-transform: translateX(-5%); | |
| 562 | 584 | transform: translateX(-5%); |
| 563 | 585 | } |
| 564 | 586 | to { |
| 565 | 587 | opacity: 1; |
| 566 | 588 | -webkit-transform: translateX(0%); |
| 567 | - -moz-transform: translateX(0%); | |
| 568 | - -ms-transform: translateX(0%); | |
| 569 | - -o-transform: translateX(0%); | |
| 570 | 589 | transform: translateX(0%); |
| 571 | 590 | } |
| 572 | 591 | } |
| 573 | 592 | @keyframes course-extra-box__content-inner-transform { |
| @@ -642,19 +661,13 @@ | ||
| 642 | 661 | @-webkit-keyframes course-faqs-box__content-inner-transform { |
| 643 | 662 | from { |
| 644 | 663 | opacity: 0; |
| 645 | 664 | -webkit-transform: translateY(-5%); |
| 646 | - -moz-transform: translateY(-5%); | |
| 647 | - -ms-transform: translateY(-5%); | |
| 648 | - -o-transform: translateY(-5%); | |
| 649 | 665 | transform: translateY(-5%); |
| 650 | 666 | } |
| 651 | 667 | to { |
| 652 | 668 | opacity: 1; |
| 653 | 669 | -webkit-transform: translateY(0%); |
| 654 | - -moz-transform: translateY(0%); | |
| 655 | - -ms-transform: translateY(0%); | |
| 656 | - -o-transform: translateY(0%); | |
| 657 | 670 | transform: translateY(0%); |
| 658 | 671 | } |
| 659 | 672 | } |
| 660 | 673 | @keyframes course-faqs-box__content-inner-transform { |
| @@ -660,19 +673,13 @@ | ||
| 660 | 673 | @keyframes course-faqs-box__content-inner-transform { |
| 661 | 674 | from { |
| 662 | 675 | opacity: 0; |
| 663 | 676 | -webkit-transform: translateY(-5%); |
| 664 | - -moz-transform: translateY(-5%); | |
| 665 | - -ms-transform: translateY(-5%); | |
| 666 | - -o-transform: translateY(-5%); | |
| 667 | 677 | transform: translateY(-5%); |
| 668 | 678 | } |
| 669 | 679 | to { |
| 670 | 680 | opacity: 1; |
| 671 | 681 | -webkit-transform: translateY(0%); |
| 672 | - -moz-transform: translateY(0%); | |
| 673 | - -ms-transform: translateY(0%); | |
| 674 | - -o-transform: translateY(0%); | |
| 675 | 682 | transform: translateY(0%); |
| 676 | 683 | } |
| 677 | 684 | } |
| 678 | 685 | .extra-box__title, .course-faqs__title, .course-material__title { |
| @@ -712,11 +719,8 @@ | ||
| 712 | 719 | display: block; |
| 713 | 720 | } |
| 714 | 721 | .course-curriculum ul.curriculum-sections .section-title.c span.show-desc::before { |
| 715 | 722 | -webkit-transform: rotate(-180deg); |
| 716 | - -moz-transform: rotate(-180deg); | |
| 717 | - -ms-transform: rotate(-180deg); | |
| 718 | - -o-transform: rotate(-180deg); | |
| 719 | 723 | transform: rotate(-180deg); |
| 720 | 724 | top: 0; |
| 721 | 725 | } |
| 722 | 726 | .course-curriculum ul.curriculum-sections .item-meta.duration { |
| @@ -735,18 +739,19 @@ | ||
| 735 | 739 | box-shadow: none; |
| 736 | 740 | outline: none; |
| 737 | 741 | } |
| 738 | 742 | .course-curriculum .section-item__loadmore.loading button:before { |
| 743 | + position: absolute; | |
| 739 | 744 | display: inline-block; |
| 740 | 745 | font-family: "lp-icon"; |
| 741 | 746 | content: "\f110"; |
| 742 | 747 | animation: lp-rotating 1s linear infinite; |
| 743 | - margin-left: 5px; | |
| 744 | 748 | font-variant: normal; |
| 745 | 749 | text-transform: none; |
| 746 | 750 | -webkit-font-smoothing: antialiased; |
| 747 | 751 | -moz-osx-font-smoothing: grayscale; |
| 748 | 752 | vertical-align: middle; |
| 753 | + color: black; | |
| 749 | 754 | } |
| 750 | 755 | .course-curriculum .section-header { |
| 751 | 756 | display: table; |
| 752 | 757 | width: 100%; |
| @@ -754,9 +759,8 @@ | ||
| 754 | 759 | border-bottom: 0; |
| 755 | 760 | border-bottom: 1px solid #d9e0f1; |
| 756 | 761 | cursor: pointer; |
| 757 | 762 | -webkit-box-sizing: border-box; |
| 758 | - -moz-box-sizing: border-box; | |
| 759 | 763 | box-sizing: border-box; |
| 760 | 764 | } |
| 761 | 765 | .course-curriculum .section-header .section-title, .course-curriculum .section-header .section-desc { |
| 762 | 766 | margin: 0; |
| @@ -962,18 +966,19 @@ | ||
| 962 | 966 | margin-top: 20px; |
| 963 | 967 | margin-bottom: 20px; |
| 964 | 968 | } |
| 965 | 969 | .course-curriculum .curriculum-more__button.loading:before { |
| 970 | + position: absolute; | |
| 966 | 971 | display: inline-block; |
| 967 | 972 | font-family: "lp-icon"; |
| 968 | 973 | content: "\f110"; |
| 969 | 974 | animation: lp-rotating 1s linear infinite; |
| 970 | - margin-left: 5px; | |
| 971 | 975 | font-variant: normal; |
| 972 | 976 | text-transform: none; |
| 973 | 977 | -webkit-font-smoothing: antialiased; |
| 974 | 978 | -moz-osx-font-smoothing: grayscale; |
| 975 | 979 | vertical-align: middle; |
| 980 | + color: black; | |
| 976 | 981 | } |
| 977 | 982 | |
| 978 | 983 | body .content-item-summary .form-button-finish-course, body .lp-quiz-buttons .form-button-finish-course { |
| 979 | 984 | float: left; |
| @@ -1216,8 +1221,11 @@ | ||
| 1216 | 1221 | content: "\e921"; |
| 1217 | 1222 | color: #999; |
| 1218 | 1223 | } |
| 1219 | 1224 | |
| 1225 | +.info-learning .course-progress > div { | |
| 1226 | + margin-bottom: 8px; | |
| 1227 | +} | |
| 1220 | 1228 | .info-learning .course-progress__line { |
| 1221 | 1229 | width: 100%; |
| 1222 | 1230 | background: #ccc; |
| 1223 | 1231 | height: 5px; |
| @@ -1246,8 +1254,11 @@ | ||
| 1246 | 1254 | width: 2px; |
| 1247 | 1255 | height: 100%; |
| 1248 | 1256 | background: var(--lp-secondary-color); |
| 1249 | 1257 | } |
| 1258 | +.info-learning .start-date, .info-learning .end-date { | |
| 1259 | + margin-bottom: 8px; | |
| 1260 | +} | |
| 1250 | 1261 | |
| 1251 | 1262 | .lp-single-course .comment-form .comment-form-url, |
| 1252 | 1263 | .lp-single-course .comment-form .comment-form-email, |
| 1253 | 1264 | .lp-single-course .comment-form .comment-form-author, |
| @@ -1403,8 +1414,26 @@ | ||
| 1403 | 1414 | min-height: 100vh; |
| 1404 | 1415 | text-align: center; |
| 1405 | 1416 | align-items: center; |
| 1406 | 1417 | justify-content: center; |
| 1418 | + /*.lp-button { | |
| 1419 | + cursor: pointer; | |
| 1420 | + border: 1px solid $border-color; | |
| 1421 | + border-radius: $border-radius-global; | |
| 1422 | + padding: $spacing-base-2x $spacing-base-4x; | |
| 1423 | + | |
| 1424 | + &.loading { | |
| 1425 | + pointer-events: none; | |
| 1426 | + opacity: 0.8; | |
| 1427 | + @include loading(); | |
| 1428 | + } | |
| 1429 | + | |
| 1430 | + &:hover { | |
| 1431 | + border-color: $color-primary; | |
| 1432 | + color: #fff; | |
| 1433 | + background: $color-primary; | |
| 1434 | + } | |
| 1435 | + }*/ | |
| 1407 | 1436 | } |
| 1408 | 1437 | .lp-modal-dialog .learn-press-message { |
| 1409 | 1438 | width: auto; |
| 1410 | 1439 | margin: 0 !important; |
| @@ -1473,35 +1502,8 @@ | ||
| 1473 | 1502 | display: flex; |
| 1474 | 1503 | align-items: center; |
| 1475 | 1504 | gap: 10px; |
| 1476 | 1505 | } |
| 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-left: 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 | 1506 | |
| 1505 | 1507 | .lp-button.btn-finish-course { |
| 1506 | 1508 | cursor: pointer; |
| 1507 | 1509 | width: 100%; |
| @@ -1514,11 +1516,8 @@ | ||
| 1514 | 1516 | font-size: var(--lp-font-size-base, 1em); |
| 1515 | 1517 | text-align: center; |
| 1516 | 1518 | text-decoration: none; |
| 1517 | 1519 | -webkit-transition: all 0.25s; |
| 1518 | - -moz-transition: all 0.25s; | |
| 1519 | - -ms-transition: all 0.25s; | |
| 1520 | - -o-transition: all 0.25s; | |
| 1521 | 1520 | transition: all 0.25s; |
| 1522 | 1521 | } |
| 1523 | 1522 | .lp-button.btn-finish-course:hover { |
| 1524 | 1523 | background-color: var(--lp-secondary-color, #442e66); |
| @@ -1523,66 +1522,20 @@ | ||
| 1523 | 1522 | .lp-button.btn-finish-course:hover { |
| 1524 | 1523 | background-color: var(--lp-secondary-color, #442e66); |
| 1525 | 1524 | border-color: var(--lp-secondary-color, #442e66); |
| 1526 | 1525 | } |
| 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-left: 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 | 1526 | |
| 1544 | 1527 | /** |
| 1545 | 1528 | * Mixin |
| 1546 | 1529 | */ |
| 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 | 1530 | @keyframes rotating4 { |
| 1560 | 1531 | from { |
| 1561 | - -ms-transform: rotate(0deg); | |
| 1562 | - -moz-transform: rotate(0deg); | |
| 1563 | - -webkit-transform: rotate(0deg); | |
| 1564 | - -o-transform: rotate(0deg); | |
| 1565 | 1532 | transform: rotate(0deg); |
| 1566 | 1533 | } |
| 1567 | 1534 | to { |
| 1568 | - -ms-transform: rotate(-360deg); | |
| 1569 | - -moz-transform: rotate(-360deg); | |
| 1570 | - -webkit-transform: rotate(-360deg); | |
| 1571 | - -o-transform: rotate(-360deg); | |
| 1572 | 1535 | transform: rotate(-360deg); |
| 1573 | 1536 | } |
| 1574 | 1537 | } |
| 1575 | -@-webkit-keyframes animation4 { | |
| 1576 | - from { | |
| 1577 | - right: -40%; | |
| 1578 | - width: 40%; | |
| 1579 | - } | |
| 1580 | - to { | |
| 1581 | - right: 100%; | |
| 1582 | - width: 10%; | |
| 1583 | - } | |
| 1584 | -} | |
| 1585 | 1538 | @keyframes animation4 { |
| 1586 | 1539 | from { |
| 1587 | 1540 | right: -40%; |
| 1588 | 1541 | width: 40%; |
| @@ -1626,11 +1579,8 @@ | ||
| 1626 | 1579 | font-size: var(--lp-font-size-base, 1em); |
| 1627 | 1580 | text-align: center; |
| 1628 | 1581 | text-decoration: none; |
| 1629 | 1582 | -webkit-transition: all 0.25s; |
| 1630 | - -moz-transition: all 0.25s; | |
| 1631 | - -ms-transition: all 0.25s; | |
| 1632 | - -o-transition: all 0.25s; | |
| 1633 | 1583 | transition: all 0.25s; |
| 1634 | 1584 | } |
| 1635 | 1585 | .wp-block-learnpress-course-button-read-more:hover, |
| 1636 | 1586 | .wp-block-learnpress-course-button:hover { |
| @@ -1643,18 +1593,19 @@ | ||
| 1643 | 1593 | opacity: 0.8; |
| 1644 | 1594 | } |
| 1645 | 1595 | .wp-block-learnpress-course-button-read-more.loading:before, |
| 1646 | 1596 | .wp-block-learnpress-course-button.loading:before { |
| 1597 | + position: absolute; | |
| 1647 | 1598 | display: inline-block; |
| 1648 | 1599 | font-family: "lp-icon"; |
| 1649 | 1600 | content: "\f110"; |
| 1650 | 1601 | animation: lp-rotating 1s linear infinite; |
| 1651 | - margin-left: 5px; | |
| 1652 | 1602 | font-variant: normal; |
| 1653 | 1603 | text-transform: none; |
| 1654 | 1604 | -webkit-font-smoothing: antialiased; |
| 1655 | 1605 | -moz-osx-font-smoothing: grayscale; |
| 1656 | 1606 | vertical-align: middle; |
| 1607 | + color: black; | |
| 1657 | 1608 | } |
| 1658 | 1609 | |
| 1659 | 1610 | @media (min-width: 992px) { |
| 1660 | 1611 | .lp-block-course-sidebar { |
| @@ -1677,38 +1628,13 @@ | ||
| 1677 | 1628 | background: transparent; |
| 1678 | 1629 | box-shadow: none; |
| 1679 | 1630 | height: auto; |
| 1680 | 1631 | -webkit-box-sizing: border-box; |
| 1681 | - -moz-box-sizing: border-box; | |
| 1682 | 1632 | box-sizing: border-box; |
| 1683 | 1633 | } |
| 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 | 1634 | .wp-block-learnpress-item-search .search-course input[name=s]::placeholder { |
| 1697 | 1635 | color: #999; |
| 1698 | 1636 | } |
| 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 | 1637 | .wp-block-learnpress-item-search .search-course input[name=s]::placeholder { |
| 1712 | 1638 | font-style: italic; |
| 1713 | 1639 | } |
| 1714 | 1640 | .wp-block-learnpress-item-search .search-course input[name=s]:focus { |
| @@ -1747,16 +1673,11 @@ | ||
| 1747 | 1673 | font-family: inherit; |
| 1748 | 1674 | font-weight: 400; |
| 1749 | 1675 | text-align: center; |
| 1750 | 1676 | text-transform: capitalize; |
| 1751 | - -webkit-border-radius: var(--lp-border-radius, 5px); | |
| 1752 | - -moz-border-radius: var(--lp-border-radius, 5px); | |
| 1753 | 1677 | border-radius: var(--lp-border-radius, 5px); |
| 1754 | 1678 | margin-top: 20px; |
| 1755 | 1679 | -webkit-transition: all 0.25s; |
| 1756 | - -moz-transition: all 0.25s; | |
| 1757 | - -ms-transition: all 0.25s; | |
| 1758 | - -o-transition: all 0.25s; | |
| 1759 | 1680 | transition: all 0.25s; |
| 1760 | 1681 | } |
| 1761 | 1682 | .wp-block-learnpress-course-material .course-material-table { |
| 1762 | 1683 | width: 100%; |
| @@ -1889,10 +1810,8 @@ | ||
| 1889 | 1810 | overflow: hidden; |
| 1890 | 1811 | position: relative; |
| 1891 | 1812 | height: 6px; |
| 1892 | 1813 | background: #ccc; |
| 1893 | - -webkit-border-radius: 5px; | |
| 1894 | - -moz-border-radius: 5px; | |
| 1895 | 1814 | border-radius: 5px; |
| 1896 | 1815 | } |
| 1897 | 1816 | .wp-block-learnpress-item-progress .learn-press-progress .progress-bg .progress-active { |
| 1898 | 1817 | position: absolute; |
| @@ -1900,10 +1819,8 @@ | ||
| 1900 | 1819 | width: 100%; |
| 1901 | 1820 | height: 100%; |
| 1902 | 1821 | margin-right: -100%; |
| 1903 | 1822 | background: var(--lp-primary-color, #ffb606); |
| 1904 | - -webkit-border-radius: 5px; | |
| 1905 | - -moz-border-radius: 5px; | |
| 1906 | 1823 | border-radius: 5px; |
| 1907 | 1824 | } |
| 1908 | 1825 | .wp-block-learnpress-item-progress .learn-press-progress .learn-press-progress__active { |
| 1909 | 1826 | position: absolute; |
| @@ -1913,11 +1830,8 @@ | ||
| 1913 | 1830 | height: 100%; |
| 1914 | 1831 | border-radius: 3px; |
| 1915 | 1832 | background: var(--lp-primary-color, #ffb606); |
| 1916 | 1833 | -webkit-transition: 0.5s; |
| 1917 | - -moz-transition: 0.5s; | |
| 1918 | - -ms-transition: 0.5s; | |
| 1919 | - -o-transition: 0.5s; | |
| 1920 | 1834 | transition: 0.5s; |
| 1921 | 1835 | } |
| 1922 | 1836 | .wp-block-learnpress-item-progress .learn-press-progress::before { |
| 1923 | 1837 | display: block; |
| @@ -2059,9 +1973,8 @@ | ||
| 2059 | 1973 | background-image: url(data:image/svg+xml;base64,Cjxzdmcgd2lkdGg9IjE4cHgiIGhlaWdodD0iMTBweCIgdmlld0JveD0iMCAwIDE4IDEwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICAgICAgICA8ZyBpZD0iVmVjdG9yLSgxKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4wMDAwMDAsIDEuMDAwMDAwKSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjIiPgogICAgICAgICAgICA8cG9seWxpbmUgaWQ9IlBhdGgiIHBvaW50cz0iMCAwIDggOCAxNiAwIj48L3BvbHlsaW5lPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+); |
| 2060 | 1974 | background-size: 0.8em; |
| 2061 | 1975 | background-position: calc(100% - (100% - 0.5em)) center; |
| 2062 | 1976 | background-repeat: no-repeat; |
| 2063 | - -moz-appearance: none; | |
| 2064 | 1977 | -webkit-appearance: none; |
| 2065 | 1978 | appearance: none; |
| 2066 | 1979 | line-height: 1.1; |
| 2067 | 1980 | } |
| @@ -2095,20 +2008,8 @@ | ||
| 2095 | 2008 | font-size: inherit; |
| 2096 | 2009 | line-height: 1.1; |
| 2097 | 2010 | box-shadow: none; |
| 2098 | 2011 | } |
| 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 | 2012 | .block-search-courses input::placeholder { |
| 2112 | 2013 | color: #999; |
| 2113 | 2014 | } |
| 2114 | 2015 | .block-search-courses input:focus { |
| @@ -2135,10 +2036,8 @@ | ||
| 2135 | 2036 | } |
| 2136 | 2037 | .block-search-courses button.loading > i:before { |
| 2137 | 2038 | display: inline-block; |
| 2138 | 2039 | content: "\f110"; |
| 2139 | - -webkit-animation: lp-rotating 1s linear infinite; | |
| 2140 | - -moz-animation: lp-rotating 1s linear infinite; | |
| 2141 | 2040 | animation: lp-rotating 1s linear infinite; |
| 2142 | 2041 | } |
| 2143 | 2042 | |
| 2144 | 2043 | @media (max-width: 767px) { |
| @@ -2244,9 +2143,8 @@ | ||
| 2244 | 2143 | background-image: url(data:image/svg+xml;base64,Cjxzdmcgd2lkdGg9IjE4cHgiIGhlaWdodD0iMTBweCIgdmlld0JveD0iMCAwIDE4IDEwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICAgICAgICA8ZyBpZD0iVmVjdG9yLSgxKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4wMDAwMDAsIDEuMDAwMDAwKSIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjIiPgogICAgICAgICAgICA8cG9seWxpbmUgaWQ9IlBhdGgiIHBvaW50cz0iMCAwIDggOCAxNiAwIj48L3BvbHlsaW5lPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+); |
| 2245 | 2144 | background-size: 0.8em; |
| 2246 | 2145 | background-position: calc(100% - (100% - 0.5em)) center; |
| 2247 | 2146 | background-repeat: no-repeat; |
| 2248 | - -moz-appearance: none; | |
| 2249 | 2147 | -webkit-appearance: none; |
| 2250 | 2148 | appearance: none; |
| 2251 | 2149 | line-height: 1.1; |
| 2252 | 2150 | } |
| @@ -2323,22 +2221,5 @@ | ||
| 2323 | 2221 | } |
| 2324 | 2222 | |
| 2325 | 2223 | .lp-sidebar-toggle__open .js-block-sidebar { |
| 2326 | 2224 | 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-left: 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 | 2225 | } |