@wordpress/block-library 7.14.2 → 7.14.4
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/build/comments-pagination-next/index.js +1 -1
- package/build/comments-pagination-numbers/index.js +1 -1
- package/build/comments-pagination-previous/index.js +1 -1
- package/build/gallery/deprecated.js +4 -4
- package/build/gallery/deprecated.js.map +1 -1
- package/build/navigation/edit/index.js +12 -12
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/menu-items-to-blocks.js +16 -6
- package/build/navigation/menu-items-to-blocks.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-template/edit.js +13 -28
- package/build/post-template/edit.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/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/quote/transforms.js +2 -2
- package/build/quote/transforms.js.map +1 -1
- package/build/template-part/edit/index.js +2 -2
- package/build/template-part/edit/index.js.map +1 -1
- package/build/template-part/index.js +2 -2
- package/build/template-part/index.js.map +1 -1
- package/build-module/comments-pagination-next/index.js +1 -1
- package/build-module/comments-pagination-numbers/index.js +1 -1
- package/build-module/comments-pagination-previous/index.js +1 -1
- package/build-module/gallery/deprecated.js +4 -4
- package/build-module/gallery/deprecated.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/navigation/menu-items-to-blocks.js +16 -6
- package/build-module/navigation/menu-items-to-blocks.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-template/edit.js +14 -29
- package/build-module/post-template/edit.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/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/quote/transforms.js +2 -2
- package/build-module/quote/transforms.js.map +1 -1
- package/build-module/template-part/edit/index.js +3 -3
- package/build-module/template-part/edit/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-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 +39 -29
- package/build-style/editor.css +39 -29
- package/build-style/post-featured-image/editor-rtl.css +39 -29
- package/build-style/post-featured-image/editor.css +39 -29
- package/build-style/style-rtl.css +3 -0
- package/build-style/style.css +3 -0
- package/package.json +12 -12
- package/src/classic.scss +15 -0
- package/src/code/style.scss +12 -7
- package/src/comment-template/index.php +18 -8
- package/src/comments-pagination-next/block.json +1 -1
- package/src/comments-pagination-numbers/block.json +1 -1
- package/src/comments-pagination-previous/block.json +1 -1
- package/src/gallery/deprecated.js +4 -4
- package/src/navigation/edit/index.js +12 -10
- package/src/navigation/menu-items-to-blocks.js +39 -22
- package/src/navigation/test/menu-items-to-blocks.js +6 -0
- package/src/navigation-submenu/index.php +10 -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-template/edit.js +14 -23
- package/src/query/edit/inspector-controls/index.js +1 -4
- package/src/query/utils.js +1 -1
- package/src/quote/block.json +0 -1
- package/src/quote/transforms.js +1 -1
- package/src/template-part/edit/index.js +60 -58
- package/src/template-part/index.js +2 -2
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Breakpoints & Media Queries
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* SCSS Variables.
|
|
9
|
+
*
|
|
10
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
11
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
12
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Colors
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Fonts & basic variables.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Grid System.
|
|
22
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Dimensions.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Shadows.
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Editor widths.
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Block & Editor UI.
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Block paddings.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* React Native specific.
|
|
41
|
+
* These variables do not appear to be used anywhere else.
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Converts a hex value into the rgb equivalent.
|
|
45
|
+
*
|
|
46
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
47
|
+
* @return {string} comma separated rgb values
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Breakpoint mixins
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Long content fade mixin
|
|
54
|
+
*
|
|
55
|
+
* Creates a fading overlay to signify that the content is longer
|
|
56
|
+
* than the space allows.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Focus styles.
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Applies editor left position to the selector passed as argument
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Styles that are reused verbatim in a few places
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Reset default styles for JavaScript UI based pages.
|
|
72
|
+
* This is a WP-admin agnostic reset
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
|
+
*/
|
|
77
|
+
.wp-block-button__link {
|
|
78
|
+
color: #fff;
|
|
79
|
+
background-color: #32373c;
|
|
80
|
+
border-radius: 9999px;
|
|
81
|
+
box-shadow: none;
|
|
82
|
+
text-decoration: none;
|
|
83
|
+
padding: calc(0.667em + 2px) calc(1.333em + 2px);
|
|
84
|
+
font-size: 1.125em;
|
|
85
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Breakpoints & Media Queries
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* SCSS Variables.
|
|
9
|
+
*
|
|
10
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
11
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
12
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Colors
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Fonts & basic variables.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Grid System.
|
|
22
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Dimensions.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Shadows.
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Editor widths.
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Block & Editor UI.
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Block paddings.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* React Native specific.
|
|
41
|
+
* These variables do not appear to be used anywhere else.
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Converts a hex value into the rgb equivalent.
|
|
45
|
+
*
|
|
46
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
47
|
+
* @return {string} comma separated rgb values
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Breakpoint mixins
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Long content fade mixin
|
|
54
|
+
*
|
|
55
|
+
* Creates a fading overlay to signify that the content is longer
|
|
56
|
+
* than the space allows.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Focus styles.
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Applies editor left position to the selector passed as argument
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Styles that are reused verbatim in a few places
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Reset default styles for JavaScript UI based pages.
|
|
72
|
+
* This is a WP-admin agnostic reset
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
|
+
*/
|
|
77
|
+
.wp-block-button__link {
|
|
78
|
+
color: #fff;
|
|
79
|
+
background-color: #32373c;
|
|
80
|
+
border-radius: 9999px;
|
|
81
|
+
box-shadow: none;
|
|
82
|
+
text-decoration: none;
|
|
83
|
+
padding: calc(0.667em + 2px) calc(1.333em + 2px);
|
|
84
|
+
font-size: 1.125em;
|
|
85
|
+
}
|
|
@@ -2719,19 +2719,19 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2719
2719
|
-webkit-backdrop-filter: none;
|
|
2720
2720
|
backdrop-filter: none;
|
|
2721
2721
|
}
|
|
2722
|
-
.wp-block-post-featured-image
|
|
2723
|
-
.wp-block-post-featured-image
|
|
2722
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
|
|
2723
|
+
.wp-block-post-featured-image .components-placeholder {
|
|
2724
2724
|
justify-content: center;
|
|
2725
2725
|
align-items: center;
|
|
2726
2726
|
padding: 0;
|
|
2727
2727
|
min-height: 200px;
|
|
2728
2728
|
}
|
|
2729
|
-
.wp-block-post-featured-image
|
|
2730
|
-
.wp-block-post-featured-image
|
|
2729
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
|
|
2730
|
+
.wp-block-post-featured-image .components-placeholder .components-form-file-upload {
|
|
2731
2731
|
display: none;
|
|
2732
2732
|
}
|
|
2733
|
-
.wp-block-post-featured-image
|
|
2734
|
-
.wp-block-post-featured-image
|
|
2733
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
|
|
2734
|
+
.wp-block-post-featured-image .components-placeholder .components-button {
|
|
2735
2735
|
padding: 0;
|
|
2736
2736
|
display: flex;
|
|
2737
2737
|
justify-content: center;
|
|
@@ -2745,51 +2745,61 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2745
2745
|
border-style: solid;
|
|
2746
2746
|
color: #fff;
|
|
2747
2747
|
}
|
|
2748
|
-
.wp-block-post-featured-image
|
|
2749
|
-
.wp-block-post-featured-image
|
|
2748
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button > svg,
|
|
2749
|
+
.wp-block-post-featured-image .components-placeholder .components-button > svg {
|
|
2750
2750
|
color: inherit;
|
|
2751
2751
|
}
|
|
2752
|
-
.wp-block-post-featured-image
|
|
2753
|
-
.wp-block-post-featured-image
|
|
2752
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
|
|
2753
|
+
.wp-block-post-featured-image .components-placeholder:where(.has-border-color),
|
|
2754
|
+
.wp-block-post-featured-image img:where(.has-border-color) {
|
|
2754
2755
|
border-style: solid;
|
|
2755
2756
|
}
|
|
2756
|
-
.wp-block-post-featured-image
|
|
2757
|
-
.wp-block-post-featured-image
|
|
2757
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
|
|
2758
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]),
|
|
2759
|
+
.wp-block-post-featured-image img:where([style*="border-top-color"]) {
|
|
2758
2760
|
border-top-style: solid;
|
|
2759
2761
|
}
|
|
2760
|
-
.wp-block-post-featured-image
|
|
2761
|
-
.wp-block-post-featured-image
|
|
2762
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
|
|
2763
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]),
|
|
2764
|
+
.wp-block-post-featured-image img:where([style*="border-right-color"]) {
|
|
2762
2765
|
border-left-style: solid;
|
|
2763
2766
|
}
|
|
2764
|
-
.wp-block-post-featured-image
|
|
2765
|
-
.wp-block-post-featured-image
|
|
2767
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
|
|
2768
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]),
|
|
2769
|
+
.wp-block-post-featured-image img:where([style*="border-bottom-color"]) {
|
|
2766
2770
|
border-bottom-style: solid;
|
|
2767
2771
|
}
|
|
2768
|
-
.wp-block-post-featured-image
|
|
2769
|
-
.wp-block-post-featured-image
|
|
2772
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
|
|
2773
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]),
|
|
2774
|
+
.wp-block-post-featured-image img:where([style*="border-left-color"]) {
|
|
2770
2775
|
border-right-style: solid;
|
|
2771
2776
|
}
|
|
2772
|
-
.wp-block-post-featured-image
|
|
2773
|
-
.wp-block-post-featured-image
|
|
2777
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
|
|
2778
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-width"]),
|
|
2779
|
+
.wp-block-post-featured-image img:where([style*="border-width"]) {
|
|
2774
2780
|
border-style: solid;
|
|
2775
2781
|
}
|
|
2776
|
-
.wp-block-post-featured-image
|
|
2777
|
-
.wp-block-post-featured-image
|
|
2782
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
|
|
2783
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]),
|
|
2784
|
+
.wp-block-post-featured-image img:where([style*="border-top-width"]) {
|
|
2778
2785
|
border-top-style: solid;
|
|
2779
2786
|
}
|
|
2780
|
-
.wp-block-post-featured-image
|
|
2781
|
-
.wp-block-post-featured-image
|
|
2787
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
|
|
2788
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]),
|
|
2789
|
+
.wp-block-post-featured-image img:where([style*="border-right-width"]) {
|
|
2782
2790
|
border-left-style: solid;
|
|
2783
2791
|
}
|
|
2784
|
-
.wp-block-post-featured-image
|
|
2785
|
-
.wp-block-post-featured-image
|
|
2792
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
|
|
2793
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]),
|
|
2794
|
+
.wp-block-post-featured-image img:where([style*="border-bottom-width"]) {
|
|
2786
2795
|
border-bottom-style: solid;
|
|
2787
2796
|
}
|
|
2788
|
-
.wp-block-post-featured-image
|
|
2789
|
-
.wp-block-post-featured-image
|
|
2797
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
|
|
2798
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]),
|
|
2799
|
+
.wp-block-post-featured-image img:where([style*="border-left-width"]) {
|
|
2790
2800
|
border-right-style: solid;
|
|
2791
2801
|
}
|
|
2792
|
-
.wp-block-post-featured-image
|
|
2802
|
+
.wp-block-post-featured-image[style*=height] .components-placeholder {
|
|
2793
2803
|
min-height: 48px;
|
|
2794
2804
|
min-width: 48px;
|
|
2795
2805
|
height: 100%;
|
package/build-style/editor.css
CHANGED
|
@@ -2730,19 +2730,19 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2730
2730
|
-webkit-backdrop-filter: none;
|
|
2731
2731
|
backdrop-filter: none;
|
|
2732
2732
|
}
|
|
2733
|
-
.wp-block-post-featured-image
|
|
2734
|
-
.wp-block-post-featured-image
|
|
2733
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
|
|
2734
|
+
.wp-block-post-featured-image .components-placeholder {
|
|
2735
2735
|
justify-content: center;
|
|
2736
2736
|
align-items: center;
|
|
2737
2737
|
padding: 0;
|
|
2738
2738
|
min-height: 200px;
|
|
2739
2739
|
}
|
|
2740
|
-
.wp-block-post-featured-image
|
|
2741
|
-
.wp-block-post-featured-image
|
|
2740
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
|
|
2741
|
+
.wp-block-post-featured-image .components-placeholder .components-form-file-upload {
|
|
2742
2742
|
display: none;
|
|
2743
2743
|
}
|
|
2744
|
-
.wp-block-post-featured-image
|
|
2745
|
-
.wp-block-post-featured-image
|
|
2744
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
|
|
2745
|
+
.wp-block-post-featured-image .components-placeholder .components-button {
|
|
2746
2746
|
padding: 0;
|
|
2747
2747
|
display: flex;
|
|
2748
2748
|
justify-content: center;
|
|
@@ -2756,51 +2756,61 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2756
2756
|
border-style: solid;
|
|
2757
2757
|
color: #fff;
|
|
2758
2758
|
}
|
|
2759
|
-
.wp-block-post-featured-image
|
|
2760
|
-
.wp-block-post-featured-image
|
|
2759
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button > svg,
|
|
2760
|
+
.wp-block-post-featured-image .components-placeholder .components-button > svg {
|
|
2761
2761
|
color: inherit;
|
|
2762
2762
|
}
|
|
2763
|
-
.wp-block-post-featured-image
|
|
2764
|
-
.wp-block-post-featured-image
|
|
2763
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
|
|
2764
|
+
.wp-block-post-featured-image .components-placeholder:where(.has-border-color),
|
|
2765
|
+
.wp-block-post-featured-image img:where(.has-border-color) {
|
|
2765
2766
|
border-style: solid;
|
|
2766
2767
|
}
|
|
2767
|
-
.wp-block-post-featured-image
|
|
2768
|
-
.wp-block-post-featured-image
|
|
2768
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
|
|
2769
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]),
|
|
2770
|
+
.wp-block-post-featured-image img:where([style*="border-top-color"]) {
|
|
2769
2771
|
border-top-style: solid;
|
|
2770
2772
|
}
|
|
2771
|
-
.wp-block-post-featured-image
|
|
2772
|
-
.wp-block-post-featured-image
|
|
2773
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
|
|
2774
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]),
|
|
2775
|
+
.wp-block-post-featured-image img:where([style*="border-right-color"]) {
|
|
2773
2776
|
border-right-style: solid;
|
|
2774
2777
|
}
|
|
2775
|
-
.wp-block-post-featured-image
|
|
2776
|
-
.wp-block-post-featured-image
|
|
2778
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
|
|
2779
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]),
|
|
2780
|
+
.wp-block-post-featured-image img:where([style*="border-bottom-color"]) {
|
|
2777
2781
|
border-bottom-style: solid;
|
|
2778
2782
|
}
|
|
2779
|
-
.wp-block-post-featured-image
|
|
2780
|
-
.wp-block-post-featured-image
|
|
2783
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
|
|
2784
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]),
|
|
2785
|
+
.wp-block-post-featured-image img:where([style*="border-left-color"]) {
|
|
2781
2786
|
border-left-style: solid;
|
|
2782
2787
|
}
|
|
2783
|
-
.wp-block-post-featured-image
|
|
2784
|
-
.wp-block-post-featured-image
|
|
2788
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
|
|
2789
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-width"]),
|
|
2790
|
+
.wp-block-post-featured-image img:where([style*="border-width"]) {
|
|
2785
2791
|
border-style: solid;
|
|
2786
2792
|
}
|
|
2787
|
-
.wp-block-post-featured-image
|
|
2788
|
-
.wp-block-post-featured-image
|
|
2793
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
|
|
2794
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]),
|
|
2795
|
+
.wp-block-post-featured-image img:where([style*="border-top-width"]) {
|
|
2789
2796
|
border-top-style: solid;
|
|
2790
2797
|
}
|
|
2791
|
-
.wp-block-post-featured-image
|
|
2792
|
-
.wp-block-post-featured-image
|
|
2798
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
|
|
2799
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]),
|
|
2800
|
+
.wp-block-post-featured-image img:where([style*="border-right-width"]) {
|
|
2793
2801
|
border-right-style: solid;
|
|
2794
2802
|
}
|
|
2795
|
-
.wp-block-post-featured-image
|
|
2796
|
-
.wp-block-post-featured-image
|
|
2803
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
|
|
2804
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]),
|
|
2805
|
+
.wp-block-post-featured-image img:where([style*="border-bottom-width"]) {
|
|
2797
2806
|
border-bottom-style: solid;
|
|
2798
2807
|
}
|
|
2799
|
-
.wp-block-post-featured-image
|
|
2800
|
-
.wp-block-post-featured-image
|
|
2808
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
|
|
2809
|
+
.wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]),
|
|
2810
|
+
.wp-block-post-featured-image img:where([style*="border-left-width"]) {
|
|
2801
2811
|
border-left-style: solid;
|
|
2802
2812
|
}
|
|
2803
|
-
.wp-block-post-featured-image
|
|
2813
|
+
.wp-block-post-featured-image[style*=height] .components-placeholder {
|
|
2804
2814
|
min-height: 48px;
|
|
2805
2815
|
min-width: 48px;
|
|
2806
2816
|
height: 100%;
|
|
@@ -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%;
|
|
@@ -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-right-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-left-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-right-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-left-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%;
|