Kaynağa Gözat

Modificacion de menu

Edgar Ortigoza 8 yıl önce
ebeveyn
işleme
33ecce01ca
2 değiştirilmiş dosya ile 18 ekleme ve 14 silme
  1. 3 3
      static/src/less/web.less
  2. 15 11
      views/theme.xml

+ 3 - 3
static/src/less/web.less

@@ -535,10 +535,10 @@ a:hover {
 			color: @light-color;
 			display: table;
 			z-index: 1;
-			vertical-align: middle;
+			vertical-align: bottom;
 			text-align: center;
 			width: 100%;
-			height: 100%;
+			height: 160%;
 			line-height:50px;
 			@media (max-width:767px) {
 					padding:20px 0px;
@@ -2727,7 +2727,7 @@ header a.navbar-brand img {
 		&:hover {
 			.mega-dropdown-menu {
 				display: block;
-				top: 101%;
+				top: 70%;
 
 				@media (max-width:767px) {
 					display: none;

+ 15 - 11
views/theme.xml

@@ -117,7 +117,7 @@
                                     <p class="call-us">
                                         <span>
                                            <a t-attf-href="tel:+595986517746" style="color:#393939">
-                                                <i class="fa fa-mobile"/> <span t-field="res_company.phone"/>&amp;nbsp;09735492592&amp;nbsp;&amp;nbsp;
+                                                <i class="fa fa-mobile"/> <span t-field="res_company.phone"/>&amp;nbsp;(0986) 517-746&amp;nbsp;&amp;nbsp;
                                             </a>
                                         </span>
                                     </p>
@@ -179,7 +179,7 @@
                                                                 </t>
                                                                 <li groups="base.group_website_publisher">
                                                                     <t t-set="url_return" t-value="url_for('', '[lang]') + '?' + keep_query()"/>
-                                                                    <a t-attf-href="/web#action=base.action_view_base_language_install&amp;website_id=#{website.id}&amp;url_return=#{url_return}">Add...</a>
+                                                                    <a t-attf-href="/web#action=base.action_view_base_language_install&amp;website_id=#{website.id}&amp;url_return=#{url_return}">Agregar...</a>
                                                                 </li>
                                                             </ul>
                                                         </div>
@@ -672,15 +672,19 @@
     <!-- Select quantity inherited from website sale -->
     <template id="website_sale.product_quantity" inherit_id="website_sale.product" customize_show="True" name="Select Quantity">
         <xpath expr="//section[@id='product_detail']/div[@class='row']//div[2]//div[@class='js_product']" position="inside">
-            <div class="css_quantity input-group oe_website_spinner" contenteditable="false">
-                <a t-attf-href="#" class="mb8 input-group-addon js_add_cart_json">
-                    <i class="fa fa-minus"></i>
-                </a>
-                <input type="text" class="form-control" data-min="1" name="add_qty" value="1"/>
-                <a t-attf-href="#" class="mb8 input-group-addon float_left js_add_cart_json">
-                    <i class="fa fa-plus"></i>
-                </a>
-            </div>
+            <div class="css_quantity input-group oe_website_spinner" t-if="website.user_id != user_id">
+        <span class="input-group-addon">
+            <a t-attf-href="#" class="mb8 js_add_cart_json">
+                <i class="fa fa-minus"/>
+            </a>
+        </span>
+        <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"/>
+            </a>
+        </span>
+    </div>
         </xpath>
     </template>