| 1 |
|
| 2 |
*, |
| 3 |
*::before, |
| 4 |
*::after { |
| 5 |
box-sizing: border-box; |
| 6 |
} |
| 7 |
|
| 8 |
body { |
| 9 |
height: auto; |
| 10 |
} |
| 11 |
|
| 12 |
#visualizer-icon { |
| 13 |
background-image: url("../images/icon.png"); |
| 14 |
} |
| 15 |
|
| 16 |
.visualizer-clearfix { |
| 17 |
*zoom: 1; |
| 18 |
} |
| 19 |
|
| 20 |
.visualizer-clearfix:before, |
| 21 |
.visualizer-clearfix:after { |
| 22 |
display: table; |
| 23 |
line-height: 0; |
| 24 |
content: ""; |
| 25 |
} |
| 26 |
|
| 27 |
.visualizer-clearfix:after { |
| 28 |
clear: both; |
| 29 |
} |
| 30 |
|
| 31 |
#visualizer-types { |
| 32 |
margin: 20px 0 10px; |
| 33 |
} |
| 34 |
|
| 35 |
.visualizer-list-item .visualizer-pro-only { |
| 36 |
text-decoration: line-through; |
| 37 |
} |
| 38 |
#visualizer-content-wrapper { |
| 39 |
padding: 0; |
| 40 |
} |
| 41 |
|
| 42 |
.visualizer-banner { |
| 43 |
margin: 40px 0; |
| 44 |
} |
| 45 |
|
| 46 |
#visualizer-library { |
| 47 |
width: auto; |
| 48 |
margin: 20px -10px; |
| 49 |
display: flex; |
| 50 |
flex-wrap: wrap; |
| 51 |
} |
| 52 |
|
| 53 |
#visualizer-library.visualizer-clearfix:before, |
| 54 |
#visualizer-library.visualizer-clearfix:after { |
| 55 |
display: none; |
| 56 |
} |
| 57 |
|
| 58 |
#visualizer-content-wrapper { |
| 59 |
width: 100%; |
| 60 |
} |
| 61 |
|
| 62 |
.loader { |
| 63 |
position: absolute; |
| 64 |
top: 50%; |
| 65 |
left: 50%; |
| 66 |
margin-top: -16px; |
| 67 |
margin-left: -16px; |
| 68 |
} |
| 69 |
#visualizer-library .items { |
| 70 |
padding: 0 10px; |
| 71 |
width: 33.3333%; |
| 72 |
} |
| 73 |
|
| 74 |
.visualizer-chart { |
| 75 |
margin: 0 0px 24px 0; |
| 76 |
padding: 5px; |
| 77 |
border: 1px solid #ddd; |
| 78 |
background-color: #efefef; |
| 79 |
box-shadow: 0 0 8px #ddd; |
| 80 |
} |
| 81 |
.visualizer-chart-canvas { |
| 82 |
position: relative; |
| 83 |
width: 30%; |
| 84 |
height: 18.75%; |
| 85 |
border: 1px solid #ddd; |
| 86 |
background-color: white; |
| 87 |
} |
| 88 |
|
| 89 |
.visualizer-nochart-canvas { |
| 90 |
background-image: url("../images/notfound.png?v=4"); |
| 91 |
background-repeat: repeat; |
| 92 |
} |
| 93 |
|
| 94 |
.visualizer-notfound { |
| 95 |
position: absolute; |
| 96 |
top: 50%; |
| 97 |
right: 0; |
| 98 |
left: 0; |
| 99 |
margin-top: -7px; |
| 100 |
font-size: 14px; |
| 101 |
font-weight: bold; |
| 102 |
text-align: center; |
| 103 |
} |
| 104 |
|
| 105 |
.visualizer-action-group{ |
| 106 |
display: flex; |
| 107 |
flex-wrap: wrap; |
| 108 |
align-items: center; |
| 109 |
justify-content: flex-end; |
| 110 |
} |
| 111 |
|
| 112 |
.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{ |
| 164 |
width: 16px; |
| 165 |
height: 16px; |
| 166 |
font-size: 16px; |
| 167 |
} |
| 168 |
.visualizer-chart-action .visualizer-action-label { |
| 169 |
font-size: 12px; |
| 170 |
line-height: 1; |
| 171 |
} |
| 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; |
| 176 |
} |
| 177 |
|
| 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; |
| 185 |
} |
| 186 |
.visualizer-chart-action.visualizer-chart-edit .dashicons { |
| 187 |
margin-right: 0; |
| 188 |
} |
| 189 |
.visualizer-chart-action.visualizer-chart-edit .tooltip-text { |
| 190 |
display: none; |
| 191 |
} |
| 192 |
.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action.visualizer-chart-delete:hover, |
| 193 |
.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action.visualizer-nochart-delete:hover { |
| 194 |
color: #DA1E28; |
| 195 |
} |
| 196 |
|
| 197 |
.visualizer-nochart-clone, |
| 198 |
.visualizer-nochart-delete, |
| 199 |
.visualizer-nochart-shortcode, |
| 200 |
.visualizer-nochart-export, |
| 201 |
.visualizer-nochart-image, |
| 202 |
.visualizer-nochart-edit { |
| 203 |
opacity: 0.5; |
| 204 |
|
| 205 |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; |
| 206 |
filter: alpha(opacity=50); |
| 207 |
} |
| 208 |
|
| 209 |
.visualizer-chart-footer { |
| 210 |
margin-top: 4px; |
| 211 |
width: 100%; |
| 212 |
} |
| 213 |
|
| 214 |
.visualizer-list-item { |
| 215 |
float: left; |
| 216 |
margin-right: 20px; |
| 217 |
} |
| 218 |
|
| 219 |
#visualizer-search form { |
| 220 |
text-align: right; |
| 221 |
} |
| 222 |
|
| 223 |
.visualizer-sidebar-box { |
| 224 |
display: block; |
| 225 |
padding: 30px 34px; |
| 226 |
background: white; |
| 227 |
} |
| 228 |
|
| 229 |
.visualizer-sidebar-box h3{ |
| 230 |
padding: 0; |
| 231 |
margin: 0 0 20px; |
| 232 |
display: block; |
| 233 |
width: 100%; |
| 234 |
font-size: 24px; |
| 235 |
font-weight: 600; |
| 236 |
line-height: 1.3; |
| 237 |
} |
| 238 |
|
| 239 |
.visualizer-sidebar-box ul { |
| 240 |
padding: 0; |
| 241 |
margin: 0; |
| 242 |
list-style: none; |
| 243 |
display: flex; |
| 244 |
flex-wrap: wrap; |
| 245 |
} |
| 246 |
|
| 247 |
.visualizer-sidebar-box ul li { |
| 248 |
color: #000; |
| 249 |
list-style: none; |
| 250 |
padding: 0; |
| 251 |
margin: 0; |
| 252 |
font-size: 16px; |
| 253 |
line-height: 1.8; |
| 254 |
position: relative; |
| 255 |
padding-left: 26px; |
| 256 |
} |
| 257 |
|
| 258 |
.visualizer-sidebar-box ul li .icon{ |
| 259 |
color: #00AA63; |
| 260 |
width: 16px; |
| 261 |
height: 16px; |
| 262 |
margin-top: 3px; |
| 263 |
position: absolute; |
| 264 |
left: 0; |
| 265 |
top: 3px; |
| 266 |
} |
| 267 |
.visualizer-sidebar-box .button { |
| 268 |
width: 155px; |
| 269 |
height: 39px; |
| 270 |
background: #007CBA; |
| 271 |
border-radius: 4px; |
| 272 |
display: flex; |
| 273 |
align-items: center; |
| 274 |
text-align: center; |
| 275 |
color: #FFFFFF; |
| 276 |
justify-content: center; |
| 277 |
} |
| 278 |
.visualizer-sidebar-box .button.button-secondary{ |
| 279 |
background: #ffffff; |
| 280 |
color: #007CBA; |
| 281 |
} |
| 282 |
.visualizer-sidebar-box .we-offer{ |
| 283 |
background-color: transparent; |
| 284 |
color: #007CBA; |
| 285 |
font-weight: 400; |
| 286 |
padding: 0px; |
| 287 |
font-size: 14px; |
| 288 |
font-style: italic; |
| 289 |
margin-bottom: 0; |
| 290 |
} |
| 291 |
.visualizer-sidebar-box .help-us-improve{ |
| 292 |
display: none; |
| 293 |
} |
| 294 |
.visualizer-chart.viz-pro { |
| 295 |
padding: 0; |
| 296 |
} |
| 297 |
.two-col .viz-pro .two-columns{ |
| 298 |
padding: 0; |
| 299 |
border: 1px solid #DDDDDD; |
| 300 |
border: 5px solid #007CBA; |
| 301 |
} |
| 302 |
#visualizer-library .items.two-col { |
| 303 |
width: 66.6666%; |
| 304 |
} |
| 305 |
|
| 306 |
|
| 307 |
/* The switch - the box around the slider */ |
| 308 |
.visualizer-switch { |
| 309 |
display: inline-block; |
| 310 |
position: relative; |
| 311 |
width: 30px; |
| 312 |
height: 18px; |
| 313 |
} |
| 314 |
|
| 315 |
/* Hide default HTML checkbox */ |
| 316 |
.visualizer-switch input { |
| 317 |
display: none; |
| 318 |
} |
| 319 |
|
| 320 |
/* The slider */ |
| 321 |
.visualizer-tracking sup { |
| 322 |
vertical-align: 3px; |
| 323 |
} |
| 324 |
|
| 325 |
.visualizer-slider { |
| 326 |
position: absolute; |
| 327 |
top: 0; |
| 328 |
right: 0; |
| 329 |
bottom: 0; |
| 330 |
left: 0; |
| 331 |
background-color: #ccc; |
| 332 |
cursor: pointer; |
| 333 |
-webkit-transition: 0.4s; |
| 334 |
transition: 0.4s; |
| 335 |
} |
| 336 |
|
| 337 |
.visualizer-slider:before { |
| 338 |
position: absolute; |
| 339 |
bottom: 1.5px; |
| 340 |
left: 2px; |
| 341 |
width: 15px; |
| 342 |
height: 15px; |
| 343 |
background-color: white; |
| 344 |
content: ""; |
| 345 |
-webkit-transition: 0.4s; |
| 346 |
transition: 0.4s; |
| 347 |
} |
| 348 |
|
| 349 |
input:checked + .visualizer-slider { |
| 350 |
background-color: #0085ba; |
| 351 |
} |
| 352 |
|
| 353 |
input:focus + .visualizer-slider { |
| 354 |
box-shadow: 0 0 1px #0085ba; |
| 355 |
} |
| 356 |
|
| 357 |
input:checked + .visualizer-slider:before { |
| 358 |
-webkit-transform: translateX(11px); |
| 359 |
-ms-transform: translateX(11px); |
| 360 |
transform: translateX(11px); |
| 361 |
} |
| 362 |
|
| 363 |
/* Rounded sliders */ |
| 364 |
.visualizer-slider.visualizer-round { |
| 365 |
border-radius: 34px; |
| 366 |
} |
| 367 |
|
| 368 |
.visualizer-slider.visualizer-round:before { |
| 369 |
border-radius: 50%; |
| 370 |
} |
| 371 |
|
| 372 |
.visualizer-tracking p small sup { |
| 373 |
margin-left: -3px; |
| 374 |
} |
| 375 |
|
| 376 |
.visualizer-tracking p { |
| 377 |
padding-left: 14px; |
| 378 |
color: #23282d; |
| 379 |
font-size: 12px; |
| 380 |
line-height: 12px; |
| 381 |
text-align: left; |
| 382 |
} |
| 383 |
|
| 384 |
.visualizer-tracking span { |
| 385 |
margin-left: 10px; |
| 386 |
color: #23282d; |
| 387 |
background: none; |
| 388 |
font-size: 14px; |
| 389 |
font-weight: bold; |
| 390 |
} |
| 391 |
|
| 392 |
#visualizer-content-wrapper { |
| 393 |
display: table; |
| 394 |
} |
| 395 |
|
| 396 |
#visualizer-sidebar h3 { |
| 397 |
margin-top: 0; |
| 398 |
} |
| 399 |
|
| 400 |
#visualizer-sidebar.two-columns .visualizer-sidebar-box ul li { |
| 401 |
width: calc(50% - 26px) |
| 402 |
} |
| 403 |
#visualizer-sidebar.one-columns .visualizer-sidebar-box ul li { |
| 404 |
width: 100%; |
| 405 |
} |
| 406 |
#visualizer-sidebar.one-columns .visualizer-sidebar-box p { |
| 407 |
margin-top: 8px; |
| 408 |
} |
| 409 |
#visualizer-sidebar .visualizer-sidebar-box p { |
| 410 |
margin-bottom: 0; |
| 411 |
} |
| 412 |
#visualizer-sidebar .visualizer-sidebar-box p.vz-sidebar-box-action { |
| 413 |
display: flex; |
| 414 |
gap: 20px; |
| 415 |
margin-top: 25px; |
| 416 |
} |
| 417 |
#visualizer-sidebar .visualizer-sidebar-box p.vz-sidebar-box-action .button{ |
| 418 |
width: 100%; |
| 419 |
text-align: center; |
| 420 |
} |
| 421 |
#visualizer-sidebar.one-columns { |
| 422 |
border-top: 5px solid #007CBA; |
| 423 |
} |
| 424 |
|
| 425 |
.visualizer-chart-title { |
| 426 |
padding-bottom: 5px; |
| 427 |
font-weight: bold; |
| 428 |
text-align: center; |
| 429 |
text-overflow: ellipsis; |
| 430 |
white-space: nowrap; |
| 431 |
overflow: hidden; |
| 432 |
} |
| 433 |
|
| 434 |
div.visualizer-library-form .viz-filter { |
| 435 |
vertical-align: middle; |
| 436 |
} |
| 437 |
|
| 438 |
button.media-modal-close { |
| 439 |
display: none !important; |
| 440 |
} |
| 441 |
|
| 442 |
.dataTables_wrapper { |
| 443 |
max-height: 300px; |
| 444 |
overflow: hidden !important; |
| 445 |
} |
| 446 |
|
| 447 |
/* datatables */ |
| 448 |
.dt-button { |
| 449 |
display: none !important; |
| 450 |
} |
| 451 |
|
| 452 |
/* chartjs */ |
| 453 |
#visualizer-library canvas.chartjs-render-monitor { |
| 454 |
height: 100% !important; |
| 455 |
} |
| 456 |
|
| 457 |
div#visualizer-types ul, div#visualizer-types form p { |
| 458 |
vertical-align: middle; |
| 459 |
margin: 0; |
| 460 |
} |
| 461 |
|
| 462 |
.visualizer-chart-status { |
| 463 |
padding: 3px 0; |
| 464 |
color: #aaa; |
| 465 |
text-shadow: 0 1px 0 #fff; |
| 466 |
} |
| 467 |
|
| 468 |
.visualizer-chart-status span.visualizer-error { |
| 469 |
float: right; |
| 470 |
} |
| 471 |
|
| 472 |
.visualizer-error i { |
| 473 |
color: green; |
| 474 |
} |
| 475 |
.visualizer-error i.error { |
| 476 |
color: red; |
| 477 |
cursor: pointer; |
| 478 |
} |
| 479 |
.goog-combobox input { |
| 480 |
min-height: auto; |
| 481 |
} |
| 482 |
.vz-library-chart-filter:not(:empty) { |
| 483 |
background-color: #ffffff; |
| 484 |
padding: 5px 0 5px 5px; |
| 485 |
border: 1px solid #ddd; |
| 486 |
} |
| 487 |
.google-visualization-controls-rangefilter { |
| 488 |
white-space: inherit !important; |
| 489 |
} |
| 490 |
.visualizer-languages-list { |
| 491 |
text-align: right; |
| 492 |
} |
| 493 |
.visualizer-languages-list a { |
| 494 |
text-decoration: none; |
| 495 |
display: inline-block; |
| 496 |
margin-left: 3px; |
| 497 |
padding: 0; |
| 498 |
border: none; |
| 499 |
outline: none; |
| 500 |
box-shadow: none; |
| 501 |
} |
| 502 |
.visualizer-languages-list a:focus { |
| 503 |
border: none; |
| 504 |
outline: none; |
| 505 |
box-shadow: none; |
| 506 |
} |
| 507 |
.visualizer-languages-list:not(.only-pro) i { |
| 508 |
display: none; |
| 509 |
} |
| 510 |
.visualizer-languages-list:not(.only-pro) a:hover img { |
| 511 |
display: none; |
| 512 |
} |
| 513 |
.visualizer-languages-list:not(.only-pro) a:hover img + i { |
| 514 |
display: block; |
| 515 |
} |
| 516 |
.visualizer-languages-list.only-pro a:last-child { |
| 517 |
display: none; |
| 518 |
} |
| 519 |
.visualizer-languages-list.only-pro:hover a:not(:last-child) { |
| 520 |
display: none; |
| 521 |
} |
| 522 |
.visualizer-languages-list.only-pro:hover a:last-child { |
| 523 |
display: block; |
| 524 |
} |
| 525 |
.visualizer-action-left { |
| 526 |
float: left; |
| 527 |
} |
| 528 |
.visualizer-action-right { |
| 529 |
float: right; |
| 530 |
} |
| 531 |
@media (-webkit-min-device-pixel-ratio: 2) and (min-width: 1000px) and (max-width: 1600px) { |
| 532 |
#visualizer-sidebar.one-columns .visualizer-sidebar-box ul li:nth-child(+n+7) { |
| 533 |
display: none; |
| 534 |
} |
| 535 |
} |
| 536 |
@media (max-width: 1500px) { |
| 537 |
#visualizer-library .items .viz-pro{ |
| 538 |
height: 100%; |
| 539 |
padding-bottom: 24px; |
| 540 |
} |
| 541 |
#visualizer-library .items .viz-pro .one-columns{ |
| 542 |
height: 100%; |
| 543 |
} |
| 544 |
#visualizer-library .items .viz-pro .visualizer-sidebar-box{ |
| 545 |
height: 100%; |
| 546 |
} |
| 547 |
#visualizer-library .items .viz-pro.two-columns{ |
| 548 |
padding-bottom: 0; |
| 549 |
} |
| 550 |
#visualizer-sidebar.one-columns .visualizer-sidebar-box ul li:nth-child(+n+7) { |
| 551 |
display: none; |
| 552 |
} |
| 553 |
.visualizer-chart{ |
| 554 |
height: calc(100% - 24px); |
| 555 |
} |
| 556 |
} |
| 557 |
|
| 558 |
|
| 559 |
|
| 560 |
.vizualizer-renew-notice-overlay { |
| 561 |
display: none; |
| 562 |
position: fixed; |
| 563 |
top: 0; |
| 564 |
left: 0; |
| 565 |
width: 100%; |
| 566 |
height: 100%; |
| 567 |
background-color: rgba(0, 0, 0, 0.5); |
| 568 |
z-index: 999; |
| 569 |
} |
| 570 |
|
| 571 |
.vizualizer-renew-notice-popup { |
| 572 |
display: none; |
| 573 |
position: fixed; |
| 574 |
top: 50%; |
| 575 |
left: 50%; |
| 576 |
transform: translate(-50%, -50%); |
| 577 |
background-color: #fff; |
| 578 |
z-index: 1000; |
| 579 |
padding: 20px; |
| 580 |
border: 1px solid #ccc; |
| 581 |
border-radius: 8px; |
| 582 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
| 583 |
max-width: 400px; |
| 584 |
font-weight: bold; |
| 585 |
margin-bottom: 20px; |
| 586 |
} |
| 587 |
|
| 588 |
.vizualizer-renew-notice-heading { |
| 589 |
color: #d32f2f; |
| 590 |
text-align: left; |
| 591 |
margin-bottom: 10px; |
| 592 |
} |
| 593 |
|
| 594 |
.vizualizer-renew-notice-message { |
| 595 |
word-wrap: break-word; |
| 596 |
width: 250px; |
| 597 |
} |
| 598 |
|
| 599 |
.vizualizer-renew-notice-buttons-container { |
| 600 |
display: grid; |
| 601 |
grid-template-columns: 1fr; |
| 602 |
gap: 10px; |
| 603 |
text-align: center; |
| 604 |
margin-top: 20px; |
| 605 |
} |
| 606 |
|
| 607 |
.vizualizer-renew-notice-button { |
| 608 |
padding: 10px 20px; |
| 609 |
cursor: pointer; |
| 610 |
color: white; |
| 611 |
border: none; |
| 612 |
text-align: center; |
| 613 |
text-decoration: none; |
| 614 |
display: inline-block; |
| 615 |
font-size: 16px; |
| 616 |
width: 200px; |
| 617 |
height: 50px; |
| 618 |
border-radius: 4px; |
| 619 |
transition: background-color 0.3s; |
| 620 |
font-weight: bold; |
| 621 |
margin-top: 10px; |
| 622 |
} |
| 623 |
|
| 624 |
.vizualizer-renew-notice-renew-button { |
| 625 |
background-color: #008CBA; |
| 626 |
} |
| 627 |
|
| 628 |
.vizualizer-renew-notice-activate-button { |
| 629 |
background-color: #4CAF50; |
| 630 |
} |
| 631 |
|
| 632 |
.vizualizer-renew-notice-close-icon { |
| 633 |
position: absolute; |
| 634 |
top: -10px; |
| 635 |
right: -70px; |
| 636 |
cursor: pointer; |
| 637 |
color: #333; |
| 638 |
background: none; |
| 639 |
border: none; |
| 640 |
padding: 0; |
| 641 |
outline: none; |
| 642 |
/* Reset button styles */ |
| 643 |
display: inline-block; |
| 644 |
font: inherit; |
| 645 |
text-align: inherit; |
| 646 |
text-decoration: none; |
| 647 |
} |
| 648 |
|
| 649 |
/* ── View toggle buttons ── */ |
| 650 |
span.viz-view-toggle-group { |
| 651 |
display: inline-flex; |
| 652 |
align-items: center; |
| 653 |
gap: 4px; |
| 654 |
margin-left: 0; |
| 655 |
margin-right: 8px; |
| 656 |
vertical-align: middle; |
| 657 |
border: 1px solid #c3c4c7; |
| 658 |
border-radius: 4px; |
| 659 |
padding: 1px; |
| 660 |
background: #f6f7f7; |
| 661 |
} |
| 662 |
|
| 663 |
.viz-view-toggle { |
| 664 |
display: inline-flex; |
| 665 |
align-items: center; |
| 666 |
justify-content: center; |
| 667 |
width: 28px; |
| 668 |
height: 28px; |
| 669 |
padding: 0; |
| 670 |
cursor: pointer; |
| 671 |
background: transparent; |
| 672 |
border: none; |
| 673 |
border-radius: 3px; |
| 674 |
color: #646970; |
| 675 |
line-height: 1; |
| 676 |
text-decoration: none; |
| 677 |
} |
| 678 |
|
| 679 |
.viz-view-toggle.active { |
| 680 |
background: #007CBA; |
| 681 |
color: #fff; |
| 682 |
} |
| 683 |
|
| 684 |
.viz-view-toggle:hover:not(.active) { |
| 685 |
background: #e0e0e0; |
| 686 |
color: #1d2327; |
| 687 |
} |
| 688 |
|
| 689 |
.viz-view-toggle:focus { |
| 690 |
outline: 2px solid #007CBA; |
| 691 |
outline-offset: 0; |
| 692 |
box-shadow: none; |
| 693 |
} |
| 694 |
|
| 695 |
/* ── Edit button — more visible ── */ |
| 696 |
.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action.visualizer-chart-edit { |
| 697 |
display: flex; |
| 698 |
} |
| 699 |
|
| 700 |
.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action.visualizer-chart-edit:hover, |
| 701 |
.visualizer-action-group:not(.visualizer-nochart) .visualizer-chart-action.visualizer-chart-edit:focus { |
| 702 |
background-color: #0069a6 !important; |
| 703 |
color: #fff !important; |
| 704 |
} |
| 705 |
|
| 706 |
/* ── Compact upsell banner ── */ |
| 707 |
#visualizer-library .items--upsell { |
| 708 |
width: 100%; |
| 709 |
} |
| 710 |
|
| 711 |
.viz-upsell-banner { |
| 712 |
display: flex; |
| 713 |
align-items: center; |
| 714 |
gap: 12px; |
| 715 |
background: #fff; |
| 716 |
border-left: 4px solid #007CBA; |
| 717 |
padding: 12px 16px; |
| 718 |
margin-bottom: 10px; |
| 719 |
} |
| 720 |
|
| 721 |
.viz-upsell-banner__icon { |
| 722 |
color: #007CBA; |
| 723 |
font-size: 20px; |
| 724 |
flex-shrink: 0; |
| 725 |
} |
| 726 |
|
| 727 |
.viz-upsell-banner__text { |
| 728 |
flex: 1; |
| 729 |
display: flex; |
| 730 |
flex-direction: column; |
| 731 |
gap: 2px; |
| 732 |
} |
| 733 |
|
| 734 |
.viz-upsell-banner__text strong { |
| 735 |
font-size: 13px; |
| 736 |
font-weight: 600; |
| 737 |
color: #1d2327; |
| 738 |
} |
| 739 |
|
| 740 |
.viz-upsell-banner__text span { |
| 741 |
font-size: 12px; |
| 742 |
color: #50575e; |
| 743 |
} |
| 744 |
|
| 745 |
.viz-upsell-banner__actions { |
| 746 |
display: flex; |
| 747 |
gap: 8px; |
| 748 |
flex-shrink: 0; |
| 749 |
} |
| 750 |
|
| 751 |
/* ── Chart type badge (list view only) ── */ |
| 752 |
.viz-chart-type-badge { |
| 753 |
display: none; |
| 754 |
font-size: 11px; |
| 755 |
font-weight: 500; |
| 756 |
text-transform: capitalize; |
| 757 |
background: #e8f0f8; |
| 758 |
color: #007CBA; |
| 759 |
border: 1px solid #c3daf9; |
| 760 |
border-radius: 10px; |
| 761 |
padding: 2px 8px; |
| 762 |
white-space: nowrap; |
| 763 |
flex-shrink: 0; |
| 764 |
} |
| 765 |
|
| 766 |
/* ── List view: WP-style table ── */ |
| 767 |
#visualizer-library.view-list { |
| 768 |
display: block; |
| 769 |
margin: 20px 0; |
| 770 |
} |
| 771 |
|
| 772 |
.viz-charts-table { |
| 773 |
border-collapse: collapse; |
| 774 |
width: 100%; |
| 775 |
} |
| 776 |
|
| 777 |
.viz-charts-table thead th { |
| 778 |
padding: 10px 12px; |
| 779 |
font-size: 12px; |
| 780 |
font-weight: 700; |
| 781 |
color: #1d2327; |
| 782 |
text-align: left; |
| 783 |
background: #f6f7f7; |
| 784 |
border-bottom: 2px solid #c3c4c7; |
| 785 |
white-space: nowrap; |
| 786 |
} |
| 787 |
|
| 788 |
.viz-charts-table tbody tr { |
| 789 |
background: #fff; |
| 790 |
border-bottom: 1px solid #f0f0f1; |
| 791 |
transition: background 0.1s; |
| 792 |
} |
| 793 |
|
| 794 |
.viz-charts-table tbody tr:hover { |
| 795 |
background: #f6f7f7; |
| 796 |
} |
| 797 |
|
| 798 |
.viz-charts-table td { |
| 799 |
padding: 10px 12px; |
| 800 |
vertical-align: middle; |
| 801 |
font-size: 13px; |
| 802 |
color: #3c434a; |
| 803 |
} |
| 804 |
|
| 805 |
/* Column widths */ |
| 806 |
.viz-charts-table .col-id { |
| 807 |
width: 50px; |
| 808 |
font-weight: 600; |
| 809 |
color: #787c82; |
| 810 |
} |
| 811 |
|
| 812 |
.viz-charts-table .col-title { |
| 813 |
font-weight: 600; |
| 814 |
color: #1d2327; |
| 815 |
} |
| 816 |
|
| 817 |
.viz-charts-table .col-type { |
| 818 |
width: 110px; |
| 819 |
} |
| 820 |
|
| 821 |
.viz-charts-table .col-shortcode { |
| 822 |
width: 260px; |
| 823 |
} |
| 824 |
|
| 825 |
.viz-charts-table .col-actions { |
| 826 |
width: 1%; |
| 827 |
white-space: nowrap; |
| 828 |
} |
| 829 |
|
| 830 |
/* Type badge in table */ |
| 831 |
.viz-charts-table .viz-chart-type-badge { |
| 832 |
display: inline-block; |
| 833 |
} |
| 834 |
|
| 835 |
/* Shortcode cell */ |
| 836 |
.viz-shortcode-display { |
| 837 |
display: inline-block; |
| 838 |
font-size: 11px; |
| 839 |
background: #f6f7f7; |
| 840 |
border: 1px solid #ddd; |
| 841 |
border-radius: 3px; |
| 842 |
padding: 3px 7px; |
| 843 |
color: #50575e; |
| 844 |
white-space: nowrap; |
| 845 |
max-width: 260px; |
| 846 |
overflow: hidden; |
| 847 |
text-overflow: ellipsis; |
| 848 |
vertical-align: middle; |
| 849 |
font-family: Consolas, Monaco, monospace; |
| 850 |
cursor: pointer; |
| 851 |
transition: background 0.15s, border-color 0.15s; |
| 852 |
} |
| 853 |
|
| 854 |
.viz-shortcode-display:hover { |
| 855 |
background: #e8f0f8; |
| 856 |
border-color: #bfdbfe; |
| 857 |
color: #1d2327; |
| 858 |
} |
| 859 |
|
| 860 |
.viz-shortcode-display.viz-shortcode-copied { |
| 861 |
background: #dcfce7; |
| 862 |
border-color: #86efac; |
| 863 |
color: #15803d; |
| 864 |
} |
| 865 |
|
| 866 |
/* Action buttons in table: colored bordered icon buttons */ |
| 867 |
.viz-charts-table .visualizer-action-group { |
| 868 |
display: flex; |
| 869 |
flex-wrap: nowrap; |
| 870 |
gap: 4px; |
| 871 |
justify-content: flex-end; |
| 872 |
} |
| 873 |
|
| 874 |
.viz-charts-table .visualizer-chart-action { |
| 875 |
width: 32px; |
| 876 |
height: 32px; |
| 877 |
border: 1px solid #c3c4c7; |
| 878 |
border-radius: 4px; |
| 879 |
background: #fff; |
| 880 |
color: #646970; |
| 881 |
display: inline-flex; |
| 882 |
align-items: center; |
| 883 |
justify-content: center; |
| 884 |
} |
| 885 |
|
| 886 |
.viz-charts-table .visualizer-chart-action:hover { |
| 887 |
background: #f6f7f7; |
| 888 |
} |
| 889 |
|
| 890 |
.viz-charts-table .visualizer-chart-action.visualizer-chart-delete { |
| 891 |
border-color: #fca5a5; |
| 892 |
color: #dc2626; |
| 893 |
margin-right: 0; |
| 894 |
} |
| 895 |
|
| 896 |
.viz-charts-table .visualizer-chart-action.visualizer-chart-delete:hover { |
| 897 |
background: #fef2f2; |
| 898 |
} |
| 899 |
|
| 900 |
.viz-charts-table .visualizer-chart-action.visualizer-chart-shortcode { |
| 901 |
color: #2563eb; |
| 902 |
border-color: #bfdbfe; |
| 903 |
} |
| 904 |
|
| 905 |
.viz-charts-table .visualizer-chart-action.visualizer-chart-shortcode:hover { |
| 906 |
background: #eff6ff; |
| 907 |
} |
| 908 |
|
| 909 |
.viz-charts-table .visualizer-chart-action.visualizer-chart-clone, |
| 910 |
.viz-charts-table .visualizer-chart-action.visualizer-chart-export { |
| 911 |
color: #64748b; |
| 912 |
border-color: #cbd5e1; |
| 913 |
} |
| 914 |
|
| 915 |
.viz-charts-table .visualizer-chart-action.visualizer-chart-clone:hover, |
| 916 |
.viz-charts-table .visualizer-chart-action.visualizer-chart-export:hover { |
| 917 |
background: #f8fafc; |
| 918 |
} |
| 919 |
|
| 920 |
.viz-charts-table .visualizer-action-group .visualizer-chart-action.visualizer-chart-edit { |
| 921 |
width: auto; |
| 922 |
height: auto; |
| 923 |
padding: 0 8px; |
| 924 |
gap: 6px; |
| 925 |
} |
| 926 |
|
| 927 |
/* Upsell banner after the table */ |
| 928 |
#visualizer-library.view-list .items--upsell { |
| 929 |
margin-top: 12px; |
| 930 |
} |
| 931 |
|
| 932 |
.viz-add-new-group { |
| 933 |
display: inline-flex; |
| 934 |
align-items: center; |
| 935 |
position: relative; |
| 936 |
} |
| 937 |
|
| 938 |
.viz-add-new-group .add-new-h2 { |
| 939 |
margin-right: 0; |
| 940 |
border-top-right-radius: 0; |
| 941 |
border-bottom-right-radius: 0; |
| 942 |
} |
| 943 |
|
| 944 |
.viz-add-new-toggle { |
| 945 |
display: inline-flex; |
| 946 |
align-items: center; |
| 947 |
justify-content: center; |
| 948 |
width: 28px; |
| 949 |
height: 30px; |
| 950 |
margin-left: 0; |
| 951 |
border: 1px solid #2271b1; |
| 952 |
border-left: 0; |
| 953 |
border-radius: 0 3px 3px 0; |
| 954 |
background: #f6f7f7; |
| 955 |
color: #2271b1; |
| 956 |
cursor: pointer; |
| 957 |
position: relative; |
| 958 |
top: -3px; |
| 959 |
} |
| 960 |
|
| 961 |
.viz-add-new-toggle .dashicons { |
| 962 |
font-size: 16px; |
| 963 |
line-height: 1; |
| 964 |
display: flex; |
| 965 |
justify-content: center; |
| 966 |
align-items: center; |
| 967 |
} |
| 968 |
|
| 969 |
.viz-add-new-toggle .dashicon { |
| 970 |
display: flex; |
| 971 |
justify-content: center; |
| 972 |
align-items: center; |
| 973 |
} |
| 974 |
|
| 975 |
.viz-add-new-toggle:hover, |
| 976 |
.viz-add-new-toggle:focus { |
| 977 |
background: #2271b1; |
| 978 |
color: #fff; |
| 979 |
outline: none; |
| 980 |
} |
| 981 |
|
| 982 |
.viz-add-new-menu { |
| 983 |
position: absolute; |
| 984 |
top: 100%; |
| 985 |
left: 0; |
| 986 |
margin-top: 2px; |
| 987 |
min-width: 190px; |
| 988 |
background: #fff; |
| 989 |
border: 1px solid #dcdcde; |
| 990 |
border-radius: 6px; |
| 991 |
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| 992 |
padding: 6px 0; |
| 993 |
display: none; |
| 994 |
z-index: 100001; |
| 995 |
} |
| 996 |
|
| 997 |
.viz-add-new-group.is-open .viz-add-new-menu { |
| 998 |
display: block; |
| 999 |
} |
| 1000 |
|
| 1001 |
.viz-add-new-item { |
| 1002 |
width: 100%; |
| 1003 |
text-align: left; |
| 1004 |
padding: 8px 12px; |
| 1005 |
background: none; |
| 1006 |
border: none; |
| 1007 |
cursor: pointer; |
| 1008 |
font-size: 13px; |
| 1009 |
color: #1d2327; |
| 1010 |
} |
| 1011 |
|
| 1012 |
.viz-add-new-item:hover, |
| 1013 |
.viz-add-new-item:focus { |
| 1014 |
background: #f6f7f7; |
| 1015 |
outline: none; |
| 1016 |
} |
| 1017 |
|