[IMP] web: change status bar dropdown stage color when disabled

Before this commit we didn't notice when the dropdown buttons were
disabled or not.
Now, we do the same as on desktop:
The text color is gray when you aren't able to change the stage.

Task ID: 2348528

closes odoo/odoo#61679

Signed-off-by: Pierre Paridans <pparidans@users.noreply.github.com>
This commit is contained in:
Odoo's Mergebot
2020-11-16 11:03:08 +01:00
committed by GitHub
+10 -7
View File
@@ -222,19 +222,15 @@
&:last-child {
padding-left: $o-horizontal-padding - 1;
border-left: 1px solid gray('400');
&.disabled {
border-color: gray('300');
}
}
&:active {
box-shadow: none;
}
&.disabled {
opacity: 1.0;
color: $text-muted;
pointer-events: none;
border-left: 1px solid gray('300');
}
&:not(:first-child):before, &:not(:first-child):after {
content: " ";
display: block;
@@ -276,6 +272,13 @@
}
}
> .o_arrow_button, > .dropdown-menu > .o_arrow_button {
&.disabled {
opacity: 1.0;
color: $text-muted;
pointer-events: none;
}
}
}
// Touch device mode