PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.10
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.10
4.4.10 4.4.9.1 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 All 142 releases
← All changes | assets/css/admin/themes.css +136 -180 4.4.9.1 → 4.4.10 View file →
@@ -1,77 +1,15 @@
1 -.learn-press-themes {
2 - max-width: 100%;
3 - color: #6b7280;
1 +.lp-themes-page .lp-be-page-title {
2 + margin: 0 0 4px;
4 3 }
5 -.learn-press-themes > .wp-heading-inline {
6 - color: #1e1e1e;
7 - font-size: 32px;
8 - font-weight: 600;
9 - line-height: 1.25;
4 +.lp-themes-page .lp-be-page-subtitle {
5 + margin: 0 0 40px;
10 6 }
11 -.learn-press-themes a:focus-visible,
12 -.learn-press-themes button:focus-visible {
13 - outline: none;
14 - box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
15 -}
16 7
17 -.lp-themes-toolbar {
18 - display: flex;
19 - align-items: center;
20 - justify-content: space-between;
21 - gap: 16px;
22 - box-sizing: border-box;
23 - margin-bottom: 30px;
24 - padding: 20px;
25 - border: 1px solid #e5e7eb;
26 - border-radius: 12px;
27 - background: #ffffff;
28 - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
29 -}
30 -
31 -.lp-themes-search {
32 - position: relative;
33 - flex-shrink: 0;
34 - width: 360px;
8 +.learn-press-themes {
35 9 max-width: 100%;
10 + color: #626262;
36 11 }
37 -.lp-themes-search__icon {
38 - position: absolute;
39 - display: inline-flex;
40 - align-items: center;
41 - justify-content: center;
42 - width: 20px;
43 - height: 20px;
44 - inset-inline-start: 12px;
45 - top: 50%;
46 - transform: translateY(-50%);
47 - color: #9ca3af;
48 - font-size: 16px;
49 - pointer-events: none;
50 -}
51 -
52 -.learn-press-themes input.lp-themes-search__input {
53 - box-sizing: border-box;
54 - width: 100%;
55 - min-height: 48px;
56 - margin: 0;
57 - padding: 4px 12px;
58 - padding-inline-start: 40px;
59 - border: 1px solid #d1d5db;
60 - border-radius: 12px;
61 - color: #1a1a1a;
62 - background: #ffffff;
63 - font-size: 14px;
64 -}
65 -.learn-press-themes input.lp-themes-search__input::placeholder {
66 - color: #9ca3af;
67 -}
68 -.learn-press-themes input.lp-themes-search__input:focus {
69 - border-color: #7067ED;
70 - box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
71 - outline: none;
72 -}
73 -
74 12 .learn-press-themes [hidden] {
75 13 display: none !important;
76 14 }
77 15
@@ -79,75 +17,53 @@
79 17 display: flex;
80 18 align-items: center;
81 19 flex-wrap: nowrap;
82 20 gap: 12px;
83 - margin: -4px;
84 - padding: 4px;
85 - overflow-x: auto;
86 - overflow-y: hidden;
87 - scrollbar-width: thin;
88 - -webkit-overflow-scrolling: touch;
21 + margin: 0;
22 + padding: 0;
89 23 }
90 -.lp-themes-filter__count {
91 - margin-inline-start: 4px;
24 +.lp-themes-filter__toggle {
25 + display: none;
92 26 }
93 -.lp-themes-filter__item {
94 - display: inline-flex;
27 +.lp-themes-filter__menu {
28 + display: flex;
95 29 align-items: center;
96 - justify-content: center;
97 - min-height: 49px;
98 - padding: 8px 20px;
99 - border: 1px solid transparent;
100 - border-radius: 12px;
101 - color: #7067ED;
102 - background: #EEF1FF;
103 - font-size: 16px;
104 - font-weight: 500;
105 - line-height: 150%;
106 - cursor: pointer;
107 - transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
30 + gap: 12px;
31 + min-width: 0;
108 32 }
109 -.lp-themes-filter__item:hover, .lp-themes-filter__item:focus {
110 - border-color: #7067ED;
111 - color: #7067ED;
112 - background: #F7F7F7;
33 +.lp-themes-filter__count {
34 + margin-inline-start: 4px;
113 35 }
114 -.lp-themes-filter__item.active {
115 - border-color: #7067ED;
116 - color: #ffffff;
117 - background: #7067ED;
118 -}
119 36
120 37 .lp-themes-grid {
121 38 display: grid;
122 39 grid-template-columns: repeat(4, minmax(0, 1fr));
123 40 gap: 24px;
124 - margin-bottom: 30px;
41 + margin-bottom: 32px;
125 42 }
126 43
127 44 .lp-theme-card {
128 - overflow: hidden;
129 45 position: relative;
130 46 display: flex;
131 47 flex-direction: column;
132 - min-width: 0;
133 - border: 1px solid #e5e7eb;
134 - border-radius: 12px;
48 + box-sizing: border-box;
49 + border: 1px solid #e1e1e1;
50 + border-radius: 10px;
135 51 background: #ffffff;
136 - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
52 + box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);
53 + overflow: hidden;
137 54 transition: border-color 0.2s ease, box-shadow 0.2s ease;
138 55 }
139 56 .lp-theme-card:hover, .lp-theme-card:focus-within {
140 - border-color: #7067ED;
141 - box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
57 + border-color: #7067ed;
58 + box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
142 59 }
143 60 .lp-theme-card__thumbnail {
61 + position: relative;
144 62 overflow: hidden;
145 - position: relative;
146 - width: 100%;
147 - box-sizing: border-box;
63 + border-top-left-radius: inherit;
64 + border-top-right-radius: inherit;
148 65 padding: 20px;
149 - flex-shrink: 0;
150 66 background: #ffffff;
151 67 }
152 68 .lp-theme-card__thumbnail img {
153 69 display: block;
@@ -152,8 +68,9 @@
152 68 .lp-theme-card__thumbnail img {
153 69 display: block;
154 70 width: 100%;
155 71 height: auto;
72 + object-fit: cover;
156 73 border-radius: 8px;
157 74 }
158 75 .lp-theme-card__badge {
159 76 position: absolute;
@@ -161,13 +78,13 @@
161 78 top: 24px;
162 79 right: 24px;
163 80 display: inline-flex;
164 81 align-items: center;
165 - padding: 8px 12px;
166 - border-radius: 20px;
82 + padding: 4px 8px;
83 + border-radius: 6px;
167 84 color: #ffffff;
168 85 background: linear-gradient(135deg, #ff0000 0%, #af00b8 100%);
169 - font-size: 11px;
86 + font-size: 12px;
170 87 font-weight: 600;
171 88 line-height: 1;
172 89 text-transform: uppercase;
173 90 }
@@ -182,21 +99,28 @@
182 99 display: -webkit-box;
183 100 overflow: hidden;
184 101 min-height: 2.8em;
185 102 margin: 0 0 8px;
186 - color: #1e1e1e;
187 - font-size: 18px;
103 + color: #111111;
104 + font-size: 16px;
188 105 font-weight: 600;
189 106 line-height: 1.4;
190 107 -webkit-box-orient: vertical;
191 108 -webkit-line-clamp: 2;
192 109 }
110 +.lp-theme-card__title a {
111 + color: inherit;
112 + text-decoration: none;
113 +}
114 +.lp-theme-card__title a:hover {
115 + color: #7067ed;
116 +}
193 117 .lp-theme-card__description {
194 118 display: -webkit-box;
195 119 overflow: hidden;
196 120 min-height: 35px;
197 121 margin: 0 0 16px;
198 - color: #6b7280;
122 + color: #626262;
199 123 font-size: 14px;
200 124 font-weight: 400;
201 125 line-height: 1.45;
202 126 -webkit-box-orient: vertical;
@@ -212,27 +136,27 @@
212 136 align-items: center;
213 137 gap: 8px;
214 138 }
215 139 .lp-theme-card__price strong {
216 - color: #E31A1B;
140 + color: #e31a1a;
217 141 font-size: 18px;
218 142 font-weight: 600;
219 143 line-height: 1.2;
220 144 }
221 145 .lp-theme-card__price del {
222 - color: #9ca3af;
146 + color: #898989;
223 147 font-size: 14px;
224 148 font-weight: 400;
225 149 line-height: 1;
226 150 }
227 151 .lp-theme-card[data-category=free] .lp-theme-card__price strong {
228 - color: #28A746;
152 + color: #28a746;
229 153 }
230 154 .lp-theme-card__meta {
231 155 display: flex;
232 156 align-items: center;
233 157 gap: 12px;
234 - color: #1e1e1e;
158 + color: #111111;
235 159 font-size: 14px;
236 160 line-height: 1;
237 161 }
238 162 .lp-theme-card__rating {
@@ -238,13 +162,13 @@
238 162 .lp-theme-card__rating {
239 163 display: inline-flex;
240 164 align-items: center;
241 165 gap: 4px;
242 - color: #374151;
166 + color: #4f4f4f;
243 167 white-space: nowrap;
244 168 }
245 169 .lp-theme-card__star {
246 - color: #ffd700;
170 + color: #f8cb2b;
247 171 font-size: 16px;
248 172 }
249 173 .lp-theme-card__sold {
250 174 display: inline-flex;
@@ -252,9 +176,9 @@
252 176 gap: 8px;
253 177 white-space: nowrap;
254 178 }
255 179 .lp-theme-card__cart {
256 - color: #7067ED;
180 + color: #7067ed;
257 181 font-size: 16px;
258 182 }
259 183 .lp-theme-card__actions {
260 184 display: grid;
@@ -261,60 +185,53 @@
261 185 grid-template-columns: minmax(0, 1fr) auto;
262 186 gap: 8px;
263 187 margin-top: auto;
264 188 }
265 -.lp-theme-card__buy {
266 - display: flex;
189 +.lp-theme-card__actions a:focus,
190 +.lp-theme-card__actions a:focus-visible,
191 +.lp-theme-card__actions a:active {
192 + border-radius: 10px !important;
193 + box-shadow: none !important;
194 + outline: none !important;
195 +}
196 +
197 +.lp-theme-badge,
198 +.lp-be-badge {
199 + display: inline-flex;
267 200 align-items: center;
268 201 justify-content: center;
269 - box-sizing: border-box;
270 - height: 40px;
271 - min-height: 40px;
272 - padding: 0 16px;
273 - border: 1px solid #7067ED;
202 + gap: 4px;
203 + padding: 2px 8px;
274 204 border-radius: 6px;
275 - color: #ffffff;
276 - background: #7067ED;
277 - font-size: 14px;
205 + font-size: 12px;
278 206 font-weight: 500;
279 - line-height: 1.25;
280 - text-align: center;
281 - text-decoration: none;
207 + line-height: 1.4;
208 + white-space: nowrap;
282 209 }
283 -.lp-theme-card__buy:visited {
284 - color: #ffffff;
210 +.lp-theme-badge--primary,
211 +.lp-be-badge--primary {
212 + color: #7067ed;
213 + background: #eef1ff;
285 214 }
286 -.lp-theme-card__buy:hover, .lp-theme-card__buy:focus, .lp-theme-card__buy:active {
287 - border-color: #5b52d1;
288 - color: #ffffff;
289 - background: #5b52d1;
215 +.lp-theme-badge--success,
216 +.lp-be-badge--success {
217 + color: #1a953a;
218 + background: #e7f6e9;
290 219 }
291 -.lp-theme-card__demo {
292 - display: flex;
293 - align-items: center;
294 - justify-content: center;
295 - min-width: 56px;
296 - box-sizing: border-box;
297 - height: 40px;
298 - min-height: 40px;
299 - padding: 0 16px;
300 - border: 1px solid #d1d5db;
301 - border-radius: 6px;
302 - color: #374151;
303 - background: #ffffff;
304 - font-size: 14px;
305 - font-weight: 500;
306 - line-height: 1.25;
307 - text-align: center;
308 - text-decoration: none;
220 +.lp-theme-badge--warning,
221 +.lp-be-badge--warning {
222 + color: #b45309;
223 + background: #fef8e1;
309 224 }
310 -.lp-theme-card__demo:visited {
311 - color: #374151;
225 +.lp-theme-badge--danger,
226 +.lp-be-badge--danger {
227 + color: #d60b11;
228 + background: #feebe9;
312 229 }
313 -.lp-theme-card__demo:hover, .lp-theme-card__demo:focus, .lp-theme-card__demo:active {
314 - border-color: #7067ED;
315 - color: #7067ED;
316 - background: #F7F7F7;
230 +.lp-theme-badge--info,
231 +.lp-be-badge--info {
232 + color: #2e91fa;
233 + background: #e3f1fe;
317 234 }
318 235
319 236 @media (max-width: 1400px) {
320 237 .lp-themes-grid {
@@ -325,35 +242,74 @@
325 242 .lp-themes-grid {
326 243 grid-template-columns: repeat(2, minmax(0, 1fr));
327 244 gap: 20px;
328 245 }
246 +}
247 +@media (max-width: 1024px) {
329 248 .lp-themes-toolbar {
330 - align-items: stretch;
331 - flex-direction: column;
249 + flex-wrap: wrap;
250 + gap: 12px;
251 + overflow: visible;
332 252 }
333 253 .lp-themes-filter {
334 - width: 100%;
335 - min-width: 0;
254 + display: contents;
336 255 }
337 - .lp-themes-search {
338 - width: 100%;
256 + .lp-themes-filter__toggle {
257 + order: 1;
258 + display: inline-flex;
259 + align-items: center;
260 + justify-content: center;
261 + gap: 4px;
262 + box-sizing: border-box;
263 + min-width: 94px;
264 + height: 40px;
265 + min-height: 40px;
266 + padding: 0 12px;
267 + border: 1px solid transparent;
268 + border-radius: 10px;
269 + color: #ffffff;
270 + background: #7067ed;
271 + font-size: 14px;
272 + font-weight: 500;
273 + cursor: pointer;
339 274 }
275 + .lp-themes-filter__toggle:hover, .lp-themes-filter__toggle:focus-visible, .lp-themes-filter__toggle[aria-expanded=true] {
276 + background: #5e48e0;
277 + outline: none;
278 + box-shadow: 0 0 0 3px rgba(112, 103, 237, 0.15);
279 + }
280 + .lp-themes-filter__menu {
281 + position: absolute;
282 + top: 100%;
283 + inset-inline: 0;
284 + z-index: 9;
285 + display: none;
286 + flex-wrap: wrap;
287 + padding: 12px;
288 + border: 1px solid #e1e1e1;
289 + border-radius: 10px;
290 + background: #ffffff;
291 + box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
292 + }
293 + .lp-themes-toolbar.is-filter-open .lp-themes-filter__menu {
294 + display: flex;
295 + }
296 + .lp-themes-toolbar.is-filter-open .lp-themes-filter__toggle {
297 + background: #5e48e0;
298 + }
340 299 }
341 300 @media (max-width: 782px) {
342 - .lp-themes-filter__item {
343 - flex: 0 0 auto;
344 - }
345 301 .lp-themes-toolbar {
346 302 padding: 12px;
347 303 }
304 + .lp-themes-filter__item {
305 + padding-inline: 8px;
306 + font-size: 14px;
307 + }
348 308 }
349 309 @media (max-width: 500px) {
350 310 .lp-themes-toolbar {
351 311 padding: 12px;
352 - }
353 - .lp-themes-filter__item {
354 - padding-inline: 8px;
355 - font-size: 12px;
356 312 }
357 313 .lp-themes-grid {
358 314 grid-template-columns: 1fr;
359 315 }