diff --git a/addons/web/static/src/views/form/form_controller.scss b/addons/web/static/src/views/form/form_controller.scss index 5ed06986003..34d86723717 100644 --- a/addons/web/static/src/views/form/form_controller.scss +++ b/addons/web/static/src/views/form/form_controller.scss @@ -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 {