[IMP] Improved oe_highlight_on_dirty

bzr revid: fme@openerp.com-20120625202710-97ggelivandevbwj
This commit is contained in:
Fabien Meghazi 2012-06-25 22:27:10 +02:00
parent 52a7476bb1
commit 92f9305050
2 changed files with 14 additions and 10 deletions

View File

@ -264,6 +264,9 @@
.openerp .oe_form_dirty .oe_highlight_on_dirty { .openerp .oe_form_dirty .oe_highlight_on_dirty {
color: white; color: white;
background: #dc5f59; background: #dc5f59;
font-weight: bold;
}
.openerp .oe_form_dirty button.oe_highlight_on_dirty {
background-color: #dc5f59; background-color: #dc5f59;
background-image: -webkit-gradient(linear, left top, left bottom, from(#dc5f59), to(#b33630)); background-image: -webkit-gradient(linear, left top, left bottom, from(#dc5f59), to(#b33630));
background-image: -webkit-linear-gradient(top, #dc5f59, #b33630); background-image: -webkit-linear-gradient(top, #dc5f59, #b33630);
@ -274,9 +277,8 @@
-moz-box-shadow: none; -moz-box-shadow: none;
-webkit-box-shadow: none; -webkit-box-shadow: none;
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; background: #ed6f6a;
} }
.openerp .oe_title { .openerp .oe_title {

View File

@ -232,14 +232,16 @@ $colour4: #8a89ba
@include vertical-gradient(#DF6B66, #BF3A33) @include vertical-gradient(#DF6B66, #BF3A33)
//@include vertical-gradient(lighten(#dc5f59, 3%), lighten(#b33630, 3%)) //@include vertical-gradient(lighten(#dc5f59, 3%), lighten(#b33630, 3%))
@include box-shadow(0 0 1px rgba(0, 0, 0, 0.2)) @include box-shadow(0 0 1px rgba(0, 0, 0, 0.2))
.oe_form_dirty .oe_highlight_on_dirty .oe_form_dirty
color: white .oe_highlight_on_dirty
background: #dc5f59 color: white
@include vertical-gradient(#dc5f59, #b33630) background: #dc5f59
@include box-shadow(none) font-weight: bold
font-weight: bold button.oe_highlight_on_dirty
&:hover @include vertical-gradient(#dc5f59, #b33630)
background: #ED6F6A @include box-shadow(none)
&:hover
background: #ED6F6A
.oe_title .oe_title
width: 55% width: 55%
.oe_title:after .oe_title:after