Skip to content

Unifying search box styling across Settings and Search pages#4301

Open
MundiaNderi wants to merge 1 commit into
mozilla:mainfrom
MundiaNderi:search-box-styling
Open

Unifying search box styling across Settings and Search pages#4301
MundiaNderi wants to merge 1 commit into
mozilla:mainfrom
MundiaNderi:search-box-styling

Conversation

@MundiaNderi

Copy link
Copy Markdown
Collaborator

Fixes #4264

Unifies search box styling in the search page and settings page, so that it's similar to the search box on the resource page drop down and copy from locale batch action drop down.
Screenshot 2026-07-10 at 00 37 48
Screenshot 2026-07-10 at 00 37 30

To test:

  • Check if the changes apply to all the search boxes.

Unifying search box styling
@MundiaNderi MundiaNderi self-assigned this Jul 9, 2026
@MundiaNderi
MundiaNderi requested a review from mathjazz July 9, 2026 21:43
@functionzz

Copy link
Copy Markdown
Collaborator

Hey @MundiaNderi, @mathjazz is on vacation, when he comes back he can take a look and approve the design - thanks!

@mathjazz

Copy link
Copy Markdown
Collaborator

Thanks!

What about other pages, e.g.:
https://pontoon.mozilla.org/sl/permissions/
https://pontoon.mozilla.org/messaging/
https://pontoon.mozilla.org/admin/projects/
...

Are those meant to be fixed in a separate PR?

@MundiaNderi

Copy link
Copy Markdown
Collaborator Author

Thanks!

What about other pages, e.g.: https://pontoon.mozilla.org/sl/permissions/ https://pontoon.mozilla.org/messaging/ https://pontoon.mozilla.org/admin/projects/ ...

Are those meant to be fixed in a separate PR?

I had missed those, thanks. No, I'd rather address them in this PR.

@MundiaNderi

Copy link
Copy Markdown
Collaborator Author

I checked the rest of the pages and they all have the fix. I'm targeting the .search-wrapper and .search-wrapper .icon classes in pontoon/base/static/css/style.css, which is shared by every search box in the app.

Screenshot 2026-07-20 at 08 40 33 Screenshot 2026-07-20 at 08 37 14 Screenshot 2026-07-20 at 08 39 55

@mathjazz

Copy link
Copy Markdown
Collaborator

I checked the rest of the pages and they all have the fix. I'm targeting the .search-wrapper and .search-wrapper .icon classes in pontoon/base/static/css/style.css, which is shared by every search box in the app.

Thanks for clarifying. I tested locally and didn't spot any remaining search field to be using the old design. Nice work!

One thing we should change though is the background color, which seems too light on most of the pages. We should use the same background as the input box. For example:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unify search box styling across Locale, Project, Resource menus and the rest of the app

3 participants