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