Skip to content

Conversation

@suet-kei-chan
Copy link

Updated the date filter button in the unified search modal to match the filter dropdown button design from the files app. Changes include:

  • Applied blue button styling with proper hover/active/expanded states
  • Changed button text from "Date" to "Modified" using CSS
  • Added CSS-generated dropdown arrow with rotation animation
  • Improved padding and alignment for better visual consistency
  • Hidden the calendar icon to match the simplified design
  • Added decorative empty state image for search results

Updated the date filter button in the unified search modal to match
the filter dropdown button design from the files app. Changes include:
- Applied blue button styling with proper hover/active/expanded states
- Changed button text from "Date" to "Modified" using CSS
- Added CSS-generated dropdown arrow with rotation animation
- Improved padding and alignment for better visual consistency
- Hidden the calendar icon to match the simplified design
- Added decorative empty state image for search results
@suet-kei-chan suet-kei-chan self-assigned this Jan 14, 2026
Update search modal header to use flexbox layout for better alignment of filter buttons and applied filter chips. Position filter chips inline with buttons instead of below them.
Update input field styling for better user experience:
- Change border radius to use container radius variable
- Add black border in normal state, grey on hover/focus
- Add grey background on hover, focus, and active states
- Add black focus ring with 3px offset
- Hide label on hover and focus
- Add 6px left margin to dialog name and header
- Add custom background colors to "Load more results" button (#D2E2FC normal, #ECF3FE hover)
- Change result title text to black with large font size
- Add font-size-title-large variable for consistent typography
- Remove padding from result list items
- Add new color variables for theme-adaptive text colors
- Add background color on hover/focus/active for search input
- Create background-input-hover-focus variable in nmcdefault.scss
- Update header margin to use consistent spacing
- Add theme-adaptive text color variables
- Center label vertically in input field
- Add smooth transition animation when label moves to top on focus/hover
- Set label to smaller font size and position at top when active
- Use transparent background for floating label
@suet-kei-chan suet-kei-chan marked this pull request as ready for review January 16, 2026 10:52
@memurats memurats merged commit c98bebc into stable32 Jan 23, 2026
4 of 5 checks passed
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.

3 participants