styling tweaks to red buttons

bzr revid: mit@openerp.com-20120904170247-fcqvjiy8n46zyf38
This commit is contained in:
Minh Tran 2012-09-04 19:02:47 +02:00
parent 7ce2e6ff63
commit 7761a0f603
2 changed files with 16 additions and 16 deletions

View File

@ -432,22 +432,22 @@
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
}
.openerp button.oe_highlight:hover {
background-color: #e46565;
background-image: -webkit-gradient(linear, left top, left bottom, from(#e46565), to(#b81e1e));
background-image: -webkit-linear-gradient(top, #e46565, #b81e1e);
background-image: -moz-linear-gradient(top, #e46565, #b81e1e);
background-image: -ms-linear-gradient(top, #e46565, #b81e1e);
background-image: -o-linear-gradient(top, #e46565, #b81e1e);
background-image: linear-gradient(to bottom, #e46565, #b81e1e);
background-color: #e25858;
background-image: -webkit-gradient(linear, left top, left bottom, from(#e25858), to(#ab1b1b));
background-image: -webkit-linear-gradient(top, #e25858, #ab1b1b);
background-image: -moz-linear-gradient(top, #e25858, #ab1b1b);
background-image: -ms-linear-gradient(top, #e25858, #ab1b1b);
background-image: -o-linear-gradient(top, #e25858, #ab1b1b);
background-image: linear-gradient(to bottom, #e25858, #ab1b1b);
}
.openerp button.oe_highlight:active {
background-color: #ab1b1b;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ab1b1b), to(#e04848));
background-image: -webkit-linear-gradient(top, #ab1b1b, #e04848);
background-image: -moz-linear-gradient(top, #ab1b1b, #e04848);
background-image: -ms-linear-gradient(top, #ab1b1b, #e04848);
background-image: -o-linear-gradient(top, #ab1b1b, #e04848);
background-image: linear-gradient(to bottom, #ab1b1b, #e04848);
background-color: #c52020;
background-image: -webkit-gradient(linear, left top, left bottom, from(#c52020), to(#d22323));
background-image: -webkit-linear-gradient(top, #c52020, #d22323);
background-image: -moz-linear-gradient(top, #c52020, #d22323);
background-image: -ms-linear-gradient(top, #c52020, #d22323);
background-image: -o-linear-gradient(top, #c52020, #d22323);
background-image: linear-gradient(to bottom, #c52020, #d22323);
}
.openerp .oe_background_grey {
background: #eeeeee !important;

View File

@ -385,9 +385,9 @@ $sheet-max-width: 860px
@include vertical-gradient(#df3f3f, #a21a1a)
@include box-shadow((0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset))
button.oe_highlight:hover
@include vertical-gradient(lighten(#e04f4f, 5%), lighten(#a21a1a, 5%))
@include vertical-gradient(lighten(#e04f4f, 2%), lighten(#a21a1a, 2%))
button.oe_highlight:active
@include vertical-gradient(lighten(#a21a1a, 2%), lighten(#df3f3f, 2%))
@include vertical-gradient(lighten(#a21a1a, 8%), darken(#df3f3f, 8%))
.oe_background_grey
background: #eee !important