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-question.css

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

361 lines 7.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Style for the edit question page in LearnPress
3 * @since 4.2.9
4 * @version 1.0.0
5 */
6 /**
7 * Style for the popup select item to add in LearnPress
8 */
9 .lp-icon-angle-down {
10 display: none;
11 cursor: pointer;
12 }
13
14 .lp-icon-angle-up {
15 display: inline-block;
16 cursor: pointer;
17 }
18
19 .lp-collapse .lp-icon-angle-up {
20 display: none;
21 }
22 .lp-collapse .lp-icon-angle-down {
23 display: inline-block;
24 }
25
26 .lp-section-collapse {
27 display: grid;
28 padding: 12px;
29 border: 1px solid #C3C4C7;
30 border-top: none;
31 }
32
33 .lp-section-toggle.lp-collapse .lp-section-collapse {
34 display: none;
35 }
36
37 .lp-trigger-toggle {
38 display: flex;
39 align-items: center;
40 }
41
42 /**
43 * Style for the popup alert, confirm
44 * @link https://sweetalert2.github.io/
45 * @since 4.2.9
46 * @version 1.0.0
47 */
48 .swal2-container {
49 z-index: 99999;
50 }
51
52 .swal2-popup {
53 max-width: 850px;
54 }
55 .swal2-popup .content-title {
56 margin: 0 0 20px 0;
57 padding: 0;
58 text-align: center;
59 font-size: 1.5em;
60 font-weight: bold;
61 }
62 .swal2-popup .swal2-actions {
63 width: 100%;
64 padding: 0 30px;
65 }
66 .swal2-popup .swal2-actions button {
67 flex: 1;
68 }
69 .swal2-popup .swal2-actions button.swal2-confirm {
70 background-color: #e02200;
71 }
72 .swal2-popup .swal2-actions button.swal2-cancel {
73 background-color: transparent;
74 border: 1px solid #ccc;
75 color: inherit;
76 }
77 .swal2-popup .swal2-warning {
78 color: #e02200;
79 border-color: transparent;
80 background-color: rgba(223, 0, 0, 0.1019607843);
81 }
82 .swal2-popup .swal2-icon {
83 width: 50px;
84 height: 50px;
85 }
86 .swal2-popup .swal2-icon .swal2-icon-content {
87 font-size: 0;
88 }
89 .swal2-popup .swal2-icon .swal2-icon-content::before {
90 content: "\f071";
91 font-family: "lp-icon";
92 font-size: 24px;
93 display: inline-block;
94 }
95 .swal2-popup .swal2-title {
96 font-size: 1.5em;
97 }
98 .swal2-popup .swal2-html-container {
99 font-size: 1em;
100 }
101 .swal2-popup .lp-tom-select.ts-wrapper .ts-dropdown {
102 max-height: 200px;
103 overflow: hidden;
104 }
105 .swal2-popup .swal2-close {
106 background-color: unset !important;
107 outline: none !important;
108 color: rgb(204, 204, 204) !important;
109 font-size: 30px;
110 box-shadow: none !important;
111 position: absolute;
112 }
113 .swal2-popup .swal2-close:hover {
114 color: #f27474 !important;
115 }
116
117 .lp-icon-spinner {
118 animation: rotation 2s infinite linear;
119 font-size: 1.25rem;
120 color: #2271b1 !important;
121 display: none;
122 }
123
124 .lp-icon-drag {
125 cursor: grab;
126 line-height: 1;
127 }
128 .lp-icon-drag:active {
129 cursor: grabbing;
130 }
131
132 /***** Main Question Edit Styles using styles from Quiz Builder *****/
133 .lp-question-edit-main {
134 display: grid;
135 gap: 20px;
136 overflow: hidden;
137 padding: 20px;
138 grid-template-columns: 1fr 1fr;
139 /**
140 * Style for the buttons
141 */
142 /* 5. Minimal Bottom Line */
143 }
144 .lp-question-edit-main [class*=lp-icon-] {
145 font-size: 1.25rem;
146 color: #787c82;
147 cursor: pointer;
148 }
149 .lp-question-edit-main input {
150 padding: 0;
151 margin: 0;
152 }
153 .lp-question-edit-main input[type=text] {
154 width: 100%;
155 border: none;
156 background: transparent;
157 box-shadow: none;
158 }
159 .lp-question-edit-main .lp-question-fib-buttons button {
160 display: flex !important;
161 align-items: center;
162 gap: 5px;
163 }
164 .lp-question-edit-main .lp-question-fib-buttons button.loading {
165 pointer-events: none;
166 opacity: 0.5 !important;
167 }
168 .lp-question-edit-main .lp-question-fib-buttons button.loading .lp-icon-spinner {
169 display: inline-block;
170 }
171 .lp-question-edit-main .loading {
172 pointer-events: none;
173 opacity: 0.5 !important;
174 }
175 .lp-question-edit-main .loading .lp-icon-spinner {
176 display: inline-block;
177 }
178 .lp-question-edit-main .lp-btn-edit-primary {
179 border: none;
180 background: #135e96;
181 color: #fff;
182 }
183 .lp-question-edit-main .lp-btn-edit-primary:not(.active) {
184 opacity: 0.5;
185 }
186 .lp-question-edit-main .lp-btn-edit-primary:hover, .lp-question-edit-main .lp-btn-edit-primary.active, .lp-question-edit-main .lp-btn-edit-primary.active:hover {
187 background: #135E96;
188 color: #fff;
189 opacity: 1;
190 }
191 .lp-question-edit-main .btn-line::after {
192 content: "";
193 position: absolute;
194 bottom: 0;
195 left: 0;
196 height: 4px;
197 width: 0%;
198 background-color: #38bdf8;
199 animation: lineLoad 2s ease-in-out infinite;
200 }
201 @keyframes lineLoad {
202 0% {
203 width: 0%;
204 left: 0;
205 }
206 50% {
207 width: 100%;
208 left: 0;
209 }
210 100% {
211 width: 0%;
212 left: 100%;
213 }
214 }
215
216 .question-edit-details .lp-section-collapse {
217 padding: 0;
218 border: 1px solid #dcdcde;
219 }
220
221 .lp-question-data-edit-header {
222 display: flex;
223 align-items: center;
224 justify-content: space-between;
225 margin-bottom: 10px;
226 font-weight: bold;
227 }
228
229 .lp-question-choice-header {
230 display: flex;
231 justify-content: space-between;
232 padding: 10px;
233 background: #dcdcde;
234 }
235
236 .lp-question-answer-item {
237 display: flex;
238 flex-direction: row;
239 align-items: center;
240 gap: 5px;
241 padding: 5px;
242 margin: 0;
243 border: 1px solid #dcdcde;
244 border-top: none;
245 }
246 .lp-question-answer-item:hover .lp-btn-delete-question-answer {
247 display: inline-block;
248 }
249 .lp-question-answer-item.loading {
250 pointer-events: none;
251 opacity: 0.5 !important;
252 }
253 .lp-question-answer-item.loading .lp-icon-spinner {
254 display: inline-block;
255 }
256 .lp-question-answer-item .lp-btn-delete-question-answer {
257 display: none;
258 cursor: pointer;
259 }
260 .lp-question-answer-item .lp-icon-drag {
261 cursor: grab;
262 line-height: 1;
263 }
264 .lp-question-answer-item .lp-icon-drag:active {
265 cursor: grabbing;
266 }
267
268 .lp-question-answer-item-add-new {
269 display: flex;
270 flex-direction: row;
271 align-items: center;
272 gap: 5px;
273 padding: 5px;
274 margin: 0;
275 border: 1px solid #dcdcde;
276 border-top: none;
277 }
278 .lp-question-answer-item-add-new .lp-icon-plus {
279 cursor: auto;
280 margin-left: 5px;
281 }
282
283 .lp-question-field-settings {
284 padding: 10px 20px;
285 display: grid;
286 gap: 5px;
287 }
288 .lp-question-field-settings input[type=text],
289 .lp-question-field-settings input[type=number] {
290 padding: 0 10px;
291 }
292
293 /***** Fill in the Blank Styles *****/
294 .lp-question-fib-blank-options {
295 display: grid;
296 gap: 5px;
297 }
298 .lp-question-fib-blank-options .lp-question-fib-option-match-case-wrap {
299 display: grid;
300 gap: 10px;
301 }
302 .lp-question-fib-blank-options .lp-question-fib-option-match-case-wrap.lp-hidden {
303 display: grid !important;
304 pointer-events: none;
305 opacity: 0.5 !important;
306 }
307
308 .lp-question-fib-blank-option-item .lp-question-fib-option-header {
309 display: flex;
310 justify-content: space-between;
311 align-items: center;
312 gap: 10px;
313 padding: 10px;
314 background: #eee;
315 }
316 .lp-question-fib-blank-option-item .lp-question-fib-option-header .lp-icon-angle-down::before,
317 .lp-question-fib-blank-option-item .lp-question-fib-option-header .lp-icon-angle-up::before {
318 content: "\f142";
319 width: 15px;
320 text-align: center;
321 height: 30px;
322 display: flex;
323 align-items: center;
324 justify-content: center;
325 }
326 .lp-question-fib-blank-option-item .lp-question-fib-option-detail {
327 padding: 10px;
328 display: flex;
329 flex-direction: column;
330 gap: 10px;
331 border: 1px solid #eeeeee;
332 border-top: none;
333 }
334 .lp-question-fib-blank-option-item .lp-question-fib-option-detail p {
335 margin: 0;
336 padding: 0;
337 }
338
339 .lp-question-fib-buttons {
340 display: flex;
341 gap: 10px;
342 margin: 10px 0;
343 top: 1px;
344 }
345 .lp-question-fib-buttons .lp-btn-fib-clear-all-content {
346 border: none;
347 }
348
349 .lp-question-type-new-wrap {
350 display: flex;
351 gap: 5px;
352 }
353 .lp-question-type-new-wrap .lp-btn-question-create-type {
354 border: none;
355 background: rgba(19, 94, 150, 0.5);
356 color: #fff;
357 }
358 .lp-question-type-new-wrap .lp-btn-question-create-type:hover, .lp-question-type-new-wrap .lp-btn-question-create-type.active {
359 background: rgb(19, 94, 150) !important;
360 color: #fff !important;
361 }