@wordpress/block-library 8.22.0 → 8.24.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 +4 -0
- package/build/block/edit.js +11 -13
- package/build/block/edit.js.map +1 -1
- package/build/block/edit.native.js +3 -4
- package/build/block/edit.native.js.map +1 -1
- package/build/button/edit.js +61 -9
- package/build/button/edit.js.map +1 -1
- package/build/code/transforms.js +20 -7
- package/build/code/transforms.js.map +1 -1
- package/build/column/edit.js +1 -1
- package/build/column/edit.js.map +1 -1
- package/build/column/edit.native.js +1 -1
- package/build/column/edit.native.js.map +1 -1
- package/build/comments/edit/comments-inspector-controls.js +1 -0
- package/build/comments/edit/comments-inspector-controls.js.map +1 -1
- package/build/cover/edit/index.js +2 -1
- package/build/cover/edit/index.js.map +1 -1
- package/build/cover/edit/inspector-controls.js +1 -0
- package/build/cover/edit/inspector-controls.js.map +1 -1
- package/build/details/edit.js +1 -2
- package/build/details/edit.js.map +1 -1
- package/build/file/edit.js +8 -9
- package/build/file/edit.js.map +1 -1
- package/build/file/view.js +4 -6
- package/build/file/view.js.map +1 -1
- package/build/form/index.js +1 -1
- package/build/form/index.js.map +1 -1
- package/build/form-submit-button/edit.js +2 -1
- package/build/form-submit-button/edit.js.map +1 -1
- package/build/gallery/gap-styles.js +12 -7
- package/build/gallery/gap-styles.js.map +1 -1
- package/build/group/edit.js +4 -7
- package/build/group/edit.js.map +1 -1
- package/build/html/transforms.js +7 -2
- package/build/html/transforms.js.map +1 -1
- package/build/image/deprecated.js +8 -0
- package/build/image/deprecated.js.map +1 -1
- package/build/image/edit.js +17 -18
- package/build/image/edit.js.map +1 -1
- package/build/image/edit.native.js +22 -15
- package/build/image/edit.native.js.map +1 -1
- package/build/image/image.js +35 -27
- package/build/image/image.js.map +1 -1
- package/build/image/index.js +2 -3
- package/build/image/index.js.map +1 -1
- package/build/image/view.js +234 -266
- package/build/image/view.js.map +1 -1
- package/build/missing/index.js +1 -1
- package/build/navigation/edit/overlay-menu-preview.js +1 -1
- package/build/navigation/edit/overlay-menu-preview.js.map +1 -1
- package/build/navigation/use-template-part-area-label.js +2 -1
- package/build/navigation/use-template-part-area-label.js.map +1 -1
- package/build/navigation/view.js +153 -176
- package/build/navigation/view.js.map +1 -1
- package/build/navigation-link/edit.js +1 -1
- package/build/navigation-link/edit.js.map +1 -1
- package/build/navigation-link/index.js +2 -1
- package/build/navigation-link/index.js.map +1 -1
- package/build/pattern/edit.js +2 -4
- package/build/pattern/edit.js.map +1 -1
- package/build/post-author/edit.js +0 -1
- package/build/post-author/edit.js.map +1 -1
- package/build/post-featured-image/edit.js +21 -6
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-template/edit.js +2 -8
- package/build/post-template/edit.js.map +1 -1
- package/build/post-template/index.js +1 -1
- package/build/post-terms/edit.js +0 -2
- package/build/post-terms/edit.js.map +1 -1
- package/build/preformatted/transforms.js +1 -4
- package/build/preformatted/transforms.js.map +1 -1
- package/build/query/edit/query-content.js +1 -0
- package/build/query/edit/query-content.js.map +1 -1
- package/build/query/view.js +52 -60
- package/build/query/view.js.map +1 -1
- package/build/quote/index.js +6 -0
- package/build/quote/index.js.map +1 -1
- package/build/search/view.js +66 -74
- package/build/search/view.js.map +1 -1
- package/build/template-part/edit/advanced-controls.js +1 -0
- package/build/template-part/edit/advanced-controls.js.map +1 -1
- package/build/template-part/edit/index.js +3 -7
- package/build/template-part/edit/index.js.map +1 -1
- package/build/template-part/index.js +6 -2
- package/build/template-part/index.js.map +1 -1
- package/build/template-part/variations.js +5 -1
- package/build/template-part/variations.js.map +1 -1
- package/build/utils/remove-anchor-tag.js +17 -0
- package/build/utils/remove-anchor-tag.js.map +1 -0
- package/build-module/block/edit.js +11 -13
- package/build-module/block/edit.js.map +1 -1
- package/build-module/block/edit.native.js +3 -4
- package/build-module/block/edit.native.js.map +1 -1
- package/build-module/button/edit.js +65 -13
- package/build-module/button/edit.js.map +1 -1
- package/build-module/code/transforms.js +20 -7
- package/build-module/code/transforms.js.map +1 -1
- package/build-module/column/edit.js +1 -1
- package/build-module/column/edit.js.map +1 -1
- package/build-module/column/edit.native.js +1 -1
- package/build-module/column/edit.native.js.map +1 -1
- package/build-module/comments/edit/comments-inspector-controls.js +1 -0
- package/build-module/comments/edit/comments-inspector-controls.js.map +1 -1
- package/build-module/cover/edit/index.js +2 -1
- package/build-module/cover/edit/index.js.map +1 -1
- package/build-module/cover/edit/inspector-controls.js +1 -0
- package/build-module/cover/edit/inspector-controls.js.map +1 -1
- package/build-module/details/edit.js +1 -2
- package/build-module/details/edit.js.map +1 -1
- package/build-module/file/edit.js +8 -9
- package/build-module/file/edit.js.map +1 -1
- package/build-module/file/view.js +5 -7
- package/build-module/file/view.js.map +1 -1
- package/build-module/form/index.js +1 -1
- package/build-module/form/index.js.map +1 -1
- package/build-module/form-submit-button/edit.js +2 -1
- package/build-module/form-submit-button/edit.js.map +1 -1
- package/build-module/gallery/gap-styles.js +13 -8
- package/build-module/gallery/gap-styles.js.map +1 -1
- package/build-module/group/edit.js +4 -7
- package/build-module/group/edit.js.map +1 -1
- package/build-module/html/transforms.js +7 -2
- package/build-module/html/transforms.js.map +1 -1
- package/build-module/image/deprecated.js +8 -0
- package/build-module/image/deprecated.js.map +1 -1
- package/build-module/image/edit.js +18 -19
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/edit.native.js +23 -16
- package/build-module/image/edit.native.js.map +1 -1
- package/build-module/image/image.js +36 -28
- package/build-module/image/image.js.map +1 -1
- package/build-module/image/index.js +2 -3
- package/build-module/image/index.js.map +1 -1
- package/build-module/image/view.js +235 -267
- package/build-module/image/view.js.map +1 -1
- package/build-module/missing/index.js +1 -1
- package/build-module/navigation/edit/overlay-menu-preview.js +1 -1
- package/build-module/navigation/edit/overlay-menu-preview.js.map +1 -1
- package/build-module/navigation/use-template-part-area-label.js +2 -1
- package/build-module/navigation/use-template-part-area-label.js.map +1 -1
- package/build-module/navigation/view.js +154 -177
- package/build-module/navigation/view.js.map +1 -1
- package/build-module/navigation-link/edit.js +2 -2
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/navigation-link/index.js +2 -1
- package/build-module/navigation-link/index.js.map +1 -1
- package/build-module/pattern/edit.js +2 -4
- package/build-module/pattern/edit.js.map +1 -1
- package/build-module/post-author/edit.js +0 -1
- package/build-module/post-author/edit.js.map +1 -1
- package/build-module/post-featured-image/edit.js +21 -6
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-template/edit.js +2 -8
- package/build-module/post-template/edit.js.map +1 -1
- package/build-module/post-template/index.js +1 -1
- package/build-module/post-terms/edit.js +0 -2
- package/build-module/post-terms/edit.js.map +1 -1
- package/build-module/preformatted/transforms.js +1 -4
- package/build-module/preformatted/transforms.js.map +1 -1
- package/build-module/query/edit/query-content.js +1 -0
- package/build-module/query/edit/query-content.js.map +1 -1
- package/build-module/query/view.js +53 -61
- package/build-module/query/view.js.map +1 -1
- package/build-module/quote/index.js +6 -0
- package/build-module/quote/index.js.map +1 -1
- package/build-module/search/view.js +67 -75
- package/build-module/search/view.js.map +1 -1
- package/build-module/template-part/edit/advanced-controls.js +1 -0
- package/build-module/template-part/edit/advanced-controls.js.map +1 -1
- package/build-module/template-part/edit/index.js +5 -9
- package/build-module/template-part/edit/index.js.map +1 -1
- package/build-module/template-part/index.js +6 -2
- package/build-module/template-part/index.js.map +1 -1
- package/build-module/template-part/variations.js +5 -1
- package/build-module/template-part/variations.js.map +1 -1
- package/build-module/utils/remove-anchor-tag.js +11 -0
- package/build-module/utils/remove-anchor-tag.js.map +1 -0
- package/build-style/cover/style-rtl.css +14 -14
- package/build-style/cover/style.css +14 -14
- package/build-style/editor-rtl.css +15 -6
- package/build-style/editor.css +15 -6
- package/build-style/gallery/style-rtl.css +28 -0
- package/build-style/gallery/style.css +28 -0
- package/build-style/image/style-rtl.css +19 -13
- package/build-style/image/style.css +19 -13
- package/build-style/post-featured-image/editor-rtl.css +9 -0
- package/build-style/post-featured-image/editor.css +9 -0
- package/build-style/quote/style-rtl.css +3 -0
- package/build-style/quote/style.css +3 -0
- package/build-style/read-more/style-rtl.css +2 -2
- package/build-style/read-more/style.css +2 -2
- package/build-style/style-rtl.css +66 -29
- package/build-style/style.css +66 -29
- package/package.json +32 -32
- package/src/block/edit.js +20 -20
- package/src/block/edit.native.js +5 -13
- package/src/button/edit.js +76 -10
- package/src/buttons/test/__snapshots__/edit.native.js.snap +0 -6
- package/src/buttons/test/edit.native.js +0 -27
- package/src/code/transforms.js +14 -8
- package/src/column/edit.js +1 -1
- package/src/column/edit.native.js +1 -1
- package/src/comments/edit/comments-inspector-controls.js +1 -0
- package/src/cover/edit/index.js +1 -0
- package/src/cover/edit/inspector-controls.js +1 -0
- package/src/cover/style.scss +1 -1
- package/src/cover/test/edit.js +1 -1
- package/src/details/edit.js +0 -1
- package/src/editor.scss +6 -6
- package/src/file/edit.js +11 -10
- package/src/file/index.php +30 -11
- package/src/file/view.js +5 -7
- package/src/form/index.js +1 -1
- package/src/form-submit-button/edit.js +1 -0
- package/src/gallery/gap-styles.js +10 -9
- package/src/gallery/style.scss +1 -0
- package/src/group/edit.js +4 -11
- package/src/heading/test/__snapshots__/index.native.js.snap +6 -0
- package/src/heading/test/index.native.js +40 -0
- package/src/html/transforms.js +5 -2
- package/src/image/block.json +2 -3
- package/src/image/deprecated.js +8 -0
- package/src/image/edit.js +16 -21
- package/src/image/edit.native.js +17 -18
- package/src/image/image.js +48 -51
- package/src/image/index.php +57 -49
- package/src/image/style.scss +18 -13
- package/src/image/view.js +281 -324
- package/src/missing/block.json +1 -1
- package/src/navigation/edit/overlay-menu-preview.js +1 -1
- package/src/navigation/index.php +46 -402
- package/src/navigation/use-template-part-area-label.js +4 -2
- package/src/navigation/view.js +159 -192
- package/src/navigation-link/block.json +2 -1
- package/src/navigation-link/edit.js +2 -2
- package/src/navigation-link/index.php +57 -0
- package/src/paragraph/test/__snapshots__/transforms.native.js.snap +6 -0
- package/src/paragraph/test/edit.native.js +37 -1
- package/src/paragraph/test/transforms.native.js +1 -0
- package/src/pattern/edit.js +7 -4
- package/src/pattern/index.php +6 -1
- package/src/post-author/edit.js +0 -1
- package/src/post-featured-image/edit.js +38 -5
- package/src/post-featured-image/editor.scss +19 -0
- package/src/post-template/block.json +0 -1
- package/src/post-template/edit.js +1 -5
- package/src/post-terms/edit.js +0 -2
- package/src/preformatted/transforms.js +1 -4
- package/src/query/edit/query-content.js +1 -0
- package/src/query/index.php +42 -24
- package/src/query/view.js +58 -65
- package/src/query-pagination-next/index.php +3 -3
- package/src/query-pagination-numbers/index.php +1 -1
- package/src/query-pagination-previous/index.php +3 -3
- package/src/quote/block.json +6 -0
- package/src/quote/style.scss +4 -0
- package/src/read-more/style.scss +1 -1
- package/src/search/index.php +40 -40
- package/src/search/view.js +58 -63
- package/src/template-part/edit/advanced-controls.js +1 -0
- package/src/template-part/edit/index.js +7 -14
- package/src/template-part/index.js +4 -3
- package/src/template-part/index.php +4 -4
- package/src/template-part/variations.js +4 -2
- package/src/utils/remove-anchor-tag.js +10 -0
- package/tsconfig.json +1 -0
package/build-style/editor.css
CHANGED
|
@@ -3093,6 +3093,15 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
3093
3093
|
height: 100%;
|
|
3094
3094
|
width: 100%;
|
|
3095
3095
|
}
|
|
3096
|
+
.wp-block-post-featured-image > a {
|
|
3097
|
+
cursor: default;
|
|
3098
|
+
}
|
|
3099
|
+
.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-button,
|
|
3100
|
+
.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-placeholder__instructions,
|
|
3101
|
+
.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-placeholder__label {
|
|
3102
|
+
opacity: 1;
|
|
3103
|
+
pointer-events: auto;
|
|
3104
|
+
}
|
|
3096
3105
|
|
|
3097
3106
|
div[data-type="core/post-featured-image"] img {
|
|
3098
3107
|
max-width: 100%;
|
|
@@ -3159,24 +3168,24 @@ div[data-type="core/post-featured-image"] img {
|
|
|
3159
3168
|
background: linear-gradient(135deg, #020381 0%, #2874fc 100%);
|
|
3160
3169
|
}
|
|
3161
3170
|
|
|
3162
|
-
.editor-styles-wrapper {
|
|
3171
|
+
:where(.editor-styles-wrapper) {
|
|
3163
3172
|
--wp--preset--font-size--normal: 16px;
|
|
3164
3173
|
--wp--preset--font-size--huge: 42px;
|
|
3165
3174
|
}
|
|
3166
3175
|
|
|
3167
|
-
.editor-styles-wrapper .has-regular-font-size {
|
|
3176
|
+
:where(.editor-styles-wrapper) .has-regular-font-size {
|
|
3168
3177
|
font-size: 16px;
|
|
3169
3178
|
}
|
|
3170
3179
|
|
|
3171
|
-
.editor-styles-wrapper .has-larger-font-size {
|
|
3180
|
+
:where(.editor-styles-wrapper) .has-larger-font-size {
|
|
3172
3181
|
font-size: 42px;
|
|
3173
3182
|
}
|
|
3174
3183
|
|
|
3175
|
-
.editor-styles-wrapper .has-normal-font-size {
|
|
3184
|
+
:where(.editor-styles-wrapper) .has-normal-font-size {
|
|
3176
3185
|
font-size: var(--wp--preset--font-size--normal);
|
|
3177
3186
|
}
|
|
3178
3187
|
|
|
3179
|
-
.editor-styles-wrapper .has-huge-font-size {
|
|
3188
|
+
:where(.editor-styles-wrapper) .has-huge-font-size {
|
|
3180
3189
|
font-size: var(--wp--preset--font-size--huge);
|
|
3181
3190
|
}
|
|
3182
3191
|
|
|
@@ -3186,6 +3195,6 @@ div[data-type="core/post-featured-image"] img {
|
|
|
3186
3195
|
* These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper.
|
|
3187
3196
|
* This allows us to create normalization styles that are easily overridden by editor styles.
|
|
3188
3197
|
*/
|
|
3189
|
-
.editor-styles-wrapper iframe:not([frameborder]) {
|
|
3198
|
+
:where(.editor-styles-wrapper) iframe:not([frameborder]) {
|
|
3190
3199
|
border: 0;
|
|
3191
3200
|
}
|
|
@@ -320,6 +320,34 @@ figure.wp-block-gallery.has-nested-images {
|
|
|
320
320
|
text-align: center;
|
|
321
321
|
width: 100%;
|
|
322
322
|
box-sizing: border-box;
|
|
323
|
+
scrollbar-width: thin;
|
|
324
|
+
scrollbar-gutter: stable both-edges;
|
|
325
|
+
scrollbar-color: transparent transparent;
|
|
326
|
+
will-change: transform;
|
|
327
|
+
}
|
|
328
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar {
|
|
329
|
+
width: 12px;
|
|
330
|
+
height: 12px;
|
|
331
|
+
}
|
|
332
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-track {
|
|
333
|
+
background-color: transparent;
|
|
334
|
+
}
|
|
335
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-thumb {
|
|
336
|
+
background-color: transparent;
|
|
337
|
+
border-radius: 8px;
|
|
338
|
+
border: 3px solid transparent;
|
|
339
|
+
background-clip: padding-box;
|
|
340
|
+
}
|
|
341
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover::-webkit-scrollbar-thumb, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus::-webkit-scrollbar-thumb, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within::-webkit-scrollbar-thumb {
|
|
342
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
343
|
+
}
|
|
344
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within {
|
|
345
|
+
scrollbar-color: rgba(255, 255, 255, 0.8) transparent;
|
|
346
|
+
}
|
|
347
|
+
@media (hover: none) {
|
|
348
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
|
|
349
|
+
scrollbar-color: rgba(255, 255, 255, 0.8) transparent;
|
|
350
|
+
}
|
|
323
351
|
}
|
|
324
352
|
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img {
|
|
325
353
|
display: inline;
|
|
@@ -320,6 +320,34 @@ figure.wp-block-gallery.has-nested-images {
|
|
|
320
320
|
text-align: center;
|
|
321
321
|
width: 100%;
|
|
322
322
|
box-sizing: border-box;
|
|
323
|
+
scrollbar-width: thin;
|
|
324
|
+
scrollbar-gutter: stable both-edges;
|
|
325
|
+
scrollbar-color: transparent transparent;
|
|
326
|
+
will-change: transform;
|
|
327
|
+
}
|
|
328
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar {
|
|
329
|
+
width: 12px;
|
|
330
|
+
height: 12px;
|
|
331
|
+
}
|
|
332
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-track {
|
|
333
|
+
background-color: transparent;
|
|
334
|
+
}
|
|
335
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-thumb {
|
|
336
|
+
background-color: transparent;
|
|
337
|
+
border-radius: 8px;
|
|
338
|
+
border: 3px solid transparent;
|
|
339
|
+
background-clip: padding-box;
|
|
340
|
+
}
|
|
341
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover::-webkit-scrollbar-thumb, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus::-webkit-scrollbar-thumb, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within::-webkit-scrollbar-thumb {
|
|
342
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
343
|
+
}
|
|
344
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within {
|
|
345
|
+
scrollbar-color: rgba(255, 255, 255, 0.8) transparent;
|
|
346
|
+
}
|
|
347
|
+
@media (hover: none) {
|
|
348
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
|
|
349
|
+
scrollbar-color: rgba(255, 255, 255, 0.8) transparent;
|
|
350
|
+
}
|
|
323
351
|
}
|
|
324
352
|
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img {
|
|
325
353
|
display: inline;
|
|
@@ -213,22 +213,28 @@
|
|
|
213
213
|
.wp-lightbox-container button {
|
|
214
214
|
opacity: 0;
|
|
215
215
|
border: none;
|
|
216
|
-
background:
|
|
216
|
+
background-color: rgba(90, 90, 90, 0.25);
|
|
217
|
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
218
|
+
backdrop-filter: blur(16px) saturate(180%);
|
|
217
219
|
cursor: zoom-in;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
+
display: flex;
|
|
221
|
+
justify-content: center;
|
|
222
|
+
align-items: center;
|
|
223
|
+
width: 20px;
|
|
224
|
+
height: 20px;
|
|
220
225
|
position: absolute;
|
|
221
226
|
z-index: 100;
|
|
222
|
-
top:
|
|
223
|
-
left:
|
|
227
|
+
top: 16px;
|
|
228
|
+
left: 16px;
|
|
224
229
|
text-align: center;
|
|
225
230
|
padding: 0;
|
|
226
|
-
border-radius:
|
|
231
|
+
border-radius: 4px;
|
|
232
|
+
transition: opacity 0.2s ease;
|
|
227
233
|
}
|
|
228
234
|
.wp-lightbox-container button:focus-visible {
|
|
229
|
-
outline:
|
|
230
|
-
outline:
|
|
231
|
-
outline-offset:
|
|
235
|
+
outline: 3px auto rgba(90, 90, 90, 0.25);
|
|
236
|
+
outline: 3px auto -webkit-focus-ring-color;
|
|
237
|
+
outline-offset: 3px;
|
|
232
238
|
}
|
|
233
239
|
.wp-lightbox-container button:hover {
|
|
234
240
|
cursor: pointer;
|
|
@@ -238,7 +244,7 @@
|
|
|
238
244
|
opacity: 1;
|
|
239
245
|
}
|
|
240
246
|
.wp-lightbox-container button:hover, .wp-lightbox-container button:focus, .wp-lightbox-container button:not(:hover):not(:active):not(.has-background) {
|
|
241
|
-
background:
|
|
247
|
+
background-color: rgba(90, 90, 90, 0.25);
|
|
242
248
|
border: none;
|
|
243
249
|
}
|
|
244
250
|
|
|
@@ -248,7 +254,7 @@
|
|
|
248
254
|
right: 0;
|
|
249
255
|
z-index: 100000;
|
|
250
256
|
overflow: hidden;
|
|
251
|
-
width:
|
|
257
|
+
width: 100%;
|
|
252
258
|
height: 100vh;
|
|
253
259
|
box-sizing: border-box;
|
|
254
260
|
visibility: hidden;
|
|
@@ -381,7 +387,7 @@
|
|
|
381
387
|
}
|
|
382
388
|
@keyframes lightbox-zoom-in {
|
|
383
389
|
0% {
|
|
384
|
-
transform: translate(calc(-1*(-
|
|
390
|
+
transform: translate(calc(-1*((-100vw + var(--wp--lightbox-scrollbar-width)) / 2 + var(--wp--lightbox-initial-left-position))), calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));
|
|
385
391
|
}
|
|
386
392
|
100% {
|
|
387
393
|
transform: translate(50%, -50%) scale(1, 1);
|
|
@@ -397,6 +403,6 @@
|
|
|
397
403
|
}
|
|
398
404
|
100% {
|
|
399
405
|
visibility: hidden;
|
|
400
|
-
transform: translate(calc(-1*(-
|
|
406
|
+
transform: translate(calc(-1*((-100vw + var(--wp--lightbox-scrollbar-width)) / 2 + var(--wp--lightbox-initial-left-position))), calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));
|
|
401
407
|
}
|
|
402
408
|
}
|
|
@@ -219,22 +219,28 @@
|
|
|
219
219
|
.wp-lightbox-container button {
|
|
220
220
|
opacity: 0;
|
|
221
221
|
border: none;
|
|
222
|
-
background:
|
|
222
|
+
background-color: rgba(90, 90, 90, 0.25);
|
|
223
|
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
224
|
+
backdrop-filter: blur(16px) saturate(180%);
|
|
223
225
|
cursor: zoom-in;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
+
display: flex;
|
|
227
|
+
justify-content: center;
|
|
228
|
+
align-items: center;
|
|
229
|
+
width: 20px;
|
|
230
|
+
height: 20px;
|
|
226
231
|
position: absolute;
|
|
227
232
|
z-index: 100;
|
|
228
|
-
top:
|
|
229
|
-
right:
|
|
233
|
+
top: 16px;
|
|
234
|
+
right: 16px;
|
|
230
235
|
text-align: center;
|
|
231
236
|
padding: 0;
|
|
232
|
-
border-radius:
|
|
237
|
+
border-radius: 4px;
|
|
238
|
+
transition: opacity 0.2s ease;
|
|
233
239
|
}
|
|
234
240
|
.wp-lightbox-container button:focus-visible {
|
|
235
|
-
outline:
|
|
236
|
-
outline:
|
|
237
|
-
outline-offset:
|
|
241
|
+
outline: 3px auto rgba(90, 90, 90, 0.25);
|
|
242
|
+
outline: 3px auto -webkit-focus-ring-color;
|
|
243
|
+
outline-offset: 3px;
|
|
238
244
|
}
|
|
239
245
|
.wp-lightbox-container button:hover {
|
|
240
246
|
cursor: pointer;
|
|
@@ -244,7 +250,7 @@
|
|
|
244
250
|
opacity: 1;
|
|
245
251
|
}
|
|
246
252
|
.wp-lightbox-container button:hover, .wp-lightbox-container button:focus, .wp-lightbox-container button:not(:hover):not(:active):not(.has-background) {
|
|
247
|
-
background:
|
|
253
|
+
background-color: rgba(90, 90, 90, 0.25);
|
|
248
254
|
border: none;
|
|
249
255
|
}
|
|
250
256
|
|
|
@@ -254,7 +260,7 @@
|
|
|
254
260
|
left: 0;
|
|
255
261
|
z-index: 100000;
|
|
256
262
|
overflow: hidden;
|
|
257
|
-
width:
|
|
263
|
+
width: 100%;
|
|
258
264
|
height: 100vh;
|
|
259
265
|
box-sizing: border-box;
|
|
260
266
|
visibility: hidden;
|
|
@@ -387,7 +393,7 @@
|
|
|
387
393
|
}
|
|
388
394
|
@keyframes lightbox-zoom-in {
|
|
389
395
|
0% {
|
|
390
|
-
transform: translate(calc(-
|
|
396
|
+
transform: translate(calc((-100vw + var(--wp--lightbox-scrollbar-width)) / 2 + var(--wp--lightbox-initial-left-position)), calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));
|
|
391
397
|
}
|
|
392
398
|
100% {
|
|
393
399
|
transform: translate(-50%, -50%) scale(1, 1);
|
|
@@ -403,6 +409,6 @@
|
|
|
403
409
|
}
|
|
404
410
|
100% {
|
|
405
411
|
visibility: hidden;
|
|
406
|
-
transform: translate(calc(-
|
|
412
|
+
transform: translate(calc((-100vw + var(--wp--lightbox-scrollbar-width)) / 2 + var(--wp--lightbox-initial-left-position)), calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));
|
|
407
413
|
}
|
|
408
414
|
}
|
|
@@ -178,6 +178,15 @@
|
|
|
178
178
|
height: 100%;
|
|
179
179
|
width: 100%;
|
|
180
180
|
}
|
|
181
|
+
.wp-block-post-featured-image > a {
|
|
182
|
+
cursor: default;
|
|
183
|
+
}
|
|
184
|
+
.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-button,
|
|
185
|
+
.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-placeholder__instructions,
|
|
186
|
+
.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-placeholder__label {
|
|
187
|
+
opacity: 1;
|
|
188
|
+
pointer-events: auto;
|
|
189
|
+
}
|
|
181
190
|
|
|
182
191
|
div[data-type="core/post-featured-image"] img {
|
|
183
192
|
max-width: 100%;
|
|
@@ -178,6 +178,15 @@
|
|
|
178
178
|
height: 100%;
|
|
179
179
|
width: 100%;
|
|
180
180
|
}
|
|
181
|
+
.wp-block-post-featured-image > a {
|
|
182
|
+
cursor: default;
|
|
183
|
+
}
|
|
184
|
+
.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-button,
|
|
185
|
+
.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-placeholder__instructions,
|
|
186
|
+
.wp-block-post-featured-image.is-selected .components-placeholder.has-illustration .components-placeholder__label {
|
|
187
|
+
opacity: 1;
|
|
188
|
+
pointer-events: auto;
|
|
189
|
+
}
|
|
181
190
|
|
|
182
191
|
div[data-type="core/post-featured-image"] img {
|
|
183
192
|
max-width: 100%;
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
width: -moz-fit-content;
|
|
92
92
|
width: fit-content;
|
|
93
93
|
}
|
|
94
|
-
.wp-block-read-more:not([style*=text-decoration]) {
|
|
94
|
+
.wp-block-read-more:where(:not([style*="text-decoration"])) {
|
|
95
95
|
text-decoration: none;
|
|
96
96
|
}
|
|
97
|
-
.wp-block-read-more:not([style*=text-decoration]):focus, .wp-block-read-more:not([style*=text-decoration]):active {
|
|
97
|
+
.wp-block-read-more:where(:not([style*="text-decoration"])):focus, .wp-block-read-more:where(:not([style*="text-decoration"])):active {
|
|
98
98
|
text-decoration: none;
|
|
99
99
|
}
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
width: -moz-fit-content;
|
|
92
92
|
width: fit-content;
|
|
93
93
|
}
|
|
94
|
-
.wp-block-read-more:not([style*=text-decoration]) {
|
|
94
|
+
.wp-block-read-more:where(:not([style*="text-decoration"])) {
|
|
95
95
|
text-decoration: none;
|
|
96
96
|
}
|
|
97
|
-
.wp-block-read-more:not([style*=text-decoration]):focus, .wp-block-read-more:not([style*=text-decoration]):active {
|
|
97
|
+
.wp-block-read-more:where(:not([style*="text-decoration"])):focus, .wp-block-read-more:where(:not([style*="text-decoration"])):active {
|
|
98
98
|
text-decoration: none;
|
|
99
99
|
}
|
|
@@ -833,20 +833,20 @@
|
|
|
833
833
|
z-index: 1;
|
|
834
834
|
color: inherit; direction: rtl;
|
|
835
835
|
}
|
|
836
|
-
.wp-block-cover-image p:not(.has-text-color),
|
|
837
|
-
.wp-block-cover-image h1:not(.has-text-color),
|
|
838
|
-
.wp-block-cover-image h2:not(.has-text-color),
|
|
839
|
-
.wp-block-cover-image h3:not(.has-text-color),
|
|
840
|
-
.wp-block-cover-image h4:not(.has-text-color),
|
|
841
|
-
.wp-block-cover-image h5:not(.has-text-color),
|
|
842
|
-
.wp-block-cover-image h6:not(.has-text-color),
|
|
843
|
-
.wp-block-cover p:not(.has-text-color),
|
|
844
|
-
.wp-block-cover h1:not(.has-text-color),
|
|
845
|
-
.wp-block-cover h2:not(.has-text-color),
|
|
846
|
-
.wp-block-cover h3:not(.has-text-color),
|
|
847
|
-
.wp-block-cover h4:not(.has-text-color),
|
|
848
|
-
.wp-block-cover h5:not(.has-text-color),
|
|
849
|
-
.wp-block-cover h6:not(.has-text-color) {
|
|
836
|
+
.wp-block-cover-image p:where(:not(.has-text-color)),
|
|
837
|
+
.wp-block-cover-image h1:where(:not(.has-text-color)),
|
|
838
|
+
.wp-block-cover-image h2:where(:not(.has-text-color)),
|
|
839
|
+
.wp-block-cover-image h3:where(:not(.has-text-color)),
|
|
840
|
+
.wp-block-cover-image h4:where(:not(.has-text-color)),
|
|
841
|
+
.wp-block-cover-image h5:where(:not(.has-text-color)),
|
|
842
|
+
.wp-block-cover-image h6:where(:not(.has-text-color)),
|
|
843
|
+
.wp-block-cover p:where(:not(.has-text-color)),
|
|
844
|
+
.wp-block-cover h1:where(:not(.has-text-color)),
|
|
845
|
+
.wp-block-cover h2:where(:not(.has-text-color)),
|
|
846
|
+
.wp-block-cover h3:where(:not(.has-text-color)),
|
|
847
|
+
.wp-block-cover h4:where(:not(.has-text-color)),
|
|
848
|
+
.wp-block-cover h5:where(:not(.has-text-color)),
|
|
849
|
+
.wp-block-cover h6:where(:not(.has-text-color)) {
|
|
850
850
|
color: inherit;
|
|
851
851
|
}
|
|
852
852
|
.wp-block-cover-image.is-position-top-left,
|
|
@@ -1431,6 +1431,34 @@ figure.wp-block-gallery.has-nested-images {
|
|
|
1431
1431
|
text-align: center;
|
|
1432
1432
|
width: 100%;
|
|
1433
1433
|
box-sizing: border-box;
|
|
1434
|
+
scrollbar-width: thin;
|
|
1435
|
+
scrollbar-gutter: stable both-edges;
|
|
1436
|
+
scrollbar-color: transparent transparent;
|
|
1437
|
+
will-change: transform;
|
|
1438
|
+
}
|
|
1439
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar {
|
|
1440
|
+
width: 12px;
|
|
1441
|
+
height: 12px;
|
|
1442
|
+
}
|
|
1443
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-track {
|
|
1444
|
+
background-color: transparent;
|
|
1445
|
+
}
|
|
1446
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-thumb {
|
|
1447
|
+
background-color: transparent;
|
|
1448
|
+
border-radius: 8px;
|
|
1449
|
+
border: 3px solid transparent;
|
|
1450
|
+
background-clip: padding-box;
|
|
1451
|
+
}
|
|
1452
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover::-webkit-scrollbar-thumb, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus::-webkit-scrollbar-thumb, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within::-webkit-scrollbar-thumb {
|
|
1453
|
+
background-color: rgba(255, 255, 255, 0.8);
|
|
1454
|
+
}
|
|
1455
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus, .wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within {
|
|
1456
|
+
scrollbar-color: rgba(255, 255, 255, 0.8) transparent;
|
|
1457
|
+
}
|
|
1458
|
+
@media (hover: none) {
|
|
1459
|
+
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
|
|
1460
|
+
scrollbar-color: rgba(255, 255, 255, 0.8) transparent;
|
|
1461
|
+
}
|
|
1434
1462
|
}
|
|
1435
1463
|
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img {
|
|
1436
1464
|
display: inline;
|
|
@@ -1672,22 +1700,28 @@ h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
|
|
|
1672
1700
|
.wp-lightbox-container button {
|
|
1673
1701
|
opacity: 0;
|
|
1674
1702
|
border: none;
|
|
1675
|
-
background:
|
|
1703
|
+
background-color: rgba(90, 90, 90, 0.25);
|
|
1704
|
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
1705
|
+
backdrop-filter: blur(16px) saturate(180%);
|
|
1676
1706
|
cursor: zoom-in;
|
|
1677
|
-
|
|
1678
|
-
|
|
1707
|
+
display: flex;
|
|
1708
|
+
justify-content: center;
|
|
1709
|
+
align-items: center;
|
|
1710
|
+
width: 20px;
|
|
1711
|
+
height: 20px;
|
|
1679
1712
|
position: absolute;
|
|
1680
1713
|
z-index: 100;
|
|
1681
|
-
top:
|
|
1682
|
-
left:
|
|
1714
|
+
top: 16px;
|
|
1715
|
+
left: 16px;
|
|
1683
1716
|
text-align: center;
|
|
1684
1717
|
padding: 0;
|
|
1685
|
-
border-radius:
|
|
1718
|
+
border-radius: 4px;
|
|
1719
|
+
transition: opacity 0.2s ease;
|
|
1686
1720
|
}
|
|
1687
1721
|
.wp-lightbox-container button:focus-visible {
|
|
1688
|
-
outline:
|
|
1689
|
-
outline:
|
|
1690
|
-
outline-offset:
|
|
1722
|
+
outline: 3px auto rgba(90, 90, 90, 0.25);
|
|
1723
|
+
outline: 3px auto -webkit-focus-ring-color;
|
|
1724
|
+
outline-offset: 3px;
|
|
1691
1725
|
}
|
|
1692
1726
|
.wp-lightbox-container button:hover {
|
|
1693
1727
|
cursor: pointer;
|
|
@@ -1697,7 +1731,7 @@ h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
|
|
|
1697
1731
|
opacity: 1;
|
|
1698
1732
|
}
|
|
1699
1733
|
.wp-lightbox-container button:hover, .wp-lightbox-container button:focus, .wp-lightbox-container button:not(:hover):not(:active):not(.has-background) {
|
|
1700
|
-
background:
|
|
1734
|
+
background-color: rgba(90, 90, 90, 0.25);
|
|
1701
1735
|
border: none;
|
|
1702
1736
|
}
|
|
1703
1737
|
|
|
@@ -1707,7 +1741,7 @@ h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
|
|
|
1707
1741
|
right: 0;
|
|
1708
1742
|
z-index: 100000;
|
|
1709
1743
|
overflow: hidden;
|
|
1710
|
-
width:
|
|
1744
|
+
width: 100%;
|
|
1711
1745
|
height: 100vh;
|
|
1712
1746
|
box-sizing: border-box;
|
|
1713
1747
|
visibility: hidden;
|
|
@@ -1840,7 +1874,7 @@ h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
|
|
|
1840
1874
|
}
|
|
1841
1875
|
@keyframes lightbox-zoom-in {
|
|
1842
1876
|
0% {
|
|
1843
|
-
transform: translate(calc(-1*(-
|
|
1877
|
+
transform: translate(calc(-1*((-100vw + var(--wp--lightbox-scrollbar-width)) / 2 + var(--wp--lightbox-initial-left-position))), calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));
|
|
1844
1878
|
}
|
|
1845
1879
|
100% {
|
|
1846
1880
|
transform: translate(50%, -50%) scale(1, 1);
|
|
@@ -1856,7 +1890,7 @@ h6.has-text-align-left[style*=writing-mode]:where([style*="vertical-lr"]) {
|
|
|
1856
1890
|
}
|
|
1857
1891
|
100% {
|
|
1858
1892
|
visibility: hidden;
|
|
1859
|
-
transform: translate(calc(-1*(-
|
|
1893
|
+
transform: translate(calc(-1*((-100vw + var(--wp--lightbox-scrollbar-width)) / 2 + var(--wp--lightbox-initial-left-position))), calc(-50vh + var(--wp--lightbox-initial-top-position))) scale(var(--wp--lightbox-scale));
|
|
1860
1894
|
}
|
|
1861
1895
|
}
|
|
1862
1896
|
ol.wp-block-latest-comments {
|
|
@@ -3118,16 +3152,19 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
|
|
|
3118
3152
|
font-size: 1.125em;
|
|
3119
3153
|
text-align: left;
|
|
3120
3154
|
}
|
|
3155
|
+
.wp-block-quote > cite {
|
|
3156
|
+
display: block;
|
|
3157
|
+
}
|
|
3121
3158
|
|
|
3122
3159
|
.wp-block-read-more {
|
|
3123
3160
|
display: block;
|
|
3124
3161
|
width: -moz-fit-content;
|
|
3125
3162
|
width: fit-content;
|
|
3126
3163
|
}
|
|
3127
|
-
.wp-block-read-more:not([style*=text-decoration]) {
|
|
3164
|
+
.wp-block-read-more:where(:not([style*="text-decoration"])) {
|
|
3128
3165
|
text-decoration: none;
|
|
3129
3166
|
}
|
|
3130
|
-
.wp-block-read-more:not([style*=text-decoration]):focus, .wp-block-read-more:not([style*=text-decoration]):active {
|
|
3167
|
+
.wp-block-read-more:where(:not([style*="text-decoration"])):focus, .wp-block-read-more:where(:not([style*="text-decoration"])):active {
|
|
3131
3168
|
text-decoration: none;
|
|
3132
3169
|
}
|
|
3133
3170
|
|