@wordpress/edit-site 6.3.0 → 6.5.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/components/add-new-pattern/index.js +14 -3
- package/build/components/add-new-pattern/index.js.map +1 -1
- package/build/components/add-new-post/index.js +2 -1
- package/build/components/add-new-post/index.js.map +1 -1
- package/build/components/add-new-template/index.js +3 -1
- package/build/components/add-new-template/index.js.map +1 -1
- package/build/components/add-new-template/utils.js +2 -2
- package/build/components/add-new-template/utils.js.map +1 -1
- package/build/components/block-editor/use-site-editor-settings.js +1 -82
- package/build/components/block-editor/use-site-editor-settings.js.map +1 -1
- package/build/components/editor/index.js +71 -20
- package/build/components/editor/index.js.map +1 -1
- package/build/components/global-styles/block-preview-panel.js +14 -5
- package/build/components/global-styles/block-preview-panel.js.map +1 -1
- package/build/components/global-styles/font-families.js +40 -22
- package/build/components/global-styles/font-families.js.map +1 -1
- package/build/components/global-styles/font-library-modal/context.js +0 -5
- package/build/components/global-styles/font-library-modal/context.js.map +1 -1
- package/build/components/global-styles/font-library-modal/font-collection.js +25 -5
- package/build/components/global-styles/font-library-modal/font-collection.js.map +1 -1
- package/build/components/global-styles/font-library-modal/index.js +5 -12
- package/build/components/global-styles/font-library-modal/index.js.map +1 -1
- package/build/components/global-styles/font-library-modal/installed-fonts.js +78 -15
- package/build/components/global-styles/font-library-modal/installed-fonts.js.map +1 -1
- package/build/components/global-styles/font-library-modal/upload-fonts.js +2 -3
- package/build/components/global-styles/font-library-modal/upload-fonts.js.map +1 -1
- package/build/components/global-styles/font-sizes/confirm-delete-font-size-dialog.js +39 -0
- package/build/components/global-styles/font-sizes/confirm-delete-font-size-dialog.js.map +1 -0
- package/build/components/global-styles/font-sizes/confirm-reset-font-sizes-dialog.js +39 -0
- package/build/components/global-styles/font-sizes/confirm-reset-font-sizes-dialog.js.map +1 -0
- package/build/components/global-styles/font-sizes/font-size-preview.js +44 -0
- package/build/components/global-styles/font-sizes/font-size-preview.js.map +1 -0
- package/build/components/global-styles/font-sizes/font-size.js +213 -0
- package/build/components/global-styles/font-sizes/font-size.js.map +1 -0
- package/build/components/global-styles/font-sizes/font-sizes-count.js +50 -0
- package/build/components/global-styles/font-sizes/font-sizes-count.js.map +1 -0
- package/build/components/global-styles/font-sizes/font-sizes.js +163 -0
- package/build/components/global-styles/font-sizes/font-sizes.js.map +1 -0
- package/build/components/global-styles/font-sizes/rename-font-size-dialog.js +67 -0
- package/build/components/global-styles/font-sizes/rename-font-size-dialog.js.map +1 -0
- package/build/components/global-styles/screen-block.js +10 -8
- package/build/components/global-styles/screen-block.js.map +1 -1
- package/build/components/global-styles/screen-style-variations.js +2 -2
- package/build/components/global-styles/screen-style-variations.js.map +1 -1
- package/build/components/global-styles/screen-typeset.js +40 -0
- package/build/components/global-styles/screen-typeset.js.map +1 -0
- package/build/components/global-styles/screen-typography-element.js +14 -0
- package/build/components/global-styles/screen-typography-element.js.map +1 -1
- package/build/components/global-styles/screen-typography.js +5 -6
- package/build/components/global-styles/screen-typography.js.map +1 -1
- package/build/components/global-styles/shadows-edit-panel.js +50 -59
- package/build/components/global-styles/shadows-edit-panel.js.map +1 -1
- package/build/components/global-styles/size-control/index.js +85 -0
- package/build/components/global-styles/size-control/index.js.map +1 -0
- package/build/components/global-styles/style-variations-container.js +3 -0
- package/build/components/global-styles/style-variations-container.js.map +1 -1
- package/build/components/global-styles/typeset-button.js +97 -0
- package/build/components/global-styles/typeset-button.js.map +1 -0
- package/build/components/global-styles/typeset.js +80 -0
- package/build/components/global-styles/typeset.js.map +1 -0
- package/build/components/global-styles/ui.js +12 -0
- package/build/components/global-styles/ui.js.map +1 -1
- package/build/components/global-styles/utils.js +10 -1
- package/build/components/global-styles/utils.js.map +1 -1
- package/build/components/global-styles/variations/variations-color.js.map +1 -1
- package/build/components/global-styles/variations/variations-typography.js +1 -1
- package/build/components/global-styles/variations/variations-typography.js.map +1 -1
- package/build/components/layout/index.js +6 -0
- package/build/components/layout/index.js.map +1 -1
- package/build/components/layout/router.js +14 -6
- package/build/components/layout/router.js.map +1 -1
- package/build/components/page-patterns/fields.js +230 -0
- package/build/components/page-patterns/fields.js.map +1 -0
- package/build/components/page-patterns/header.js +1 -1
- package/build/components/page-patterns/header.js.map +1 -1
- package/build/components/page-patterns/index.js +21 -227
- package/build/components/page-patterns/index.js.map +1 -1
- package/build/components/page-patterns/use-patterns.js +26 -1
- package/build/components/page-patterns/use-patterns.js.map +1 -1
- package/build/components/page-templates/fields.js +169 -0
- package/build/components/page-templates/fields.js.map +1 -0
- package/build/components/page-templates/index.js +38 -198
- package/build/components/page-templates/index.js.map +1 -1
- package/build/components/post-edit/index.js +117 -0
- package/build/components/post-edit/index.js.map +1 -0
- package/build/components/post-fields/index.js +318 -0
- package/build/components/post-fields/index.js.map +1 -0
- package/build/components/post-list/index.js +339 -0
- package/build/components/post-list/index.js.map +1 -0
- package/build/components/posts-app/router.js +3 -3
- package/build/components/posts-app/router.js.map +1 -1
- package/build/components/sidebar-dataviews/add-new-view.js +2 -2
- package/build/components/sidebar-dataviews/add-new-view.js.map +1 -1
- package/build/components/sidebar-dataviews/dataview-item.js +2 -3
- package/build/components/sidebar-dataviews/dataview-item.js.map +1 -1
- package/build/components/sidebar-dataviews/default-views.js +103 -91
- package/build/components/sidebar-dataviews/default-views.js.map +1 -1
- package/build/components/sidebar-dataviews/index.js +2 -2
- package/build/components/sidebar-dataviews/index.js.map +1 -1
- package/build/components/sidebar-navigation-screen-global-styles/content.js +64 -0
- package/build/components/sidebar-navigation-screen-global-styles/content.js.map +1 -0
- package/build/components/sidebar-navigation-screen-global-styles/index.js +2 -47
- package/build/components/sidebar-navigation-screen-global-styles/index.js.map +1 -1
- package/build/components/site-hub/index.js +6 -3
- package/build/components/site-hub/index.js.map +1 -1
- package/build/components/style-book/index.js +22 -25
- package/build/components/style-book/index.js.map +1 -1
- package/build/components/sync-state-with-url/use-init-edited-entity-from-url.js +5 -0
- package/build/components/sync-state-with-url/use-init-edited-entity-from-url.js.map +1 -1
- package/build/hooks/push-changes-to-global-styles/index.js +3 -4
- package/build/hooks/push-changes-to-global-styles/index.js.map +1 -1
- package/build/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js +2 -4
- package/build/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js.map +1 -1
- package/build/index.js +4 -2
- package/build/index.js.map +1 -1
- package/build/store/selectors.js +34 -6
- package/build/store/selectors.js.map +1 -1
- package/build/utils/get-filtered-template-parts.js +64 -0
- package/build/utils/get-filtered-template-parts.js.map +1 -0
- package/build-module/components/add-new-pattern/index.js +14 -3
- package/build-module/components/add-new-pattern/index.js.map +1 -1
- package/build-module/components/add-new-post/index.js +2 -1
- package/build-module/components/add-new-post/index.js.map +1 -1
- package/build-module/components/add-new-template/index.js +3 -1
- package/build-module/components/add-new-template/index.js.map +1 -1
- package/build-module/components/add-new-template/utils.js +2 -2
- package/build-module/components/add-new-template/utils.js.map +1 -1
- package/build-module/components/block-editor/use-site-editor-settings.js +1 -82
- package/build-module/components/block-editor/use-site-editor-settings.js.map +1 -1
- package/build-module/components/editor/index.js +73 -22
- package/build-module/components/editor/index.js.map +1 -1
- package/build-module/components/global-styles/block-preview-panel.js +14 -5
- package/build-module/components/global-styles/block-preview-panel.js.map +1 -1
- package/build-module/components/global-styles/font-families.js +42 -24
- package/build-module/components/global-styles/font-families.js.map +1 -1
- package/build-module/components/global-styles/font-library-modal/context.js +0 -5
- package/build-module/components/global-styles/font-library-modal/context.js.map +1 -1
- package/build-module/components/global-styles/font-library-modal/font-collection.js +26 -6
- package/build-module/components/global-styles/font-library-modal/font-collection.js.map +1 -1
- package/build-module/components/global-styles/font-library-modal/index.js +5 -12
- package/build-module/components/global-styles/font-library-modal/index.js.map +1 -1
- package/build-module/components/global-styles/font-library-modal/installed-fonts.js +81 -18
- package/build-module/components/global-styles/font-library-modal/installed-fonts.js.map +1 -1
- package/build-module/components/global-styles/font-library-modal/upload-fonts.js +2 -3
- package/build-module/components/global-styles/font-library-modal/upload-fonts.js.map +1 -1
- package/build-module/components/global-styles/font-sizes/confirm-delete-font-size-dialog.js +32 -0
- package/build-module/components/global-styles/font-sizes/confirm-delete-font-size-dialog.js.map +1 -0
- package/build-module/components/global-styles/font-sizes/confirm-reset-font-sizes-dialog.js +32 -0
- package/build-module/components/global-styles/font-sizes/confirm-reset-font-sizes-dialog.js.map +1 -0
- package/build-module/components/global-styles/font-sizes/font-size-preview.js +37 -0
- package/build-module/components/global-styles/font-sizes/font-size-preview.js.map +1 -0
- package/build-module/components/global-styles/font-sizes/font-size.js +207 -0
- package/build-module/components/global-styles/font-sizes/font-size.js.map +1 -0
- package/build-module/components/global-styles/font-sizes/font-sizes-count.js +43 -0
- package/build-module/components/global-styles/font-sizes/font-sizes-count.js.map +1 -0
- package/build-module/components/global-styles/font-sizes/font-sizes.js +157 -0
- package/build-module/components/global-styles/font-sizes/font-sizes.js.map +1 -0
- package/build-module/components/global-styles/font-sizes/rename-font-size-dialog.js +61 -0
- package/build-module/components/global-styles/font-sizes/rename-font-size-dialog.js.map +1 -0
- package/build-module/components/global-styles/screen-block.js +10 -8
- package/build-module/components/global-styles/screen-block.js.map +1 -1
- package/build-module/components/global-styles/screen-style-variations.js +2 -2
- package/build-module/components/global-styles/screen-style-variations.js.map +1 -1
- package/build-module/components/global-styles/screen-typeset.js +34 -0
- package/build-module/components/global-styles/screen-typeset.js.map +1 -0
- package/build-module/components/global-styles/screen-typography-element.js +14 -0
- package/build-module/components/global-styles/screen-typography-element.js.map +1 -1
- package/build-module/components/global-styles/screen-typography.js +5 -6
- package/build-module/components/global-styles/screen-typography.js.map +1 -1
- package/build-module/components/global-styles/shadows-edit-panel.js +51 -60
- package/build-module/components/global-styles/shadows-edit-panel.js.map +1 -1
- package/build-module/components/global-styles/size-control/index.js +79 -0
- package/build-module/components/global-styles/size-control/index.js.map +1 -0
- package/build-module/components/global-styles/style-variations-container.js +3 -0
- package/build-module/components/global-styles/style-variations-container.js.map +1 -1
- package/build-module/components/global-styles/typeset-button.js +89 -0
- package/build-module/components/global-styles/typeset-button.js.map +1 -0
- package/build-module/components/global-styles/typeset.js +71 -0
- package/build-module/components/global-styles/typeset.js.map +1 -0
- package/build-module/components/global-styles/ui.js +12 -0
- package/build-module/components/global-styles/ui.js.map +1 -1
- package/build-module/components/global-styles/utils.js +10 -1
- package/build-module/components/global-styles/utils.js.map +1 -1
- package/build-module/components/global-styles/variations/variations-color.js +1 -1
- package/build-module/components/global-styles/variations/variations-color.js.map +1 -1
- package/build-module/components/global-styles/variations/variations-typography.js +1 -2
- package/build-module/components/global-styles/variations/variations-typography.js.map +1 -1
- package/build-module/components/layout/index.js +6 -0
- package/build-module/components/layout/index.js.map +1 -1
- package/build-module/components/layout/router.js +14 -6
- package/build-module/components/layout/router.js.map +1 -1
- package/build-module/components/page-patterns/fields.js +223 -0
- package/build-module/components/page-patterns/fields.js.map +1 -0
- package/build-module/components/page-patterns/header.js +1 -1
- package/build-module/components/page-patterns/header.js.map +1 -1
- package/build-module/components/page-patterns/index.js +24 -230
- package/build-module/components/page-patterns/index.js.map +1 -1
- package/build-module/components/page-patterns/use-patterns.js +26 -1
- package/build-module/components/page-patterns/use-patterns.js.map +1 -1
- package/build-module/components/page-templates/fields.js +160 -0
- package/build-module/components/page-templates/fields.js.map +1 -0
- package/build-module/components/page-templates/index.js +39 -199
- package/build-module/components/page-templates/index.js.map +1 -1
- package/build-module/components/post-edit/index.js +110 -0
- package/build-module/components/post-edit/index.js.map +1 -0
- package/build-module/components/post-fields/index.js +310 -0
- package/build-module/components/post-fields/index.js.map +1 -0
- package/build-module/components/post-list/index.js +333 -0
- package/build-module/components/post-list/index.js.map +1 -0
- package/build-module/components/posts-app/router.js +3 -3
- package/build-module/components/posts-app/router.js.map +1 -1
- package/build-module/components/sidebar-dataviews/add-new-view.js +2 -2
- package/build-module/components/sidebar-dataviews/add-new-view.js.map +1 -1
- package/build-module/components/sidebar-dataviews/dataview-item.js +2 -3
- package/build-module/components/sidebar-dataviews/dataview-item.js.map +1 -1
- package/build-module/components/sidebar-dataviews/default-views.js +102 -90
- package/build-module/components/sidebar-dataviews/default-views.js.map +1 -1
- package/build-module/components/sidebar-dataviews/index.js +5 -5
- package/build-module/components/sidebar-dataviews/index.js.map +1 -1
- package/build-module/components/sidebar-navigation-screen-global-styles/content.js +57 -0
- package/build-module/components/sidebar-navigation-screen-global-styles/content.js.map +1 -0
- package/build-module/components/sidebar-navigation-screen-global-styles/index.js +2 -47
- package/build-module/components/sidebar-navigation-screen-global-styles/index.js.map +1 -1
- package/build-module/components/site-hub/index.js +7 -4
- package/build-module/components/site-hub/index.js.map +1 -1
- package/build-module/components/style-book/index.js +23 -26
- package/build-module/components/style-book/index.js.map +1 -1
- package/build-module/components/sync-state-with-url/use-init-edited-entity-from-url.js +5 -0
- package/build-module/components/sync-state-with-url/use-init-edited-entity-from-url.js.map +1 -1
- package/build-module/hooks/push-changes-to-global-styles/index.js +3 -4
- package/build-module/hooks/push-changes-to-global-styles/index.js.map +1 -1
- package/build-module/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js +2 -3
- package/build-module/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js.map +1 -1
- package/build-module/index.js +4 -2
- package/build-module/index.js.map +1 -1
- package/build-module/store/selectors.js +35 -7
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/utils/get-filtered-template-parts.js +57 -0
- package/build-module/utils/get-filtered-template-parts.js.map +1 -0
- package/build-style/posts-rtl.css +749 -492
- package/build-style/posts.css +749 -492
- package/build-style/style-rtl.css +956 -613
- package/build-style/style.css +956 -613
- package/package.json +41 -41
- package/src/components/add-new-pattern/index.js +16 -5
- package/src/components/add-new-post/index.js +2 -1
- package/src/components/add-new-template/index.js +4 -1
- package/src/components/add-new-template/style.scss +4 -6
- package/src/components/add-new-template/utils.js +10 -6
- package/src/components/block-editor/use-site-editor-settings.js +15 -111
- package/src/components/editor/index.js +80 -22
- package/src/components/editor/style.scss +59 -1
- package/src/components/global-styles/block-preview-panel.js +22 -9
- package/src/components/global-styles/font-families.js +65 -32
- package/src/components/global-styles/font-library-modal/context.js +0 -5
- package/src/components/global-styles/font-library-modal/font-collection.js +34 -10
- package/src/components/global-styles/font-library-modal/index.js +6 -9
- package/src/components/global-styles/font-library-modal/installed-fonts.js +115 -16
- package/src/components/global-styles/font-library-modal/style.scss +9 -0
- package/src/components/global-styles/font-library-modal/upload-fonts.js +2 -2
- package/src/components/global-styles/font-sizes/confirm-delete-font-size-dialog.js +43 -0
- package/src/components/global-styles/font-sizes/confirm-reset-font-sizes-dialog.js +37 -0
- package/src/components/global-styles/font-sizes/font-size-preview.js +43 -0
- package/src/components/global-styles/font-sizes/font-size.js +250 -0
- package/src/components/global-styles/font-sizes/font-sizes-count.js +40 -0
- package/src/components/global-styles/font-sizes/font-sizes.js +263 -0
- package/src/components/global-styles/font-sizes/rename-font-size-dialog.js +70 -0
- package/src/components/global-styles/screen-block.js +12 -14
- package/src/components/global-styles/screen-style-variations.js +2 -2
- package/src/components/global-styles/screen-typeset.js +42 -0
- package/src/components/global-styles/screen-typography-element.js +14 -0
- package/src/components/global-styles/screen-typography.js +7 -6
- package/src/components/global-styles/shadows-edit-panel.js +66 -73
- package/src/components/global-styles/size-control/index.js +86 -0
- package/src/components/global-styles/style-variations-container.js +4 -0
- package/src/components/global-styles/style.scss +17 -10
- package/src/components/global-styles/typeset-button.js +93 -0
- package/src/components/global-styles/typeset.js +73 -0
- package/src/components/global-styles/ui.js +15 -0
- package/src/components/global-styles/utils.js +13 -1
- package/src/components/global-styles/variations/variations-color.js +1 -1
- package/src/components/global-styles/variations/variations-typography.js +1 -2
- package/src/components/layout/index.js +11 -0
- package/src/components/layout/router.js +13 -5
- package/src/components/layout/style.scss +34 -8
- package/src/components/page-patterns/fields.js +251 -0
- package/src/components/page-patterns/header.js +1 -1
- package/src/components/page-patterns/index.js +24 -246
- package/src/components/page-patterns/style.scss +82 -85
- package/src/components/page-patterns/use-patterns.js +31 -1
- package/src/components/page-templates/fields.js +157 -0
- package/src/components/page-templates/index.js +46 -192
- package/src/components/page-templates/style.scss +19 -8
- package/src/components/post-edit/index.js +115 -0
- package/src/components/post-edit/style.scss +9 -0
- package/src/components/post-fields/index.js +357 -0
- package/src/components/post-list/index.js +386 -0
- package/src/components/{posts-app → post-list}/style.scss +12 -9
- package/src/components/posts-app/router.js +3 -3
- package/src/components/sidebar-dataviews/add-new-view.js +2 -4
- package/src/components/sidebar-dataviews/dataview-item.js +2 -2
- package/src/components/sidebar-dataviews/default-views.js +116 -104
- package/src/components/sidebar-dataviews/index.js +4 -3
- package/src/components/sidebar-navigation-screen-global-styles/content.js +55 -0
- package/src/components/sidebar-navigation-screen-global-styles/index.js +1 -55
- package/src/components/site-hub/index.js +11 -2
- package/src/components/site-icon/style.scss +4 -1
- package/src/components/style-book/index.js +27 -32
- package/src/components/sync-state-with-url/use-init-edited-entity-from-url.js +5 -0
- package/src/hooks/push-changes-to-global-styles/index.js +3 -4
- package/src/hooks/use-theme-style-variations/use-theme-style-variations-by-property.js +2 -3
- package/src/index.js +6 -2
- package/src/posts.scss +1 -1
- package/src/store/selectors.js +53 -14
- package/src/store/test/selectors.js +1 -26
- package/src/style.scss +2 -1
- package/src/utils/get-filtered-template-parts.js +61 -0
- package/src/utils/test/get-filtered-template-parts.js +127 -0
- package/build/components/global-styles/screen-background.js +0 -36
- package/build/components/global-styles/screen-background.js.map +0 -1
- package/build/components/posts-app/posts-list.js +0 -568
- package/build/components/posts-app/posts-list.js.map +0 -1
- package/build/utils/clone-deep.js +0 -15
- package/build/utils/clone-deep.js.map +0 -1
- package/build-module/components/global-styles/screen-background.js +0 -30
- package/build-module/components/global-styles/screen-background.js.map +0 -1
- package/build-module/components/posts-app/posts-list.js +0 -560
- package/build-module/components/posts-app/posts-list.js.map +0 -1
- package/build-module/utils/clone-deep.js +0 -9
- package/build-module/utils/clone-deep.js.map +0 -1
- package/src/components/global-styles/screen-background.js +0 -29
- package/src/components/posts-app/posts-list.js +0 -651
- package/src/utils/clone-deep.js +0 -8
package/build-style/posts.css
CHANGED
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
* Grid System.
|
|
35
35
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
36
36
|
*/
|
|
37
|
+
/**
|
|
38
|
+
* Radius scale.
|
|
39
|
+
*/
|
|
37
40
|
/**
|
|
38
41
|
* Dimensions.
|
|
39
42
|
*/
|
|
@@ -116,7 +119,8 @@
|
|
|
116
119
|
flex-direction: column;
|
|
117
120
|
}
|
|
118
121
|
|
|
119
|
-
.
|
|
122
|
+
.dataviews__view-actions,
|
|
123
|
+
.dataviews-filters__container {
|
|
120
124
|
box-sizing: border-box;
|
|
121
125
|
padding: 16px 48px;
|
|
122
126
|
flex-shrink: 0;
|
|
@@ -125,256 +129,515 @@
|
|
|
125
129
|
transition: padding ease-out 0.1s;
|
|
126
130
|
}
|
|
127
131
|
@media (prefers-reduced-motion: reduce) {
|
|
128
|
-
.
|
|
132
|
+
.dataviews__view-actions,
|
|
133
|
+
.dataviews-filters__container {
|
|
129
134
|
transition-duration: 0s;
|
|
130
135
|
transition-delay: 0s;
|
|
131
136
|
}
|
|
132
137
|
}
|
|
133
|
-
.
|
|
138
|
+
.dataviews__view-actions .components-search-control .components-base-control__field,
|
|
139
|
+
.dataviews-filters__container .components-search-control .components-base-control__field {
|
|
134
140
|
max-width: 240px;
|
|
135
141
|
}
|
|
136
142
|
|
|
137
|
-
.dataviews-
|
|
138
|
-
|
|
143
|
+
.dataviews-view-list__primary-field,
|
|
144
|
+
.dataviews-view-grid__primary-field,
|
|
145
|
+
.dataviews-view-table__primary-field {
|
|
146
|
+
font-size: 13px;
|
|
147
|
+
font-weight: 500;
|
|
148
|
+
color: #757575;
|
|
149
|
+
text-overflow: ellipsis;
|
|
150
|
+
white-space: nowrap;
|
|
151
|
+
width: 100%;
|
|
139
152
|
}
|
|
140
|
-
.dataviews-
|
|
141
|
-
|
|
153
|
+
.dataviews-view-list__primary-field a,
|
|
154
|
+
.dataviews-view-grid__primary-field a,
|
|
155
|
+
.dataviews-view-table__primary-field a {
|
|
156
|
+
text-decoration: none;
|
|
157
|
+
text-overflow: ellipsis;
|
|
158
|
+
white-space: nowrap;
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
display: block;
|
|
161
|
+
flex-grow: 0;
|
|
162
|
+
color: #1e1e1e;
|
|
142
163
|
}
|
|
143
|
-
|
|
144
|
-
.dataviews-
|
|
145
|
-
|
|
164
|
+
.dataviews-view-list__primary-field a:hover,
|
|
165
|
+
.dataviews-view-grid__primary-field a:hover,
|
|
166
|
+
.dataviews-view-table__primary-field a:hover {
|
|
167
|
+
color: var(--wp-admin-theme-color);
|
|
168
|
+
}
|
|
169
|
+
.dataviews-view-list__primary-field a:focus,
|
|
170
|
+
.dataviews-view-grid__primary-field a:focus,
|
|
171
|
+
.dataviews-view-table__primary-field a:focus {
|
|
172
|
+
color: var(--wp-admin-theme-color--rgb);
|
|
173
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
|
|
174
|
+
border-radius: 2px;
|
|
175
|
+
}
|
|
176
|
+
.dataviews-view-list__primary-field button.components-button.is-link,
|
|
177
|
+
.dataviews-view-grid__primary-field button.components-button.is-link,
|
|
178
|
+
.dataviews-view-table__primary-field button.components-button.is-link {
|
|
179
|
+
text-decoration: none;
|
|
180
|
+
font-weight: inherit;
|
|
181
|
+
text-overflow: ellipsis;
|
|
182
|
+
white-space: nowrap;
|
|
183
|
+
overflow: hidden;
|
|
184
|
+
display: block;
|
|
185
|
+
width: 100%;
|
|
186
|
+
color: #1e1e1e;
|
|
187
|
+
}
|
|
188
|
+
.dataviews-view-list__primary-field button.components-button.is-link:hover,
|
|
189
|
+
.dataviews-view-grid__primary-field button.components-button.is-link:hover,
|
|
190
|
+
.dataviews-view-table__primary-field button.components-button.is-link:hover {
|
|
191
|
+
color: var(--wp-admin-theme-color);
|
|
146
192
|
}
|
|
147
193
|
|
|
148
|
-
.dataviews-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
color: #757575;
|
|
156
|
-
flex-shrink: 0;
|
|
194
|
+
.dataviews-no-results,
|
|
195
|
+
.dataviews-loading {
|
|
196
|
+
padding: 0 48px;
|
|
197
|
+
flex-grow: 1;
|
|
198
|
+
display: flex;
|
|
199
|
+
align-items: center;
|
|
200
|
+
justify-content: center;
|
|
157
201
|
transition: padding ease-out 0.1s;
|
|
158
202
|
}
|
|
159
203
|
@media (prefers-reduced-motion: reduce) {
|
|
160
|
-
.dataviews-
|
|
204
|
+
.dataviews-no-results,
|
|
205
|
+
.dataviews-loading {
|
|
161
206
|
transition-duration: 0s;
|
|
162
207
|
transition-delay: 0s;
|
|
163
208
|
}
|
|
164
209
|
}
|
|
165
210
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
211
|
+
/* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
|
|
212
|
+
@container (max-width: 430px) {
|
|
213
|
+
.dataviews__view-actions,
|
|
214
|
+
.dataviews-filters__container {
|
|
215
|
+
padding: 12px 24px;
|
|
216
|
+
}
|
|
217
|
+
.dataviews__view-actions .components-search-control .components-base-control__field,
|
|
218
|
+
.dataviews-filters__container .components-search-control .components-base-control__field {
|
|
219
|
+
max-width: 112px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.dataviews-view-grid,
|
|
223
|
+
.dataviews-no-results,
|
|
224
|
+
.dataviews-loading {
|
|
225
|
+
padding-left: 24px;
|
|
226
|
+
padding-right: 24px;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
.dataviews-bulk-actions__modal {
|
|
230
|
+
z-index: 1000001;
|
|
171
231
|
}
|
|
172
232
|
|
|
173
|
-
.dataviews-
|
|
174
|
-
|
|
233
|
+
.dataviews-bulk-actions__edit-button.components-button {
|
|
234
|
+
flex-shrink: 0;
|
|
175
235
|
}
|
|
176
236
|
|
|
177
|
-
.dataviews-
|
|
237
|
+
.dataviews-bulk-actions-toolbar {
|
|
238
|
+
position: sticky;
|
|
239
|
+
display: flex;
|
|
240
|
+
flex-direction: column;
|
|
241
|
+
align-content: center;
|
|
242
|
+
flex-wrap: wrap;
|
|
243
|
+
width: -moz-fit-content;
|
|
244
|
+
width: fit-content;
|
|
245
|
+
margin-left: auto;
|
|
246
|
+
margin-right: auto;
|
|
247
|
+
bottom: 24px;
|
|
248
|
+
z-index: 2;
|
|
249
|
+
}
|
|
250
|
+
.dataviews-bulk-actions-toolbar .components-accessible-toolbar {
|
|
251
|
+
border-color: #ddd;
|
|
252
|
+
box-shadow: 0 0.7px 1px rgba(0, 0, 0, 0.1), 0 1.2px 1.7px -0.2px rgba(0, 0, 0, 0.1), 0 2.3px 3.3px -0.5px rgba(0, 0, 0, 0.1);
|
|
253
|
+
}
|
|
254
|
+
.dataviews-bulk-actions-toolbar .components-accessible-toolbar .components-toolbar-group {
|
|
255
|
+
border-color: #e0e0e0;
|
|
256
|
+
}
|
|
257
|
+
.dataviews-bulk-actions-toolbar .components-accessible-toolbar .components-toolbar-group:last-child {
|
|
258
|
+
border: 0;
|
|
259
|
+
}
|
|
260
|
+
.dataviews-bulk-actions-toolbar .dataviews-bulk-actions-toolbar__selection-count {
|
|
261
|
+
display: flex;
|
|
262
|
+
align-items: center;
|
|
263
|
+
margin: 0 8px 0 8px;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.dataviews-bulk-actions-toolbar__wrapper {
|
|
267
|
+
display: flex;
|
|
268
|
+
flex-grow: 1;
|
|
178
269
|
width: 100%;
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
270
|
+
}
|
|
271
|
+
.dataviews-bulk-actions-toolbar__wrapper .components-toolbar-group {
|
|
272
|
+
align-items: center;
|
|
273
|
+
}
|
|
274
|
+
.dataviews-bulk-actions-toolbar__wrapper .components-button.is-busy {
|
|
275
|
+
max-height: 36px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.dataviews-filters__button {
|
|
182
279
|
position: relative;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.dataviews-filters__container {
|
|
283
|
+
padding-top: 0;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true], .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true]:hover {
|
|
287
|
+
opacity: 0;
|
|
288
|
+
}
|
|
289
|
+
.dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true]:focus {
|
|
290
|
+
opacity: 1;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.dataviews-filters__summary-popover .components-popover__content {
|
|
294
|
+
width: 230px;
|
|
295
|
+
padding: 0;
|
|
296
|
+
border-radius: 4px;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.dataviews-filters__summary-operators-container {
|
|
300
|
+
padding: 8px 8px 0;
|
|
301
|
+
}
|
|
302
|
+
.dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-listbox) {
|
|
303
|
+
border-bottom: 1px solid #e0e0e0;
|
|
304
|
+
padding-bottom: 8px;
|
|
305
|
+
}
|
|
306
|
+
.dataviews-filters__summary-operators-container:empty {
|
|
307
|
+
display: none;
|
|
308
|
+
}
|
|
309
|
+
.dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name {
|
|
183
310
|
color: #757575;
|
|
184
|
-
margin-bottom: auto;
|
|
185
311
|
}
|
|
186
|
-
|
|
187
|
-
|
|
312
|
+
|
|
313
|
+
.dataviews-filters__summary-chip-container {
|
|
314
|
+
position: relative;
|
|
315
|
+
white-space: pre-wrap;
|
|
316
|
+
}
|
|
317
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip {
|
|
318
|
+
border-radius: 16px;
|
|
319
|
+
border: 1px solid transparent;
|
|
320
|
+
cursor: pointer;
|
|
321
|
+
padding: 4px 12px;
|
|
322
|
+
min-height: 32px;
|
|
323
|
+
background: #f0f0f0;
|
|
324
|
+
color: #2f2f2f;
|
|
325
|
+
position: relative;
|
|
326
|
+
display: flex;
|
|
327
|
+
align-items: center;
|
|
328
|
+
}
|
|
329
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
|
|
330
|
+
padding-inline-end: 28px;
|
|
331
|
+
}
|
|
332
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip[aria-expanded=true] {
|
|
333
|
+
background: #e0e0e0;
|
|
188
334
|
color: #1e1e1e;
|
|
335
|
+
}
|
|
336
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values {
|
|
337
|
+
color: var(--wp-admin-theme-color);
|
|
338
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
339
|
+
}
|
|
340
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values[aria-expanded=true] {
|
|
341
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
|
|
342
|
+
}
|
|
343
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible {
|
|
344
|
+
outline: none;
|
|
345
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
346
|
+
}
|
|
347
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
|
|
189
348
|
font-weight: 500;
|
|
190
349
|
}
|
|
191
|
-
.dataviews-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
350
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
|
|
351
|
+
width: 24px;
|
|
352
|
+
height: 24px;
|
|
353
|
+
border-radius: 50%;
|
|
354
|
+
border: 0;
|
|
355
|
+
padding: 0;
|
|
356
|
+
position: absolute;
|
|
357
|
+
right: 4px;
|
|
358
|
+
top: 50%;
|
|
359
|
+
transform: translateY(-50%);
|
|
360
|
+
display: flex;
|
|
361
|
+
align-items: center;
|
|
362
|
+
justify-content: center;
|
|
363
|
+
background: transparent;
|
|
364
|
+
cursor: pointer;
|
|
196
365
|
}
|
|
197
|
-
.dataviews-
|
|
198
|
-
|
|
199
|
-
padding: 12px;
|
|
200
|
-
white-space: nowrap;
|
|
366
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
|
|
367
|
+
fill: #757575;
|
|
201
368
|
}
|
|
202
|
-
.dataviews-
|
|
203
|
-
|
|
204
|
-
text-align: right;
|
|
369
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
|
|
370
|
+
background: #e0e0e0;
|
|
205
371
|
}
|
|
206
|
-
.dataviews-
|
|
207
|
-
|
|
208
|
-
padding-right: 0;
|
|
372
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
|
|
373
|
+
fill: #1e1e1e;
|
|
209
374
|
}
|
|
210
|
-
.dataviews-
|
|
211
|
-
|
|
375
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
|
|
376
|
+
fill: var(--wp-admin-theme-color);
|
|
212
377
|
}
|
|
213
|
-
.dataviews-
|
|
214
|
-
|
|
378
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
|
|
379
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
|
|
215
380
|
}
|
|
216
|
-
.dataviews-
|
|
217
|
-
|
|
218
|
-
|
|
381
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible {
|
|
382
|
+
outline: none;
|
|
383
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
219
384
|
}
|
|
220
|
-
|
|
221
|
-
.dataviews-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
385
|
+
|
|
386
|
+
.dataviews-filters__search-widget-filter-combobox-list {
|
|
387
|
+
max-height: 184px;
|
|
388
|
+
padding: 4px;
|
|
389
|
+
overflow: auto;
|
|
390
|
+
border-top: 1px solid #e0e0e0;
|
|
225
391
|
}
|
|
226
|
-
.dataviews-
|
|
227
|
-
|
|
228
|
-
padding-right: 48px;
|
|
392
|
+
.dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
|
|
393
|
+
font-weight: 600;
|
|
229
394
|
}
|
|
230
|
-
|
|
231
|
-
|
|
395
|
+
|
|
396
|
+
.dataviews-filters__search-widget-listbox {
|
|
397
|
+
max-height: 184px;
|
|
398
|
+
padding: 4px;
|
|
399
|
+
overflow: auto;
|
|
232
400
|
}
|
|
233
|
-
|
|
234
|
-
|
|
401
|
+
|
|
402
|
+
.dataviews-filters__search-widget-listitem {
|
|
403
|
+
display: flex;
|
|
404
|
+
align-items: center;
|
|
405
|
+
gap: 8px;
|
|
406
|
+
border-radius: 2px;
|
|
407
|
+
box-sizing: border-box;
|
|
408
|
+
padding: 8px 12px;
|
|
409
|
+
cursor: default;
|
|
410
|
+
margin-block-end: 2px;
|
|
235
411
|
}
|
|
236
|
-
.dataviews-
|
|
237
|
-
|
|
412
|
+
.dataviews-filters__search-widget-listitem:last-child {
|
|
413
|
+
margin-block-end: 0;
|
|
238
414
|
}
|
|
239
|
-
.dataviews-
|
|
240
|
-
|
|
415
|
+
.dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
|
|
416
|
+
background-color: var(--wp-admin-theme-color);
|
|
417
|
+
color: #fff;
|
|
241
418
|
}
|
|
242
|
-
.dataviews-
|
|
243
|
-
|
|
419
|
+
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-check, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-check, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-check {
|
|
420
|
+
fill: #fff;
|
|
244
421
|
}
|
|
245
|
-
.dataviews-
|
|
246
|
-
|
|
247
|
-
.dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .components-checkbox-control__input,
|
|
248
|
-
.dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
249
|
-
opacity: 1;
|
|
422
|
+
.dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description {
|
|
423
|
+
color: #fff;
|
|
250
424
|
}
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
}
|
|
425
|
+
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-check {
|
|
426
|
+
width: 24px;
|
|
427
|
+
height: 24px;
|
|
428
|
+
flex-shrink: 0;
|
|
256
429
|
}
|
|
257
|
-
.dataviews-
|
|
258
|
-
|
|
430
|
+
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
|
|
431
|
+
display: block;
|
|
432
|
+
overflow: hidden;
|
|
433
|
+
text-overflow: ellipsis;
|
|
434
|
+
font-size: 12px;
|
|
435
|
+
line-height: 16px;
|
|
259
436
|
color: #757575;
|
|
260
437
|
}
|
|
261
|
-
|
|
262
|
-
|
|
438
|
+
|
|
439
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper {
|
|
440
|
+
position: relative;
|
|
441
|
+
padding: 8px;
|
|
263
442
|
}
|
|
264
|
-
.dataviews-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
443
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
|
|
444
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
445
|
+
padding: 6px 8px;
|
|
446
|
+
box-shadow: 0 0 0 transparent;
|
|
447
|
+
transition: box-shadow 0.1s linear;
|
|
448
|
+
border-radius: 2px;
|
|
449
|
+
border: 1px solid #949494;
|
|
450
|
+
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
451
|
+
font-size: 16px;
|
|
452
|
+
/* Override core line-height. To be reviewed. */
|
|
453
|
+
line-height: normal;
|
|
454
|
+
display: block;
|
|
455
|
+
padding: 0 32px 0 8px;
|
|
456
|
+
background: #f0f0f0;
|
|
457
|
+
border: none;
|
|
458
|
+
width: 100%;
|
|
459
|
+
height: 32px;
|
|
460
|
+
margin-left: 0;
|
|
461
|
+
margin-right: 0;
|
|
462
|
+
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
463
|
+
font-size: 16px;
|
|
268
464
|
}
|
|
269
|
-
|
|
270
|
-
|
|
465
|
+
@media (prefers-reduced-motion: reduce) {
|
|
466
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
|
|
467
|
+
transition-duration: 0s;
|
|
468
|
+
transition-delay: 0s;
|
|
469
|
+
}
|
|
271
470
|
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
font-size: 11px;
|
|
279
|
-
text-transform: uppercase;
|
|
280
|
-
font-weight: 500;
|
|
471
|
+
@media (min-width: 600px) {
|
|
472
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
|
|
473
|
+
font-size: 13px;
|
|
474
|
+
/* Override core line-height. To be reviewed. */
|
|
475
|
+
line-height: normal;
|
|
476
|
+
}
|
|
281
477
|
}
|
|
282
|
-
.dataviews-
|
|
283
|
-
|
|
478
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
|
|
479
|
+
border-color: var(--wp-admin-theme-color);
|
|
480
|
+
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
|
481
|
+
outline: 2px solid transparent;
|
|
284
482
|
}
|
|
285
|
-
.dataviews-
|
|
286
|
-
|
|
483
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-input-placeholder {
|
|
484
|
+
color: rgba(30, 30, 30, 0.62);
|
|
287
485
|
}
|
|
288
|
-
.dataviews-
|
|
289
|
-
|
|
486
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
|
|
487
|
+
opacity: 1;
|
|
488
|
+
color: rgba(30, 30, 30, 0.62);
|
|
489
|
+
}
|
|
490
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:-ms-input-placeholder {
|
|
491
|
+
color: rgba(30, 30, 30, 0.62);
|
|
492
|
+
}
|
|
493
|
+
@media (min-width: 600px) {
|
|
494
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
|
|
495
|
+
font-size: 13px;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
|
|
499
|
+
background: #fff;
|
|
500
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
501
|
+
}
|
|
502
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
|
|
503
|
+
color: #757575;
|
|
504
|
+
}
|
|
505
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-decoration, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-cancel-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-button, .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-search-results-decoration {
|
|
506
|
+
-webkit-appearance: none;
|
|
507
|
+
}
|
|
508
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon {
|
|
509
|
+
position: absolute;
|
|
510
|
+
right: 12px;
|
|
511
|
+
top: 50%;
|
|
512
|
+
transform: translateY(-50%);
|
|
290
513
|
display: flex;
|
|
291
514
|
align-items: center;
|
|
515
|
+
justify-content: center;
|
|
516
|
+
width: 24px;
|
|
292
517
|
}
|
|
293
|
-
|
|
294
|
-
|
|
518
|
+
|
|
519
|
+
.dataviews-filters__container-visibility-toggle {
|
|
520
|
+
position: relative;
|
|
521
|
+
flex-shrink: 0;
|
|
295
522
|
}
|
|
296
|
-
|
|
297
|
-
|
|
523
|
+
|
|
524
|
+
.dataviews-filters-toggle__count {
|
|
525
|
+
position: absolute;
|
|
526
|
+
top: 0;
|
|
527
|
+
right: 0;
|
|
528
|
+
transform: translate(50%, -50%);
|
|
529
|
+
background: var(--wp-admin-theme-color, #3858e9);
|
|
530
|
+
height: 16px;
|
|
531
|
+
min-width: 16px;
|
|
532
|
+
line-height: 16px;
|
|
533
|
+
padding: 0 4px;
|
|
534
|
+
text-align: center;
|
|
535
|
+
border-radius: 8px;
|
|
536
|
+
font-size: 11px;
|
|
537
|
+
outline: var(--wp-admin-border-width-focus) solid #fff;
|
|
538
|
+
color: #fff;
|
|
298
539
|
}
|
|
299
|
-
|
|
300
|
-
|
|
540
|
+
|
|
541
|
+
.dataviews-search {
|
|
542
|
+
width: -moz-fit-content;
|
|
543
|
+
width: fit-content;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.dataviews-pagination {
|
|
547
|
+
position: sticky;
|
|
548
|
+
bottom: 0;
|
|
549
|
+
left: 0;
|
|
550
|
+
background-color: #fff;
|
|
551
|
+
padding: 12px 48px;
|
|
552
|
+
border-top: 1px solid #f0f0f0;
|
|
553
|
+
color: #757575;
|
|
554
|
+
flex-shrink: 0;
|
|
555
|
+
transition: padding ease-out 0.1s;
|
|
556
|
+
}
|
|
557
|
+
@media (prefers-reduced-motion: reduce) {
|
|
558
|
+
.dataviews-pagination {
|
|
559
|
+
transition-duration: 0s;
|
|
560
|
+
transition-delay: 0s;
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.dataviews-pagination__page-selection {
|
|
301
565
|
font-size: 11px;
|
|
302
566
|
text-transform: uppercase;
|
|
303
567
|
font-weight: 500;
|
|
304
|
-
}
|
|
305
|
-
.dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
|
|
306
568
|
color: #1e1e1e;
|
|
307
569
|
}
|
|
308
|
-
|
|
309
|
-
|
|
570
|
+
|
|
571
|
+
/* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
|
|
572
|
+
@container (max-width: 430px) {
|
|
573
|
+
.dataviews-pagination {
|
|
574
|
+
padding: 12px 24px;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
.dataviews-action-modal {
|
|
578
|
+
z-index: 1000001;
|
|
310
579
|
}
|
|
311
|
-
|
|
312
|
-
|
|
580
|
+
|
|
581
|
+
.dataviews-selection-checkbox {
|
|
582
|
+
--checkbox-input-size: 24px;
|
|
583
|
+
line-height: 0;
|
|
584
|
+
flex-shrink: 0;
|
|
313
585
|
}
|
|
314
|
-
|
|
315
|
-
|
|
586
|
+
@media (min-width: 600px) {
|
|
587
|
+
.dataviews-selection-checkbox {
|
|
588
|
+
--checkbox-input-size: 16px;
|
|
589
|
+
}
|
|
316
590
|
}
|
|
317
|
-
.dataviews-
|
|
318
|
-
|
|
591
|
+
.dataviews-selection-checkbox .components-checkbox-control__input-container {
|
|
592
|
+
margin: 0;
|
|
319
593
|
}
|
|
320
|
-
|
|
321
|
-
|
|
594
|
+
|
|
595
|
+
.dataviews-view-config {
|
|
596
|
+
width: 320px;
|
|
597
|
+
/* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
|
|
598
|
+
container-type: inline-size;
|
|
599
|
+
padding: 16px;
|
|
322
600
|
}
|
|
323
601
|
|
|
324
|
-
.dataviews-view-
|
|
325
|
-
|
|
326
|
-
.dataviews-view-table__primary-field {
|
|
327
|
-
font-size: 13px;
|
|
328
|
-
font-weight: 500;
|
|
329
|
-
color: #757575;
|
|
330
|
-
text-overflow: ellipsis;
|
|
331
|
-
white-space: nowrap;
|
|
332
|
-
width: 100%;
|
|
602
|
+
.dataviews-view-config__sort-direction .components-toggle-group-control-option-base {
|
|
603
|
+
text-transform: uppercase;
|
|
333
604
|
}
|
|
334
|
-
|
|
335
|
-
.dataviews-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
text-overflow: ellipsis;
|
|
339
|
-
white-space: nowrap;
|
|
340
|
-
overflow: hidden;
|
|
341
|
-
display: block;
|
|
342
|
-
flex-grow: 0;
|
|
343
|
-
color: #1e1e1e;
|
|
605
|
+
|
|
606
|
+
.dataviews-settings-section__title.dataviews-settings-section__title {
|
|
607
|
+
line-height: 24px;
|
|
608
|
+
font-size: 15px;
|
|
344
609
|
}
|
|
345
|
-
|
|
346
|
-
.dataviews-
|
|
347
|
-
|
|
348
|
-
color: var(--wp-admin-theme-color);
|
|
610
|
+
|
|
611
|
+
.dataviews-settings-section__sidebar {
|
|
612
|
+
grid-column: span 4;
|
|
349
613
|
}
|
|
350
|
-
|
|
351
|
-
.dataviews-
|
|
352
|
-
.dataviews-
|
|
353
|
-
|
|
354
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
|
|
355
|
-
border-radius: 2px;
|
|
614
|
+
|
|
615
|
+
.dataviews-settings-section__content,
|
|
616
|
+
.dataviews-settings-section__content > * {
|
|
617
|
+
grid-column: span 8;
|
|
356
618
|
}
|
|
357
|
-
|
|
358
|
-
.dataviews-
|
|
359
|
-
|
|
360
|
-
text-decoration: none;
|
|
361
|
-
font-weight: inherit;
|
|
362
|
-
text-overflow: ellipsis;
|
|
363
|
-
white-space: nowrap;
|
|
364
|
-
overflow: hidden;
|
|
365
|
-
display: block;
|
|
366
|
-
width: 100%;
|
|
367
|
-
color: #1e1e1e;
|
|
619
|
+
|
|
620
|
+
.dataviews-settings-section__content .is-divided-in-two {
|
|
621
|
+
display: contents;
|
|
368
622
|
}
|
|
369
|
-
.dataviews-
|
|
370
|
-
|
|
371
|
-
.dataviews-view-table__primary-field button.components-button.is-link:hover {
|
|
372
|
-
color: var(--wp-admin-theme-color);
|
|
623
|
+
.dataviews-settings-section__content .is-divided-in-two > * {
|
|
624
|
+
grid-column: span 4;
|
|
373
625
|
}
|
|
374
626
|
|
|
627
|
+
/* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
|
|
628
|
+
@container (max-width: 500px) {
|
|
629
|
+
.dataviews-settings-section.dataviews-settings-section {
|
|
630
|
+
grid-template-columns: repeat(2, 1fr);
|
|
631
|
+
}
|
|
632
|
+
.dataviews-settings-section.dataviews-settings-section .dataviews-settings-section__sidebar {
|
|
633
|
+
grid-column: span 2;
|
|
634
|
+
}
|
|
635
|
+
.dataviews-settings-section.dataviews-settings-section .dataviews-settings-section__content {
|
|
636
|
+
grid-column: span 2;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
375
639
|
.dataviews-view-grid {
|
|
376
640
|
margin-bottom: auto;
|
|
377
|
-
grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
|
|
378
641
|
grid-template-rows: max-content;
|
|
379
642
|
padding: 0 48px 24px;
|
|
380
643
|
transition: padding ease-out 0.1s;
|
|
@@ -385,24 +648,10 @@
|
|
|
385
648
|
transition-delay: 0s;
|
|
386
649
|
}
|
|
387
650
|
}
|
|
388
|
-
@media (min-width: 480px) {
|
|
389
|
-
.dataviews-view-grid {
|
|
390
|
-
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
@media (min-width: 1080px) {
|
|
394
|
-
.dataviews-view-grid {
|
|
395
|
-
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
@media (min-width: 1440px) {
|
|
399
|
-
.dataviews-view-grid {
|
|
400
|
-
grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
651
|
.dataviews-view-grid .dataviews-view-grid__card {
|
|
404
652
|
height: 100%;
|
|
405
653
|
justify-content: flex-start;
|
|
654
|
+
position: relative;
|
|
406
655
|
}
|
|
407
656
|
.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-actions {
|
|
408
657
|
padding: 8px 0 4px;
|
|
@@ -413,6 +662,10 @@
|
|
|
413
662
|
.dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
|
|
414
663
|
color: #1e1e1e;
|
|
415
664
|
}
|
|
665
|
+
.dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after {
|
|
666
|
+
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
|
|
667
|
+
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
|
|
668
|
+
}
|
|
416
669
|
.dataviews-view-grid .dataviews-view-grid__media {
|
|
417
670
|
width: 100%;
|
|
418
671
|
min-height: 200px;
|
|
@@ -445,8 +698,17 @@
|
|
|
445
698
|
.dataviews-view-grid .dataviews-view-grid__fields:not(:empty) {
|
|
446
699
|
padding: 0 0 12px;
|
|
447
700
|
}
|
|
701
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
|
|
702
|
+
min-height: 24px;
|
|
703
|
+
line-height: 20px;
|
|
704
|
+
padding-top: 2px;
|
|
705
|
+
}
|
|
448
706
|
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field {
|
|
449
707
|
align-items: flex-start;
|
|
708
|
+
min-height: 24px;
|
|
709
|
+
}
|
|
710
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(:has(.dataviews-view-grid__field-value:not(:empty))) {
|
|
711
|
+
display: none;
|
|
450
712
|
}
|
|
451
713
|
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(.is-column) {
|
|
452
714
|
align-items: center;
|
|
@@ -460,6 +722,9 @@
|
|
|
460
722
|
text-overflow: ellipsis;
|
|
461
723
|
white-space: nowrap;
|
|
462
724
|
}
|
|
725
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field.is-column + .is-row {
|
|
726
|
+
margin-top: 4px;
|
|
727
|
+
}
|
|
463
728
|
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
|
|
464
729
|
color: #757575;
|
|
465
730
|
}
|
|
@@ -478,6 +743,52 @@
|
|
|
478
743
|
font-size: 12px;
|
|
479
744
|
}
|
|
480
745
|
|
|
746
|
+
.dataviews-view-grid.dataviews-view-grid {
|
|
747
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
748
|
+
}
|
|
749
|
+
@media (min-width: 480px) {
|
|
750
|
+
.dataviews-view-grid.dataviews-view-grid {
|
|
751
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
@media (min-width: 1080px) {
|
|
755
|
+
.dataviews-view-grid.dataviews-view-grid {
|
|
756
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
@media (min-width: 1440px) {
|
|
760
|
+
.dataviews-view-grid.dataviews-view-grid {
|
|
761
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
@media (min-width: 1920px) {
|
|
765
|
+
.dataviews-view-grid.dataviews-view-grid {
|
|
766
|
+
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
.dataviews-density-picker__range-control {
|
|
771
|
+
width: 200px;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.dataviews-view-grid__field-value:empty,
|
|
775
|
+
.dataviews-view-grid__field:empty {
|
|
776
|
+
display: none;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.dataviews-view-grid__card .dataviews-selection-checkbox {
|
|
780
|
+
position: absolute;
|
|
781
|
+
top: -9999em;
|
|
782
|
+
left: 8px;
|
|
783
|
+
z-index: 1;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.dataviews-view-grid__card:hover .dataviews-selection-checkbox,
|
|
787
|
+
.dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
|
|
788
|
+
.dataviews-view-grid__card.is-selected .dataviews-selection-checkbox {
|
|
789
|
+
top: 8px;
|
|
790
|
+
}
|
|
791
|
+
|
|
481
792
|
.dataviews-view-list {
|
|
482
793
|
margin: 0 0 auto;
|
|
483
794
|
}
|
|
@@ -493,20 +804,40 @@
|
|
|
493
804
|
.dataviews-view-list li .dataviews-view-list__item-wrapper > * {
|
|
494
805
|
width: 100%;
|
|
495
806
|
}
|
|
807
|
+
.dataviews-view-list li .dataviews-view-list__item-actions {
|
|
808
|
+
position: absolute;
|
|
809
|
+
top: 16px;
|
|
810
|
+
right: 0;
|
|
811
|
+
}
|
|
812
|
+
.dataviews-view-list li .dataviews-view-list__item-actions > div {
|
|
813
|
+
height: 24px;
|
|
814
|
+
}
|
|
496
815
|
.dataviews-view-list li .dataviews-view-list__item-actions .components-button {
|
|
497
816
|
opacity: 0;
|
|
498
|
-
|
|
499
|
-
|
|
817
|
+
}
|
|
818
|
+
.dataviews-view-list li:has(.dataviews-view-list__fields:empty) .dataviews-view-list__item-actions {
|
|
819
|
+
top: 50%;
|
|
820
|
+
transform: translateY(-50%);
|
|
500
821
|
}
|
|
501
822
|
.dataviews-view-list li.is-selected .dataviews-view-list__item-actions, .dataviews-view-list li.is-hovered .dataviews-view-list__item-actions, .dataviews-view-list li:focus-within .dataviews-view-list__item-actions {
|
|
502
|
-
|
|
823
|
+
background: #f8f8f8;
|
|
824
|
+
padding-left: 8px;
|
|
825
|
+
margin-right: 24px;
|
|
826
|
+
box-shadow: -12px 0 8px 0 #f8f8f8;
|
|
503
827
|
}
|
|
504
828
|
.dataviews-view-list li.is-selected .dataviews-view-list__item-actions .components-button, .dataviews-view-list li.is-hovered .dataviews-view-list__item-actions .components-button, .dataviews-view-list li:focus-within .dataviews-view-list__item-actions .components-button {
|
|
505
829
|
opacity: 1;
|
|
506
830
|
position: static;
|
|
507
831
|
}
|
|
508
|
-
.dataviews-view-list li.is-selected .dataviews-view-list__item
|
|
509
|
-
|
|
832
|
+
.dataviews-view-list li.is-selected .dataviews-view-list__item-actions {
|
|
833
|
+
background-color: #f7f8ff;
|
|
834
|
+
box-shadow: -12px 0 8px 0 #f7f8ff;
|
|
835
|
+
}
|
|
836
|
+
.dataviews-view-list li.is-selected.is-selected {
|
|
837
|
+
border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
|
|
838
|
+
}
|
|
839
|
+
.dataviews-view-list li.is-selected.is-selected + li {
|
|
840
|
+
border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
|
|
510
841
|
}
|
|
511
842
|
.dataviews-view-list li:not(.is-selected) .dataviews-view-list__primary-field {
|
|
512
843
|
color: #1e1e1e;
|
|
@@ -532,7 +863,7 @@
|
|
|
532
863
|
color: var(--wp-admin-theme-color);
|
|
533
864
|
}
|
|
534
865
|
.dataviews-view-list .dataviews-view-list__item {
|
|
535
|
-
padding: 16px
|
|
866
|
+
padding: 16px 24px;
|
|
536
867
|
width: 100%;
|
|
537
868
|
scroll-margin: 8px 0;
|
|
538
869
|
}
|
|
@@ -547,13 +878,13 @@
|
|
|
547
878
|
border-radius: 2px;
|
|
548
879
|
}
|
|
549
880
|
.dataviews-view-list .dataviews-view-list__item .dataviews-view-list__primary-field {
|
|
550
|
-
min-height:
|
|
551
|
-
line-height:
|
|
881
|
+
min-height: 24px;
|
|
882
|
+
line-height: 24px;
|
|
552
883
|
overflow: hidden;
|
|
553
884
|
}
|
|
554
885
|
.dataviews-view-list .dataviews-view-list__media-wrapper {
|
|
555
|
-
width:
|
|
556
|
-
height:
|
|
886
|
+
width: 52px;
|
|
887
|
+
height: 52px;
|
|
557
888
|
overflow: hidden;
|
|
558
889
|
position: relative;
|
|
559
890
|
flex-shrink: 0;
|
|
@@ -580,303 +911,185 @@
|
|
|
580
911
|
height: 32px;
|
|
581
912
|
background-color: #e0e0e0;
|
|
582
913
|
}
|
|
914
|
+
.dataviews-view-list .dataviews-view-list__field-wrapper {
|
|
915
|
+
min-height: 52px;
|
|
916
|
+
}
|
|
583
917
|
.dataviews-view-list .dataviews-view-list__fields {
|
|
584
918
|
color: #757575;
|
|
585
919
|
display: flex;
|
|
586
|
-
gap:
|
|
920
|
+
gap: 12px;
|
|
921
|
+
row-gap: 4px;
|
|
587
922
|
flex-wrap: wrap;
|
|
588
923
|
font-size: 12px;
|
|
589
924
|
}
|
|
925
|
+
.dataviews-view-list .dataviews-view-list__fields:empty {
|
|
926
|
+
display: none;
|
|
927
|
+
}
|
|
590
928
|
.dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field:has(.dataviews-view-list__field-value:empty) {
|
|
591
929
|
display: none;
|
|
592
930
|
}
|
|
593
931
|
.dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value {
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
}
|
|
597
|
-
.dataviews-view-list .dataviews-view-list__item-actions {
|
|
598
|
-
padding-right: 24px;
|
|
599
|
-
}
|
|
600
|
-
.dataviews-view-list + .dataviews-pagination {
|
|
601
|
-
justify-content: space-between;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.dataviews-action-modal {
|
|
605
|
-
z-index: 1000001;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
.dataviews-no-results,
|
|
609
|
-
.dataviews-loading {
|
|
610
|
-
padding: 0 48px;
|
|
611
|
-
flex-grow: 1;
|
|
932
|
+
min-height: 24px;
|
|
933
|
+
line-height: 20px;
|
|
612
934
|
display: flex;
|
|
613
935
|
align-items: center;
|
|
614
|
-
justify-content: center;
|
|
615
|
-
transition: padding ease-out 0.1s;
|
|
616
|
-
}
|
|
617
|
-
@media (prefers-reduced-motion: reduce) {
|
|
618
|
-
.dataviews-no-results,
|
|
619
|
-
.dataviews-loading {
|
|
620
|
-
transition-duration: 0s;
|
|
621
|
-
transition-delay: 0s;
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
.dataviews-view-table-selection-checkbox {
|
|
626
|
-
--checkbox-input-size: 24px;
|
|
627
|
-
line-height: 0;
|
|
628
|
-
flex-shrink: 0;
|
|
629
|
-
}
|
|
630
|
-
@media (min-width: 600px) {
|
|
631
|
-
.dataviews-view-table-selection-checkbox {
|
|
632
|
-
--checkbox-input-size: 16px;
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
.dataviews-view-table-selection-checkbox .components-checkbox-control__input-container {
|
|
636
|
-
margin: 0;
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
.dataviews-bulk-edit-button.components-button {
|
|
640
|
-
flex-shrink: 0;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
.dataviews-filter-summary__popover .components-popover__content {
|
|
644
|
-
width: 230px;
|
|
645
|
-
padding: 0;
|
|
646
|
-
border-radius: 4px;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
.dataviews-search-widget-filter-combobox-list {
|
|
650
|
-
max-height: 184px;
|
|
651
|
-
padding: 4px;
|
|
652
|
-
overflow: auto;
|
|
653
|
-
border-top: 1px solid #e0e0e0;
|
|
654
|
-
}
|
|
655
|
-
.dataviews-search-widget-filter-combobox-list .dataviews-search-widget-filter-combobox-item-value [data-user-value] {
|
|
656
|
-
font-weight: 600;
|
|
657
936
|
}
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
max-height: 184px;
|
|
661
|
-
padding: 4px;
|
|
662
|
-
overflow: auto;
|
|
937
|
+
.dataviews-view-list + .dataviews-pagination {
|
|
938
|
+
justify-content: space-between;
|
|
663
939
|
}
|
|
664
940
|
|
|
665
|
-
.dataviews-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
border-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
margin-block-end: 2px;
|
|
941
|
+
.dataviews-view-table {
|
|
942
|
+
width: 100%;
|
|
943
|
+
text-indent: 0;
|
|
944
|
+
border-color: inherit;
|
|
945
|
+
border-collapse: collapse;
|
|
946
|
+
position: relative;
|
|
947
|
+
color: #757575;
|
|
948
|
+
margin-bottom: auto;
|
|
674
949
|
}
|
|
675
|
-
.dataviews-
|
|
676
|
-
|
|
950
|
+
.dataviews-view-table a {
|
|
951
|
+
text-decoration: none;
|
|
952
|
+
color: #1e1e1e;
|
|
953
|
+
font-weight: 500;
|
|
677
954
|
}
|
|
678
|
-
.dataviews-
|
|
679
|
-
|
|
680
|
-
color: #
|
|
955
|
+
.dataviews-view-table th {
|
|
956
|
+
text-align: left;
|
|
957
|
+
color: #1e1e1e;
|
|
958
|
+
font-weight: normal;
|
|
959
|
+
font-size: 13px;
|
|
681
960
|
}
|
|
682
|
-
.dataviews-
|
|
683
|
-
|
|
961
|
+
.dataviews-view-table td,
|
|
962
|
+
.dataviews-view-table th {
|
|
963
|
+
padding: 12px;
|
|
964
|
+
white-space: nowrap;
|
|
684
965
|
}
|
|
685
|
-
.dataviews-
|
|
686
|
-
|
|
966
|
+
.dataviews-view-table td.dataviews-view-table__actions-column,
|
|
967
|
+
.dataviews-view-table th.dataviews-view-table__actions-column {
|
|
968
|
+
text-align: right;
|
|
687
969
|
}
|
|
688
|
-
.dataviews-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
flex-shrink: 0;
|
|
970
|
+
.dataviews-view-table td.dataviews-view-table__checkbox-column,
|
|
971
|
+
.dataviews-view-table th.dataviews-view-table__checkbox-column {
|
|
972
|
+
padding-right: 0;
|
|
692
973
|
}
|
|
693
|
-
.dataviews-
|
|
694
|
-
|
|
695
|
-
overflow: hidden;
|
|
696
|
-
text-overflow: ellipsis;
|
|
697
|
-
font-size: 12px;
|
|
698
|
-
line-height: 16px;
|
|
699
|
-
color: #757575;
|
|
974
|
+
.dataviews-view-table tr {
|
|
975
|
+
border-top: 1px solid #f0f0f0;
|
|
700
976
|
}
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
position: relative;
|
|
704
|
-
padding: 8px;
|
|
977
|
+
.dataviews-view-table tr .dataviews-view-table-header-button {
|
|
978
|
+
gap: 4px;
|
|
705
979
|
}
|
|
706
|
-
.dataviews-
|
|
707
|
-
|
|
708
|
-
padding:
|
|
709
|
-
box-shadow: 0 0 0 transparent;
|
|
710
|
-
transition: box-shadow 0.1s linear;
|
|
711
|
-
border-radius: 2px;
|
|
712
|
-
border: 1px solid #949494;
|
|
713
|
-
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
714
|
-
font-size: 16px;
|
|
715
|
-
/* Override core line-height. To be reviewed. */
|
|
716
|
-
line-height: normal;
|
|
717
|
-
display: block;
|
|
718
|
-
padding: 0 32px 0 8px;
|
|
719
|
-
background: #f0f0f0;
|
|
720
|
-
border: none;
|
|
721
|
-
width: 100%;
|
|
722
|
-
height: 32px;
|
|
723
|
-
margin-left: 0;
|
|
724
|
-
margin-right: 0;
|
|
725
|
-
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
726
|
-
font-size: 16px;
|
|
980
|
+
.dataviews-view-table tr td:first-child,
|
|
981
|
+
.dataviews-view-table tr th:first-child {
|
|
982
|
+
padding-left: 48px;
|
|
727
983
|
}
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
984
|
+
.dataviews-view-table tr td:first-child .dataviews-view-table-header-button,
|
|
985
|
+
.dataviews-view-table tr td:first-child .dataviews-view-table-header,
|
|
986
|
+
.dataviews-view-table tr th:first-child .dataviews-view-table-header-button,
|
|
987
|
+
.dataviews-view-table tr th:first-child .dataviews-view-table-header {
|
|
988
|
+
margin-left: -8px;
|
|
733
989
|
}
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
/* Override core line-height. To be reviewed. */
|
|
738
|
-
line-height: normal;
|
|
739
|
-
}
|
|
990
|
+
.dataviews-view-table tr td:last-child,
|
|
991
|
+
.dataviews-view-table tr th:last-child {
|
|
992
|
+
padding-right: 48px;
|
|
740
993
|
}
|
|
741
|
-
.dataviews-
|
|
742
|
-
border-
|
|
743
|
-
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
|
744
|
-
outline: 2px solid transparent;
|
|
994
|
+
.dataviews-view-table tr:last-child {
|
|
995
|
+
border-bottom: 0;
|
|
745
996
|
}
|
|
746
|
-
.dataviews-
|
|
747
|
-
color:
|
|
997
|
+
.dataviews-view-table tr.is-hovered {
|
|
998
|
+
background-color: #f8f8f8;
|
|
999
|
+
}
|
|
1000
|
+
.dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input {
|
|
1001
|
+
opacity: 0;
|
|
748
1002
|
}
|
|
749
|
-
.dataviews-
|
|
1003
|
+
.dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:checked, .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:indeterminate, .dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input:focus {
|
|
750
1004
|
opacity: 1;
|
|
751
|
-
color: rgba(30, 30, 30, 0.62);
|
|
752
1005
|
}
|
|
753
|
-
.dataviews-
|
|
754
|
-
|
|
1006
|
+
.dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1007
|
+
opacity: 0;
|
|
755
1008
|
}
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
1009
|
+
.dataviews-view-table tr:focus-within .components-checkbox-control__input,
|
|
1010
|
+
.dataviews-view-table tr:focus-within .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr.is-hovered .components-checkbox-control__input,
|
|
1011
|
+
.dataviews-view-table tr.is-hovered .dataviews-item-actions .components-button:not(.dataviews-all-actions-button), .dataviews-view-table tr:hover .components-checkbox-control__input,
|
|
1012
|
+
.dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1013
|
+
opacity: 1;
|
|
760
1014
|
}
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
1015
|
+
@media (hover: none) {
|
|
1016
|
+
.dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input,
|
|
1017
|
+
.dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1018
|
+
opacity: 1;
|
|
1019
|
+
}
|
|
764
1020
|
}
|
|
765
|
-
.dataviews-
|
|
1021
|
+
.dataviews-view-table tr.is-selected {
|
|
1022
|
+
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
766
1023
|
color: #757575;
|
|
767
1024
|
}
|
|
768
|
-
.dataviews-
|
|
769
|
-
-
|
|
1025
|
+
.dataviews-view-table tr.is-selected, .dataviews-view-table tr.is-selected + tr {
|
|
1026
|
+
border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
|
|
770
1027
|
}
|
|
771
|
-
.dataviews-
|
|
772
|
-
|
|
773
|
-
right: 12px;
|
|
774
|
-
top: 50%;
|
|
775
|
-
transform: translateY(-50%);
|
|
776
|
-
display: flex;
|
|
777
|
-
align-items: center;
|
|
778
|
-
justify-content: center;
|
|
779
|
-
width: 24px;
|
|
1028
|
+
.dataviews-view-table tr.is-selected:hover {
|
|
1029
|
+
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
|
|
780
1030
|
}
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
1031
|
+
.dataviews-view-table thead {
|
|
1032
|
+
position: sticky;
|
|
1033
|
+
inset-block-start: 0;
|
|
1034
|
+
z-index: 1;
|
|
784
1035
|
}
|
|
785
|
-
.dataviews-
|
|
786
|
-
border
|
|
787
|
-
padding-bottom: 8px;
|
|
1036
|
+
.dataviews-view-table thead tr {
|
|
1037
|
+
border: 0;
|
|
788
1038
|
}
|
|
789
|
-
.dataviews-
|
|
790
|
-
|
|
1039
|
+
.dataviews-view-table thead th {
|
|
1040
|
+
background-color: #fff;
|
|
1041
|
+
padding-top: 8px;
|
|
1042
|
+
padding-bottom: 8px;
|
|
1043
|
+
padding-left: 12px;
|
|
1044
|
+
font-size: 11px;
|
|
1045
|
+
text-transform: uppercase;
|
|
1046
|
+
font-weight: 500;
|
|
791
1047
|
}
|
|
792
|
-
.dataviews-
|
|
793
|
-
|
|
1048
|
+
.dataviews-view-table thead th:has(.dataviews-view-table-header-button):not(:first-child) {
|
|
1049
|
+
padding-left: 4px;
|
|
794
1050
|
}
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
position: relative;
|
|
798
|
-
white-space: pre-wrap;
|
|
1051
|
+
.dataviews-view-table tbody td {
|
|
1052
|
+
vertical-align: top;
|
|
799
1053
|
}
|
|
800
|
-
.dataviews-
|
|
801
|
-
border-radius: 16px;
|
|
802
|
-
border: 1px solid transparent;
|
|
803
|
-
cursor: pointer;
|
|
804
|
-
padding: 4px 12px;
|
|
1054
|
+
.dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
|
|
805
1055
|
min-height: 32px;
|
|
806
|
-
background: #f0f0f0;
|
|
807
|
-
color: #2f2f2f;
|
|
808
|
-
position: relative;
|
|
809
1056
|
display: flex;
|
|
810
1057
|
align-items: center;
|
|
811
1058
|
}
|
|
812
|
-
.dataviews-
|
|
813
|
-
|
|
814
|
-
}
|
|
815
|
-
.dataviews-filter-summary__chip-container .dataviews-filter-summary__chip:hover, .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip:focus-visible, .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip[aria-expanded=true] {
|
|
816
|
-
background: #e0e0e0;
|
|
817
|
-
color: #1e1e1e;
|
|
818
|
-
}
|
|
819
|
-
.dataviews-filter-summary__chip-container .dataviews-filter-summary__chip.has-values {
|
|
820
|
-
color: var(--wp-admin-theme-color);
|
|
821
|
-
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
822
|
-
}
|
|
823
|
-
.dataviews-filter-summary__chip-container .dataviews-filter-summary__chip.has-values:hover, .dataviews-filter-summary__chip-container .dataviews-filter-summary__chip.has-values[aria-expanded=true] {
|
|
824
|
-
background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
|
|
825
|
-
}
|
|
826
|
-
.dataviews-filter-summary__chip-container .dataviews-filter-summary__chip:focus-visible {
|
|
827
|
-
outline: none;
|
|
828
|
-
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1059
|
+
.dataviews-view-table tbody .components-v-stack > .dataviews-view-table__cell-content-wrapper:not(:first-child) {
|
|
1060
|
+
min-height: 0;
|
|
829
1061
|
}
|
|
830
|
-
.dataviews-
|
|
1062
|
+
.dataviews-view-table .dataviews-view-table-header-button {
|
|
1063
|
+
padding: 4px 8px;
|
|
1064
|
+
font-size: 11px;
|
|
1065
|
+
text-transform: uppercase;
|
|
831
1066
|
font-weight: 500;
|
|
832
1067
|
}
|
|
833
|
-
.dataviews-
|
|
834
|
-
|
|
835
|
-
height: 24px;
|
|
836
|
-
border-radius: 50%;
|
|
837
|
-
border: 0;
|
|
838
|
-
padding: 0;
|
|
839
|
-
position: absolute;
|
|
840
|
-
right: 4px;
|
|
841
|
-
top: 50%;
|
|
842
|
-
transform: translateY(-50%);
|
|
843
|
-
display: flex;
|
|
844
|
-
align-items: center;
|
|
845
|
-
justify-content: center;
|
|
846
|
-
background: transparent;
|
|
847
|
-
cursor: pointer;
|
|
1068
|
+
.dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
|
|
1069
|
+
color: #1e1e1e;
|
|
848
1070
|
}
|
|
849
|
-
.dataviews-
|
|
850
|
-
|
|
1071
|
+
.dataviews-view-table .dataviews-view-table-header-button span {
|
|
1072
|
+
speak: none;
|
|
851
1073
|
}
|
|
852
|
-
.dataviews-
|
|
853
|
-
|
|
1074
|
+
.dataviews-view-table .dataviews-view-table-header-button span:empty {
|
|
1075
|
+
display: none;
|
|
854
1076
|
}
|
|
855
|
-
.dataviews-
|
|
856
|
-
|
|
1077
|
+
.dataviews-view-table .dataviews-view-table-header {
|
|
1078
|
+
padding-left: 4px;
|
|
857
1079
|
}
|
|
858
|
-
.dataviews-
|
|
859
|
-
|
|
1080
|
+
.dataviews-view-table .dataviews-view-table__actions-column {
|
|
1081
|
+
width: 1%;
|
|
860
1082
|
}
|
|
861
|
-
.dataviews-
|
|
862
|
-
|
|
1083
|
+
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
1084
|
+
opacity: 1;
|
|
863
1085
|
}
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
1086
|
+
|
|
1087
|
+
.dataviews-view-table__cell-content-wrapper:empty {
|
|
1088
|
+
display: none;
|
|
867
1089
|
}
|
|
868
1090
|
|
|
869
1091
|
/* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
|
|
870
1092
|
@container (max-width: 430px) {
|
|
871
|
-
.dataviews-pagination,
|
|
872
|
-
.dataviews-filters__view-actions {
|
|
873
|
-
padding: 12px 24px;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
.dataviews-filters__view-actions .components-search-control .components-base-control__field {
|
|
877
|
-
max-width: 112px;
|
|
878
|
-
}
|
|
879
|
-
|
|
880
1093
|
.dataviews-view-table tr td:first-child,
|
|
881
1094
|
.dataviews-view-table tr th:first-child {
|
|
882
1095
|
padding-left: 24px;
|
|
@@ -886,53 +1099,71 @@
|
|
|
886
1099
|
.dataviews-view-table tr th:last-child {
|
|
887
1100
|
padding-right: 24px;
|
|
888
1101
|
}
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
1102
|
+
}
|
|
1103
|
+
.dataviews-view-table-selection-checkbox {
|
|
1104
|
+
--checkbox-input-size: 24px;
|
|
1105
|
+
}
|
|
1106
|
+
@media (min-width: 600px) {
|
|
1107
|
+
.dataviews-view-table-selection-checkbox {
|
|
1108
|
+
--checkbox-input-size: 16px;
|
|
895
1109
|
}
|
|
896
1110
|
}
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
flex-grow: 1;
|
|
1111
|
+
|
|
1112
|
+
.dataforms-layouts-panel__field {
|
|
900
1113
|
width: 100%;
|
|
1114
|
+
min-height: 32px;
|
|
1115
|
+
justify-content: flex-start !important;
|
|
1116
|
+
align-items: flex-start !important;
|
|
901
1117
|
}
|
|
902
|
-
|
|
1118
|
+
|
|
1119
|
+
.dataforms-layouts-panel__field-label {
|
|
1120
|
+
width: 38%;
|
|
1121
|
+
flex-shrink: 0;
|
|
1122
|
+
min-height: 32px;
|
|
1123
|
+
display: flex;
|
|
903
1124
|
align-items: center;
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
1125
|
+
padding: 6px 0;
|
|
1126
|
+
line-height: 20px;
|
|
1127
|
+
-webkit-hyphens: auto;
|
|
1128
|
+
hyphens: auto;
|
|
907
1129
|
}
|
|
908
1130
|
|
|
909
|
-
.
|
|
910
|
-
|
|
1131
|
+
.dataforms-layouts-panel__field-control {
|
|
1132
|
+
flex-grow: 1;
|
|
1133
|
+
min-height: 32px;
|
|
911
1134
|
display: flex;
|
|
912
|
-
|
|
913
|
-
align-content: center;
|
|
914
|
-
flex-wrap: wrap;
|
|
915
|
-
width: -moz-fit-content;
|
|
916
|
-
width: fit-content;
|
|
917
|
-
margin-left: auto;
|
|
918
|
-
margin-right: auto;
|
|
919
|
-
bottom: 24px;
|
|
920
|
-
z-index: 2;
|
|
1135
|
+
align-items: center;
|
|
921
1136
|
}
|
|
922
|
-
.
|
|
923
|
-
|
|
924
|
-
|
|
1137
|
+
.dataforms-layouts-panel__field-control .components-button {
|
|
1138
|
+
max-width: 100%;
|
|
1139
|
+
text-align: left;
|
|
1140
|
+
white-space: normal;
|
|
1141
|
+
text-wrap: balance;
|
|
1142
|
+
text-wrap: pretty;
|
|
1143
|
+
min-height: 32px;
|
|
925
1144
|
}
|
|
926
|
-
.
|
|
927
|
-
|
|
1145
|
+
.dataforms-layouts-panel__field-control .components-dropdown {
|
|
1146
|
+
max-width: 100%;
|
|
928
1147
|
}
|
|
929
|
-
|
|
930
|
-
|
|
1148
|
+
|
|
1149
|
+
.dataforms-layouts-panel__field-dropdown .components-popover__content {
|
|
1150
|
+
min-width: 320px;
|
|
1151
|
+
padding: 16px;
|
|
931
1152
|
}
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
1153
|
+
|
|
1154
|
+
.dataforms-layouts-panel__dropdown-header {
|
|
1155
|
+
margin-bottom: 16px;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
[class].dataforms-layouts-panel__dropdown-header-action {
|
|
1159
|
+
height: 24px;
|
|
1160
|
+
}
|
|
1161
|
+
[class].dataforms-layouts-panel__dropdown-header-action.has-icon {
|
|
1162
|
+
min-width: 24px;
|
|
1163
|
+
padding: 0;
|
|
1164
|
+
}
|
|
1165
|
+
[class].dataforms-layouts-panel__dropdown-header-action:not(.has-icon) {
|
|
1166
|
+
text-decoration: underline;
|
|
936
1167
|
}
|
|
937
1168
|
|
|
938
1169
|
.edit-site-layout {
|
|
@@ -959,7 +1190,7 @@
|
|
|
959
1190
|
}
|
|
960
1191
|
@media (min-width: 782px) {
|
|
961
1192
|
.edit-site-layout__sidebar-region {
|
|
962
|
-
width:
|
|
1193
|
+
width: 300px;
|
|
963
1194
|
}
|
|
964
1195
|
}
|
|
965
1196
|
.edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region {
|
|
@@ -1070,6 +1301,13 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1070
1301
|
animation-delay: 255ms;
|
|
1071
1302
|
}
|
|
1072
1303
|
|
|
1304
|
+
@media (prefers-reduced-motion) {
|
|
1305
|
+
::view-transition-group(*),
|
|
1306
|
+
::view-transition-old(*),
|
|
1307
|
+
::view-transition-new(*) {
|
|
1308
|
+
animation: none !important;
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1073
1311
|
/* stylelint-enable */
|
|
1074
1312
|
.edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region .edit-site-layout__view-mode-toggle {
|
|
1075
1313
|
display: none;
|
|
@@ -1094,8 +1332,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1094
1332
|
.edit-site-layout__view-mode-toggle.components-button:hover, .edit-site-layout__view-mode-toggle.components-button:active {
|
|
1095
1333
|
color: #fff;
|
|
1096
1334
|
}
|
|
1097
|
-
.edit-site-layout__view-mode-toggle.components-button:focus {
|
|
1098
|
-
box-shadow:
|
|
1335
|
+
.edit-site-layout__view-mode-toggle.components-button:focus-visible, .edit-site-layout__view-mode-toggle.components-button:focus {
|
|
1336
|
+
box-shadow: 0 0 0 3px #1e1e1e, 0 0 0 6px var(--wp-admin-theme-color);
|
|
1337
|
+
outline: 4px solid #0000;
|
|
1338
|
+
outline-offset: 4px;
|
|
1099
1339
|
}
|
|
1100
1340
|
.edit-site-layout__view-mode-toggle.components-button::before {
|
|
1101
1341
|
transition: box-shadow 0.1s ease;
|
|
@@ -1115,9 +1355,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1115
1355
|
transition-delay: 0s;
|
|
1116
1356
|
}
|
|
1117
1357
|
}
|
|
1118
|
-
.edit-site-layout__view-mode-toggle.components-button:focus::before {
|
|
1119
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) rgba(255, 255, 255, 0.1), inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1120
|
-
}
|
|
1121
1358
|
.edit-site-layout__view-mode-toggle.components-button .edit-site-layout__view-mode-toggle-icon {
|
|
1122
1359
|
display: flex;
|
|
1123
1360
|
height: 64px;
|
|
@@ -1170,6 +1407,20 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1170
1407
|
padding-right: 16px;
|
|
1171
1408
|
}
|
|
1172
1409
|
|
|
1410
|
+
.edit-site-layout.is-full-canvas .edit-site-layout__view-mode-toggle.components-button:focus-visible, .edit-site-layout.is-full-canvas .edit-site-layout__view-mode-toggle.components-button:focus {
|
|
1411
|
+
box-shadow: none;
|
|
1412
|
+
outline: none;
|
|
1413
|
+
outline-offset: 0;
|
|
1414
|
+
}
|
|
1415
|
+
.edit-site-layout.is-full-canvas .edit-site-layout__view-mode-toggle.components-button:focus-visible .edit-site-site-icon svg, .edit-site-layout.is-full-canvas .edit-site-layout__view-mode-toggle.components-button:focus .edit-site-site-icon svg {
|
|
1416
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #3858e9);
|
|
1417
|
+
outline: 3px solid #0000;
|
|
1418
|
+
height: 40px;
|
|
1419
|
+
width: 40px;
|
|
1420
|
+
padding: 2px;
|
|
1421
|
+
border-radius: 2px;
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1173
1424
|
.edit-site-page {
|
|
1174
1425
|
color: #2f2f2f;
|
|
1175
1426
|
background: #fff;
|
|
@@ -1265,7 +1516,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1265
1516
|
contain: content;
|
|
1266
1517
|
}
|
|
1267
1518
|
|
|
1268
|
-
@keyframes
|
|
1519
|
+
@keyframes _2uf3v_slide-from-right {
|
|
1269
1520
|
from {
|
|
1270
1521
|
transform: translateX(50px);
|
|
1271
1522
|
opacity: 0;
|
|
@@ -1275,7 +1526,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1275
1526
|
opacity: 1;
|
|
1276
1527
|
}
|
|
1277
1528
|
}
|
|
1278
|
-
@keyframes
|
|
1529
|
+
@keyframes _2uf3v_slide-from-left {
|
|
1279
1530
|
from {
|
|
1280
1531
|
transform: translateX(-50px);
|
|
1281
1532
|
opacity: 0;
|
|
@@ -1331,10 +1582,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1331
1582
|
}
|
|
1332
1583
|
}
|
|
1333
1584
|
.edit-site-sidebar__screen-wrapper.slide-from-left {
|
|
1334
|
-
animation-name:
|
|
1585
|
+
animation-name: _2uf3v_slide-from-left;
|
|
1335
1586
|
}
|
|
1336
1587
|
.edit-site-sidebar__screen-wrapper.slide-from-right {
|
|
1337
|
-
animation-name:
|
|
1588
|
+
animation-name: _2uf3v_slide-from-right;
|
|
1338
1589
|
}
|
|
1339
1590
|
|
|
1340
1591
|
.edit-site-site-hub {
|
|
@@ -1410,9 +1661,11 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1410
1661
|
|
|
1411
1662
|
.edit-site-site-icon__icon {
|
|
1412
1663
|
fill: currentColor;
|
|
1664
|
+
width: 100%;
|
|
1665
|
+
height: 100%;
|
|
1413
1666
|
}
|
|
1414
1667
|
.edit-site-layout.is-full-canvas .edit-site-site-icon__icon {
|
|
1415
|
-
padding:
|
|
1668
|
+
padding: 12px;
|
|
1416
1669
|
}
|
|
1417
1670
|
|
|
1418
1671
|
.edit-site-site-icon__image {
|
|
@@ -1420,6 +1673,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1420
1673
|
height: 100%;
|
|
1421
1674
|
object-fit: cover;
|
|
1422
1675
|
background: #333;
|
|
1676
|
+
aspect-ratio: 1/1;
|
|
1423
1677
|
}
|
|
1424
1678
|
.edit-site-layout.is-full-canvas .edit-site-site-icon__image {
|
|
1425
1679
|
border-radius: 0;
|
|
@@ -1458,18 +1712,18 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1458
1712
|
background: #fff;
|
|
1459
1713
|
}
|
|
1460
1714
|
|
|
1461
|
-
.
|
|
1715
|
+
.edit-site-post-list__featured-image {
|
|
1462
1716
|
height: 100%;
|
|
1463
1717
|
object-fit: cover;
|
|
1464
1718
|
width: 100%;
|
|
1465
1719
|
}
|
|
1466
1720
|
|
|
1467
|
-
.
|
|
1721
|
+
.edit-site-post-list__featured-image-wrapper {
|
|
1468
1722
|
height: 100%;
|
|
1469
1723
|
width: 100%;
|
|
1470
1724
|
border-radius: 4px;
|
|
1471
1725
|
}
|
|
1472
|
-
.
|
|
1726
|
+
.edit-site-post-list__featured-image-wrapper.is-layout-table:not(:has(.edit-site-post-list__featured-image-button)), .edit-site-post-list__featured-image-wrapper.is-layout-table .edit-site-post-list__featured-image-button {
|
|
1473
1727
|
width: 32px;
|
|
1474
1728
|
height: 32px;
|
|
1475
1729
|
display: block;
|
|
@@ -1479,7 +1733,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1479
1733
|
background-color: #f0f0f0;
|
|
1480
1734
|
flex-grow: 0 !important;
|
|
1481
1735
|
}
|
|
1482
|
-
.
|
|
1736
|
+
.edit-site-post-list__featured-image-wrapper.is-layout-table:not(:has(.edit-site-post-list__featured-image-button))::after, .edit-site-post-list__featured-image-wrapper.is-layout-table .edit-site-post-list__featured-image-button::after {
|
|
1483
1737
|
border-radius: 4px;
|
|
1484
1738
|
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
1485
1739
|
content: "";
|
|
@@ -1490,7 +1744,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1490
1744
|
width: 100%;
|
|
1491
1745
|
}
|
|
1492
1746
|
|
|
1493
|
-
.
|
|
1747
|
+
.edit-site-post-list__featured-image-button {
|
|
1494
1748
|
box-shadow: none;
|
|
1495
1749
|
border: none;
|
|
1496
1750
|
padding: 0;
|
|
@@ -1502,22 +1756,22 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1502
1756
|
width: 100%;
|
|
1503
1757
|
border-radius: 4px;
|
|
1504
1758
|
}
|
|
1505
|
-
.
|
|
1759
|
+
.edit-site-post-list__featured-image-button:focus-visible {
|
|
1506
1760
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1507
1761
|
outline: 2px solid transparent;
|
|
1508
1762
|
}
|
|
1509
1763
|
|
|
1510
|
-
.dataviews-view-grid__card.is-selected .
|
|
1764
|
+
.dataviews-view-grid__card.is-selected .edit-site-post-list__featured-image-button::after {
|
|
1511
1765
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1512
1766
|
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
1513
1767
|
}
|
|
1514
1768
|
|
|
1515
|
-
.
|
|
1769
|
+
.edit-site-post-list__title span {
|
|
1516
1770
|
text-overflow: ellipsis;
|
|
1517
1771
|
overflow: hidden;
|
|
1518
1772
|
}
|
|
1519
1773
|
|
|
1520
|
-
.
|
|
1774
|
+
.edit-site-post-list__title-badge {
|
|
1521
1775
|
background: #f0f0f0;
|
|
1522
1776
|
color: #757575;
|
|
1523
1777
|
padding: 0 4px;
|
|
@@ -1525,13 +1779,16 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
1525
1779
|
font-size: 12px;
|
|
1526
1780
|
font-weight: 400;
|
|
1527
1781
|
flex-shrink: 0;
|
|
1782
|
+
line-height: 20px;
|
|
1528
1783
|
}
|
|
1529
1784
|
|
|
1530
|
-
.
|
|
1785
|
+
.edit-site-post-list__status-icon {
|
|
1531
1786
|
height: 24px;
|
|
1787
|
+
width: 24px;
|
|
1532
1788
|
}
|
|
1533
|
-
.
|
|
1789
|
+
.edit-site-post-list__status-icon svg {
|
|
1534
1790
|
fill: currentColor;
|
|
1791
|
+
margin-left: -4px;
|
|
1535
1792
|
}
|
|
1536
1793
|
|
|
1537
1794
|
.edit-site-resizable-frame__inner {
|