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
learnpress / assets / css / admin / themes.css

themes.css in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.8, at assets/css/admin/themes.css

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