PluginProbe
Search Atlas SEO – OTTO AI SEO Automation for WordPress / trunk
Search Atlas SEO – OTTO AI SEO Automation for WordPress vtrunk
2.6.26 2.6.25 2.6.24 2.6.23 2.6.22 2.6.21 2.6.20 2.6.19 2.6.18 2.6.17 2.6.16 2.6.15 2.6.14 2.6.13 2.6.12 2.6.11 2.6.10 2.6.9 2.6.8 2.6.7 2.6.6 2.6.5 2.6.4 2.6.3 2.5.23 All 138 releases
metasync / admin / css / metasync-opengraph.css

metasync-opengraph.css in Search Atlas SEO – OTTO AI SEO Automation for WordPress trunk, at admin/css/metasync-opengraph.css

862 lines 16.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * MetaSync Open Graph Admin Styles
3 *
4 * @package MetaSync
5 * @subpackage MetaSync/admin/css
6 * @since 1.0.0
7 */
8
9 /* Meta Box Container */
10 .metasync-opengraph-meta-box {
11 padding: 0;
12 }
13
14 /* Toggle Switch Section */
15 .metasync-og-toggle-section {
16 padding: 15px;
17 background: #f9f9f9;
18 border-bottom: 1px solid #e1e1e1;
19 margin: 0 -12px 20px -12px;
20 }
21
22 .metasync-toggle-switch {
23 display: flex;
24 align-items: center;
25 cursor: pointer;
26 font-weight: 600;
27 }
28
29 .metasync-toggle-switch input[type="checkbox"] {
30 display: none;
31 }
32
33 .metasync-toggle-slider {
34 position: relative;
35 width: 50px;
36 height: 24px;
37 background-color: #ccc;
38 border-radius: 24px;
39 transition: background-color 0.3s;
40 margin-right: 10px;
41 flex-shrink: 0;
42 }
43
44 .metasync-toggle-slider::before {
45 content: '';
46 position: absolute;
47 top: 2px;
48 left: 2px;
49 width: 20px;
50 height: 20px;
51 background-color: white;
52 border-radius: 50%;
53 transition: transform 0.3s;
54 box-shadow: 0 2px 4px rgba(0,0,0,0.2);
55 }
56
57 .metasync-toggle-switch input:checked + .metasync-toggle-slider {
58 background-color: #0073aa;
59 }
60
61 .metasync-toggle-switch input:checked + .metasync-toggle-slider::before {
62 transform: translateX(26px);
63 }
64
65 .metasync-toggle-label {
66 color: #23282d;
67 }
68
69 /* Content Sections */
70 .metasync-og-content {
71 padding: 0 15px 15px;
72 }
73
74 .metasync-og-section,
75 .metasync-twitter-section,
76 .metasync-preview-section {
77 margin-bottom: 25px;
78 padding-bottom: 20px;
79 border-bottom: 1px solid #e1e1e1;
80 }
81
82 .metasync-preview-section {
83 border-bottom: none;
84 }
85
86 .metasync-og-section h4,
87 .metasync-twitter-section h4,
88 .metasync-preview-section h4 {
89 margin: 0 0 15px 0;
90 padding: 0;
91 color: #23282d;
92 font-size: 14px;
93 font-weight: 600;
94 text-transform: uppercase;
95 letter-spacing: 0.5px;
96 }
97
98 /* Field Groups */
99 .metasync-og-field-group {
100 margin-bottom: 15px;
101 }
102
103 .metasync-og-field-group label {
104 display: block;
105 margin-bottom: 5px;
106 font-weight: 600;
107 color: #23282d;
108 }
109
110 .metasync-og-field-group .description {
111 margin-top: 5px;
112 font-style: italic;
113 color: #666;
114 display: flex;
115 justify-content: space-between;
116 align-items: center;
117 }
118
119 /* Character Counter */
120 .metasync-char-count {
121 font-weight: 600;
122 color: #0073aa;
123 font-style: normal;
124 }
125
126 .metasync-char-count.metasync-char-warning {
127 color: #d63638;
128 }
129
130 /* Field Row Layout */
131 .metasync-og-field-row {
132 display: flex;
133 gap: 15px;
134 }
135
136 .metasync-half-width {
137 flex: 1;
138 }
139
140 /* Image Upload Fields */
141 .metasync-image-field {
142 display: flex;
143 gap: 10px;
144 align-items: flex-start;
145 }
146
147 .metasync-image-field input[type="url"] {
148 flex: 1;
149 }
150
151 .metasync-image-controls {
152 display: flex;
153 gap: 5px;
154 flex-shrink: 0;
155 }
156
157 .metasync-image-preview,
158 .metasync-twitter-image-preview {
159 margin-top: 10px;
160 max-width: 300px;
161 }
162
163 .metasync-image-preview img,
164 .metasync-twitter-image-preview img {
165 max-width: 100%;
166 height: auto;
167 border: 1px solid #ddd;
168 border-radius: 4px;
169 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
170 }
171
172 /* Social Media Preview */
173 .metasync-preview-container {
174 background: #f8f9fa;
175 border: 1px solid #e1e1e1;
176 border-radius: 8px;
177 padding: 20px;
178 margin: 15px 0;
179 position: relative;
180 }
181
182 .metasync-preview-loading {
183 display: flex;
184 align-items: center;
185 justify-content: center;
186 gap: 10px;
187 color: #666;
188 font-style: italic;
189 padding: 40px 0;
190 }
191
192 /* Preview Tabs */
193 .metasync-preview-tabs {
194 display: flex;
195 margin-bottom: 20px;
196 border-bottom: 1px solid #e1e1e1;
197 }
198
199 .metasync-preview-tab {
200 background: none;
201 border: none;
202 padding: 10px 20px;
203 cursor: pointer;
204 font-size: 14px;
205 font-weight: 500;
206 color: #65676b;
207 border-bottom: 2px solid transparent;
208 transition: all 0.2s;
209 position: relative;
210 z-index: 1;
211 outline: none;
212 -webkit-appearance: none;
213 -moz-appearance: none;
214 appearance: none;
215 }
216
217 .metasync-preview-tab:hover {
218 background: #f2f3f4;
219 }
220
221 .metasync-preview-tab.active {
222 color: #1877f2;
223 border-bottom-color: #1877f2;
224 }
225
226 .metasync-preview-tab.twitter.active {
227 color: #1da1f2;
228 border-bottom-color: #1da1f2;
229 }
230
231 .metasync-preview-tab.linkedin.active {
232 color: #0077b5;
233 border-bottom-color: #0077b5;
234 }
235
236 /* Preview Content */
237 .metasync-preview-content {
238 max-width: 550px;
239 margin: 0 auto;
240 }
241
242 .metasync-preview-panel {
243 display: none;
244 }
245
246 .metasync-preview-panel.active {
247 display: block;
248 }
249
250 /* Facebook Preview */
251 .facebook-preview {
252 background: #fff;
253 border-radius: 8px;
254 overflow: hidden;
255 box-shadow: 0 1px 2px rgba(0,0,0,0.1);
256 border: 1px solid #dadde1;
257 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
258 }
259
260 .facebook-post-header {
261 padding: 12px 16px;
262 border-bottom: 1px solid #e4e6ea;
263 display: flex;
264 align-items: center;
265 gap: 8px;
266 }
267
268 .facebook-avatar {
269 width: 40px;
270 height: 40px;
271 border-radius: 50%;
272 background: #1877f2;
273 display: flex;
274 align-items: center;
275 justify-content: center;
276 color: white;
277 font-weight: bold;
278 font-size: 16px;
279 }
280
281 .facebook-post-info h4 {
282 margin: 0;
283 font-size: 15px;
284 font-weight: 600;
285 color: #1d2129;
286 }
287
288 .facebook-post-info p {
289 margin: 2px 0 0 0;
290 font-size: 13px;
291 color: #65676b;
292 }
293
294 .facebook-link-preview {
295 cursor: pointer;
296 transition: background-color 0.2s;
297 }
298
299 .facebook-link-preview:hover {
300 background-color: #f2f3f4;
301 }
302
303 .facebook-preview-image {
304 width: 100%;
305 height: 280px;
306 overflow: hidden;
307 background: #f0f2f5;
308 display: flex;
309 align-items: center;
310 justify-content: center;
311 position: relative;
312 }
313
314 .facebook-preview-image img {
315 width: 100%;
316 height: 100%;
317 object-fit: cover;
318 }
319
320 .facebook-preview-content {
321 padding: 12px 16px;
322 background: #f2f3f4;
323 }
324
325 .facebook-preview-domain {
326 font-size: 12px;
327 color: #65676b;
328 text-transform: uppercase;
329 margin-bottom: 4px;
330 font-weight: 500;
331 letter-spacing: 0.5px;
332 }
333
334 .facebook-preview-title {
335 font-size: 16px;
336 font-weight: 600;
337 color: #1d2129;
338 line-height: 1.3;
339 margin-bottom: 4px;
340 display: -webkit-box;
341 -webkit-line-clamp: 2;
342 -webkit-box-orient: vertical;
343 overflow: hidden;
344 }
345
346 .facebook-preview-description {
347 font-size: 14px;
348 color: #65676b;
349 line-height: 1.3;
350 display: -webkit-box;
351 -webkit-line-clamp: 2;
352 -webkit-box-orient: vertical;
353 overflow: hidden;
354 }
355
356 /* Twitter Preview */
357 .twitter-preview {
358 background: #fff;
359 border: 1px solid #e1e8ed;
360 border-radius: 16px;
361 overflow: hidden;
362 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
363 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
364 }
365
366 .twitter-post-header {
367 padding: 12px 16px;
368 display: flex;
369 align-items: center;
370 gap: 12px;
371 }
372
373 .twitter-avatar {
374 width: 48px;
375 height: 48px;
376 border-radius: 50%;
377 background: #1da1f2;
378 display: flex;
379 align-items: center;
380 justify-content: center;
381 color: white;
382 font-weight: bold;
383 font-size: 18px;
384 }
385
386 .twitter-user-info h4 {
387 margin: 0;
388 font-size: 15px;
389 font-weight: 700;
390 color: #0f1419;
391 }
392
393 .twitter-user-info p {
394 margin: 2px 0 0 0;
395 font-size: 15px;
396 color: #536471;
397 }
398
399 .twitter-post-text {
400 padding: 0 16px 12px;
401 font-size: 15px;
402 line-height: 1.3;
403 color: #0f1419;
404 }
405
406 .twitter-card {
407 border: 1px solid #e1e8ed;
408 border-radius: 16px;
409 overflow: hidden;
410 margin: 0 16px 12px;
411 }
412
413 .twitter-card-image {
414 width: 100%;
415 height: 200px;
416 overflow: hidden;
417 background: #f7f9fa;
418 display: flex;
419 align-items: center;
420 justify-content: center;
421 }
422
423 .twitter-card-image img {
424 width: 100%;
425 height: 100%;
426 object-fit: cover;
427 }
428
429 .twitter-card-content {
430 padding: 12px;
431 border-top: 1px solid #e1e8ed;
432 }
433
434 .twitter-card-domain {
435 font-size: 13px;
436 color: #536471;
437 margin-bottom: 2px;
438 }
439
440 .twitter-card-title {
441 font-size: 15px;
442 font-weight: 400;
443 color: #0f1419;
444 line-height: 1.3;
445 margin-bottom: 2px;
446 display: -webkit-box;
447 -webkit-line-clamp: 2;
448 -webkit-box-orient: vertical;
449 overflow: hidden;
450 }
451
452 .twitter-card-description {
453 font-size: 13px;
454 color: #536471;
455 line-height: 1.3;
456 display: -webkit-box;
457 -webkit-line-clamp: 2;
458 -webkit-box-orient: vertical;
459 overflow: hidden;
460 }
461
462 /* LinkedIn Preview */
463 .linkedin-preview {
464 background: #fff;
465 border: 1px solid #e0e0e0;
466 border-radius: 8px;
467 overflow: hidden;
468 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
469 box-shadow: 0 1px 4px rgba(0,0,0,0.1);
470 }
471
472 .linkedin-post-header {
473 padding: 12px 16px;
474 display: flex;
475 align-items: center;
476 gap: 8px;
477 }
478
479 .linkedin-avatar {
480 width: 48px;
481 height: 48px;
482 border-radius: 50%;
483 background: #0077b5;
484 display: flex;
485 align-items: center;
486 justify-content: center;
487 color: white;
488 font-weight: bold;
489 font-size: 18px;
490 }
491
492 .linkedin-user-info h4 {
493 margin: 0;
494 font-size: 14px;
495 font-weight: 600;
496 color: #000;
497 }
498
499 .linkedin-user-info p {
500 margin: 2px 0 0 0;
501 font-size: 12px;
502 color: #666;
503 }
504
505 .linkedin-link-preview {
506 border-top: 1px solid #e0e0e0;
507 }
508
509 .linkedin-preview-image {
510 width: 100%;
511 height: 240px;
512 overflow: hidden;
513 background: #f3f6f8;
514 display: flex;
515 align-items: center;
516 justify-content: center;
517 }
518
519 .linkedin-preview-image img {
520 width: 100%;
521 height: 100%;
522 object-fit: cover;
523 }
524
525 .linkedin-preview-content {
526 padding: 12px 16px;
527 }
528
529 .linkedin-preview-title {
530 font-size: 16px;
531 font-weight: 600;
532 color: #000;
533 line-height: 1.3;
534 margin-bottom: 4px;
535 display: -webkit-box;
536 -webkit-line-clamp: 2;
537 -webkit-box-orient: vertical;
538 overflow: hidden;
539 }
540
541 .linkedin-preview-description {
542 font-size: 14px;
543 color: #666;
544 line-height: 1.4;
545 margin-bottom: 8px;
546 display: -webkit-box;
547 -webkit-line-clamp: 2;
548 -webkit-box-orient: vertical;
549 overflow: hidden;
550 }
551
552 .linkedin-preview-domain {
553 font-size: 12px;
554 color: #666;
555 text-transform: lowercase;
556 }
557
558 /* No Image Placeholders */
559 .preview-no-image {
560 background: linear-gradient(135deg, #f0f2f5 0%, #e4e6ea 100%);
561 position: relative;
562 }
563
564 .preview-placeholder {
565 display: flex;
566 flex-direction: column;
567 align-items: center;
568 justify-content: center;
569 height: 100%;
570 color: #8a8d91;
571 text-align: center;
572 }
573
574 .preview-placeholder span {
575 font-size: 48px;
576 margin-bottom: 8px;
577 opacity: 0.5;
578 }
579
580 .preview-placeholder p {
581 margin: 0;
582 font-size: 14px;
583 font-weight: 500;
584 opacity: 0.7;
585 }
586
587 /* Error States */
588 .metasync-error {
589 color: #d63638;
590 font-style: italic;
591 text-align: center;
592 padding: 20px;
593 }
594
595 /* Responsive Design */
596 @media (max-width: 782px) {
597 .metasync-og-field-row {
598 flex-direction: column;
599 gap: 10px;
600 }
601
602 .metasync-image-field {
603 flex-direction: column;
604 align-items: stretch;
605 }
606
607 .metasync-image-controls {
608 justify-content: flex-start;
609 }
610
611 .metasync-preview-container {
612 padding: 15px;
613 margin: 10px 0;
614 }
615
616 .metasync-preview-content {
617 max-width: 100%;
618 }
619
620 .metasync-preview-tabs {
621 flex-wrap: wrap;
622 gap: 5px;
623 }
624
625 .metasync-preview-tab {
626 padding: 8px 16px;
627 font-size: 13px;
628 flex: 1;
629 min-width: 80px;
630 text-align: center;
631 }
632
633 /* Mobile-specific preview adjustments */
634 .facebook-preview,
635 .twitter-preview,
636 .linkedin-preview {
637 margin: 0 -5px;
638 }
639
640 .facebook-preview-image,
641 .twitter-card-image,
642 .linkedin-preview-image {
643 height: 200px;
644 }
645
646 .facebook-post-header,
647 .twitter-post-header,
648 .linkedin-post-header {
649 padding: 10px 12px;
650 }
651
652 .facebook-preview-content,
653 .twitter-card-content,
654 .linkedin-preview-content {
655 padding: 10px 12px;
656 }
657
658 .facebook-avatar,
659 .twitter-avatar,
660 .linkedin-avatar {
661 width: 36px;
662 height: 36px;
663 font-size: 14px;
664 }
665 }
666
667 @media (max-width: 480px) {
668 .metasync-preview-tabs {
669 margin-bottom: 15px;
670 }
671
672 .metasync-preview-tab {
673 padding: 6px 12px;
674 font-size: 12px;
675 }
676
677 .facebook-preview-image,
678 .twitter-card-image,
679 .linkedin-preview-image {
680 height: 160px;
681 }
682
683 .preview-placeholder span {
684 font-size: 32px;
685 }
686
687 .preview-placeholder p {
688 font-size: 12px;
689 }
690 }
691
692 /* WordPress Admin Compatibility */
693 .post-php .metasync-opengraph-meta-box,
694 .post-new-php .metasync-opengraph-meta-box {
695 font-size: 13px;
696 }
697
698 /* Gutenberg Editor Compatibility */
699 .block-editor-page .metasync-opengraph-meta-box {
700 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
701 }
702
703 /* Loading Spinner */
704 .metasync-preview-loading .spinner {
705 float: none;
706 margin: 0;
707 }
708
709 /* Button Styling */
710 .metasync-refresh-preview {
711 margin-top: 10px;
712 }
713
714 /* Focus States */
715 .metasync-og-input:focus {
716 border-color: #0073aa;
717 box-shadow: 0 0 0 1px #0073aa;
718 }
719
720 /* Accessibility */
721 .metasync-toggle-switch:focus-within .metasync-toggle-slider {
722 outline: 2px solid #0073aa;
723 outline-offset: 2px;
724 }
725
726 /* Disabled URL Field Styling */
727 .metasync-og-input:disabled {
728 background-color: #f6f7f7;
729 border-color: #ddd;
730 color: #666;
731 cursor: not-allowed;
732 }
733
734 .metasync-url-disabled-notice {
735 background: #fff3cd;
736 border: 1px solid #ffeaa7;
737 border-radius: 4px;
738 padding: 8px 12px;
739 margin-top: 5px;
740 color: #856404;
741 font-size: 13px;
742 display: flex;
743 align-items: flex-start;
744 gap: 8px;
745 }
746
747 .metasync-url-disabled-notice .dashicons {
748 color: #f0ad4e;
749 margin-top: 2px;
750 flex-shrink: 0;
751 }
752
753 /* Use Permalink Button */
754 .metasync-use-permalink {
755 background: #0073aa;
756 border-color: #0073aa;
757 color: #fff;
758 font-size: 11px;
759 height: 24px;
760 line-height: 22px;
761 padding: 0 8px;
762 vertical-align: top;
763 }
764
765 .metasync-use-permalink:hover {
766 background: #005a87;
767 border-color: #005a87;
768 color: #fff;
769 }
770
771 .metasync-use-permalink:focus {
772 box-shadow: 0 0 0 1px #0073aa;
773 outline: none;
774 }
775
776 /* Required field indicator */
777 .required {
778 color: #d63638;
779 font-weight: bold;
780 }
781
782 /* Twitter Card sections */
783 .metasync-twitter-app-section,
784 .metasync-twitter-player-section {
785 margin-top: 20px;
786 padding: 15px;
787 background: #f9f9f9;
788 border: 1px solid #e1e1e1;
789 border-radius: 4px;
790 }
791
792 .metasync-twitter-app-section h4,
793 .metasync-twitter-player-section h4 {
794 margin-top: 0;
795 color: #1d2327;
796 }
797
798 /* Number input styling */
799 input[type="number"] {
800 -moz-appearance: textfield;
801 }
802
803 input[type="number"]::-webkit-outer-spin-button,
804 input[type="number"]::-webkit-inner-spin-button {
805 -webkit-appearance: none;
806 margin: 0;
807 }
808
809 /* Dark Mode Support (if WordPress adds it) */
810 @media (prefers-color-scheme: dark) {
811 .preview-card {
812 background: #2c3338;
813 border-color: #3c434a;
814 }
815
816 .preview-title {
817 color: #f0f0f1;
818 }
819
820 .preview-description,
821 .preview-domain {
822 color: #a7aaad;
823 }
824
825 .metasync-og-input:disabled {
826 background-color: #2c3338;
827 border-color: #3c434a;
828 color: #a7aaad;
829 }
830
831 .metasync-url-disabled-notice {
832 background: #3c434a;
833 border-color: #4f5660;
834 color: #f0f0f1;
835 }
836
837 .metasync-url-disabled-notice .dashicons {
838 color: #f0ad4e;
839 }
840
841 .metasync-use-permalink {
842 background: #0073aa;
843 border-color: #0073aa;
844 }
845
846 .metasync-use-permalink:hover {
847 background: #005a87;
848 border-color: #005a87;
849 }
850
851 .metasync-twitter-app-section,
852 .metasync-twitter-player-section {
853 background: #2c3338;
854 border-color: #3c434a;
855 }
856
857 .metasync-twitter-app-section h4,
858 .metasync-twitter-player-section h4 {
859 color: #f0f0f1;
860 }
861 }
862