PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/block-library/style-rtl.css +451 -235 23.3.0 → trunk View file →
@@ -57,11 +57,13 @@
57 57 align-items: center;
58 58 justify-content: center;
59 59 }
60 60
61 -.wp-block-accordion-panel[inert], .wp-block-accordion-panel[aria-hidden=true] {
62 - display: none;
61 +.wp-block-accordion-panel[hidden] {
62 + border: none !important;
63 + box-shadow: none !important;
63 64 margin-block-start: 0;
65 + padding: 0 !important;
64 66 }
65 67
66 68 .wp-block-archives {
67 69 box-sizing: border-box;
@@ -151,8 +153,14 @@
151 153 /**
152 154 * Focus styles.
153 155 */
154 156 /**
157 + * Standard focus rings for the WordPress Design System.
158 + *
159 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
160 + * e.g. `&:focus { @include outset-ring__focus(); }`.
161 + */
162 +/**
155 163 * Applies editor left position to the selector passed as argument
156 164 */
157 165 /**
158 166 * Styles that are reused verbatim in a few places
@@ -212,9 +220,10 @@
212 220 .wp-block-button__link {
213 221 cursor: pointer;
214 222 display: inline-block;
215 223 text-align: center;
216 - word-break: break-word;
224 + word-break: normal;
225 + overflow-wrap: anywhere;
217 226 box-sizing: border-box;
218 227 height: 100%;
219 228 align-content: center;
220 229 }
@@ -414,9 +423,10 @@
414 423 }
415 424 .wp-block-categories.wp-block-categories-dropdown.aligncenter {
416 425 text-align: center;
417 426 }
418 -.wp-block-categories .wp-block-categories__label:not(.screen-reader-text) {
427 +
428 +:where(.wp-block-categories__label:not(.screen-reader-text)) {
419 429 width: 100%;
420 430 display: block;
421 431 }
422 432
@@ -486,15 +496,15 @@
486 496 margin-bottom: 1.75em;
487 497 }
488 498
489 499 :where(.wp-block-columns.has-background) {
490 - padding: 1.25em 2.375em;
500 + padding: var(--wp--style--block-background-padding, 1.25em 2.375em);
491 501 }
492 502
493 503 .wp-block-column {
494 504 flex-grow: 1;
495 505 min-width: 0;
496 - word-break: break-word;
506 + word-break: normal;
497 507 overflow-wrap: break-word;
498 508 /**
499 509 * Individual Column Alignment
500 510 */
@@ -573,9 +583,9 @@
573 583 font-size: 0.875em;
574 584 line-height: 1.5;
575 585 }
576 586 .wp-block-post-comments .comment-meta b {
577 - font-weight: normal;
587 + font-weight: 400;
578 588 }
579 589 .wp-block-post-comments .comment-meta .comment-awaiting-moderation {
580 590 margin-top: 1em;
581 591 margin-bottom: 1em;
@@ -583,15 +593,8 @@
583 593 }
584 594 .wp-block-post-comments .comment-body .commentmetadata {
585 595 font-size: 0.875em;
586 596 }
587 -.wp-block-post-comments .comment-form-comment label,
588 -.wp-block-post-comments .comment-form-author label,
589 -.wp-block-post-comments .comment-form-email label,
590 -.wp-block-post-comments .comment-form-url label {
591 - display: block;
592 - margin-bottom: 0.25em;
593 -}
594 597 .wp-block-post-comments .comment-form textarea,
595 598 .wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]) {
596 599 display: block;
597 600 box-sizing: border-box;
@@ -625,8 +628,16 @@
625 628 .wp-block-post-comments input:not([type=submit]):not([type=checkbox]) {
626 629 padding: calc(0.667em + 2px);
627 630 }
628 631
632 +:where(.wp-block-post-comments .comment-form-comment label),
633 +:where(.wp-block-post-comments .comment-form-author label),
634 +:where(.wp-block-post-comments .comment-form-email label),
635 +:where(.wp-block-post-comments .comment-form-url label) {
636 + display: block;
637 + margin-bottom: 0.25em;
638 +}
639 +
629 640 :where(.wp-block-post-comments input[type=submit]) {
630 641 border: none;
631 642 }
632 643
@@ -1004,8 +1015,14 @@
1004 1015 outline: none;
1005 1016 border: none;
1006 1017 box-shadow: none;
1007 1018 }
1019 +@supports (-webkit-hyphens: none) {
1020 + .wp-block-cover-image.has-aspect-ratio,
1021 + .wp-block-cover.has-aspect-ratio {
1022 + min-height: fit-content !important;
1023 + }
1024 +}
1008 1025 .wp-block-cover-image .wp-block-cover__embed-background,
1009 1026 .wp-block-cover .wp-block-cover__embed-background {
1010 1027 position: absolute;
1011 1028 top: 0;
@@ -1295,55 +1312,8 @@
1295 1312 opacity: 0.85;
1296 1313 text-decoration: none;
1297 1314 }
1298 1315
1299 -.wp-block-form-input__label {
1300 - width: 100%;
1301 - display: flex;
1302 - flex-direction: column;
1303 - gap: 0.25em;
1304 - margin-bottom: 0.5em;
1305 -}
1306 -.wp-block-form-input__label.is-label-inline {
1307 - flex-direction: row;
1308 - gap: 0.5em;
1309 - align-items: center;
1310 -}
1311 -.wp-block-form-input__label.is-label-inline .wp-block-form-input__label-content {
1312 - margin-bottom: 0.5em;
1313 -}
1314 -.wp-block-form-input__label:has(input[type=checkbox]) {
1315 - flex-direction: row;
1316 - width: fit-content;
1317 -}
1318 -.wp-block-form-input__label:has(input[type=checkbox]) .wp-block-form-input__label-content {
1319 - margin: 0;
1320 -}
1321 -.wp-block-form-input__label:has(.wp-block-form-input__label-content + input[type=checkbox]) {
1322 - /* stylelint-disable-next-line declaration-property-value-allowed-list -- This style is required for old markup. */
1323 - flex-direction: row-reverse;
1324 -}
1325 -
1326 -.wp-block-form-input__label-content {
1327 - width: fit-content;
1328 -}
1329 -
1330 -:where(.wp-block-form-input__input) {
1331 - padding: 0 0.5em;
1332 - font-size: 1em;
1333 - margin-bottom: 0.5em;
1334 -}
1335 -:where(.wp-block-form-input__input)[type=text], :where(.wp-block-form-input__input)[type=password], :where(.wp-block-form-input__input)[type=date], :where(.wp-block-form-input__input)[type=datetime], :where(.wp-block-form-input__input)[type=datetime-local], :where(.wp-block-form-input__input)[type=email], :where(.wp-block-form-input__input)[type=month], :where(.wp-block-form-input__input)[type=number], :where(.wp-block-form-input__input)[type=search], :where(.wp-block-form-input__input)[type=tel], :where(.wp-block-form-input__input)[type=time], :where(.wp-block-form-input__input)[type=url], :where(.wp-block-form-input__input)[type=week] {
1336 - min-height: 2em;
1337 - line-height: 2;
1338 - border-width: 1px;
1339 - border-style: solid;
1340 -}
1341 -
1342 -textarea.wp-block-form-input__input {
1343 - min-height: 10em;
1344 -}
1345 -
1346 1316 .wp-block-gallery:not(.has-nested-images),
1347 1317 .blocks-gallery-grid:not(.has-nested-images) {
1348 1318 display: flex;
1349 1319 flex-wrap: wrap;
@@ -1532,37 +1502,104 @@
1532 1502 .wp-block-gallery:not(.is-cropped) .blocks-gallery-item {
1533 1503 align-self: flex-start;
1534 1504 }
1535 1505
1536 -figure.wp-block-gallery.has-nested-images {
1506 +figure.wp-block-gallery.has-nested-images:where(.is-layout-flex) {
1537 1507 align-items: normal;
1538 1508 }
1539 1509
1540 -.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
1510 +.wp-block-gallery.has-nested-images:where(.is-layout-flex) figure.wp-block-image:not(#individual-image) {
1541 1511 width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2);
1542 1512 margin: 0;
1543 1513 }
1544 -.wp-block-gallery.has-nested-images figure.wp-block-image {
1514 +.wp-block-gallery.has-nested-images:where(.is-layout-flex) figure.wp-block-image {
1545 1515 display: flex;
1546 1516 flex-grow: 1;
1547 1517 justify-content: center;
1548 - position: relative;
1549 1518 flex-direction: column;
1550 1519 max-width: 100%;
1551 1520 box-sizing: border-box;
1552 1521 }
1553 -.wp-block-gallery.has-nested-images figure.wp-block-image > div,
1554 -.wp-block-gallery.has-nested-images figure.wp-block-image > a {
1522 +.wp-block-gallery.has-nested-images:where(.is-layout-flex) figure.wp-block-image > div,
1523 +.wp-block-gallery.has-nested-images:where(.is-layout-flex) figure.wp-block-image > a {
1555 1524 margin: 0;
1556 1525 flex-direction: column;
1557 1526 flex-grow: 1;
1558 1527 }
1559 -.wp-block-gallery.has-nested-images figure.wp-block-image img {
1528 +.wp-block-gallery.has-nested-images:where(.is-layout-flex) figure.wp-block-image img {
1560 1529 display: block;
1561 1530 height: auto;
1562 1531 max-width: 100% !important;
1563 1532 width: auto;
1564 1533 }
1534 +.wp-block-gallery.has-nested-images:where(.is-layout-flex) figcaption {
1535 + flex-grow: 1;
1536 + flex-basis: 100%;
1537 + text-align: center;
1538 +}
1539 +.wp-block-gallery.has-nested-images:where(.is-layout-flex):not(.is-cropped) figure.wp-block-image:not(#individual-image) {
1540 + margin-top: 0;
1541 + margin-bottom: auto;
1542 +}
1543 +.wp-block-gallery.has-nested-images:where(.is-layout-flex).is-cropped figure.wp-block-image:not(#individual-image) {
1544 + align-self: inherit;
1545 +}
1546 +.wp-block-gallery.has-nested-images:where(.is-layout-flex).is-cropped figure.wp-block-image:not(#individual-image) > div:not(.components-drop-zone),
1547 +.wp-block-gallery.has-nested-images:where(.is-layout-flex).is-cropped figure.wp-block-image:not(#individual-image) > a {
1548 + display: flex;
1549 +}
1550 +.wp-block-gallery.has-nested-images:where(.is-layout-flex).is-cropped figure.wp-block-image:not(#individual-image) a,
1551 +.wp-block-gallery.has-nested-images:where(.is-layout-flex).is-cropped figure.wp-block-image:not(#individual-image) img {
1552 + width: 100%;
1553 + flex: 1 0 0%;
1554 + height: 100%;
1555 + object-fit: cover;
1556 +}
1557 +.wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-1 figure.wp-block-image:not(#individual-image) {
1558 + width: 100%;
1559 +}
1560 +@media (min-width: 600px) {
1561 + .wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-3 figure.wp-block-image:not(#individual-image) {
1562 + width: calc(33.3333333333% - var(--wp--style--unstable-gallery-gap, 16px) * 0.6666666667);
1563 + }
1564 + .wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-4 figure.wp-block-image:not(#individual-image) {
1565 + width: calc(25% - var(--wp--style--unstable-gallery-gap, 16px) * 0.75);
1566 + }
1567 + .wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-5 figure.wp-block-image:not(#individual-image) {
1568 + width: calc(20% - var(--wp--style--unstable-gallery-gap, 16px) * 0.8);
1569 + }
1570 + .wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-6 figure.wp-block-image:not(#individual-image) {
1571 + width: calc(16.6666666667% - var(--wp--style--unstable-gallery-gap, 16px) * 0.8333333333);
1572 + }
1573 + .wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-7 figure.wp-block-image:not(#individual-image) {
1574 + width: calc(14.2857142857% - var(--wp--style--unstable-gallery-gap, 16px) * 0.8571428571);
1575 + }
1576 + .wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-8 figure.wp-block-image:not(#individual-image) {
1577 + width: calc(12.5% - var(--wp--style--unstable-gallery-gap, 16px) * 0.875);
1578 + }
1579 + .wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-default figure.wp-block-image:not(#individual-image) {
1580 + width: calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px) * 0.6666666667);
1581 + }
1582 + .wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),
1583 + .wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2) ~ figure.wp-block-image:not(#individual-image) {
1584 + width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) * 0.5);
1585 + }
1586 + .wp-block-gallery.has-nested-images:where(.is-layout-flex).columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(1) {
1587 + width: 100%;
1588 + }
1589 +}
1590 +.wp-block-gallery.has-nested-images:where(.is-layout-flex).alignleft, .wp-block-gallery.has-nested-images:where(.is-layout-flex).alignright {
1591 + max-width: 420px;
1592 + width: 100%;
1593 +}
1594 +.wp-block-gallery.has-nested-images:where(.is-layout-flex).aligncenter {
1595 + justify-content: center;
1596 +}
1597 +
1598 +.wp-block-gallery.has-nested-images figure.wp-block-image {
1599 + position: relative;
1600 + margin: 0;
1601 +}
1565 1602 .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before,
1566 1603 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
1567 1604 position: absolute;
1568 1605 bottom: 0;
@@ -1575,10 +1612,9 @@
1575 1612 height: 100%;
1576 1613 max-height: 3em;
1577 1614 pointer-events: none;
1578 1615 backdrop-filter: blur(3px);
1579 - -webkit-mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
1580 - mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
1616 + mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
1581 1617 }
1582 1618 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
1583 1619 color: #fff;
1584 1620 text-shadow: 0 0 1.5px #000;
@@ -1649,71 +1685,13 @@
1649 1685 }
1650 1686 .wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded::before, .wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border::before {
1651 1687 content: none;
1652 1688 }
1653 -.wp-block-gallery.has-nested-images figcaption {
1654 - flex-grow: 1;
1655 - flex-basis: 100%;
1689 +
1690 +:where(.wp-block-gallery.has-nested-images.is-layout-grid) > .blocks-gallery-caption {
1691 + grid-column: 1/-1;
1656 1692 text-align: center;
1657 1693 }
1658 -.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
1659 - margin-top: 0;
1660 - margin-bottom: auto;
1661 -}
1662 -.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) {
1663 - align-self: inherit;
1664 -}
1665 -.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) > div:not(.components-drop-zone),
1666 -.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) > a {
1667 - display: flex;
1668 -}
1669 -.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,
1670 -.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
1671 - width: 100%;
1672 - flex: 1 0 0%;
1673 - height: 100%;
1674 - object-fit: cover;
1675 -}
1676 -.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image) {
1677 - width: 100%;
1678 -}
1679 -@media (min-width: 600px) {
1680 - .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image) {
1681 - width: calc(33.3333333333% - var(--wp--style--unstable-gallery-gap, 16px) * 0.6666666667);
1682 - }
1683 - .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image) {
1684 - width: calc(25% - var(--wp--style--unstable-gallery-gap, 16px) * 0.75);
1685 - }
1686 - .wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image) {
1687 - width: calc(20% - var(--wp--style--unstable-gallery-gap, 16px) * 0.8);
1688 - }
1689 - .wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image) {
1690 - width: calc(16.6666666667% - var(--wp--style--unstable-gallery-gap, 16px) * 0.8333333333);
1691 - }
1692 - .wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image) {
1693 - width: calc(14.2857142857% - var(--wp--style--unstable-gallery-gap, 16px) * 0.8571428571);
1694 - }
1695 - .wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image) {
1696 - width: calc(12.5% - var(--wp--style--unstable-gallery-gap, 16px) * 0.875);
1697 - }
1698 - .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
1699 - width: calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px) * 0.6666666667);
1700 - }
1701 - .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),
1702 - .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2) ~ figure.wp-block-image:not(#individual-image) {
1703 - width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) * 0.5);
1704 - }
1705 - .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(1) {
1706 - width: 100%;
1707 - }
1708 -}
1709 -.wp-block-gallery.has-nested-images.alignleft, .wp-block-gallery.has-nested-images.alignright {
1710 - max-width: 420px;
1711 - width: 100%;
1712 -}
1713 -.wp-block-gallery.has-nested-images.aligncenter {
1714 - justify-content: center;
1715 -}
1716 1694
1717 1695 .wp-block-group {
1718 1696 box-sizing: border-box;
1719 1697 }
@@ -1727,9 +1705,9 @@
1727 1705 h3:where(.wp-block-heading).has-background,
1728 1706 h4:where(.wp-block-heading).has-background,
1729 1707 h5:where(.wp-block-heading).has-background,
1730 1708 h6:where(.wp-block-heading).has-background {
1731 - padding: 1.25em 2.375em;
1709 + padding: var(--wp--style--block-background-padding, 1.25em 2.375em);
1732 1710 }
1733 1711 h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]), h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
1734 1712 h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),
1735 1713 h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
@@ -1758,17 +1736,30 @@
1758 1736 .wp-block-icon svg {
1759 1737 box-sizing: border-box;
1760 1738 fill: currentColor;
1761 1739 }
1740 +.wp-block-icon svg.is-flip-horizontal {
1741 + transform: scaleX(-1);
1742 +}
1743 +.wp-block-icon svg.is-flip-vertical {
1744 + transform: scaleY(-1);
1745 +}
1746 +.wp-block-icon svg.is-flip-horizontal.is-flip-vertical {
1747 + transform: scaleX(-1) scaleY(-1);
1748 +}
1762 1749
1763 1750 :where(.wp-block-icon) svg {
1764 1751 width: 100%;
1765 1752 height: 100%;
1766 1753 }
1754 +:where(.wp-block-icon) svg :where(path, rect, circle, ellipse, line, polygon, polyline) {
1755 + vector-effect: none;
1756 +}
1767 1757
1768 1758 .wp-block-image > a,
1769 1759 .wp-block-image > figure > a {
1770 1760 display: inline-block;
1761 + color: inherit;
1771 1762 }
1772 1763 .wp-block-image img {
1773 1764 height: auto;
1774 1765 max-width: 100%;
@@ -1837,20 +1828,15 @@
1837 1828 }
1838 1829 .wp-block-image.is-style-circle-mask img {
1839 1830 border-radius: 9999px;
1840 1831 }
1841 -@supports ((-webkit-mask-image: none) or (mask-image: none)) or (-webkit-mask-image: none) {
1832 +@supports (mask-image: none) or (-webkit-mask-image: none) {
1842 1833 .wp-block-image.is-style-circle-mask img {
1843 - /* stylelint-disable-next-line function-url-quotes -- We need quotes for the data URL to use the SVG inline. */
1844 - -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
1845 - mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
1834 + mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
1846 1835 mask-mode: alpha;
1847 - -webkit-mask-repeat: no-repeat;
1848 - mask-repeat: no-repeat;
1849 - -webkit-mask-size: contain;
1850 - mask-size: contain;
1851 - -webkit-mask-position: center;
1852 - mask-position: center;
1836 + mask-repeat: no-repeat;
1837 + mask-size: contain;
1838 + mask-position: center;
1853 1839 border-radius: 0;
1854 1840 }
1855 1841 }
1856 1842
@@ -2228,49 +2214,54 @@
2228 2214 .wp-block-latest-posts.wp-block-latest-posts__list li {
2229 2215 clear: both;
2230 2216 overflow-wrap: break-word;
2231 2217 }
2232 -.wp-block-latest-posts.is-grid {
2218 +.wp-block-latest-posts.is-grid:not(.is-layout-grid) {
2233 2219 display: flex;
2234 2220 flex-wrap: wrap;
2235 2221 }
2236 -.wp-block-latest-posts.is-grid li {
2222 +.wp-block-latest-posts.is-grid:not(.is-layout-grid) li {
2237 2223 margin: 0 0 1.25em 1.25em;
2238 2224 width: 100%;
2239 2225 }
2240 2226 @media (min-width: 600px) {
2241 - .wp-block-latest-posts.columns-2 li {
2227 + .wp-block-latest-posts.columns-2:not(.is-layout-grid) li {
2242 2228 width: calc(100% / 2 - 1.25em + 1.25em / 2);
2243 2229 }
2244 - .wp-block-latest-posts.columns-2 li:nth-child(2n) {
2230 + .wp-block-latest-posts.columns-2:not(.is-layout-grid) li:nth-child(2n) {
2245 2231 margin-left: 0;
2246 2232 }
2247 - .wp-block-latest-posts.columns-3 li {
2233 + .wp-block-latest-posts.columns-3:not(.is-layout-grid) li {
2248 2234 width: calc(100% / 3 - 1.25em + 1.25em / 3);
2249 2235 }
2250 - .wp-block-latest-posts.columns-3 li:nth-child(3n) {
2236 + .wp-block-latest-posts.columns-3:not(.is-layout-grid) li:nth-child(3n) {
2251 2237 margin-left: 0;
2252 2238 }
2253 - .wp-block-latest-posts.columns-4 li {
2239 + .wp-block-latest-posts.columns-4:not(.is-layout-grid) li {
2254 2240 width: calc(100% / 4 - 1.25em + 1.25em / 4);
2255 2241 }
2256 - .wp-block-latest-posts.columns-4 li:nth-child(4n) {
2242 + .wp-block-latest-posts.columns-4:not(.is-layout-grid) li:nth-child(4n) {
2257 2243 margin-left: 0;
2258 2244 }
2259 - .wp-block-latest-posts.columns-5 li {
2245 + .wp-block-latest-posts.columns-5:not(.is-layout-grid) li {
2260 2246 width: calc(100% / 5 - 1.25em + 1.25em / 5);
2261 2247 }
2262 - .wp-block-latest-posts.columns-5 li:nth-child(5n) {
2248 + .wp-block-latest-posts.columns-5:not(.is-layout-grid) li:nth-child(5n) {
2263 2249 margin-left: 0;
2264 2250 }
2265 - .wp-block-latest-posts.columns-6 li {
2251 + .wp-block-latest-posts.columns-6:not(.is-layout-grid) li {
2266 2252 width: calc(100% / 6 - 1.25em + 1.25em / 6);
2267 2253 }
2268 - .wp-block-latest-posts.columns-6 li:nth-child(6n) {
2254 + .wp-block-latest-posts.columns-6:not(.is-layout-grid) li:nth-child(6n) {
2269 2255 margin-left: 0;
2270 2256 }
2271 2257 }
2272 2258
2259 +@media (max-width: 600px) {
2260 + .wp-block-latest-posts-is-layout-grid[class*=columns-]:not(.has-native-responsive-grid) {
2261 + grid-template-columns: 1fr;
2262 + }
2263 +}
2273 2264 :root :where(.wp-block-latest-posts.is-grid) {
2274 2265 padding: 0;
2275 2266 }
2276 2267 :root :where(.wp-block-latest-posts.wp-block-latest-posts__list) {
@@ -2315,9 +2306,9 @@
2315 2306 box-sizing: border-box;
2316 2307 }
2317 2308
2318 2309 :root :where(.wp-block-list.has-background) {
2319 - padding: 1.25em 2.375em;
2310 + padding: var(--wp--style--block-background-padding, 1.25em 2.375em);
2320 2311 }
2321 2312
2322 2313 .wp-block-loginout {
2323 2314 box-sizing: border-box;
@@ -2410,9 +2401,9 @@
2410 2401 height: 1px;
2411 2402 padding: 0;
2412 2403 margin: -1px;
2413 2404 overflow: hidden;
2414 - clip: rect(0, 0, 0, 0);
2405 + clip-path: inset(50%);
2415 2406 border: 0;
2416 2407 }
2417 2408
2418 2409 /* Image fill for versions 8 and onwards */
@@ -2528,9 +2519,16 @@
2528 2519 .wp-block-navigation.is-vertical {
2529 2520 --navigation-layout-direction: column;
2530 2521 --navigation-layout-justify: initial;
2531 2522 --navigation-layout-align: flex-start;
2523 + text-align: var(--navigation-layout-text-align, inherit);
2532 2524 }
2525 +.wp-block-navigation.is-vertical .wp-block-navigation-item__content {
2526 + text-align: inherit;
2527 +}
2528 +.wp-block-navigation.is-vertical .wp-block-navigation-item:not(.open-always) > .wp-block-navigation__submenu-container {
2529 + text-align: initial;
2530 +}
2533 2531 .wp-block-navigation.no-wrap {
2534 2532 --navigation-layout-wrap: nowrap;
2535 2533 }
2536 2534 .wp-block-navigation.items-justified-center {
@@ -2535,8 +2533,9 @@
2535 2533 }
2536 2534 .wp-block-navigation.items-justified-center {
2537 2535 --navigation-layout-justification-setting: center;
2538 2536 --navigation-layout-justify: center;
2537 + --navigation-layout-text-align: center;
2539 2538 }
2540 2539 .wp-block-navigation.items-justified-center.is-vertical {
2541 2540 --navigation-layout-align: center;
2542 2541 }
@@ -2542,8 +2541,9 @@
2542 2541 }
2543 2542 .wp-block-navigation.items-justified-right {
2544 2543 --navigation-layout-justification-setting: flex-end;
2545 2544 --navigation-layout-justify: flex-end;
2545 + --navigation-layout-text-align: end;
2546 2546 }
2547 2547 .wp-block-navigation.items-justified-right.is-vertical {
2548 2548 --navigation-layout-align: flex-end;
2549 2549 }
@@ -2614,9 +2614,9 @@
2614 2614 transform: rotate(90deg);
2615 2615 }
2616 2616 }
2617 2617 @media (hover: hover) {
2618 - .wp-block-navigation .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container {
2618 + .wp-block-navigation .has-child:not(.open-on-click):not(.open-always):hover > .wp-block-navigation__submenu-container {
2619 2619 visibility: visible;
2620 2620 overflow: visible;
2621 2621 opacity: 1;
2622 2622 width: auto;
@@ -2623,10 +2623,9 @@
2623 2623 height: auto;
2624 2624 min-width: 200px;
2625 2625 }
2626 2626 }
2627 -.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within > .wp-block-navigation__submenu-container,
2628 -.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true] ~ .wp-block-navigation__submenu-container {
2627 +.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):not(.open-always):focus-within > .wp-block-navigation__submenu-container, .wp-block-navigation .has-child:not(.open-always) .wp-block-navigation-submenu__toggle[aria-expanded=true] ~ .wp-block-navigation__submenu-container {
2629 2628 visibility: visible;
2630 2629 overflow: visible;
2631 2630 opacity: 1;
2632 2631 width: auto;
@@ -2674,8 +2673,9 @@
2674 2673 position: static;
2675 2674 border: none;
2676 2675 background-color: transparent;
2677 2676 color: inherit;
2677 + box-shadow: none !important;
2678 2678 }
2679 2679
2680 2680 .wp-block-navigation.has-background .has-child .wp-block-navigation__submenu-container {
2681 2681 right: 0;
@@ -2881,8 +2881,9 @@
2881 2881 display: flex;
2882 2882 flex-direction: column;
2883 2883 flex-wrap: nowrap;
2884 2884 align-items: var(--navigation-layout-justification-setting, inherit);
2885 + text-align: var(--navigation-layout-text-align, inherit);
2885 2886 }
2886 2887 .wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content,
2887 2888 .wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-page-list,
2888 2889 .wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
@@ -2908,11 +2909,13 @@
2908 2909 gap: inherit;
2909 2910 }
2910 2911 .wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
2911 2912 padding-top: var(--wp--style--block-gap, 2em);
2913 + text-align: inherit;
2912 2914 }
2913 2915 .wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
2914 2916 padding: 0;
2917 + text-align: inherit;
2915 2918 }
2916 2919 .wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation__container,
2917 2920 .wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-navigation-item,
2918 2921 .wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__responsive-container-content .wp-block-page-list {
@@ -2926,8 +2929,11 @@
2926 2929 .wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-page-list {
2927 2930 color: inherit !important;
2928 2931 background: transparent !important;
2929 2932 }
2933 +.wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation-item .wp-block-navigation__submenu-container {
2934 + box-shadow: none !important;
2935 +}
2930 2936 .wp-block-navigation__responsive-container.is-menu-open:where(:not(.disable-default-overlay)) .wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container.wp-block-navigation__submenu-container {
2931 2937 left: auto;
2932 2938 right: auto;
2933 2939 }
@@ -2973,9 +2979,9 @@
2973 2979 }
2974 2980
2975 2981 .wp-block-navigation__toggle_button_label {
2976 2982 font-size: 1rem;
2977 - font-weight: bold;
2983 + font-weight: 700;
2978 2984 }
2979 2985
2980 2986 .wp-block-navigation__responsive-container-open,
2981 2987 .wp-block-navigation__responsive-container-close {
@@ -3083,8 +3089,20 @@
3083 3089 margin-right: 8px;
3084 3090 text-transform: uppercase;
3085 3091 }
3086 3092
3093 +:where(.wp-block-navigation-overlay-close) {
3094 + color: inherit;
3095 + font-family: inherit;
3096 + font-size: inherit;
3097 + font-style: inherit;
3098 + font-weight: inherit;
3099 + letter-spacing: inherit;
3100 + line-height: inherit;
3101 + text-transform: inherit;
3102 + border: none;
3103 +}
3104 +
3087 3105 .wp-block-navigation-overlay-close {
3088 3106 display: inline-flex;
3089 3107 align-items: center;
3090 3108 justify-content: center;
@@ -3089,9 +3107,8 @@
3089 3107 align-items: center;
3090 3108 justify-content: center;
3091 3109 gap: 0.5em;
3092 3110 padding: 0;
3093 - border: none;
3094 3111 background: transparent;
3095 3112 cursor: pointer;
3096 3113 text-decoration: none;
3097 3114 }
@@ -3161,9 +3178,9 @@
3161 3178 overflow: hidden;
3162 3179 }
3163 3180
3164 3181 :root :where(p.has-background) {
3165 - padding: 1.25em 2.375em;
3182 + padding: var(--wp--style--block-background-padding, 1.25em 2.375em);
3166 3183 }
3167 3184
3168 3185 :where(p.has-text-color:not(.has-link-color)) a {
3169 3186 color: inherit;
@@ -3176,11 +3193,23 @@
3176 3193
3177 3194 .waveform-player {
3178 3195 font-family: inherit;
3179 3196 color: inherit;
3180 - line-height: 1.4;
3197 + line-height: var(--waveform-line-height, 1.4);
3198 + --wfp-accent: #71717a;
3199 + --wfp-button-color: rgba(255, 255, 255, .9);
3200 + --wfp-text-color: #ffffff;
3201 + --wfp-text-secondary-color: rgba(255, 255, 255, .6);
3202 + --wfp-btn-artwork-color: rgba(255, 255, 255, .9);
3203 + --wfp-btn-artwork-scrim: rgba(0, 0, 0, .5);
3181 3204 }
3182 3205
3206 +.waveform-player.waveform-theme-light {
3207 + --wfp-button-color: rgba(0, 0, 0, .8);
3208 + --wfp-text-color: #333333;
3209 + --wfp-text-secondary-color: rgba(0, 0, 0, .6);
3210 +}
3211 +
3183 3212 .waveform-player * {
3184 3213 box-sizing: border-box;
3185 3214 }
3186 3215
@@ -3186,26 +3215,26 @@
3186 3215
3187 3216 .waveform-body {
3188 3217 display: flex;
3189 3218 flex-direction: column;
3190 - gap: 8px;
3219 + gap: var(--waveform-body-gap, 8px);
3191 3220 }
3192 3221
3193 3222 .waveform-track {
3194 3223 display: flex;
3195 3224 align-items: center;
3196 - gap: 12px;
3225 + gap: var(--waveform-track-gap, 12px);
3197 3226 position: relative;
3198 3227 }
3199 3228
3200 3229 .waveform-btn {
3201 - width: 36px;
3202 - height: 36px;
3203 - min-width: 36px;
3204 - border-radius: 50%;
3230 + width: var(--wfp-btn-size, 36px);
3231 + height: var(--wfp-btn-size, 36px);
3232 + min-width: var(--wfp-btn-size, 36px);
3233 + border-radius: var(--wfp-btn-radius, 50%);
3205 3234 border: 2px solid currentColor;
3206 3235 background: transparent;
3207 - color: inherit;
3236 + color: var(--wfp-button-color, inherit);
3208 3237 cursor: pointer;
3209 3238 display: flex;
3210 3239 align-items: center;
3211 3240 justify-content: center;
@@ -3219,8 +3248,27 @@
3219 3248 opacity: 1;
3220 3249 transform: scale(1.05);
3221 3250 }
3222 3251
3252 +.waveform-btn-minimal {
3253 + width: calc(var(--wfp-btn-size, 36px) * 1.1);
3254 + height: calc(var(--wfp-btn-size, 36px) * 1.1);
3255 + min-width: calc(var(--wfp-btn-size, 36px) * 1.1);
3256 + border: none;
3257 + border-radius: 0;
3258 + opacity: 0.7;
3259 +}
3260 +
3261 +.waveform-btn-minimal:hover:not(:disabled) {
3262 + opacity: 1;
3263 + transform: none;
3264 +}
3265 +
3266 +.waveform-btn.waveform-btn-minimal svg {
3267 + width: calc(var(--wfp-btn-size, 36px) * 0.94);
3268 + height: calc(var(--wfp-btn-size, 36px) * 0.94);
3269 +}
3270 +
3223 3271 .waveform-btn:disabled {
3224 3272 cursor: not-allowed;
3225 3273 opacity: 0.3;
3226 3274 }
@@ -3233,14 +3281,48 @@
3233 3281 height: 100%;
3234 3282 }
3235 3283
3236 3284 .waveform-btn svg {
3237 - width: 16px;
3238 - height: 16px;
3285 + width: calc(var(--wfp-btn-size, 36px) * 0.45);
3286 + height: calc(var(--wfp-btn-size, 36px) * 0.45);
3239 3287 fill: currentColor;
3240 3288 display: block;
3241 3289 }
3242 3290
3291 +.waveform-btn-has-artwork {
3292 + --wfp-btn-size: 64px;
3293 + --wfp-btn-radius: 8px;
3294 + position: relative;
3295 + overflow: hidden;
3296 + border: none;
3297 + color: var(--wfp-btn-artwork-color);
3298 +}
3299 +
3300 +.waveform-btn > .waveform-btn-artwork {
3301 + display: block;
3302 + position: absolute;
3303 + inset: 0;
3304 + width: 100%;
3305 + height: 100%;
3306 + object-fit: cover;
3307 + pointer-events: none;
3308 + z-index: 0;
3309 +}
3310 +
3311 +.waveform-btn-has-artwork:after {
3312 + content: "";
3313 + position: absolute;
3314 + inset: 0;
3315 + background: var(--wfp-btn-artwork-scrim);
3316 + pointer-events: none;
3317 + z-index: 1;
3318 +}
3319 +
3320 +.waveform-btn-has-artwork > :not(.waveform-btn-artwork) {
3321 + position: relative;
3322 + z-index: 2;
3323 +}
3324 +
3243 3325 .waveform-icon-play svg {
3244 3326 margin-right: 1px;
3245 3327 }
3246 3328
@@ -3252,8 +3334,12 @@
3252 3334 min-width: 0;
3253 3335 width: 100%;
3254 3336 }
3255 3337
3338 +.waveform-container:focus-visible {
3339 + outline: 2px solid currentColor;
3340 +}
3341 +
3256 3342 .waveform-container canvas {
3257 3343 display: block;
3258 3344 width: 100%;
3259 3345 height: 100%;
@@ -3279,8 +3365,9 @@
3279 3365 min-width: 0;
3280 3366 }
3281 3367
3282 3368 .waveform-title {
3369 + color: var(--wfp-text-color);
3283 3370 white-space: nowrap;
3284 3371 overflow: hidden;
3285 3372 text-overflow: ellipsis;
3286 3373 font-weight: 500;
@@ -3285,9 +3372,10 @@
3285 3372 text-overflow: ellipsis;
3286 3373 font-weight: 500;
3287 3374 }
3288 3375
3289 -.waveform-subtitle {
3376 +.waveform-artist {
3377 + color: var(--wfp-text-secondary-color);
3290 3378 font-size: 11px;
3291 3379 white-space: nowrap;
3292 3380 overflow: hidden;
3293 3381 text-overflow: ellipsis;
@@ -3293,8 +3381,9 @@
3293 3381 text-overflow: ellipsis;
3294 3382 }
3295 3383
3296 3384 .waveform-time {
3385 + color: var(--wfp-text-secondary-color);
3297 3386 font-size: 11px;
3298 3387 white-space: nowrap;
3299 3388 flex-shrink: 0;
3300 3389 }
@@ -3299,8 +3388,9 @@
3299 3388 flex-shrink: 0;
3300 3389 }
3301 3390
3302 3391 .waveform-bpm {
3392 + color: var(--wfp-text-secondary-color);
3303 3393 font-size: 11px;
3304 3394 white-space: nowrap;
3305 3395 flex-shrink: 0;
3306 3396 display: inline-flex;
@@ -3356,8 +3446,14 @@
3356 3446 width: 4px;
3357 3447 z-index: 20;
3358 3448 }
3359 3449
3450 +.waveform-marker.active {
3451 + width: 4px;
3452 + background: currentColor;
3453 + z-index: 10;
3454 +}
3455 +
3360 3456 .waveform-marker-tooltip {
3361 3457 position: absolute;
3362 3458 bottom: calc(100% + 4px);
3363 3459 right: 50%;
@@ -3373,12 +3469,54 @@
3373 3469 transition: opacity 0.2s;
3374 3470 z-index: 1000;
3375 3471 }
3376 3472
3377 -.waveform-marker:hover .waveform-marker-tooltip {
3473 +.waveform-marker:hover .waveform-marker-tooltip, .waveform-marker.show-label .waveform-marker-tooltip {
3378 3474 opacity: 1;
3379 3475 }
3380 3476
3477 +.waveform-hover-time {
3478 + position: absolute;
3479 + bottom: calc(100% + 4px);
3480 + transform: translate(50%);
3481 + background: rgba(0, 0, 0, 0.9019607843);
3482 + color: #fff;
3483 + padding: 3px 7px;
3484 + border-radius: 4px;
3485 + font-size: 11px;
3486 + font-variant-numeric: tabular-nums;
3487 + white-space: nowrap;
3488 + pointer-events: none;
3489 + opacity: 0;
3490 + transition: opacity 0.15s;
3491 + z-index: 1000;
3492 +}
3493 +
3494 +.waveform-seek-handle {
3495 + position: absolute;
3496 + top: 50%;
3497 + right: 0;
3498 + width: 11px;
3499 + height: 11px;
3500 + border-radius: 50%;
3501 + background: #fff;
3502 + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3490196078);
3503 + transform: translate(50%, -50%) scale(0);
3504 + opacity: 0;
3505 + transition: opacity 0.12s ease, transform 0.12s ease;
3506 + pointer-events: none;
3507 + z-index: 6;
3508 +}
3509 +
3510 +.waveform-seek-handle.is-visible {
3511 + opacity: 1;
3512 + transform: translate(50%, -50%) scale(1);
3513 +}
3514 +
3515 +.waveform-seek-handle.is-active {
3516 + transform: translate(50%, -50%) scale(1.25);
3517 +}
3518 +
3381 3519 .waveform-btn:focus-visible {
3382 3520 outline: 2px solid currentColor;
3383 3521 outline-offset: 2px;
3384 3522 }
@@ -3447,15 +3585,15 @@
3447 3585 color: #fff;
3448 3586 }
3449 3587
3450 3588 .speed-option.active {
3451 - background: rgba(168, 85, 247, 0.2);
3452 - color: #a855f7;
3589 + background: rgba(255, 255, 255, 0.1607843137);
3590 + color: #fff;
3453 3591 font-weight: 600;
3454 3592 }
3455 3593
3456 3594 .waveform-player.waveform-focused {
3457 - outline: 2px solid rgba(168, 85, 247, 0.5);
3595 + outline: 2px solid var(--wfp-accent);
3458 3596 outline-offset: 2px;
3459 3597 border-radius: 4px;
3460 3598 }
3461 3599
@@ -3463,12 +3601,26 @@
3463 3601 outline: none;
3464 3602 }
3465 3603
3466 3604 .waveform-player:focus-visible {
3467 - outline: 1px solid rgba(168, 85, 247, 0.3);
3605 + outline: 1px solid var(--wfp-accent);
3468 3606 outline-offset: 1px;
3469 3607 }
3470 3608
3609 +.waveform-layout-preview .waveform-meta {
3610 + display: none !important;
3611 +}
3612 +
3613 +.waveform-layout-preview .waveform-info {
3614 + justify-content: center;
3615 +}
3616 +
3617 +.waveform-layout-preview .waveform-text {
3618 + flex: 0 1 auto;
3619 + align-items: center;
3620 + text-align: center;
3621 +}
3622 +
3471 3623 .waveform-player.waveform-focused {
3472 3624 outline: none;
3473 3625 }
3474 3626
@@ -3493,11 +3645,11 @@
3493 3645 }
3494 3646
3495 3647 @media (max-width: 480px) {
3496 3648 .waveform-btn {
3497 - width: 32px;
3498 - height: 32px;
3499 - min-width: 32px;
3649 + width: var(--wfp-btn-size, 32px);
3650 + height: var(--wfp-btn-size, 32px);
3651 + min-width: var(--wfp-btn-size, 32px);
3500 3652 }
3501 3653 .waveform-container {
3502 3654 min-height: 50px;
3503 3655 }
@@ -3503,15 +3655,21 @@
3503 3655 }
3504 3656 .waveform-info {
3505 3657 font-size: 12px;
3506 3658 }
3507 - .waveform-subtitle, .waveform-time, .waveform-bpm {
3659 + .waveform-artist, .waveform-time, .waveform-bpm {
3508 3660 font-size: 10px;
3509 3661 }
3510 3662 }
3663 +@media (prefers-reduced-motion: reduce) {
3664 + .waveform-player *, .waveform-player *:before, .waveform-player *:after {
3665 + transition-duration: 0.01ms !important;
3666 + animation-duration: 0.01ms !important;
3667 + animation-iteration-count: 1 !important;
3668 + }
3669 +}
3511 3670 .wp-block-playlist {
3512 - overflow: hidden;
3513 - overflow: clip;
3671 + box-sizing: border-box;
3514 3672 }
3515 3673 .wp-block-playlist .wp-block-playlist__waveform-player {
3516 3674 width: 100%;
3517 3675 margin: var(--wp--preset--spacing--20, 0.625em) 0;
@@ -3516,13 +3674,18 @@
3516 3674 width: 100%;
3517 3675 margin: var(--wp--preset--spacing--20, 0.625em) 0;
3518 3676 position: relative;
3519 3677 }
3678 +.wp-block-playlist .wp-block-playlist__waveform-player:focus-visible {
3679 + outline: revert;
3680 + outline-offset: revert;
3681 +}
3520 3682 .wp-block-playlist .waveform-track {
3521 3683 height: 100px;
3522 3684 gap: 0;
3523 3685 }
3524 3686 .wp-block-playlist .waveform-btn {
3687 + border: none;
3525 3688 border-radius: 0;
3526 3689 border-end-start-radius: 0.125rem;
3527 3690 border-start-start-radius: 0.125rem;
3528 3691 width: 100px;
@@ -3533,14 +3696,45 @@
3533 3696 }
3534 3697 .wp-block-playlist .waveform-btn:hover:not(:disabled) {
3535 3698 transform: none;
3536 3699 }
3700 +.wp-block-playlist .waveform-btn svg {
3701 + width: 3rem;
3702 + height: 3rem;
3703 +}
3704 +.wp-block-playlist .waveform-btn .waveform-icon-pause svg {
3705 + width: 2.625rem;
3706 + height: 2.625rem;
3707 +}
3708 +.wp-block-playlist .waveform-player.has-play-button-artwork .waveform-btn {
3709 + background-image: var(--wp--playlist--play-button-artwork);
3710 + background-position: center;
3711 + background-size: cover;
3712 + color: #fff;
3713 +}
3714 +.wp-block-playlist .waveform-player.has-play-button-artwork .waveform-btn svg {
3715 + filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
3716 +}
3717 +.wp-block-playlist .waveform-player.has-play-button-artwork .waveform-btn svg path {
3718 + fill: #fff !important;
3719 +}
3537 3720 .wp-block-playlist .waveform-track.waveform-align-bottom .waveform-btn {
3538 3721 margin-bottom: 0;
3539 3722 }
3540 -.wp-block-playlist .waveform-subtitle {
3723 +.wp-block-playlist .waveform-btn:focus-visible,
3724 +.wp-block-playlist .waveform-container:focus-visible {
3725 + outline: revert;
3726 + outline-offset: revert;
3727 +}
3728 +.wp-block-playlist .waveform-artist {
3541 3729 opacity: 0.7;
3542 3730 }
3731 +.wp-block-playlist .waveform-info,
3732 +.wp-block-playlist .waveform-artist,
3733 +.wp-block-playlist .waveform-title,
3734 +.wp-block-playlist .waveform-time {
3735 + font-size: inherit;
3736 +}
3543 3737 .wp-block-playlist .wp-block-playlist__tracklist {
3544 3738 margin: 0;
3545 3739 padding-right: 0;
3546 3740 list-style: none;
@@ -3550,8 +3744,11 @@
3550 3744 }
3551 3745 .wp-block-playlist .wp-block-playlist__tracklist.wp-block-playlist__tracklist-artist-is-hidden .wp-block-playlist-track__artist {
3552 3746 display: none;
3553 3747 }
3748 +.wp-block-playlist .wp-block-playlist__tracklist.wp-block-playlist__tracklist-length-is-hidden .wp-block-playlist-track__length {
3749 + display: none;
3750 +}
3554 3751 .wp-block-playlist .wp-block-playlist__tracklist.wp-block-playlist__tracklist-show-numbers {
3555 3752 counter-reset: playlist-track;
3556 3753 }
3557 3754
@@ -3584,8 +3781,17 @@
3584 3781 margin-left: var(--wp--preset--spacing--20, 0.5em);
3585 3782 font-size: 0.85em;
3586 3783 opacity: 0.7;
3587 3784 }
3785 +.wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__image {
3786 + flex: 0 0 50px;
3787 + width: 50px;
3788 + height: 50px;
3789 + margin-left: var(--wp--preset--spacing--20, 0.5em);
3790 + border: 1px solid rgba(0, 0, 0, 0.08);
3791 + box-sizing: border-box;
3792 + object-fit: cover;
3793 +}
3588 3794 .wp-block-playlist-track .wp-block-playlist-track__button .wp-block-playlist-track__content {
3589 3795 flex: 1 1 0;
3590 3796 min-width: 0;
3591 3797 }
@@ -3632,8 +3838,9 @@
3632 3838
3633 3839 .wp-block-post-author-biography {
3634 3840 box-sizing: border-box;
3635 3841 white-space: pre-wrap;
3842 + overflow-wrap: break-word;
3636 3843 }
3637 3844
3638 3845 :where(.wp-block-post-comments-form textarea),
3639 3846 :where(.wp-block-post-comments-form input:not([type=submit])) {
@@ -3682,14 +3889,8 @@
3682 3889 display: block;
3683 3890 box-sizing: border-box;
3684 3891 width: 100%;
3685 3892 }
3686 -.wp-block-post-comments-form .comment-form-author label,
3687 -.wp-block-post-comments-form .comment-form-email label,
3688 -.wp-block-post-comments-form .comment-form-url label {
3689 - display: block;
3690 - margin-bottom: 0.25em;
3691 -}
3692 3893 .wp-block-post-comments-form .comment-form-cookies-consent {
3693 3894 display: flex;
3694 3895 gap: 0.25em;
3695 3896 }
@@ -3703,8 +3904,15 @@
3703 3904 font-size: var(--wp--preset--font-size--medium, smaller);
3704 3905 margin-right: 0.5em;
3705 3906 }
3706 3907
3908 +:where(.wp-block-post-comments-form .comment-form-author label),
3909 +:where(.wp-block-post-comments-form .comment-form-email label),
3910 +:where(.wp-block-post-comments-form .comment-form-url label) {
3911 + display: block;
3912 + margin-bottom: 0.25em;
3913 +}
3914 +
3707 3915 .wp-block-post-comments-count {
3708 3916 box-sizing: border-box;
3709 3917 }
3710 3918
@@ -3806,8 +4014,11 @@
3806 4014 .wp-block-post-featured-image:where(.alignleft, .alignright) {
3807 4015 width: 100%;
3808 4016 }
3809 4017
4018 +.wp-block-post-navigation-link {
4019 + box-sizing: border-box;
4020 +}
3810 4021 .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous {
3811 4022 display: inline-block;
3812 4023 margin-left: 1ch;
3813 4024 }
@@ -3836,13 +4047,13 @@
3836 4047 box-sizing: border-box;
3837 4048 }
3838 4049
3839 4050 .wp-block-post-title {
3840 - word-break: break-word;
4051 + word-break: normal;
4052 + overflow-wrap: anywhere;
3841 4053 box-sizing: border-box;
3842 4054 }
3843 4055 .wp-block-post-title :where(a) {
3844 - display: inline-block;
3845 4056 font-family: inherit;
3846 4057 font-size: inherit;
3847 4058 font-style: inherit;
3848 4059 font-weight: inherit;
@@ -3860,9 +4071,9 @@
3860 4071 white-space: pre-wrap;
3861 4072 }
3862 4073
3863 4074 :where(.wp-block-preformatted.has-background) {
3864 - padding: 1.25em 2.375em;
4075 + padding: var(--wp--style--block-background-padding, 1.25em 2.375em);
3865 4076 }
3866 4077
3867 4078 .wp-block-pullquote {
3868 4079 text-align: center;
@@ -3990,8 +4201,12 @@
3990 4201 margin-inline-start: auto;
3991 4202 margin-inline-end: auto;
3992 4203 }
3993 4204
4205 +:where(.wp-block-query-no-results) {
4206 + box-sizing: border-box;
4207 +}
4208 +
3994 4209 .wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type {
3995 4210 margin-inline-start: auto;
3996 4211 }
3997 4212 .wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-previous:first-child {
@@ -4129,9 +4344,9 @@
4129 4344 flex-wrap: nowrap;
4130 4345 max-width: 100%;
4131 4346 }
4132 4347
4133 -.wp-block-search__label {
4348 +:where(.wp-block-search__label) {
4134 4349 width: 100%;
4135 4350 }
4136 4351
4137 4352 .wp-block-search.wp-block-search__button-only .wp-block-search__button {
@@ -4748,9 +4963,9 @@
4748 4963 padding: 1ch 2ch;
4749 4964 text-decoration: none !important;
4750 4965 }
4751 4966
4752 -.wp-block-tab {
4967 +:where(.wp-block-tab-list button) {
4753 4968 box-sizing: border-box;
4754 4969 color: inherit;
4755 4970 display: block;
4756 4971 width: max-content;
@@ -4772,9 +4987,9 @@
4772 4987 letter-spacing: inherit;
4773 4988 text-transform: inherit;
4774 4989 text-align: inherit;
4775 4990 }
4776 -.wp-block-tab[aria-selected=true]::before, .wp-block-tab.is-active::before {
4991 +:where(.wp-block-tab-list button)[aria-selected=true]::before {
4777 4992 content: "";
4778 4993 position: absolute;
4779 4994 border-bottom: 2px solid currentColor;
4780 4995 pointer-events: none;
@@ -4782,34 +4997,18 @@
4782 4997 width: 100%;
4783 4998 bottom: 0;
4784 4999 }
4785 5000
4786 -.wp-block-tab-panel {
4787 - max-width: 100%;
4788 - flex-basis: 100%;
4789 - flex-grow: 1;
4790 - box-sizing: border-box;
4791 -}
4792 -.wp-block-tab-panel > *:first-child {
4793 - margin-top: 0;
4794 -}
4795 -.wp-block-tab-panel > *:last-child {
4796 - margin-bottom: 0;
4797 -}
4798 -.wp-block-tab-panel[hidden], .wp-block-tab-panel:empty {
5001 +.wp-block-tab-panel:empty {
4799 5002 display: none !important;
4800 5003 }
4801 -
4802 -.wp-block-tab-panel.wp-block.has-background,
4803 -.wp-block-tab-panel:not(.wp-block).has-background {
4804 - padding: var(--wp--preset--spacing--30);
5004 +.wp-block-tab-panel[hidden] {
5005 + box-shadow: none !important;
5006 + border: none !important;
5007 + margin-block-start: 0;
5008 + padding: 0 !important;
4805 5009 }
4806 5010
4807 -.wp-block-tab-panels {
4808 - flex-grow: 1;
4809 - min-width: 0;
4810 -}
4811 -
4812 5011 .wp-block-table {
4813 5012 overflow-x: auto;
4814 5013 }
4815 5014 .wp-block-table table {
@@ -5008,9 +5207,10 @@
5008 5207 box-sizing: border-box;
5009 5208 overflow: auto;
5010 5209 white-space: pre-wrap;
5011 5210 min-width: 1em;
5012 - word-break: break-word;
5211 + word-break: normal;
5212 + overflow-wrap: break-word;
5013 5213 }
5014 5214
5015 5215 :where(pre.wp-block-verse) {
5016 5216 font-family: inherit;
@@ -5189,9 +5389,9 @@
5189 5389 overflow: hidden;
5190 5390 padding: 0;
5191 5391 position: absolute;
5192 5392 width: 1px;
5193 - word-wrap: normal !important;
5393 + overflow-wrap: normal !important;
5194 5394 word-break: normal !important;
5195 5395 }
5196 5396
5197 5397 .screen-reader-text:focus {
@@ -5224,45 +5424,65 @@
5224 5424 html :where(.has-border-color) {
5225 5425 border-style: solid;
5226 5426 }
5227 5427
5228 -html :where([style*=border-color]) {
5428 +html :where([style^=border-color],
5429 +[style*=";border-color"],
5430 +[style*="; border-color"]) {
5229 5431 border-style: solid;
5230 5432 }
5231 5433
5232 -html :where([style*=border-top-color]) {
5434 +html :where([style^=border-top-color],
5435 +[style*=";border-top-color"],
5436 +[style*="; border-top-color"]) {
5233 5437 border-top-style: solid;
5234 5438 }
5235 5439
5236 -html :where([style*=border-right-color]) {
5440 +html :where([style^=border-right-color],
5441 +[style*=";border-right-color"],
5442 +[style*="; border-right-color"]) {
5237 5443 border-right-style: solid;
5238 5444 }
5239 5445
5240 -html :where([style*=border-bottom-color]) {
5446 +html :where([style^=border-bottom-color],
5447 +[style*=";border-bottom-color"],
5448 +[style*="; border-bottom-color"]) {
5241 5449 border-bottom-style: solid;
5242 5450 }
5243 5451
5244 -html :where([style*=border-left-color]) {
5452 +html :where([style^=border-left-color],
5453 +[style*=";border-left-color"],
5454 +[style*="; border-left-color"]) {
5245 5455 border-left-style: solid;
5246 5456 }
5247 5457
5248 -html :where([style*=border-width]) {
5458 +html :where([style^=border-width],
5459 +[style*=";border-width"],
5460 +[style*="; border-width"]) {
5249 5461 border-style: solid;
5250 5462 }
5251 5463
5252 -html :where([style*=border-top-width]) {
5464 +html :where([style^=border-top-width],
5465 +[style*=";border-top-width"],
5466 +[style*="; border-top-width"]) {
5253 5467 border-top-style: solid;
5254 5468 }
5255 5469
5256 -html :where([style*=border-right-width]) {
5470 +html :where([style^=border-right-width],
5471 +[style*=";border-right-width"],
5472 +[style*="; border-right-width"]) {
5257 5473 border-right-style: solid;
5258 5474 }
5259 5475
5260 -html :where([style*=border-bottom-width]) {
5476 +html :where([style^=border-bottom-width],
5477 +[style*=";border-bottom-width"],
5478 +[style*="; border-bottom-width"]) {
5261 5479 border-bottom-style: solid;
5262 5480 }
5263 5481
5264 -html :where([style*=border-left-width]) {
5482 +html :where([style^=border-left-width],
5483 +[style*=";border-left-width"],
5484 +[style*="; border-left-width"]) {
5265 5485 border-left-style: solid;
5266 5486 }
5267 5487
5268 5488 /**
@@ -5280,16 +5500,12 @@
5280 5500 margin: 0 0 1em 0;
5281 5501 }
5282 5502
5283 5503 html :where(.is-position-sticky) {
5284 - /* stylelint-disable length-zero-no-unit -- 0px is set explicitly so that it can be used in a calc value. */
5285 5504 --wp-admin--admin-bar--position-offset: var(--wp-admin--admin-bar--height, 0px);
5286 - /* stylelint-enable length-zero-no-unit */
5287 5505 }
5288 5506
5289 5507 @media screen and (max-width: 600px) {
5290 5508 html :where(.is-position-sticky) {
5291 - /* stylelint-disable length-zero-no-unit -- 0px is set explicitly so that it can be used in a calc value. */
5292 5509 --wp-admin--admin-bar--position-offset: 0px;
5293 - /* stylelint-enable length-zero-no-unit */
5294 5510 }
5295 5511 }