From bc953225dc85ddb858b607889e819acfeef73480 Mon Sep 17 00:00:00 2001 From: nikj-odoo Date: Wed, 6 Sep 2023 12:46:59 +0530 Subject: [PATCH] [IMP] project_todo: improve todo title color and eliminate hover flicker Before this commit, in the form view of todo the title was light grey and there was a small flicker when hovering the title. In this commit, the color of the title is changed to dark grey and flicker is eliminated. Task-347920 closes odoo/odoo#135247 Signed-off-by: Xavier Bol (xbo) --- .../todo_editable_breadcrumb_name.scss | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/addons/project_todo/static/src/components/todo_editable_breadcrumb_name/todo_editable_breadcrumb_name.scss b/addons/project_todo/static/src/components/todo_editable_breadcrumb_name/todo_editable_breadcrumb_name.scss index 6d70e1dab9c..bffa0ea8f6d 100644 --- a/addons/project_todo/static/src/components/todo_editable_breadcrumb_name/todo_editable_breadcrumb_name.scss +++ b/addons/project_todo/static/src/components/todo_editable_breadcrumb_name/todo_editable_breadcrumb_name.scss @@ -4,7 +4,13 @@ overflow: hidden; border: none; padding: 0px 5px 0px 2px; - color: $o-brand-secondary; + color: $o-gray-700; + border-bottom: $input-border-width solid transparent; + transition: border-color 0.3s; + + &:hover { + border-bottom-color: $o-brand-primary; + } &:focus { outline: 1px solid #ccc; @@ -25,6 +31,3 @@ } } -.o_todo_breadcrumb_name_input:hover { - border-bottom: $input-border-width solid $o-brand-primary; -}