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 / edit-curriculum.css

edit-curriculum.css in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.8, at assets/css/edit-curriculum.css

850 lines 21.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Edit Curriculum styles
3 */
4 /**
5 * Mixin
6 */
7 @keyframes rotating4 {
8 from {
9 transform: rotate(0deg);
10 }
11 to {
12 transform: rotate(360deg);
13 }
14 }
15 @keyframes animation4 {
16 from {
17 left: -40%;
18 width: 40%;
19 }
20 to {
21 left: 100%;
22 width: 10%;
23 }
24 }
25 .learn-press-message {
26 position: relative;
27 margin: 0 !important;
28 padding: 10px 20px;
29 border-radius: var(--lp-border-radius, 5px);
30 background-color: #E5F7FF;
31 color: #007AFF;
32 max-width: 100%;
33 }
34 .learn-press-message.error {
35 background-color: #FEE5E5;
36 color: #FF3B30;
37 border-left: none;
38 }
39 .learn-press-message.warning {
40 background-color: #FEF7E6;
41 color: #FF9500;
42 }
43 .learn-press-message.success {
44 background-color: #EBF8E5;
45 color: #3AB500;
46 }
47 .learn-press-message.info {
48 background-color: rgba(0, 122, 255, 0.1019607843);
49 color: #007AFF;
50 }
51 .learn-press-message a {
52 text-decoration: underline;
53 }
54
55 .lp-toast.toastify {
56 background: #EBF8E5;
57 color: #3AB500;
58 border-radius: var(--lp-border-radius, 5px);
59 box-shadow: 0 0 0;
60 display: flex;
61 align-items: center;
62 }
63 .lp-toast.toastify .toast-close {
64 background: transparent !important;
65 font-size: 0;
66 padding-left: 12px;
67 }
68 .lp-toast.toastify .toast-close:before {
69 content: "\f00d";
70 font-family: "lp-icon";
71 font-size: 16px;
72 color: #000;
73 line-height: 17px;
74 }
75 .lp-toast.toastify .toast-close:hover {
76 opacity: 1;
77 }
78 .lp-toast.toastify.error {
79 background-color: #FEE5E5;
80 color: #FF3B30;
81 padding: 12px 20px;
82 border: none;
83 margin: 0 auto;
84 }
85 .lp-toast.toastify.warning {
86 background-color: #FEF7E6;
87 color: #fb9422;
88 padding: 12px 20px;
89 border: none;
90 margin: 0 auto;
91 }
92 .lp-toast.toastify.info {
93 background-color: rgba(0, 122, 255, 0.1019607843);
94 color: #277afc;
95 padding: 12px 20px;
96 border: none;
97 margin: 0 auto;
98 }
99
100 /**
101 * Style for the popup select item to add in LearnPress
102 */
103 .lp-select-items-popup {
104 padding: 0 !important;
105 grid-row: 1 !important;
106 --swal2-close-button-font-size: 32px;
107 }
108 .lp-select-items-html-container {
109 padding: 0 !important;
110 }
111
112 .lp-popup-items-to-select {
113 text-align: left;
114 font-size: 1rem;
115 /**
116 * Style for the buttons
117 */
118 /* 5. Minimal Bottom Line */
119 }
120 .lp-popup-items-to-select .lp-btn-edit-primary {
121 border: none;
122 background: #135e96;
123 color: #fff;
124 }
125 .lp-popup-items-to-select .lp-btn-edit-primary:not(.active) {
126 opacity: 0.5;
127 }
128 .lp-popup-items-to-select .lp-btn-edit-primary:hover, .lp-popup-items-to-select .lp-btn-edit-primary.active, .lp-popup-items-to-select .lp-btn-edit-primary.active:hover {
129 background: #135E96;
130 color: #fff;
131 opacity: 1;
132 }
133 .lp-popup-items-to-select .btn-line::after {
134 content: "";
135 position: absolute;
136 bottom: 0;
137 left: 0;
138 height: 4px;
139 width: 0%;
140 background-color: #38bdf8;
141 animation: lineLoad 2s ease-in-out infinite;
142 }
143 @keyframes lineLoad {
144 0% {
145 width: 0%;
146 left: 0;
147 }
148 50% {
149 width: 100%;
150 left: 0;
151 }
152 100% {
153 width: 0%;
154 left: 100%;
155 }
156 }
157 .lp-popup-items-to-select .header {
158 position: relative;
159 }
160 .lp-popup-items-to-select .header .header-count-items-selected {
161 border-bottom: 1px solid #C3C4C7;
162 padding: 16px 20px;
163 }
164 .lp-popup-items-to-select .header .tabs {
165 margin: 0;
166 border-bottom: 1px solid #C3C4C7;
167 }
168 .lp-popup-items-to-select .header .tabs .tab {
169 display: inline-block;
170 position: relative;
171 margin: 0;
172 }
173 .lp-popup-items-to-select .header .tabs .tab:not(:last-child)::before {
174 position: absolute;
175 top: 50%;
176 right: 0;
177 height: 44px;
178 margin-top: -22px;
179 border-right: 1px solid #C3C4C7;
180 content: "";
181 }
182 .lp-popup-items-to-select .header .tabs .tab.active::after {
183 display: inline-block;
184 position: absolute;
185 bottom: -6px;
186 left: 50%;
187 width: 10px;
188 height: 10px;
189 margin-left: -6px;
190 border: 1px solid #C3C4C7;
191 border-right: 0;
192 border-bottom: 0;
193 background: #fff;
194 content: "";
195 transform: rotate(45deg);
196 }
197 .lp-popup-items-to-select .header .tabs .tab.active a {
198 color: #0073aa;
199 }
200 .lp-popup-items-to-select .header .tabs .tab a {
201 display: inline-block;
202 height: 44px;
203 padding: 0 20px;
204 color: #333;
205 font-weight: 600;
206 line-height: 2.75rem;
207 text-decoration: none;
208 }
209 .lp-popup-items-to-select .header .tabs .tab a:focus {
210 box-shadow: none;
211 }
212 .lp-popup-items-to-select .main {
213 overflow: hidden;
214 position: relative;
215 padding: 20px;
216 border-bottom: 1px solid #C3C4C7;
217 }
218 .lp-popup-items-to-select .main input.lp-search-title-item {
219 width: 100%;
220 font-size: 1rem;
221 border: 1px solid #C3C4C7;
222 margin-bottom: 10px;
223 }
224 .lp-popup-items-to-select .list-items, .lp-popup-items-to-select .list-items-selected {
225 display: flex;
226 flex-direction: column;
227 overflow-y: auto;
228 min-height: 260px;
229 max-height: 50vh;
230 margin: 0;
231 }
232 .lp-popup-items-to-select .list-items li, .lp-popup-items-to-select .list-items-selected li {
233 margin: 0;
234 cursor: pointer;
235 padding: 10px;
236 border: 1px solid white;
237 }
238 .lp-popup-items-to-select .list-items li:hover, .lp-popup-items-to-select .list-items-selected li:hover {
239 background-color: #eff6ff;
240 border-color: #e2eefe;
241 }
242 .lp-popup-items-to-select .list-items-selected li {
243 display: flex;
244 gap: 5px;
245 align-items: center;
246 color: #999;
247 }
248 .lp-popup-items-to-select .list-items-selected li .item-type {
249 padding: 0;
250 font-size: inherit;
251 color: inherit;
252 line-height: unset;
253 }
254 .lp-popup-items-to-select .list-items-selected li .item-title {
255 color: #333;
256 }
257 .lp-popup-items-to-select .list-items-selected li.selected {
258 background-color: #F4FCFF;
259 }
260 .lp-popup-items-to-select .list-items-selected li:hover .dashicons-remove {
261 opacity: 1;
262 }
263 .lp-popup-items-to-select .list-items-selected .dashicons-remove {
264 color: #E74C3C;
265 opacity: 0.6;
266 }
267 .lp-popup-items-to-select .pagination {
268 display: flex;
269 flex-wrap: wrap;
270 margin: 10px 0 -10px 0;
271 align-items: center;
272 flex-direction: column;
273 gap: 10px;
274 }
275 .lp-popup-items-to-select .pagination::before {
276 content: "";
277 display: block;
278 width: 100%;
279 height: 1px;
280 background-color: #ececec;
281 position: relative;
282 }
283 .lp-popup-items-to-select .pagination li {
284 margin: 0;
285 cursor: pointer;
286 }
287 .lp-popup-items-to-select .pagination li .page-numbers {
288 height: 30px;
289 display: flex;
290 align-items: center;
291 justify-content: center;
292 }
293 .lp-popup-items-to-select .pagination li a {
294 text-decoration: none;
295 display: flex;
296 align-items: center;
297 }
298 .lp-popup-items-to-select .footer {
299 padding: 16px 20px;
300 display: flex;
301 gap: 5px;
302 }
303
304 /**
305 * Style for the popup alert, confirm
306 * @link https://sweetalert2.github.io/
307 * @since 4.2.9
308 * @version 1.0.0
309 */
310 .swal2-container {
311 z-index: 99999;
312 }
313
314 .swal2-popup {
315 max-width: 850px;
316 }
317 .swal2-popup .content-title {
318 margin: 0 0 20px 0;
319 padding: 0;
320 text-align: center;
321 font-size: 1.5em;
322 font-weight: bold;
323 }
324 .swal2-popup .swal2-actions {
325 width: 100%;
326 padding: 0 30px;
327 }
328 .swal2-popup .swal2-actions button {
329 flex: 1;
330 }
331 .swal2-popup .swal2-actions button.swal2-confirm {
332 background-color: #e02200;
333 }
334 .swal2-popup .swal2-actions button.swal2-cancel {
335 background-color: transparent;
336 border: 1px solid #ccc;
337 color: inherit;
338 }
339 .swal2-popup .swal2-warning {
340 color: #e02200;
341 border-color: transparent;
342 background-color: rgba(223, 0, 0, 0.1019607843);
343 }
344 .swal2-popup .swal2-icon {
345 width: 50px;
346 height: 50px;
347 }
348 .swal2-popup .swal2-icon .swal2-icon-content {
349 font-size: 0;
350 }
351 .swal2-popup .swal2-icon .swal2-icon-content::before {
352 content: "\f071";
353 font-family: "lp-icon";
354 font-size: 24px;
355 display: inline-block;
356 }
357 .swal2-popup .swal2-title {
358 font-size: 1.5em;
359 }
360 .swal2-popup .swal2-html-container {
361 font-size: 1em;
362 }
363 .swal2-popup .lp-tom-select.ts-wrapper .ts-dropdown {
364 max-height: 200px;
365 overflow: hidden;
366 }
367 .swal2-popup .swal2-close {
368 background-color: unset !important;
369 outline: none !important;
370 color: rgb(204, 204, 204) !important;
371 font-size: 30px;
372 box-shadow: none !important;
373 position: absolute;
374 }
375 .swal2-popup .swal2-close:hover {
376 color: #f27474 !important;
377 }
378
379 #lp-course-edit-curriculum {
380 padding: 12px;
381 }
382 #lp-course-edit-curriculum [class*=lp-icon-] {
383 font-size: 1.25rem;
384 color: #787c82;
385 }
386 #lp-course-edit-curriculum .lp-icon-angle-down, #lp-course-edit-curriculum .lp-icon-angle-up {
387 padding: 8px;
388 font-size: 24px;
389 cursor: pointer;
390 }
391 #lp-course-edit-curriculum .lp-icon-angle-down:hover, #lp-course-edit-curriculum .lp-icon-angle-up:hover {
392 color: #2271B1;
393 }
394 #lp-course-edit-curriculum input[type=text] {
395 width: 100%;
396 border: none;
397 box-shadow: none;
398 padding: 0;
399 }
400 #lp-course-edit-curriculum textarea {
401 width: 100%;
402 border: 1px solid #C3C4C7;
403 padding: 10px;
404 resize: vertical;
405 min-height: 50px;
406 }
407 #lp-course-edit-curriculum button {
408 color: #2271B1;
409 border-color: #2271B1;
410 background-color: #fff;
411 border-radius: 5px;
412 }
413 #lp-course-edit-curriculum button:hover {
414 background: #f0f0f1;
415 }
416 #lp-course-edit-curriculum .course-toggle-all-sections.lp-collapse .lp-icon-angle-up {
417 display: none;
418 }
419 #lp-course-edit-curriculum .course-toggle-all-sections:not(.lp-collapse) .lp-icon-angle-down {
420 display: none;
421 }
422 #lp-course-edit-curriculum .heading {
423 display: flex;
424 flex-direction: row;
425 flex-wrap: nowrap;
426 margin-bottom: 15px;
427 align-items: center;
428 line-height: 1;
429 gap: 5px;
430 padding-right: 12px;
431 }
432 #lp-course-edit-curriculum .heading .count-sections .one, #lp-course-edit-curriculum .heading .count-sections .plural, #lp-course-edit-curriculum .heading .total-items .one, #lp-course-edit-curriculum .heading .total-items .plural {
433 display: none;
434 }
435 #lp-course-edit-curriculum .heading .count-sections[data-count="1"] .one, #lp-course-edit-curriculum .heading .total-items[data-count="1"] .one {
436 display: inline-block;
437 }
438 #lp-course-edit-curriculum .heading .count-sections:not([data-count="1"]) .plural, #lp-course-edit-curriculum .heading .total-items:not([data-count="1"]) .plural {
439 display: inline-block;
440 }
441 #lp-course-edit-curriculum .heading .total-items {
442 margin-left: auto;
443 }
444 #lp-course-edit-curriculum .heading h4 {
445 margin: 0;
446 font-size: 1em;
447 font-weight: normal;
448 }
449 #lp-course-edit-curriculum .curriculum-sections {
450 border: 1px solid #C3C4C7;
451 border-bottom: none;
452 }
453 #lp-course-edit-curriculum .curriculum-sections .section-description {
454 margin-bottom: 10px;
455 }
456 #lp-course-edit-curriculum .curriculum-sections .section-description button {
457 display: none;
458 }
459 #lp-course-edit-curriculum .curriculum-sections .section-description .lp-btn-update-section-description {
460 margin-right: 5px;
461 }
462 #lp-course-edit-curriculum .curriculum-sections .section-description.editing button {
463 display: inline-block;
464 }
465 #lp-course-edit-curriculum .curriculum-sections .section-description input::placeholder {
466 color: #2271B1;
467 }
468 #lp-course-edit-curriculum .section {
469 margin: 0;
470 border-bottom: 1px solid #C3C4C7;
471 opacity: 1;
472 background: #fff;
473 }
474 #lp-course-edit-curriculum .section.focus {
475 border: 1px solid #2271B1 !important;
476 }
477 #lp-course-edit-curriculum .section.lp-collapse .section-collapse {
478 display: none;
479 }
480 #lp-course-edit-curriculum .section.lp-collapse .section-toggle .lp-icon-angle-up {
481 display: none;
482 }
483 #lp-course-edit-curriculum .section:not(.lp-collapse) .section-toggle .lp-icon-angle-down {
484 display: none;
485 }
486 #lp-course-edit-curriculum .section .lp-icon-spinner {
487 animation: rotation 2s infinite linear;
488 font-size: 1.25rem;
489 color: #2271B1;
490 display: none;
491 }
492 #lp-course-edit-curriculum .section .drag {
493 cursor: grab;
494 line-height: 1;
495 }
496 #lp-course-edit-curriculum .section .drag:active {
497 cursor: grabbing;
498 }
499 #lp-course-edit-curriculum .section .drag:hover {
500 color: #2271B1;
501 }
502 #lp-course-edit-curriculum .section.loading {
503 pointer-events: none;
504 opacity: 0.5 !important;
505 }
506 #lp-course-edit-curriculum .section.loading .section-head .lp-icon-spinner {
507 display: inline-block;
508 }
509 #lp-course-edit-curriculum .section:first-child {
510 border-top: 0;
511 }
512 #lp-course-edit-curriculum .section:hover .remove {
513 display: inline-block;
514 }
515 #lp-course-edit-curriculum .section input {
516 background-color: transparent;
517 box-shadow: none;
518 }
519 #lp-course-edit-curriculum .section input:focus {
520 box-shadow: none;
521 }
522 #lp-course-edit-curriculum .section .section-items-counts {
523 white-space: nowrap;
524 }
525 #lp-course-edit-curriculum .section .section-items-counts .one, #lp-course-edit-curriculum .section .section-items-counts .plural {
526 display: none;
527 }
528 #lp-course-edit-curriculum .section .section-items-counts[data-count="1"] .one {
529 display: inline-block;
530 }
531 #lp-course-edit-curriculum .section .section-items-counts:not([data-count="1"]) .plural {
532 display: inline-block;
533 }
534 #lp-course-edit-curriculum .section .lp-btn-delete-section {
535 color: #E74C3C;
536 border: 1px solid #eee;
537 background: white;
538 display: none;
539 opacity: 0.7;
540 }
541 #lp-course-edit-curriculum .section .lp-btn-delete-section:hover {
542 opacity: 1;
543 }
544 #lp-course-edit-curriculum .section .lp-btn-edit-section-title {
545 cursor: pointer;
546 display: none;
547 opacity: 0.7;
548 font-size: 1rem;
549 }
550 #lp-course-edit-curriculum .section .lp-btn-edit-section-title:hover {
551 opacity: 1;
552 color: #2271B1;
553 }
554 #lp-course-edit-curriculum .section .section-head:hover .lp-btn-delete-section, #lp-course-edit-curriculum .section .section-head:hover .lp-btn-edit-section-title {
555 display: inline-block;
556 }
557 #lp-course-edit-curriculum .section .section-collapse {
558 overflow: hidden;
559 padding: 12px;
560 border-top: 1px solid #C3C4C7;
561 }
562 #lp-course-edit-curriculum .section .section-content {
563 margin-bottom: 10px;
564 }
565 #lp-course-edit-curriculum .section .lp-input-title-section {
566 padding-left: 0;
567 border: none;
568 font-size: 1.2em;
569 line-height: 1.875rem;
570 flex: 1;
571 }
572 #lp-course-edit-curriculum .section .lp-btn-update-section-title, #lp-course-edit-curriculum .section .lp-btn-cancel-update-section-title {
573 display: none;
574 }
575 #lp-course-edit-curriculum .section.editing .lp-btn-update-section-title, #lp-course-edit-curriculum .section.editing .lp-btn-cancel-update-section-title {
576 display: inline-block;
577 }
578 #lp-course-edit-curriculum .section.editing .lp-btn-delete-section, #lp-course-edit-curriculum .section.editing .lp-btn-edit-section-title {
579 display: none !important;
580 }
581 #lp-course-edit-curriculum .section.editing .section-items-counts, #lp-course-edit-curriculum .section.editing .section-toggle {
582 display: none;
583 }
584 #lp-course-edit-curriculum .section .description-input {
585 width: 100%;
586 margin: 0;
587 padding: 0;
588 border: none;
589 color: #999;
590 }
591 #lp-course-edit-curriculum .section .description-input:focus {
592 color: #444;
593 }
594 #lp-course-edit-curriculum .section .lp-btn-cancel-update-section-title {
595 border: none;
596 background: transparent;
597 }
598 #lp-course-edit-curriculum .section .lp-btn-cancel-update-section-title:hover {
599 background: #f0f0f1;
600 }
601 #lp-course-edit-curriculum .add-new-section, #lp-course-edit-curriculum .lp-add-item-type {
602 display: flex;
603 gap: 5px;
604 padding: 5px 10px;
605 align-items: center;
606 }
607 #lp-course-edit-curriculum .add-new-section .lp-icon-plus, #lp-course-edit-curriculum .lp-add-item-type .lp-icon-plus {
608 font-size: 1.1rem;
609 min-width: 20px;
610 text-align: center;
611 }
612 #lp-course-edit-curriculum .add-new-section input, #lp-course-edit-curriculum .lp-add-item-type input {
613 width: 100%;
614 border: none;
615 background: transparent;
616 outline: none;
617 padding: 0;
618 }
619 #lp-course-edit-curriculum .add-new-section input::placeholder, #lp-course-edit-curriculum .lp-add-item-type input::placeholder {
620 color: #8A8888;
621 }
622 #lp-course-edit-curriculum .add-new-section {
623 border: 1px solid #C3C4C7;
624 border-top: none;
625 background-color: #F4FCFF;
626 /**
627 * Style for the buttons
628 */
629 /* 5. Minimal Bottom Line */
630 /*.lp-btn-add-section {
631 border: none;
632 background: rgba(19, 94, 150, 0.5);
633 color: #fff;
634
635 &:hover, &.active {
636 background: rgba(19, 94, 150, 1);
637 }
638 }*/
639 }
640 #lp-course-edit-curriculum .add-new-section.focus {
641 border-top: 1px solid;
642 border-color: #2271B1;
643 }
644 #lp-course-edit-curriculum .add-new-section input {
645 font-size: 16px;
646 }
647 #lp-course-edit-curriculum .add-new-section .lp-btn-edit-primary {
648 border: none;
649 background: #135e96;
650 color: #fff;
651 }
652 #lp-course-edit-curriculum .add-new-section .lp-btn-edit-primary:not(.active) {
653 opacity: 0.5;
654 }
655 #lp-course-edit-curriculum .add-new-section .lp-btn-edit-primary:hover, #lp-course-edit-curriculum .add-new-section .lp-btn-edit-primary.active, #lp-course-edit-curriculum .add-new-section .lp-btn-edit-primary.active:hover {
656 background: #135E96;
657 color: #fff;
658 opacity: 1;
659 }
660 #lp-course-edit-curriculum .add-new-section .btn-line::after {
661 content: "";
662 position: absolute;
663 bottom: 0;
664 left: 0;
665 height: 4px;
666 width: 0%;
667 background-color: #38bdf8;
668 animation: lineLoad 2s ease-in-out infinite;
669 }
670 @keyframes lineLoad {
671 0% {
672 width: 0%;
673 left: 0;
674 }
675 50% {
676 width: 100%;
677 left: 0;
678 }
679 100% {
680 width: 0%;
681 left: 100%;
682 }
683 }
684 #lp-course-edit-curriculum .lp-add-item-type {
685 border: 1px solid #2271B1;
686 margin-bottom: 10px;
687 }
688 #lp-course-edit-curriculum .lp-add-item-type .new-item-actions {
689 width: 100%;
690 display: flex;
691 gap: 5px;
692 }
693 #lp-course-edit-curriculum .lp-add-item-type .lp-btn-add-item.active {
694 background: rgb(19, 94, 150);
695 color: #fff;
696 }
697 #lp-course-edit-curriculum .lp-add-item-type .lp-btn-add-item-cancel {
698 border: none;
699 }
700 #lp-course-edit-curriculum .item-actions {
701 display: flex;
702 bottom: 0;
703 align-items: center;
704 gap: 5px;
705 }
706 #lp-course-edit-curriculum .item-actions li {
707 list-style: none;
708 margin: 0;
709 padding: 0;
710 }
711 #lp-course-edit-curriculum .item-actions li a {
712 color: #999;
713 text-decoration: none;
714 font-size: 1.15rem;
715 }
716 #lp-course-edit-curriculum .item-actions li a:hover {
717 color: #2271B1;
718 }
719 #lp-course-edit-curriculum .item-actions li:hover {
720 cursor: pointer;
721 }
722 #lp-course-edit-curriculum .section-list-items {
723 width: 100%;
724 border-collapse: collapse;
725 display: flex;
726 flex-direction: column;
727 gap: 12px;
728 margin: 0;
729 }
730 #lp-course-edit-curriculum .section-item, #lp-course-edit-curriculum .section-head {
731 display: flex;
732 position: relative;
733 margin: 0;
734 padding: 6px 10px;
735 background: #fff;
736 transition: background 200ms ease-out;
737 align-items: center;
738 gap: 5px;
739 }
740 #lp-course-edit-curriculum .section-head {
741 background-color: #F4FCFF;
742 }
743 #lp-course-edit-curriculum .section-head:hover .lp-btn-delete-section {
744 display: inline-block;
745 }
746 #lp-course-edit-curriculum .section-item {
747 border: 1px solid #EEEEEE;
748 }
749 #lp-course-edit-curriculum .section-item.focus {
750 border-color: #2271B1 !important;
751 }
752 #lp-course-edit-curriculum .section-item.loading {
753 pointer-events: none;
754 opacity: 0.5 !important;
755 }
756 #lp-course-edit-curriculum .section-item.loading .lp-icon-spinner {
757 display: inline-block;
758 }
759 #lp-course-edit-curriculum .section-item:hover {
760 border-color: #2271B1;
761 }
762 #lp-course-edit-curriculum .section-item .lp-btn-update-item-title, #lp-course-edit-curriculum .section-item .lp-btn-cancel-update-item-title {
763 display: none;
764 }
765 #lp-course-edit-curriculum .section-item.editing .lp-btn-update-item-title, #lp-course-edit-curriculum .section-item.editing .lp-btn-cancel-update-item-title {
766 display: inline-block;
767 }
768 #lp-course-edit-curriculum .section-item.editing .item-actions {
769 display: none;
770 }
771 #lp-course-edit-curriculum .section-item .drag {
772 cursor: grab;
773 }
774 #lp-course-edit-curriculum .section-item .drag:hover {
775 color: #2271B1;
776 }
777 #lp-course-edit-curriculum .section-item .actions {
778 margin: 0;
779 }
780 #lp-course-edit-curriculum .section-item .actions > * {
781 visibility: hidden;
782 margin-right: 10px;
783 }
784 #lp-course-edit-curriculum .section-item .actions .edit {
785 text-decoration: none;
786 }
787 #lp-course-edit-curriculum .section-item .actions .remove {
788 color: #a00;
789 }
790 #lp-course-edit-curriculum .section-item:not(.lp_lesson) .item-actions .lp-btn-set-preview-item {
791 display: none;
792 }
793 #lp-course-edit-curriculum .section-item input {
794 width: 100%;
795 border: none;
796 font-size: 0.875rem;
797 }
798 #lp-course-edit-curriculum .section-item .lp-btn-cancel-update-item-title {
799 border: none;
800 }
801 #lp-course-edit-curriculum .lp-add-item-type .item-ico-type, #lp-course-edit-curriculum .section-item .item-ico-type {
802 padding: 0;
803 font-family: "lp-icon";
804 color: #2271B1;
805 font-size: 1rem;
806 }
807 #lp-course-edit-curriculum .lp-add-item-type.lp_lesson .item-ico-type:before, #lp-course-edit-curriculum .section-item.lp_lesson .item-ico-type:before {
808 content: "\f15b";
809 }
810 #lp-course-edit-curriculum .lp-add-item-type.lp_quiz .item-ico-type:before, #lp-course-edit-curriculum .section-item.lp_quiz .item-ico-type:before {
811 content: "\f12e";
812 }
813 #lp-course-edit-curriculum .lp-add-item-type.lp_assignment .item-ico-type:before, #lp-course-edit-curriculum .section-item.lp_assignment .item-ico-type:before {
814 content: "\e929";
815 }
816 #lp-course-edit-curriculum .lp-add-item-type.lp_h5p .item-ico-type:before, #lp-course-edit-curriculum .section-item.lp_h5p .item-ico-type:before {
817 content: "\e92a";
818 }
819 #lp-course-edit-curriculum .section-actions {
820 display: flex;
821 gap: 10px;
822 align-items: center;
823 }
824 #lp-course-edit-curriculum .section-actions button {
825 display: flex;
826 align-items: center;
827 gap: 4px;
828 }
829 #lp-course-edit-curriculum .section-actions button:before {
830 font-family: "lp-icon";
831 font-style: normal;
832 font-size: 16px;
833 line-height: 1;
834 content: "\f009";
835 }
836 #lp-course-edit-curriculum .section-actions button[data-item-type=lp_lesson]:before {
837 content: "\f15b";
838 }
839 #lp-course-edit-curriculum .section-actions button[data-item-type=lp_quiz]:before {
840 content: "\f12e";
841 }
842 #lp-course-edit-curriculum .section-actions button[data-item-type=lp_assignment]:before {
843 content: "\e929";
844 }
845 #lp-course-edit-curriculum .section-actions button[data-item-type=lp_h5p]:before {
846 content: "\e92a";
847 }
848 #lp-course-edit-curriculum .lp-section-title-input {
849 font-size: 16px;
850 }