diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-06-25 22:27:10 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-06-25 22:27:10 +0200 |
| commit | 92f9305050c411d743ea5ea144fb35528517f6bb (patch) | |
| tree | b17d1969a6fd618fdbfa750516e27fd65c9a5f8c /addons/web/static/src/css | |
| parent | 52a7476bb17d044f52a815d7202ae9027ec3cd94 (diff) | |
[IMP] Improved oe_highlight_on_dirty
bzr revid: fme@openerp.com-20120625202710-97ggelivandevbwj
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 6 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 18 |
2 files changed, 14 insertions, 10 deletions
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 |
