[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user