[REF] website*: set spinner style in class, instead of inline
This fix is related to:8298cf6510
51e399d9ac
9056c58cb8
This commit is contained in:
parent
51e399d9ac
commit
6d509c0c6b
|
@ -568,6 +568,13 @@ span[data-oe-type="monetary"] {
|
|||
margin: 40px auto;
|
||||
}
|
||||
|
||||
.oe_website_spinner {
|
||||
width: 121px;
|
||||
}
|
||||
.oe_website_spinner input {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.media_iframe_video {
|
||||
height: 0;
|
||||
margin: 0 auto;
|
||||
|
|
|
@ -456,6 +456,11 @@ span[data-oe-type="monetary"]
|
|||
overflow:hidden
|
||||
text-overflow:ellipsis
|
||||
|
||||
.oe_website_spinner
|
||||
width: 121px
|
||||
input
|
||||
text-align: center
|
||||
|
||||
div.media_iframe_video
|
||||
height: 0
|
||||
margin: 0 auto
|
||||
|
|
|
@ -103,13 +103,13 @@
|
|||
|
||||
<template id="change_quantity" inherit_id="website_quote.pricing" active="False" customize_show="True" name="Change Quantity">
|
||||
<xpath expr="//div[@id='quote_qty']" position="replace">
|
||||
<div class="input-group" style="width: 121px;">
|
||||
<div class="input-group oe_website_spinner">
|
||||
<span class="input-group-addon hidden-print">
|
||||
<a t-attf-href="./update_line/#{ line.id }/?order_id=#{ quotation.id }&remove=True&token=#{ quotation.access_token }" class="mb8 js_update_line_json">
|
||||
<span class="fa fa-minus"/>
|
||||
</a>
|
||||
</span>
|
||||
<input type="text" class="js_quantity form-control" style="text-align: center;" t-att-data-id="line.id" t-att-value="line.product_uom_qty"/>
|
||||
<input type="text" class="js_quantity form-control" t-att-data-id="line.id" t-att-value="line.product_uom_qty"/>
|
||||
<span class="input-group-addon hidden-print">
|
||||
<a t-attf-href="./update_line/#{ line.id }/?order_id=#{ quotation.id }&token=#{ quotation.access_token }" class="mb8 js_update_line_json">
|
||||
<span class="fa fa-plus"/>
|
||||
|
|
|
@ -409,13 +409,13 @@
|
|||
|
||||
<template id="product_quantity" inherit_id="website_sale.product" customize_show="True" name="Select Quantity">
|
||||
<xpath expr="//a[@id='add_to_cart']" position="before">
|
||||
<div class="css_quantity input-group" style="width: 121px;">
|
||||
<div class="css_quantity input-group oe_website_spinner">
|
||||
<span class="input-group-addon">
|
||||
<a t-attf-href="#" class="mb8 js_add_cart_json">
|
||||
<i class="fa fa-minus"></i>
|
||||
</a>
|
||||
</span>
|
||||
<input type="text" class="js_quantity form-control" data-min="1" name="add_qty" value="1" style="text-align: center;"/>
|
||||
<input type="text" class="js_quantity form-control" data-min="1" name="add_qty" value="1"/>
|
||||
<span class="input-group-addon">
|
||||
<a t-attf-href="#" class="mb8 float_left js_add_cart_json">
|
||||
<i class="fa fa-plus"></i>
|
||||
|
@ -697,13 +697,13 @@
|
|||
}'/>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<div class="input-group" style="width: 121px;">
|
||||
<div class="input-group oe_website_spinner">
|
||||
<span class="input-group-addon">
|
||||
<a t-attf-href="#" class="mb8 js_add_cart_json" data-no-instant="">
|
||||
<i class="fa fa-minus"></i>
|
||||
</a>
|
||||
</span>
|
||||
<input type="text" class="js_quantity form-control" style="text-align: center;"
|
||||
<input type="text" class="js_quantity form-control"
|
||||
t-att-data-line-id="line.id"
|
||||
t-att-data-product-id="line.product_id.id"
|
||||
t-att-value="int(line.product_uom_qty)"/>
|
||||
|
|
|
@ -71,13 +71,13 @@
|
|||
}'/>
|
||||
</td>
|
||||
<td>
|
||||
<div class="input-group" style="width: 121px;">
|
||||
<div class="input-group oe_website_spinner">
|
||||
<span class="input-group-addon">
|
||||
<a t-attf-href="#" class="mb8 js_add_cart_json">
|
||||
<i class="fa fa-minus"></i>
|
||||
</a>
|
||||
</span>
|
||||
<input type="text" class="js_quantity form-control" style="text-align: center;" data-min="1" name="add_qty" value="1"/>
|
||||
<input type="text" class="js_quantity form-control" data-min="1" name="add_qty" value="1"/>
|
||||
<span class="input-group-addon">
|
||||
<a t-attf-href="#" class="mb8 float_left js_add_cart_json">
|
||||
<i class="fa fa-plus"></i>
|
||||
|
|
Loading…
Reference in New Issue