Sage Abdullah
bb12877f79
Use tables component in users index view
...
This also allows us to reuse the "..." more button for each listing item
instead of the inline buttons.
2024-04-09 08:54:48 +07:00
Sage Abdullah
0006976267
Implement universal listings UI for form submissions listing view
2024-04-05 17:36:41 +01:00
Sage Abdullah
a106a3e805
Remove extraneous padding in chooser modal listings
...
Fixes #11704
2024-03-05 18:09:16 +10:00
Thibaud Colas
fc3f945781
Styling fixes for universal listings ( #11608 )
2024-02-07 10:44:56 +00:00
Sage Abdullah
1ab78fc5c1
Fix first column padding in page listings when custom ordering is active
2024-01-23 06:50:07 +00:00
Sage Abdullah
bbd22d8c43
Use bulk actions header's checkbox to detect bulk actions in listing styles
...
bulk-action-checkbox is the checkbox in the <td> elements. On page
listings, if you're searching and there are no results, the table will
still be displayed (to give you the option to search the whole site).
The table has no data rows, which means there are no elements with
bulk-action-checkbox class.
Change the selector to target the bulk-actions-filter-checkbox class
instead, which is the bulk action's <th> checkbox. This element (in the
header cell) is always available even when there are no results.
2024-01-23 06:50:07 +00:00
Thibaud Colas
90ca9b7001
Roll out new theme tokens where appropriate
2024-01-22 16:04:06 +00:00
Thibaud Colas
57d75e2870
Add text ellipsis styles and shorten wording in title header search results label
2024-01-22 11:48:10 +00:00
Thibaud Colas
90ecdb4928
Force title listing header cell to wrap
2024-01-22 11:48:10 +00:00
Thibaud Colas
ec65511eb0
Use tighter horizontal spacing for listing columns
2024-01-22 11:48:10 +00:00
Aman Pandey
735aaa95bf
Adopt w-orderable for page order drag & drop/move
...
- Fixes #10909
2024-01-19 08:48:48 +10:00
Thibaud Colas
7c057661ff
Remove legacy dropdown component
2024-01-17 16:42:00 +00:00
Thibaud Colas
bc6ef43522
Replace visuallyhidden utility class with w-sr-only
2024-01-09 15:42:08 +00:00
Sage Abdullah
a0a0b1343c
Don't add padding to first column on report pages
...
Report pages have styles for .report that adds margins similar to nice-padding
2024-01-02 09:00:58 +00:00
Sage Abdullah
81ea6d6266
Remove nice-padding from documents, users, and generic listing views tables
...
The added CSS handles the case when nice padding is removed (to make the listing
go full-width) and no bulk actions are available (e.g. a ModelViewSet index view
or some other view that extends generic listing view).
This allows us to not rely on the full-width class (which should
eventually be removed) while correctly apply the spacing regardless
whether nice-padding is used or not, and whether bulk actions are
available or not.
If nice-padding is used, then the listing view will look as they
previously do.
2024-01-02 09:00:58 +00:00
Sage Abdullah
1ad22f530d
Enforce bulk action checkbox column via CSS
...
10px was never the right width.
Using CSS instead of the column's width attribute allows us to use media queries to change the width responsively
2024-01-02 09:00:58 +00:00
Sage Abdullah
f4f08ee2fe
Move breadcrumbs styling in _listing.scss to its own _breadcrumbs.scss file
2024-01-02 09:00:58 +00:00
Sage Abdullah
6f92a71253
Move page explorer header's extra spacing to CSS
...
For better colocation with the CSS that increases the font size
2024-01-02 09:00:58 +00:00
Thibaud Colas
6cc4533a6f
Refactor float usage within admin styles. Fix #8126
2023-12-19 15:38:22 +00:00
Matt Westcott
3c648369b0
Use a floating dialog for filters
...
Remove use of shared/filters.html, as it contains a duplicate `<form>` element we don't want, and generally has more stuff we don't want than stuff we do, to the point that it'll just get in the way of restyling.
2023-12-18 14:55:18 +00:00
Matt Westcott
4e59266743
Use checkboxes for page type filter
2023-12-18 14:55:17 +00:00
LB Johnston
ffc6ac8833
Adopt a small set of stylelint-config-wagtail changes
...
Where possible, adopt a subset of stylelint-config-wagtail changes.
- Formatting & ordering (auto applied), this includes the padding/inset shorthand changes
- Adopt a small set of no-union-classes changes as an example of changes to come in future PRs
- Ignore some areas where we are selecting against data* attributes that will not be practical to change
- Move some no-important ignore rules to specific lines
- Ignore max-combinators in modeladmin styles (legacy)
- Remove error messages forced-color-adjust setting to none
2023-12-18 13:28:18 +00:00
Sage Abdullah
1cbfd1cc89
Restore teal color on table header sort link if it's active
...
Regression in 4426196046
2023-12-13 10:31:07 +00:00
Krzysztof Jeziorny
e763a614f1
Improve vertical alignment of page listing 'explore' arrow icon
...
Vertically align the arrow in the children cell
2023-11-23 07:20:43 +10:00
Thibaud Colas
4e08807d17
Remove unused icon styles
2023-11-17 21:04:57 +00:00
meli-imelda
6d28dff48e
Listings - Remove hover BG (dark mode) and refine padding/borders
2023-11-09 08:05:28 +11:00
Thibaud Colas
ad488a5a49
Use a smaller font size for page listing headers
2023-10-19 02:13:10 -04:00
Matt Westcott
4426196046
Add switch between searching current section and whole site
2023-10-17 19:06:24 +01:00
Sage Abdullah
1a1fc5c1a7
Refactor default snippets listing buttons to reuse the generic IndexView buttons
2023-10-04 11:30:24 +01:00
Matt Westcott
235f1f4104
Set title line-height in em rather than rem
2023-09-21 09:51:51 +01:00
Matt Westcott
2ed0910e26
Remove margin on ul elements within tables
...
Fixes the Usage view - https://github.com/wagtail/wagtail/pull/10896#discussion_r1328281681
2023-09-21 09:51:51 +01:00
Matt Westcott
4c7a1aae94
Make action buttons in listings always visible
2023-09-21 09:51:51 +01:00
Matt Westcott
210a9c5df3
Set title-wrapper to inline so we don't have to change it to a span everywhere
2023-09-21 09:51:51 +01:00
Matt Westcott
04eca55b13
Add folder icon for pages with children
2023-09-21 09:51:51 +01:00
Matt Westcott
1746cdec58
Remove align-top classname and use top alignment in listings as standard
...
This is the most sensible rendering when one cell's content is overly tall - see for example the thumb image column on the bakerydemo People listing.
2023-09-21 09:51:51 +01:00
Matt Westcott
7ee53a9714
Update listing table styling
2023-09-21 09:51:51 +01:00
LB Johnston
8a52269da5
Update w-breadcrumb root class to w-breadcrumbs (plural)
...
- This way we align with the controller name
2023-09-05 20:05:56 +10:00
Matt Westcott
cbd6a1328c
Convert page listing view to tables framework
2023-07-11 10:28:12 +01:00
Matt Westcott
69b7ed0815
Use table component for page search results
2023-07-10 15:21:46 +01:00
Matt Westcott
6c818f1695
Restore the valign='top' style
2023-06-26 11:07:13 +01:00
Thibaud Colas
ed13e0f7e8
Fix text color for selected / highlighted items in chooser modal listings
2023-05-25 08:36:30 +01:00
Thibaud Colas
bf1f15c3d5
Update relevant color declarations to use theme-agnostic color tokens
2023-04-19 13:38:23 +01:00
Thibaud Colas
35868364c5
Remove unused dropzone styles
2023-04-19 13:38:23 +01:00
Thibaud Colas
6866293d4e
Styling tweaks for new icons
2023-04-14 08:38:01 +01:00
Thibaud Colas
5ffb48a015
Convert workflow and page listing icons to SVG
2023-04-12 11:51:00 +01:00
Thibaud Colas
978d62122c
Convert form submissions listings to use the same ordering icons as other listings
2023-03-29 13:20:23 +01:00
mansi0829
433d70d3bf
Adopt w-status instead of status for classes
...
- Fixes #10244
2023-03-29 08:07:47 +10:00
Matt Westcott
2574204b27
Make title into a label rather than a link when in multiple choice mode
2023-01-18 14:31:08 +00:00
Thibaud Colas
1884447a6b
Slim header design fixes
2023-01-12 09:51:51 +00:00
Theresa-o
af1f1715a3
Refine the grid position of uploaded images
...
Closes #9674
Ensure that when there are less images to fill up the columns, the columns still have the same max width
2022-11-20 21:18:23 +10:00