@wordpress/block-library 7.15.0 → 7.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/build/code/utils.js +3 -3
- package/build/code/utils.js.map +1 -1
- package/build/comments-pagination-numbers/index.js +7 -0
- package/build/comments-pagination-numbers/index.js.map +1 -1
- package/build/gallery/gallery.js +2 -28
- package/build/gallery/gallery.js.map +1 -1
- package/build/group/edit.js +1 -1
- package/build/group/edit.js.map +1 -1
- package/build/navigation/edit/index.js +12 -12
- package/build/navigation/edit/index.js.map +1 -1
- package/build/paragraph/deprecated.js +49 -10
- package/build/paragraph/deprecated.js.map +1 -1
- package/build/paragraph/drop-zone.js +99 -0
- package/build/paragraph/drop-zone.js.map +1 -0
- package/build/paragraph/edit.js +30 -6
- package/build/paragraph/edit.js.map +1 -1
- package/build/paragraph/save.js +3 -1
- package/build/paragraph/save.js.map +1 -1
- package/build/post-author/edit.js +20 -2
- package/build/post-author/edit.js.map +1 -1
- package/build/post-author/index.js +8 -0
- package/build/post-author/index.js.map +1 -1
- package/build/post-content/edit.js +6 -1
- package/build/post-content/edit.js.map +1 -1
- package/build/post-featured-image/index.js +1 -1
- package/build/post-featured-image/overlay.js +2 -2
- package/build/post-featured-image/overlay.js.map +1 -1
- package/build/post-terms/index.js +4 -0
- package/build/post-terms/index.js.map +1 -1
- package/build/query/edit/inspector-controls/author-control.js +2 -1
- package/build/query/edit/inspector-controls/author-control.js.map +1 -1
- package/build/query/edit/inspector-controls/index.js +1 -1
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/inspector-controls/parent-control.js +2 -1
- package/build/query/edit/inspector-controls/parent-control.js.map +1 -1
- package/build/query/edit/inspector-controls/taxonomy-controls.js +2 -1
- package/build/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
- package/build/query/utils.js +1 -1
- package/build/query/utils.js.map +1 -1
- package/build/quote/index.js +0 -1
- package/build/quote/index.js.map +1 -1
- package/build/site-title/index.js +2 -1
- package/build/site-title/index.js.map +1 -1
- package/build/template-part/index.js +2 -2
- package/build/template-part/index.js.map +1 -1
- package/build/video/edit.js +13 -1
- package/build/video/edit.js.map +1 -1
- package/build-module/code/utils.js +3 -3
- package/build-module/code/utils.js.map +1 -1
- package/build-module/comments-pagination-numbers/index.js +7 -0
- package/build-module/comments-pagination-numbers/index.js.map +1 -1
- package/build-module/gallery/gallery.js +2 -29
- package/build-module/gallery/gallery.js.map +1 -1
- package/build-module/group/edit.js +1 -1
- package/build-module/group/edit.js.map +1 -1
- package/build-module/navigation/edit/index.js +12 -12
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/paragraph/deprecated.js +49 -11
- package/build-module/paragraph/deprecated.js.map +1 -1
- package/build-module/paragraph/drop-zone.js +88 -0
- package/build-module/paragraph/drop-zone.js.map +1 -0
- package/build-module/paragraph/edit.js +29 -6
- package/build-module/paragraph/edit.js.map +1 -1
- package/build-module/paragraph/save.js +2 -1
- package/build-module/paragraph/save.js.map +1 -1
- package/build-module/post-author/edit.js +21 -2
- package/build-module/post-author/edit.js.map +1 -1
- package/build-module/post-author/index.js +8 -0
- package/build-module/post-author/index.js.map +1 -1
- package/build-module/post-content/edit.js +6 -1
- package/build-module/post-content/edit.js.map +1 -1
- package/build-module/post-featured-image/index.js +1 -1
- package/build-module/post-featured-image/overlay.js +2 -2
- package/build-module/post-featured-image/overlay.js.map +1 -1
- package/build-module/post-terms/index.js +4 -0
- package/build-module/post-terms/index.js.map +1 -1
- package/build-module/query/edit/inspector-controls/author-control.js +2 -1
- package/build-module/query/edit/inspector-controls/author-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/index.js +1 -1
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/inspector-controls/parent-control.js +2 -1
- package/build-module/query/edit/inspector-controls/parent-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/taxonomy-controls.js +2 -1
- package/build-module/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
- package/build-module/query/utils.js +1 -1
- package/build-module/query/utils.js.map +1 -1
- package/build-module/quote/index.js +0 -1
- package/build-module/quote/index.js.map +1 -1
- package/build-module/site-title/index.js +2 -1
- package/build-module/site-title/index.js.map +1 -1
- package/build-module/template-part/index.js +2 -2
- package/build-module/template-part/index.js.map +1 -1
- package/build-module/video/edit.js +15 -3
- package/build-module/video/edit.js.map +1 -1
- package/build-style/classic-rtl.css +85 -0
- package/build-style/classic.css +85 -0
- package/build-style/code/style-rtl.css +3 -0
- package/build-style/code/style.css +3 -0
- package/build-style/editor-rtl.css +110 -31
- package/build-style/editor.css +110 -31
- package/build-style/group/editor-rtl.css +11 -1
- package/build-style/group/editor.css +11 -1
- package/build-style/image/editor-rtl.css +3 -0
- package/build-style/image/editor.css +3 -0
- package/build-style/navigation/editor-rtl.css +15 -1
- package/build-style/navigation/editor.css +15 -1
- package/build-style/navigation/style-rtl.css +3 -0
- package/build-style/navigation/style.css +3 -0
- package/build-style/paragraph/editor-rtl.css +16 -0
- package/build-style/paragraph/editor.css +16 -0
- package/build-style/paragraph/style-rtl.css +5 -0
- package/build-style/paragraph/style.css +5 -0
- package/build-style/post-featured-image/editor-rtl.css +39 -29
- package/build-style/post-featured-image/editor.css +39 -29
- package/build-style/post-terms/style-rtl.css +4 -1
- package/build-style/post-terms/style.css +4 -1
- package/build-style/site-title/editor-rtl.css +4 -0
- package/build-style/site-title/editor.css +4 -0
- package/build-style/site-title/style-rtl.css +79 -0
- package/build-style/site-title/style.css +79 -0
- package/build-style/style-rtl.css +19 -1
- package/build-style/style.css +19 -1
- package/build-style/video/editor-rtl.css +22 -0
- package/build-style/video/editor.css +22 -0
- package/package.json +28 -28
- package/src/archives/index.php +4 -7
- package/src/categories/index.php +1 -1
- package/src/classic.scss +15 -0
- package/src/code/style.scss +12 -7
- package/src/code/utils.js +3 -3
- package/src/comment-author-name/index.php +1 -1
- package/src/comment-reply-link/index.php +1 -1
- package/src/comment-template/index.php +18 -9
- package/src/comments-pagination-numbers/block.json +7 -0
- package/src/cover/index.php +1 -1
- package/src/gallery/gallery.js +1 -31
- package/src/group/edit.js +1 -1
- package/src/image/editor.scss +4 -0
- package/src/latest-posts/index.php +1 -1
- package/src/navigation/edit/index.js +12 -10
- package/src/navigation/editor.scss +6 -0
- package/src/navigation/style.scss +8 -0
- package/src/navigation-submenu/index.php +11 -2
- package/src/page-list/index.php +3 -3
- package/src/paragraph/deprecated.js +36 -0
- package/src/paragraph/drop-zone.js +105 -0
- package/src/paragraph/edit.js +37 -9
- package/src/paragraph/editor.scss +20 -0
- package/src/paragraph/save.js +5 -1
- package/src/paragraph/style.scss +5 -0
- package/src/post-author/block.json +8 -0
- package/src/post-author/edit.js +29 -3
- package/src/post-author/index.php +7 -1
- package/src/post-content/edit.js +3 -1
- package/src/post-featured-image/block.json +1 -1
- package/src/post-featured-image/editor.scss +79 -72
- package/src/post-featured-image/index.php +18 -24
- package/src/post-featured-image/overlay.js +17 -14
- package/src/post-terms/block.json +4 -0
- package/src/post-terms/style.scss +7 -2
- package/src/query/edit/inspector-controls/author-control.js +1 -0
- package/src/query/edit/inspector-controls/index.js +1 -4
- package/src/query/edit/inspector-controls/parent-control.js +1 -0
- package/src/query/edit/inspector-controls/taxonomy-controls.js +1 -0
- package/src/query/utils.js +1 -1
- package/src/quote/block.json +0 -1
- package/src/site-title/block.json +2 -1
- package/src/site-title/editor.scss +6 -0
- package/src/site-title/style.scss +5 -0
- package/src/style.scss +1 -0
- package/src/tag-cloud/index.php +1 -8
- package/src/template-part/index.js +2 -2
- package/src/video/edit.js +19 -0
- package/src/video/editor.scss +37 -0
- package/build/navigation-submenu/view.js +0 -56
- package/build/navigation-submenu/view.js.map +0 -1
- package/build-module/navigation-submenu/view.js +0 -54
- package/build-module/navigation-submenu/view.js.map +0 -1
- package/src/navigation-submenu/view.js +0 -67
package/build-style/editor.css
CHANGED
|
@@ -1112,9 +1112,19 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1112
1112
|
flex: 1 0 48px;
|
|
1113
1113
|
pointer-events: none;
|
|
1114
1114
|
min-height: 46px;
|
|
1115
|
-
border: 1px dashed currentColor;
|
|
1116
1115
|
border-radius: 2px;
|
|
1117
1116
|
}
|
|
1117
|
+
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
|
|
1118
|
+
content: "";
|
|
1119
|
+
position: absolute;
|
|
1120
|
+
top: 0;
|
|
1121
|
+
right: 0;
|
|
1122
|
+
bottom: 0;
|
|
1123
|
+
left: 0;
|
|
1124
|
+
pointer-events: none;
|
|
1125
|
+
background: currentColor;
|
|
1126
|
+
opacity: 0.1;
|
|
1127
|
+
}
|
|
1118
1128
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
1119
1129
|
pointer-events: all;
|
|
1120
1130
|
}
|
|
@@ -1163,6 +1173,9 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1163
1173
|
.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
|
|
1164
1174
|
display: none;
|
|
1165
1175
|
}
|
|
1176
|
+
.wp-block-image.wp-block-image.is-selected .components-placeholder::before {
|
|
1177
|
+
opacity: 0;
|
|
1178
|
+
}
|
|
1166
1179
|
.wp-block-image.wp-block-image .components-placeholder__label,
|
|
1167
1180
|
.wp-block-image.wp-block-image .components-placeholder__instructions,
|
|
1168
1181
|
.wp-block-image.wp-block-image .components-button {
|
|
@@ -1600,10 +1613,20 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1600
1613
|
bottom: 0;
|
|
1601
1614
|
left: 0;
|
|
1602
1615
|
pointer-events: none;
|
|
1603
|
-
border: 1px dashed currentColor;
|
|
1604
1616
|
border-radius: 2px;
|
|
1605
1617
|
border-radius: inherit;
|
|
1606
1618
|
}
|
|
1619
|
+
.wp-block-navigation-placeholder__preview::before::before {
|
|
1620
|
+
content: "";
|
|
1621
|
+
position: absolute;
|
|
1622
|
+
top: 0;
|
|
1623
|
+
right: 0;
|
|
1624
|
+
bottom: 0;
|
|
1625
|
+
left: 0;
|
|
1626
|
+
pointer-events: none;
|
|
1627
|
+
background: currentColor;
|
|
1628
|
+
opacity: 0.1;
|
|
1629
|
+
}
|
|
1607
1630
|
.wp-block-navigation-placeholder__preview > svg {
|
|
1608
1631
|
fill: currentColor;
|
|
1609
1632
|
}
|
|
@@ -1862,6 +1885,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1862
1885
|
width: 100%;
|
|
1863
1886
|
}
|
|
1864
1887
|
|
|
1888
|
+
.wp-block-navigation__responsive-container-open.components-button {
|
|
1889
|
+
opacity: 1;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1865
1892
|
/**
|
|
1866
1893
|
* Submenus.
|
|
1867
1894
|
*/
|
|
@@ -2082,6 +2109,22 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2082
2109
|
opacity: 0;
|
|
2083
2110
|
}
|
|
2084
2111
|
|
|
2112
|
+
.components-popover.wp-block-paragraph__drop-zone .components-popover__content {
|
|
2113
|
+
border: none;
|
|
2114
|
+
outline: none;
|
|
2115
|
+
box-shadow: none;
|
|
2116
|
+
}
|
|
2117
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
|
|
2118
|
+
position: absolute;
|
|
2119
|
+
}
|
|
2120
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
|
|
2121
|
+
position: absolute;
|
|
2122
|
+
inset: 0;
|
|
2123
|
+
pointer-events: none;
|
|
2124
|
+
background-color: var(--wp-admin-theme-color);
|
|
2125
|
+
border-radius: 2px;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2085
2128
|
.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline {
|
|
2086
2129
|
display: inline-block;
|
|
2087
2130
|
}
|
|
@@ -2276,6 +2319,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2276
2319
|
border: 1px dashed;
|
|
2277
2320
|
}
|
|
2278
2321
|
|
|
2322
|
+
.editor-styles-wrapper .wp-block-site-title a {
|
|
2323
|
+
color: inherit;
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2279
2326
|
.wp-block-social-links .wp-social-link {
|
|
2280
2327
|
line-height: 0;
|
|
2281
2328
|
}
|
|
@@ -2531,6 +2578,28 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2531
2578
|
outline: 1px solid #ddd;
|
|
2532
2579
|
}
|
|
2533
2580
|
|
|
2581
|
+
.wp-block-video.wp-block-video.is-selected .components-placeholder {
|
|
2582
|
+
color: #1e1e1e;
|
|
2583
|
+
background-color: #fff;
|
|
2584
|
+
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
2585
|
+
border: none;
|
|
2586
|
+
border-radius: 2px;
|
|
2587
|
+
}
|
|
2588
|
+
.wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
|
|
2589
|
+
opacity: 0;
|
|
2590
|
+
}
|
|
2591
|
+
.wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
|
|
2592
|
+
display: none;
|
|
2593
|
+
}
|
|
2594
|
+
.wp-block-video.wp-block-video.is-selected .components-placeholder::before {
|
|
2595
|
+
opacity: 0;
|
|
2596
|
+
}
|
|
2597
|
+
.wp-block-video.wp-block-video .components-placeholder__label,
|
|
2598
|
+
.wp-block-video.wp-block-video .components-placeholder__instructions,
|
|
2599
|
+
.wp-block-video.wp-block-video .components-button {
|
|
2600
|
+
transition: none;
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2534
2603
|
.wp-block[data-align=center] > .wp-block-video {
|
|
2535
2604
|
text-align: center;
|
|
2536
2605
|
}
|
|
@@ -2730,19 +2799,19 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2730
2799
|
-webkit-backdrop-filter: none;
|
|
2731
2800
|
backdrop-filter: none;
|
|
2732
2801
|
}
|
|
2733
|
-
.wp-block-post-featured-image
|
|
2734
|
-
.wp-block-post-featured-image
|
|
2802
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
|
|
2803
|
+
.wp-block-post-featured-image .components-placeholder {
|
|
2735
2804
|
justify-content: center;
|
|
2736
2805
|
align-items: center;
|
|
2737
2806
|
padding: 0;
|
|
2738
2807
|
min-height: 200px;
|
|
2739
2808
|
}
|
|
2740
|
-
.wp-block-post-featured-image
|
|
2741
|
-
.wp-block-post-featured-image
|
|
2809
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
|
|
2810
|
+
.wp-block-post-featured-image .components-placeholder .components-form-file-upload {
|
|
2742
2811
|
display: none;
|
|
2743
2812
|
}
|
|
2744
|
-
.wp-block-post-featured-image
|
|
2745
|
-
.wp-block-post-featured-image
|
|
2813
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
|
|
2814
|
+
.wp-block-post-featured-image .components-placeholder .components-button {
|
|
2746
2815
|
padding: 0;
|
|
2747
2816
|
display: flex;
|
|
2748
2817
|
justify-content: center;
|
|
@@ -2756,51 +2825,61 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2756
2825
|
border-style: solid;
|
|
2757
2826
|
color: #fff;
|
|
2758
2827
|
}
|
|
2759
|
-
.wp-block-post-featured-image
|
|
2760
|
-
.wp-block-post-featured-image
|
|
2828
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button > svg,
|
|
2829
|
+
.wp-block-post-featured-image .components-placeholder .components-button > svg {
|
|
2761
2830
|
color: inherit;
|
|
2762
2831
|
}
|
|
2763
|
-
.wp-block-post-featured-image
|
|
2764
|
-
.wp-block-post-featured-image
|
|
2832
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
|
|
2833
|
+
.wp-block-post-featured-image .components-placeholder:where(.has-border-color),
|
|
2834
|
+
.wp-block-post-featured-image img:where(.has-border-color) {
|
|
2765
2835
|
border-style: solid;
|
|
2766
2836
|
}
|
|
2767
|
-
.wp-block-post-featured-image
|
|
2768
|
-
.wp-block-post-featured-image
|
|
2837
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
|
|
2838
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]),
|
|
2839
|
+
.wp-block-post-featured-image img:where([style*="border-top-color"]) {
|
|
2769
2840
|
border-top-style: solid;
|
|
2770
2841
|
}
|
|
2771
|
-
.wp-block-post-featured-image
|
|
2772
|
-
.wp-block-post-featured-image
|
|
2842
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
|
|
2843
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]),
|
|
2844
|
+
.wp-block-post-featured-image img:where([style*="border-right-color"]) {
|
|
2773
2845
|
border-right-style: solid;
|
|
2774
2846
|
}
|
|
2775
|
-
.wp-block-post-featured-image
|
|
2776
|
-
.wp-block-post-featured-image
|
|
2847
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
|
|
2848
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]),
|
|
2849
|
+
.wp-block-post-featured-image img:where([style*="border-bottom-color"]) {
|
|
2777
2850
|
border-bottom-style: solid;
|
|
2778
2851
|
}
|
|
2779
|
-
.wp-block-post-featured-image
|
|
2780
|
-
.wp-block-post-featured-image
|
|
2852
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
|
|
2853
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]),
|
|
2854
|
+
.wp-block-post-featured-image img:where([style*="border-left-color"]) {
|
|
2781
2855
|
border-left-style: solid;
|
|
2782
2856
|
}
|
|
2783
|
-
.wp-block-post-featured-image
|
|
2784
|
-
.wp-block-post-featured-image
|
|
2857
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
|
|
2858
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-width"]),
|
|
2859
|
+
.wp-block-post-featured-image img:where([style*="border-width"]) {
|
|
2785
2860
|
border-style: solid;
|
|
2786
2861
|
}
|
|
2787
|
-
.wp-block-post-featured-image
|
|
2788
|
-
.wp-block-post-featured-image
|
|
2862
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
|
|
2863
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]),
|
|
2864
|
+
.wp-block-post-featured-image img:where([style*="border-top-width"]) {
|
|
2789
2865
|
border-top-style: solid;
|
|
2790
2866
|
}
|
|
2791
|
-
.wp-block-post-featured-image
|
|
2792
|
-
.wp-block-post-featured-image
|
|
2867
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
|
|
2868
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]),
|
|
2869
|
+
.wp-block-post-featured-image img:where([style*="border-right-width"]) {
|
|
2793
2870
|
border-right-style: solid;
|
|
2794
2871
|
}
|
|
2795
|
-
.wp-block-post-featured-image
|
|
2796
|
-
.wp-block-post-featured-image
|
|
2872
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
|
|
2873
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]),
|
|
2874
|
+
.wp-block-post-featured-image img:where([style*="border-bottom-width"]) {
|
|
2797
2875
|
border-bottom-style: solid;
|
|
2798
2876
|
}
|
|
2799
|
-
.wp-block-post-featured-image
|
|
2800
|
-
.wp-block-post-featured-image
|
|
2877
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
|
|
2878
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]),
|
|
2879
|
+
.wp-block-post-featured-image img:where([style*="border-left-width"]) {
|
|
2801
2880
|
border-left-style: solid;
|
|
2802
2881
|
}
|
|
2803
|
-
.wp-block-post-featured-image
|
|
2882
|
+
.wp-block-post-featured-image[style*=height] .components-placeholder {
|
|
2804
2883
|
min-height: 48px;
|
|
2805
2884
|
min-width: 48px;
|
|
2806
2885
|
height: 100%;
|
|
@@ -109,9 +109,19 @@
|
|
|
109
109
|
flex: 1 0 48px;
|
|
110
110
|
pointer-events: none;
|
|
111
111
|
min-height: 46px;
|
|
112
|
-
border: 1px dashed currentColor;
|
|
113
112
|
border-radius: 2px;
|
|
114
113
|
}
|
|
114
|
+
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
|
|
115
|
+
content: "";
|
|
116
|
+
position: absolute;
|
|
117
|
+
top: 0;
|
|
118
|
+
left: 0;
|
|
119
|
+
bottom: 0;
|
|
120
|
+
right: 0;
|
|
121
|
+
pointer-events: none;
|
|
122
|
+
background: currentColor;
|
|
123
|
+
opacity: 0.1;
|
|
124
|
+
}
|
|
115
125
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
116
126
|
pointer-events: all;
|
|
117
127
|
}
|
|
@@ -109,9 +109,19 @@
|
|
|
109
109
|
flex: 1 0 48px;
|
|
110
110
|
pointer-events: none;
|
|
111
111
|
min-height: 46px;
|
|
112
|
-
border: 1px dashed currentColor;
|
|
113
112
|
border-radius: 2px;
|
|
114
113
|
}
|
|
114
|
+
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
|
|
115
|
+
content: "";
|
|
116
|
+
position: absolute;
|
|
117
|
+
top: 0;
|
|
118
|
+
right: 0;
|
|
119
|
+
bottom: 0;
|
|
120
|
+
left: 0;
|
|
121
|
+
pointer-events: none;
|
|
122
|
+
background: currentColor;
|
|
123
|
+
opacity: 0.1;
|
|
124
|
+
}
|
|
115
125
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
116
126
|
pointer-events: all;
|
|
117
127
|
}
|
|
@@ -88,6 +88,9 @@
|
|
|
88
88
|
.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
|
|
89
89
|
display: none;
|
|
90
90
|
}
|
|
91
|
+
.wp-block-image.wp-block-image.is-selected .components-placeholder::before {
|
|
92
|
+
opacity: 0;
|
|
93
|
+
}
|
|
91
94
|
.wp-block-image.wp-block-image .components-placeholder__label,
|
|
92
95
|
.wp-block-image.wp-block-image .components-placeholder__instructions,
|
|
93
96
|
.wp-block-image.wp-block-image .components-button {
|
|
@@ -88,6 +88,9 @@
|
|
|
88
88
|
.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
|
|
89
89
|
display: none;
|
|
90
90
|
}
|
|
91
|
+
.wp-block-image.wp-block-image.is-selected .components-placeholder::before {
|
|
92
|
+
opacity: 0;
|
|
93
|
+
}
|
|
91
94
|
.wp-block-image.wp-block-image .components-placeholder__label,
|
|
92
95
|
.wp-block-image.wp-block-image .components-placeholder__instructions,
|
|
93
96
|
.wp-block-image.wp-block-image .components-button {
|
|
@@ -281,10 +281,20 @@
|
|
|
281
281
|
bottom: 0;
|
|
282
282
|
right: 0;
|
|
283
283
|
pointer-events: none;
|
|
284
|
-
border: 1px dashed currentColor;
|
|
285
284
|
border-radius: 2px;
|
|
286
285
|
border-radius: inherit;
|
|
287
286
|
}
|
|
287
|
+
.wp-block-navigation-placeholder__preview::before::before {
|
|
288
|
+
content: "";
|
|
289
|
+
position: absolute;
|
|
290
|
+
top: 0;
|
|
291
|
+
left: 0;
|
|
292
|
+
bottom: 0;
|
|
293
|
+
right: 0;
|
|
294
|
+
pointer-events: none;
|
|
295
|
+
background: currentColor;
|
|
296
|
+
opacity: 0.1;
|
|
297
|
+
}
|
|
288
298
|
.wp-block-navigation-placeholder__preview > svg {
|
|
289
299
|
fill: currentColor;
|
|
290
300
|
}
|
|
@@ -541,4 +551,8 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
541
551
|
border: 1px solid;
|
|
542
552
|
margin-bottom: 16px;
|
|
543
553
|
width: 100%;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.wp-block-navigation__responsive-container-open.components-button {
|
|
557
|
+
opacity: 1;
|
|
544
558
|
}
|
|
@@ -281,10 +281,20 @@
|
|
|
281
281
|
bottom: 0;
|
|
282
282
|
left: 0;
|
|
283
283
|
pointer-events: none;
|
|
284
|
-
border: 1px dashed currentColor;
|
|
285
284
|
border-radius: 2px;
|
|
286
285
|
border-radius: inherit;
|
|
287
286
|
}
|
|
287
|
+
.wp-block-navigation-placeholder__preview::before::before {
|
|
288
|
+
content: "";
|
|
289
|
+
position: absolute;
|
|
290
|
+
top: 0;
|
|
291
|
+
right: 0;
|
|
292
|
+
bottom: 0;
|
|
293
|
+
left: 0;
|
|
294
|
+
pointer-events: none;
|
|
295
|
+
background: currentColor;
|
|
296
|
+
opacity: 0.1;
|
|
297
|
+
}
|
|
288
298
|
.wp-block-navigation-placeholder__preview > svg {
|
|
289
299
|
fill: currentColor;
|
|
290
300
|
}
|
|
@@ -541,4 +551,8 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
541
551
|
border: 1px solid;
|
|
542
552
|
margin-bottom: 16px;
|
|
543
553
|
width: 100%;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.wp-block-navigation__responsive-container-open.components-button {
|
|
557
|
+
opacity: 1;
|
|
544
558
|
}
|
|
@@ -104,6 +104,9 @@
|
|
|
104
104
|
.wp-block-navigation .wp-block-navigation-item__content {
|
|
105
105
|
display: block;
|
|
106
106
|
}
|
|
107
|
+
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
|
|
108
|
+
color: inherit;
|
|
109
|
+
}
|
|
107
110
|
.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content {
|
|
108
111
|
text-decoration: underline;
|
|
109
112
|
}
|
|
@@ -104,6 +104,9 @@
|
|
|
104
104
|
.wp-block-navigation .wp-block-navigation-item__content {
|
|
105
105
|
display: block;
|
|
106
106
|
}
|
|
107
|
+
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
|
|
108
|
+
color: inherit;
|
|
109
|
+
}
|
|
107
110
|
.wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content {
|
|
108
111
|
text-decoration: underline;
|
|
109
112
|
}
|
|
@@ -84,4 +84,20 @@
|
|
|
84
84
|
|
|
85
85
|
.block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder] {
|
|
86
86
|
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.components-popover.wp-block-paragraph__drop-zone .components-popover__content {
|
|
90
|
+
border: none;
|
|
91
|
+
outline: none;
|
|
92
|
+
box-shadow: none;
|
|
93
|
+
}
|
|
94
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
|
|
95
|
+
position: absolute;
|
|
96
|
+
}
|
|
97
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
|
|
98
|
+
position: absolute;
|
|
99
|
+
inset: 0;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
background-color: var(--wp-admin-theme-color);
|
|
102
|
+
border-radius: 2px;
|
|
87
103
|
}
|
|
@@ -84,4 +84,20 @@
|
|
|
84
84
|
|
|
85
85
|
.block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder] {
|
|
86
86
|
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.components-popover.wp-block-paragraph__drop-zone .components-popover__content {
|
|
90
|
+
border: none;
|
|
91
|
+
outline: none;
|
|
92
|
+
box-shadow: none;
|
|
93
|
+
}
|
|
94
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
|
|
95
|
+
position: absolute;
|
|
96
|
+
}
|
|
97
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
|
|
98
|
+
position: absolute;
|
|
99
|
+
inset: 0;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
background-color: var(--wp-admin-theme-color);
|
|
102
|
+
border-radius: 2px;
|
|
87
103
|
}
|
|
@@ -79,19 +79,19 @@
|
|
|
79
79
|
-webkit-backdrop-filter: none;
|
|
80
80
|
backdrop-filter: none;
|
|
81
81
|
}
|
|
82
|
-
.wp-block-post-featured-image
|
|
83
|
-
.wp-block-post-featured-image
|
|
82
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
|
|
83
|
+
.wp-block-post-featured-image .components-placeholder {
|
|
84
84
|
justify-content: center;
|
|
85
85
|
align-items: center;
|
|
86
86
|
padding: 0;
|
|
87
87
|
min-height: 200px;
|
|
88
88
|
}
|
|
89
|
-
.wp-block-post-featured-image
|
|
90
|
-
.wp-block-post-featured-image
|
|
89
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
|
|
90
|
+
.wp-block-post-featured-image .components-placeholder .components-form-file-upload {
|
|
91
91
|
display: none;
|
|
92
92
|
}
|
|
93
|
-
.wp-block-post-featured-image
|
|
94
|
-
.wp-block-post-featured-image
|
|
93
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
|
|
94
|
+
.wp-block-post-featured-image .components-placeholder .components-button {
|
|
95
95
|
padding: 0;
|
|
96
96
|
display: flex;
|
|
97
97
|
justify-content: center;
|
|
@@ -105,51 +105,61 @@
|
|
|
105
105
|
border-style: solid;
|
|
106
106
|
color: #fff;
|
|
107
107
|
}
|
|
108
|
-
.wp-block-post-featured-image
|
|
109
|
-
.wp-block-post-featured-image
|
|
108
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button > svg,
|
|
109
|
+
.wp-block-post-featured-image .components-placeholder .components-button > svg {
|
|
110
110
|
color: inherit;
|
|
111
111
|
}
|
|
112
|
-
.wp-block-post-featured-image
|
|
113
|
-
.wp-block-post-featured-image
|
|
112
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
|
|
113
|
+
.wp-block-post-featured-image .components-placeholder:where(.has-border-color),
|
|
114
|
+
.wp-block-post-featured-image img:where(.has-border-color) {
|
|
114
115
|
border-style: solid;
|
|
115
116
|
}
|
|
116
|
-
.wp-block-post-featured-image
|
|
117
|
-
.wp-block-post-featured-image
|
|
117
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
|
|
118
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]),
|
|
119
|
+
.wp-block-post-featured-image img:where([style*="border-top-color"]) {
|
|
118
120
|
border-top-style: solid;
|
|
119
121
|
}
|
|
120
|
-
.wp-block-post-featured-image
|
|
121
|
-
.wp-block-post-featured-image
|
|
122
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
|
|
123
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]),
|
|
124
|
+
.wp-block-post-featured-image img:where([style*="border-right-color"]) {
|
|
122
125
|
border-left-style: solid;
|
|
123
126
|
}
|
|
124
|
-
.wp-block-post-featured-image
|
|
125
|
-
.wp-block-post-featured-image
|
|
127
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
|
|
128
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]),
|
|
129
|
+
.wp-block-post-featured-image img:where([style*="border-bottom-color"]) {
|
|
126
130
|
border-bottom-style: solid;
|
|
127
131
|
}
|
|
128
|
-
.wp-block-post-featured-image
|
|
129
|
-
.wp-block-post-featured-image
|
|
132
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
|
|
133
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]),
|
|
134
|
+
.wp-block-post-featured-image img:where([style*="border-left-color"]) {
|
|
130
135
|
border-right-style: solid;
|
|
131
136
|
}
|
|
132
|
-
.wp-block-post-featured-image
|
|
133
|
-
.wp-block-post-featured-image
|
|
137
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
|
|
138
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-width"]),
|
|
139
|
+
.wp-block-post-featured-image img:where([style*="border-width"]) {
|
|
134
140
|
border-style: solid;
|
|
135
141
|
}
|
|
136
|
-
.wp-block-post-featured-image
|
|
137
|
-
.wp-block-post-featured-image
|
|
142
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
|
|
143
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]),
|
|
144
|
+
.wp-block-post-featured-image img:where([style*="border-top-width"]) {
|
|
138
145
|
border-top-style: solid;
|
|
139
146
|
}
|
|
140
|
-
.wp-block-post-featured-image
|
|
141
|
-
.wp-block-post-featured-image
|
|
147
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
|
|
148
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]),
|
|
149
|
+
.wp-block-post-featured-image img:where([style*="border-right-width"]) {
|
|
142
150
|
border-left-style: solid;
|
|
143
151
|
}
|
|
144
|
-
.wp-block-post-featured-image
|
|
145
|
-
.wp-block-post-featured-image
|
|
152
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
|
|
153
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]),
|
|
154
|
+
.wp-block-post-featured-image img:where([style*="border-bottom-width"]) {
|
|
146
155
|
border-bottom-style: solid;
|
|
147
156
|
}
|
|
148
|
-
.wp-block-post-featured-image
|
|
149
|
-
.wp-block-post-featured-image
|
|
157
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
|
|
158
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]),
|
|
159
|
+
.wp-block-post-featured-image img:where([style*="border-left-width"]) {
|
|
150
160
|
border-right-style: solid;
|
|
151
161
|
}
|
|
152
|
-
.wp-block-post-featured-image
|
|
162
|
+
.wp-block-post-featured-image[style*=height] .components-placeholder {
|
|
153
163
|
min-height: 48px;
|
|
154
164
|
min-width: 48px;
|
|
155
165
|
height: 100%;
|