[FIX] point_of_sale: various css fixes
bzr revid: fva@openerp.com-20120717142923-tk4nkp4mdbegcndi
This commit is contained in:
parent
cb22fd24d9
commit
3982e3524a
|
@ -522,6 +522,7 @@
|
||||||
position:relative;
|
position:relative;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
line-height: 100px;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
width: 120px;
|
width: 120px;
|
||||||
|
@ -548,6 +549,7 @@
|
||||||
right: 2px;
|
right: 2px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
color: white;
|
color: white;
|
||||||
|
line-height: 14px;
|
||||||
background: #7f82ac;
|
background: #7f82ac;
|
||||||
padding: 2px 5px;
|
padding: 2px 5px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
@ -561,6 +563,7 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
bottom:0;
|
bottom:0;
|
||||||
top:auto;
|
top:auto;
|
||||||
|
line-height: 14px;
|
||||||
width:100%;
|
width:100%;
|
||||||
background: -webkit-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
|
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));
|
background: -moz-linear-gradient(-90deg,rgba(255,255,255,0),rgba(255,255,255,1), rgba(255,255,255,1));
|
||||||
|
|
|
@ -65,6 +65,7 @@ function openerp_pos_scrollbar(instance, module){ //module is instance.point_of_
|
||||||
this.auto_hide(false);
|
this.auto_hide(false);
|
||||||
this.$element.bind('mousewheel',function(event,delta){
|
this.$element.bind('mousewheel',function(event,delta){
|
||||||
self.scroll(delta*self.wheel_step);
|
self.scroll(delta*self.wheel_step);
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
this.$element.bind('click',function(event){
|
this.$element.bind('click',function(event){
|
||||||
var vpos = event.pageY - self.$element.offset().top;
|
var vpos = event.pageY - self.$element.offset().top;
|
||||||
|
|
Loading…
Reference in New Issue