widgets-rtl.css (17559B)
1 /*! This file is auto-generated */ 2 /* General Widgets Styles */ 3 4 .widget { 5 margin: 0 auto 10px; 6 position: relative; 7 box-sizing: border-box; 8 } 9 10 .widget.open { 11 z-index: 99; 12 } 13 .widget.open:focus-within { 14 z-index: 100; 15 } 16 17 .widget-top { 18 font-size: 13px; 19 font-weight: 600; 20 background: #f6f7f7; 21 } 22 23 .widget-top .widget-action { 24 border: 0; 25 margin: 0; 26 padding: 10px; 27 background: none; 28 cursor: pointer; 29 } 30 31 .widget-title h3, 32 .widget-title h4 { 33 margin: 0; 34 padding: 15px; 35 font-size: 1em; 36 line-height: 1; 37 overflow: hidden; 38 white-space: nowrap; 39 text-overflow: ellipsis; 40 -webkit-user-select: none; 41 user-select: none; 42 } 43 44 .widgets-holder-wrap .widget-inside { 45 border-top: none; 46 padding: 1px 15px 15px 15px; 47 line-height: 1.23076923; 48 } 49 50 .widget.widget-dirty .widget-control-close-wrapper { 51 display: none; 52 } 53 54 .in-widget-title, 55 #widgets-right a.widget-control-edit, 56 #available-widgets .widget-description { 57 color: #646970; 58 } 59 60 .deleting .widget-title, 61 .deleting .widget-top .widget-action .toggle-indicator:before { 62 color: #a7aaad; 63 } 64 65 /* Media Widgets */ 66 .wp-core-ui .media-widget-control.selected .placeholder, 67 .wp-core-ui .media-widget-control.selected .not-selected, 68 .wp-core-ui .media-widget-control .selected { 69 display: none; 70 } 71 72 .media-widget-control.selected .selected { 73 display: inline-block; 74 } 75 76 .media-widget-buttons { 77 text-align: right; 78 margin-top: 0; 79 } 80 81 .media-widget-control .media-widget-buttons .button { 82 width: auto; 83 height: auto; 84 margin-top: 12px; 85 white-space: normal; 86 } 87 88 .media-widget-buttons .button:first-child { 89 margin-left: 8px; 90 } 91 92 .media-widget-control .attachment-media-view .button-add-media, 93 .media-widget-control .placeholder { 94 border: 1px dashed #c3c4c7; 95 box-sizing: border-box; 96 cursor: pointer; 97 line-height: 1.6; 98 padding: 9px 0; 99 position: relative; 100 text-align: center; 101 width: 100%; 102 } 103 104 .media-widget-control .attachment-media-view .button-add-media { 105 cursor: pointer; 106 background-color: #f0f0f1; 107 color: #2c3338; 108 } 109 110 .media-widget-control .attachment-media-view .button-add-media:hover { 111 background-color: #fff; 112 } 113 114 .media-widget-control .attachment-media-view .button-add-media:focus { 115 background-color: #fff; 116 border-style: solid; 117 border-color: #4f94d4; 118 box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); 119 /* Only visible in Windows High Contrast mode */ 120 outline: 2px solid transparent; 121 outline-offset: -2px; 122 } 123 124 .media-widget-control .media-widget-preview { 125 background: transparent; 126 text-align: center; 127 } 128 .media-widget-control .media-widget-preview .notice { 129 text-align: initial; 130 } 131 .media-frame .media-widget-embed-notice p code, 132 .media-widget-control .notice p code { 133 padding: 0 0 0 3px; 134 } 135 .media-frame .media-widget-embed-notice { 136 margin-top: 16px; 137 } 138 .media-widget-control .media-widget-preview img { 139 max-width: 100%; 140 vertical-align: middle; 141 background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); 142 background-position: 100% 0, 10px 10px; 143 background-size: 20px 20px; 144 } 145 .media-widget-control .media-widget-preview .wp-video-shortcode { 146 background: #000; 147 } 148 149 .media-frame.media-widget .media-toolbar-secondary { 150 min-width: 300px; 151 } 152 153 .media-frame.media-widget .image-details .embed-media-settings .setting.align, 154 .media-frame.media-widget .attachment-display-settings .setting.align, 155 .media-frame.media-widget .embed-media-settings .setting.align, 156 .media-frame.media-widget .embed-media-settings .legend-inline, 157 .media-frame.media-widget .embed-link-settings .setting.link-text, 158 .media-frame.media-widget .replace-attachment, 159 .media-frame.media-widget .checkbox-setting.autoplay { 160 display: none; 161 } 162 163 .media-widget-video-preview { 164 width: 100%; 165 } 166 167 .media-widget-video-link { 168 display: inline-block; 169 min-height: 132px; 170 width: 100%; 171 background: #000; 172 } 173 174 .media-widget-video-link .dashicons { 175 font: normal 60px/1 'dashicons'; 176 position: relative; 177 width: 100%; 178 top: -90px; 179 color: #fff; 180 text-decoration: none; 181 } 182 183 .media-widget-video-link.no-poster .dashicons { 184 top: 30px; 185 } 186 187 .media-frame #embed-url-field.invalid, 188 .media-widget-image-link > .link:invalid { 189 border: 1px solid #d63638; 190 } 191 192 .media-widget-image-link { 193 margin: 1em 0; 194 } 195 196 .media-widget-gallery-preview { 197 display: flex; 198 justify-content: flex-start; 199 flex-wrap: wrap; 200 margin: -1.79104477%; 201 } 202 203 .media-widget-preview.media_gallery, 204 .media-widget-preview.media_image { 205 cursor: pointer; 206 } 207 208 .media-widget-preview .placeholder { 209 background: #f0f0f1; 210 } 211 212 .media-widget-gallery-preview .gallery-item { 213 box-sizing: border-box; 214 width: 50%; 215 margin: 0; 216 background: transparent; 217 } 218 219 .media-widget-gallery-preview .gallery-item .gallery-icon { 220 margin: 4.5%; 221 } 222 223 /* 224 * Use targeted nth-last-child selectors to control the size of each image 225 * based on how many gallery items are present in the grid. 226 * See: https://alistapart.com/article/quantity-queries-for-css 227 */ 228 .media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child, 229 .media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child ~ .gallery-item, 230 .media-widget-gallery-preview .gallery-item:nth-last-child(n+5), 231 .media-widget-gallery-preview .gallery-item:nth-last-child(n+5) ~ .gallery-item, 232 .media-widget-gallery-preview .gallery-item:nth-last-child(n+6), 233 .media-widget-gallery-preview .gallery-item:nth-last-child(n+6) ~ .gallery-item { 234 max-width: 33.33%; 235 } 236 237 .media-widget-gallery-preview .gallery-item img { 238 height: auto; 239 vertical-align: bottom; 240 } 241 242 .media-widget-gallery-preview .gallery-icon { 243 position: relative; 244 } 245 246 .media-widget-gallery-preview .gallery-icon-placeholder { 247 position: absolute; 248 top: 0; 249 bottom: 0; 250 width: 100%; 251 box-sizing: border-box; 252 display: flex; 253 align-items: center; 254 justify-content: center; 255 background-color: rgba(0, 0, 0, 0.5); 256 } 257 258 .media-widget-gallery-preview .gallery-icon-placeholder-text { 259 font-weight: 600; 260 font-size: 2em; 261 color: #fff; 262 } 263 264 265 /* Widget Dragging Helpers */ 266 .widget.ui-draggable-dragging { 267 min-width: 100%; 268 } 269 270 .widget.ui-sortable-helper { 271 opacity: 0.8; 272 } 273 274 .widget-placeholder { 275 border: 1px dashed #c3c4c7; 276 margin: 0 auto 10px; 277 height: 45px; 278 width: 100%; 279 box-sizing: border-box; 280 } 281 282 #widgets-right .widget-placeholder { 283 margin-top: 0; 284 } 285 286 #widgets-right .closed .widget-placeholder { 287 height: 0; 288 border: 0; 289 margin-top: -10px; 290 } 291 292 /* Widget Sidebars */ 293 .sidebar-name { 294 position: relative; 295 box-sizing: border-box; 296 } 297 298 .js .sidebar-name { 299 cursor: pointer; 300 } 301 302 .sidebar-name .handlediv { 303 float: left; 304 width: 38px; 305 height: 38px; 306 border: 0; 307 margin: 0; 308 padding: 8px; 309 background: none; 310 cursor: pointer; 311 outline: none; 312 } 313 314 #widgets-right .sidebar-name .handlediv { 315 margin: 5px 0 0 3px; 316 } 317 318 .sidebar-name .handlediv:focus { 319 box-shadow: none; 320 /* Only visible in Windows High Contrast mode */ 321 outline: 1px solid transparent; 322 } 323 324 #widgets-left .sidebar-name .toggle-indicator { 325 display: none; 326 } 327 328 #widgets-left .widgets-holder-wrap.closed .sidebar-name .toggle-indicator, 329 #widgets-left .sidebar-name:hover .toggle-indicator, 330 #widgets-left .sidebar-name .handlediv:focus .toggle-indicator { 331 display: block; 332 } 333 334 .sidebar-name .toggle-indicator:before { 335 padding: 1px 0 1px 2px; 336 border-radius: 50%; 337 } 338 339 .sidebar-name .handlediv:focus .toggle-indicator:before { 340 box-shadow: 341 0 0 0 1px #4f94d4, 342 0 0 2px 1px rgba(79, 148, 212, 0.8); 343 } 344 345 .sidebar-name h2, 346 .sidebar-name h3 { 347 margin: 0; 348 padding: 8px 10px; 349 overflow: hidden; 350 white-space: nowrap; 351 } 352 353 .widgets-holder-wrap .description { 354 padding: 0 0 15px; 355 margin: 0; 356 font-style: normal; 357 color: #646970; 358 } 359 360 .widget-holder .description, 361 .inactive-sidebar .description { 362 color: #50575e; 363 } 364 365 #widgets-right .widgets-holder-wrap .description { 366 padding-right: 7px; 367 padding-left: 7px; 368 } 369 370 /* Widgets 2-col Layout */ 371 div.widget-liquid-left { 372 margin: 0; 373 width: 38%; 374 float: right; 375 } 376 377 div.widget-liquid-right { 378 float: left; 379 width: 58%; 380 } 381 382 /* Widgets Left - Available Widgets */ 383 384 div#widgets-left { 385 padding-top: 12px; 386 } 387 388 div#widgets-left .closed .sidebar-name, 389 div#widgets-left .inactive-sidebar.closed .sidebar-name { 390 margin-bottom: 10px; 391 } 392 393 div#widgets-left .sidebar-name h2, 394 div#widgets-left .sidebar-name h3 { 395 padding: 10px 0; 396 margin: 0 0 0 10px; 397 } 398 399 #widgets-left .widgets-holder-wrap, 400 div#widgets-left .widget-holder { 401 background: transparent; 402 border: none; 403 } 404 405 #widgets-left .widgets-holder-wrap { 406 border: none; 407 box-shadow: none; 408 } 409 410 #available-widgets .widget { 411 margin: 0; 412 } 413 414 #available-widgets .widget:nth-child(odd) { 415 clear: both; 416 } 417 418 #available-widgets .widget .widget-description { 419 display: block; 420 padding: 10px 15px; 421 font-size: 12px; 422 overflow-wrap: break-word; 423 word-wrap: break-word; 424 -ms-word-break: break-all; 425 word-break: break-word; 426 -webkit-hyphens: auto; 427 hyphens: auto; 428 } 429 430 #available-widgets #widget-list { 431 position: relative; 432 } 433 434 /* Inactive Sidebars */ 435 #widgets-left .inactive-sidebar { 436 clear: both; 437 width: 100%; 438 background: transparent; 439 padding: 0; 440 margin: 0 0 20px 0; 441 border: none; 442 box-shadow: none; 443 } 444 445 #widgets-left .inactive-sidebar.first { 446 margin-top: 40px; 447 } 448 449 /* Not sure what this is for... */ 450 div#widgets-left .inactive-sidebar .widget.expanded { 451 right: auto; 452 } 453 454 .widget-title-action { 455 float: left; 456 position: relative; 457 } 458 459 div#widgets-left .inactive-sidebar .widgets-sortables { 460 min-height: 42px; 461 padding: 0; 462 background: transparent; 463 margin: 0; 464 position: relative; 465 } 466 467 /* Widgets Right */ 468 469 div#widgets-right .sidebars-column-1, 470 div#widgets-right .sidebars-column-2 { 471 max-width: 450px; 472 } 473 474 div#widgets-right .widgets-holder-wrap { 475 margin: 10px 0 0 0; 476 } 477 478 div#widgets-right .sidebar-description { 479 min-height: 20px; 480 margin-top: -5px; 481 } 482 483 div#widgets-right .sidebar-name h2, 484 div#widgets-right .sidebar-name h3 { 485 padding: 15px 7px; 486 } 487 488 div#widgets-right .widget-top { 489 padding: 0; 490 } 491 492 div#widgets-right .widgets-sortables { 493 padding: 0 8px; 494 margin-bottom: 9px; 495 position: relative; 496 min-height: 123px; 497 } 498 499 div#widgets-right .closed .widgets-sortables { 500 min-height: 0; 501 margin-bottom: 0; 502 } 503 504 .sidebar-name .spinner, 505 .remove-inactive-widgets .spinner { 506 float: none; 507 position: relative; 508 top: -2px; 509 margin: -5px 5px; 510 } 511 512 /* Dragging a widget over a closed sidebar */ 513 #widgets-right .widgets-holder-wrap.widget-hover { 514 border-color: #787c82; 515 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); 516 } 517 518 /* Accessibility Mode */ 519 .widget-access-link { 520 float: left; 521 margin: -5px 10px 10px 0; 522 } 523 524 .widgets_access #widgets-left .widget .widget-top { 525 cursor: auto; 526 } 527 528 .widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description, 529 .widgets_access #wpwrap .widgets-holder-wrap.closed .widget, 530 .widgets_access #wpwrap .widget-control-edit { 531 display: block; 532 } 533 534 .widgets_access #widgets-left .widget .widget-top:hover, 535 .widgets_access #widgets-right .widget .widget-top:hover { 536 border-color: #dcdcde; 537 } 538 539 #available-widgets .widget-control-edit .edit, 540 #available-widgets .widget-action .edit, 541 #widgets-left .inactive-sidebar .widget-control-edit .add, 542 #widgets-left .inactive-sidebar .widget-action .add, 543 #widgets-right .widget-control-edit .add, 544 #widgets-right .widget-action .add { 545 display: none; 546 } 547 548 .widget-control-edit { 549 display: block; 550 color: #646970; 551 background: #f0f0f1; 552 padding: 0 15px; 553 line-height: 3.30769230; 554 border-right: 1px solid #dcdcde; 555 } 556 557 #widgets-left .widget-control-edit:hover, 558 #widgets-right .widget-control-edit:hover { 559 color: #fff; 560 background: #3c434a; 561 border-right: 0; 562 outline: 1px solid #3c434a; 563 } 564 565 .widgets-holder-wrap .sidebar-name, 566 .widgets-holder-wrap .sidebar-description { 567 -webkit-user-select: none; 568 user-select: none; 569 } 570 571 .editwidget { 572 margin: 0 auto; 573 } 574 575 .editwidget .widget-inside { 576 display: block; 577 padding: 0 15px; 578 } 579 580 .editwidget .widget-control-actions { 581 margin-top: 20px; 582 } 583 584 .js .widgets-holder-wrap.closed .widget, 585 .js .widgets-holder-wrap.closed .sidebar-description, 586 .js .widgets-holder-wrap.closed .remove-inactive-widgets, 587 .js .widgets-holder-wrap.closed .description, 588 .js .closed br.clear { 589 display: none; 590 } 591 592 .js .widgets-holder-wrap.closed .widget.ui-sortable-helper { 593 display: block; 594 } 595 596 /* Hide Widget Settings by Default */ 597 .widget-inside, 598 .widget-description { 599 display: none; 600 } 601 602 .widget-inside { 603 background: #fff; 604 } 605 606 .widget-inside select { 607 max-width: 100%; 608 } 609 610 /* Dragging widgets over the available widget area show's a "Deactivate" message */ 611 #removing-widget { 612 display: none; 613 font-weight: 400; 614 padding-right: 15px; 615 font-size: 12px; 616 line-height: 1; 617 color: #000; 618 } 619 620 .js #removing-widget { 621 color: #72aee6; 622 } 623 624 .widget-control-noform, 625 #access-off, 626 .widgets_access .widget-action, 627 .widgets_access .handlediv, 628 .widgets_access #access-on, 629 .widgets_access .widget-holder .description, 630 .no-js .widget-holder .description { 631 display: none; 632 } 633 634 .widgets_access .widget-holder, 635 .widgets_access #widget-list { 636 padding-top: 10px; 637 } 638 639 .widgets_access #access-off { 640 display: inline; 641 } 642 643 .widgets_access .sidebar-name, 644 .widgets_access .widget .widget-top { 645 cursor: default; 646 } 647 648 649 /* Widgets Area Chooser */ 650 .widget-liquid-left #widgets-left.chooser #available-widgets .widget, 651 .widget-liquid-left #widgets-left.chooser .inactive-sidebar { 652 transition: opacity 0.1s linear; 653 } 654 655 .widget-liquid-left #widgets-left.chooser #available-widgets .widget, 656 .widget-liquid-left #widgets-left.chooser .inactive-sidebar { 657 /* -webkit-filter: blur(1px); */ 658 opacity: 0.2; 659 pointer-events: none; 660 } 661 662 .widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question { 663 /* -webkit-filter: none; */ 664 opacity: 1; 665 pointer-events: auto; 666 } 667 668 .widgets-chooser ul, 669 #widgets-left .widget-in-question .widget-top, 670 #available-widgets .widget-top:hover, 671 div#widgets-right .widget-top:hover, 672 #widgets-left .widget-top:hover { 673 border-color: #8c8f94; 674 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); 675 } 676 677 .widgets-chooser ul.widgets-chooser-sidebars { 678 margin: 0; 679 list-style-type: none; 680 max-height: 300px; 681 overflow: auto; 682 } 683 684 .widgets-chooser { 685 display: none; 686 } 687 688 .widgets-chooser ul { 689 border: 1px solid #c3c4c7; 690 } 691 692 .widgets-chooser li { 693 border-bottom: 1px solid #c3c4c7; 694 background: #fff; 695 margin: 0; 696 position: relative; 697 } 698 699 .widgets-chooser .widgets-chooser-button { 700 width: 100%; 701 padding: 10px 35px 10px 15px; 702 background: transparent; 703 border: 0; 704 box-sizing: border-box; 705 text-align: right; 706 cursor: pointer; 707 transition: background 0.2s ease-in-out; 708 } 709 710 /* @todo looks like these hover/focus states are overridden by .widgets-chooser-selected */ 711 .widgets-chooser .widgets-chooser-button:hover, 712 .widgets-chooser .widgets-chooser-button:focus { 713 outline: none; 714 text-decoration: underline; 715 } 716 717 .widgets-chooser li:last-child { 718 border: none; 719 } 720 721 .widgets-chooser .widgets-chooser-selected .widgets-chooser-button { 722 background: #2271b1; 723 color: #fff; 724 } 725 726 .widgets-chooser .widgets-chooser-selected:before { 727 content: "\f147"; 728 display: block; 729 -webkit-font-smoothing: antialiased; 730 font: normal 26px/1 dashicons; 731 color: #fff; 732 position: absolute; 733 top: 7px; 734 right: 5px; 735 } 736 737 .widgets-chooser .widgets-chooser-actions { 738 padding: 10px 0 12px 0; 739 text-align: center; 740 } 741 742 #available-widgets .widget .widget-top { 743 cursor: pointer; 744 } 745 746 #available-widgets .widget.ui-draggable-dragging .widget-top { 747 cursor: move; 748 } 749 750 /* =Specific widget styling 751 -------------------------------------------------------------- */ 752 .text-widget-fields { 753 position: relative; 754 } 755 .text-widget-fields [hidden] { 756 display: none; 757 } 758 .text-widget-fields .wp-pointer.wp-pointer-top { 759 position: absolute; 760 z-index: 3; 761 top: 100px; 762 left: 10px; 763 right: 10px; 764 } 765 .text-widget-fields .wp-pointer .wp-pointer-arrow { 766 right: auto; 767 left: 15px; 768 } 769 .text-widget-fields .wp-pointer .wp-pointer-buttons { 770 line-height: 1.4; 771 } 772 773 .custom-html-widget-fields > p > .CodeMirror { 774 border: 1px solid #dcdcde; 775 } 776 .custom-html-widget-fields code { 777 padding-top: 1px; 778 padding-bottom: 1px; 779 } 780 ul.CodeMirror-hints { 781 z-index: 101; /* Due to z-index 100 set on .widget.open */ 782 } 783 .widget-control-actions .custom-html-widget-save-button.button.validation-blocked { 784 cursor: not-allowed; 785 } 786 787 /* =Media Queries 788 -------------------------------------------------------------- */ 789 790 @media screen and (max-width: 782px) { 791 .widgets-holder-wrap .widget-inside input[type="checkbox"], 792 .widgets-holder-wrap .widget-inside input[type="radio"], 793 .editwidget .widget-inside input[type="checkbox"], /* Selectors for the "accessibility mode" page. */ 794 .editwidget .widget-inside input[type="radio"] { 795 margin: 0.25rem 0 0.25rem 0.25rem; 796 } 797 } 798 799 @media screen and (max-width: 480px) { 800 div.widget-liquid-left { 801 width: 100%; 802 float: none; 803 border-left: none; 804 padding-left: 0; 805 } 806 807 #widgets-left .sidebar-name { 808 margin-left: 0; 809 } 810 811 #widgets-left #available-widgets .widget-top { 812 margin-left: 0; 813 } 814 815 #widgets-left .inactive-sidebar .widgets-sortables { 816 margin-left: 0; 817 } 818 819 div.widget-liquid-right { 820 width: 100%; 821 float: none; 822 } 823 824 div.widget { 825 max-width: 480px; 826 } 827 828 .widget-access-link { 829 float: none; 830 margin: 15px 0 0 0; 831 } 832 } 833 834 @media screen and (max-width: 320px) { 835 div.widget { 836 max-width: 320px; 837 } 838 } 839 840 @media only screen and (min-width: 1250px) { 841 #widgets-left #available-widgets .widget { 842 width: 49%; 843 float: right; 844 } 845 846 .widget.ui-draggable-dragging { 847 min-width: 49%; 848 } 849 850 #widgets-left #available-widgets .widget:nth-child(even) { 851 float: left; 852 } 853 854 #widgets-right .sidebars-column-1, 855 #widgets-right .sidebars-column-2 { 856 float: right; 857 width: 49%; 858 } 859 860 #widgets-right .sidebars-column-1 { 861 margin-left: 2%; 862 } 863 864 #widgets-right.single-sidebar .sidebars-column-1, 865 #widgets-right.single-sidebar .sidebars-column-2 { 866 float: none; 867 width: 100%; 868 margin: 0; 869 } 870 }