PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
← All changes | assets/css/learnpress-block.css +106 -63 4.4.64.4.8 View file →
@@ -26,10 +26,85 @@
26 26 .wp-block-group {
27 27 --lp-container-max-width: var(--wp--style--global--wide-size);
28 28 }
29 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: 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 +
30 104 .learn-press-message {
31 105 position: relative;
106 + margin: 0 !important;
32 107 padding: 10px 20px;
33 108 border-radius: var(--lp-border-radius, 5px);
34 109 background-color: #E5F7FF;
35 110 color: #007AFF;
@@ -37,8 +112,9 @@
37 112 }
38 113 .learn-press-message.error {
39 114 background-color: #FEE5E5;
40 115 color: #FF3B30;
116 + border-left: none;
41 117 }
42 118 .learn-press-message.warning {
43 119 background-color: #FEF7E6;
44 120 color: #FF9500;
@@ -663,18 +739,19 @@
663 739 box-shadow: none;
664 740 outline: none;
665 741 }
666 742 .course-curriculum .section-item__loadmore.loading button:before {
743 + position: absolute;
667 744 display: inline-block;
668 745 font-family: "lp-icon";
669 746 content: "\f110";
670 747 animation: lp-rotating 1s linear infinite;
671 - margin-right: 5px;
672 748 font-variant: normal;
673 749 text-transform: none;
674 750 -webkit-font-smoothing: antialiased;
675 751 -moz-osx-font-smoothing: grayscale;
676 752 vertical-align: middle;
753 + color: black;
677 754 }
678 755 .course-curriculum .section-header {
679 756 display: table;
680 757 width: 100%;
@@ -889,18 +966,19 @@
889 966 margin-top: 20px;
890 967 margin-bottom: 20px;
891 968 }
892 969 .course-curriculum .curriculum-more__button.loading:before {
970 + position: absolute;
893 971 display: inline-block;
894 972 font-family: "lp-icon";
895 973 content: "\f110";
896 974 animation: lp-rotating 1s linear infinite;
897 - margin-right: 5px;
898 975 font-variant: normal;
899 976 text-transform: none;
900 977 -webkit-font-smoothing: antialiased;
901 978 -moz-osx-font-smoothing: grayscale;
902 979 vertical-align: middle;
980 + color: black;
903 981 }
904 982
905 983 body .content-item-summary .form-button-finish-course, body .lp-quiz-buttons .form-button-finish-course {
906 984 float: right;
@@ -1143,8 +1221,11 @@
1143 1221 content: "\e921";
1144 1222 color: #999;
1145 1223 }
1146 1224
1225 +.info-learning .course-progress > div {
1226 + margin-bottom: 8px;
1227 +}
1147 1228 .info-learning .course-progress__line {
1148 1229 width: 100%;
1149 1230 background: #ccc;
1150 1231 height: 5px;
@@ -1173,8 +1254,11 @@
1173 1254 width: 2px;
1174 1255 height: 100%;
1175 1256 background: var(--lp-secondary-color);
1176 1257 }
1258 +.info-learning .start-date, .info-learning .end-date {
1259 + margin-bottom: 8px;
1260 +}
1177 1261
1178 1262 .lp-single-course .comment-form .comment-form-url,
1179 1263 .lp-single-course .comment-form .comment-form-email,
1180 1264 .lp-single-course .comment-form .comment-form-author,
@@ -1330,8 +1414,26 @@
1330 1414 min-height: 100vh;
1331 1415 text-align: center;
1332 1416 align-items: center;
1333 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 + }*/
1334 1436 }
1335 1437 .lp-modal-dialog .learn-press-message {
1336 1438 width: auto;
1337 1439 margin: 0 !important;
@@ -1400,35 +1502,8 @@
1400 1502 display: flex;
1401 1503 align-items: center;
1402 1504 gap: 10px;
1403 1505 }
1404 -.lp-modal-dialog .lp-button {
1405 - cursor: pointer;
1406 - border: 1px solid var(--lp-border-color, #E2E0DB);
1407 - border-radius: var(--lp-border-radius, 5px);
1408 - padding: 8px 16px;
1409 -}
1410 -.lp-modal-dialog .lp-button.loading {
1411 - pointer-events: none;
1412 - opacity: 0.8;
1413 -}
1414 -.lp-modal-dialog .lp-button.loading:before {
1415 - display: inline-block;
1416 - font-family: "lp-icon";
1417 - content: "\f110";
1418 - animation: lp-rotating 1s linear infinite;
1419 - margin-right: 5px;
1420 - font-variant: normal;
1421 - text-transform: none;
1422 - -webkit-font-smoothing: antialiased;
1423 - -moz-osx-font-smoothing: grayscale;
1424 - vertical-align: middle;
1425 -}
1426 -.lp-modal-dialog .lp-button:hover {
1427 - border-color: var(--lp-primary-color, #ffb606);
1428 - color: #fff;
1429 - background: var(--lp-primary-color, #ffb606);
1430 -}
1431 1506
1432 1507 .lp-button.btn-finish-course {
1433 1508 cursor: pointer;
1434 1509 width: 100%;
@@ -1447,24 +1522,8 @@
1447 1522 .lp-button.btn-finish-course:hover {
1448 1523 background-color: var(--lp-secondary-color, #442e66);
1449 1524 border-color: var(--lp-secondary-color, #442e66);
1450 1525 }
1451 -.lp-button.btn-finish-course.loading {
1452 - pointer-events: none;
1453 - opacity: 0.8;
1454 -}
1455 -.lp-button.btn-finish-course.loading:before {
1456 - display: inline-block;
1457 - font-family: "lp-icon";
1458 - content: "\f110";
1459 - animation: lp-rotating 1s linear infinite;
1460 - margin-right: 5px;
1461 - font-variant: normal;
1462 - text-transform: none;
1463 - -webkit-font-smoothing: antialiased;
1464 - -moz-osx-font-smoothing: grayscale;
1465 - vertical-align: middle;
1466 -}
1467 1526
1468 1527 /**
1469 1528 * Mixin
1470 1529 */
@@ -1534,18 +1593,19 @@
1534 1593 opacity: 0.8;
1535 1594 }
1536 1595 .wp-block-learnpress-course-button-read-more.loading:before,
1537 1596 .wp-block-learnpress-course-button.loading:before {
1597 + position: absolute;
1538 1598 display: inline-block;
1539 1599 font-family: "lp-icon";
1540 1600 content: "\f110";
1541 1601 animation: lp-rotating 1s linear infinite;
1542 - margin-right: 5px;
1543 1602 font-variant: normal;
1544 1603 text-transform: none;
1545 1604 -webkit-font-smoothing: antialiased;
1546 1605 -moz-osx-font-smoothing: grayscale;
1547 1606 vertical-align: middle;
1607 + color: black;
1548 1608 }
1549 1609
1550 1610 @media (min-width: 992px) {
1551 1611 .lp-block-course-sidebar {
@@ -2161,22 +2221,5 @@
2161 2221 }
2162 2222
2163 2223 .lp-sidebar-toggle__open .js-block-sidebar {
2164 2224 display: block;
2165 -}
2166 -
2167 -.lp-button.loading {
2168 - pointer-events: none;
2169 - opacity: 0.8;
2170 -}
2171 -.lp-button.loading:before {
2172 - display: inline-block;
2173 - font-family: "lp-icon";
2174 - content: "\f110";
2175 - animation: lp-rotating 1s linear infinite;
2176 - margin-right: 5px;
2177 - font-variant: normal;
2178 - text-transform: none;
2179 - -webkit-font-smoothing: antialiased;
2180 - -moz-osx-font-smoothing: grayscale;
2181 - vertical-align: middle;
2182 2225 }