Navdrawer: Style and layout fixes #104432

Merged
Márton Lente merged 1 commits from pablovazquez/blender-studio:ui-navdrawer into main 2024-08-16 16:52:55 +02:00
  • Highlight active items in the tree.
  • Fix glitches on hover.
  • Do not use :before selector for items hover indicator, simply use
    the item itself.
  • Use WBA variables for border-radius, instead of bootstrap's.
  • Do not apply transitions to "all". It's not performant, can lead to
    glitches, and lazy. Only transition what's needed.
  • Slightly more compact by applying more consistent spacing.
  • Highlight training progress even when not hover.
Before After
before after
* Highlight active items in the tree. * Fix glitches on hover. * Do not use :before selector for items hover indicator, simply use the item itself. * Use WBA variables for border-radius, instead of bootstrap's. * Do not apply transitions to "all". It's not performant, can lead to glitches, and lazy. Only transition what's needed. * Slightly more compact by applying more consistent spacing. * Highlight training progress even when not hover. |Before|After| |----|----| |![before](/attachments/0ef574c5-72e1-455f-80c5-be3cb81e95bb)|![after](/attachments/6276b0a6-c6c6-4b69-8bfb-971872fd7c42)|
569 KiB
473 KiB
Pablo Vazquez added 1 commit 2024-08-16 16:03:37 +02:00
* Highlight active items in the tree.
* Fix glitches on hover.
* Do not use :before selector for items hover indicator, simply use
  the item itself.
* Use WBA variables for border-radius, instead of bootstrap's.
* Do not apply transitions to "all". It's not performant, can lead to
  glitches, and lazy. Only transition what's needed.
* Slightly more compact by applying more consistent spacing.
* Highlight training progress even when not hover.
Márton Lente approved these changes 2024-08-16 16:46:05 +02:00
Márton Lente merged commit b69733441f into main 2024-08-16 16:52:55 +02:00
Sign in to join this conversation.
No description provided.