[FIX] point_of_sale: various css fixes

bzr revid: fva@openerp.com-20120717142923-tk4nkp4mdbegcndi
This commit is contained in:
Frédéric van der Essen 2012-07-17 16:29:23 +02:00
parent cb22fd24d9
commit 3982e3524a
2 changed files with 4 additions and 0 deletions

View File

@ -522,6 +522,7 @@
position:relative;
vertical-align: top;
display: inline-block;
line-height: 100px;
font-size: 11px;
margin: 5px;
width: 120px;
@ -548,6 +549,7 @@
right: 2px;
vertical-align: top;
color: white;
line-height: 14px;
background: #7f82ac;
padding: 2px 5px;
border-radius: 3px;
@ -561,6 +563,7 @@
box-sizing: border-box;
bottom:0;
top:auto;
line-height: 14px;
width:100%;
background: -webkit-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
background: -moz-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));

View File

@ -65,6 +65,7 @@ function openerp_pos_scrollbar(instance, module){ //module is instance.point_of_
this.auto_hide(false);
this.$element.bind('mousewheel',function(event,delta){
self.scroll(delta*self.wheel_step);
return false;
});
this.$element.bind('click',function(event){
var vpos = event.pageY - self.$element.offset().top;