| @@ -4,12 +4,8 @@ | ||
| 4 | 4 | *::after { |
| 5 | 5 | box-sizing: border-box; |
| 6 | 6 | } |
| 7 | 7 | |
| 8 | -body { | |
| 9 | - height: auto; | |
| 10 | -} | |
| 11 | - | |
| 12 | 8 | #visualizer-icon { |
| 13 | 9 | background-image: url("../images/icon.png"); |
| 14 | 10 | } |
| 15 | 11 | |
| @@ -37,13 +33,8 @@ | ||
| 37 | 33 | } |
| 38 | 34 | #visualizer-content-wrapper { |
| 39 | 35 | padding: 0; |
| 40 | 36 | } |
| 41 | - | |
| 42 | -.visualizer-banner { | |
| 43 | - margin: 40px 0; | |
| 44 | -} | |
| 45 | - | |
| 46 | 37 | #visualizer-library { |
| 47 | 38 | width: auto; |
| 48 | 39 | margin: 20px -10px; |
| 49 | 40 | display: flex; |
| @@ -101,100 +92,47 @@ | ||
| 101 | 92 | font-weight: bold; |
| 102 | 93 | text-align: center; |
| 103 | 94 | } |
| 104 | 95 | |
| 105 | -.visualizer-action-group{ | |
| 106 | - display: flex; | |
| 107 | - flex-wrap: wrap; | |
| 108 | - align-items: center; | |
| 109 | - justify-content: flex-end; | |
| 110 | -} | |
| 111 | - | |
| 112 | 96 | .visualizer-chart-action { |
| 113 | - position: relative; | |
| 114 | - display: flex; | |
| 115 | - align-items: center; | |
| 116 | - justify-content: center; | |
| 117 | - width: 40px; | |
| 118 | - height: 40px; | |
| 119 | - margin: 2px 0 0; | |
| 120 | - border-radius: 100%; | |
| 121 | - text-decoration: none; | |
| 122 | - color: #3F3F3F; | |
| 123 | -} | |
| 124 | - | |
| 125 | -.visualizer-chart-action .tooltip-text { | |
| 126 | - visibility: hidden; | |
| 127 | - opacity: 0; | |
| 128 | - background-color: #3F3F3F; | |
| 129 | - color: #fff; | |
| 130 | - text-align: center; | |
| 131 | - padding: 5px 14px; | |
| 132 | - position: absolute; | |
| 133 | - border-radius: 2px; | |
| 134 | - font-size: 12px; | |
| 135 | - line-height: 14px; | |
| 136 | - z-index: 1; | |
| 137 | - white-space: nowrap; | |
| 138 | - left: 50%; | |
| 139 | - top: calc(100% + 9px); | |
| 140 | - transform: translate(-50%, 0); | |
| 141 | - transition: all .3s ease-in-out; | |
| 142 | -} | |
| 143 | -.visualizer-chart-action:focus { | |
| 144 | - border: none; | |
| 145 | - box-shadow: none; | |
| 146 | -} | |
| 147 | -.visualizer-chart-action .tooltip-text::before { | |
| 148 | - content: ''; | |
| 149 | - position: absolute; | |
| 150 | - display: block; | |
| 151 | - width: 0px; | |
| 152 | - left: 50%; | |
| 153 | - top: 0; | |
| 154 | - border: 10px solid transparent; | |
| 155 | - border-top: 0; | |
| 156 | - border-bottom: 10px solid #3F3F3F; | |
| 157 | - transform: translate(-50%, -8px); | |
| 158 | -} | |
| 159 | -.visualizer-chart-action:hover .tooltip-text { | |
| 160 | - visibility: visible; | |
| 161 | - opacity: 1; | |
| 162 | -} | |
| 163 | -.visualizer-chart-action .dashicons{ | |
| 97 | + display: block; | |
| 98 | + float: right; | |
| 164 | 99 | width: 16px; |
| 165 | 100 | height: 16px; |
| 166 | - font-size: 16px; | |
| 101 | + margin: 2px 5px 0; | |
| 102 | + background-image: url("../images/ui-icons.png"); | |
| 103 | + background-repeat: no-repeat; | |
| 167 | 104 | } |
| 168 | -.visualizer-chart-action .visualizer-action-label { | |
| 169 | - font-size: 12px; | |
| 170 | - line-height: 1; | |
| 105 | + | |
| 106 | +.visualizer-nochart-delete, | |
| 107 | +.visualizer-chart-delete { | |
| 108 | + background-position: -176px -96px; | |
| 171 | 109 | } |
| 172 | -.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action:hover, | |
| 173 | -.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action:focus { | |
| 174 | - color: #3F3F3F; | |
| 175 | - background: #ffffff; | |
| 110 | + | |
| 111 | +.visualizer-nochart-clone, | |
| 112 | +.visualizer-chart-clone { | |
| 113 | + background-position: -176px -128px; | |
| 176 | 114 | } |
| 177 | 115 | |
| 178 | -.visualizer-chart-action.visualizer-chart-edit, | |
| 179 | -.visualizer-chart-action.visualizer-nochart-edit { | |
| 180 | - margin-right: auto; | |
| 181 | - width: auto; | |
| 182 | - height: auto; | |
| 183 | - padding: 0 10px; | |
| 184 | - gap: 6px; | |
| 116 | +.visualizer-nochart-edit, | |
| 117 | +.visualizer-chart-edit { | |
| 118 | + background-position: -64px -112px; | |
| 185 | 119 | } |
| 186 | -.visualizer-chart-action.visualizer-chart-edit .dashicons, | |
| 187 | -.visualizer-chart-action.visualizer-nochart-edit .dashicons { | |
| 188 | - margin-right: 0; | |
| 189 | - line-height: 1; | |
| 120 | + | |
| 121 | +.visualizer-nochart-export, | |
| 122 | +.visualizer-chart-export { | |
| 123 | + background-position: -46px -64px; | |
| 190 | 124 | } |
| 191 | -.visualizer-chart-action.visualizer-chart-edit .tooltip-text { | |
| 192 | - display: none; | |
| 125 | + | |
| 126 | +.visualizer-nochart-shortcode, | |
| 127 | +.visualizer-chart-shortcode { | |
| 128 | + background-position: -143px -126px; | |
| 129 | + float: left; | |
| 193 | 130 | } |
| 194 | -.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action.visualizer-chart-delete:hover, | |
| 195 | -.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action.visualizer-nochart-delete:hover { | |
| 196 | - color: #DA1E28; | |
| 131 | + | |
| 132 | +.visualizer-nochart-image, | |
| 133 | +.visualizer-chart-image { | |
| 134 | + background-position: -206px -129px; | |
| 197 | 135 | } |
| 198 | 136 | |
| 199 | 137 | .visualizer-nochart-clone, |
| 200 | 138 | .visualizer-nochart-delete, |
| @@ -212,8 +150,29 @@ | ||
| 212 | 150 | margin-top: 4px; |
| 213 | 151 | width: 100%; |
| 214 | 152 | } |
| 215 | 153 | |
| 154 | +.visualizer-chart-shortcode { | |
| 155 | + padding: 3px 0; | |
| 156 | + color: #aaa; | |
| 157 | + text-shadow: 0 1px 0 #fff; | |
| 158 | + cursor: pointer; | |
| 159 | +} | |
| 160 | + | |
| 161 | +.visualizer-chart-shortcode::-moz-selection, | |
| 162 | +.visualizer-chart-shortcode::-moz-selection { | |
| 163 | + color: black; | |
| 164 | + background-color: #a8d1ff; | |
| 165 | + text-shadow: none; | |
| 166 | +} | |
| 167 | + | |
| 168 | +.visualizer-chart-shortcode::selection, | |
| 169 | +.visualizer-chart-shortcode::-moz-selection { | |
| 170 | + color: black; | |
| 171 | + background-color: #a8d1ff; | |
| 172 | + text-shadow: none; | |
| 173 | +} | |
| 174 | + | |
| 216 | 175 | .visualizer-list-item { |
| 217 | 176 | float: left; |
| 218 | 177 | margin-right: 20px; |
| 219 | 178 | } |
| @@ -276,15 +235,11 @@ | ||
| 276 | 235 | text-align: center; |
| 277 | 236 | color: #FFFFFF; |
| 278 | 237 | justify-content: center; |
| 279 | 238 | } |
| 280 | -.visualizer-sidebar-box .button.button-secondary{ | |
| 281 | - background: #ffffff; | |
| 282 | - color: #007CBA; | |
| 283 | -} | |
| 284 | 239 | .visualizer-sidebar-box .we-offer{ |
| 285 | - background-color: transparent; | |
| 286 | - color: #007CBA; | |
| 240 | + background-color: transparent; | |
| 241 | + color: #007CBA; | |
| 287 | 242 | font-weight: 400; |
| 288 | 243 | padding: 0px; |
| 289 | 244 | font-size: 14px; |
| 290 | 245 | font-style: italic; |
| @@ -410,17 +365,8 @@ | ||
| 410 | 365 | } |
| 411 | 366 | #visualizer-sidebar .visualizer-sidebar-box p { |
| 412 | 367 | margin-bottom: 0; |
| 413 | 368 | } |
| 414 | -#visualizer-sidebar .visualizer-sidebar-box p.vz-sidebar-box-action { | |
| 415 | - display: flex; | |
| 416 | - gap: 20px; | |
| 417 | - margin-top: 25px; | |
| 418 | -} | |
| 419 | -#visualizer-sidebar .visualizer-sidebar-box p.vz-sidebar-box-action .button{ | |
| 420 | - width: 100%; | |
| 421 | - text-align: center; | |
| 422 | -} | |
| 423 | 369 | #visualizer-sidebar.one-columns { |
| 424 | 370 | border-top: 5px solid #007CBA; |
| 425 | 371 | } |
| 426 | 372 | |
| @@ -434,10 +380,8 @@ | ||
| 434 | 380 | } |
| 435 | 381 | |
| 436 | 382 | div.visualizer-library-form .viz-filter { |
| 437 | 383 | vertical-align: middle; |
| 438 | - min-height: 30px; | |
| 439 | - line-height: 1; | |
| 440 | 384 | } |
| 441 | 385 | |
| 442 | 386 | button.media-modal-close { |
| 443 | 387 | display: none !important; |
| @@ -479,60 +423,8 @@ | ||
| 479 | 423 | .visualizer-error i.error { |
| 480 | 424 | color: red; |
| 481 | 425 | cursor: pointer; |
| 482 | 426 | } |
| 483 | -.goog-combobox input { | |
| 484 | - min-height: auto; | |
| 485 | -} | |
| 486 | -.vz-library-chart-filter:not(:empty) { | |
| 487 | - background-color: #ffffff; | |
| 488 | - padding: 5px 0 5px 5px; | |
| 489 | - border: 1px solid #ddd; | |
| 490 | -} | |
| 491 | -.google-visualization-controls-rangefilter { | |
| 492 | - white-space: inherit !important; | |
| 493 | -} | |
| 494 | -.visualizer-languages-list { | |
| 495 | - text-align: right; | |
| 496 | -} | |
| 497 | -.visualizer-languages-list a { | |
| 498 | - text-decoration: none; | |
| 499 | - display: inline-block; | |
| 500 | - margin-left: 3px; | |
| 501 | - padding: 0; | |
| 502 | - border: none; | |
| 503 | - outline: none; | |
| 504 | - box-shadow: none; | |
| 505 | -} | |
| 506 | -.visualizer-languages-list a:focus { | |
| 507 | - border: none; | |
| 508 | - outline: none; | |
| 509 | - box-shadow: none; | |
| 510 | -} | |
| 511 | -.visualizer-languages-list:not(.only-pro) i { | |
| 512 | - display: none; | |
| 513 | -} | |
| 514 | -.visualizer-languages-list:not(.only-pro) a:hover img { | |
| 515 | - display: none; | |
| 516 | -} | |
| 517 | -.visualizer-languages-list:not(.only-pro) a:hover img + i { | |
| 518 | - display: block; | |
| 519 | -} | |
| 520 | -.visualizer-languages-list.only-pro a:last-child { | |
| 521 | - display: none; | |
| 522 | -} | |
| 523 | -.visualizer-languages-list.only-pro:hover a:not(:last-child) { | |
| 524 | - display: none; | |
| 525 | -} | |
| 526 | -.visualizer-languages-list.only-pro:hover a:last-child { | |
| 527 | - display: block; | |
| 528 | -} | |
| 529 | -.visualizer-action-left { | |
| 530 | - float: left; | |
| 531 | -} | |
| 532 | -.visualizer-action-right { | |
| 533 | - float: right; | |
| 534 | -} | |
| 535 | 427 | @media (-webkit-min-device-pixel-ratio: 2) and (min-width: 1000px) and (max-width: 1600px) { |
| 536 | 428 | #visualizer-sidebar.one-columns .visualizer-sidebar-box ul li:nth-child(+n+7) { |
| 537 | 429 | display: none; |
| 538 | 430 | } |
| @@ -557,478 +449,4 @@ | ||
| 557 | 449 | .visualizer-chart{ |
| 558 | 450 | height: calc(100% - 24px); |
| 559 | 451 | } |
| 560 | 452 | } |
| 561 | - | |
| 562 | - | |
| 563 | - | |
| 564 | -.vizualizer-renew-notice-overlay { | |
| 565 | - display: none; | |
| 566 | - position: fixed; | |
| 567 | - top: 0; | |
| 568 | - left: 0; | |
| 569 | - width: 100%; | |
| 570 | - height: 100%; | |
| 571 | - background-color: rgba(0, 0, 0, 0.5); | |
| 572 | - z-index: 999; | |
| 573 | -} | |
| 574 | - | |
| 575 | -.vizualizer-renew-notice-popup { | |
| 576 | - display: none; | |
| 577 | - position: fixed; | |
| 578 | - top: 50%; | |
| 579 | - left: 50%; | |
| 580 | - transform: translate(-50%, -50%); | |
| 581 | - background-color: #fff; | |
| 582 | - z-index: 1000; | |
| 583 | - padding: 20px; | |
| 584 | - border: 1px solid #ccc; | |
| 585 | - border-radius: 8px; | |
| 586 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| 587 | - max-width: 400px; | |
| 588 | - font-weight: bold; | |
| 589 | - margin-bottom: 20px; | |
| 590 | -} | |
| 591 | - | |
| 592 | -.vizualizer-renew-notice-heading { | |
| 593 | - color: #d32f2f; | |
| 594 | - text-align: left; | |
| 595 | - margin-bottom: 10px; | |
| 596 | -} | |
| 597 | - | |
| 598 | -.vizualizer-renew-notice-message { | |
| 599 | - word-wrap: break-word; | |
| 600 | - width: 250px; | |
| 601 | -} | |
| 602 | - | |
| 603 | -.vizualizer-renew-notice-buttons-container { | |
| 604 | - display: grid; | |
| 605 | - grid-template-columns: 1fr; | |
| 606 | - gap: 10px; | |
| 607 | - text-align: center; | |
| 608 | - margin-top: 20px; | |
| 609 | -} | |
| 610 | - | |
| 611 | -.vizualizer-renew-notice-button { | |
| 612 | - padding: 10px 20px; | |
| 613 | - cursor: pointer; | |
| 614 | - color: white; | |
| 615 | - border: none; | |
| 616 | - text-align: center; | |
| 617 | - text-decoration: none; | |
| 618 | - display: inline-block; | |
| 619 | - font-size: 16px; | |
| 620 | - width: 200px; | |
| 621 | - height: 50px; | |
| 622 | - border-radius: 4px; | |
| 623 | - transition: background-color 0.3s; | |
| 624 | - font-weight: bold; | |
| 625 | - margin-top: 10px; | |
| 626 | -} | |
| 627 | - | |
| 628 | -.vizualizer-renew-notice-renew-button { | |
| 629 | - background-color: #008CBA; | |
| 630 | -} | |
| 631 | - | |
| 632 | -.vizualizer-renew-notice-activate-button { | |
| 633 | - background-color: #4CAF50; | |
| 634 | -} | |
| 635 | - | |
| 636 | -.vizualizer-renew-notice-close-icon { | |
| 637 | - position: absolute; | |
| 638 | - top: -10px; | |
| 639 | - right: -70px; | |
| 640 | - cursor: pointer; | |
| 641 | - color: #333; | |
| 642 | - background: none; | |
| 643 | - border: none; | |
| 644 | - padding: 0; | |
| 645 | - outline: none; | |
| 646 | - /* Reset button styles */ | |
| 647 | - display: inline-block; | |
| 648 | - font: inherit; | |
| 649 | - text-align: inherit; | |
| 650 | - text-decoration: none; | |
| 651 | -} | |
| 652 | - | |
| 653 | -/* ── View toggle buttons ── */ | |
| 654 | -span.viz-view-toggle-group { | |
| 655 | - display: inline-flex; | |
| 656 | - align-items: center; | |
| 657 | - gap: 4px; | |
| 658 | - margin-left: 0; | |
| 659 | - margin-right: 8px; | |
| 660 | - vertical-align: middle; | |
| 661 | - border: 1px solid #c3c4c7; | |
| 662 | - border-radius: 4px; | |
| 663 | - padding: 1px; | |
| 664 | - background: #f6f7f7; | |
| 665 | -} | |
| 666 | - | |
| 667 | -.viz-view-toggle { | |
| 668 | - display: inline-flex; | |
| 669 | - align-items: center; | |
| 670 | - justify-content: center; | |
| 671 | - width: 28px; | |
| 672 | - height: 28px; | |
| 673 | - padding: 0; | |
| 674 | - cursor: pointer; | |
| 675 | - background: transparent; | |
| 676 | - border: none; | |
| 677 | - border-radius: 3px; | |
| 678 | - color: #646970; | |
| 679 | - line-height: 1; | |
| 680 | - text-decoration: none; | |
| 681 | -} | |
| 682 | - | |
| 683 | -.viz-view-toggle.active { | |
| 684 | - background: #007CBA; | |
| 685 | - color: #fff; | |
| 686 | -} | |
| 687 | - | |
| 688 | -.viz-view-toggle:hover:not(.active) { | |
| 689 | - background: #e0e0e0; | |
| 690 | - color: #1d2327; | |
| 691 | -} | |
| 692 | - | |
| 693 | -.viz-view-toggle:focus { | |
| 694 | - outline: 2px solid #007CBA; | |
| 695 | - outline-offset: 0; | |
| 696 | - box-shadow: none; | |
| 697 | -} | |
| 698 | - | |
| 699 | -/* ── Edit button — more visible ── */ | |
| 700 | -.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action.visualizer-chart-edit { | |
| 701 | - display: flex; | |
| 702 | -} | |
| 703 | - | |
| 704 | -.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action.visualizer-chart-edit:hover, | |
| 705 | -.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action.visualizer-chart-edit:focus { | |
| 706 | - background-color: #0069a6 !important; | |
| 707 | - color: #fff !important; | |
| 708 | -} | |
| 709 | - | |
| 710 | -/* ── Compact upsell banner ── */ | |
| 711 | -#visualizer-library .items--upsell { | |
| 712 | - width: 100%; | |
| 713 | -} | |
| 714 | - | |
| 715 | -.viz-upsell-banner { | |
| 716 | - display: flex; | |
| 717 | - align-items: center; | |
| 718 | - gap: 12px; | |
| 719 | - background: #fff; | |
| 720 | - border-left: 4px solid #007CBA; | |
| 721 | - padding: 12px 16px; | |
| 722 | - margin-bottom: 10px; | |
| 723 | -} | |
| 724 | - | |
| 725 | -.viz-upsell-banner__icon { | |
| 726 | - color: #007CBA; | |
| 727 | - font-size: 20px; | |
| 728 | - flex-shrink: 0; | |
| 729 | -} | |
| 730 | - | |
| 731 | -.viz-upsell-banner__text { | |
| 732 | - flex: 1; | |
| 733 | - display: flex; | |
| 734 | - flex-direction: column; | |
| 735 | - gap: 2px; | |
| 736 | -} | |
| 737 | - | |
| 738 | -.viz-upsell-banner__text strong { | |
| 739 | - font-size: 13px; | |
| 740 | - font-weight: 600; | |
| 741 | - color: #1d2327; | |
| 742 | -} | |
| 743 | - | |
| 744 | -.viz-upsell-banner__text span { | |
| 745 | - font-size: 12px; | |
| 746 | - color: #50575e; | |
| 747 | -} | |
| 748 | - | |
| 749 | -.viz-upsell-banner__actions { | |
| 750 | - display: flex; | |
| 751 | - gap: 8px; | |
| 752 | - flex-shrink: 0; | |
| 753 | -} | |
| 754 | - | |
| 755 | -/* ── Chart type badge (list view only) ── */ | |
| 756 | -.viz-chart-type-badge { | |
| 757 | - display: none; | |
| 758 | - font-size: 11px; | |
| 759 | - font-weight: 500; | |
| 760 | - text-transform: capitalize; | |
| 761 | - background: #e8f0f8; | |
| 762 | - color: #007CBA; | |
| 763 | - border: 1px solid #c3daf9; | |
| 764 | - border-radius: 10px; | |
| 765 | - padding: 2px 8px; | |
| 766 | - white-space: nowrap; | |
| 767 | - flex-shrink: 0; | |
| 768 | -} | |
| 769 | - | |
| 770 | -/* ── List view: WP-style table ── */ | |
| 771 | -#visualizer-library.view-list { | |
| 772 | - display: block; | |
| 773 | - margin: 20px 0; | |
| 774 | -} | |
| 775 | - | |
| 776 | -.viz-charts-table { | |
| 777 | - border-collapse: collapse; | |
| 778 | - width: 100%; | |
| 779 | -} | |
| 780 | - | |
| 781 | -.viz-charts-table thead th { | |
| 782 | - padding: 10px 12px; | |
| 783 | - font-size: 12px; | |
| 784 | - font-weight: 700; | |
| 785 | - color: #1d2327; | |
| 786 | - text-align: left; | |
| 787 | - background: #f6f7f7; | |
| 788 | - border-bottom: 2px solid #c3c4c7; | |
| 789 | - white-space: nowrap; | |
| 790 | -} | |
| 791 | - | |
| 792 | -.viz-charts-table tbody tr { | |
| 793 | - background: #fff; | |
| 794 | - border-bottom: 1px solid #f0f0f1; | |
| 795 | - transition: background 0.1s; | |
| 796 | -} | |
| 797 | - | |
| 798 | -.viz-charts-table tbody tr:hover { | |
| 799 | - background: #f6f7f7; | |
| 800 | -} | |
| 801 | - | |
| 802 | -.viz-charts-table td { | |
| 803 | - padding: 10px 12px; | |
| 804 | - vertical-align: middle; | |
| 805 | - font-size: 13px; | |
| 806 | - color: #3c434a; | |
| 807 | -} | |
| 808 | - | |
| 809 | -/* Column widths */ | |
| 810 | -.viz-charts-table .col-id { | |
| 811 | - width: 50px; | |
| 812 | - font-weight: 600; | |
| 813 | - color: #787c82; | |
| 814 | -} | |
| 815 | - | |
| 816 | -.viz-charts-table .col-title { | |
| 817 | - font-weight: 600; | |
| 818 | - color: #1d2327; | |
| 819 | -} | |
| 820 | - | |
| 821 | -.viz-charts-table .col-type { | |
| 822 | - width: 110px; | |
| 823 | -} | |
| 824 | - | |
| 825 | -.viz-charts-table .col-shortcode { | |
| 826 | - width: 260px; | |
| 827 | -} | |
| 828 | - | |
| 829 | -.viz-charts-table .col-actions { | |
| 830 | - width: 1%; | |
| 831 | - white-space: nowrap; | |
| 832 | -} | |
| 833 | - | |
| 834 | -/* Type badge in table */ | |
| 835 | -.viz-charts-table .viz-chart-type-badge { | |
| 836 | - display: inline-block; | |
| 837 | -} | |
| 838 | - | |
| 839 | -/* Shortcode cell */ | |
| 840 | -.viz-shortcode-display { | |
| 841 | - display: inline-block; | |
| 842 | - font-size: 11px; | |
| 843 | - background: #f6f7f7; | |
| 844 | - border: 1px solid #ddd; | |
| 845 | - border-radius: 3px; | |
| 846 | - padding: 3px 7px; | |
| 847 | - color: #50575e; | |
| 848 | - white-space: nowrap; | |
| 849 | - max-width: 260px; | |
| 850 | - overflow: hidden; | |
| 851 | - text-overflow: ellipsis; | |
| 852 | - vertical-align: middle; | |
| 853 | - font-family: Consolas, Monaco, monospace; | |
| 854 | - cursor: pointer; | |
| 855 | - transition: background 0.15s, border-color 0.15s; | |
| 856 | -} | |
| 857 | - | |
| 858 | -.viz-shortcode-display:hover { | |
| 859 | - background: #e8f0f8; | |
| 860 | - border-color: #bfdbfe; | |
| 861 | - color: #1d2327; | |
| 862 | -} | |
| 863 | - | |
| 864 | -.viz-shortcode-display.viz-shortcode-copied { | |
| 865 | - background: #dcfce7; | |
| 866 | - border-color: #86efac; | |
| 867 | - color: #15803d; | |
| 868 | -} | |
| 869 | - | |
| 870 | -/* Action buttons in table: colored bordered icon buttons */ | |
| 871 | -.viz-charts-table .visualizer-action-group { | |
| 872 | - display: flex; | |
| 873 | - flex-wrap: nowrap; | |
| 874 | - gap: 4px; | |
| 875 | - justify-content: flex-end; | |
| 876 | -} | |
| 877 | - | |
| 878 | -.viz-charts-table .visualizer-chart-action { | |
| 879 | - width: 32px; | |
| 880 | - height: 32px; | |
| 881 | - border: 1px solid #c3c4c7; | |
| 882 | - border-radius: 4px; | |
| 883 | - background: #fff; | |
| 884 | - color: #646970; | |
| 885 | - display: inline-flex; | |
| 886 | - align-items: center; | |
| 887 | - justify-content: center; | |
| 888 | -} | |
| 889 | - | |
| 890 | -.viz-charts-table .visualizer-chart-action:hover { | |
| 891 | - background: #f6f7f7; | |
| 892 | -} | |
| 893 | - | |
| 894 | -.viz-charts-table .visualizer-chart-action.visualizer-chart-delete { | |
| 895 | - border-color: #fca5a5; | |
| 896 | - color: #dc2626; | |
| 897 | - margin-right: 0; | |
| 898 | -} | |
| 899 | - | |
| 900 | -.viz-charts-table .visualizer-chart-action.visualizer-chart-delete:hover { | |
| 901 | - background: #fef2f2; | |
| 902 | -} | |
| 903 | - | |
| 904 | -.viz-charts-table .visualizer-chart-action.visualizer-chart-shortcode { | |
| 905 | - color: #2563eb; | |
| 906 | - border-color: #bfdbfe; | |
| 907 | -} | |
| 908 | - | |
| 909 | -.viz-charts-table .visualizer-chart-action.visualizer-chart-shortcode:hover { | |
| 910 | - background: #eff6ff; | |
| 911 | -} | |
| 912 | - | |
| 913 | -.viz-charts-table .visualizer-chart-action.visualizer-chart-clone, | |
| 914 | -.viz-charts-table .visualizer-chart-action.visualizer-chart-export { | |
| 915 | - color: #64748b; | |
| 916 | - border-color: #cbd5e1; | |
| 917 | -} | |
| 918 | - | |
| 919 | -.viz-charts-table .visualizer-chart-action.visualizer-chart-clone:hover, | |
| 920 | -.viz-charts-table .visualizer-chart-action.visualizer-chart-export:hover { | |
| 921 | - background: #f8fafc; | |
| 922 | -} | |
| 923 | - | |
| 924 | -.viz-charts-table .visualizer-action-group .visualizer-chart-action.visualizer-chart-edit { | |
| 925 | - width: auto; | |
| 926 | - height: auto; | |
| 927 | - padding: 0 8px; | |
| 928 | - gap: 6px; | |
| 929 | -} | |
| 930 | - | |
| 931 | -/* Upsell banner after the table */ | |
| 932 | -#visualizer-library.view-list .items--upsell { | |
| 933 | - margin-top: 12px; | |
| 934 | -} | |
| 935 | - | |
| 936 | -.viz-add-new-group { | |
| 937 | - display: inline-flex; | |
| 938 | - align-items: center; | |
| 939 | - position: relative; | |
| 940 | -} | |
| 941 | - | |
| 942 | -.viz-add-new-group .add-new-h2 { | |
| 943 | - margin-right: 0; | |
| 944 | - border-top-right-radius: 0; | |
| 945 | - border-bottom-right-radius: 0; | |
| 946 | - min-height: 30px; | |
| 947 | - line-height: 2.15384615; | |
| 948 | -} | |
| 949 | - | |
| 950 | -.viz-add-new-toggle { | |
| 951 | - display: inline-flex; | |
| 952 | - align-items: center; | |
| 953 | - justify-content: center; | |
| 954 | - width: 28px; | |
| 955 | - height: 30px; | |
| 956 | - margin-left: 0; | |
| 957 | - border: 1px solid #2271b1; | |
| 958 | - border-left: 0; | |
| 959 | - border-radius: 0 3px 3px 0; | |
| 960 | - background: #f6f7f7; | |
| 961 | - color: #2271b1; | |
| 962 | - cursor: pointer; | |
| 963 | - position: relative; | |
| 964 | - top: -3px; | |
| 965 | -} | |
| 966 | - | |
| 967 | -.viz-add-new-toggle .dashicons { | |
| 968 | - font-size: 16px; | |
| 969 | - line-height: 1; | |
| 970 | - display: flex; | |
| 971 | - justify-content: center; | |
| 972 | - align-items: center; | |
| 973 | -} | |
| 974 | - | |
| 975 | -.viz-add-new-toggle .dashicon { | |
| 976 | - display: flex; | |
| 977 | - justify-content: center; | |
| 978 | - align-items: center; | |
| 979 | -} | |
| 980 | - | |
| 981 | -.viz-add-new-toggle:hover, | |
| 982 | -.viz-add-new-toggle:focus { | |
| 983 | - background: #2271b1; | |
| 984 | - color: #fff; | |
| 985 | - outline: none; | |
| 986 | -} | |
| 987 | - | |
| 988 | -.viz-add-new-menu { | |
| 989 | - position: absolute; | |
| 990 | - top: 100%; | |
| 991 | - left: 0; | |
| 992 | - margin-top: 2px; | |
| 993 | - min-width: 190px; | |
| 994 | - background: #fff; | |
| 995 | - border: 1px solid #dcdcde; | |
| 996 | - border-radius: 6px; | |
| 997 | - box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); | |
| 998 | - padding: 6px 0; | |
| 999 | - display: none; | |
| 1000 | - z-index: 100001; | |
| 1001 | -} | |
| 1002 | - | |
| 1003 | -.viz-add-new-group.is-open .viz-add-new-menu { | |
| 1004 | - display: block; | |
| 1005 | -} | |
| 1006 | - | |
| 1007 | -.viz-add-new-item { | |
| 1008 | - width: 100%; | |
| 1009 | - text-align: left; | |
| 1010 | - padding: 8px 12px; | |
| 1011 | - background: none; | |
| 1012 | - border: none; | |
| 1013 | - cursor: pointer; | |
| 1014 | - font-size: 13px; | |
| 1015 | - color: #1d2327; | |
| 1016 | -} | |
| 1017 | - | |
| 1018 | -.viz-add-new-item:hover, | |
| 1019 | -.viz-add-new-item:focus { | |
| 1020 | - background: #f6f7f7; | |
| 1021 | - outline: none; | |
| 1022 | -} | |
| 1023 | - | |
| 1024 | -@media screen and (max-width: 782px) { | |
| 1025 | - .viz-add-new-toggle { | |
| 1026 | - min-height: 33px; | |
| 1027 | - } | |
| 1028 | -} | |
| 1029 | - | |
| 1030 | -.toplevel_page_visualizer .button, | |
| 1031 | -.toplevel_page_visualizer button { | |
| 1032 | - min-height: 30px; | |
| 1033 | - line-height: 2.15384615; | |
| 1034 | -} | |