Update js/rus/rus.js
Browse files- js/rus/rus.js +108 -1
js/rus/rus.js
CHANGED
@@ -310,7 +310,114 @@ editor.Blocks.add('avp_form_v1-settings-block-block', {
|
|
310 |
category: 'Автопилот - ВК', // Добавляем категорию "Автопилот - ВК"
|
311 |
});
|
312 |
|
313 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
|
315 |
|
316 |
|
|
|
310 |
category: 'Автопилот - ВК', // Добавляем категорию "Автопилот - ВК"
|
311 |
});
|
312 |
|
313 |
+
// Создаем блок стилей плеера
|
314 |
+
editor.CssComposer.addRules(`
|
315 |
+
.containerForm {
|
316 |
+
width: 100%;
|
317 |
+
max-width: 600px;
|
318 |
+
margin: 0 auto;
|
319 |
+
padding: 20px;
|
320 |
+
background-color: #f5faff;
|
321 |
+
border-radius: 8px;
|
322 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
323 |
+
}
|
324 |
+
|
325 |
+
.header-section {
|
326 |
+
text-align: center;
|
327 |
+
margin-bottom: 20px;
|
328 |
+
}
|
329 |
+
|
330 |
+
.circle-image {
|
331 |
+
display: inline-block;
|
332 |
+
border-radius: 50%;
|
333 |
+
overflow: hidden;
|
334 |
+
width: 150px;
|
335 |
+
height: 150px;
|
336 |
+
margin-bottom: 10px;
|
337 |
+
}
|
338 |
+
|
339 |
+
.circle-image img {
|
340 |
+
width: 100%;
|
341 |
+
height: 100%;
|
342 |
+
object-fit: cover;
|
343 |
+
}
|
344 |
+
|
345 |
+
.form-group {
|
346 |
+
margin-bottom: 20px;
|
347 |
+
}
|
348 |
+
|
349 |
+
.form-group label {
|
350 |
+
display: block;
|
351 |
+
margin-bottom: 5px;
|
352 |
+
font-weight: bold;
|
353 |
+
color: #333;
|
354 |
+
}
|
355 |
+
|
356 |
+
.form-group input,
|
357 |
+
.form-group select,
|
358 |
+
.form-group textarea {
|
359 |
+
width: 100%;
|
360 |
+
padding: 10px;
|
361 |
+
border: 1px solid #ccc;
|
362 |
+
border-radius: 4px;
|
363 |
+
font-size: 16px;
|
364 |
+
}
|
365 |
+
|
366 |
+
.radio-check {
|
367 |
+
margin-bottom: 15px;
|
368 |
+
display: flex;
|
369 |
+
align-items: center;
|
370 |
+
}
|
371 |
+
|
372 |
+
.checkbox-check {
|
373 |
+
margin-bottom: 15px;
|
374 |
+
display: flex;
|
375 |
+
align-items: center;
|
376 |
+
}
|
377 |
+
|
378 |
+
.radio-check input[type="radio"],
|
379 |
+
.checkbox-check input[type="checkbox"] {
|
380 |
+
margin-right: 10px;
|
381 |
+
width: 15px; /* Применяем ширину, как в вашем примере */
|
382 |
+
}
|
383 |
+
|
384 |
+
.radio-check label,
|
385 |
+
.checkbox-check label {
|
386 |
+
font-size: 14px;
|
387 |
+
color: #555;
|
388 |
+
}
|
389 |
+
|
390 |
+
.btn-primary {
|
391 |
+
display: inline-flex;
|
392 |
+
margin: 10px;
|
393 |
+
text-decoration: none;
|
394 |
+
position: relative;
|
395 |
+
font-size: 20px;
|
396 |
+
line-height: 20px;
|
397 |
+
padding: 12px 30px;
|
398 |
+
color: #FFF;
|
399 |
+
font-weight: bold;
|
400 |
+
text-transform: uppercase;
|
401 |
+
font-family: 'Roboto', Тahoma, sans-serif;
|
402 |
+
background: #337AB7;
|
403 |
+
cursor: pointer;
|
404 |
+
border: 2px solid #BFE2FF;
|
405 |
+
outline: 1px solid;
|
406 |
+
outline-color: #337AB7;
|
407 |
+
outline-offset: 0px;
|
408 |
+
text-shadow: none;
|
409 |
+
transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
|
410 |
+
}
|
411 |
+
|
412 |
+
.btn-primary:hover,
|
413 |
+
.btn-primary:active,
|
414 |
+
.btn-primary:focus {
|
415 |
+
box-shadow: inset 0 0 20px #BFE2FF;
|
416 |
+
outline-color: rgba(255, 255, 255, 0);
|
417 |
+
outline-offset: 15px;
|
418 |
+
color: #FFF;
|
419 |
+
}
|
420 |
+
`);
|
421 |
|
422 |
|
423 |
|