PluginProbe
WP Coder – Insert & Manage Code Snippets / 4.0.3
WP Coder – Insert & Manage Code Snippets v4.0.3
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
wp-coder / assets / css / admin.css

admin.css in WP Coder – Insert & Manage Code Snippets 4.0.3, at assets/css/admin.css

1,199 lines 26.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @charset "UTF-8";
2 :root {
3 --wowp-border: #E4E4E7;
4 --wowp-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
5 --wowp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
6 --wowp-gray-500: #6a7282;
7 --wowp-gray-400: #99a1af;
8 --wowp-gray-100: #f3f4f6;
9 --wowp-gray-200: #e5e7eb;
10 --wowp-gray-900: #101828;
11 --wowp-gray-700: #364153;
12 --wowp-color-blue: #2b7fff;
13 --wowp-color-yellow: #f0b100;
14 --wowp-color-red: #fb2c36;
15 --wowp-color-green: #00c950;
16 }
17
18 .wowp {
19 width: calc(100% - 20px);
20 }
21 .wowp .wowp-header {
22 display: grid;
23 grid-template-areas: "logo title" "logo links";
24 grid-template-columns: auto 1fr;
25 align-items: center;
26 column-gap: 1rem;
27 margin-block: 1rem;
28 row-gap: 0.5rem;
29 }
30 .wowp .wowp-header__logo {
31 grid-area: logo;
32 }
33 .wowp .wowp-header__title {
34 all: unset;
35 grid-area: title;
36 font-size: 1.75rem;
37 font-weight: 700;
38 line-height: 1.3;
39 color: var(--wowp-gray-900);
40 }
41 .wowp .wowp-header__title-version {
42 font-size: 0.75rem;
43 font-weight: normal;
44 color: var(--wowp-color-blue);
45 margin-left: 0.5rem;
46 }
47 .wowp .wowp-header__links {
48 grid-area: links;
49 display: flex;
50 flex-wrap: wrap;
51 gap: 0.5rem;
52 }
53 .wowp .wowp-page-header {
54 display: flex;
55 align-items: center;
56 background: #ffffff;
57 margin-inline: -20px;
58 padding-inline: 20px;
59 padding-block: 0.75rem;
60 border-top: 1px solid var(--wowp-border);
61 border-bottom: 1px solid var(--wowp-border);
62 gap: 1rem;
63 }
64 .wowp .wowp-page-header__title {
65 font-size: 1.25rem;
66 line-height: 1.75rem;
67 font-weight: 700;
68 margin: 0;
69 }
70 .wowp .wowp-settings {
71 background-color: white;
72 margin-inline-end: 20px;
73 margin-block: 1.5rem;
74 border: 1px solid var(--wowp-gray-100);
75 border-radius: 0.5rem;
76 box-shadow: var(--wowp-shadow);
77 padding: 1rem;
78 }
79 @media (width >= 48rem) {
80 .wowp .wowp-settins__tabs > .popover-container {
81 margin-inline-start: auto;
82 }
83 }
84 .wowp .wowp-page-box {
85 max-width: 1400px;
86 margin-inline: auto;
87 }
88 .wowp .wowp-settings__header {
89 margin-block: 1.5rem;
90 margin-inline-end: 20px;
91 padding: 1rem;
92 background-color: #ffffff;
93 border: 1px solid var(--wowp-gray-100);
94 border-radius: 0.5rem;
95 box-shadow: var(--wowp-shadow);
96 }
97 .wowp .wowp-settings__title {
98 display: flex;
99 align-items: center;
100 flex-wrap: wrap;
101 position: relative;
102 }
103 .wowp .wowp-settings__title #title {
104 flex: 1;
105 padding-inline-end: 80px;
106 }
107 .wowp .wowp-settings__title input {
108 height: 40px;
109 font-size: 16px;
110 line-height: 1;
111 }
112 .wowp .wowp-settings__title #plugin-activate,
113 .wowp .wowp-settings__title #submit_settings {
114 position: absolute;
115 min-height: 32px;
116 height: 32px;
117 right: 8px;
118 margin: 0;
119 }
120 .wowp .wowp-settings__publish {
121 margin-inline: -1rem;
122 padding-inline: 1rem;
123 margin-block: 1rem;
124 padding-block: 1rem;
125 border-block: 1px solid var(--wowp-gray-100);
126 display: flex;
127 flex-direction: column;
128 flex-wrap: wrap;
129 gap: 0.5rem;
130 }
131 .wowp .wowp-settings__publish .wowp-settings__publish-hide,
132 .wowp .wowp-settings__publish .wowp-settings__publish-info,
133 .wowp .wowp-settings__publish .wowp-settings__publish-status {
134 display: flex;
135 gap: 0.5rem;
136 }
137 .wowp .wowp-settings__publish .wowp-settings__publish-hide {
138 order: 3;
139 width: 100%;
140 }
141 .wowp .wowp-settings__publish .wowp-settings__publish-info {
142 flex-direction: column;
143 }
144 @media (width >= 48rem) {
145 .wowp .wowp-settings__publish .wowp-settings__publish-info {
146 flex-direction: row;
147 }
148 }
149 @media (width >= 80rem) {
150 .wowp .wowp-settings__publish {
151 flex-direction: row;
152 justify-content: space-between;
153 }
154 .wowp .wowp-settings__publish .wowp-settings__publish-status {
155 order: 2;
156 }
157 }
158 .wowp .wowp-settins__tabs {
159 display: flex;
160 flex-wrap: wrap;
161 flex-direction: column;
162 gap: 0.5rem;
163 }
164 @media (width >= 48rem) {
165 .wowp .wowp-settins__tabs {
166 gap: unset;
167 flex-direction: row;
168 align-items: center;
169 }
170 }
171 .wowp .wowp-settins__tabs-radio {
172 display: none;
173 }
174 .wowp .wowp-settins__tabs-radio:checked + .wowp-settins__tabs-tab {
175 color: var(--wowp-gray-700);
176 position: relative;
177 }
178 .wowp .wowp-settins__tabs-radio:checked + .wowp-settins__tabs-tab:before {
179 position: absolute;
180 content: "";
181 display: block;
182 width: 100%;
183 height: 3px;
184 background-color: var(--wowp-gray-900);
185 bottom: -9px;
186 left: 0;
187 }
188 .wowp .wowp-settins__tabs-tab {
189 padding: 0.5rem 1rem;
190 color: var(--wowp-gray-400);
191 cursor: pointer;
192 border-radius: 0.25rem;
193 font-size: 14px;
194 }
195 .wowp .wowp-settins__tabs-tab:hover {
196 color: var(--wowp-gray-700);
197 background-color: var(--wowp-gray-100);
198 }
199 .wowp .wowp-settins__tabs-content {
200 position: absolute;
201 top: -99999px;
202 left: -99999px;
203 width: 100%;
204 border-top: 1px solid var(--wowp-gray-100);
205 margin-block-start: 0.5rem;
206 margin-inline: -1rem;
207 padding-inline: 1rem;
208 }
209 .wowp #wowp-tab-html-code:checked ~ [data-content=wowp-tab-html-code],
210 .wowp #wowp-tab-css-code:checked ~ [data-content=wowp-tab-css-code],
211 .wowp #wowp-tab-js-code:checked ~ [data-content=wowp-tab-js-code],
212 .wowp #wowp-tab-php-code:checked ~ [data-content=wowp-tab-php-code],
213 .wowp #wowp-tab-include:checked ~ [data-content=wowp-tab-include],
214 .wowp #wowp-tab-settings:checked ~ [data-content=wowp-tab-settings],
215 .wowp #wowp-tab-attributes:checked ~ [data-content=wowp-tab-attributes],
216 .wowp #wowp-tab-pro:checked ~ [data-content=wowp-tab-pro] {
217 position: static;
218 }
219 .wowp .wowp-settings__page {
220 display: flex;
221 flex-direction: column;
222 flex-wrap: wrap;
223 padding-block: 1.5rem 0;
224 gap: 1.5rem;
225 }
226 @media (width >= 48rem) {
227 .wowp .wowp-settings__page {
228 flex-direction: row;
229 }
230 }
231 .wowp .wowp-settings__page-content {
232 order: 1;
233 flex: 1;
234 }
235 .wowp .wowp-settings__page-sidebar {
236 position: relative;
237 display: flex;
238 flex-direction: column;
239 gap: 1rem;
240 order: -1;
241 }
242 @media (width >= 48rem) {
243 .wowp .wowp-settings__page-sidebar {
244 order: 2;
245 width: 200px;
246 }
247 }
248 .wowp .wowp-settings__page-sidebar .wowp-fields__group {
249 flex-direction: column;
250 gap: 1rem;
251 align-items: initial;
252 }
253 .wowp .wowp-settings__page-sidebar-title {
254 color: var(--wowp-gray-500);
255 font-weight: 500;
256 }
257 .wowp .wowp-settings__page-footer {
258 border-top: 1px solid var(--wowp-gray-100);
259 padding-block-start: 1rem;
260 margin-inline: -1rem;
261 padding-inline: 1rem;
262 order: 3;
263 width: 100%;
264 display: flex;
265 flex-direction: column;
266 gap: 1rem;
267 }
268 @media (width >= 64rem) {
269 .wowp .wowp-settings__page-footer {
270 flex-direction: row;
271 align-items: center;
272 justify-content: space-between;
273 }
274 }
275 .wowp .CodeMirror {
276 min-height: 700px;
277 font-size: 0.875rem;
278 line-height: 1.25rem;
279 box-shadow: var(--wowp-shadow-sm);
280 border: 1px solid var(--wowp-gray-100);
281 border-radius: 0.5rem;
282 }
283 .wowp .wowp-php-nav-menu {
284 position: sticky;
285 top: 0;
286 margin: 0;
287 padding-left: 1rem;
288 }
289 .wowp .wowp-php-nav-menu li {
290 position: relative;
291 }
292 .wowp .wowp-php-nav-menu li:first-child {
293 padding-top: 0.5rem;
294 }
295 .wowp .wowp-php-nav-menu li:first-child:before {
296 content: "";
297 position: absolute;
298 width: calc(100% + 1rem);
299 height: 1px;
300 top: 0;
301 left: -1rem;
302 background-color: var(--wowp-gray-100);
303 }
304 .wowp .wowp-php-nav-menu li:last-child {
305 padding-bottom: 0.5rem;
306 }
307 .wowp .wowp-php-nav-menu li:last-child:after {
308 content: "";
309 position: absolute;
310 width: calc(100% + 1rem);
311 height: 1px;
312 bottom: 0;
313 left: -1rem;
314 background-color: var(--wowp-gray-100);
315 }
316 .wowp .wowp-php-nav-menu a {
317 color: var(--wowp-gray-700);
318 }
319 .wowp .wowp-preview {
320 margin-block: 1.5rem;
321 margin-inline-end: 20px;
322 background-color: #ffffff;
323 border: 1px solid var(--wowp-gray-100);
324 border-radius: 0.5rem;
325 box-shadow: var(--wowp-shadow);
326 }
327 .wowp .wowp-preview__title {
328 margin: 0;
329 padding: 1rem 1rem 0 1rem;
330 color: var(--wowp-gray-900);
331 }
332 .wowp .wowp-preview__subtitle {
333 margin: 0;
334 color: var(--wowp-gray-500);
335 padding-inline: 1rem;
336 }
337 .wowp .wowp-preview__iframe {
338 resize: both;
339 overflow: auto;
340 min-height: 450px;
341 max-width: calc(100% - 1.5rem);
342 margin: 0.5rem 0.5rem 1rem 0.5rem;
343 scrollbar-gutter: stable;
344 scrollbar-width: none;
345 border: 3px solid #f1f1f1;
346 border-top-left-radius: 4px;
347 border-top-right-radius: 4px;
348 }
349 .wowp .wowp-preview__iframe.is-toggled {
350 min-height: auto;
351 resize: none;
352 }
353 .wowp .wowp-preview__iframe #wowp-preview {
354 width: 100%;
355 height: calc(100% - 50px);
356 min-height: 400px;
357 box-sizing: border-box;
358 }
359 .wowp .wowp-preview__top {
360 padding: 10px;
361 background: #f1f1f1;
362 border-top-left-radius: 4px;
363 border-top-right-radius: 4px;
364 display: flex;
365 gap: 0.5rem;
366 }
367 .wowp .wowp-preview__top .wowp-preview__size {
368 margin-left: auto;
369 font-size: 11px;
370 }
371 .wowp .wowp-preview__dot {
372 height: 16px;
373 width: 16px;
374 background-color: #bbb;
375 border-radius: 50%;
376 display: flex;
377 align-items: center;
378 justify-content: center;
379 cursor: pointer;
380 transition: background-color 0.2s ease-in-out;
381 }
382 .wowp .wowp-preview__dot .dashicons {
383 font-size: 10px;
384 display: flex;
385 align-items: center;
386 justify-content: center;
387 }
388 .wowp .wowp-preview__dot .dashicons.is-hidden {
389 display: none;
390 }
391 .wowp .wowp-preview__dot.is-close:hover {
392 background-color: #ff5f57;
393 }
394 .wowp .wowp-preview__dot.is-toggle:hover, .wowp .wowp-preview__dot.is-toggle.is-active {
395 background-color: #ffbd2e;
396 }
397 .wowp .wowp-preview__dot.is-reset:hover {
398 background-color: #28c840;
399 }
400 .wowp .wowp-field {
401 position: relative;
402 box-sizing: border-box;
403 display: flex;
404 }
405 .wowp .wowp-field.has-addon {
406 align-items: center;
407 }
408 .wowp .wowp-field.has-addon label {
409 background-color: transparent;
410 }
411 .wowp .wowp-field.is-column {
412 flex-direction: column;
413 gap: 0.5rem;
414 }
415 .wowp .wowp-field input[type=text],
416 .wowp .wowp-field input[type=url],
417 .wowp .wowp-field input[type=time],
418 .wowp .wowp-field input[type=number],
419 .wowp .wowp-field input[type=datetime],
420 .wowp .wowp-field input[type=date],
421 .wowp .wowp-field select {
422 height: 40px;
423 line-height: 40px;
424 width: 100%;
425 max-width: 100%;
426 min-width: 200px;
427 padding-inline-start: 12px;
428 }
429 .wowp .wowp-field .label {
430 position: absolute;
431 top: 0;
432 left: 8px;
433 transform: translateY(-50%);
434 font-size: 12px;
435 font-weight: 700;
436 padding-inline: 4px 5px;
437 color: var(--wowp-gray-900);
438 z-index: 9;
439 background-color: #ffffff;
440 }
441 .wowp .wowp-field label {
442 width: 100%;
443 }
444 .wowp .wowp-field.has-checkbox {
445 align-items: center;
446 gap: 0.5rem;
447 border: 1px solid var(--wowp-gray-100);
448 border-radius: 0.25rem;
449 padding: 0.5rem;
450 }
451 .wowp .wowp-field.has-checkbox.is-reverse {
452 flex-direction: row-reverse;
453 justify-content: left;
454 }
455 .wowp .wowp-field.has-checkbox .label {
456 left: 0;
457 padding-inline: 0;
458 position: static;
459 transform: unset;
460 }
461 .wowp .wowp-field.has-checkbox .switch {
462 position: relative;
463 top: 0;
464 left: auto;
465 display: inline-block;
466 width: 36px;
467 height: 20px;
468 transform: unset;
469 }
470 .wowp .wowp-field.has-checkbox .switch input {
471 opacity: 0;
472 width: 0;
473 height: 0;
474 }
475 .wowp .wowp-field.has-checkbox .slider {
476 position: absolute;
477 cursor: pointer;
478 top: 0;
479 left: 0;
480 right: 0;
481 bottom: 0;
482 background-color: var(--wowp-gray-400);
483 -webkit-transition: 0.4s;
484 transition: 0.4s;
485 border-radius: 34px;
486 }
487 .wowp .wowp-field.has-checkbox .slider:before {
488 position: absolute;
489 content: "";
490 height: 16px;
491 width: 16px;
492 left: 2px;
493 bottom: 2px;
494 background-color: white;
495 -webkit-transition: 0.4s;
496 transition: 0.4s;
497 border-radius: 50%;
498 }
499 .wowp .wowp-field.has-checkbox input:checked ~ .slider {
500 background-color: var(--wowp-gray-700);
501 }
502 .wowp .wowp-field.has-checkbox input:focus ~ .slider {
503 box-shadow: var(--wowp-shadow-sm);
504 }
505 .wowp .wowp-field.has-checkbox input:checked ~ .slider:before {
506 transform: translateX(16px);
507 }
508 .wowp .wowp-field.has-addon {
509 position: relative;
510 }
511 .wowp .wowp-field.has-addon label {
512 top: 50%;
513 left: 5px;
514 padding: 0;
515 height: 32px;
516 background-color: var(--wowp-gray-200);
517 display: flex;
518 align-items: center;
519 justify-content: center;
520 width: 32px;
521 border-radius: 4px;
522 transform: translateY(-50%);
523 z-index: 2;
524 }
525 .wowp .wowp-field.has-addon input[type=text],
526 .wowp .wowp-field.has-addon input[type=url] {
527 padding-inline-start: 42px;
528 }
529 .wowp .wowp-settings__publish-template {
530 display: flex;
531 gap: 0.5rem;
532 }
533 .wowp .wowp-settings__publish-template select {
534 width: auto;
535 min-width: 200px;
536 }
537 .wowp .wowp-field__title {
538 color: var(--wowp-gray-900);
539 font-size: 1rem;
540 font-weight: 600;
541 }
542 .wowp .wowp-fieldset {
543 border: 1px solid var(--wowp-gray-100);
544 padding: 1rem;
545 border-radius: 0.5rem;
546 box-shadow: var(--wowp-shadow-sm);
547 margin-block: 1.5rem;
548 }
549 .wowp .wowp-fieldset__header {
550 margin-inline: -1rem;
551 padding-inline: 1rem;
552 display: flex;
553 flex-direction: column;
554 gap: 1rem;
555 }
556 @media (width >= 48rem) {
557 .wowp .wowp-fieldset__header {
558 flex-direction: row;
559 justify-content: space-between;
560 align-items: center;
561 }
562 }
563 .wowp .wowp-fieldset__header + .wowp-fields__group {
564 margin-top: 1rem;
565 margin-inline: -1rem;
566 padding-inline: 1rem;
567 border-top: 1px solid var(--wowp-gray-100);
568 }
569 .wowp .wowp-fieldset__header-title {
570 font-size: 1.125rem;
571 line-height: 1.75;
572 font-weight: 500;
573 color: var(--wowp-gray-700);
574 }
575 .wowp .wowp-fieldset__header-title p {
576 font-size: 0.875rem;
577 line-height: 1.25rem;
578 color: var(--wowp-gray-400);
579 margin: 0;
580 font-weight: 400;
581 }
582 .wowp .wowp-fields__group {
583 padding-top: 1rem;
584 display: flex;
585 gap: 1rem;
586 align-items: center;
587 flex-wrap: wrap;
588 }
589 .wowp .wowp-fields__group.column-3 > *:not(.is-full) {
590 flex: 1 1 calc(33.333% - 1rem);
591 min-width: 200px;
592 }
593 .wowp #wp-support-message-wrap {
594 width: 100%;
595 }
596 .wowp .wowp-button__icon {
597 --_color: var(--wowp-gray-700);
598 display: flex;
599 justify-content: center;
600 align-items: center;
601 width: 40px;
602 height: 40px;
603 cursor: pointer;
604 appearance: button;
605 background-color: color-mix(in srgb, var(--_color) 7%, white);
606 border-color: var(--_color);
607 border-width: 1px;
608 border-style: solid;
609 border-radius: 0.25rem;
610 color: var(--_color);
611 }
612 .wowp .wowp-button__icon:hover {
613 background-color: color-mix(in srgb, var(--_color) 15%, white);
614 }
615 .wowp .wowp-button__icon.is-remove {
616 --_color: var(--wowp-color-red);
617 }
618 .wowp .wowp-button {
619 display: inline-flex;
620 align-items: center;
621 gap: 0.5rem;
622 }
623 .wowp .wowp-button.button-secondary {
624 border-color: transparent;
625 color: var(--wowp-gray-900);
626 font-weight: 500;
627 }
628 .wowp .wowp-button.button-primary {
629 font-weight: 500;
630 }
631 .wowp .wowp-button.button-dark {
632 font-weight: 500;
633 border-color: transparent;
634 background-color: var(--wowp-gray-900);
635 color: #ffffff;
636 }
637 .wowp .wowp-button.button-dark:hover {
638 background-color: var(--wowp-gray-700);
639 }
640 .wowp .wowp-tooltip {
641 position: relative;
642 font-weight: 400;
643 cursor: help;
644 }
645 .wowp .wowp-tooltip.is-pointer {
646 cursor: pointer;
647 }
648 .wowp .wowp-tooltip::before, .wowp .wowp-tooltip::after {
649 color: #efefef;
650 font-size: 12px;
651 opacity: 0;
652 pointer-events: none;
653 text-align: center;
654 }
655 .wowp .wowp-tooltip::before {
656 position: absolute;
657 top: 0;
658 left: 50%;
659 background-color: rgba(0, 0, 0, 0.85);
660 border-radius: 2px;
661 color: #ffffff;
662 content: attr(data-tooltip);
663 padding: 10px;
664 text-transform: none;
665 transition: all 0.5s ease;
666 max-width: 200px;
667 width: max-content;
668 transform: translateY(calc(-100% - 7px)) translateX(-50%);
669 word-wrap: break-word;
670 white-space: break-spaces;
671 line-height: 1.5;
672 text-align: left;
673 }
674 .wowp .wowp-tooltip::after {
675 position: absolute;
676 top: -7px;
677 left: 50%;
678 border-left: 5px solid transparent;
679 border-right: 5px solid transparent;
680 border-top: 5px solid var(--wowp-gray-900);
681 content: " ";
682 font-size: 0;
683 line-height: 0;
684 margin-left: -5px;
685 width: 0;
686 transform: translateX(-50%);
687 }
688 .wowp .wowp-tooltip:focus-visible::before, .wowp .wowp-tooltip:focus-visible::after, .wowp .wowp-tooltip:focus::before, .wowp .wowp-tooltip:focus::after, .wowp .wowp-tooltip:hover::before, .wowp .wowp-tooltip:hover::after {
689 opacity: 1;
690 transition: all 0.75s ease;
691 }
692 .wowp .wowp-tooltip.on-right::before {
693 top: 50%;
694 left: 100%;
695 transform: translateY(-50%) translateX(4px);
696 }
697 .wowp .wowp-tooltip.on-right::after {
698 top: 50%;
699 left: calc(100% + 2px);
700 rotate: 90deg;
701 transform: translateX(calc(-50% + 2.5px));
702 }
703 .wowp .wowp-tooltip.on-left::before {
704 top: 50%;
705 left: -2px;
706 transform: translateY(-50%) translateX(-100%);
707 }
708 .wowp .wowp-tooltip.on-left::after {
709 top: 50%;
710 left: 0;
711 rotate: -90deg;
712 transform: translateX(calc(-50% + 7px));
713 }
714 .wowp .wowp-tooltip.on-bottom::before {
715 top: unset;
716 bottom: 0;
717 transform: translateY(calc(100% + 7px)) translateX(-50%);
718 }
719 .wowp .wowp-tooltip.on-bottom::after {
720 top: unset;
721 bottom: -7px;
722 rotate: 180deg;
723 }
724 .wowp .is-hidden {
725 display: none;
726 }
727 .wowp .wowp-color-blue {
728 color: var(--wowp-color-blue);
729 }
730 .wowp .wowp-color-yellow {
731 color: var(--wowp-color-yellow);
732 }
733 .wowp .wowp-color-red {
734 color: var(--wowp-color-red);
735 }
736 .wowp .wowp-color-green {
737 color: var(--wowp-color-green);
738 }
739 .wowp .is-italic {
740 font-style: italic;
741 }
742 .wowp .is-full {
743 width: 100%;
744 }
745 .wowp .m-w-48 {
746 max-width: 48rem;
747 margin-inline: auto;
748 }
749 .wowp .m-top {
750 margin-top: 1.5rem;
751 }
752 .wowp .wowp-command {
753 max-width: 450px;
754 width: 100%;
755 max-height: 380px;
756 height: 100%;
757 border: none;
758 border-radius: 0.5rem;
759 box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
760 border-color: var(--wowp-gray-100);
761 padding: 0;
762 }
763 .wowp .wowp-command .wowp-field {
764 position: sticky;
765 top: 0;
766 background: #fff;
767 z-index: 10;
768 padding: 8px;
769 border-bottom: 1px solid #ddd;
770 }
771 .wowp .wowp-quickcodes-search {
772 width: 100%;
773 border: none;
774 border-radius: 0;
775 }
776 .wowp .wowp-quickcodes-search:focus {
777 outline: none;
778 box-shadow: none;
779 border-color: var(--wowp-gray-100);
780 }
781 .wowp .wowp-qc-list {
782 margin: 0;
783 padding: 4px;
784 max-height: 300px;
785 /* або інше значення */
786 overflow-y: auto;
787 scrollbar-width: thin;
788 /* Firefox */
789 scrollbar-color: #ccc transparent;
790 /* Firefox */
791 }
792 .wowp .wowp-qc-list li {
793 padding: 0.375rem 0.75rem;
794 margin: 0;
795 color: var(--wowp-gray-900);
796 font-weight: 500;
797 display: flex;
798 flex-direction: column;
799 }
800 .wowp .wowp-qc-list li .description {
801 font-weight: normal;
802 color: var(--wowp-gray-700);
803 }
804 .wowp .wowp-qc-list li .description code {
805 font-size: 0.75rem;
806 }
807 .wowp .wowp-qc-list li.is-active {
808 background-color: #f0f0f0;
809 outline: 1px solid #007cba;
810 }
811 .wowp .wowp-qc-list .qc-title {
812 color: var(--wowp-gray-400);
813 font-weight: 500;
814 font-size: 0.75rem;
815 line-height: 1rem;
816 }
817 .wowp .wowp-qc-list .quickcode {
818 cursor: pointer;
819 border-radius: 0.25rem;
820 }
821 .wowp .wowp-qc-list .quickcode:hover {
822 background-color: var(--wowp-gray-100);
823 }
824 .wowp .wowp-qc-list::-webkit-scrollbar {
825 width: 6px;
826 }
827 .wowp .wowp-qc-list::-webkit-scrollbar-thumb {
828 background-color: #ccc;
829 border-radius: 4px;
830 }
831 .wowp .wowp-qc-list::-webkit-scrollbar-track {
832 background: transparent;
833 }
834 .wowp .wowp-tools {
835 max-width: 64rem;
836 width: 100%;
837 }
838 .wowp .wowp-tools .wowp-button {
839 margin-top: 1rem;
840 }
841 .wowp .wowp-snippets {
842 max-width: 64rem;
843 width: 100%;
844 }
845 .wowp .wowp-snippets__header {
846 padding-bottom: 0.75rem;
847 border-bottom: 1px solid var(--wowp-gray-100);
848 }
849 .wowp .wowp-snippets__header-title {
850 margin: 0;
851 }
852 .wowp .wowp-snippets__header-description {
853 font-size: 0.875rem;
854 line-height: 1.25rem;
855 color: var(--wowp-gray-400);
856 margin: 0;
857 }
858 .wowp .wowp-snippet__list {
859 display: flex;
860 flex-direction: column;
861 gap: 0.75rem;
862 margin-top: 0.75rem;
863 }
864 .wowp .wowp-snippet__item {
865 position: relative;
866 display: flex;
867 justify-content: space-between;
868 gap: 1rem;
869 border: 1px solid var(--wowp-gray-100);
870 border-radius: 0.5rem;
871 padding: 1rem;
872 flex-wrap: wrap;
873 overflow: hidden;
874 }
875 .wowp .wowp-snippet__item > .wowp-field.has-checkbox {
876 border: none;
877 }
878 .wowp .wowp-snippet__item:has(> .wowp-field.has-checkbox input[type=checkbox]:checked):before {
879 content: "";
880 position: absolute;
881 top: 0;
882 left: 0;
883 height: 100%;
884 width: 4px;
885 background-color: var(--wowp-color-blue);
886 }
887 .wowp .wowp-snippet__item-header {
888 flex: 1;
889 }
890 .wowp .wowp-snippet__item-header label {
891 font-weight: 600;
892 font-size: 1rem;
893 line-height: 1.5rem;
894 color: var(--wowp-gray-900);
895 }
896 .wowp .wowp-snippet__item-description {
897 font-size: 0.8rem;
898 margin-top: 0.25rem;
899 margin-bottom: 0;
900 color: var(--wowp-gray-500);
901 }
902 .wowp .wowp-snippet__item-expand {
903 width: 100%;
904 border-top: 1px solid var(--wowp-gray-100);
905 padding-top: 1rem;
906 }
907 .wowp .wowp-snippet__expand-title {
908 font-weight: 500;
909 font-size: 0.875rem;
910 margin: 0;
911 }
912 .wowp .wowp-snippets__tabs {
913 display: flex;
914 gap: 2.5rem;
915 margin-top: 0.75rem;
916 }
917 .wowp .wowp-snippets__tabs-radio {
918 display: none;
919 }
920 .wowp .wowp-snippets__tabs-labels {
921 display: flex;
922 flex-direction: column;
923 gap: 0.5rem;
924 width: 15rem;
925 }
926 .wowp .wowp-snippets__tabs-tab {
927 font-weight: 500;
928 font-size: 0.875rem;
929 line-height: 1.25rem;
930 padding: 0.5rem 1rem;
931 cursor: pointer;
932 border-radius: 0.25rem;
933 color: var(--wowp-gray-900);
934 display: flex;
935 align-items: center;
936 gap: 0.75rem;
937 }
938 .wowp .wowp-snippets__tabs-tab .icon {
939 font-size: 1rem;
940 }
941 .wowp .wowp-snippets__tabs-tab:hover {
942 color: var(--wowp-color-blue);
943 }
944 .wowp .wowp-snippets__tabs-content {
945 position: absolute;
946 top: -99999px;
947 left: -99999px;
948 max-width: 42rem;
949 width: 100%;
950 }
951 .wowp .wowp-snippets__tabs-content > .wowp-button {
952 margin-top: 1rem;
953 }
954 .wowp #wowp-tab-content:checked ~ [data-content=wowp-tab-content] {
955 position: static;
956 }
957 .wowp #wowp-tab-content:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-content] {
958 background-color: var(--wowp-gray-100);
959 }
960 .wowp #wowp-tab-admin:checked ~ [data-content=wowp-tab-admin] {
961 position: static;
962 }
963 .wowp #wowp-tab-admin:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-admin] {
964 background-color: var(--wowp-gray-100);
965 }
966 .wowp #wowp-tab-login:checked ~ [data-content=wowp-tab-login] {
967 position: static;
968 }
969 .wowp #wowp-tab-login:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-login] {
970 background-color: var(--wowp-gray-100);
971 }
972 .wowp #wowp-tab-media:checked ~ [data-content=wowp-tab-media] {
973 position: static;
974 }
975 .wowp #wowp-tab-media:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-media] {
976 background-color: var(--wowp-gray-100);
977 }
978 .wowp #wowp-tab-core:checked ~ [data-content=wowp-tab-core] {
979 position: static;
980 }
981 .wowp #wowp-tab-core:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-core] {
982 background-color: var(--wowp-gray-100);
983 }
984 .wowp #wowp-tab-comments:checked ~ [data-content=wowp-tab-comments] {
985 position: static;
986 }
987 .wowp #wowp-tab-comments:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-comments] {
988 background-color: var(--wowp-gray-100);
989 }
990 .wowp #wowp-tab-optimization:checked ~ [data-content=wowp-tab-optimization] {
991 position: static;
992 }
993 .wowp #wowp-tab-optimization:checked ~ .wowp-snippets__tabs-labels [for=wowp-tab-optimization] {
994 background-color: var(--wowp-gray-100);
995 }
996 .wowp .popover-container {
997 position: relative;
998 display: inline-block;
999 }
1000 .wowp .popover {
1001 position: absolute;
1002 top: calc(100% + 0.75rem);
1003 right: 0;
1004 background: white;
1005 border: 1px solid var(--wowp-gray-100);
1006 padding: 10px;
1007 border-radius: 6px;
1008 box-shadow: var(--wowp-shadow);
1009 display: none;
1010 z-index: 1000;
1011 width: 160px;
1012 }
1013 .wowp .wowp-pro {
1014 margin-block: 1.5rem;
1015 }
1016 .wowp .wowp-pro + input[type=submit] {
1017 display: none;
1018 }
1019 .wowp .wowp-pro .wowp-fieldset__header {
1020 padding-inline: 1.5rem;
1021 }
1022 .wowp .wowp-pro__features {
1023 display: grid;
1024 grid-template-columns: repeat(1, minmax(0, 1fr));
1025 margin-top: 2.5rem;
1026 max-width: 96rem;
1027 width: 100%;
1028 margin-inline: auto;
1029 gap: 2rem;
1030 padding-inline: 0.5rem;
1031 }
1032 @media (width >= 80rem) {
1033 .wowp .wowp-pro__features {
1034 grid-template-columns: repeat(2, minmax(0, 1fr));
1035 }
1036 }
1037 .wowp .wowp-pro__feature {
1038 display: flex;
1039 gap: 1rem;
1040 }
1041 .wowp .wowp-pro-feature__icon {
1042 width: 3rem;
1043 height: 3rem;
1044 display: flex;
1045 align-items: center;
1046 justify-content: center;
1047 box-shadow: var(--wowp-shadow);
1048 border-radius: 0.25rem;
1049 }
1050 .wowp .wowp-pro-feature__icon span {
1051 font-size: 1.5rem;
1052 color: var(--wowp-gray-900);
1053 }
1054 .wowp .wowp-pro-feature__content {
1055 display: flex;
1056 flex-direction: column;
1057 gap: 0.25rem;
1058 flex: 1;
1059 }
1060 .wowp .wowp-pro-feature__title {
1061 color: var(--wowp-gray-900);
1062 font-weight: 700;
1063 font-size: 1.25rem;
1064 line-height: 1.75rem;
1065 }
1066 .wowp .wowp-pro-feature__desc {
1067 color: var(--wowp-gray-500);
1068 font-weight: 300;
1069 font-size: 1.25rem;
1070 line-height: 1.75rem;
1071 }
1072
1073 .wowp-notification {
1074 --_color: var(--wowp-gray-900);
1075 position: relative;
1076 background-color: color-mix(in srgb, var(--_color) 7%, white);
1077 border-width: 1px;
1078 border-style: solid;
1079 border-color: var(--_color);
1080 padding-block: 1.25rem;
1081 padding-inline: 3rem 1.25rem;
1082 border-radius: 4px;
1083 margin-block: 1rem;
1084 }
1085 .wowp-notification:before {
1086 position: absolute;
1087 left: 0.5rem;
1088 top: 50%;
1089 transform: translateY(-50%);
1090 content: "�
1091 �";
1092 font-family: dashicons;
1093 font-size: 1.5rem;
1094 width: 2rem;
1095 height: 2rem;
1096 display: flex;
1097 align-items: center;
1098 justify-content: center;
1099 color: var(--_color);
1100 }
1101 .wowp-notification:after {
1102 position: absolute;
1103 content: "";
1104 left: 0;
1105 top: 50%;
1106 transform: translateY(-50%);
1107 height: 2rem;
1108 width: 3px;
1109 border-radius: 0 3px 3px 0;
1110 background-color: var(--_color);
1111 }
1112 .wowp-notification.notification-info {
1113 --_color: var(--wowp-color-blue);
1114 }
1115 .wowp-notification.notification-info:before {
1116 content: "";
1117 }
1118 .wowp-notification.notification-warning {
1119 --_color: var(--wowp-color-yellow);
1120 }
1121 .wowp-notification.notification-warning:before {
1122 content: "";
1123 }
1124 .wowp-notification.notification-error {
1125 --_color: var(--wowp-color-red);
1126 }
1127 .wowp-notification.notification-error:before {
1128 content: "";
1129 }
1130 .wowp-notification.notification-lock {
1131 --_color: var(--wowp-color-red);
1132 }
1133 .wowp-notification.notification-lock:before {
1134 content: "�
1135 �";
1136 }
1137 .wowp-notification.notification-success {
1138 --_color: var(--wowp-color-green);
1139 }
1140 .wowp-notification.notification-success:before {
1141 content: "";
1142 }
1143
1144 .wowp-list {
1145 padding: 50px 46px 50px 16px;
1146 }
1147 .wowp-list .wowp-field input[type=text] {
1148 min-width: unset;
1149 width: auto;
1150 }
1151
1152 .wowp-toogle {
1153 display: flex;
1154 align-items: center;
1155 position: relative;
1156 text-decoration: none;
1157 color: #ffffff;
1158 width: 40px;
1159 height: 28px;
1160 border-radius: 50px;
1161 padding: 0 4px;
1162 }
1163 .wowp-toogle:focus, .wowp-toogle:hover {
1164 color: #ffffff;
1165 }
1166
1167 .wowp-toogle span {
1168 height: 20px;
1169 width: 20px;
1170 display: flex;
1171 align-items: center;
1172 justify-content: center;
1173 border-radius: 50%;
1174 font-size: 8px;
1175 }
1176
1177 .wowp-toogle.is-on {
1178 background-color: color-mix(in srgb, var(--wowp-color-green) 20%, white);
1179 }
1180
1181 .wowp-toogle.is-on span {
1182 background-color: var(--wowp-color-green);
1183 }
1184 .wowp-toogle.is-on:focus span, .wowp-toogle.is-on:hover span {
1185 background-color: color-mix(in srgb, var(--wowp-color-green) 90%, black);
1186 }
1187
1188 .wowp-toogle.is-off {
1189 flex-direction: row-reverse;
1190 background-color: color-mix(in srgb, var(--wowp-color-red) 20%, white);
1191 }
1192
1193 .wowp-toogle.is-off span {
1194 background-color: var(--wowp-color-red);
1195 }
1196 .wowp-toogle.is-off:focus span, .wowp-toogle.is-off:hover span {
1197 background-color: color-mix(in srgb, var(--wowp-color-red) 90%, black);
1198 }
1199