@wordpress/dataviews 3.0.0 → 4.1.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 +21 -3
- package/README.md +19 -4
- package/build/components/dataform/index.js +27 -0
- package/build/components/dataform/index.js.map +1 -0
- package/build/components/dataviews/index.js +126 -0
- package/build/components/dataviews/index.js.map +1 -0
- package/build/{bulk-actions.js → components/dataviews-bulk-actions/index.js} +42 -16
- package/build/components/dataviews-bulk-actions/index.js.map +1 -0
- package/build/{bulk-actions-toolbar.js → components/dataviews-bulk-actions-toolbar/index.js} +36 -19
- package/build/components/dataviews-bulk-actions-toolbar/index.js.map +1 -0
- package/build/components/dataviews-context/index.js +36 -0
- package/build/components/dataviews-context/index.js.map +1 -0
- package/build/{add-filter.js → components/dataviews-filters/add-filter.js} +35 -18
- package/build/components/dataviews-filters/add-filter.js.map +1 -0
- package/build/{filter-summary.js → components/dataviews-filters/filter-summary.js} +9 -9
- package/build/components/dataviews-filters/filter-summary.js.map +1 -0
- package/build/components/dataviews-filters/index.js +164 -0
- package/build/components/dataviews-filters/index.js.map +1 -0
- package/build/components/dataviews-filters/reset-filters.js.map +1 -0
- package/build/{search-widget.js → components/dataviews-filters/search-widget.js} +13 -13
- package/build/components/dataviews-filters/search-widget.js.map +1 -0
- package/build/{item-actions.js → components/dataviews-item-actions/index.js} +2 -2
- package/build/components/dataviews-item-actions/index.js.map +1 -0
- package/build/components/dataviews-layout/index.js +53 -0
- package/build/components/dataviews-layout/index.js.map +1 -0
- package/build/{pagination.js → components/dataviews-pagination/index.js} +16 -13
- package/build/components/dataviews-pagination/index.js.map +1 -0
- package/build/{search.js → components/dataviews-search/index.js} +18 -11
- package/build/components/dataviews-search/index.js.map +1 -0
- package/build/{single-selection-checkbox.js → components/dataviews-selection-checkbox/index.js} +6 -6
- package/build/components/dataviews-selection-checkbox/index.js.map +1 -0
- package/build/components/dataviews-view-config/index.js +298 -0
- package/build/components/dataviews-view-config/index.js.map +1 -0
- package/build/constants.js +6 -1
- package/build/constants.js.map +1 -1
- package/build/dataforms-layouts/index.js +24 -0
- package/build/dataforms-layouts/index.js.map +1 -0
- package/build/dataforms-layouts/panel/index.js +129 -0
- package/build/dataforms-layouts/panel/index.js.map +1 -0
- package/build/dataforms-layouts/regular/index.js +39 -0
- package/build/dataforms-layouts/regular/index.js.map +1 -0
- package/build/dataviews-layouts/grid/density-picker.js +143 -0
- package/build/dataviews-layouts/grid/density-picker.js.map +1 -0
- package/build/{view-grid.js → dataviews-layouts/grid/index.js} +40 -41
- package/build/dataviews-layouts/grid/index.js.map +1 -0
- package/build/dataviews-layouts/index.js +52 -0
- package/build/dataviews-layouts/index.js.map +1 -0
- package/build/{view-list.js → dataviews-layouts/list/index.js} +26 -23
- package/build/dataviews-layouts/list/index.js.map +1 -0
- package/build/dataviews-layouts/table/column-header-menu.js +196 -0
- package/build/dataviews-layouts/table/column-header-menu.js.map +1 -0
- package/build/dataviews-layouts/table/index.js +350 -0
- package/build/dataviews-layouts/table/index.js.map +1 -0
- package/build/field-types/index.js +46 -0
- package/build/field-types/index.js.map +1 -0
- package/build/field-types/integer.js +94 -0
- package/build/field-types/integer.js.map +1 -0
- package/build/field-types/text.js +87 -0
- package/build/field-types/text.js.map +1 -0
- package/build/filter-and-sort-data-view.js +2 -11
- package/build/filter-and-sort-data-view.js.map +1 -1
- package/build/index.js +11 -4
- package/build/index.js.map +1 -1
- package/build/normalize-fields.js +36 -2
- package/build/normalize-fields.js.map +1 -1
- package/build/types.js.map +1 -1
- package/build/validation.js +22 -0
- package/build/validation.js.map +1 -0
- package/build-module/components/dataform/index.js +21 -0
- package/build-module/components/dataform/index.js.map +1 -0
- package/build-module/components/dataviews/index.js +117 -0
- package/build-module/components/dataviews/index.js.map +1 -0
- package/build-module/{bulk-actions.js → components/dataviews-bulk-actions/index.js} +42 -17
- package/build-module/components/dataviews-bulk-actions/index.js.map +1 -0
- package/build-module/{bulk-actions-toolbar.js → components/dataviews-bulk-actions-toolbar/index.js} +35 -19
- package/build-module/components/dataviews-bulk-actions-toolbar/index.js.map +1 -0
- package/build-module/components/dataviews-context/index.js +30 -0
- package/build-module/components/dataviews-context/index.js.map +1 -0
- package/build-module/{add-filter.js → components/dataviews-filters/add-filter.js} +34 -18
- package/build-module/components/dataviews-filters/add-filter.js.map +1 -0
- package/build-module/{filter-summary.js → components/dataviews-filters/filter-summary.js} +9 -9
- package/build-module/components/dataviews-filters/filter-summary.js.map +1 -0
- package/build-module/components/dataviews-filters/index.js +153 -0
- package/build-module/components/dataviews-filters/index.js.map +1 -0
- package/build-module/components/dataviews-filters/reset-filters.js.map +1 -0
- package/build-module/{search-widget.js → components/dataviews-filters/search-widget.js} +13 -13
- package/build-module/components/dataviews-filters/search-widget.js.map +1 -0
- package/build-module/{item-actions.js → components/dataviews-item-actions/index.js} +2 -2
- package/build-module/components/dataviews-item-actions/index.js.map +1 -0
- package/build-module/components/dataviews-layout/index.js +45 -0
- package/build-module/components/dataviews-layout/index.js.map +1 -0
- package/build-module/{pagination.js → components/dataviews-pagination/index.js} +17 -15
- package/build-module/components/dataviews-pagination/index.js.map +1 -0
- package/build-module/{search.js → components/dataviews-search/index.js} +18 -12
- package/build-module/components/dataviews-search/index.js.map +1 -0
- package/build-module/{single-selection-checkbox.js → components/dataviews-selection-checkbox/index.js} +5 -5
- package/build-module/components/dataviews-selection-checkbox/index.js.map +1 -0
- package/build-module/components/dataviews-view-config/index.js +292 -0
- package/build-module/components/dataviews-view-config/index.js.map +1 -0
- package/build-module/constants.js +5 -0
- package/build-module/constants.js.map +1 -1
- package/build-module/dataforms-layouts/index.js +16 -0
- package/build-module/dataforms-layouts/index.js.map +1 -0
- package/build-module/dataforms-layouts/panel/index.js +124 -0
- package/build-module/dataforms-layouts/panel/index.js.map +1 -0
- package/build-module/dataforms-layouts/regular/index.js +32 -0
- package/build-module/dataforms-layouts/regular/index.js.map +1 -0
- package/build-module/dataviews-layouts/grid/density-picker.js +138 -0
- package/build-module/dataviews-layouts/grid/density-picker.js.map +1 -0
- package/build-module/{view-grid.js → dataviews-layouts/grid/index.js} +38 -39
- package/build-module/dataviews-layouts/grid/index.js.map +1 -0
- package/build-module/dataviews-layouts/index.js +43 -0
- package/build-module/dataviews-layouts/index.js.map +1 -0
- package/build-module/{view-list.js → dataviews-layouts/list/index.js} +24 -21
- package/build-module/dataviews-layouts/list/index.js.map +1 -0
- package/build-module/dataviews-layouts/table/column-header-menu.js +190 -0
- package/build-module/dataviews-layouts/table/column-header-menu.js.map +1 -0
- package/build-module/dataviews-layouts/table/index.js +344 -0
- package/build-module/dataviews-layouts/table/index.js.map +1 -0
- package/build-module/field-types/index.js +40 -0
- package/build-module/field-types/index.js.map +1 -0
- package/build-module/field-types/integer.js +87 -0
- package/build-module/field-types/integer.js.map +1 -0
- package/build-module/field-types/text.js +80 -0
- package/build-module/field-types/text.js.map +1 -0
- package/build-module/filter-and-sort-data-view.js +2 -11
- package/build-module/filter-and-sort-data-view.js.map +1 -1
- package/build-module/index.js +4 -3
- package/build-module/index.js.map +1 -1
- package/build-module/normalize-fields.js +35 -3
- package/build-module/normalize-fields.js.map +1 -1
- package/build-module/types.js.map +1 -1
- package/build-module/validation.js +15 -0
- package/build-module/validation.js.map +1 -0
- package/build-style/style-rtl.css +763 -532
- package/build-style/style.css +763 -532
- package/build-types/components/dataform/index.d.ts +6 -0
- package/build-types/components/dataform/index.d.ts.map +1 -0
- package/build-types/components/dataform/stories/index.story.d.ts +22 -0
- package/build-types/components/dataform/stories/index.story.d.ts.map +1 -0
- package/build-types/{dataviews.d.ts → components/dataviews/index.d.ts} +9 -7
- package/build-types/components/dataviews/index.d.ts.map +1 -0
- package/build-types/{stories → components/dataviews/stories}/fixtures.d.ts +13 -19
- package/build-types/components/dataviews/stories/fixtures.d.ts.map +1 -0
- package/build-types/components/dataviews/stories/index.story.d.ts +46 -0
- package/build-types/components/dataviews/stories/index.story.d.ts.map +1 -0
- package/build-types/components/dataviews-bulk-actions/index.d.ts +5 -0
- package/build-types/components/dataviews-bulk-actions/index.d.ts.map +1 -0
- package/build-types/components/dataviews-bulk-actions-toolbar/index.d.ts +2 -0
- package/build-types/components/dataviews-bulk-actions-toolbar/index.d.ts.map +1 -0
- package/build-types/components/dataviews-context/index.d.ts +26 -0
- package/build-types/components/dataviews-context/index.d.ts.map +1 -0
- package/build-types/{add-filter.d.ts → components/dataviews-filters/add-filter.d.ts} +4 -2
- package/build-types/components/dataviews-filters/add-filter.d.ts.map +1 -0
- package/build-types/{filter-summary.d.ts → components/dataviews-filters/filter-summary.d.ts} +1 -1
- package/build-types/components/dataviews-filters/filter-summary.d.ts.map +1 -0
- package/build-types/components/dataviews-filters/index.d.ts +14 -0
- package/build-types/components/dataviews-filters/index.d.ts.map +1 -0
- package/build-types/{reset-filters.d.ts → components/dataviews-filters/reset-filters.d.ts} +1 -2
- package/build-types/components/dataviews-filters/reset-filters.d.ts.map +1 -0
- package/build-types/{search-widget.d.ts → components/dataviews-filters/search-widget.d.ts} +1 -2
- package/build-types/components/dataviews-filters/search-widget.d.ts.map +1 -0
- package/build-types/{item-actions.d.ts → components/dataviews-item-actions/index.d.ts} +2 -2
- package/build-types/components/dataviews-item-actions/index.d.ts.map +1 -0
- package/build-types/components/dataviews-layout/index.d.ts +2 -0
- package/build-types/components/dataviews-layout/index.d.ts.map +1 -0
- package/build-types/components/dataviews-pagination/index.d.ts +4 -0
- package/build-types/components/dataviews-pagination/index.d.ts.map +1 -0
- package/build-types/components/dataviews-search/index.d.ts +6 -0
- package/build-types/components/dataviews-search/index.d.ts.map +1 -0
- package/build-types/components/dataviews-selection-checkbox/index.d.ts +16 -0
- package/build-types/components/dataviews-selection-checkbox/index.d.ts.map +1 -0
- package/build-types/components/dataviews-view-config/index.d.ts +8 -0
- package/build-types/components/dataviews-view-config/index.d.ts.map +1 -0
- package/build-types/constants.d.ts +4 -0
- package/build-types/constants.d.ts.map +1 -1
- package/build-types/dataforms-layouts/index.d.ts +9 -0
- package/build-types/dataforms-layouts/index.d.ts.map +1 -0
- package/build-types/dataforms-layouts/panel/index.d.ts +3 -0
- package/build-types/dataforms-layouts/panel/index.d.ts.map +1 -0
- package/build-types/dataforms-layouts/regular/index.d.ts +3 -0
- package/build-types/dataforms-layouts/regular/index.d.ts.map +1 -0
- package/build-types/dataviews-layouts/grid/density-picker.d.ts +5 -0
- package/build-types/dataviews-layouts/grid/density-picker.d.ts.map +1 -0
- package/build-types/dataviews-layouts/grid/index.d.ts +3 -0
- package/build-types/dataviews-layouts/grid/index.d.ts.map +1 -0
- package/build-types/{layouts.d.ts → dataviews-layouts/index.d.ts} +6 -5
- package/build-types/dataviews-layouts/index.d.ts.map +1 -0
- package/build-types/dataviews-layouts/list/index.d.ts +3 -0
- package/build-types/dataviews-layouts/list/index.d.ts.map +1 -0
- package/build-types/dataviews-layouts/table/column-header-menu.d.ts +17 -0
- package/build-types/dataviews-layouts/table/column-header-menu.d.ts.map +1 -0
- package/build-types/dataviews-layouts/table/index.d.ts +4 -0
- package/build-types/dataviews-layouts/table/index.d.ts.map +1 -0
- package/build-types/field-types/index.d.ts +20 -0
- package/build-types/field-types/index.d.ts.map +1 -0
- package/build-types/field-types/integer.d.ts +14 -0
- package/build-types/field-types/integer.d.ts.map +1 -0
- package/build-types/field-types/text.d.ts +14 -0
- package/build-types/field-types/text.d.ts.map +1 -0
- package/build-types/filter-and-sort-data-view.d.ts.map +1 -1
- package/build-types/index.d.ts +4 -3
- package/build-types/index.d.ts.map +1 -1
- package/build-types/normalize-fields.d.ts +0 -3
- package/build-types/normalize-fields.d.ts.map +1 -1
- package/build-types/types.d.ts +73 -19
- package/build-types/types.d.ts.map +1 -1
- package/build-types/validation.d.ts +3 -0
- package/build-types/validation.d.ts.map +1 -0
- package/package.json +12 -11
- package/src/components/dataform/index.tsx +17 -0
- package/src/components/dataform/stories/index.story.tsx +79 -0
- package/src/components/dataviews/index.tsx +161 -0
- package/src/{stories → components/dataviews/stories}/fixtures.js +8 -11
- package/src/{stories → components/dataviews/stories}/index.story.js +17 -3
- package/src/components/dataviews/style.scss +100 -0
- package/src/{bulk-actions.tsx → components/dataviews-bulk-actions/index.tsx} +51 -29
- package/src/components/dataviews-bulk-actions/style.scss +7 -0
- package/src/{bulk-actions-toolbar.tsx → components/dataviews-bulk-actions-toolbar/index.tsx} +42 -30
- package/src/components/dataviews-bulk-actions-toolbar/style.scss +45 -0
- package/src/components/dataviews-context/index.ts +49 -0
- package/src/{add-filter.tsx → components/dataviews-filters/add-filter.tsx} +39 -23
- package/src/{filter-summary.tsx → components/dataviews-filters/filter-summary.tsx} +18 -10
- package/src/components/dataviews-filters/index.tsx +199 -0
- package/src/{reset-filters.tsx → components/dataviews-filters/reset-filters.tsx} +1 -1
- package/src/{search-widget.tsx → components/dataviews-filters/search-widget.tsx} +14 -14
- package/src/components/dataviews-filters/style.scss +282 -0
- package/src/{item-actions.tsx → components/dataviews-item-actions/index.tsx} +2 -2
- package/src/components/dataviews-item-actions/style.scss +3 -0
- package/src/components/dataviews-layout/index.tsx +51 -0
- package/src/{pagination.tsx → components/dataviews-pagination/index.tsx} +13 -21
- package/src/components/dataviews-pagination/style.scss +26 -0
- package/src/{search.tsx → components/dataviews-search/index.tsx} +13 -15
- package/src/{single-selection-checkbox.tsx → components/dataviews-selection-checkbox/index.tsx} +9 -9
- package/src/components/dataviews-selection-checkbox/style.scss +14 -0
- package/src/components/dataviews-view-config/index.tsx +358 -0
- package/src/components/dataviews-view-config/style.scss +44 -0
- package/src/constants.ts +5 -0
- package/src/dataforms-layouts/index.tsx +20 -0
- package/src/dataforms-layouts/panel/index.tsx +164 -0
- package/src/dataforms-layouts/panel/style.scss +59 -0
- package/src/dataforms-layouts/regular/index.tsx +41 -0
- package/src/dataviews-layouts/grid/density-picker.tsx +136 -0
- package/src/{view-grid.tsx → dataviews-layouts/grid/index.tsx} +35 -36
- package/src/dataviews-layouts/grid/style.scss +169 -0
- package/src/dataviews-layouts/index.ts +66 -0
- package/src/{view-list.tsx → dataviews-layouts/list/index.tsx} +30 -17
- package/src/dataviews-layouts/list/style.scss +192 -0
- package/src/dataviews-layouts/table/column-header-menu.tsx +268 -0
- package/src/dataviews-layouts/table/index.tsx +471 -0
- package/src/dataviews-layouts/table/style.scss +201 -0
- package/src/field-types/index.tsx +45 -0
- package/src/field-types/integer.tsx +103 -0
- package/src/field-types/text.tsx +95 -0
- package/src/filter-and-sort-data-view.ts +1 -15
- package/src/index.ts +4 -3
- package/src/normalize-fields.ts +45 -4
- package/src/style.scss +14 -907
- package/src/test/filter-and-sort-data-view.js +47 -4
- package/src/test/validation.ts +131 -0
- package/src/types.ts +88 -17
- package/src/validation.ts +18 -0
- package/tsconfig.json +2 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/build/add-filter.js.map +0 -1
- package/build/bulk-actions-toolbar.js.map +0 -1
- package/build/bulk-actions.js.map +0 -1
- package/build/dataform.js +0 -78
- package/build/dataform.js.map +0 -1
- package/build/dataviews.js +0 -125
- package/build/dataviews.js.map +0 -1
- package/build/filter-summary.js.map +0 -1
- package/build/filters.js +0 -102
- package/build/filters.js.map +0 -1
- package/build/item-actions.js.map +0 -1
- package/build/layouts.js +0 -38
- package/build/layouts.js.map +0 -1
- package/build/pagination.js.map +0 -1
- package/build/reset-filters.js.map +0 -1
- package/build/search-widget.js.map +0 -1
- package/build/search.js.map +0 -1
- package/build/single-selection-checkbox.js.map +0 -1
- package/build/view-actions.js +0 -260
- package/build/view-actions.js.map +0 -1
- package/build/view-grid.js.map +0 -1
- package/build/view-list.js.map +0 -1
- package/build/view-table.js +0 -400
- package/build/view-table.js.map +0 -1
- package/build-module/add-filter.js.map +0 -1
- package/build-module/bulk-actions-toolbar.js.map +0 -1
- package/build-module/bulk-actions.js.map +0 -1
- package/build-module/dataform.js +0 -72
- package/build-module/dataform.js.map +0 -1
- package/build-module/dataviews.js +0 -116
- package/build-module/dataviews.js.map +0 -1
- package/build-module/filter-summary.js.map +0 -1
- package/build-module/filters.js +0 -94
- package/build-module/filters.js.map +0 -1
- package/build-module/item-actions.js.map +0 -1
- package/build-module/layouts.js +0 -30
- package/build-module/layouts.js.map +0 -1
- package/build-module/pagination.js.map +0 -1
- package/build-module/reset-filters.js.map +0 -1
- package/build-module/search-widget.js.map +0 -1
- package/build-module/search.js.map +0 -1
- package/build-module/single-selection-checkbox.js.map +0 -1
- package/build-module/view-actions.js +0 -255
- package/build-module/view-actions.js.map +0 -1
- package/build-module/view-grid.js.map +0 -1
- package/build-module/view-list.js.map +0 -1
- package/build-module/view-table.js +0 -393
- package/build-module/view-table.js.map +0 -1
- package/build-types/add-filter.d.ts.map +0 -1
- package/build-types/bulk-actions-toolbar.d.ts +0 -13
- package/build-types/bulk-actions-toolbar.d.ts.map +0 -1
- package/build-types/bulk-actions.d.ts +0 -15
- package/build-types/bulk-actions.d.ts.map +0 -1
- package/build-types/dataform.d.ts +0 -17
- package/build-types/dataform.d.ts.map +0 -1
- package/build-types/dataviews.d.ts.map +0 -1
- package/build-types/filter-summary.d.ts.map +0 -1
- package/build-types/filters.d.ts +0 -13
- package/build-types/filters.d.ts.map +0 -1
- package/build-types/item-actions.d.ts.map +0 -1
- package/build-types/layouts.d.ts.map +0 -1
- package/build-types/pagination.d.ts +0 -16
- package/build-types/pagination.d.ts.map +0 -1
- package/build-types/reset-filters.d.ts.map +0 -1
- package/build-types/search-widget.d.ts.map +0 -1
- package/build-types/search.d.ts +0 -13
- package/build-types/search.d.ts.map +0 -1
- package/build-types/single-selection-checkbox.d.ts +0 -17
- package/build-types/single-selection-checkbox.d.ts.map +0 -1
- package/build-types/stories/fixtures.d.ts.map +0 -1
- package/build-types/stories/index.story.d.ts +0 -29
- package/build-types/stories/index.story.d.ts.map +0 -1
- package/build-types/view-actions.d.ts +0 -12
- package/build-types/view-actions.d.ts.map +0 -1
- package/build-types/view-grid.d.ts +0 -4
- package/build-types/view-grid.d.ts.map +0 -1
- package/build-types/view-list.d.ts +0 -4
- package/build-types/view-list.d.ts.map +0 -1
- package/build-types/view-table.d.ts +0 -5
- package/build-types/view-table.d.ts.map +0 -1
- package/src/dataform.tsx +0 -106
- package/src/dataviews.tsx +0 -183
- package/src/filters.tsx +0 -125
- package/src/layouts.ts +0 -39
- package/src/view-actions.tsx +0 -350
- package/src/view-table.tsx +0 -592
- /package/build/{reset-filters.js → components/dataviews-filters/reset-filters.js} +0 -0
- /package/build-module/{reset-filters.js → components/dataviews-filters/reset-filters.js} +0 -0
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
* Grid System.
|
|
34
34
|
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
35
|
*/
|
|
36
|
+
/**
|
|
37
|
+
* Radius scale.
|
|
38
|
+
*/
|
|
36
39
|
/**
|
|
37
40
|
* Dimensions.
|
|
38
41
|
*/
|
|
@@ -115,7 +118,8 @@
|
|
|
115
118
|
flex-direction: column;
|
|
116
119
|
}
|
|
117
120
|
|
|
118
|
-
.
|
|
121
|
+
.dataviews__view-actions,
|
|
122
|
+
.dataviews-filters__container {
|
|
119
123
|
box-sizing: border-box;
|
|
120
124
|
padding: 16px 48px;
|
|
121
125
|
flex-shrink: 0;
|
|
@@ -124,202 +128,17 @@
|
|
|
124
128
|
transition: padding ease-out 0.1s;
|
|
125
129
|
}
|
|
126
130
|
@media (prefers-reduced-motion: reduce) {
|
|
127
|
-
.
|
|
131
|
+
.dataviews__view-actions,
|
|
132
|
+
.dataviews-filters__container {
|
|
128
133
|
transition-duration: 0s;
|
|
129
134
|
transition-delay: 0s;
|
|
130
135
|
}
|
|
131
136
|
}
|
|
132
|
-
.
|
|
137
|
+
.dataviews__view-actions .components-search-control .components-base-control__field,
|
|
138
|
+
.dataviews-filters__container .components-search-control .components-base-control__field {
|
|
133
139
|
max-width: 240px;
|
|
134
140
|
}
|
|
135
141
|
|
|
136
|
-
.dataviews-filters__container .dataviews-filters__reset-button[aria-disabled=true], .dataviews-filters__container .dataviews-filters__reset-button[aria-disabled=true]:hover {
|
|
137
|
-
opacity: 0;
|
|
138
|
-
}
|
|
139
|
-
.dataviews-filters__container .dataviews-filters__reset-button[aria-disabled=true]:focus {
|
|
140
|
-
opacity: 1;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.dataviews-filters-button {
|
|
144
|
-
position: relative;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.dataviews-pagination {
|
|
148
|
-
position: sticky;
|
|
149
|
-
bottom: 0;
|
|
150
|
-
right: 0;
|
|
151
|
-
background-color: #fff;
|
|
152
|
-
padding: 12px 48px;
|
|
153
|
-
border-top: 1px solid #f0f0f0;
|
|
154
|
-
color: #757575;
|
|
155
|
-
flex-shrink: 0;
|
|
156
|
-
transition: padding ease-out 0.1s;
|
|
157
|
-
}
|
|
158
|
-
@media (prefers-reduced-motion: reduce) {
|
|
159
|
-
.dataviews-pagination {
|
|
160
|
-
transition-duration: 0s;
|
|
161
|
-
transition-delay: 0s;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.dataviews-pagination__page-selection {
|
|
166
|
-
font-size: 11px;
|
|
167
|
-
text-transform: uppercase;
|
|
168
|
-
font-weight: 500;
|
|
169
|
-
color: #1e1e1e;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.dataviews-filters-options {
|
|
173
|
-
margin: 32px 0 16px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.dataviews-view-table {
|
|
177
|
-
width: 100%;
|
|
178
|
-
text-indent: 0;
|
|
179
|
-
border-color: inherit;
|
|
180
|
-
border-collapse: collapse;
|
|
181
|
-
position: relative;
|
|
182
|
-
color: #757575;
|
|
183
|
-
margin-bottom: auto;
|
|
184
|
-
}
|
|
185
|
-
.dataviews-view-table a {
|
|
186
|
-
text-decoration: none;
|
|
187
|
-
color: #1e1e1e;
|
|
188
|
-
font-weight: 500;
|
|
189
|
-
}
|
|
190
|
-
.dataviews-view-table th {
|
|
191
|
-
text-align: right;
|
|
192
|
-
color: #1e1e1e;
|
|
193
|
-
font-weight: normal;
|
|
194
|
-
font-size: 13px;
|
|
195
|
-
}
|
|
196
|
-
.dataviews-view-table td,
|
|
197
|
-
.dataviews-view-table th {
|
|
198
|
-
padding: 12px;
|
|
199
|
-
white-space: nowrap;
|
|
200
|
-
}
|
|
201
|
-
.dataviews-view-table td[data-field-id=actions],
|
|
202
|
-
.dataviews-view-table th[data-field-id=actions] {
|
|
203
|
-
text-align: left;
|
|
204
|
-
}
|
|
205
|
-
.dataviews-view-table td.dataviews-view-table__checkbox-column,
|
|
206
|
-
.dataviews-view-table th.dataviews-view-table__checkbox-column {
|
|
207
|
-
padding-left: 0;
|
|
208
|
-
}
|
|
209
|
-
.dataviews-view-table tr {
|
|
210
|
-
border-bottom: 1px solid #f0f0f0;
|
|
211
|
-
}
|
|
212
|
-
.dataviews-view-table tr .dataviews-view-table-header-button {
|
|
213
|
-
gap: 4px;
|
|
214
|
-
}
|
|
215
|
-
.dataviews-view-table tr td:first-child,
|
|
216
|
-
.dataviews-view-table tr th:first-child {
|
|
217
|
-
padding-right: 48px;
|
|
218
|
-
}
|
|
219
|
-
.dataviews-view-table tr td:first-child .dataviews-view-table-header-button,
|
|
220
|
-
.dataviews-view-table tr td:first-child .dataviews-view-table-header,
|
|
221
|
-
.dataviews-view-table tr th:first-child .dataviews-view-table-header-button,
|
|
222
|
-
.dataviews-view-table tr th:first-child .dataviews-view-table-header {
|
|
223
|
-
margin-right: -8px;
|
|
224
|
-
}
|
|
225
|
-
.dataviews-view-table tr td:last-child,
|
|
226
|
-
.dataviews-view-table tr th:last-child {
|
|
227
|
-
padding-left: 48px;
|
|
228
|
-
}
|
|
229
|
-
.dataviews-view-table tr:last-child {
|
|
230
|
-
border-bottom: 0;
|
|
231
|
-
}
|
|
232
|
-
.dataviews-view-table tr.is-hovered {
|
|
233
|
-
background-color: #f8f8f8;
|
|
234
|
-
}
|
|
235
|
-
.dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input {
|
|
236
|
-
opacity: 0;
|
|
237
|
-
}
|
|
238
|
-
.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 {
|
|
239
|
-
opacity: 1;
|
|
240
|
-
}
|
|
241
|
-
.dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
242
|
-
opacity: 0;
|
|
243
|
-
}
|
|
244
|
-
.dataviews-view-table tr:focus-within .components-checkbox-control__input,
|
|
245
|
-
.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,
|
|
246
|
-
.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,
|
|
247
|
-
.dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
248
|
-
opacity: 1;
|
|
249
|
-
}
|
|
250
|
-
@media (hover: none) {
|
|
251
|
-
.dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input,
|
|
252
|
-
.dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
253
|
-
opacity: 1;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
.dataviews-view-table tr.is-selected {
|
|
257
|
-
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
258
|
-
color: #757575;
|
|
259
|
-
}
|
|
260
|
-
.dataviews-view-table tr.is-selected:hover {
|
|
261
|
-
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
|
|
262
|
-
}
|
|
263
|
-
.dataviews-view-table thead {
|
|
264
|
-
position: sticky;
|
|
265
|
-
inset-block-start: 0;
|
|
266
|
-
z-index: 1;
|
|
267
|
-
}
|
|
268
|
-
.dataviews-view-table thead tr {
|
|
269
|
-
border: 0;
|
|
270
|
-
}
|
|
271
|
-
.dataviews-view-table thead th {
|
|
272
|
-
background-color: #fff;
|
|
273
|
-
box-shadow: inset 0 -1px 0 #f0f0f0;
|
|
274
|
-
padding-top: 8px;
|
|
275
|
-
padding-bottom: 8px;
|
|
276
|
-
padding-right: 12px;
|
|
277
|
-
font-size: 11px;
|
|
278
|
-
text-transform: uppercase;
|
|
279
|
-
font-weight: 500;
|
|
280
|
-
}
|
|
281
|
-
.dataviews-view-table thead th:has(.dataviews-view-table-header-button):not(:first-child) {
|
|
282
|
-
padding-right: 4px;
|
|
283
|
-
}
|
|
284
|
-
.dataviews-view-table tbody td {
|
|
285
|
-
vertical-align: top;
|
|
286
|
-
}
|
|
287
|
-
.dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
|
|
288
|
-
min-height: 32px;
|
|
289
|
-
display: flex;
|
|
290
|
-
align-items: center;
|
|
291
|
-
}
|
|
292
|
-
.dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper > * {
|
|
293
|
-
flex-grow: 1;
|
|
294
|
-
}
|
|
295
|
-
.dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__primary-field a {
|
|
296
|
-
flex-grow: 0;
|
|
297
|
-
}
|
|
298
|
-
.dataviews-view-table .dataviews-view-table-header-button {
|
|
299
|
-
padding: 4px 8px;
|
|
300
|
-
font-size: 11px;
|
|
301
|
-
text-transform: uppercase;
|
|
302
|
-
font-weight: 500;
|
|
303
|
-
}
|
|
304
|
-
.dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
|
|
305
|
-
color: #1e1e1e;
|
|
306
|
-
}
|
|
307
|
-
.dataviews-view-table .dataviews-view-table-header-button span {
|
|
308
|
-
speak: none;
|
|
309
|
-
}
|
|
310
|
-
.dataviews-view-table .dataviews-view-table-header-button span:empty {
|
|
311
|
-
display: none;
|
|
312
|
-
}
|
|
313
|
-
.dataviews-view-table .dataviews-view-table-header {
|
|
314
|
-
padding-right: 4px;
|
|
315
|
-
}
|
|
316
|
-
.dataviews-view-table .dataviews-view-table__actions-column {
|
|
317
|
-
width: 1%;
|
|
318
|
-
}
|
|
319
|
-
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
320
|
-
opacity: 1;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
142
|
.dataviews-view-list__primary-field,
|
|
324
143
|
.dataviews-view-grid__primary-field,
|
|
325
144
|
.dataviews-view-table__primary-field {
|
|
@@ -371,297 +190,215 @@
|
|
|
371
190
|
color: var(--wp-admin-theme-color);
|
|
372
191
|
}
|
|
373
192
|
|
|
374
|
-
.dataviews-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
193
|
+
.dataviews-no-results,
|
|
194
|
+
.dataviews-loading {
|
|
195
|
+
padding: 0 48px;
|
|
196
|
+
flex-grow: 1;
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
justify-content: center;
|
|
379
200
|
transition: padding ease-out 0.1s;
|
|
380
201
|
}
|
|
381
202
|
@media (prefers-reduced-motion: reduce) {
|
|
382
|
-
.dataviews-
|
|
203
|
+
.dataviews-no-results,
|
|
204
|
+
.dataviews-loading {
|
|
383
205
|
transition-duration: 0s;
|
|
384
206
|
transition-delay: 0s;
|
|
385
207
|
}
|
|
386
208
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
209
|
+
|
|
210
|
+
/* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
|
|
211
|
+
@container (max-width: 430px) {
|
|
212
|
+
.dataviews__view-actions,
|
|
213
|
+
.dataviews-filters__container {
|
|
214
|
+
padding: 12px 24px;
|
|
390
215
|
}
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
|
216
|
+
.dataviews__view-actions .components-search-control .components-base-control__field,
|
|
217
|
+
.dataviews-filters__container .components-search-control .components-base-control__field {
|
|
218
|
+
max-width: 112px;
|
|
395
219
|
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
220
|
+
|
|
221
|
+
.dataviews-view-grid,
|
|
222
|
+
.dataviews-no-results,
|
|
223
|
+
.dataviews-loading {
|
|
224
|
+
padding-right: 24px;
|
|
225
|
+
padding-left: 24px;
|
|
400
226
|
}
|
|
401
227
|
}
|
|
402
|
-
.dataviews-
|
|
403
|
-
|
|
404
|
-
justify-content: flex-start;
|
|
228
|
+
.dataviews-bulk-actions__modal {
|
|
229
|
+
z-index: 1000001;
|
|
405
230
|
}
|
|
406
|
-
|
|
407
|
-
|
|
231
|
+
|
|
232
|
+
.dataviews-bulk-actions__edit-button.components-button {
|
|
233
|
+
flex-shrink: 0;
|
|
408
234
|
}
|
|
409
|
-
|
|
410
|
-
|
|
235
|
+
|
|
236
|
+
.dataviews-bulk-actions-toolbar {
|
|
237
|
+
position: sticky;
|
|
238
|
+
display: flex;
|
|
239
|
+
flex-direction: column;
|
|
240
|
+
align-content: center;
|
|
241
|
+
flex-wrap: wrap;
|
|
242
|
+
width: -moz-fit-content;
|
|
243
|
+
width: fit-content;
|
|
244
|
+
margin-right: auto;
|
|
245
|
+
margin-left: auto;
|
|
246
|
+
bottom: 24px;
|
|
247
|
+
z-index: 2;
|
|
411
248
|
}
|
|
412
|
-
.dataviews-
|
|
413
|
-
color: #
|
|
249
|
+
.dataviews-bulk-actions-toolbar .components-accessible-toolbar {
|
|
250
|
+
border-color: #ddd;
|
|
251
|
+
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);
|
|
414
252
|
}
|
|
415
|
-
.dataviews-
|
|
416
|
-
|
|
417
|
-
min-height: 200px;
|
|
418
|
-
aspect-ratio: 1/1;
|
|
419
|
-
background-color: #f0f0f0;
|
|
420
|
-
border-radius: 4px;
|
|
421
|
-
position: relative;
|
|
253
|
+
.dataviews-bulk-actions-toolbar .components-accessible-toolbar .components-toolbar-group {
|
|
254
|
+
border-color: #e0e0e0;
|
|
422
255
|
}
|
|
423
|
-
.dataviews-
|
|
424
|
-
|
|
425
|
-
width: 100%;
|
|
426
|
-
height: 100%;
|
|
256
|
+
.dataviews-bulk-actions-toolbar .components-accessible-toolbar .components-toolbar-group:last-child {
|
|
257
|
+
border: 0;
|
|
427
258
|
}
|
|
428
|
-
.dataviews-
|
|
429
|
-
content: "";
|
|
430
|
-
position: absolute;
|
|
431
|
-
top: 0;
|
|
432
|
-
right: 0;
|
|
433
|
-
width: 100%;
|
|
434
|
-
height: 100%;
|
|
435
|
-
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
436
|
-
border-radius: 4px;
|
|
437
|
-
pointer-events: none;
|
|
438
|
-
}
|
|
439
|
-
.dataviews-view-grid .dataviews-view-grid__fields {
|
|
440
|
-
position: relative;
|
|
441
|
-
font-size: 12px;
|
|
442
|
-
line-height: 16px;
|
|
443
|
-
}
|
|
444
|
-
.dataviews-view-grid .dataviews-view-grid__fields:not(:empty) {
|
|
445
|
-
padding: 0 0 12px;
|
|
446
|
-
}
|
|
447
|
-
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field {
|
|
448
|
-
align-items: flex-start;
|
|
449
|
-
}
|
|
450
|
-
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(.is-column) {
|
|
451
|
-
align-items: center;
|
|
452
|
-
}
|
|
453
|
-
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(.is-column) .dataviews-view-grid__field-name {
|
|
454
|
-
width: 35%;
|
|
455
|
-
}
|
|
456
|
-
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(.is-column) .dataviews-view-grid__field-value {
|
|
457
|
-
width: 65%;
|
|
458
|
-
overflow: hidden;
|
|
459
|
-
text-overflow: ellipsis;
|
|
460
|
-
white-space: nowrap;
|
|
461
|
-
}
|
|
462
|
-
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
|
|
463
|
-
color: #757575;
|
|
464
|
-
}
|
|
465
|
-
.dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty) {
|
|
466
|
-
padding-bottom: 12px;
|
|
467
|
-
}
|
|
468
|
-
.dataviews-view-grid .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value {
|
|
469
|
-
width: -moz-fit-content;
|
|
470
|
-
width: fit-content;
|
|
471
|
-
background: #f0f0f0;
|
|
472
|
-
padding: 0 8px;
|
|
473
|
-
min-height: 24px;
|
|
474
|
-
border-radius: 2px;
|
|
259
|
+
.dataviews-bulk-actions-toolbar .dataviews-bulk-actions-toolbar__selection-count {
|
|
475
260
|
display: flex;
|
|
476
261
|
align-items: center;
|
|
477
|
-
|
|
262
|
+
margin: 0 8px 0 8px;
|
|
478
263
|
}
|
|
479
264
|
|
|
480
|
-
.dataviews-
|
|
481
|
-
|
|
265
|
+
.dataviews-bulk-actions-toolbar__wrapper {
|
|
266
|
+
display: flex;
|
|
267
|
+
flex-grow: 1;
|
|
268
|
+
width: 100%;
|
|
482
269
|
}
|
|
483
|
-
.dataviews-
|
|
484
|
-
|
|
485
|
-
cursor: pointer;
|
|
486
|
-
border-top: 1px solid #f0f0f0;
|
|
270
|
+
.dataviews-bulk-actions-toolbar__wrapper .components-toolbar-group {
|
|
271
|
+
align-items: center;
|
|
487
272
|
}
|
|
488
|
-
.dataviews-
|
|
273
|
+
.dataviews-bulk-actions-toolbar__wrapper .components-button.is-busy {
|
|
274
|
+
max-height: 36px;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.dataviews-filters__button {
|
|
489
278
|
position: relative;
|
|
490
|
-
border-radius: 4px;
|
|
491
279
|
}
|
|
492
|
-
|
|
493
|
-
|
|
280
|
+
|
|
281
|
+
.dataviews-filters__container {
|
|
282
|
+
padding-top: 0;
|
|
494
283
|
}
|
|
495
|
-
|
|
284
|
+
|
|
285
|
+
.dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true], .dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true]:hover {
|
|
496
286
|
opacity: 0;
|
|
497
|
-
position: fixed;
|
|
498
|
-
left: 0;
|
|
499
287
|
}
|
|
500
|
-
.dataviews-
|
|
501
|
-
padding-left: 24px;
|
|
502
|
-
}
|
|
503
|
-
.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 {
|
|
288
|
+
.dataviews-filters__reset-button.dataviews-filters__reset-button[aria-disabled=true]:focus {
|
|
504
289
|
opacity: 1;
|
|
505
|
-
position: static;
|
|
506
|
-
}
|
|
507
|
-
.dataviews-view-list li.is-selected .dataviews-view-list__item, .dataviews-view-list li.is-hovered .dataviews-view-list__item, .dataviews-view-list li:focus-within .dataviews-view-list__item {
|
|
508
|
-
padding-left: 0;
|
|
509
|
-
}
|
|
510
|
-
.dataviews-view-list li:not(.is-selected) .dataviews-view-list__primary-field {
|
|
511
|
-
color: #1e1e1e;
|
|
512
|
-
}
|
|
513
|
-
.dataviews-view-list li:not(.is-selected):hover, .dataviews-view-list li:not(.is-selected):focus-within {
|
|
514
|
-
color: var(--wp-admin-theme-color);
|
|
515
|
-
background-color: #f8f8f8;
|
|
516
|
-
}
|
|
517
|
-
.dataviews-view-list li:not(.is-selected):hover .dataviews-view-list__primary-field,
|
|
518
|
-
.dataviews-view-list li:not(.is-selected):hover .dataviews-view-list__fields, .dataviews-view-list li:not(.is-selected):focus-within .dataviews-view-list__primary-field,
|
|
519
|
-
.dataviews-view-list li:not(.is-selected):focus-within .dataviews-view-list__fields {
|
|
520
|
-
color: var(--wp-admin-theme-color);
|
|
521
290
|
}
|
|
522
|
-
|
|
523
|
-
.dataviews-
|
|
524
|
-
|
|
525
|
-
|
|
291
|
+
|
|
292
|
+
.dataviews-filters__summary-popover .components-popover__content {
|
|
293
|
+
width: 230px;
|
|
294
|
+
padding: 0;
|
|
295
|
+
border-radius: 4px;
|
|
526
296
|
}
|
|
527
|
-
|
|
528
|
-
.dataviews-
|
|
529
|
-
|
|
530
|
-
.dataviews-view-list li.is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__fields {
|
|
531
|
-
color: var(--wp-admin-theme-color);
|
|
297
|
+
|
|
298
|
+
.dataviews-filters__summary-operators-container {
|
|
299
|
+
padding: 8px 8px 0;
|
|
532
300
|
}
|
|
533
|
-
.dataviews-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
scroll-margin: 8px 0;
|
|
301
|
+
.dataviews-filters__summary-operators-container:has(+ .dataviews-filters__search-widget-listbox) {
|
|
302
|
+
border-bottom: 1px solid #e0e0e0;
|
|
303
|
+
padding-bottom: 8px;
|
|
537
304
|
}
|
|
538
|
-
.dataviews-
|
|
539
|
-
|
|
540
|
-
content: "";
|
|
541
|
-
top: calc(var(--wp-admin-border-width-focus) + 1px);
|
|
542
|
-
left: var(--wp-admin-border-width-focus);
|
|
543
|
-
bottom: var(--wp-admin-border-width-focus);
|
|
544
|
-
right: var(--wp-admin-border-width-focus);
|
|
545
|
-
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
546
|
-
border-radius: 2px;
|
|
305
|
+
.dataviews-filters__summary-operators-container:empty {
|
|
306
|
+
display: none;
|
|
547
307
|
}
|
|
548
|
-
.dataviews-
|
|
549
|
-
|
|
550
|
-
line-height: 20px;
|
|
551
|
-
overflow: hidden;
|
|
308
|
+
.dataviews-filters__summary-operators-container .dataviews-filters__summary-operators-filter-name {
|
|
309
|
+
color: #757575;
|
|
552
310
|
}
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
height: 40px;
|
|
556
|
-
overflow: hidden;
|
|
311
|
+
|
|
312
|
+
.dataviews-filters__summary-chip-container {
|
|
557
313
|
position: relative;
|
|
558
|
-
|
|
559
|
-
background-color: #f0f0f0;
|
|
560
|
-
border-radius: 4px;
|
|
561
|
-
}
|
|
562
|
-
.dataviews-view-list .dataviews-view-list__media-wrapper img {
|
|
563
|
-
width: 100%;
|
|
564
|
-
height: 100%;
|
|
565
|
-
object-fit: cover;
|
|
566
|
-
}
|
|
567
|
-
.dataviews-view-list .dataviews-view-list__media-wrapper::after {
|
|
568
|
-
content: "";
|
|
569
|
-
position: absolute;
|
|
570
|
-
top: 0;
|
|
571
|
-
right: 0;
|
|
572
|
-
width: 100%;
|
|
573
|
-
height: 100%;
|
|
574
|
-
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
575
|
-
border-radius: 4px;
|
|
576
|
-
}
|
|
577
|
-
.dataviews-view-list .dataviews-view-list__media-placeholder {
|
|
578
|
-
min-width: 32px;
|
|
579
|
-
height: 32px;
|
|
580
|
-
background-color: #e0e0e0;
|
|
314
|
+
white-space: pre-wrap;
|
|
581
315
|
}
|
|
582
|
-
.dataviews-
|
|
583
|
-
|
|
316
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip {
|
|
317
|
+
border-radius: 16px;
|
|
318
|
+
border: 1px solid transparent;
|
|
319
|
+
cursor: pointer;
|
|
320
|
+
padding: 4px 12px;
|
|
321
|
+
min-height: 32px;
|
|
322
|
+
background: #f0f0f0;
|
|
323
|
+
color: #2f2f2f;
|
|
324
|
+
position: relative;
|
|
584
325
|
display: flex;
|
|
585
|
-
|
|
586
|
-
flex-wrap: wrap;
|
|
587
|
-
font-size: 12px;
|
|
326
|
+
align-items: center;
|
|
588
327
|
}
|
|
589
|
-
.dataviews-
|
|
590
|
-
|
|
328
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-reset {
|
|
329
|
+
padding-inline-end: 28px;
|
|
591
330
|
}
|
|
592
|
-
.dataviews-
|
|
593
|
-
|
|
594
|
-
|
|
331
|
+
.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] {
|
|
332
|
+
background: #e0e0e0;
|
|
333
|
+
color: #1e1e1e;
|
|
595
334
|
}
|
|
596
|
-
.dataviews-
|
|
597
|
-
|
|
335
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip.has-values {
|
|
336
|
+
color: var(--wp-admin-theme-color);
|
|
337
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
598
338
|
}
|
|
599
|
-
.dataviews-
|
|
600
|
-
|
|
339
|
+
.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] {
|
|
340
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.12);
|
|
601
341
|
}
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
342
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip:focus-visible {
|
|
343
|
+
outline: none;
|
|
344
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
605
345
|
}
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
346
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
|
|
347
|
+
font-weight: 500;
|
|
348
|
+
}
|
|
349
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
|
|
350
|
+
width: 24px;
|
|
351
|
+
height: 24px;
|
|
352
|
+
border-radius: 50%;
|
|
353
|
+
border: 0;
|
|
354
|
+
padding: 0;
|
|
355
|
+
position: absolute;
|
|
356
|
+
left: 4px;
|
|
357
|
+
top: 50%;
|
|
358
|
+
transform: translateY(-50%);
|
|
611
359
|
display: flex;
|
|
612
360
|
align-items: center;
|
|
613
361
|
justify-content: center;
|
|
614
|
-
|
|
362
|
+
background: transparent;
|
|
363
|
+
cursor: pointer;
|
|
615
364
|
}
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
.dataviews-loading {
|
|
619
|
-
transition-duration: 0s;
|
|
620
|
-
transition-delay: 0s;
|
|
621
|
-
}
|
|
365
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove svg {
|
|
366
|
+
fill: #757575;
|
|
622
367
|
}
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
--checkbox-input-size: 24px;
|
|
626
|
-
line-height: 0;
|
|
627
|
-
flex-shrink: 0;
|
|
368
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus {
|
|
369
|
+
background: #e0e0e0;
|
|
628
370
|
}
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
--checkbox-input-size: 16px;
|
|
632
|
-
}
|
|
371
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:hover svg, .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus svg {
|
|
372
|
+
fill: #1e1e1e;
|
|
633
373
|
}
|
|
634
|
-
.dataviews-
|
|
635
|
-
|
|
374
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values svg {
|
|
375
|
+
fill: var(--wp-admin-theme-color);
|
|
636
376
|
}
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
flex-shrink: 0;
|
|
377
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove.has-values:hover {
|
|
378
|
+
background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
|
|
640
379
|
}
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
padding: 0;
|
|
645
|
-
border-radius: 4px;
|
|
380
|
+
.dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove:focus-visible {
|
|
381
|
+
outline: none;
|
|
382
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
646
383
|
}
|
|
647
384
|
|
|
648
|
-
.dataviews-
|
|
385
|
+
.dataviews-filters__search-widget-filter-combobox-list {
|
|
649
386
|
max-height: 184px;
|
|
650
387
|
padding: 4px;
|
|
651
388
|
overflow: auto;
|
|
652
389
|
border-top: 1px solid #e0e0e0;
|
|
653
390
|
}
|
|
654
|
-
.dataviews-
|
|
391
|
+
.dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
|
|
655
392
|
font-weight: 600;
|
|
656
393
|
}
|
|
657
394
|
|
|
658
|
-
.dataviews-
|
|
395
|
+
.dataviews-filters__search-widget-listbox {
|
|
659
396
|
max-height: 184px;
|
|
660
397
|
padding: 4px;
|
|
661
398
|
overflow: auto;
|
|
662
399
|
}
|
|
663
400
|
|
|
664
|
-
.dataviews-
|
|
401
|
+
.dataviews-filters__search-widget-listitem {
|
|
665
402
|
display: flex;
|
|
666
403
|
align-items: center;
|
|
667
404
|
gap: 8px;
|
|
@@ -671,25 +408,25 @@
|
|
|
671
408
|
cursor: default;
|
|
672
409
|
margin-block-end: 2px;
|
|
673
410
|
}
|
|
674
|
-
.dataviews-
|
|
411
|
+
.dataviews-filters__search-widget-listitem:last-child {
|
|
675
412
|
margin-block-end: 0;
|
|
676
413
|
}
|
|
677
|
-
.dataviews-
|
|
414
|
+
.dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
|
|
678
415
|
background-color: var(--wp-admin-theme-color);
|
|
679
416
|
color: #fff;
|
|
680
417
|
}
|
|
681
|
-
.dataviews-
|
|
418
|
+
.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 {
|
|
682
419
|
fill: #fff;
|
|
683
420
|
}
|
|
684
|
-
.dataviews-
|
|
421
|
+
.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 {
|
|
685
422
|
color: #fff;
|
|
686
423
|
}
|
|
687
|
-
.dataviews-
|
|
424
|
+
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-check {
|
|
688
425
|
width: 24px;
|
|
689
426
|
height: 24px;
|
|
690
427
|
flex-shrink: 0;
|
|
691
428
|
}
|
|
692
|
-
.dataviews-
|
|
429
|
+
.dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-description {
|
|
693
430
|
display: block;
|
|
694
431
|
overflow: hidden;
|
|
695
432
|
text-overflow: ellipsis;
|
|
@@ -698,11 +435,11 @@
|
|
|
698
435
|
color: #757575;
|
|
699
436
|
}
|
|
700
437
|
|
|
701
|
-
.dataviews-
|
|
438
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper {
|
|
702
439
|
position: relative;
|
|
703
440
|
padding: 8px;
|
|
704
441
|
}
|
|
705
|
-
.dataviews-
|
|
442
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
|
|
706
443
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
707
444
|
padding: 6px 8px;
|
|
708
445
|
box-shadow: 0 0 0 transparent;
|
|
@@ -725,49 +462,49 @@
|
|
|
725
462
|
font-size: 16px;
|
|
726
463
|
}
|
|
727
464
|
@media (prefers-reduced-motion: reduce) {
|
|
728
|
-
.dataviews-
|
|
465
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
|
|
729
466
|
transition-duration: 0s;
|
|
730
467
|
transition-delay: 0s;
|
|
731
468
|
}
|
|
732
469
|
}
|
|
733
470
|
@media (min-width: 600px) {
|
|
734
|
-
.dataviews-
|
|
471
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
|
|
735
472
|
font-size: 13px;
|
|
736
473
|
/* Override core line-height. To be reviewed. */
|
|
737
474
|
line-height: normal;
|
|
738
475
|
}
|
|
739
476
|
}
|
|
740
|
-
.dataviews-
|
|
477
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
|
|
741
478
|
border-color: var(--wp-admin-theme-color);
|
|
742
479
|
box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
|
|
743
480
|
outline: 2px solid transparent;
|
|
744
481
|
}
|
|
745
|
-
.dataviews-
|
|
482
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-webkit-input-placeholder {
|
|
746
483
|
color: rgba(30, 30, 30, 0.62);
|
|
747
484
|
}
|
|
748
|
-
.dataviews-
|
|
485
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::-moz-placeholder {
|
|
749
486
|
opacity: 1;
|
|
750
487
|
color: rgba(30, 30, 30, 0.62);
|
|
751
488
|
}
|
|
752
|
-
.dataviews-
|
|
489
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:-ms-input-placeholder {
|
|
753
490
|
color: rgba(30, 30, 30, 0.62);
|
|
754
491
|
}
|
|
755
492
|
@media (min-width: 600px) {
|
|
756
|
-
.dataviews-
|
|
493
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
|
|
757
494
|
font-size: 13px;
|
|
758
495
|
}
|
|
759
496
|
}
|
|
760
|
-
.dataviews-
|
|
497
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input:focus {
|
|
761
498
|
background: #fff;
|
|
762
499
|
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
763
500
|
}
|
|
764
|
-
.dataviews-
|
|
501
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input::placeholder {
|
|
765
502
|
color: #757575;
|
|
766
503
|
}
|
|
767
|
-
.dataviews-
|
|
504
|
+
.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 {
|
|
768
505
|
-webkit-appearance: none;
|
|
769
506
|
}
|
|
770
|
-
.dataviews-
|
|
507
|
+
.dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__icon {
|
|
771
508
|
position: absolute;
|
|
772
509
|
left: 12px;
|
|
773
510
|
top: 50%;
|
|
@@ -778,104 +515,580 @@
|
|
|
778
515
|
width: 24px;
|
|
779
516
|
}
|
|
780
517
|
|
|
781
|
-
.dataviews-
|
|
782
|
-
|
|
518
|
+
.dataviews-filters__container-visibility-toggle {
|
|
519
|
+
position: relative;
|
|
520
|
+
flex-shrink: 0;
|
|
783
521
|
}
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
522
|
+
|
|
523
|
+
.dataviews-filters-toggle__count {
|
|
524
|
+
position: absolute;
|
|
525
|
+
top: 0;
|
|
526
|
+
left: 0;
|
|
527
|
+
transform: translate(-50%, -50%);
|
|
528
|
+
background: var(--wp-admin-theme-color, #3858e9);
|
|
529
|
+
height: 16px;
|
|
530
|
+
min-width: 16px;
|
|
531
|
+
line-height: 16px;
|
|
532
|
+
padding: 0 4px;
|
|
533
|
+
text-align: center;
|
|
534
|
+
border-radius: 8px;
|
|
535
|
+
font-size: 11px;
|
|
536
|
+
outline: var(--wp-admin-border-width-focus) solid #fff;
|
|
537
|
+
color: #fff;
|
|
787
538
|
}
|
|
788
|
-
|
|
789
|
-
|
|
539
|
+
|
|
540
|
+
.dataviews-search {
|
|
541
|
+
width: -moz-fit-content;
|
|
542
|
+
width: fit-content;
|
|
790
543
|
}
|
|
791
|
-
|
|
544
|
+
|
|
545
|
+
.dataviews-pagination {
|
|
546
|
+
position: sticky;
|
|
547
|
+
bottom: 0;
|
|
548
|
+
right: 0;
|
|
549
|
+
background-color: #fff;
|
|
550
|
+
padding: 12px 48px;
|
|
551
|
+
border-top: 1px solid #f0f0f0;
|
|
792
552
|
color: #757575;
|
|
553
|
+
flex-shrink: 0;
|
|
554
|
+
transition: padding ease-out 0.1s;
|
|
793
555
|
}
|
|
794
|
-
|
|
795
|
-
.dataviews-
|
|
796
|
-
|
|
797
|
-
|
|
556
|
+
@media (prefers-reduced-motion: reduce) {
|
|
557
|
+
.dataviews-pagination {
|
|
558
|
+
transition-duration: 0s;
|
|
559
|
+
transition-delay: 0s;
|
|
560
|
+
}
|
|
798
561
|
}
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
562
|
+
|
|
563
|
+
.dataviews-pagination__page-selection {
|
|
564
|
+
font-size: 11px;
|
|
565
|
+
text-transform: uppercase;
|
|
566
|
+
font-weight: 500;
|
|
567
|
+
color: #1e1e1e;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
/* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
|
|
571
|
+
@container (max-width: 430px) {
|
|
572
|
+
.dataviews-pagination {
|
|
573
|
+
padding: 12px 24px;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
.dataviews-action-modal {
|
|
577
|
+
z-index: 1000001;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.dataviews-selection-checkbox {
|
|
581
|
+
--checkbox-input-size: 24px;
|
|
582
|
+
line-height: 0;
|
|
583
|
+
flex-shrink: 0;
|
|
584
|
+
}
|
|
585
|
+
@media (min-width: 600px) {
|
|
586
|
+
.dataviews-selection-checkbox {
|
|
587
|
+
--checkbox-input-size: 16px;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
.dataviews-selection-checkbox .components-checkbox-control__input-container {
|
|
591
|
+
margin: 0;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.dataviews-view-config {
|
|
595
|
+
width: 320px;
|
|
596
|
+
/* stylelint-disable-next-line property-no-unknown -- the linter needs to be updated to accepted the container-type property */
|
|
597
|
+
container-type: inline-size;
|
|
598
|
+
padding: 16px;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.dataviews-view-config__sort-direction .components-toggle-group-control-option-base {
|
|
602
|
+
text-transform: uppercase;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.dataviews-settings-section__title.dataviews-settings-section__title {
|
|
606
|
+
line-height: 24px;
|
|
607
|
+
font-size: 15px;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.dataviews-settings-section__sidebar {
|
|
611
|
+
grid-column: span 4;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.dataviews-settings-section__content,
|
|
615
|
+
.dataviews-settings-section__content > * {
|
|
616
|
+
grid-column: span 8;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.dataviews-settings-section__content .is-divided-in-two {
|
|
620
|
+
display: contents;
|
|
621
|
+
}
|
|
622
|
+
.dataviews-settings-section__content .is-divided-in-two > * {
|
|
623
|
+
grid-column: span 4;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
|
|
627
|
+
@container (max-width: 500px) {
|
|
628
|
+
.dataviews-settings-section.dataviews-settings-section {
|
|
629
|
+
grid-template-columns: repeat(2, 1fr);
|
|
630
|
+
}
|
|
631
|
+
.dataviews-settings-section.dataviews-settings-section .dataviews-settings-section__sidebar {
|
|
632
|
+
grid-column: span 2;
|
|
633
|
+
}
|
|
634
|
+
.dataviews-settings-section.dataviews-settings-section .dataviews-settings-section__content {
|
|
635
|
+
grid-column: span 2;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
.dataviews-view-grid {
|
|
639
|
+
margin-bottom: auto;
|
|
640
|
+
grid-template-rows: max-content;
|
|
641
|
+
padding: 0 48px 24px;
|
|
642
|
+
transition: padding ease-out 0.1s;
|
|
643
|
+
}
|
|
644
|
+
@media (prefers-reduced-motion: reduce) {
|
|
645
|
+
.dataviews-view-grid {
|
|
646
|
+
transition-duration: 0s;
|
|
647
|
+
transition-delay: 0s;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
.dataviews-view-grid .dataviews-view-grid__card {
|
|
651
|
+
height: 100%;
|
|
652
|
+
justify-content: flex-start;
|
|
653
|
+
position: relative;
|
|
654
|
+
}
|
|
655
|
+
.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__title-actions {
|
|
656
|
+
padding: 8px 0 4px;
|
|
657
|
+
}
|
|
658
|
+
.dataviews-view-grid .dataviews-view-grid__card .dataviews-view-grid__primary-field {
|
|
804
659
|
min-height: 32px;
|
|
805
|
-
|
|
806
|
-
|
|
660
|
+
}
|
|
661
|
+
.dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-value {
|
|
662
|
+
color: #1e1e1e;
|
|
663
|
+
}
|
|
664
|
+
.dataviews-view-grid .dataviews-view-grid__card.is-selected .dataviews-view-grid__media::after {
|
|
665
|
+
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
|
|
666
|
+
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
|
|
667
|
+
}
|
|
668
|
+
.dataviews-view-grid .dataviews-view-grid__media {
|
|
669
|
+
width: 100%;
|
|
670
|
+
min-height: 200px;
|
|
671
|
+
aspect-ratio: 1/1;
|
|
672
|
+
background-color: #f0f0f0;
|
|
673
|
+
border-radius: 4px;
|
|
807
674
|
position: relative;
|
|
675
|
+
}
|
|
676
|
+
.dataviews-view-grid .dataviews-view-grid__media img {
|
|
677
|
+
object-fit: cover;
|
|
678
|
+
width: 100%;
|
|
679
|
+
height: 100%;
|
|
680
|
+
}
|
|
681
|
+
.dataviews-view-grid .dataviews-view-grid__media::after {
|
|
682
|
+
content: "";
|
|
683
|
+
position: absolute;
|
|
684
|
+
top: 0;
|
|
685
|
+
right: 0;
|
|
686
|
+
width: 100%;
|
|
687
|
+
height: 100%;
|
|
688
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
689
|
+
border-radius: 4px;
|
|
690
|
+
pointer-events: none;
|
|
691
|
+
}
|
|
692
|
+
.dataviews-view-grid .dataviews-view-grid__fields {
|
|
693
|
+
position: relative;
|
|
694
|
+
font-size: 12px;
|
|
695
|
+
line-height: 16px;
|
|
696
|
+
}
|
|
697
|
+
.dataviews-view-grid .dataviews-view-grid__fields:not(:empty) {
|
|
698
|
+
padding: 0 0 12px;
|
|
699
|
+
}
|
|
700
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field-value:not(:empty) {
|
|
701
|
+
min-height: 24px;
|
|
702
|
+
line-height: 20px;
|
|
703
|
+
padding-top: 2px;
|
|
704
|
+
}
|
|
705
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field {
|
|
706
|
+
align-items: flex-start;
|
|
707
|
+
min-height: 24px;
|
|
708
|
+
}
|
|
709
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(:has(.dataviews-view-grid__field-value:not(:empty))) {
|
|
710
|
+
display: none;
|
|
711
|
+
}
|
|
712
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(.is-column) {
|
|
713
|
+
align-items: center;
|
|
714
|
+
}
|
|
715
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(.is-column) .dataviews-view-grid__field-name {
|
|
716
|
+
width: 35%;
|
|
717
|
+
}
|
|
718
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field:not(.is-column) .dataviews-view-grid__field-value {
|
|
719
|
+
width: 65%;
|
|
720
|
+
overflow: hidden;
|
|
721
|
+
text-overflow: ellipsis;
|
|
722
|
+
white-space: nowrap;
|
|
723
|
+
}
|
|
724
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field.is-column + .is-row {
|
|
725
|
+
margin-top: 4px;
|
|
726
|
+
}
|
|
727
|
+
.dataviews-view-grid .dataviews-view-grid__fields .dataviews-view-grid__field .dataviews-view-grid__field-name {
|
|
728
|
+
color: #757575;
|
|
729
|
+
}
|
|
730
|
+
.dataviews-view-grid .dataviews-view-grid__badge-fields:not(:empty) {
|
|
731
|
+
padding-bottom: 12px;
|
|
732
|
+
}
|
|
733
|
+
.dataviews-view-grid .dataviews-view-grid__badge-fields .dataviews-view-grid__field-value {
|
|
734
|
+
width: -moz-fit-content;
|
|
735
|
+
width: fit-content;
|
|
736
|
+
background: #f0f0f0;
|
|
737
|
+
padding: 0 8px;
|
|
738
|
+
min-height: 24px;
|
|
739
|
+
border-radius: 2px;
|
|
808
740
|
display: flex;
|
|
809
741
|
align-items: center;
|
|
742
|
+
font-size: 12px;
|
|
810
743
|
}
|
|
811
|
-
|
|
812
|
-
|
|
744
|
+
|
|
745
|
+
.dataviews-view-grid.dataviews-view-grid {
|
|
746
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
813
747
|
}
|
|
814
|
-
|
|
815
|
-
|
|
748
|
+
@media (min-width: 480px) {
|
|
749
|
+
.dataviews-view-grid.dataviews-view-grid {
|
|
750
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
@media (min-width: 1080px) {
|
|
754
|
+
.dataviews-view-grid.dataviews-view-grid {
|
|
755
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
@media (min-width: 1440px) {
|
|
759
|
+
.dataviews-view-grid.dataviews-view-grid {
|
|
760
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
@media (min-width: 1920px) {
|
|
764
|
+
.dataviews-view-grid.dataviews-view-grid {
|
|
765
|
+
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
.dataviews-density-picker__range-control {
|
|
770
|
+
width: 200px;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.dataviews-view-grid__field-value:empty,
|
|
774
|
+
.dataviews-view-grid__field:empty {
|
|
775
|
+
display: none;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
.dataviews-view-grid__card .dataviews-selection-checkbox {
|
|
779
|
+
position: absolute;
|
|
780
|
+
top: -9999em;
|
|
781
|
+
right: 8px;
|
|
782
|
+
z-index: 1;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.dataviews-view-grid__card:hover .dataviews-selection-checkbox,
|
|
786
|
+
.dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
|
|
787
|
+
.dataviews-view-grid__card.is-selected .dataviews-selection-checkbox {
|
|
788
|
+
top: 8px;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
.dataviews-view-list {
|
|
792
|
+
margin: 0 0 auto;
|
|
793
|
+
}
|
|
794
|
+
.dataviews-view-list li {
|
|
795
|
+
margin: 0;
|
|
796
|
+
cursor: pointer;
|
|
797
|
+
border-top: 1px solid #f0f0f0;
|
|
798
|
+
}
|
|
799
|
+
.dataviews-view-list li .dataviews-view-list__item-wrapper {
|
|
800
|
+
position: relative;
|
|
801
|
+
border-radius: 4px;
|
|
802
|
+
}
|
|
803
|
+
.dataviews-view-list li .dataviews-view-list__item-wrapper > * {
|
|
804
|
+
width: 100%;
|
|
805
|
+
}
|
|
806
|
+
.dataviews-view-list li .dataviews-view-list__item-actions {
|
|
807
|
+
position: absolute;
|
|
808
|
+
top: 16px;
|
|
809
|
+
left: 0;
|
|
810
|
+
}
|
|
811
|
+
.dataviews-view-list li .dataviews-view-list__item-actions > div {
|
|
812
|
+
height: 24px;
|
|
813
|
+
}
|
|
814
|
+
.dataviews-view-list li .dataviews-view-list__item-actions .components-button {
|
|
815
|
+
opacity: 0;
|
|
816
|
+
}
|
|
817
|
+
.dataviews-view-list li:has(.dataviews-view-list__fields:empty) .dataviews-view-list__item-actions {
|
|
818
|
+
top: 50%;
|
|
819
|
+
transform: translateY(-50%);
|
|
820
|
+
}
|
|
821
|
+
.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 {
|
|
822
|
+
background: #f8f8f8;
|
|
823
|
+
padding-right: 8px;
|
|
824
|
+
margin-left: 24px;
|
|
825
|
+
box-shadow: 12px 0 8px 0 #f8f8f8;
|
|
826
|
+
}
|
|
827
|
+
.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 {
|
|
828
|
+
opacity: 1;
|
|
829
|
+
position: static;
|
|
830
|
+
}
|
|
831
|
+
.dataviews-view-list li.is-selected .dataviews-view-list__item-actions {
|
|
832
|
+
background-color: #f7f8ff;
|
|
833
|
+
box-shadow: 12px 0 8px 0 #f7f8ff;
|
|
834
|
+
}
|
|
835
|
+
.dataviews-view-list li.is-selected.is-selected {
|
|
836
|
+
border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
|
|
837
|
+
}
|
|
838
|
+
.dataviews-view-list li.is-selected.is-selected + li {
|
|
839
|
+
border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
|
|
840
|
+
}
|
|
841
|
+
.dataviews-view-list li:not(.is-selected) .dataviews-view-list__primary-field {
|
|
816
842
|
color: #1e1e1e;
|
|
817
843
|
}
|
|
818
|
-
.dataviews-
|
|
844
|
+
.dataviews-view-list li:not(.is-selected):hover, .dataviews-view-list li:not(.is-selected):focus-within {
|
|
819
845
|
color: var(--wp-admin-theme-color);
|
|
820
|
-
background
|
|
846
|
+
background-color: #f8f8f8;
|
|
821
847
|
}
|
|
822
|
-
.dataviews-
|
|
823
|
-
|
|
848
|
+
.dataviews-view-list li:not(.is-selected):hover .dataviews-view-list__primary-field,
|
|
849
|
+
.dataviews-view-list li:not(.is-selected):hover .dataviews-view-list__fields, .dataviews-view-list li:not(.is-selected):focus-within .dataviews-view-list__primary-field,
|
|
850
|
+
.dataviews-view-list li:not(.is-selected):focus-within .dataviews-view-list__fields {
|
|
851
|
+
color: var(--wp-admin-theme-color);
|
|
824
852
|
}
|
|
825
|
-
.dataviews-
|
|
826
|
-
|
|
827
|
-
|
|
853
|
+
.dataviews-view-list li.is-selected .dataviews-view-list__item-wrapper,
|
|
854
|
+
.dataviews-view-list li.is-selected:focus-within .dataviews-view-list__item-wrapper {
|
|
855
|
+
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
856
|
+
color: #1e1e1e;
|
|
857
|
+
}
|
|
858
|
+
.dataviews-view-list li.is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__primary-field,
|
|
859
|
+
.dataviews-view-list li.is-selected .dataviews-view-list__item-wrapper .dataviews-view-list__fields,
|
|
860
|
+
.dataviews-view-list li.is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__primary-field,
|
|
861
|
+
.dataviews-view-list li.is-selected:focus-within .dataviews-view-list__item-wrapper .dataviews-view-list__fields {
|
|
862
|
+
color: var(--wp-admin-theme-color);
|
|
828
863
|
}
|
|
829
|
-
.dataviews-
|
|
864
|
+
.dataviews-view-list .dataviews-view-list__item {
|
|
865
|
+
padding: 16px 24px;
|
|
866
|
+
width: 100%;
|
|
867
|
+
scroll-margin: 8px 0;
|
|
868
|
+
}
|
|
869
|
+
.dataviews-view-list .dataviews-view-list__item:focus-visible::before {
|
|
870
|
+
position: absolute;
|
|
871
|
+
content: "";
|
|
872
|
+
top: calc(var(--wp-admin-border-width-focus) + 1px);
|
|
873
|
+
left: var(--wp-admin-border-width-focus);
|
|
874
|
+
bottom: var(--wp-admin-border-width-focus);
|
|
875
|
+
right: var(--wp-admin-border-width-focus);
|
|
876
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
877
|
+
border-radius: 2px;
|
|
878
|
+
}
|
|
879
|
+
.dataviews-view-list .dataviews-view-list__item .dataviews-view-list__primary-field {
|
|
880
|
+
min-height: 24px;
|
|
881
|
+
line-height: 24px;
|
|
882
|
+
overflow: hidden;
|
|
883
|
+
}
|
|
884
|
+
.dataviews-view-list .dataviews-view-list__media-wrapper {
|
|
885
|
+
width: 52px;
|
|
886
|
+
height: 52px;
|
|
887
|
+
overflow: hidden;
|
|
888
|
+
position: relative;
|
|
889
|
+
flex-shrink: 0;
|
|
890
|
+
background-color: #f0f0f0;
|
|
891
|
+
border-radius: 4px;
|
|
892
|
+
}
|
|
893
|
+
.dataviews-view-list .dataviews-view-list__media-wrapper img {
|
|
894
|
+
width: 100%;
|
|
895
|
+
height: 100%;
|
|
896
|
+
object-fit: cover;
|
|
897
|
+
}
|
|
898
|
+
.dataviews-view-list .dataviews-view-list__media-wrapper::after {
|
|
899
|
+
content: "";
|
|
900
|
+
position: absolute;
|
|
901
|
+
top: 0;
|
|
902
|
+
right: 0;
|
|
903
|
+
width: 100%;
|
|
904
|
+
height: 100%;
|
|
905
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
906
|
+
border-radius: 4px;
|
|
907
|
+
}
|
|
908
|
+
.dataviews-view-list .dataviews-view-list__media-placeholder {
|
|
909
|
+
min-width: 32px;
|
|
910
|
+
height: 32px;
|
|
911
|
+
background-color: #e0e0e0;
|
|
912
|
+
}
|
|
913
|
+
.dataviews-view-list .dataviews-view-list__field-wrapper {
|
|
914
|
+
min-height: 52px;
|
|
915
|
+
}
|
|
916
|
+
.dataviews-view-list .dataviews-view-list__fields {
|
|
917
|
+
color: #757575;
|
|
918
|
+
display: flex;
|
|
919
|
+
gap: 12px;
|
|
920
|
+
row-gap: 4px;
|
|
921
|
+
flex-wrap: wrap;
|
|
922
|
+
font-size: 12px;
|
|
923
|
+
}
|
|
924
|
+
.dataviews-view-list .dataviews-view-list__fields:empty {
|
|
925
|
+
display: none;
|
|
926
|
+
}
|
|
927
|
+
.dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field:has(.dataviews-view-list__field-value:empty) {
|
|
928
|
+
display: none;
|
|
929
|
+
}
|
|
930
|
+
.dataviews-view-list .dataviews-view-list__fields .dataviews-view-list__field-value {
|
|
931
|
+
min-height: 24px;
|
|
932
|
+
line-height: 20px;
|
|
933
|
+
display: flex;
|
|
934
|
+
align-items: center;
|
|
935
|
+
}
|
|
936
|
+
.dataviews-view-list + .dataviews-pagination {
|
|
937
|
+
justify-content: space-between;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.dataviews-view-table {
|
|
941
|
+
width: 100%;
|
|
942
|
+
text-indent: 0;
|
|
943
|
+
border-color: inherit;
|
|
944
|
+
border-collapse: collapse;
|
|
945
|
+
position: relative;
|
|
946
|
+
color: #757575;
|
|
947
|
+
margin-bottom: auto;
|
|
948
|
+
}
|
|
949
|
+
.dataviews-view-table a {
|
|
950
|
+
text-decoration: none;
|
|
951
|
+
color: #1e1e1e;
|
|
830
952
|
font-weight: 500;
|
|
831
953
|
}
|
|
832
|
-
.dataviews-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
954
|
+
.dataviews-view-table th {
|
|
955
|
+
text-align: right;
|
|
956
|
+
color: #1e1e1e;
|
|
957
|
+
font-weight: normal;
|
|
958
|
+
font-size: 13px;
|
|
959
|
+
}
|
|
960
|
+
.dataviews-view-table td,
|
|
961
|
+
.dataviews-view-table th {
|
|
962
|
+
padding: 12px;
|
|
963
|
+
white-space: nowrap;
|
|
964
|
+
}
|
|
965
|
+
.dataviews-view-table td.dataviews-view-table__actions-column,
|
|
966
|
+
.dataviews-view-table th.dataviews-view-table__actions-column {
|
|
967
|
+
text-align: left;
|
|
968
|
+
}
|
|
969
|
+
.dataviews-view-table td.dataviews-view-table__checkbox-column,
|
|
970
|
+
.dataviews-view-table th.dataviews-view-table__checkbox-column {
|
|
971
|
+
padding-left: 0;
|
|
972
|
+
}
|
|
973
|
+
.dataviews-view-table tr {
|
|
974
|
+
border-top: 1px solid #f0f0f0;
|
|
975
|
+
}
|
|
976
|
+
.dataviews-view-table tr .dataviews-view-table-header-button {
|
|
977
|
+
gap: 4px;
|
|
978
|
+
}
|
|
979
|
+
.dataviews-view-table tr td:first-child,
|
|
980
|
+
.dataviews-view-table tr th:first-child {
|
|
981
|
+
padding-right: 48px;
|
|
982
|
+
}
|
|
983
|
+
.dataviews-view-table tr td:first-child .dataviews-view-table-header-button,
|
|
984
|
+
.dataviews-view-table tr td:first-child .dataviews-view-table-header,
|
|
985
|
+
.dataviews-view-table tr th:first-child .dataviews-view-table-header-button,
|
|
986
|
+
.dataviews-view-table tr th:first-child .dataviews-view-table-header {
|
|
987
|
+
margin-right: -8px;
|
|
988
|
+
}
|
|
989
|
+
.dataviews-view-table tr td:last-child,
|
|
990
|
+
.dataviews-view-table tr th:last-child {
|
|
991
|
+
padding-left: 48px;
|
|
992
|
+
}
|
|
993
|
+
.dataviews-view-table tr:last-child {
|
|
994
|
+
border-bottom: 0;
|
|
995
|
+
}
|
|
996
|
+
.dataviews-view-table tr.is-hovered {
|
|
997
|
+
background-color: #f8f8f8;
|
|
998
|
+
}
|
|
999
|
+
.dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input {
|
|
1000
|
+
opacity: 0;
|
|
1001
|
+
}
|
|
1002
|
+
.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 {
|
|
1003
|
+
opacity: 1;
|
|
1004
|
+
}
|
|
1005
|
+
.dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1006
|
+
opacity: 0;
|
|
1007
|
+
}
|
|
1008
|
+
.dataviews-view-table tr:focus-within .components-checkbox-control__input,
|
|
1009
|
+
.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,
|
|
1010
|
+
.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,
|
|
1011
|
+
.dataviews-view-table tr:hover .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1012
|
+
opacity: 1;
|
|
1013
|
+
}
|
|
1014
|
+
@media (hover: none) {
|
|
1015
|
+
.dataviews-view-table tr .components-checkbox-control__input.components-checkbox-control__input,
|
|
1016
|
+
.dataviews-view-table tr .dataviews-item-actions .components-button:not(.dataviews-all-actions-button) {
|
|
1017
|
+
opacity: 1;
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
.dataviews-view-table tr.is-selected {
|
|
1021
|
+
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.04);
|
|
1022
|
+
color: #757575;
|
|
1023
|
+
}
|
|
1024
|
+
.dataviews-view-table tr.is-selected, .dataviews-view-table tr.is-selected + tr {
|
|
1025
|
+
border-top: 1px solid rgba(var(--wp-admin-theme-color--rgb), 0.12);
|
|
1026
|
+
}
|
|
1027
|
+
.dataviews-view-table tr.is-selected:hover {
|
|
1028
|
+
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
|
|
1029
|
+
}
|
|
1030
|
+
.dataviews-view-table thead {
|
|
1031
|
+
position: sticky;
|
|
1032
|
+
inset-block-start: 0;
|
|
1033
|
+
z-index: 1;
|
|
1034
|
+
}
|
|
1035
|
+
.dataviews-view-table thead tr {
|
|
836
1036
|
border: 0;
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
top:
|
|
841
|
-
|
|
1037
|
+
}
|
|
1038
|
+
.dataviews-view-table thead th {
|
|
1039
|
+
background-color: #fff;
|
|
1040
|
+
padding-top: 8px;
|
|
1041
|
+
padding-bottom: 8px;
|
|
1042
|
+
padding-right: 12px;
|
|
1043
|
+
font-size: 11px;
|
|
1044
|
+
text-transform: uppercase;
|
|
1045
|
+
font-weight: 500;
|
|
1046
|
+
}
|
|
1047
|
+
.dataviews-view-table thead th:has(.dataviews-view-table-header-button):not(:first-child) {
|
|
1048
|
+
padding-right: 4px;
|
|
1049
|
+
}
|
|
1050
|
+
.dataviews-view-table tbody td {
|
|
1051
|
+
vertical-align: top;
|
|
1052
|
+
}
|
|
1053
|
+
.dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper {
|
|
1054
|
+
min-height: 32px;
|
|
842
1055
|
display: flex;
|
|
843
1056
|
align-items: center;
|
|
844
|
-
justify-content: center;
|
|
845
|
-
background: transparent;
|
|
846
|
-
cursor: pointer;
|
|
847
1057
|
}
|
|
848
|
-
.dataviews-
|
|
849
|
-
|
|
1058
|
+
.dataviews-view-table tbody .components-v-stack > .dataviews-view-table__cell-content-wrapper:not(:first-child) {
|
|
1059
|
+
min-height: 0;
|
|
850
1060
|
}
|
|
851
|
-
.dataviews-
|
|
852
|
-
|
|
1061
|
+
.dataviews-view-table .dataviews-view-table-header-button {
|
|
1062
|
+
padding: 4px 8px;
|
|
1063
|
+
font-size: 11px;
|
|
1064
|
+
text-transform: uppercase;
|
|
1065
|
+
font-weight: 500;
|
|
853
1066
|
}
|
|
854
|
-
.dataviews-
|
|
855
|
-
|
|
1067
|
+
.dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
|
|
1068
|
+
color: #1e1e1e;
|
|
856
1069
|
}
|
|
857
|
-
.dataviews-
|
|
858
|
-
|
|
1070
|
+
.dataviews-view-table .dataviews-view-table-header-button span {
|
|
1071
|
+
speak: none;
|
|
859
1072
|
}
|
|
860
|
-
.dataviews-
|
|
861
|
-
|
|
1073
|
+
.dataviews-view-table .dataviews-view-table-header-button span:empty {
|
|
1074
|
+
display: none;
|
|
862
1075
|
}
|
|
863
|
-
.dataviews-
|
|
864
|
-
|
|
865
|
-
|
|
1076
|
+
.dataviews-view-table .dataviews-view-table-header {
|
|
1077
|
+
padding-right: 4px;
|
|
1078
|
+
}
|
|
1079
|
+
.dataviews-view-table .dataviews-view-table__actions-column {
|
|
1080
|
+
width: 1%;
|
|
1081
|
+
}
|
|
1082
|
+
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input {
|
|
1083
|
+
opacity: 1;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.dataviews-view-table__cell-content-wrapper:empty {
|
|
1087
|
+
display: none;
|
|
866
1088
|
}
|
|
867
1089
|
|
|
868
1090
|
/* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */
|
|
869
1091
|
@container (max-width: 430px) {
|
|
870
|
-
.dataviews-pagination,
|
|
871
|
-
.dataviews-filters__view-actions {
|
|
872
|
-
padding: 12px 24px;
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
.dataviews-filters__view-actions .components-search-control .components-base-control__field {
|
|
876
|
-
max-width: 112px;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
1092
|
.dataviews-view-table tr td:first-child,
|
|
880
1093
|
.dataviews-view-table tr th:first-child {
|
|
881
1094
|
padding-right: 24px;
|
|
@@ -885,51 +1098,69 @@
|
|
|
885
1098
|
.dataviews-view-table tr th:last-child {
|
|
886
1099
|
padding-left: 24px;
|
|
887
1100
|
}
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
1101
|
+
}
|
|
1102
|
+
.dataviews-view-table-selection-checkbox {
|
|
1103
|
+
--checkbox-input-size: 24px;
|
|
1104
|
+
}
|
|
1105
|
+
@media (min-width: 600px) {
|
|
1106
|
+
.dataviews-view-table-selection-checkbox {
|
|
1107
|
+
--checkbox-input-size: 16px;
|
|
894
1108
|
}
|
|
895
1109
|
}
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
flex-grow: 1;
|
|
1110
|
+
|
|
1111
|
+
.dataforms-layouts-panel__field {
|
|
899
1112
|
width: 100%;
|
|
1113
|
+
min-height: 32px;
|
|
1114
|
+
justify-content: flex-start !important;
|
|
1115
|
+
align-items: flex-start !important;
|
|
900
1116
|
}
|
|
901
|
-
|
|
1117
|
+
|
|
1118
|
+
.dataforms-layouts-panel__field-label {
|
|
1119
|
+
width: 38%;
|
|
1120
|
+
flex-shrink: 0;
|
|
1121
|
+
min-height: 32px;
|
|
1122
|
+
display: flex;
|
|
902
1123
|
align-items: center;
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
1124
|
+
padding: 6px 0;
|
|
1125
|
+
line-height: 20px;
|
|
1126
|
+
-webkit-hyphens: auto;
|
|
1127
|
+
hyphens: auto;
|
|
906
1128
|
}
|
|
907
1129
|
|
|
908
|
-
.
|
|
909
|
-
|
|
1130
|
+
.dataforms-layouts-panel__field-control {
|
|
1131
|
+
flex-grow: 1;
|
|
1132
|
+
min-height: 32px;
|
|
910
1133
|
display: flex;
|
|
911
|
-
|
|
912
|
-
align-content: center;
|
|
913
|
-
flex-wrap: wrap;
|
|
914
|
-
width: -moz-fit-content;
|
|
915
|
-
width: fit-content;
|
|
916
|
-
margin-right: auto;
|
|
917
|
-
margin-left: auto;
|
|
918
|
-
bottom: 24px;
|
|
919
|
-
z-index: 2;
|
|
1134
|
+
align-items: center;
|
|
920
1135
|
}
|
|
921
|
-
.
|
|
922
|
-
|
|
923
|
-
|
|
1136
|
+
.dataforms-layouts-panel__field-control .components-button {
|
|
1137
|
+
max-width: 100%;
|
|
1138
|
+
text-align: right;
|
|
1139
|
+
white-space: normal;
|
|
1140
|
+
text-wrap: balance;
|
|
1141
|
+
text-wrap: pretty;
|
|
1142
|
+
min-height: 32px;
|
|
924
1143
|
}
|
|
925
|
-
.
|
|
926
|
-
|
|
1144
|
+
.dataforms-layouts-panel__field-control .components-dropdown {
|
|
1145
|
+
max-width: 100%;
|
|
927
1146
|
}
|
|
928
|
-
|
|
929
|
-
|
|
1147
|
+
|
|
1148
|
+
.dataforms-layouts-panel__field-dropdown .components-popover__content {
|
|
1149
|
+
min-width: 320px;
|
|
1150
|
+
padding: 16px;
|
|
930
1151
|
}
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
1152
|
+
|
|
1153
|
+
.dataforms-layouts-panel__dropdown-header {
|
|
1154
|
+
margin-bottom: 16px;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
[class].dataforms-layouts-panel__dropdown-header-action {
|
|
1158
|
+
height: 24px;
|
|
1159
|
+
}
|
|
1160
|
+
[class].dataforms-layouts-panel__dropdown-header-action.has-icon {
|
|
1161
|
+
min-width: 24px;
|
|
1162
|
+
padding: 0;
|
|
1163
|
+
}
|
|
1164
|
+
[class].dataforms-layouts-panel__dropdown-header-action:not(.has-icon) {
|
|
1165
|
+
text-decoration: underline;
|
|
935
1166
|
}
|