From 09e1028944e15b3c7bc0b264496b44c2f74c4f58 Mon Sep 17 00:00:00 2001 From: Adrien Dieudonne Date: Thu, 12 Nov 2020 13:54:10 +0000 Subject: [PATCH] [FIX] web: statusbar: border color for disabled buttons Before this commit, the intent was to change the border color of the first button that appears when the status bar is disabled. The problem was that this added a border for all buttons and not only the (visually) first one. --- addons/web/static/src/scss/form_view.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/scss/form_view.scss b/addons/web/static/src/scss/form_view.scss index dfd4791e5b1..1c839fcd371 100644 --- a/addons/web/static/src/scss/form_view.scss +++ b/addons/web/static/src/scss/form_view.scss @@ -222,6 +222,9 @@ &:last-child { padding-left: $o-horizontal-padding - 1; border-left: 1px solid gray('400'); + &.disabled { + border-color: gray('300'); + } } &:active { @@ -232,7 +235,6 @@ opacity: 1.0; color: $text-muted; pointer-events: none; - border-left: 1px solid gray('300'); } &:not(:first-child):before, &:not(:first-child):after {