diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-06-25 21:52:25 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-06-25 21:52:25 +0200 |
| commit | 52a7476bb17d044f52a815d7202ae9027ec3cd94 (patch) | |
| tree | b176ee18f377cfc5d76833ed6783c3086aff6f16 /addons/web/static/src/css | |
| parent | 020ed6309f8331565b938e047f284415cae7b3fc (diff) | |
[ADD] Added oe_highlight_on_dirty
bzr revid: fme@openerp.com-20120625195225-ehts5hyuscmpxeyy
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 36 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 16 |
2 files changed, 26 insertions, 26 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 351a3366651..c461a54f5b1 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -261,6 +261,24 @@ -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.2); box-shadow: 0 0 1px rgba(0, 0, 0, 0.2); } +.openerp .oe_form_dirty .oe_highlight_on_dirty { + color: white; + background: #dc5f59; + background-color: #dc5f59; + background-image: -webkit-gradient(linear, left top, left bottom, from(#dc5f59), to(#b33630)); + background-image: -webkit-linear-gradient(top, #dc5f59, #b33630); + background-image: -moz-linear-gradient(top, #dc5f59, #b33630); + background-image: -ms-linear-gradient(top, #dc5f59, #b33630); + background-image: -o-linear-gradient(top, #dc5f59, #b33630); + background-image: linear-gradient(to bottom, #dc5f59, #b33630); + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + font-weight: bold; +} +.openerp .oe_form_dirty .oe_highlight_on_dirty:hover { + background: #ed6f6a; +} .openerp .oe_title { width: 55%; } @@ -1508,24 +1526,6 @@ background-color: #ff6666 !important; border: 1px solid #dd0000 !important; } -.openerp .oe_form_button_save_dirty { - color: white; - background: #dc5f59; - background-color: #dc5f59; - background-image: -webkit-gradient(linear, left top, left bottom, from(#dc5f59), to(#b33630)); - background-image: -webkit-linear-gradient(top, #dc5f59, #b33630); - background-image: -moz-linear-gradient(top, #dc5f59, #b33630); - background-image: -ms-linear-gradient(top, #dc5f59, #b33630); - background-image: -o-linear-gradient(top, #dc5f59, #b33630); - background-image: linear-gradient(to bottom, #dc5f59, #b33630); - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - font-weight: bold; -} -.openerp .oe_form_button_save_dirty:hover { - background: #ed6f6a; -} .openerp .oe_form_editable .oe_highlight { color: #404040; background: none; diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 2ce5cf5a8d5..bcea93cc9ee 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -232,6 +232,14 @@ $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_title width: 55% .oe_title:after @@ -1205,14 +1213,6 @@ $colour4: #8a89ba input, select, textarea background-color: #F66 !important border: 1px solid #D00 !important - .oe_form_button_save_dirty - color: white - background: #dc5f59 - @include vertical-gradient(#dc5f59, #b33630) - @include box-shadow(none) - font-weight: bold - &:hover - background: #ED6F6A .oe_form_editable .oe_highlight color: #404040 |
