PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.7
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.7
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 4.2.1 All 138 releases
learnpress / assets / css / edit-question.css

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

336 lines 6.9 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 }
143 .lp-question-edit-main [class*=lp-icon-] {
144 font-size: 1.25rem;
145 color: #787c82;
146 cursor: pointer;
147 }
148 .lp-question-edit-main input {
149 padding: 0;
150 margin: 0;
151 }
152 .lp-question-edit-main input[type=text] {
153 width: 100%;
154 border: none;
155 background: transparent;
156 box-shadow: none;
157 }
158 .lp-question-edit-main .lp-question-fib-buttons button {
159 display: flex !important;
160 align-items: center;
161 gap: 5px;
162 }
163 .lp-question-edit-main .lp-question-fib-buttons button.loading {
164 pointer-events: none;
165 opacity: 0.5 !important;
166 }
167 .lp-question-edit-main .lp-question-fib-buttons button.loading .lp-icon-spinner {
168 display: inline-block;
169 }
170 .lp-question-edit-main .loading {
171 pointer-events: none;
172 opacity: 0.5 !important;
173 }
174 .lp-question-edit-main .loading .lp-icon-spinner {
175 display: inline-block;
176 }
177 .lp-question-edit-main .lp-btn-edit-primary {
178 border: none;
179 background: #135e96;
180 color: #fff;
181 }
182 .lp-question-edit-main .lp-btn-edit-primary:not(.active) {
183 opacity: 0.5;
184 }
185 .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 {
186 background: #135E96;
187 color: #fff;
188 opacity: 1;
189 }
190
191 .question-edit-details .lp-section-collapse {
192 padding: 0;
193 border: 1px solid #dcdcde;
194 }
195
196 .lp-question-data-edit-header {
197 display: flex;
198 align-items: center;
199 justify-content: space-between;
200 margin-bottom: 10px;
201 font-weight: bold;
202 }
203
204 .lp-question-choice-header {
205 display: flex;
206 justify-content: space-between;
207 padding: 10px;
208 background: #dcdcde;
209 }
210
211 .lp-question-answer-item {
212 display: flex;
213 flex-direction: row;
214 align-items: center;
215 gap: 5px;
216 padding: 5px;
217 margin: 0;
218 border: 1px solid #dcdcde;
219 border-top: none;
220 }
221 .lp-question-answer-item:hover .lp-btn-delete-question-answer {
222 display: inline-block;
223 }
224 .lp-question-answer-item.loading {
225 pointer-events: none;
226 opacity: 0.5 !important;
227 }
228 .lp-question-answer-item.loading .lp-icon-spinner {
229 display: inline-block;
230 }
231 .lp-question-answer-item .lp-btn-delete-question-answer {
232 display: none;
233 cursor: pointer;
234 }
235 .lp-question-answer-item .lp-icon-drag {
236 cursor: grab;
237 line-height: 1;
238 }
239 .lp-question-answer-item .lp-icon-drag:active {
240 cursor: grabbing;
241 }
242
243 .lp-question-answer-item-add-new {
244 display: flex;
245 flex-direction: row;
246 align-items: center;
247 gap: 5px;
248 padding: 5px;
249 margin: 0;
250 border: 1px solid #dcdcde;
251 border-top: none;
252 }
253 .lp-question-answer-item-add-new .lp-icon-plus {
254 cursor: auto;
255 margin-left: 5px;
256 }
257
258 .lp-question-field-settings {
259 padding: 10px 20px;
260 display: grid;
261 gap: 5px;
262 }
263 .lp-question-field-settings input[type=text],
264 .lp-question-field-settings input[type=number] {
265 padding: 0 10px;
266 }
267
268 /***** Fill in the Blank Styles *****/
269 .lp-question-fib-blank-options {
270 display: grid;
271 gap: 5px;
272 }
273 .lp-question-fib-blank-options .lp-question-fib-option-match-case-wrap {
274 display: grid;
275 gap: 10px;
276 }
277 .lp-question-fib-blank-options .lp-question-fib-option-match-case-wrap.lp-hidden {
278 display: grid !important;
279 pointer-events: none;
280 opacity: 0.5 !important;
281 }
282
283 .lp-question-fib-blank-option-item .lp-question-fib-option-header {
284 display: flex;
285 justify-content: space-between;
286 align-items: center;
287 gap: 10px;
288 padding: 10px;
289 background: #eee;
290 }
291 .lp-question-fib-blank-option-item .lp-question-fib-option-header .lp-icon-angle-down::before,
292 .lp-question-fib-blank-option-item .lp-question-fib-option-header .lp-icon-angle-up::before {
293 content: "\f142";
294 width: 15px;
295 text-align: center;
296 height: 30px;
297 display: flex;
298 align-items: center;
299 justify-content: center;
300 }
301 .lp-question-fib-blank-option-item .lp-question-fib-option-detail {
302 padding: 10px;
303 display: flex;
304 flex-direction: column;
305 gap: 10px;
306 border: 1px solid #eeeeee;
307 border-top: none;
308 }
309 .lp-question-fib-blank-option-item .lp-question-fib-option-detail p {
310 margin: 0;
311 padding: 0;
312 }
313
314 .lp-question-fib-buttons {
315 display: flex;
316 gap: 10px;
317 margin: 10px 0;
318 top: 1px;
319 }
320 .lp-question-fib-buttons .lp-btn-fib-clear-all-content {
321 border: none;
322 }
323
324 .lp-question-type-new-wrap {
325 display: flex;
326 gap: 5px;
327 }
328 .lp-question-type-new-wrap .lp-btn-question-create-type {
329 border: none;
330 background: rgba(19, 94, 150, 0.5);
331 color: #fff;
332 }
333 .lp-question-type-new-wrap .lp-btn-question-create-type:hover, .lp-question-type-new-wrap .lp-btn-question-create-type.active {
334 background: rgb(19, 94, 150) !important;
335 color: #fff !important;
336 }