[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
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; 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: 0 0 0 2px #2271b1; 341 /* Only visible in Windows High Contrast mode */ 342 outline: 2px solid transparent; 343 } 344 345 .sidebar-name h2, 346 .sidebar-name h3 { 347 margin: 0; 348 padding: 8px 10px; 349 overflow: hidden; 350 white-space: normal; 351 line-height: 1.5; 352 } 353 354 .widgets-holder-wrap .description { 355 padding: 0 0 15px; 356 margin: 0; 357 font-style: normal; 358 color: #646970; 359 } 360 361 .widget-holder .description, 362 .inactive-sidebar .description { 363 color: #50575e; 364 } 365 366 #widgets-right .widgets-holder-wrap .description { 367 padding-right: 7px; 368 padding-left: 7px; 369 } 370 371 /* Widgets 2-col Layout */ 372 div.widget-liquid-left { 373 margin: 0; 374 width: 38%; 375 float: right; 376 } 377 378 div.widget-liquid-right { 379 float: left; 380 width: 58%; 381 } 382 383 /* Widgets Left - Available Widgets */ 384 385 div#widgets-left { 386 padding-top: 12px; 387 } 388 389 div#widgets-left .closed .sidebar-name, 390 div#widgets-left .inactive-sidebar.closed .sidebar-name { 391 margin-bottom: 10px; 392 } 393 394 div#widgets-left .sidebar-name h2, 395 div#widgets-left .sidebar-name h3 { 396 padding: 10px 0; 397 margin: 0 0 0 10px; 398 } 399 400 #widgets-left .widgets-holder-wrap, 401 div#widgets-left .widget-holder { 402 background: transparent; 403 border: none; 404 } 405 406 #widgets-left .widgets-holder-wrap { 407 border: none; 408 box-shadow: none; 409 } 410 411 #available-widgets .widget { 412 margin: 0; 413 } 414 415 #available-widgets .widget:nth-child(odd) { 416 clear: both; 417 } 418 419 #available-widgets .widget .widget-description { 420 display: block; 421 padding: 10px 15px; 422 font-size: 12px; 423 overflow-wrap: break-word; 424 word-wrap: break-word; 425 -ms-word-break: break-all; 426 word-break: break-word; 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; 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; 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 15px 15px; 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 .sidebar-name .spinner { 513 position: absolute; 514 top: 18px; 515 left: 30px; 516 } 517 518 /* Dragging a widget over a closed sidebar */ 519 #widgets-right .widgets-holder-wrap.widget-hover { 520 border-color: #787c82; 521 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); 522 } 523 524 /* Accessibility Mode */ 525 .widget-access-link { 526 float: left; 527 margin: -5px 10px 10px 0; 528 } 529 530 .widgets_access #widgets-left .widget .widget-top { 531 cursor: auto; 532 } 533 534 .widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description, 535 .widgets_access #wpwrap .widgets-holder-wrap.closed .widget, 536 .widgets_access #wpwrap .widget-control-edit { 537 display: block; 538 } 539 540 .widgets_access #widgets-left .widget .widget-top:hover, 541 .widgets_access #widgets-right .widget .widget-top:hover { 542 border-color: #dcdcde; 543 } 544 545 #available-widgets .widget-control-edit .edit, 546 #available-widgets .widget-action .edit, 547 #widgets-left .inactive-sidebar .widget-control-edit .add, 548 #widgets-left .inactive-sidebar .widget-action .add, 549 #widgets-right .widget-control-edit .add, 550 #widgets-right .widget-action .add { 551 display: none; 552 } 553 554 .widget-control-edit { 555 display: block; 556 color: #646970; 557 background: #f0f0f1; 558 padding: 0 15px; 559 line-height: 3.30769230; 560 border-right: 1px solid #dcdcde; 561 } 562 563 #widgets-left .widget-control-edit:hover, 564 #widgets-right .widget-control-edit:hover { 565 color: #fff; 566 background: #3c434a; 567 border-right: 0; 568 outline: 1px solid #3c434a; 569 } 570 571 .widgets-holder-wrap .sidebar-name, 572 .widgets-holder-wrap .sidebar-description { 573 -webkit-user-select: none; 574 user-select: none; 575 } 576 577 .editwidget { 578 margin: 0 auto; 579 } 580 581 .editwidget .widget-inside { 582 display: block; 583 padding: 0 15px; 584 } 585 586 .editwidget .widget-control-actions { 587 margin-top: 20px; 588 } 589 590 .js .widgets-holder-wrap.closed .widget, 591 .js .widgets-holder-wrap.closed .sidebar-description, 592 .js .widgets-holder-wrap.closed .remove-inactive-widgets, 593 .js .widgets-holder-wrap.closed .description, 594 .js .closed br.clear { 595 display: none; 596 } 597 598 .js .widgets-holder-wrap.closed .widget.ui-sortable-helper { 599 display: block; 600 } 601 602 /* Hide Widget Settings by Default */ 603 .widget-inside, 604 .widget-description { 605 display: none; 606 } 607 608 .widget-inside { 609 background: #fff; 610 } 611 612 .widget-inside select { 613 max-width: 100%; 614 } 615 616 /* Dragging widgets over the available widget area show's a "Deactivate" message */ 617 #removing-widget { 618 display: none; 619 font-weight: 400; 620 padding-right: 15px; 621 font-size: 12px; 622 line-height: 1; 623 color: #000; 624 } 625 626 .js #removing-widget { 627 color: #72aee6; 628 } 629 630 .widget-control-noform, 631 #access-off, 632 .widgets_access .widget-action, 633 .widgets_access .handlediv, 634 .widgets_access #access-on, 635 .widgets_access .widget-holder .description, 636 .no-js .widget-holder .description { 637 display: none; 638 } 639 640 .widgets_access .widget-holder, 641 .widgets_access #widget-list { 642 padding-top: 10px; 643 } 644 645 .widgets_access #access-off { 646 display: inline; 647 } 648 649 .widgets_access .sidebar-name, 650 .widgets_access .widget .widget-top { 651 cursor: default; 652 } 653 654 655 /* Widgets Area Chooser */ 656 .widget-liquid-left #widgets-left.chooser #available-widgets .widget, 657 .widget-liquid-left #widgets-left.chooser .inactive-sidebar { 658 transition: opacity 0.1s linear; 659 } 660 661 .widget-liquid-left #widgets-left.chooser #available-widgets .widget, 662 .widget-liquid-left #widgets-left.chooser .inactive-sidebar { 663 /* -webkit-filter: blur(1px); */ 664 opacity: 0.2; 665 pointer-events: none; 666 } 667 668 .widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question { 669 /* -webkit-filter: none; */ 670 opacity: 1; 671 pointer-events: auto; 672 } 673 674 .widgets-chooser ul, 675 #widgets-left .widget-in-question .widget-top, 676 #available-widgets .widget-top:hover, 677 div#widgets-right .widget-top:hover, 678 #widgets-left .widget-top:hover { 679 border-color: #8c8f94; 680 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); 681 } 682 683 .widgets-chooser ul.widgets-chooser-sidebars { 684 margin: 0; 685 list-style-type: none; 686 max-height: 300px; 687 overflow: auto; 688 } 689 690 .widgets-chooser { 691 display: none; 692 } 693 694 .widgets-chooser ul { 695 border: 1px solid #c3c4c7; 696 } 697 698 .widgets-chooser li { 699 border-bottom: 1px solid #c3c4c7; 700 background: #fff; 701 margin: 0; 702 position: relative; 703 } 704 705 .widgets-chooser .widgets-chooser-button { 706 width: 100%; 707 padding: 10px 35px 10px 15px; 708 background: transparent; 709 border: 0; 710 box-sizing: border-box; 711 text-align: right; 712 cursor: pointer; 713 transition: background 0.2s ease-in-out; 714 } 715 716 /* @todo looks like these hover/focus states are overridden by .widgets-chooser-selected */ 717 .widgets-chooser .widgets-chooser-button:hover, 718 .widgets-chooser .widgets-chooser-button:focus { 719 outline: none; 720 text-decoration: underline; 721 } 722 723 .widgets-chooser li:last-child { 724 border: none; 725 } 726 727 .widgets-chooser .widgets-chooser-selected .widgets-chooser-button { 728 background: #2271b1; 729 color: #fff; 730 } 731 732 .widgets-chooser .widgets-chooser-selected:before { 733 content: "\f147"; 734 display: block; 735 -webkit-font-smoothing: antialiased; 736 font: normal 26px/1 dashicons; 737 color: #fff; 738 position: absolute; 739 top: 7px; 740 right: 5px; 741 } 742 743 .widgets-chooser .widgets-chooser-actions { 744 padding: 10px 0 12px; 745 text-align: center; 746 } 747 748 #available-widgets .widget .widget-top { 749 cursor: pointer; 750 } 751 752 #available-widgets .widget.ui-draggable-dragging .widget-top { 753 cursor: move; 754 } 755 756 /* =Specific widget styling 757 -------------------------------------------------------------- */ 758 .text-widget-fields { 759 position: relative; 760 } 761 .text-widget-fields [hidden] { 762 display: none; 763 } 764 .text-widget-fields .wp-pointer.wp-pointer-top { 765 position: absolute; 766 z-index: 3; 767 top: 100px; 768 left: 10px; 769 right: 10px; 770 } 771 .text-widget-fields .wp-pointer .wp-pointer-arrow { 772 right: auto; 773 left: 15px; 774 } 775 .text-widget-fields .wp-pointer .wp-pointer-buttons { 776 line-height: 1.4; 777 } 778 779 .custom-html-widget-fields > p > .CodeMirror { 780 border: 1px solid #dcdcde; 781 } 782 .custom-html-widget-fields code { 783 padding-top: 1px; 784 padding-bottom: 1px; 785 } 786 ul.CodeMirror-hints { 787 z-index: 101; /* Due to z-index 100 set on .widget.open */ 788 } 789 .widget-control-actions .custom-html-widget-save-button.button.validation-blocked { 790 cursor: not-allowed; 791 } 792 793 /* =Media Queries 794 -------------------------------------------------------------- */ 795 796 @media screen and (max-width: 782px) { 797 .widgets-holder-wrap .widget-inside input[type="checkbox"], 798 .widgets-holder-wrap .widget-inside input[type="radio"], 799 .editwidget .widget-inside input[type="checkbox"], /* Selectors for the "accessibility mode" page. */ 800 .editwidget .widget-inside input[type="radio"] { 801 margin: 0.25rem 0 0.25rem 0.25rem; 802 } 803 } 804 805 @media screen and (max-width: 480px) { 806 div.widget-liquid-left { 807 width: 100%; 808 float: none; 809 border-left: none; 810 padding-left: 0; 811 } 812 813 #widgets-left .sidebar-name { 814 margin-left: 0; 815 } 816 817 #widgets-left #available-widgets .widget-top { 818 margin-left: 0; 819 } 820 821 #widgets-left .inactive-sidebar .widgets-sortables { 822 margin-left: 0; 823 } 824 825 div.widget-liquid-right { 826 width: 100%; 827 float: none; 828 } 829 830 div.widget { 831 max-width: 480px; 832 } 833 834 .widget-access-link { 835 float: none; 836 margin: 15px 0 0; 837 } 838 } 839 840 @media screen and (max-width: 320px) { 841 div.widget { 842 max-width: 320px; 843 } 844 } 845 846 @media only screen and (min-width: 1250px) { 847 #widgets-left #available-widgets .widget { 848 width: 49%; 849 float: right; 850 } 851 852 .widget.ui-draggable-dragging { 853 min-width: 49%; 854 } 855 856 #widgets-left #available-widgets .widget:nth-child(even) { 857 float: left; 858 } 859 860 #widgets-right .sidebars-column-1, 861 #widgets-right .sidebars-column-2 { 862 float: right; 863 width: 49%; 864 } 865 866 #widgets-right .sidebars-column-1 { 867 margin-left: 2%; 868 } 869 870 #widgets-right.single-sidebar .sidebars-column-1, 871 #widgets-right.single-sidebar .sidebars-column-2 { 872 float: none; 873 width: 100%; 874 margin: 0; 875 } 876 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Wed Nov 13 08:20:01 2024 | Cross-referenced by PHPXref |