diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index c461a54f5b1..a59f16faea9 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -264,6 +264,9 @@ .openerp .oe_form_dirty .oe_highlight_on_dirty { color: white; background: #dc5f59; + font-weight: bold; +} +.openerp .oe_form_dirty button.oe_highlight_on_dirty { background-color: #dc5f59; background-image: -webkit-gradient(linear, left top, left bottom, from(#dc5f59), to(#b33630)); background-image: -webkit-linear-gradient(top, #dc5f59, #b33630); @@ -274,9 +277,8 @@ -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; - font-weight: bold; } -.openerp .oe_form_dirty .oe_highlight_on_dirty:hover { +.openerp .oe_form_dirty button.oe_highlight_on_dirty:hover { background: #ed6f6a; } .openerp .oe_title { diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index bcea93cc9ee..57c4f343713 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -232,14 +232,16 @@ $colour4: #8a89ba @include vertical-gradient(#DF6B66, #BF3A33) //@include vertical-gradient(lighten(#dc5f59, 3%), lighten(#b33630, 3%)) @include box-shadow(0 0 1px rgba(0, 0, 0, 0.2)) - .oe_form_dirty .oe_highlight_on_dirty - color: white - background: #dc5f59 - @include vertical-gradient(#dc5f59, #b33630) - @include box-shadow(none) - font-weight: bold - &:hover - background: #ED6F6A + .oe_form_dirty + .oe_highlight_on_dirty + color: white + background: #dc5f59 + font-weight: bold + button.oe_highlight_on_dirty + @include vertical-gradient(#dc5f59, #b33630) + @include box-shadow(none) + &:hover + background: #ED6F6A .oe_title width: 55% .oe_title:after