PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.9
4.4.9 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 All 140 releases
← All changes | assets/css/learnpress-block.css +148 -70 4.4.7 → 4.4.9 View file →
@@ -26,10 +26,89 @@
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 + 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 + line-height: 1;
100 + font-variant: normal;
101 + text-transform: none;
102 + -webkit-font-smoothing: antialiased;
103 + -moz-osx-font-smoothing: grayscale;
104 + color: black;
105 +}
106 +
30 107 .learn-press-message {
31 108 position: relative;
109 + display: flex;
110 + align-items: center;
32 111 margin: 0 !important;
33 112 padding: 10px 20px;
34 113 border-radius: var(--lp-border-radius, 5px);
35 114 background-color: #E5F7FF;
@@ -35,25 +114,54 @@
35 114 background-color: #E5F7FF;
36 115 color: #007AFF;
37 116 max-width: 100%;
38 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 +}
39 127 .learn-press-message.error {
40 128 background-color: #FEE5E5;
41 129 color: #FF3B30;
42 - border-left: none;
130 + border: 1px solid #E31A1A;
131 + padding: 10px 20px;
43 132 }
133 +.learn-press-message.error::before {
134 + content: "\f071";
135 + color: #E31A1A;
136 +}
44 137 .learn-press-message.warning {
45 138 background-color: #FEF7E6;
46 139 color: #FF9500;
140 + border: 1px solid #F8A100;
47 141 }
142 +.learn-press-message.warning::before {
143 + content: "\f06a";
144 + color: #F8A100;
145 +}
48 146 .learn-press-message.success {
49 147 background-color: #EBF8E5;
50 148 color: #3AB500;
149 + border: 1px solid #28A746;
51 150 }
151 +.learn-press-message.success::before {
152 + content: "\f058";
153 + color: #28A746;
154 +}
52 155 .learn-press-message.info {
53 156 background-color: rgba(0, 122, 255, 0.1019607843);
54 157 color: #007AFF;
158 + border: 1px solid #2E91FA;
55 159 }
160 +.learn-press-message.info::before {
161 + content: "\e931";
162 + color: #2E91FA;
163 +}
56 164 .learn-press-message a {
57 165 text-decoration: underline;
58 166 }
59 167
@@ -665,18 +773,22 @@
665 773 box-shadow: none;
666 774 outline: none;
667 775 }
668 776 .course-curriculum .section-item__loadmore.loading button:before {
669 - display: inline-block;
777 + position: absolute;
778 + inset: 0;
779 + display: flex;
780 + align-items: center;
781 + justify-content: center;
670 782 font-family: "lp-icon";
671 783 content: "\f110";
672 784 animation: lp-rotating 1s linear infinite;
673 - margin-right: 5px;
785 + line-height: 1;
674 786 font-variant: normal;
675 787 text-transform: none;
676 788 -webkit-font-smoothing: antialiased;
677 789 -moz-osx-font-smoothing: grayscale;
678 - vertical-align: middle;
790 + color: black;
679 791 }
680 792 .course-curriculum .section-header {
681 793 display: table;
682 794 width: 100%;
@@ -891,18 +1003,22 @@
891 1003 margin-top: 20px;
892 1004 margin-bottom: 20px;
893 1005 }
894 1006 .course-curriculum .curriculum-more__button.loading:before {
895 - display: inline-block;
1007 + position: absolute;
1008 + inset: 0;
1009 + display: flex;
1010 + align-items: center;
1011 + justify-content: center;
896 1012 font-family: "lp-icon";
897 1013 content: "\f110";
898 1014 animation: lp-rotating 1s linear infinite;
899 - margin-right: 5px;
1015 + line-height: 1;
900 1016 font-variant: normal;
901 1017 text-transform: none;
902 1018 -webkit-font-smoothing: antialiased;
903 1019 -moz-osx-font-smoothing: grayscale;
904 - vertical-align: middle;
1020 + color: black;
905 1021 }
906 1022
907 1023 body .content-item-summary .form-button-finish-course, body .lp-quiz-buttons .form-button-finish-course {
908 1024 float: right;
@@ -1338,8 +1454,26 @@
1338 1454 min-height: 100vh;
1339 1455 text-align: center;
1340 1456 align-items: center;
1341 1457 justify-content: center;
1458 + /*.lp-button {
1459 + cursor: pointer;
1460 + border: 1px solid $border-color;
1461 + border-radius: $border-radius-global;
1462 + padding: $spacing-base-2x $spacing-base-4x;
1463 +
1464 + &.loading {
1465 + pointer-events: none;
1466 + opacity: 0.8;
1467 + @include loading();
1468 + }
1469 +
1470 + &:hover {
1471 + border-color: $color-primary;
1472 + color: #fff;
1473 + background: $color-primary;
1474 + }
1475 + }*/
1342 1476 }
1343 1477 .lp-modal-dialog .learn-press-message {
1344 1478 width: auto;
1345 1479 margin: 0 !important;
@@ -1408,35 +1542,8 @@
1408 1542 display: flex;
1409 1543 align-items: center;
1410 1544 gap: 10px;
1411 1545 }
1412 -.lp-modal-dialog .lp-button {
1413 - cursor: pointer;
1414 - border: 1px solid var(--lp-border-color, #E2E0DB);
1415 - border-radius: var(--lp-border-radius, 5px);
1416 - padding: 8px 16px;
1417 -}
1418 -.lp-modal-dialog .lp-button.loading {
1419 - pointer-events: none;
1420 - opacity: 0.8;
1421 -}
1422 -.lp-modal-dialog .lp-button.loading:before {
1423 - display: inline-block;
1424 - font-family: "lp-icon";
1425 - content: "\f110";
1426 - animation: lp-rotating 1s linear infinite;
1427 - margin-right: 5px;
1428 - font-variant: normal;
1429 - text-transform: none;
1430 - -webkit-font-smoothing: antialiased;
1431 - -moz-osx-font-smoothing: grayscale;
1432 - vertical-align: middle;
1433 -}
1434 -.lp-modal-dialog .lp-button:hover {
1435 - border-color: var(--lp-primary-color, #ffb606);
1436 - color: #fff;
1437 - background: var(--lp-primary-color, #ffb606);
1438 -}
1439 1546
1440 1547 .lp-button.btn-finish-course {
1441 1548 cursor: pointer;
1442 1549 width: 100%;
@@ -1455,24 +1562,8 @@
1455 1562 .lp-button.btn-finish-course:hover {
1456 1563 background-color: var(--lp-secondary-color, #442e66);
1457 1564 border-color: var(--lp-secondary-color, #442e66);
1458 1565 }
1459 -.lp-button.btn-finish-course.loading {
1460 - pointer-events: none;
1461 - opacity: 0.8;
1462 -}
1463 -.lp-button.btn-finish-course.loading:before {
1464 - display: inline-block;
1465 - font-family: "lp-icon";
1466 - content: "\f110";
1467 - animation: lp-rotating 1s linear infinite;
1468 - margin-right: 5px;
1469 - font-variant: normal;
1470 - text-transform: none;
1471 - -webkit-font-smoothing: antialiased;
1472 - -moz-osx-font-smoothing: grayscale;
1473 - vertical-align: middle;
1474 -}
1475 1566
1476 1567 /**
1477 1568 * Mixin
1478 1569 */
@@ -1542,18 +1633,22 @@
1542 1633 opacity: 0.8;
1543 1634 }
1544 1635 .wp-block-learnpress-course-button-read-more.loading:before,
1545 1636 .wp-block-learnpress-course-button.loading:before {
1546 - display: inline-block;
1637 + position: absolute;
1638 + inset: 0;
1639 + display: flex;
1640 + align-items: center;
1641 + justify-content: center;
1547 1642 font-family: "lp-icon";
1548 1643 content: "\f110";
1549 1644 animation: lp-rotating 1s linear infinite;
1550 - margin-right: 5px;
1645 + line-height: 1;
1551 1646 font-variant: normal;
1552 1647 text-transform: none;
1553 1648 -webkit-font-smoothing: antialiased;
1554 1649 -moz-osx-font-smoothing: grayscale;
1555 - vertical-align: middle;
1650 + color: black;
1556 1651 }
1557 1652
1558 1653 @media (min-width: 992px) {
1559 1654 .lp-block-course-sidebar {
@@ -2169,22 +2264,5 @@
2169 2264 }
2170 2265
2171 2266 .lp-sidebar-toggle__open .js-block-sidebar {
2172 2267 display: block;
2173 -}
2174 -
2175 -.lp-button.loading {
2176 - pointer-events: none;
2177 - opacity: 0.8;
2178 -}
2179 -.lp-button.loading:before {
2180 - display: inline-block;
2181 - font-family: "lp-icon";
2182 - content: "\f110";
2183 - animation: lp-rotating 1s linear infinite;
2184 - margin-right: 5px;
2185 - font-variant: normal;
2186 - text-transform: none;
2187 - -webkit-font-smoothing: antialiased;
2188 - -moz-osx-font-smoothing: grayscale;
2189 - vertical-align: middle;
2190 2268 }