[4.0] Rewrite searchtools CSS#28615
Conversation
|
Can you look at some of the changes I made here #28461 Obviously not the code but the results |
administrator/templates/atum/scss/system/searchtools/searchtools.scss
Outdated
Show resolved
Hide resolved
Probably outside the scope of this PR. I can take look after this if you wish. Currently, I count 4 different types of downward chevrons in the J4 admin. |
|
The reason for the suggestion is to make all the selects in the searchtools have a similar look |
Your suggestion makes sense. I think all chevrons throughout the UI should look the same, so whatever that is, lets replicate everywhere, |
|
Agreed. I tried with the chevrons, border-radius, focus etc but its a bit beyond me to do it as efficiently as you. |
|
Note: the xtd are also using searchtools in cassiopea. |
|
Merging this as a start point. If you could review the chevrons to be consistent that would be excellent. |
I create a separate PR for the frontend. Any idea why this is separate CSS? |
|
@wilsonge Merging this has broken npm ci: The reason is that this PR here has removed the import for variables.scss from the top of the searcthools.scss file but still uses a variable @ciar4n Please advise so I can make PR, or please make PR yourself: Shall we add back the import of "../../variables" or shall we change the variable to a hard-coded value? |
|
Thx @Fedik 👍 |
|
@richard67 Replacing |
|
@richard67 PR.. #28619 |
|
Anyone have any idea how to display the 'searchtools' in the frontend? |
|
when you are editing an article in the frontend click on one of the xtd-editor buttons eg menu link |
|
Thanks 👍 |
|
PR for frontend searchtools... #28622 |
|
@ciar4n |
|
It also gives same oddity when using the menus xtd reverting the PR solves the issues. |
|
Thx @infograf768. #28644 should resolve these issues. |


This PR rewrites the CSS for searchtools. The current CSS is a bit of a mess and hugely excessive. Here we remove 300+ lines of SCSS. Style changes are minimal but in general, should look the same.
Apply this patch and run
node build.js --compile-cssfor updating the changed SCSS. Check searchtools are displaying correctly.