[REF] web: remove useless statusbar css rules from form view css
These rules no longer apply because they use a direct descendant selector which no longer matches since field widgets now have an extra div. These rules also already exist in the statusbar_field.scss file. Part-of: odoo/odoo#96598
This commit is contained in:
@@ -227,75 +227,6 @@ $o-form-label-margin-right: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
> .o_statusbar_status {
|
||||
margin-left: auto;
|
||||
flex-flow: row-reverse wrap-reverse;
|
||||
align-self: stretch;
|
||||
align-items: stretch;
|
||||
|
||||
> .o_arrow_button {
|
||||
min-height: $o-statusbar-height;
|
||||
position: relative;
|
||||
padding-left: $o-statusbar-arrow-width*2;
|
||||
border-width: 0;
|
||||
font-size: $font-size-sm;
|
||||
|
||||
&:first-child {
|
||||
padding-right: $o-horizontal-padding; // Compensate container padding
|
||||
overflow-x: hidden; // to prevent horizontal scroll due to last arrow
|
||||
}
|
||||
&:last-child {
|
||||
padding-left: $o-horizontal-padding - 1;
|
||||
|
||||
&:not(.disabled) {
|
||||
border-left: 1px solid $border-color;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:first-child):before, &:not(:first-child):after {
|
||||
content: " ";
|
||||
display: block;
|
||||
@include o-position-absolute(0, -$o-statusbar-arrow-width + 1);
|
||||
|
||||
border-top: floor($o-statusbar-height/2) solid transparent;
|
||||
border-bottom: ceil($o-statusbar-height/2) solid transparent;
|
||||
border-right: none;
|
||||
border-left: $o-statusbar-arrow-width solid $o-view-background-color;
|
||||
-moz-transform: scale(0.9999); // Smooth the triangle on firefox
|
||||
}
|
||||
|
||||
&:not(:first-child):before {
|
||||
right: -$o-statusbar-arrow-width;
|
||||
border-left-color: map-get($grays, '300');
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
opacity: 1;
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
|
||||
&:not(.btn-primary) {
|
||||
&, &:hover, &:focus {
|
||||
color: $text-muted;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.btn-primary.disabled {
|
||||
background-color: $o-brand-odoo;
|
||||
color: color-yiq($o-brand-odoo);
|
||||
|
||||
&:after, &:before {
|
||||
border-left-color: $o-brand-odoo;
|
||||
}
|
||||
|
||||
+ .o_arrow_button:before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Touch device mode
|
||||
> .o_statusbar_buttons > .btn-group, > .o_statusbar_status {
|
||||
> .dropdown-toggle {
|
||||
|
||||
Reference in New Issue
Block a user